* config/xtensa/lib1funcs.asm (__umodsi3, __modsi3): Rearrange so that
[official-gcc.git] / libstdc++-v3 / configure
blob6ca6b63d8614de1c1608038cdc23a8f78b1764b7
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for package-unused version-unused.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14 emulate sh
15 NULLCMD=:
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20 set -o posix
22 DUALCASE=1; export DUALCASE # for MKS sh
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26 as_unset=unset
27 else
28 as_unset=false
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
34 PS1='$ '
35 PS2='> '
36 PS4='+ '
38 # NLS nuisances.
39 for as_var in \
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42 LC_TELEPHONE LC_TIME
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
46 else
47 $as_unset $as_var
49 done
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
53 as_expr=expr
54 else
55 as_expr=false
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59 as_basename=basename
60 else
61 as_basename=false
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
71 echo X/"$0" |
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
75 s/.*/./; q'`
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
90 chmod +x conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92 PATH_SEPARATOR=';'
93 else
94 PATH_SEPARATOR=:
96 rm -f conf$$.sh
100 as_lineno_1=$LINENO
101 as_lineno_2=$LINENO
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
106 # relative or not.
107 case $0 in
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110 for as_dir in $PATH
112 IFS=$as_save_IFS
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115 done
118 esac
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
122 as_myself=$0
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
133 IFS=$as_save_IFS
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
136 case $as_dir in
138 if ("$as_dir/$as_base" -c '
139 as_lineno_1=$LINENO
140 as_lineno_2=$LINENO
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
147 export CONFIG_SHELL
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149 fi;;
150 esac
151 done
152 done
154 esac
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
165 sed '
167 s,$,-,
168 : loop
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170 t loop
171 s,-$,,
172 s,^['$as_cr_digits']*\n,,
173 ' >$as_me.lineno &&
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
181 . ./$as_me.lineno
182 # Exit status is that of the last command.
183 exit
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
189 ' ECHO_T=' ' ;;
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
192 esac
194 if expr a : '\(a\)' >/dev/null 2>&1; then
195 as_expr=expr
196 else
197 as_expr=false
200 rm -f conf$$ conf$$.exe conf$$.file
201 echo >conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
207 as_ln_s='cp -p'
208 else
209 as_ln_s='ln -s'
211 elif ln conf$$.file conf$$ 2>/dev/null; then
212 as_ln_s=ln
213 else
214 as_ln_s='cp -p'
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
219 as_mkdir_p=:
220 else
221 test -d ./-p && rmdir ./-p
222 as_mkdir_p=false
225 as_executable_p="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
234 # IFS
235 # We need space, tab and new line, in precisely that order.
236 as_nl='
238 IFS=" $as_nl"
240 # CDPATH.
241 $as_unset CDPATH
244 # Name of the host.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
249 exec 6>&1
252 # Initializations.
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
256 cross_compiling=no
257 subdirs=
258 MFLAGS=
259 MAKEFLAGS=
260 SHELL=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
268 PACKAGE_NAME='package-unused'
269 PACKAGE_TARNAME='libstdc++'
270 PACKAGE_VERSION='version-unused'
271 PACKAGE_STRING='package-unused version-unused'
272 PACKAGE_BUGREPORT=''
274 ac_unique_file="src/ios.cc"
275 # Factoring default headers for most tests.
276 ac_includes_default="\
277 #include <stdio.h>
278 #if HAVE_SYS_TYPES_H
279 # include <sys/types.h>
280 #endif
281 #if HAVE_SYS_STAT_H
282 # include <sys/stat.h>
283 #endif
284 #if STDC_HEADERS
285 # include <stdlib.h>
286 # include <stddef.h>
287 #else
288 # if HAVE_STDLIB_H
289 # include <stdlib.h>
290 # endif
291 #endif
292 #if HAVE_STRING_H
293 # if !STDC_HEADERS && HAVE_MEMORY_H
294 # include <memory.h>
295 # endif
296 # include <string.h>
297 #endif
298 #if HAVE_STRINGS_H
299 # include <strings.h>
300 #endif
301 #if HAVE_INTTYPES_H
302 # include <inttypes.h>
303 #else
304 # if HAVE_STDINT_H
305 # include <stdint.h>
306 # endif
307 #endif
308 #if HAVE_UNISTD_H
309 # include <unistd.h>
310 #endif"
312 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS libtool_VERSION multi_basedir build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar glibcxx_builddir glibcxx_srcdir toplevel_srcdir CC ac_ct_CC EXEEXT OBJEXT CXX ac_ct_CXX CFLAGS CXXFLAGS LN_S AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CPP CPPFLAGS EGREP LIBTOOL CXXCPP enable_shared enable_static GLIBCXX_HOSTED_TRUE GLIBCXX_HOSTED_FALSE GLIBCXX_BUILD_PCH_TRUE GLIBCXX_BUILD_PCH_FALSE glibcxx_PCHFLAGS CSTDIO_H BASIC_FILE_H BASIC_FILE_CC check_msgfmt glibcxx_MOFILES glibcxx_POFILES glibcxx_localedir USE_NLS CLOCALE_H CMESSAGES_H CCODECVT_CC CCOLLATE_CC CCTYPE_CC CMESSAGES_CC CMONEY_CC CNUMERIC_CC CTIME_H CTIME_CC CLOCALE_CC CLOCALE_INTERNAL_H ALLOCATOR_H ALLOCATOR_NAME C_INCLUDE_DIR GLIBCXX_C_HEADERS_C_TRUE GLIBCXX_C_HEADERS_C_FALSE GLIBCXX_C_HEADERS_C_STD_TRUE GLIBCXX_C_HEADERS_C_STD_FALSE GLIBCXX_C_HEADERS_C_GLOBAL_TRUE GLIBCXX_C_HEADERS_C_GLOBAL_FALSE GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE GLIBCXX_C_HEADERS_EXTRA_TRUE GLIBCXX_C_HEADERS_EXTRA_FALSE DEBUG_FLAGS GLIBCXX_BUILD_DEBUG_TRUE GLIBCXX_BUILD_DEBUG_FALSE EXTRA_CXX_FLAGS glibcxx_thread_h WERROR SECTION_FLAGS SECTION_LDFLAGS OPT_LDFLAGS LIBMATHOBJS LIBICONV LTLIBICONV SYMVER_FILE port_specific_symbol_files ENABLE_SYMVERS_TRUE ENABLE_SYMVERS_FALSE ENABLE_SYMVERS_GNU_TRUE ENABLE_SYMVERS_GNU_FALSE ENABLE_SYMVERS_GNU_NAMESPACE_TRUE ENABLE_SYMVERS_GNU_NAMESPACE_FALSE ENABLE_SYMVERS_DARWIN_TRUE ENABLE_SYMVERS_DARWIN_FALSE ENABLE_VISIBILITY_TRUE ENABLE_VISIBILITY_FALSE GLIBCXX_LDBL_COMPAT_TRUE GLIBCXX_LDBL_COMPAT_FALSE baseline_dir ATOMICITY_SRCDIR ATOMIC_WORD_SRCDIR CPU_DEFINES_SRCDIR ABI_TWEAKS_SRCDIR OS_INC_SRCDIR glibcxx_prefixdir gxx_include_dir glibcxx_toolexecdir glibcxx_toolexeclibdir GLIBCXX_INCLUDES TOPLEVEL_INCLUDES OPTIMIZE_CXXFLAGS WARN_FLAGS LIBSUPCXX_PICFLAGS LIBOBJS LTLIBOBJS'
313 ac_subst_files=''
315 # Initialize some variables set by options.
316 ac_init_help=
317 ac_init_version=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
320 cache_file=/dev/null
321 exec_prefix=NONE
322 no_create=
323 no_recursion=
324 prefix=NONE
325 program_prefix=NONE
326 program_suffix=NONE
327 program_transform_name=s,x,x,
328 silent=
329 site=
330 srcdir=
331 verbose=
332 x_includes=NONE
333 x_libraries=NONE
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir='${exec_prefix}/bin'
341 sbindir='${exec_prefix}/sbin'
342 libexecdir='${exec_prefix}/libexec'
343 datadir='${prefix}/share'
344 sysconfdir='${prefix}/etc'
345 sharedstatedir='${prefix}/com'
346 localstatedir='${prefix}/var'
347 libdir='${exec_prefix}/lib'
348 includedir='${prefix}/include'
349 oldincludedir='/usr/include'
350 infodir='${prefix}/info'
351 mandir='${prefix}/man'
353 ac_prev=
354 for ac_option
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
359 ac_prev=
360 continue
363 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
367 case $ac_option in
369 -bindir | --bindir | --bindi | --bind | --bin | --bi)
370 ac_prev=bindir ;;
371 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
372 bindir=$ac_optarg ;;
374 -build | --build | --buil | --bui | --bu)
375 ac_prev=build_alias ;;
376 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
377 build_alias=$ac_optarg ;;
379 -cache-file | --cache-file | --cache-fil | --cache-fi \
380 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
381 ac_prev=cache_file ;;
382 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
383 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
384 cache_file=$ac_optarg ;;
386 --config-cache | -C)
387 cache_file=config.cache ;;
389 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
390 ac_prev=datadir ;;
391 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
392 | --da=*)
393 datadir=$ac_optarg ;;
395 -disable-* | --disable-*)
396 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* | --enable-*)
405 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
411 case $ac_option in
412 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
413 *) ac_optarg=yes ;;
414 esac
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
418 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
419 | --exec | --exe | --ex)
420 ac_prev=exec_prefix ;;
421 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
422 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
423 | --exec=* | --exe=* | --ex=*)
424 exec_prefix=$ac_optarg ;;
426 -gas | --gas | --ga | --g)
427 # Obsolete; use --with-gas.
428 with_gas=yes ;;
430 -help | --help | --hel | --he | -h)
431 ac_init_help=long ;;
432 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
433 ac_init_help=recursive ;;
434 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
435 ac_init_help=short ;;
437 -host | --host | --hos | --ho)
438 ac_prev=host_alias ;;
439 -host=* | --host=* | --hos=* | --ho=*)
440 host_alias=$ac_optarg ;;
442 -includedir | --includedir | --includedi | --included | --include \
443 | --includ | --inclu | --incl | --inc)
444 ac_prev=includedir ;;
445 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
446 | --includ=* | --inclu=* | --incl=* | --inc=*)
447 includedir=$ac_optarg ;;
449 -infodir | --infodir | --infodi | --infod | --info | --inf)
450 ac_prev=infodir ;;
451 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
452 infodir=$ac_optarg ;;
454 -libdir | --libdir | --libdi | --libd)
455 ac_prev=libdir ;;
456 -libdir=* | --libdir=* | --libdi=* | --libd=*)
457 libdir=$ac_optarg ;;
459 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
460 | --libexe | --libex | --libe)
461 ac_prev=libexecdir ;;
462 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
463 | --libexe=* | --libex=* | --libe=*)
464 libexecdir=$ac_optarg ;;
466 -localstatedir | --localstatedir | --localstatedi | --localstated \
467 | --localstate | --localstat | --localsta | --localst \
468 | --locals | --local | --loca | --loc | --lo)
469 ac_prev=localstatedir ;;
470 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
471 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
472 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
473 localstatedir=$ac_optarg ;;
475 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
476 ac_prev=mandir ;;
477 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
478 mandir=$ac_optarg ;;
480 -nfp | --nfp | --nf)
481 # Obsolete; use --without-fp.
482 with_fp=no ;;
484 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
485 | --no-cr | --no-c | -n)
486 no_create=yes ;;
488 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
489 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
490 no_recursion=yes ;;
492 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
493 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
494 | --oldin | --oldi | --old | --ol | --o)
495 ac_prev=oldincludedir ;;
496 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
497 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
498 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
499 oldincludedir=$ac_optarg ;;
501 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
502 ac_prev=prefix ;;
503 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
504 prefix=$ac_optarg ;;
506 -program-prefix | --program-prefix | --program-prefi | --program-pref \
507 | --program-pre | --program-pr | --program-p)
508 ac_prev=program_prefix ;;
509 -program-prefix=* | --program-prefix=* | --program-prefi=* \
510 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
511 program_prefix=$ac_optarg ;;
513 -program-suffix | --program-suffix | --program-suffi | --program-suff \
514 | --program-suf | --program-su | --program-s)
515 ac_prev=program_suffix ;;
516 -program-suffix=* | --program-suffix=* | --program-suffi=* \
517 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
518 program_suffix=$ac_optarg ;;
520 -program-transform-name | --program-transform-name \
521 | --program-transform-nam | --program-transform-na \
522 | --program-transform-n | --program-transform- \
523 | --program-transform | --program-transfor \
524 | --program-transfo | --program-transf \
525 | --program-trans | --program-tran \
526 | --progr-tra | --program-tr | --program-t)
527 ac_prev=program_transform_name ;;
528 -program-transform-name=* | --program-transform-name=* \
529 | --program-transform-nam=* | --program-transform-na=* \
530 | --program-transform-n=* | --program-transform-=* \
531 | --program-transform=* | --program-transfor=* \
532 | --program-transfo=* | --program-transf=* \
533 | --program-trans=* | --program-tran=* \
534 | --progr-tra=* | --program-tr=* | --program-t=*)
535 program_transform_name=$ac_optarg ;;
537 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
538 | -silent | --silent | --silen | --sile | --sil)
539 silent=yes ;;
541 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
542 ac_prev=sbindir ;;
543 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
544 | --sbi=* | --sb=*)
545 sbindir=$ac_optarg ;;
547 -sharedstatedir | --sharedstatedir | --sharedstatedi \
548 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
549 | --sharedst | --shareds | --shared | --share | --shar \
550 | --sha | --sh)
551 ac_prev=sharedstatedir ;;
552 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
553 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
554 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
555 | --sha=* | --sh=*)
556 sharedstatedir=$ac_optarg ;;
558 -site | --site | --sit)
559 ac_prev=site ;;
560 -site=* | --site=* | --sit=*)
561 site=$ac_optarg ;;
563 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
564 ac_prev=srcdir ;;
565 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
566 srcdir=$ac_optarg ;;
568 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
569 | --syscon | --sysco | --sysc | --sys | --sy)
570 ac_prev=sysconfdir ;;
571 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
572 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
573 sysconfdir=$ac_optarg ;;
575 -target | --target | --targe | --targ | --tar | --ta | --t)
576 ac_prev=target_alias ;;
577 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
578 target_alias=$ac_optarg ;;
580 -v | -verbose | --verbose | --verbos | --verbo | --verb)
581 verbose=yes ;;
583 -version | --version | --versio | --versi | --vers | -V)
584 ac_init_version=: ;;
586 -with-* | --with-*)
587 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package=`echo $ac_package| sed 's/-/_/g'`
593 case $ac_option in
594 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
595 *) ac_optarg=yes ;;
596 esac
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* | --without-*)
600 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
608 --x)
609 # Obsolete; use --with-x.
610 with_x=yes ;;
612 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
613 | --x-incl | --x-inc | --x-in | --x-i)
614 ac_prev=x_includes ;;
615 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
616 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
617 x_includes=$ac_optarg ;;
619 -x-libraries | --x-libraries | --x-librarie | --x-librari \
620 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
621 ac_prev=x_libraries ;;
622 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
623 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
624 x_libraries=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
631 *=*)
632 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
639 export $ac_envvar ;;
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
649 esac
650 done
652 if test -n "$ac_prev"; then
653 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var in exec_prefix prefix
661 eval ac_val=$`echo $ac_var`
662 case $ac_val in
663 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
666 esac
667 done
669 # Be sure to have absolute paths.
670 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val=$`echo $ac_var`
674 case $ac_val in
675 [\\/$]* | ?:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
678 esac
679 done
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
684 build=$build_alias
685 host=$host_alias
686 target=$target_alias
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x; then
690 if test "x$build_alias" = x; then
691 cross_compiling=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
695 cross_compiling=yes
699 ac_tool_prefix=
700 test -n "$host_alias" && ac_tool_prefix=$host_alias-
702 test "$silent" = yes && exec 6>/dev/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
715 echo X"$0" |
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
720 s/.*/./; q'`
721 srcdir=$ac_confdir
722 if test ! -r $srcdir/$ac_unique_file; then
723 srcdir=..
725 else
726 ac_srcdir_defaulted=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
732 else
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set=${build_alias+set}
742 ac_env_build_alias_value=$build_alias
743 ac_cv_env_build_alias_set=${build_alias+set}
744 ac_cv_env_build_alias_value=$build_alias
745 ac_env_host_alias_set=${host_alias+set}
746 ac_env_host_alias_value=$host_alias
747 ac_cv_env_host_alias_set=${host_alias+set}
748 ac_cv_env_host_alias_value=$host_alias
749 ac_env_target_alias_set=${target_alias+set}
750 ac_env_target_alias_value=$target_alias
751 ac_cv_env_target_alias_set=${target_alias+set}
752 ac_cv_env_target_alias_value=$target_alias
753 ac_env_CPP_set=${CPP+set}
754 ac_env_CPP_value=$CPP
755 ac_cv_env_CPP_set=${CPP+set}
756 ac_cv_env_CPP_value=$CPP
757 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
758 ac_env_CPPFLAGS_value=$CPPFLAGS
759 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
760 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
761 ac_env_CXXCPP_set=${CXXCPP+set}
762 ac_env_CXXCPP_value=$CXXCPP
763 ac_cv_env_CXXCPP_set=${CXXCPP+set}
764 ac_cv_env_CXXCPP_value=$CXXCPP
767 # Report the --help message.
769 if test "$ac_init_help" = "long"; then
770 # Omit some internal or obsolete options to make the list less imposing.
771 # This message is too long to be a string in the A/UX 3.1 sh.
772 cat <<_ACEOF
773 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
775 Usage: $0 [OPTION]... [VAR=VALUE]...
777 To assign environment variables (e.g., CC, CFLAGS...), specify them as
778 VAR=VALUE. See below for descriptions of some of the useful variables.
780 Defaults for the options are specified in brackets.
782 Configuration:
783 -h, --help display this help and exit
784 --help=short display options specific to this package
785 --help=recursive display the short help of all the included packages
786 -V, --version display version information and exit
787 -q, --quiet, --silent do not print \`checking...' messages
788 --cache-file=FILE cache test results in FILE [disabled]
789 -C, --config-cache alias for \`--cache-file=config.cache'
790 -n, --no-create do not create output files
791 --srcdir=DIR find the sources in DIR [configure dir or \`..']
793 _ACEOF
795 cat <<_ACEOF
796 Installation directories:
797 --prefix=PREFIX install architecture-independent files in PREFIX
798 [$ac_default_prefix]
799 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
800 [PREFIX]
802 By default, \`make install' will install all the files in
803 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
804 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
805 for instance \`--prefix=\$HOME'.
807 For better control, use the options below.
809 Fine tuning of the installation directories:
810 --bindir=DIR user executables [EPREFIX/bin]
811 --sbindir=DIR system admin executables [EPREFIX/sbin]
812 --libexecdir=DIR program executables [EPREFIX/libexec]
813 --datadir=DIR read-only architecture-independent data [PREFIX/share]
814 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
815 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
816 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
817 --libdir=DIR object code libraries [EPREFIX/lib]
818 --includedir=DIR C header files [PREFIX/include]
819 --oldincludedir=DIR C header files for non-gcc [/usr/include]
820 --infodir=DIR info documentation [PREFIX/info]
821 --mandir=DIR man documentation [PREFIX/man]
822 _ACEOF
824 cat <<\_ACEOF
826 Program names:
827 --program-prefix=PREFIX prepend PREFIX to installed program names
828 --program-suffix=SUFFIX append SUFFIX to installed program names
829 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
831 System types:
832 --build=BUILD configure for building on BUILD [guessed]
833 --host=HOST cross-compile to build programs to run on HOST [BUILD]
834 --target=TARGET configure for building compilers for TARGET [HOST]
835 _ACEOF
838 if test -n "$ac_init_help"; then
839 case $ac_init_help in
840 short | recursive ) echo "Configuration of package-unused version-unused:";;
841 esac
842 cat <<\_ACEOF
844 Optional Features:
845 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
846 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
847 --enable-multilib build many library versions (default)
848 --enable-maintainer-mode enable make rules and dependencies not useful
849 (and sometimes confusing) to the casual installer
850 --enable-shared=PKGS build shared libraries default=yes
851 --enable-static=PKGS build static libraries default=yes
852 --enable-fast-install=PKGS optimize for fast installation default=yes
853 --disable-libtool-lock avoid locking (might break parallel builds)
854 --disable-hosted-libstdcxx
855 only build freestanding C++ runtime support
856 --enable-sjlj-exceptions
857 force use of builtin_setjmp for exceptions
858 [default=auto]
859 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
860 [default=$is_hosted]
861 --enable-cstdio=PACKAGE use target-specific I/O package
862 [default=stdio]
863 --enable-clocale[=MODEL]
864 use MODEL for target locale package
865 [default=auto]
866 --enable-nls use Native Language Support (default)
867 --enable-libstdcxx-allocator=KIND
868 use KIND for target std::allocator base
869 [default=auto]
870 --enable-cheaders=KIND construct "C" headers for g++
871 [default=$c_model]
872 --enable-long-long enable template specializations for 'long long'
873 [default=yes]
874 --enable-wchar_t enable template specializations for 'wchar_t'
875 [default=yes]
876 --enable-c99 turns on ISO/IEC 9899:1999 support
877 [default=yes]
878 --enable-concept-checks use Boost-derived template checks [default=no]
879 --enable-libstdcxx-debug-flags=FLAGS
880 pass compiler FLAGS when building debug library
881 [default="-g3 -O0"]
882 --enable-libstdcxx-debug
883 build extra debug library [default=no]
884 --enable-cxx-flags=FLAGS
885 pass compiler FLAGS when building library
886 [default=]
887 --enable-fully-dynamic-string
888 do not put empty strings in per-process static
889 memory [default=no]
890 --enable-tls Use thread-local storage [default=yes]
891 --disable-rpath do not hardcode runtime library paths
892 --enable-symvers=STYLE enables symbol versioning of the shared library
893 [default=yes]
894 --enable-visibility enables visibility safe usage [default=yes]
895 --enable-version-specific-runtime-libs
896 Specify that runtime libraries should be installed
897 in a compiler-specific directory
899 Optional Packages:
900 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
901 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
902 --with-target-subdir=SUBDIR
903 configuring in a subdirectory
904 --with-cross-host=HOST configuring with a cross compiler
905 --with-newlib assume newlib as a system C library
906 --with-gnu-ld assume the C compiler uses GNU ld default=no
907 --with-pic try to use only PIC/non-PIC objects default=use both
908 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
909 --without-libiconv-prefix don't search for libiconv in includedir and libdir
910 --with-gxx-include-dir=DIR
911 installation directory for include files
913 Some influential environment variables:
914 CC C compiler command
915 CFLAGS C compiler flags
916 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
917 nonstandard directory <lib dir>
918 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
919 headers in a nonstandard directory <include dir>
920 CXX C++ compiler command
921 CXXFLAGS C++ compiler flags
922 CPP C preprocessor
923 CXXCPP C++ preprocessor
925 Use these variables to override the choices made by `configure' or to help
926 it to find libraries and programs with nonstandard names/locations.
928 _ACEOF
931 if test "$ac_init_help" = "recursive"; then
932 # If there are subdirs, report their specific --help.
933 ac_popdir=`pwd`
934 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
935 test -d $ac_dir || continue
936 ac_builddir=.
938 if test "$ac_dir" != .; then
939 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
940 # A "../" for each directory in $ac_dir_suffix.
941 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
942 else
943 ac_dir_suffix= ac_top_builddir=
946 case $srcdir in
947 .) # No --srcdir option. We are building in place.
948 ac_srcdir=.
949 if test -z "$ac_top_builddir"; then
950 ac_top_srcdir=.
951 else
952 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
953 fi ;;
954 [\\/]* | ?:[\\/]* ) # Absolute path.
955 ac_srcdir=$srcdir$ac_dir_suffix;
956 ac_top_srcdir=$srcdir ;;
957 *) # Relative path.
958 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
959 ac_top_srcdir=$ac_top_builddir$srcdir ;;
960 esac
962 # Do not use `cd foo && pwd` to compute absolute paths, because
963 # the directories may not exist.
964 case `pwd` in
965 .) ac_abs_builddir="$ac_dir";;
967 case "$ac_dir" in
968 .) ac_abs_builddir=`pwd`;;
969 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
970 *) ac_abs_builddir=`pwd`/"$ac_dir";;
971 esac;;
972 esac
973 case $ac_abs_builddir in
974 .) ac_abs_top_builddir=${ac_top_builddir}.;;
976 case ${ac_top_builddir}. in
977 .) ac_abs_top_builddir=$ac_abs_builddir;;
978 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
979 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
980 esac;;
981 esac
982 case $ac_abs_builddir in
983 .) ac_abs_srcdir=$ac_srcdir;;
985 case $ac_srcdir in
986 .) ac_abs_srcdir=$ac_abs_builddir;;
987 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
988 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
989 esac;;
990 esac
991 case $ac_abs_builddir in
992 .) ac_abs_top_srcdir=$ac_top_srcdir;;
994 case $ac_top_srcdir in
995 .) ac_abs_top_srcdir=$ac_abs_builddir;;
996 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
997 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
998 esac;;
999 esac
1001 cd $ac_dir
1002 # Check for guested configure; otherwise get Cygnus style configure.
1003 if test -f $ac_srcdir/configure.gnu; then
1004 echo
1005 $SHELL $ac_srcdir/configure.gnu --help=recursive
1006 elif test -f $ac_srcdir/configure; then
1007 echo
1008 $SHELL $ac_srcdir/configure --help=recursive
1009 elif test -f $ac_srcdir/configure.ac ||
1010 test -f $ac_srcdir/configure.in; then
1011 echo
1012 $ac_configure --help
1013 else
1014 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1016 cd $ac_popdir
1017 done
1020 test -n "$ac_init_help" && exit 0
1021 if $ac_init_version; then
1022 cat <<\_ACEOF
1023 package-unused configure version-unused
1024 generated by GNU Autoconf 2.59
1026 Copyright (C) 2003 Free Software Foundation, Inc.
1027 This configure script is free software; the Free Software Foundation
1028 gives unlimited permission to copy, distribute and modify it.
1029 _ACEOF
1030 exit 0
1032 exec 5>config.log
1033 cat >&5 <<_ACEOF
1034 This file contains any messages produced by compilers while
1035 running configure, to aid debugging if configure makes a mistake.
1037 It was created by package-unused $as_me version-unused, which was
1038 generated by GNU Autoconf 2.59. Invocation command line was
1040 $ $0 $@
1042 _ACEOF
1044 cat <<_ASUNAME
1045 ## --------- ##
1046 ## Platform. ##
1047 ## --------- ##
1049 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1050 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1051 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1052 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1053 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1055 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1056 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1058 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1059 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1060 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1061 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1062 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1063 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1064 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1066 _ASUNAME
1068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1069 for as_dir in $PATH
1071 IFS=$as_save_IFS
1072 test -z "$as_dir" && as_dir=.
1073 echo "PATH: $as_dir"
1074 done
1076 } >&5
1078 cat >&5 <<_ACEOF
1081 ## ----------- ##
1082 ## Core tests. ##
1083 ## ----------- ##
1085 _ACEOF
1088 # Keep a trace of the command line.
1089 # Strip out --no-create and --no-recursion so they do not pile up.
1090 # Strip out --silent because we don't want to record it for future runs.
1091 # Also quote any args containing shell meta-characters.
1092 # Make two passes to allow for proper duplicate-argument suppression.
1093 ac_configure_args=
1094 ac_configure_args0=
1095 ac_configure_args1=
1096 ac_sep=
1097 ac_must_keep_next=false
1098 for ac_pass in 1 2
1100 for ac_arg
1102 case $ac_arg in
1103 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1104 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1105 | -silent | --silent | --silen | --sile | --sil)
1106 continue ;;
1107 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1108 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1109 esac
1110 case $ac_pass in
1111 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1113 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1114 if test $ac_must_keep_next = true; then
1115 ac_must_keep_next=false # Got value, back to normal.
1116 else
1117 case $ac_arg in
1118 *=* | --config-cache | -C | -disable-* | --disable-* \
1119 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1120 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1121 | -with-* | --with-* | -without-* | --without-* | --x)
1122 case "$ac_configure_args0 " in
1123 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1124 esac
1126 -* ) ac_must_keep_next=true ;;
1127 esac
1129 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1130 # Get rid of the leading space.
1131 ac_sep=" "
1133 esac
1134 done
1135 done
1136 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1137 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1139 # When interrupted or exit'd, cleanup temporary files, and complete
1140 # config.log. We remove comments because anyway the quotes in there
1141 # would cause problems or look ugly.
1142 # WARNING: Be sure not to use single quotes in there, as some shells,
1143 # such as our DU 5.0 friend, will then `close' the trap.
1144 trap 'exit_status=$?
1145 # Save into config.log some information that might help in debugging.
1147 echo
1149 cat <<\_ASBOX
1150 ## ---------------- ##
1151 ## Cache variables. ##
1152 ## ---------------- ##
1153 _ASBOX
1154 echo
1155 # The following way of writing the cache mishandles newlines in values,
1157 (set) 2>&1 |
1158 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1159 *ac_space=\ *)
1160 sed -n \
1161 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1162 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1165 sed -n \
1166 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1168 esac;
1170 echo
1172 cat <<\_ASBOX
1173 ## ----------------- ##
1174 ## Output variables. ##
1175 ## ----------------- ##
1176 _ASBOX
1177 echo
1178 for ac_var in $ac_subst_vars
1180 eval ac_val=$`echo $ac_var`
1181 echo "$ac_var='"'"'$ac_val'"'"'"
1182 done | sort
1183 echo
1185 if test -n "$ac_subst_files"; then
1186 cat <<\_ASBOX
1187 ## ------------- ##
1188 ## Output files. ##
1189 ## ------------- ##
1190 _ASBOX
1191 echo
1192 for ac_var in $ac_subst_files
1194 eval ac_val=$`echo $ac_var`
1195 echo "$ac_var='"'"'$ac_val'"'"'"
1196 done | sort
1197 echo
1200 if test -s confdefs.h; then
1201 cat <<\_ASBOX
1202 ## ----------- ##
1203 ## confdefs.h. ##
1204 ## ----------- ##
1205 _ASBOX
1206 echo
1207 sed "/^$/d" confdefs.h | sort
1208 echo
1210 test "$ac_signal" != 0 &&
1211 echo "$as_me: caught signal $ac_signal"
1212 echo "$as_me: exit $exit_status"
1213 } >&5
1214 rm -f core *.core &&
1215 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1216 exit $exit_status
1218 for ac_signal in 1 2 13 15; do
1219 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1220 done
1221 ac_signal=0
1223 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1224 rm -rf conftest* confdefs.h
1225 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1226 echo >confdefs.h
1228 # Predefined preprocessor variables.
1230 cat >>confdefs.h <<_ACEOF
1231 #define PACKAGE_NAME "$PACKAGE_NAME"
1232 _ACEOF
1235 cat >>confdefs.h <<_ACEOF
1236 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1237 _ACEOF
1240 cat >>confdefs.h <<_ACEOF
1241 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1242 _ACEOF
1245 cat >>confdefs.h <<_ACEOF
1246 #define PACKAGE_STRING "$PACKAGE_STRING"
1247 _ACEOF
1250 cat >>confdefs.h <<_ACEOF
1251 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1252 _ACEOF
1255 # Let the site file select an alternate cache file if it wants to.
1256 # Prefer explicitly selected file to automatically selected ones.
1257 if test -z "$CONFIG_SITE"; then
1258 if test "x$prefix" != xNONE; then
1259 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1260 else
1261 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1264 for ac_site_file in $CONFIG_SITE; do
1265 if test -r "$ac_site_file"; then
1266 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1267 echo "$as_me: loading site script $ac_site_file" >&6;}
1268 sed 's/^/| /' "$ac_site_file" >&5
1269 . "$ac_site_file"
1271 done
1273 if test -r "$cache_file"; then
1274 # Some versions of bash will fail to source /dev/null (special
1275 # files actually), so we avoid doing that.
1276 if test -f "$cache_file"; then
1277 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1278 echo "$as_me: loading cache $cache_file" >&6;}
1279 case $cache_file in
1280 [\\/]* | ?:[\\/]* ) . $cache_file;;
1281 *) . ./$cache_file;;
1282 esac
1284 else
1285 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1286 echo "$as_me: creating cache $cache_file" >&6;}
1287 >$cache_file
1290 # Check that the precious variables saved in the cache have kept the same
1291 # value.
1292 ac_cache_corrupted=false
1293 for ac_var in `(set) 2>&1 |
1294 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1295 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1296 eval ac_new_set=\$ac_env_${ac_var}_set
1297 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1298 eval ac_new_val="\$ac_env_${ac_var}_value"
1299 case $ac_old_set,$ac_new_set in
1300 set,)
1301 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1302 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1303 ac_cache_corrupted=: ;;
1304 ,set)
1305 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1306 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1307 ac_cache_corrupted=: ;;
1308 ,);;
1310 if test "x$ac_old_val" != "x$ac_new_val"; then
1311 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1312 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1313 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1314 echo "$as_me: former value: $ac_old_val" >&2;}
1315 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1316 echo "$as_me: current value: $ac_new_val" >&2;}
1317 ac_cache_corrupted=:
1318 fi;;
1319 esac
1320 # Pass precious variables to config.status.
1321 if test "$ac_new_set" = set; then
1322 case $ac_new_val in
1323 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1324 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1325 *) ac_arg=$ac_var=$ac_new_val ;;
1326 esac
1327 case " $ac_configure_args " in
1328 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1329 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1330 esac
1332 done
1333 if $ac_cache_corrupted; then
1334 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1335 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1336 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1337 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1338 { (exit 1); exit 1; }; }
1341 ac_ext=c
1342 ac_cpp='$CPP $CPPFLAGS'
1343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1374 ac_config_headers="$ac_config_headers config.h"
1377 # This works around the fact that libtool configuration may change LD
1378 # for this particular configuration, but some shells, instead of
1379 # keeping the changes in LD private, export them just because LD is
1380 # exported. Only used at the end of this file.
1381 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
1383 # For libtool versioning info, format is CURRENT:REVISION:AGE
1384 libtool_VERSION=6:9:0
1387 # Find the rest of the source tree framework.
1388 # Default to --enable-multilib
1389 # Check whether --enable-multilib or --disable-multilib was given.
1390 if test "${enable_multilib+set}" = set; then
1391 enableval="$enable_multilib"
1392 case "$enableval" in
1393 yes) multilib=yes ;;
1394 no) multilib=no ;;
1395 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1396 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1397 { (exit 1); exit 1; }; } ;;
1398 esac
1399 else
1400 multilib=yes
1403 # We may get other options which we leave undocumented:
1404 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1405 # See config-ml.in if you want the gory details.
1407 if test "$srcdir" = "."; then
1408 if test "$with_target_subdir" != "."; then
1409 multi_basedir="$srcdir/$with_multisrctop../.."
1410 else
1411 multi_basedir="$srcdir/$with_multisrctop.."
1413 else
1414 multi_basedir="$srcdir/.."
1418 # Even if the default multilib is not a cross compilation,
1419 # it may be that some of the other multilibs are.
1420 if test $cross_compiling = no && test $multilib = yes \
1421 && test "x${with_multisubdir}" != x ; then
1422 cross_compiling=maybe
1425 ac_config_commands="$ac_config_commands default-1"
1428 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1430 # You will slowly go insane if you do not grok the following fact: when
1431 # building v3 as part of the compiler, the top-level /target/ becomes the
1432 # library's /host/. configure then causes --target to default to --host,
1433 # exactly like any other package using autoconf. Therefore, 'target' and
1434 # 'host' will always be the same. This makes sense both for native and
1435 # cross compilers, just think about it for a little while. :-)
1437 # Also, if v3 is being configured as part of a cross compiler, the top-level
1438 # configure script will pass the "real" host as $with_cross_host.
1440 # Do not delete or change the following two lines. For why, see
1441 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1442 ac_aux_dir=
1443 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1444 if test -f $ac_dir/install-sh; then
1445 ac_aux_dir=$ac_dir
1446 ac_install_sh="$ac_aux_dir/install-sh -c"
1447 break
1448 elif test -f $ac_dir/install.sh; then
1449 ac_aux_dir=$ac_dir
1450 ac_install_sh="$ac_aux_dir/install.sh -c"
1451 break
1452 elif test -f $ac_dir/shtool; then
1453 ac_aux_dir=$ac_dir
1454 ac_install_sh="$ac_aux_dir/shtool install -c"
1455 break
1457 done
1458 if test -z "$ac_aux_dir"; then
1459 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1460 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1461 { (exit 1); exit 1; }; }
1463 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1464 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1465 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1467 # Make sure we can run config.sub.
1468 $ac_config_sub sun4 >/dev/null 2>&1 ||
1469 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1470 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1471 { (exit 1); exit 1; }; }
1473 echo "$as_me:$LINENO: checking build system type" >&5
1474 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1475 if test "${ac_cv_build+set}" = set; then
1476 echo $ECHO_N "(cached) $ECHO_C" >&6
1477 else
1478 ac_cv_build_alias=$build_alias
1479 test -z "$ac_cv_build_alias" &&
1480 ac_cv_build_alias=`$ac_config_guess`
1481 test -z "$ac_cv_build_alias" &&
1482 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1483 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1484 { (exit 1); exit 1; }; }
1485 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1486 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1487 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1488 { (exit 1); exit 1; }; }
1491 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1492 echo "${ECHO_T}$ac_cv_build" >&6
1493 build=$ac_cv_build
1494 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1495 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1496 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1499 echo "$as_me:$LINENO: checking host system type" >&5
1500 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1501 if test "${ac_cv_host+set}" = set; then
1502 echo $ECHO_N "(cached) $ECHO_C" >&6
1503 else
1504 ac_cv_host_alias=$host_alias
1505 test -z "$ac_cv_host_alias" &&
1506 ac_cv_host_alias=$ac_cv_build_alias
1507 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1508 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1509 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1510 { (exit 1); exit 1; }; }
1513 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1514 echo "${ECHO_T}$ac_cv_host" >&6
1515 host=$ac_cv_host
1516 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1517 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1518 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1521 echo "$as_me:$LINENO: checking target system type" >&5
1522 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1523 if test "${ac_cv_target+set}" = set; then
1524 echo $ECHO_N "(cached) $ECHO_C" >&6
1525 else
1526 ac_cv_target_alias=$target_alias
1527 test "x$ac_cv_target_alias" = "x" &&
1528 ac_cv_target_alias=$ac_cv_host_alias
1529 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1530 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1531 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1532 { (exit 1); exit 1; }; }
1535 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1536 echo "${ECHO_T}$ac_cv_target" >&6
1537 target=$ac_cv_target
1538 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1539 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1540 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1543 # The aliases save the names the user supplied, while $host etc.
1544 # will get canonicalized.
1545 test -n "$target_alias" &&
1546 test "$program_prefix$program_suffix$program_transform_name" = \
1547 NONENONEs,x,x, &&
1548 program_prefix=${target_alias}-
1549 target_alias=${target_alias-$host_alias}
1551 # Handy for debugging:
1552 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1554 if test "$build" != "$host"; then
1555 # We are being configured with some form of cross compiler.
1556 GLIBCXX_IS_NATIVE=false
1557 case "$host","$target" in
1558 # Darwin crosses can use the host system's libraries and headers,
1559 # because of the fat library support. Of course, it must be the
1560 # same version of Darwin on both sides. Allow the user to
1561 # just say --target=foo-darwin without a version number to mean
1562 # "the version on this system".
1563 *-*-darwin*,*-*-darwin*)
1564 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
1565 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
1566 if test $hostos = $targetos -o $targetos = darwin ; then
1567 GLIBCXX_IS_NATIVE=true
1574 esac
1575 else
1576 GLIBCXX_IS_NATIVE=true
1579 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1580 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1581 # 1.x: minimum required version
1582 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1583 # of other PACKAGE_* variables will, however, and there's nothing
1584 # we can do about that; they come from AC_INIT).
1585 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1586 # file in the top srcdir, etc, etc), so stop complaining.
1587 # no-dependencies: turns off auto dependency generation (just for now)
1588 # -Wall: turns on all automake warnings...
1589 # -Wno-portability: ...except this one, since GNU make is now required.
1590 am__api_version="1.9"
1591 # Find a good install program. We prefer a C program (faster),
1592 # so one script is as good as another. But avoid the broken or
1593 # incompatible versions:
1594 # SysV /etc/install, /usr/sbin/install
1595 # SunOS /usr/etc/install
1596 # IRIX /sbin/install
1597 # AIX /bin/install
1598 # AmigaOS /C/install, which installs bootblocks on floppy discs
1599 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1600 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1601 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1602 # OS/2's system install, which has a completely different semantic
1603 # ./install, which can be erroneously created by make from ./install.sh.
1604 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1605 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1606 if test -z "$INSTALL"; then
1607 if test "${ac_cv_path_install+set}" = set; then
1608 echo $ECHO_N "(cached) $ECHO_C" >&6
1609 else
1610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1611 for as_dir in $PATH
1613 IFS=$as_save_IFS
1614 test -z "$as_dir" && as_dir=.
1615 # Account for people who put trailing slashes in PATH elements.
1616 case $as_dir/ in
1617 ./ | .// | /cC/* | \
1618 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1619 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1620 /usr/ucb/* ) ;;
1622 # OSF1 and SCO ODT 3.0 have their own names for install.
1623 # Don't use installbsd from OSF since it installs stuff as root
1624 # by default.
1625 for ac_prog in ginstall scoinst install; do
1626 for ac_exec_ext in '' $ac_executable_extensions; do
1627 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1628 if test $ac_prog = install &&
1629 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1630 # AIX install. It has an incompatible calling convention.
1632 elif test $ac_prog = install &&
1633 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1634 # program-specific install script used by HP pwplus--don't use.
1636 else
1637 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1638 break 3
1641 done
1642 done
1644 esac
1645 done
1649 if test "${ac_cv_path_install+set}" = set; then
1650 INSTALL=$ac_cv_path_install
1651 else
1652 # As a last resort, use the slow shell script. We don't cache a
1653 # path for INSTALL within a source directory, because that will
1654 # break other packages using the cache if that directory is
1655 # removed, or if the path is relative.
1656 INSTALL=$ac_install_sh
1659 echo "$as_me:$LINENO: result: $INSTALL" >&5
1660 echo "${ECHO_T}$INSTALL" >&6
1662 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1663 # It thinks the first close brace ends the variable substitution.
1664 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1666 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1668 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1670 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1671 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1672 # Just in case
1673 sleep 1
1674 echo timestamp > conftest.file
1675 # Do `set' in a subshell so we don't clobber the current shell's
1676 # arguments. Must try -L first in case configure is actually a
1677 # symlink; some systems play weird games with the mod time of symlinks
1678 # (eg FreeBSD returns the mod time of the symlink's containing
1679 # directory).
1680 if (
1681 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1682 if test "$*" = "X"; then
1683 # -L didn't work.
1684 set X `ls -t $srcdir/configure conftest.file`
1686 rm -f conftest.file
1687 if test "$*" != "X $srcdir/configure conftest.file" \
1688 && test "$*" != "X conftest.file $srcdir/configure"; then
1690 # If neither matched, then we have a broken ls. This can happen
1691 # if, for instance, CONFIG_SHELL is bash and it inherits a
1692 # broken ls alias from the environment. This has actually
1693 # happened. Such a system could not be considered "sane".
1694 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1695 alias in your environment" >&5
1696 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1697 alias in your environment" >&2;}
1698 { (exit 1); exit 1; }; }
1701 test "$2" = conftest.file
1703 then
1704 # Ok.
1706 else
1707 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1708 Check your system clock" >&5
1709 echo "$as_me: error: newly created file is older than distributed files!
1710 Check your system clock" >&2;}
1711 { (exit 1); exit 1; }; }
1713 echo "$as_me:$LINENO: result: yes" >&5
1714 echo "${ECHO_T}yes" >&6
1715 test "$program_prefix" != NONE &&
1716 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1717 # Use a double $ so make ignores it.
1718 test "$program_suffix" != NONE &&
1719 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1720 # Double any \ or $. echo might interpret backslashes.
1721 # By default was `s,x,x', remove it if useless.
1722 cat <<\_ACEOF >conftest.sed
1723 s/[\\$]/&&/g;s/;s,x,x,$//
1724 _ACEOF
1725 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1726 rm conftest.sed
1728 # expand $ac_aux_dir to an absolute path
1729 am_aux_dir=`cd $ac_aux_dir && pwd`
1731 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1732 # Use eval to expand $SHELL
1733 if eval "$MISSING --run true"; then
1734 am_missing_run="$MISSING --run "
1735 else
1736 am_missing_run=
1737 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1738 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1741 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1742 # We used to keeping the `.' as first argument, in order to
1743 # allow $(mkdir_p) to be used without argument. As in
1744 # $(mkdir_p) $(somedir)
1745 # where $(somedir) is conditionally defined. However this is wrong
1746 # for two reasons:
1747 # 1. if the package is installed by a user who cannot write `.'
1748 # make install will fail,
1749 # 2. the above comment should most certainly read
1750 # $(mkdir_p) $(DESTDIR)$(somedir)
1751 # so it does not work when $(somedir) is undefined and
1752 # $(DESTDIR) is not.
1753 # To support the latter case, we have to write
1754 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1755 # so the `.' trick is pointless.
1756 mkdir_p='mkdir -p --'
1757 else
1758 # On NextStep and OpenStep, the `mkdir' command does not
1759 # recognize any option. It will interpret all options as
1760 # directories to create, and then abort because `.' already
1761 # exists.
1762 for d in ./-p ./--version;
1764 test -d $d && rmdir $d
1765 done
1766 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1767 if test -f "$ac_aux_dir/mkinstalldirs"; then
1768 mkdir_p='$(mkinstalldirs)'
1769 else
1770 mkdir_p='$(install_sh) -d'
1774 for ac_prog in gawk mawk nawk awk
1776 # Extract the first word of "$ac_prog", so it can be a program name with args.
1777 set dummy $ac_prog; ac_word=$2
1778 echo "$as_me:$LINENO: checking for $ac_word" >&5
1779 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1780 if test "${ac_cv_prog_AWK+set}" = set; then
1781 echo $ECHO_N "(cached) $ECHO_C" >&6
1782 else
1783 if test -n "$AWK"; then
1784 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1785 else
1786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1787 for as_dir in $PATH
1789 IFS=$as_save_IFS
1790 test -z "$as_dir" && as_dir=.
1791 for ac_exec_ext in '' $ac_executable_extensions; do
1792 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1793 ac_cv_prog_AWK="$ac_prog"
1794 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1795 break 2
1797 done
1798 done
1802 AWK=$ac_cv_prog_AWK
1803 if test -n "$AWK"; then
1804 echo "$as_me:$LINENO: result: $AWK" >&5
1805 echo "${ECHO_T}$AWK" >&6
1806 else
1807 echo "$as_me:$LINENO: result: no" >&5
1808 echo "${ECHO_T}no" >&6
1811 test -n "$AWK" && break
1812 done
1814 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1815 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1816 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1817 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1818 echo $ECHO_N "(cached) $ECHO_C" >&6
1819 else
1820 cat >conftest.make <<\_ACEOF
1821 all:
1822 @echo 'ac_maketemp="$(MAKE)"'
1823 _ACEOF
1824 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1825 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1826 if test -n "$ac_maketemp"; then
1827 eval ac_cv_prog_make_${ac_make}_set=yes
1828 else
1829 eval ac_cv_prog_make_${ac_make}_set=no
1831 rm -f conftest.make
1833 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1834 echo "$as_me:$LINENO: result: yes" >&5
1835 echo "${ECHO_T}yes" >&6
1836 SET_MAKE=
1837 else
1838 echo "$as_me:$LINENO: result: no" >&5
1839 echo "${ECHO_T}no" >&6
1840 SET_MAKE="MAKE=${MAKE-make}"
1843 rm -rf .tst 2>/dev/null
1844 mkdir .tst 2>/dev/null
1845 if test -d .tst; then
1846 am__leading_dot=.
1847 else
1848 am__leading_dot=_
1850 rmdir .tst 2>/dev/null
1852 # test to see if srcdir already configured
1853 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1854 test -f $srcdir/config.status; then
1855 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1856 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1857 { (exit 1); exit 1; }; }
1860 # test whether we have cygpath
1861 if test -z "$CYGPATH_W"; then
1862 if (cygpath --version) >/dev/null 2>/dev/null; then
1863 CYGPATH_W='cygpath -w'
1864 else
1865 CYGPATH_W=echo
1870 # Define the identity of the package.
1871 PACKAGE='libstdc++'
1872 VERSION='version-unused'
1875 # Some tools Automake needs.
1877 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1880 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1883 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1886 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1889 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1891 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1893 # Installed binaries are usually stripped using `strip' when the user
1894 # run `make install-strip'. However `strip' might not be the right
1895 # tool to use in cross-compilation environments, therefore Automake
1896 # will honor the `STRIP' environment variable to overrule this program.
1897 if test "$cross_compiling" != no; then
1898 if test -n "$ac_tool_prefix"; then
1899 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1900 set dummy ${ac_tool_prefix}strip; ac_word=$2
1901 echo "$as_me:$LINENO: checking for $ac_word" >&5
1902 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1903 if test "${ac_cv_prog_STRIP+set}" = set; then
1904 echo $ECHO_N "(cached) $ECHO_C" >&6
1905 else
1906 if test -n "$STRIP"; then
1907 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1908 else
1909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1910 for as_dir in $PATH
1912 IFS=$as_save_IFS
1913 test -z "$as_dir" && as_dir=.
1914 for ac_exec_ext in '' $ac_executable_extensions; do
1915 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1916 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1917 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1918 break 2
1920 done
1921 done
1925 STRIP=$ac_cv_prog_STRIP
1926 if test -n "$STRIP"; then
1927 echo "$as_me:$LINENO: result: $STRIP" >&5
1928 echo "${ECHO_T}$STRIP" >&6
1929 else
1930 echo "$as_me:$LINENO: result: no" >&5
1931 echo "${ECHO_T}no" >&6
1935 if test -z "$ac_cv_prog_STRIP"; then
1936 ac_ct_STRIP=$STRIP
1937 # Extract the first word of "strip", so it can be a program name with args.
1938 set dummy strip; ac_word=$2
1939 echo "$as_me:$LINENO: checking for $ac_word" >&5
1940 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1941 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1942 echo $ECHO_N "(cached) $ECHO_C" >&6
1943 else
1944 if test -n "$ac_ct_STRIP"; then
1945 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1946 else
1947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1948 for as_dir in $PATH
1950 IFS=$as_save_IFS
1951 test -z "$as_dir" && as_dir=.
1952 for ac_exec_ext in '' $ac_executable_extensions; do
1953 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1954 ac_cv_prog_ac_ct_STRIP="strip"
1955 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1956 break 2
1958 done
1959 done
1961 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1964 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1965 if test -n "$ac_ct_STRIP"; then
1966 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1967 echo "${ECHO_T}$ac_ct_STRIP" >&6
1968 else
1969 echo "$as_me:$LINENO: result: no" >&5
1970 echo "${ECHO_T}no" >&6
1973 STRIP=$ac_ct_STRIP
1974 else
1975 STRIP="$ac_cv_prog_STRIP"
1979 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1981 # We need awk for the "check" target. The system "awk" is bad on
1982 # some platforms.
1983 # Always define AMTAR for backward compatibility.
1985 AMTAR=${AMTAR-"${am_missing_run}tar"}
1987 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1998 # Runs configure.host, finds CC, CXX, and assorted other critical bits. Sets
1999 # up critical shell variables.
2001 ac_ext=c
2002 ac_cpp='$CPP $CPPFLAGS'
2003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2006 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2007 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2008 # On Suns, sometimes $CPP names a directory.
2009 if test -n "$CPP" && test -d "$CPP"; then
2010 CPP=
2012 if test -z "$CPP"; then
2013 if test "${ac_cv_prog_CPP+set}" = set; then
2014 echo $ECHO_N "(cached) $ECHO_C" >&6
2015 else
2016 # Double quotes because CPP needs to be expanded
2017 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2019 ac_preproc_ok=false
2020 for ac_c_preproc_warn_flag in '' yes
2022 # Use a header file that comes with gcc, so configuring glibc
2023 # with a fresh cross-compiler works.
2024 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2025 # <limits.h> exists even on freestanding compilers.
2026 # On the NeXT, cc -E runs the code through the compiler's parser,
2027 # not just through cpp. "Syntax error" is here to catch this case.
2028 cat >conftest.$ac_ext <<_ACEOF
2029 /* confdefs.h. */
2030 _ACEOF
2031 cat confdefs.h >>conftest.$ac_ext
2032 cat >>conftest.$ac_ext <<_ACEOF
2033 /* end confdefs.h. */
2034 #ifdef __STDC__
2035 # include <limits.h>
2036 #else
2037 # include <assert.h>
2038 #endif
2039 Syntax error
2040 _ACEOF
2041 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2042 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2043 ac_status=$?
2044 grep -v '^ *+' conftest.er1 >conftest.err
2045 rm -f conftest.er1
2046 cat conftest.err >&5
2047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2048 (exit $ac_status); } >/dev/null; then
2049 if test -s conftest.err; then
2050 ac_cpp_err=$ac_c_preproc_warn_flag
2051 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2052 else
2053 ac_cpp_err=
2055 else
2056 ac_cpp_err=yes
2058 if test -z "$ac_cpp_err"; then
2060 else
2061 echo "$as_me: failed program was:" >&5
2062 sed 's/^/| /' conftest.$ac_ext >&5
2064 # Broken: fails on valid input.
2065 continue
2067 rm -f conftest.err conftest.$ac_ext
2069 # OK, works on sane cases. Now check whether non-existent headers
2070 # can be detected and how.
2071 cat >conftest.$ac_ext <<_ACEOF
2072 /* confdefs.h. */
2073 _ACEOF
2074 cat confdefs.h >>conftest.$ac_ext
2075 cat >>conftest.$ac_ext <<_ACEOF
2076 /* end confdefs.h. */
2077 #include <ac_nonexistent.h>
2078 _ACEOF
2079 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2080 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2081 ac_status=$?
2082 grep -v '^ *+' conftest.er1 >conftest.err
2083 rm -f conftest.er1
2084 cat conftest.err >&5
2085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2086 (exit $ac_status); } >/dev/null; then
2087 if test -s conftest.err; then
2088 ac_cpp_err=$ac_c_preproc_warn_flag
2089 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2090 else
2091 ac_cpp_err=
2093 else
2094 ac_cpp_err=yes
2096 if test -z "$ac_cpp_err"; then
2097 # Broken: success on invalid input.
2098 continue
2099 else
2100 echo "$as_me: failed program was:" >&5
2101 sed 's/^/| /' conftest.$ac_ext >&5
2103 # Passes both tests.
2104 ac_preproc_ok=:
2105 break
2107 rm -f conftest.err conftest.$ac_ext
2109 done
2110 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2111 rm -f conftest.err conftest.$ac_ext
2112 if $ac_preproc_ok; then
2113 break
2116 done
2117 ac_cv_prog_CPP=$CPP
2120 CPP=$ac_cv_prog_CPP
2121 else
2122 ac_cv_prog_CPP=$CPP
2124 echo "$as_me:$LINENO: result: $CPP" >&5
2125 echo "${ECHO_T}$CPP" >&6
2126 ac_preproc_ok=false
2127 for ac_c_preproc_warn_flag in '' yes
2129 # Use a header file that comes with gcc, so configuring glibc
2130 # with a fresh cross-compiler works.
2131 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2132 # <limits.h> exists even on freestanding compilers.
2133 # On the NeXT, cc -E runs the code through the compiler's parser,
2134 # not just through cpp. "Syntax error" is here to catch this case.
2135 cat >conftest.$ac_ext <<_ACEOF
2136 /* confdefs.h. */
2137 _ACEOF
2138 cat confdefs.h >>conftest.$ac_ext
2139 cat >>conftest.$ac_ext <<_ACEOF
2140 /* end confdefs.h. */
2141 #ifdef __STDC__
2142 # include <limits.h>
2143 #else
2144 # include <assert.h>
2145 #endif
2146 Syntax error
2147 _ACEOF
2148 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2149 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2150 ac_status=$?
2151 grep -v '^ *+' conftest.er1 >conftest.err
2152 rm -f conftest.er1
2153 cat conftest.err >&5
2154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2155 (exit $ac_status); } >/dev/null; then
2156 if test -s conftest.err; then
2157 ac_cpp_err=$ac_c_preproc_warn_flag
2158 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2159 else
2160 ac_cpp_err=
2162 else
2163 ac_cpp_err=yes
2165 if test -z "$ac_cpp_err"; then
2167 else
2168 echo "$as_me: failed program was:" >&5
2169 sed 's/^/| /' conftest.$ac_ext >&5
2171 # Broken: fails on valid input.
2172 continue
2174 rm -f conftest.err conftest.$ac_ext
2176 # OK, works on sane cases. Now check whether non-existent headers
2177 # can be detected and how.
2178 cat >conftest.$ac_ext <<_ACEOF
2179 /* confdefs.h. */
2180 _ACEOF
2181 cat confdefs.h >>conftest.$ac_ext
2182 cat >>conftest.$ac_ext <<_ACEOF
2183 /* end confdefs.h. */
2184 #include <ac_nonexistent.h>
2185 _ACEOF
2186 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2187 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2188 ac_status=$?
2189 grep -v '^ *+' conftest.er1 >conftest.err
2190 rm -f conftest.er1
2191 cat conftest.err >&5
2192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2193 (exit $ac_status); } >/dev/null; then
2194 if test -s conftest.err; then
2195 ac_cpp_err=$ac_c_preproc_warn_flag
2196 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2197 else
2198 ac_cpp_err=
2200 else
2201 ac_cpp_err=yes
2203 if test -z "$ac_cpp_err"; then
2204 # Broken: success on invalid input.
2205 continue
2206 else
2207 echo "$as_me: failed program was:" >&5
2208 sed 's/^/| /' conftest.$ac_ext >&5
2210 # Passes both tests.
2211 ac_preproc_ok=:
2212 break
2214 rm -f conftest.err conftest.$ac_ext
2216 done
2217 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2218 rm -f conftest.err conftest.$ac_ext
2219 if $ac_preproc_ok; then
2221 else
2222 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2223 See \`config.log' for more details." >&5
2224 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2225 See \`config.log' for more details." >&2;}
2226 { (exit 1); exit 1; }; }
2229 ac_ext=c
2230 ac_cpp='$CPP $CPPFLAGS'
2231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2236 echo "$as_me:$LINENO: checking for egrep" >&5
2237 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2238 if test "${ac_cv_prog_egrep+set}" = set; then
2239 echo $ECHO_N "(cached) $ECHO_C" >&6
2240 else
2241 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2242 then ac_cv_prog_egrep='grep -E'
2243 else ac_cv_prog_egrep='egrep'
2246 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2247 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2248 EGREP=$ac_cv_prog_egrep
2252 # Keep these sync'd with the list in Makefile.am. The first provides an
2253 # expandable list at autoconf time; the second provides an expandable list
2254 # (i.e., shell variable) at configure time.
2256 SUBDIRS='include libmath libsupc++ src po testsuite'
2258 # These need to be absolute paths, yet at the same time need to
2259 # canonicalize only relative paths, because then amd will not unmount
2260 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
2261 glibcxx_builddir=`${PWDCMD-pwd}`
2262 case $srcdir in
2263 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
2264 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
2265 esac
2266 toplevel_srcdir=${glibcxx_srcdir}/..
2271 # We use these options to decide which functions to include. They are
2272 # set from the top level.
2274 # Check whether --with-target-subdir or --without-target-subdir was given.
2275 if test "${with_target_subdir+set}" = set; then
2276 withval="$with_target_subdir"
2281 # Check whether --with-cross-host or --without-cross-host was given.
2282 if test "${with_cross_host+set}" = set; then
2283 withval="$with_cross_host"
2288 # Check whether --with-newlib or --without-newlib was given.
2289 if test "${with_newlib+set}" = set; then
2290 withval="$with_newlib"
2294 # We're almost certainly being configured before anything else which uses
2295 # C++, so all of our AC_PROG_* discoveries will be cached. It's vital that
2296 # we not cache the value of CXX that we "discover" here, because it's set
2297 # to something unique for us and libjava. Other target libraries need to
2298 # find CXX for themselves. We yank the rug out from under the normal AC_*
2299 # process by sneakily renaming the cache variable. This also lets us debug
2300 # the value of "our" CXX in postmortems.
2302 # We must also force CXX to /not/ be a precious variable, otherwise the
2303 # wrong (non-multilib-adjusted) value will be used in multilibs. This
2304 # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS. And as a side
2305 # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
2306 # that ourselves. Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
2308 # -fno-builtin must be present here so that a non-conflicting form of
2309 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
2314 save_CXXFLAGS="$CXXFLAGS"
2315 CXXFLAGS="$CXXFLAGS -fno-builtin"
2316 ac_ext=c
2317 ac_cpp='$CPP $CPPFLAGS'
2318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2321 if test -n "$ac_tool_prefix"; then
2322 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2323 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2324 echo "$as_me:$LINENO: checking for $ac_word" >&5
2325 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2326 if test "${ac_cv_prog_CC+set}" = set; then
2327 echo $ECHO_N "(cached) $ECHO_C" >&6
2328 else
2329 if test -n "$CC"; then
2330 ac_cv_prog_CC="$CC" # Let the user override the test.
2331 else
2332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2333 for as_dir in $PATH
2335 IFS=$as_save_IFS
2336 test -z "$as_dir" && as_dir=.
2337 for ac_exec_ext in '' $ac_executable_extensions; do
2338 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2339 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2340 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2341 break 2
2343 done
2344 done
2348 CC=$ac_cv_prog_CC
2349 if test -n "$CC"; then
2350 echo "$as_me:$LINENO: result: $CC" >&5
2351 echo "${ECHO_T}$CC" >&6
2352 else
2353 echo "$as_me:$LINENO: result: no" >&5
2354 echo "${ECHO_T}no" >&6
2358 if test -z "$ac_cv_prog_CC"; then
2359 ac_ct_CC=$CC
2360 # Extract the first word of "gcc", so it can be a program name with args.
2361 set dummy gcc; ac_word=$2
2362 echo "$as_me:$LINENO: checking for $ac_word" >&5
2363 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2364 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2365 echo $ECHO_N "(cached) $ECHO_C" >&6
2366 else
2367 if test -n "$ac_ct_CC"; then
2368 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2369 else
2370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2371 for as_dir in $PATH
2373 IFS=$as_save_IFS
2374 test -z "$as_dir" && as_dir=.
2375 for ac_exec_ext in '' $ac_executable_extensions; do
2376 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2377 ac_cv_prog_ac_ct_CC="gcc"
2378 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2379 break 2
2381 done
2382 done
2386 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2387 if test -n "$ac_ct_CC"; then
2388 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2389 echo "${ECHO_T}$ac_ct_CC" >&6
2390 else
2391 echo "$as_me:$LINENO: result: no" >&5
2392 echo "${ECHO_T}no" >&6
2395 CC=$ac_ct_CC
2396 else
2397 CC="$ac_cv_prog_CC"
2400 if test -z "$CC"; then
2401 if test -n "$ac_tool_prefix"; then
2402 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2403 set dummy ${ac_tool_prefix}cc; ac_word=$2
2404 echo "$as_me:$LINENO: checking for $ac_word" >&5
2405 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2406 if test "${ac_cv_prog_CC+set}" = set; then
2407 echo $ECHO_N "(cached) $ECHO_C" >&6
2408 else
2409 if test -n "$CC"; then
2410 ac_cv_prog_CC="$CC" # Let the user override the test.
2411 else
2412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2413 for as_dir in $PATH
2415 IFS=$as_save_IFS
2416 test -z "$as_dir" && as_dir=.
2417 for ac_exec_ext in '' $ac_executable_extensions; do
2418 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2419 ac_cv_prog_CC="${ac_tool_prefix}cc"
2420 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2421 break 2
2423 done
2424 done
2428 CC=$ac_cv_prog_CC
2429 if test -n "$CC"; then
2430 echo "$as_me:$LINENO: result: $CC" >&5
2431 echo "${ECHO_T}$CC" >&6
2432 else
2433 echo "$as_me:$LINENO: result: no" >&5
2434 echo "${ECHO_T}no" >&6
2438 if test -z "$ac_cv_prog_CC"; then
2439 ac_ct_CC=$CC
2440 # Extract the first word of "cc", so it can be a program name with args.
2441 set dummy cc; ac_word=$2
2442 echo "$as_me:$LINENO: checking for $ac_word" >&5
2443 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2444 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2445 echo $ECHO_N "(cached) $ECHO_C" >&6
2446 else
2447 if test -n "$ac_ct_CC"; then
2448 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2449 else
2450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2451 for as_dir in $PATH
2453 IFS=$as_save_IFS
2454 test -z "$as_dir" && as_dir=.
2455 for ac_exec_ext in '' $ac_executable_extensions; do
2456 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2457 ac_cv_prog_ac_ct_CC="cc"
2458 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2459 break 2
2461 done
2462 done
2466 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2467 if test -n "$ac_ct_CC"; then
2468 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2469 echo "${ECHO_T}$ac_ct_CC" >&6
2470 else
2471 echo "$as_me:$LINENO: result: no" >&5
2472 echo "${ECHO_T}no" >&6
2475 CC=$ac_ct_CC
2476 else
2477 CC="$ac_cv_prog_CC"
2481 if test -z "$CC"; then
2482 # Extract the first word of "cc", so it can be a program name with args.
2483 set dummy cc; ac_word=$2
2484 echo "$as_me:$LINENO: checking for $ac_word" >&5
2485 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2486 if test "${ac_cv_prog_CC+set}" = set; then
2487 echo $ECHO_N "(cached) $ECHO_C" >&6
2488 else
2489 if test -n "$CC"; then
2490 ac_cv_prog_CC="$CC" # Let the user override the test.
2491 else
2492 ac_prog_rejected=no
2493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2494 for as_dir in $PATH
2496 IFS=$as_save_IFS
2497 test -z "$as_dir" && as_dir=.
2498 for ac_exec_ext in '' $ac_executable_extensions; do
2499 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2500 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2501 ac_prog_rejected=yes
2502 continue
2504 ac_cv_prog_CC="cc"
2505 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2506 break 2
2508 done
2509 done
2511 if test $ac_prog_rejected = yes; then
2512 # We found a bogon in the path, so make sure we never use it.
2513 set dummy $ac_cv_prog_CC
2514 shift
2515 if test $# != 0; then
2516 # We chose a different compiler from the bogus one.
2517 # However, it has the same basename, so the bogon will be chosen
2518 # first if we set CC to just the basename; use the full file name.
2519 shift
2520 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2525 CC=$ac_cv_prog_CC
2526 if test -n "$CC"; then
2527 echo "$as_me:$LINENO: result: $CC" >&5
2528 echo "${ECHO_T}$CC" >&6
2529 else
2530 echo "$as_me:$LINENO: result: no" >&5
2531 echo "${ECHO_T}no" >&6
2535 if test -z "$CC"; then
2536 if test -n "$ac_tool_prefix"; then
2537 for ac_prog in cl
2539 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2540 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2541 echo "$as_me:$LINENO: checking for $ac_word" >&5
2542 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2543 if test "${ac_cv_prog_CC+set}" = set; then
2544 echo $ECHO_N "(cached) $ECHO_C" >&6
2545 else
2546 if test -n "$CC"; then
2547 ac_cv_prog_CC="$CC" # Let the user override the test.
2548 else
2549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2550 for as_dir in $PATH
2552 IFS=$as_save_IFS
2553 test -z "$as_dir" && as_dir=.
2554 for ac_exec_ext in '' $ac_executable_extensions; do
2555 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2556 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2557 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2558 break 2
2560 done
2561 done
2565 CC=$ac_cv_prog_CC
2566 if test -n "$CC"; then
2567 echo "$as_me:$LINENO: result: $CC" >&5
2568 echo "${ECHO_T}$CC" >&6
2569 else
2570 echo "$as_me:$LINENO: result: no" >&5
2571 echo "${ECHO_T}no" >&6
2574 test -n "$CC" && break
2575 done
2577 if test -z "$CC"; then
2578 ac_ct_CC=$CC
2579 for ac_prog in cl
2581 # Extract the first word of "$ac_prog", so it can be a program name with args.
2582 set dummy $ac_prog; ac_word=$2
2583 echo "$as_me:$LINENO: checking for $ac_word" >&5
2584 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2585 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2586 echo $ECHO_N "(cached) $ECHO_C" >&6
2587 else
2588 if test -n "$ac_ct_CC"; then
2589 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2590 else
2591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2592 for as_dir in $PATH
2594 IFS=$as_save_IFS
2595 test -z "$as_dir" && as_dir=.
2596 for ac_exec_ext in '' $ac_executable_extensions; do
2597 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2598 ac_cv_prog_ac_ct_CC="$ac_prog"
2599 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2600 break 2
2602 done
2603 done
2607 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2608 if test -n "$ac_ct_CC"; then
2609 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2610 echo "${ECHO_T}$ac_ct_CC" >&6
2611 else
2612 echo "$as_me:$LINENO: result: no" >&5
2613 echo "${ECHO_T}no" >&6
2616 test -n "$ac_ct_CC" && break
2617 done
2619 CC=$ac_ct_CC
2625 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2626 See \`config.log' for more details." >&5
2627 echo "$as_me: error: no acceptable C compiler found in \$PATH
2628 See \`config.log' for more details." >&2;}
2629 { (exit 1); exit 1; }; }
2631 # Provide some information about the compiler.
2632 echo "$as_me:$LINENO:" \
2633 "checking for C compiler version" >&5
2634 ac_compiler=`set X $ac_compile; echo $2`
2635 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2636 (eval $ac_compiler --version </dev/null >&5) 2>&5
2637 ac_status=$?
2638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2639 (exit $ac_status); }
2640 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2641 (eval $ac_compiler -v </dev/null >&5) 2>&5
2642 ac_status=$?
2643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2644 (exit $ac_status); }
2645 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2646 (eval $ac_compiler -V </dev/null >&5) 2>&5
2647 ac_status=$?
2648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2649 (exit $ac_status); }
2651 cat >conftest.$ac_ext <<_ACEOF
2652 /* confdefs.h. */
2653 _ACEOF
2654 cat confdefs.h >>conftest.$ac_ext
2655 cat >>conftest.$ac_ext <<_ACEOF
2656 /* end confdefs.h. */
2659 main ()
2663 return 0;
2665 _ACEOF
2666 # FIXME: Cleanup?
2667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2668 (eval $ac_link) 2>&5
2669 ac_status=$?
2670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2671 (exit $ac_status); }; then
2672 gcc_no_link=no
2673 else
2674 gcc_no_link=yes
2677 if test x$gcc_no_link = xyes; then
2678 # Setting cross_compile will disable run tests; it will
2679 # also disable AC_CHECK_FILE but that's generally
2680 # correct if we can't link.
2681 cross_compiling=yes
2682 EXEEXT=
2683 else
2684 cat >conftest.$ac_ext <<_ACEOF
2685 /* confdefs.h. */
2686 _ACEOF
2687 cat confdefs.h >>conftest.$ac_ext
2688 cat >>conftest.$ac_ext <<_ACEOF
2689 /* end confdefs.h. */
2692 main ()
2696 return 0;
2698 _ACEOF
2699 ac_clean_files_save=$ac_clean_files
2700 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2701 # Try to create an executable without -o first, disregard a.out.
2702 # It will help us diagnose broken compilers, and finding out an intuition
2703 # of exeext.
2704 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2705 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2706 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2707 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2708 (eval $ac_link_default) 2>&5
2709 ac_status=$?
2710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2711 (exit $ac_status); }; then
2712 # Find the output, starting from the most likely. This scheme is
2713 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2714 # resort.
2716 # Be careful to initialize this variable, since it used to be cached.
2717 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2718 ac_cv_exeext=
2719 # b.out is created by i960 compilers.
2720 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2722 test -f "$ac_file" || continue
2723 case $ac_file in
2724 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2726 conftest.$ac_ext )
2727 # This is the source file.
2729 [ab].out )
2730 # We found the default executable, but exeext='' is most
2731 # certainly right.
2732 break;;
2733 *.* )
2734 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2735 # FIXME: I believe we export ac_cv_exeext for Libtool,
2736 # but it would be cool to find out if it's true. Does anybody
2737 # maintain Libtool? --akim.
2738 export ac_cv_exeext
2739 break;;
2741 break;;
2742 esac
2743 done
2744 else
2745 echo "$as_me: failed program was:" >&5
2746 sed 's/^/| /' conftest.$ac_ext >&5
2748 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2749 See \`config.log' for more details." >&5
2750 echo "$as_me: error: C compiler cannot create executables
2751 See \`config.log' for more details." >&2;}
2752 { (exit 77); exit 77; }; }
2755 ac_exeext=$ac_cv_exeext
2756 echo "$as_me:$LINENO: result: $ac_file" >&5
2757 echo "${ECHO_T}$ac_file" >&6
2759 # Check the compiler produces executables we can run. If not, either
2760 # the compiler is broken, or we cross compile.
2761 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2762 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2763 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2764 # If not cross compiling, check that we can run a simple program.
2765 if test "$cross_compiling" != yes; then
2766 if { ac_try='./$ac_file'
2767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2768 (eval $ac_try) 2>&5
2769 ac_status=$?
2770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2771 (exit $ac_status); }; }; then
2772 cross_compiling=no
2773 else
2774 if test "$cross_compiling" = maybe; then
2775 cross_compiling=yes
2776 else
2777 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2778 If you meant to cross compile, use \`--host'.
2779 See \`config.log' for more details." >&5
2780 echo "$as_me: error: cannot run C compiled programs.
2781 If you meant to cross compile, use \`--host'.
2782 See \`config.log' for more details." >&2;}
2783 { (exit 1); exit 1; }; }
2787 echo "$as_me:$LINENO: result: yes" >&5
2788 echo "${ECHO_T}yes" >&6
2790 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2791 ac_clean_files=$ac_clean_files_save
2792 # Check the compiler produces executables we can run. If not, either
2793 # the compiler is broken, or we cross compile.
2794 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2795 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2796 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2797 echo "${ECHO_T}$cross_compiling" >&6
2799 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2800 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2802 (eval $ac_link) 2>&5
2803 ac_status=$?
2804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2805 (exit $ac_status); }; then
2806 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2807 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2808 # work properly (i.e., refer to `conftest.exe'), while it won't with
2809 # `rm'.
2810 for ac_file in conftest.exe conftest conftest.*; do
2811 test -f "$ac_file" || continue
2812 case $ac_file in
2813 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2814 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2815 export ac_cv_exeext
2816 break;;
2817 * ) break;;
2818 esac
2819 done
2820 else
2821 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2822 See \`config.log' for more details." >&5
2823 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2824 See \`config.log' for more details." >&2;}
2825 { (exit 1); exit 1; }; }
2828 rm -f conftest$ac_cv_exeext
2829 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2830 echo "${ECHO_T}$ac_cv_exeext" >&6
2832 rm -f conftest.$ac_ext
2833 EXEEXT=$ac_cv_exeext
2834 ac_exeext=$EXEEXT
2836 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2837 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2838 if test "${ac_cv_objext+set}" = set; then
2839 echo $ECHO_N "(cached) $ECHO_C" >&6
2840 else
2841 cat >conftest.$ac_ext <<_ACEOF
2842 /* confdefs.h. */
2843 _ACEOF
2844 cat confdefs.h >>conftest.$ac_ext
2845 cat >>conftest.$ac_ext <<_ACEOF
2846 /* end confdefs.h. */
2849 main ()
2853 return 0;
2855 _ACEOF
2856 rm -f conftest.o conftest.obj
2857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2858 (eval $ac_compile) 2>&5
2859 ac_status=$?
2860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2861 (exit $ac_status); }; then
2862 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2863 case $ac_file in
2864 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2865 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2866 break;;
2867 esac
2868 done
2869 else
2870 echo "$as_me: failed program was:" >&5
2871 sed 's/^/| /' conftest.$ac_ext >&5
2873 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2874 See \`config.log' for more details." >&5
2875 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2876 See \`config.log' for more details." >&2;}
2877 { (exit 1); exit 1; }; }
2880 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2882 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2883 echo "${ECHO_T}$ac_cv_objext" >&6
2884 OBJEXT=$ac_cv_objext
2885 ac_objext=$OBJEXT
2886 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2887 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2888 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2889 echo $ECHO_N "(cached) $ECHO_C" >&6
2890 else
2891 cat >conftest.$ac_ext <<_ACEOF
2892 /* confdefs.h. */
2893 _ACEOF
2894 cat confdefs.h >>conftest.$ac_ext
2895 cat >>conftest.$ac_ext <<_ACEOF
2896 /* end confdefs.h. */
2899 main ()
2901 #ifndef __GNUC__
2902 choke me
2903 #endif
2906 return 0;
2908 _ACEOF
2909 rm -f conftest.$ac_objext
2910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2911 (eval $ac_compile) 2>conftest.er1
2912 ac_status=$?
2913 grep -v '^ *+' conftest.er1 >conftest.err
2914 rm -f conftest.er1
2915 cat conftest.err >&5
2916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2917 (exit $ac_status); } &&
2918 { ac_try='test -z "$ac_c_werror_flag"
2919 || test ! -s conftest.err'
2920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2921 (eval $ac_try) 2>&5
2922 ac_status=$?
2923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2924 (exit $ac_status); }; } &&
2925 { ac_try='test -s conftest.$ac_objext'
2926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2927 (eval $ac_try) 2>&5
2928 ac_status=$?
2929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2930 (exit $ac_status); }; }; then
2931 ac_compiler_gnu=yes
2932 else
2933 echo "$as_me: failed program was:" >&5
2934 sed 's/^/| /' conftest.$ac_ext >&5
2936 ac_compiler_gnu=no
2938 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2939 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2942 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2943 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2944 GCC=`test $ac_compiler_gnu = yes && echo yes`
2945 ac_test_CFLAGS=${CFLAGS+set}
2946 ac_save_CFLAGS=$CFLAGS
2947 CFLAGS="-g"
2948 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2949 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2950 if test "${ac_cv_prog_cc_g+set}" = set; then
2951 echo $ECHO_N "(cached) $ECHO_C" >&6
2952 else
2953 cat >conftest.$ac_ext <<_ACEOF
2954 /* confdefs.h. */
2955 _ACEOF
2956 cat confdefs.h >>conftest.$ac_ext
2957 cat >>conftest.$ac_ext <<_ACEOF
2958 /* end confdefs.h. */
2961 main ()
2965 return 0;
2967 _ACEOF
2968 rm -f conftest.$ac_objext
2969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2970 (eval $ac_compile) 2>conftest.er1
2971 ac_status=$?
2972 grep -v '^ *+' conftest.er1 >conftest.err
2973 rm -f conftest.er1
2974 cat conftest.err >&5
2975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2976 (exit $ac_status); } &&
2977 { ac_try='test -z "$ac_c_werror_flag"
2978 || test ! -s conftest.err'
2979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2980 (eval $ac_try) 2>&5
2981 ac_status=$?
2982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2983 (exit $ac_status); }; } &&
2984 { ac_try='test -s conftest.$ac_objext'
2985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2986 (eval $ac_try) 2>&5
2987 ac_status=$?
2988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2989 (exit $ac_status); }; }; then
2990 ac_cv_prog_cc_g=yes
2991 else
2992 echo "$as_me: failed program was:" >&5
2993 sed 's/^/| /' conftest.$ac_ext >&5
2995 ac_cv_prog_cc_g=no
2997 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2999 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3000 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3001 if test "$ac_test_CFLAGS" = set; then
3002 CFLAGS=$ac_save_CFLAGS
3003 elif test $ac_cv_prog_cc_g = yes; then
3004 if test "$GCC" = yes; then
3005 CFLAGS="-g -O2"
3006 else
3007 CFLAGS="-g"
3009 else
3010 if test "$GCC" = yes; then
3011 CFLAGS="-O2"
3012 else
3013 CFLAGS=
3016 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3017 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3018 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3019 echo $ECHO_N "(cached) $ECHO_C" >&6
3020 else
3021 ac_cv_prog_cc_stdc=no
3022 ac_save_CC=$CC
3023 cat >conftest.$ac_ext <<_ACEOF
3024 /* confdefs.h. */
3025 _ACEOF
3026 cat confdefs.h >>conftest.$ac_ext
3027 cat >>conftest.$ac_ext <<_ACEOF
3028 /* end confdefs.h. */
3029 #include <stdarg.h>
3030 #include <stdio.h>
3031 #include <sys/types.h>
3032 #include <sys/stat.h>
3033 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3034 struct buf { int x; };
3035 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3036 static char *e (p, i)
3037 char **p;
3038 int i;
3040 return p[i];
3042 static char *f (char * (*g) (char **, int), char **p, ...)
3044 char *s;
3045 va_list v;
3046 va_start (v,p);
3047 s = g (p, va_arg (v,int));
3048 va_end (v);
3049 return s;
3052 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3053 function prototypes and stuff, but not '\xHH' hex character constants.
3054 These don't provoke an error unfortunately, instead are silently treated
3055 as 'x'. The following induces an error, until -std1 is added to get
3056 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3057 array size at least. It's necessary to write '\x00'==0 to get something
3058 that's true only with -std1. */
3059 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3061 int test (int i, double x);
3062 struct s1 {int (*f) (int a);};
3063 struct s2 {int (*f) (double a);};
3064 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3065 int argc;
3066 char **argv;
3068 main ()
3070 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3072 return 0;
3074 _ACEOF
3075 # Don't try gcc -ansi; that turns off useful extensions and
3076 # breaks some systems' header files.
3077 # AIX -qlanglvl=ansi
3078 # Ultrix and OSF/1 -std1
3079 # HP-UX 10.20 and later -Ae
3080 # HP-UX older versions -Aa -D_HPUX_SOURCE
3081 # SVR4 -Xc -D__EXTENSIONS__
3082 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3084 CC="$ac_save_CC $ac_arg"
3085 rm -f conftest.$ac_objext
3086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3087 (eval $ac_compile) 2>conftest.er1
3088 ac_status=$?
3089 grep -v '^ *+' conftest.er1 >conftest.err
3090 rm -f conftest.er1
3091 cat conftest.err >&5
3092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3093 (exit $ac_status); } &&
3094 { ac_try='test -z "$ac_c_werror_flag"
3095 || test ! -s conftest.err'
3096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3097 (eval $ac_try) 2>&5
3098 ac_status=$?
3099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3100 (exit $ac_status); }; } &&
3101 { ac_try='test -s conftest.$ac_objext'
3102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3103 (eval $ac_try) 2>&5
3104 ac_status=$?
3105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3106 (exit $ac_status); }; }; then
3107 ac_cv_prog_cc_stdc=$ac_arg
3108 break
3109 else
3110 echo "$as_me: failed program was:" >&5
3111 sed 's/^/| /' conftest.$ac_ext >&5
3114 rm -f conftest.err conftest.$ac_objext
3115 done
3116 rm -f conftest.$ac_ext conftest.$ac_objext
3117 CC=$ac_save_CC
3121 case "x$ac_cv_prog_cc_stdc" in
3122 x|xno)
3123 echo "$as_me:$LINENO: result: none needed" >&5
3124 echo "${ECHO_T}none needed" >&6 ;;
3126 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3127 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3128 CC="$CC $ac_cv_prog_cc_stdc" ;;
3129 esac
3131 # Some people use a C++ compiler to compile C. Since we use `exit',
3132 # in C++ we need to declare it. In case someone uses the same compiler
3133 # for both compiling C and C++ we need to have the C++ compiler decide
3134 # the declaration of exit, since it's the most demanding environment.
3135 cat >conftest.$ac_ext <<_ACEOF
3136 #ifndef __cplusplus
3137 choke me
3138 #endif
3139 _ACEOF
3140 rm -f conftest.$ac_objext
3141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3142 (eval $ac_compile) 2>conftest.er1
3143 ac_status=$?
3144 grep -v '^ *+' conftest.er1 >conftest.err
3145 rm -f conftest.er1
3146 cat conftest.err >&5
3147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3148 (exit $ac_status); } &&
3149 { ac_try='test -z "$ac_c_werror_flag"
3150 || test ! -s conftest.err'
3151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3152 (eval $ac_try) 2>&5
3153 ac_status=$?
3154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3155 (exit $ac_status); }; } &&
3156 { ac_try='test -s conftest.$ac_objext'
3157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3158 (eval $ac_try) 2>&5
3159 ac_status=$?
3160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3161 (exit $ac_status); }; }; then
3162 for ac_declaration in \
3163 '' \
3164 'extern "C" void std::exit (int) throw (); using std::exit;' \
3165 'extern "C" void std::exit (int); using std::exit;' \
3166 'extern "C" void exit (int) throw ();' \
3167 'extern "C" void exit (int);' \
3168 'void exit (int);'
3170 cat >conftest.$ac_ext <<_ACEOF
3171 /* confdefs.h. */
3172 _ACEOF
3173 cat confdefs.h >>conftest.$ac_ext
3174 cat >>conftest.$ac_ext <<_ACEOF
3175 /* end confdefs.h. */
3176 $ac_declaration
3177 #include <stdlib.h>
3179 main ()
3181 exit (42);
3183 return 0;
3185 _ACEOF
3186 rm -f conftest.$ac_objext
3187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3188 (eval $ac_compile) 2>conftest.er1
3189 ac_status=$?
3190 grep -v '^ *+' conftest.er1 >conftest.err
3191 rm -f conftest.er1
3192 cat conftest.err >&5
3193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3194 (exit $ac_status); } &&
3195 { ac_try='test -z "$ac_c_werror_flag"
3196 || test ! -s conftest.err'
3197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3198 (eval $ac_try) 2>&5
3199 ac_status=$?
3200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3201 (exit $ac_status); }; } &&
3202 { ac_try='test -s conftest.$ac_objext'
3203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3204 (eval $ac_try) 2>&5
3205 ac_status=$?
3206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3207 (exit $ac_status); }; }; then
3209 else
3210 echo "$as_me: failed program was:" >&5
3211 sed 's/^/| /' conftest.$ac_ext >&5
3213 continue
3215 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3216 cat >conftest.$ac_ext <<_ACEOF
3217 /* confdefs.h. */
3218 _ACEOF
3219 cat confdefs.h >>conftest.$ac_ext
3220 cat >>conftest.$ac_ext <<_ACEOF
3221 /* end confdefs.h. */
3222 $ac_declaration
3224 main ()
3226 exit (42);
3228 return 0;
3230 _ACEOF
3231 rm -f conftest.$ac_objext
3232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3233 (eval $ac_compile) 2>conftest.er1
3234 ac_status=$?
3235 grep -v '^ *+' conftest.er1 >conftest.err
3236 rm -f conftest.er1
3237 cat conftest.err >&5
3238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3239 (exit $ac_status); } &&
3240 { ac_try='test -z "$ac_c_werror_flag"
3241 || test ! -s conftest.err'
3242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3243 (eval $ac_try) 2>&5
3244 ac_status=$?
3245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3246 (exit $ac_status); }; } &&
3247 { ac_try='test -s conftest.$ac_objext'
3248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3249 (eval $ac_try) 2>&5
3250 ac_status=$?
3251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3252 (exit $ac_status); }; }; then
3253 break
3254 else
3255 echo "$as_me: failed program was:" >&5
3256 sed 's/^/| /' conftest.$ac_ext >&5
3259 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3260 done
3261 rm -f conftest*
3262 if test -n "$ac_declaration"; then
3263 echo '#ifdef __cplusplus' >>confdefs.h
3264 echo $ac_declaration >>confdefs.h
3265 echo '#endif' >>confdefs.h
3268 else
3269 echo "$as_me: failed program was:" >&5
3270 sed 's/^/| /' conftest.$ac_ext >&5
3273 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3274 ac_ext=c
3275 ac_cpp='$CPP $CPPFLAGS'
3276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3280 ac_ext=cc
3281 ac_cpp='$CXXCPP $CPPFLAGS'
3282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3285 if test -n "$ac_tool_prefix"; then
3286 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3288 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3289 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3290 echo "$as_me:$LINENO: checking for $ac_word" >&5
3291 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3292 if test "${glibcxx_cv_prog_CXX+set}" = set; then
3293 echo $ECHO_N "(cached) $ECHO_C" >&6
3294 else
3295 if test -n "$CXX"; then
3296 glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
3297 else
3298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3299 for as_dir in $PATH
3301 IFS=$as_save_IFS
3302 test -z "$as_dir" && as_dir=.
3303 for ac_exec_ext in '' $ac_executable_extensions; do
3304 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3305 glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3306 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3307 break 2
3309 done
3310 done
3314 CXX=$glibcxx_cv_prog_CXX
3315 if test -n "$CXX"; then
3316 echo "$as_me:$LINENO: result: $CXX" >&5
3317 echo "${ECHO_T}$CXX" >&6
3318 else
3319 echo "$as_me:$LINENO: result: no" >&5
3320 echo "${ECHO_T}no" >&6
3323 test -n "$CXX" && break
3324 done
3326 if test -z "$CXX"; then
3327 ac_ct_CXX=$CXX
3328 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3330 # Extract the first word of "$ac_prog", so it can be a program name with args.
3331 set dummy $ac_prog; ac_word=$2
3332 echo "$as_me:$LINENO: checking for $ac_word" >&5
3333 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3334 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3335 echo $ECHO_N "(cached) $ECHO_C" >&6
3336 else
3337 if test -n "$ac_ct_CXX"; then
3338 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3339 else
3340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3341 for as_dir in $PATH
3343 IFS=$as_save_IFS
3344 test -z "$as_dir" && as_dir=.
3345 for ac_exec_ext in '' $ac_executable_extensions; do
3346 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3347 ac_cv_prog_ac_ct_CXX="$ac_prog"
3348 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3349 break 2
3351 done
3352 done
3356 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3357 if test -n "$ac_ct_CXX"; then
3358 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3359 echo "${ECHO_T}$ac_ct_CXX" >&6
3360 else
3361 echo "$as_me:$LINENO: result: no" >&5
3362 echo "${ECHO_T}no" >&6
3365 test -n "$ac_ct_CXX" && break
3366 done
3367 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3369 CXX=$ac_ct_CXX
3373 # Provide some information about the compiler.
3374 echo "$as_me:$LINENO:" \
3375 "checking for C++ compiler version" >&5
3376 ac_compiler=`set X $ac_compile; echo $2`
3377 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3378 (eval $ac_compiler --version </dev/null >&5) 2>&5
3379 ac_status=$?
3380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3381 (exit $ac_status); }
3382 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3383 (eval $ac_compiler -v </dev/null >&5) 2>&5
3384 ac_status=$?
3385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3386 (exit $ac_status); }
3387 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3388 (eval $ac_compiler -V </dev/null >&5) 2>&5
3389 ac_status=$?
3390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3391 (exit $ac_status); }
3393 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3394 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3395 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3396 echo $ECHO_N "(cached) $ECHO_C" >&6
3397 else
3398 cat >conftest.$ac_ext <<_ACEOF
3399 /* confdefs.h. */
3400 _ACEOF
3401 cat confdefs.h >>conftest.$ac_ext
3402 cat >>conftest.$ac_ext <<_ACEOF
3403 /* end confdefs.h. */
3406 main ()
3408 #ifndef __GNUC__
3409 choke me
3410 #endif
3413 return 0;
3415 _ACEOF
3416 rm -f conftest.$ac_objext
3417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3418 (eval $ac_compile) 2>conftest.er1
3419 ac_status=$?
3420 grep -v '^ *+' conftest.er1 >conftest.err
3421 rm -f conftest.er1
3422 cat conftest.err >&5
3423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3424 (exit $ac_status); } &&
3425 { ac_try='test -z "$ac_cxx_werror_flag"
3426 || test ! -s conftest.err'
3427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3428 (eval $ac_try) 2>&5
3429 ac_status=$?
3430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3431 (exit $ac_status); }; } &&
3432 { ac_try='test -s conftest.$ac_objext'
3433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3434 (eval $ac_try) 2>&5
3435 ac_status=$?
3436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3437 (exit $ac_status); }; }; then
3438 ac_compiler_gnu=yes
3439 else
3440 echo "$as_me: failed program was:" >&5
3441 sed 's/^/| /' conftest.$ac_ext >&5
3443 ac_compiler_gnu=no
3445 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3446 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3449 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3450 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3451 GXX=`test $ac_compiler_gnu = yes && echo yes`
3452 ac_test_CXXFLAGS=${CXXFLAGS+set}
3453 ac_save_CXXFLAGS=$CXXFLAGS
3454 CXXFLAGS="-g"
3455 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3456 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3457 if test "${ac_cv_prog_cxx_g+set}" = set; then
3458 echo $ECHO_N "(cached) $ECHO_C" >&6
3459 else
3460 cat >conftest.$ac_ext <<_ACEOF
3461 /* confdefs.h. */
3462 _ACEOF
3463 cat confdefs.h >>conftest.$ac_ext
3464 cat >>conftest.$ac_ext <<_ACEOF
3465 /* end confdefs.h. */
3468 main ()
3472 return 0;
3474 _ACEOF
3475 rm -f conftest.$ac_objext
3476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3477 (eval $ac_compile) 2>conftest.er1
3478 ac_status=$?
3479 grep -v '^ *+' conftest.er1 >conftest.err
3480 rm -f conftest.er1
3481 cat conftest.err >&5
3482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3483 (exit $ac_status); } &&
3484 { ac_try='test -z "$ac_cxx_werror_flag"
3485 || test ! -s conftest.err'
3486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3487 (eval $ac_try) 2>&5
3488 ac_status=$?
3489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3490 (exit $ac_status); }; } &&
3491 { ac_try='test -s conftest.$ac_objext'
3492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3493 (eval $ac_try) 2>&5
3494 ac_status=$?
3495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3496 (exit $ac_status); }; }; then
3497 ac_cv_prog_cxx_g=yes
3498 else
3499 echo "$as_me: failed program was:" >&5
3500 sed 's/^/| /' conftest.$ac_ext >&5
3502 ac_cv_prog_cxx_g=no
3504 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3506 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3507 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3508 if test "$ac_test_CXXFLAGS" = set; then
3509 CXXFLAGS=$ac_save_CXXFLAGS
3510 elif test $ac_cv_prog_cxx_g = yes; then
3511 if test "$GXX" = yes; then
3512 CXXFLAGS="-g -O2"
3513 else
3514 CXXFLAGS="-g"
3516 else
3517 if test "$GXX" = yes; then
3518 CXXFLAGS="-O2"
3519 else
3520 CXXFLAGS=
3523 for ac_declaration in \
3524 '' \
3525 'extern "C" void std::exit (int) throw (); using std::exit;' \
3526 'extern "C" void std::exit (int); using std::exit;' \
3527 'extern "C" void exit (int) throw ();' \
3528 'extern "C" void exit (int);' \
3529 'void exit (int);'
3531 cat >conftest.$ac_ext <<_ACEOF
3532 /* confdefs.h. */
3533 _ACEOF
3534 cat confdefs.h >>conftest.$ac_ext
3535 cat >>conftest.$ac_ext <<_ACEOF
3536 /* end confdefs.h. */
3537 $ac_declaration
3538 #include <stdlib.h>
3540 main ()
3542 exit (42);
3544 return 0;
3546 _ACEOF
3547 rm -f conftest.$ac_objext
3548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3549 (eval $ac_compile) 2>conftest.er1
3550 ac_status=$?
3551 grep -v '^ *+' conftest.er1 >conftest.err
3552 rm -f conftest.er1
3553 cat conftest.err >&5
3554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3555 (exit $ac_status); } &&
3556 { ac_try='test -z "$ac_cxx_werror_flag"
3557 || test ! -s conftest.err'
3558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3559 (eval $ac_try) 2>&5
3560 ac_status=$?
3561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3562 (exit $ac_status); }; } &&
3563 { ac_try='test -s conftest.$ac_objext'
3564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3565 (eval $ac_try) 2>&5
3566 ac_status=$?
3567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3568 (exit $ac_status); }; }; then
3570 else
3571 echo "$as_me: failed program was:" >&5
3572 sed 's/^/| /' conftest.$ac_ext >&5
3574 continue
3576 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3577 cat >conftest.$ac_ext <<_ACEOF
3578 /* confdefs.h. */
3579 _ACEOF
3580 cat confdefs.h >>conftest.$ac_ext
3581 cat >>conftest.$ac_ext <<_ACEOF
3582 /* end confdefs.h. */
3583 $ac_declaration
3585 main ()
3587 exit (42);
3589 return 0;
3591 _ACEOF
3592 rm -f conftest.$ac_objext
3593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3594 (eval $ac_compile) 2>conftest.er1
3595 ac_status=$?
3596 grep -v '^ *+' conftest.er1 >conftest.err
3597 rm -f conftest.er1
3598 cat conftest.err >&5
3599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3600 (exit $ac_status); } &&
3601 { ac_try='test -z "$ac_cxx_werror_flag"
3602 || test ! -s conftest.err'
3603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3604 (eval $ac_try) 2>&5
3605 ac_status=$?
3606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3607 (exit $ac_status); }; } &&
3608 { ac_try='test -s conftest.$ac_objext'
3609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3610 (eval $ac_try) 2>&5
3611 ac_status=$?
3612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3613 (exit $ac_status); }; }; then
3614 break
3615 else
3616 echo "$as_me: failed program was:" >&5
3617 sed 's/^/| /' conftest.$ac_ext >&5
3620 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3621 done
3622 rm -f conftest*
3623 if test -n "$ac_declaration"; then
3624 echo '#ifdef __cplusplus' >>confdefs.h
3625 echo $ac_declaration >>confdefs.h
3626 echo '#endif' >>confdefs.h
3629 ac_ext=c
3630 ac_cpp='$CPP $CPPFLAGS'
3631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3635 CXXFLAGS="$save_CXXFLAGS"
3640 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3641 # available). Uncomment the next line to force a particular method.
3642 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3643 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3644 LN_S=$as_ln_s
3645 if test "$LN_S" = "ln -s"; then
3646 echo "$as_me:$LINENO: result: yes" >&5
3647 echo "${ECHO_T}yes" >&6
3648 else
3649 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3650 echo "${ECHO_T}no, using $LN_S" >&6
3653 #LN_S='cp -p'
3655 if test -n "$ac_tool_prefix"; then
3656 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3657 set dummy ${ac_tool_prefix}as; ac_word=$2
3658 echo "$as_me:$LINENO: checking for $ac_word" >&5
3659 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3660 if test "${ac_cv_prog_AS+set}" = set; then
3661 echo $ECHO_N "(cached) $ECHO_C" >&6
3662 else
3663 if test -n "$AS"; then
3664 ac_cv_prog_AS="$AS" # Let the user override the test.
3665 else
3666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3667 for as_dir in $PATH
3669 IFS=$as_save_IFS
3670 test -z "$as_dir" && as_dir=.
3671 for ac_exec_ext in '' $ac_executable_extensions; do
3672 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3673 ac_cv_prog_AS="${ac_tool_prefix}as"
3674 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3675 break 2
3677 done
3678 done
3682 AS=$ac_cv_prog_AS
3683 if test -n "$AS"; then
3684 echo "$as_me:$LINENO: result: $AS" >&5
3685 echo "${ECHO_T}$AS" >&6
3686 else
3687 echo "$as_me:$LINENO: result: no" >&5
3688 echo "${ECHO_T}no" >&6
3692 if test -z "$ac_cv_prog_AS"; then
3693 ac_ct_AS=$AS
3694 # Extract the first word of "as", so it can be a program name with args.
3695 set dummy as; ac_word=$2
3696 echo "$as_me:$LINENO: checking for $ac_word" >&5
3697 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3698 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3699 echo $ECHO_N "(cached) $ECHO_C" >&6
3700 else
3701 if test -n "$ac_ct_AS"; then
3702 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3703 else
3704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3705 for as_dir in $PATH
3707 IFS=$as_save_IFS
3708 test -z "$as_dir" && as_dir=.
3709 for ac_exec_ext in '' $ac_executable_extensions; do
3710 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3711 ac_cv_prog_ac_ct_AS="as"
3712 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3713 break 2
3715 done
3716 done
3720 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3721 if test -n "$ac_ct_AS"; then
3722 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3723 echo "${ECHO_T}$ac_ct_AS" >&6
3724 else
3725 echo "$as_me:$LINENO: result: no" >&5
3726 echo "${ECHO_T}no" >&6
3729 AS=$ac_ct_AS
3730 else
3731 AS="$ac_cv_prog_AS"
3734 if test -n "$ac_tool_prefix"; then
3735 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3736 set dummy ${ac_tool_prefix}ar; ac_word=$2
3737 echo "$as_me:$LINENO: checking for $ac_word" >&5
3738 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3739 if test "${ac_cv_prog_AR+set}" = set; then
3740 echo $ECHO_N "(cached) $ECHO_C" >&6
3741 else
3742 if test -n "$AR"; then
3743 ac_cv_prog_AR="$AR" # Let the user override the test.
3744 else
3745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3746 for as_dir in $PATH
3748 IFS=$as_save_IFS
3749 test -z "$as_dir" && as_dir=.
3750 for ac_exec_ext in '' $ac_executable_extensions; do
3751 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3752 ac_cv_prog_AR="${ac_tool_prefix}ar"
3753 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3754 break 2
3756 done
3757 done
3761 AR=$ac_cv_prog_AR
3762 if test -n "$AR"; then
3763 echo "$as_me:$LINENO: result: $AR" >&5
3764 echo "${ECHO_T}$AR" >&6
3765 else
3766 echo "$as_me:$LINENO: result: no" >&5
3767 echo "${ECHO_T}no" >&6
3771 if test -z "$ac_cv_prog_AR"; then
3772 ac_ct_AR=$AR
3773 # Extract the first word of "ar", so it can be a program name with args.
3774 set dummy ar; ac_word=$2
3775 echo "$as_me:$LINENO: checking for $ac_word" >&5
3776 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3777 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3778 echo $ECHO_N "(cached) $ECHO_C" >&6
3779 else
3780 if test -n "$ac_ct_AR"; then
3781 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3782 else
3783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3784 for as_dir in $PATH
3786 IFS=$as_save_IFS
3787 test -z "$as_dir" && as_dir=.
3788 for ac_exec_ext in '' $ac_executable_extensions; do
3789 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3790 ac_cv_prog_ac_ct_AR="ar"
3791 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3792 break 2
3794 done
3795 done
3799 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3800 if test -n "$ac_ct_AR"; then
3801 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3802 echo "${ECHO_T}$ac_ct_AR" >&6
3803 else
3804 echo "$as_me:$LINENO: result: no" >&5
3805 echo "${ECHO_T}no" >&6
3808 AR=$ac_ct_AR
3809 else
3810 AR="$ac_cv_prog_AR"
3813 if test -n "$ac_tool_prefix"; then
3814 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3815 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3816 echo "$as_me:$LINENO: checking for $ac_word" >&5
3817 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3818 if test "${ac_cv_prog_RANLIB+set}" = set; then
3819 echo $ECHO_N "(cached) $ECHO_C" >&6
3820 else
3821 if test -n "$RANLIB"; then
3822 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3823 else
3824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3825 for as_dir in $PATH
3827 IFS=$as_save_IFS
3828 test -z "$as_dir" && as_dir=.
3829 for ac_exec_ext in '' $ac_executable_extensions; do
3830 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3831 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3832 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3833 break 2
3835 done
3836 done
3840 RANLIB=$ac_cv_prog_RANLIB
3841 if test -n "$RANLIB"; then
3842 echo "$as_me:$LINENO: result: $RANLIB" >&5
3843 echo "${ECHO_T}$RANLIB" >&6
3844 else
3845 echo "$as_me:$LINENO: result: no" >&5
3846 echo "${ECHO_T}no" >&6
3850 if test -z "$ac_cv_prog_RANLIB"; then
3851 ac_ct_RANLIB=$RANLIB
3852 # Extract the first word of "ranlib", so it can be a program name with args.
3853 set dummy ranlib; ac_word=$2
3854 echo "$as_me:$LINENO: checking for $ac_word" >&5
3855 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3856 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3857 echo $ECHO_N "(cached) $ECHO_C" >&6
3858 else
3859 if test -n "$ac_ct_RANLIB"; then
3860 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3861 else
3862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3863 for as_dir in $PATH
3865 IFS=$as_save_IFS
3866 test -z "$as_dir" && as_dir=.
3867 for ac_exec_ext in '' $ac_executable_extensions; do
3868 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3869 ac_cv_prog_ac_ct_RANLIB="ranlib"
3870 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3871 break 2
3873 done
3874 done
3876 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3879 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3880 if test -n "$ac_ct_RANLIB"; then
3881 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3882 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3883 else
3884 echo "$as_me:$LINENO: result: no" >&5
3885 echo "${ECHO_T}no" >&6
3888 RANLIB=$ac_ct_RANLIB
3889 else
3890 RANLIB="$ac_cv_prog_RANLIB"
3894 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3895 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3896 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3897 if test "${enable_maintainer_mode+set}" = set; then
3898 enableval="$enable_maintainer_mode"
3899 USE_MAINTAINER_MODE=$enableval
3900 else
3901 USE_MAINTAINER_MODE=no
3903 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3904 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3907 if test $USE_MAINTAINER_MODE = yes; then
3908 MAINTAINER_MODE_TRUE=
3909 MAINTAINER_MODE_FALSE='#'
3910 else
3911 MAINTAINER_MODE_TRUE='#'
3912 MAINTAINER_MODE_FALSE=
3915 MAINT=$MAINTAINER_MODE_TRUE
3919 # Set up safe default values for all subsequent AM_CONDITIONAL tests
3920 # which are themselves conditionally expanded.
3921 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
3922 ## other macros from doing the same. This should be automated.) -pme
3923 need_libmath=no
3925 # Check for uClibc since Linux platforms use different configuration
3926 # directories depending on the C library in use.
3927 cat >conftest.$ac_ext <<_ACEOF
3928 /* confdefs.h. */
3929 _ACEOF
3930 cat confdefs.h >>conftest.$ac_ext
3931 cat >>conftest.$ac_ext <<_ACEOF
3932 /* end confdefs.h. */
3934 #include <stdio.h>
3935 #if __UCLIBC__
3936 _using_uclibc
3937 #endif
3939 _ACEOF
3940 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3941 $EGREP "_using_uclibc" >/dev/null 2>&1; then
3942 uclibc=yes
3943 else
3944 uclibc=no
3946 rm -f conftest*
3949 # Find platform-specific directories containing configuration info.
3950 # Also possibly modify flags used elsewhere, as needed by the platform.
3952 . $glibcxx_srcdir/configure.host
3953 { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
3954 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
3955 { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
3956 echo "$as_me: OS config directory is $os_include_dir" >&6;}
3961 # Check whether --enable-shared or --disable-shared was given.
3962 if test "${enable_shared+set}" = set; then
3963 enableval="$enable_shared"
3964 p=${PACKAGE-default}
3965 case $enableval in
3966 yes) enable_shared=yes ;;
3967 no) enable_shared=no ;;
3969 enable_shared=no
3970 # Look at the argument we got. We use all the common list separators.
3971 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3972 for pkg in $enableval; do
3973 if test "X$pkg" = "X$p"; then
3974 enable_shared=yes
3976 done
3977 IFS="$ac_save_ifs"
3979 esac
3980 else
3981 enable_shared=yes
3983 # Check whether --enable-static or --disable-static was given.
3984 if test "${enable_static+set}" = set; then
3985 enableval="$enable_static"
3986 p=${PACKAGE-default}
3987 case $enableval in
3988 yes) enable_static=yes ;;
3989 no) enable_static=no ;;
3991 enable_static=no
3992 # Look at the argument we got. We use all the common list separators.
3993 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3994 for pkg in $enableval; do
3995 if test "X$pkg" = "X$p"; then
3996 enable_static=yes
3998 done
3999 IFS="$ac_save_ifs"
4001 esac
4002 else
4003 enable_static=yes
4005 # Check whether --enable-fast-install or --disable-fast-install was given.
4006 if test "${enable_fast_install+set}" = set; then
4007 enableval="$enable_fast_install"
4008 p=${PACKAGE-default}
4009 case $enableval in
4010 yes) enable_fast_install=yes ;;
4011 no) enable_fast_install=no ;;
4013 enable_fast_install=no
4014 # Look at the argument we got. We use all the common list separators.
4015 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
4016 for pkg in $enableval; do
4017 if test "X$pkg" = "X$p"; then
4018 enable_fast_install=yes
4020 done
4021 IFS="$ac_save_ifs"
4023 esac
4024 else
4025 enable_fast_install=yes
4028 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4029 if test "${with_gnu_ld+set}" = set; then
4030 withval="$with_gnu_ld"
4031 test "$withval" = no || with_gnu_ld=yes
4032 else
4033 with_gnu_ld=no
4035 ac_prog=ld
4036 if test "$GCC" = yes; then
4037 # Check if gcc -print-prog-name=ld gives a path.
4038 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
4039 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
4040 case $host in
4041 *-*-mingw*)
4042 # gcc leaves a trailing carriage return which upsets mingw
4043 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4045 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4046 esac
4047 case $ac_prog in
4048 # Accept absolute paths.
4049 [\\/]* | [A-Za-z]:[\\/]*)
4050 re_direlt='/[^/][^/]*/\.\./'
4051 # Canonicalize the path of ld
4052 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
4053 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4054 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
4055 done
4056 test -z "$LD" && LD="$ac_prog"
4059 # If it fails, then pretend we aren't using GCC.
4060 ac_prog=ld
4063 # If it is relative, then search for the first ld in PATH.
4064 with_gnu_ld=unknown
4066 esac
4067 elif test "$with_gnu_ld" = yes; then
4068 echo "$as_me:$LINENO: checking for GNU ld" >&5
4069 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4070 else
4071 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4072 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4074 if test "${lt_cv_path_LD+set}" = set; then
4075 echo $ECHO_N "(cached) $ECHO_C" >&6
4076 else
4077 if test -z "$LD"; then
4078 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4079 for ac_dir in $PATH; do
4080 test -z "$ac_dir" && ac_dir=.
4081 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4082 lt_cv_path_LD="$ac_dir/$ac_prog"
4083 # Check to see if the program is GNU ld. I'd rather use --version,
4084 # but apparently some GNU ld's only accept -v.
4085 # Break only if it was the GNU/non-GNU ld that we prefer.
4086 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
4087 test "$with_gnu_ld" != no && break
4088 else
4089 test "$with_gnu_ld" != yes && break
4092 done
4093 IFS="$ac_save_ifs"
4094 else
4095 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4099 LD="$lt_cv_path_LD"
4100 if test -n "$LD"; then
4101 echo "$as_me:$LINENO: result: $LD" >&5
4102 echo "${ECHO_T}$LD" >&6
4103 else
4104 echo "$as_me:$LINENO: result: no" >&5
4105 echo "${ECHO_T}no" >&6
4107 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4108 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4109 { (exit 1); exit 1; }; }
4110 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4111 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4112 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4113 echo $ECHO_N "(cached) $ECHO_C" >&6
4114 else
4115 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4116 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
4117 lt_cv_prog_gnu_ld=yes
4118 else
4119 lt_cv_prog_gnu_ld=no
4122 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4123 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4124 with_gnu_ld=$lt_cv_prog_gnu_ld
4127 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4128 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4129 if test "${lt_cv_ld_reload_flag+set}" = set; then
4130 echo $ECHO_N "(cached) $ECHO_C" >&6
4131 else
4132 lt_cv_ld_reload_flag='-r'
4134 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4135 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4136 reload_flag=$lt_cv_ld_reload_flag
4137 test -n "$reload_flag" && reload_flag=" $reload_flag"
4139 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4140 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4141 if test "${lt_cv_path_NM+set}" = set; then
4142 echo $ECHO_N "(cached) $ECHO_C" >&6
4143 else
4144 if test -n "$NM"; then
4145 # Let the user override the test.
4146 lt_cv_path_NM="$NM"
4147 else
4148 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4149 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
4150 test -z "$ac_dir" && ac_dir=.
4151 tmp_nm=$ac_dir/${ac_tool_prefix}nm
4152 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
4153 # Check to see if the nm accepts a BSD-compat flag.
4154 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4155 # nm: unknown option "B" ignored
4156 # Tru64's nm complains that /dev/null is an invalid object file
4157 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
4158 lt_cv_path_NM="$tmp_nm -B"
4159 break
4160 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
4161 lt_cv_path_NM="$tmp_nm -p"
4162 break
4163 else
4164 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4165 continue # so that we can try to find one that supports BSD flags
4168 done
4169 IFS="$ac_save_ifs"
4170 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4174 NM="$lt_cv_path_NM"
4175 echo "$as_me:$LINENO: result: $NM" >&5
4176 echo "${ECHO_T}$NM" >&6
4178 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
4179 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
4180 if test "${lt_cv_deplibs_check_method+set}" = set; then
4181 echo $ECHO_N "(cached) $ECHO_C" >&6
4182 else
4183 lt_cv_file_magic_cmd='$MAGIC_CMD'
4184 lt_cv_file_magic_test_file=
4185 lt_cv_deplibs_check_method='unknown'
4186 # Need to set the preceding variable on all platforms that support
4187 # interlibrary dependencies.
4188 # 'none' -- dependencies not supported.
4189 # `unknown' -- same as none, but documents that we really don't know.
4190 # 'pass_all' -- all dependencies passed with no checks.
4191 # 'test_compile' -- check by making test program.
4192 # 'file_magic [regex]' -- check by looking for files in library path
4193 # which responds to the $file_magic_cmd with a given egrep regex.
4194 # If you have `file' or equivalent on your system and you're not sure
4195 # whether `pass_all' will *always* work, you probably want this one.
4197 case $host_os in
4198 aix*)
4199 lt_cv_deplibs_check_method=pass_all
4202 beos*)
4203 lt_cv_deplibs_check_method=pass_all
4206 bsdi4*)
4207 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4208 lt_cv_file_magic_cmd='/usr/bin/file -L'
4209 lt_cv_file_magic_test_file=/shlib/libc.so
4212 cygwin* | mingw* |pw32*)
4213 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4214 lt_cv_file_magic_cmd='$OBJDUMP -f'
4217 darwin* | rhapsody*)
4218 # this will be overwritten by pass_all, but leave it in just in case
4219 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
4220 lt_cv_file_magic_cmd='/usr/bin/file -L'
4221 case "$host_os" in
4222 rhapsody* | darwin1.012)
4223 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
4225 *) # Darwin 1.3 on
4226 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
4228 esac
4229 lt_cv_deplibs_check_method=pass_all
4232 freebsd* | kfreebsd*-gnu)
4233 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4234 case $host_cpu in
4235 i*86 )
4236 # Not sure whether the presence of OpenBSD here was a mistake.
4237 # Let's accept both of them until this is cleared up.
4238 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4239 lt_cv_file_magic_cmd=/usr/bin/file
4240 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4242 esac
4243 else
4244 lt_cv_deplibs_check_method=pass_all
4248 gnu*)
4249 lt_cv_deplibs_check_method=pass_all
4252 hpux10.20*|hpux11*)
4253 case $host_cpu in
4254 hppa*)
4255 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4256 lt_cv_file_magic_cmd=/usr/bin/file
4257 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4259 ia64*)
4260 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4261 lt_cv_file_magic_cmd=/usr/bin/file
4262 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4264 esac
4267 irix5* | irix6*)
4268 case $host_os in
4269 irix5*)
4270 # this will be overridden with pass_all, but let us keep it just in case
4271 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
4274 case $LD in
4275 *-32|*"-32 ") libmagic=32-bit;;
4276 *-n32|*"-n32 ") libmagic=N32;;
4277 *-64|*"-64 ") libmagic=64-bit;;
4278 *) libmagic=never-match;;
4279 esac
4280 # this will be overridden with pass_all, but let us keep it just in case
4281 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
4283 esac
4284 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
4285 lt_cv_deplibs_check_method=pass_all
4288 # This must be Linux ELF.
4289 linux-gnu*)
4290 lt_cv_deplibs_check_method=pass_all
4293 netbsd* | knetbsd*-gnu)
4294 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4295 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
4296 else
4297 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
4301 newsos6)
4302 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4303 lt_cv_file_magic_cmd=/usr/bin/file
4304 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4307 osf3* | osf4* | osf5*)
4308 # this will be overridden with pass_all, but let us keep it just in case
4309 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4310 lt_cv_file_magic_test_file=/shlib/libc.so
4311 lt_cv_deplibs_check_method=pass_all
4314 sco3.2v5*)
4315 lt_cv_deplibs_check_method=pass_all
4318 solaris*)
4319 lt_cv_deplibs_check_method=pass_all
4320 lt_cv_file_magic_test_file=/lib/libc.so
4323 sysv5uw[78]* | sysv4*uw2*)
4324 lt_cv_deplibs_check_method=pass_all
4327 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4328 case $host_vendor in
4329 ncr)
4330 lt_cv_deplibs_check_method=pass_all
4332 motorola)
4333 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
4334 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4336 esac
4338 esac
4341 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4342 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4343 file_magic_cmd=$lt_cv_file_magic_cmd
4344 deplibs_check_method=$lt_cv_deplibs_check_method
4349 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
4351 # find the maximum length of command line arguments
4352 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4353 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4354 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4355 echo $ECHO_N "(cached) $ECHO_C" >&6
4356 else
4358 teststring="ABCD"
4360 case $build_os in
4361 msdosdjgpp*)
4362 # On DJGPP, this test can blow up pretty badly due to problems in libc
4363 # (any single argument exceeding 2000 bytes causes a buffer overrun
4364 # during glob expansion). Even if it were fixed, the result of this
4365 # check would be larger than it should be.
4366 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4369 cygwin* | mingw*)
4370 # On Win9x/ME, this test blows up -- it succeeds, but takes
4371 # about 5 minutes as the teststring grows exponentially.
4372 # Worse, since 9x/ME are not pre-emptively multitasking,
4373 # you end up with a "frozen" computer, even though with patience
4374 # the test eventually succeeds (with a max line length of 256k).
4375 # Instead, let's just punt: use the minimum linelength reported by
4376 # all of the supported platforms: 8192 (on NT/2K/XP).
4377 lt_cv_sys_max_cmd_len=8192;
4380 amigaos*)
4381 # On AmigaOS with pdksh, this test takes hours, literally.
4382 # So we just punt and use a minimum line length of 8192.
4383 lt_cv_sys_max_cmd_len=8192;
4386 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4387 # This has been around since 386BSD, at least. Likely further.
4388 if test -x /sbin/sysctl; then
4389 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4390 elif test -x /usr/sbin/sysctl; then
4391 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4392 else
4393 lt_cv_sys_max_cmd_len=65536 # usable default for *BSD
4395 # And add a safety zone
4396 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4397 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4399 esac
4403 if test -n "$lt_cv_sys_max_cmd_len" ; then
4404 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4405 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4406 else
4407 echo "$as_me:$LINENO: result: none" >&5
4408 echo "${ECHO_T}none" >&6
4412 # Only perform the check for file, if the check method requires it
4413 case $deplibs_check_method in
4414 file_magic*)
4415 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4416 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4417 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4418 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4419 echo $ECHO_N "(cached) $ECHO_C" >&6
4420 else
4421 case $MAGIC_CMD in
4423 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4425 ?:/*)
4426 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4429 ac_save_MAGIC_CMD="$MAGIC_CMD"
4430 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4431 ac_dummy="/usr/bin:$PATH"
4432 for ac_dir in $ac_dummy; do
4433 test -z "$ac_dir" && ac_dir=.
4434 if test -f $ac_dir/${ac_tool_prefix}file; then
4435 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
4436 if test -n "$file_magic_test_file"; then
4437 case $deplibs_check_method in
4438 "file_magic "*)
4439 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4440 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4441 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4442 egrep "$file_magic_regex" > /dev/null; then
4444 else
4445 cat <<EOF 1>&2
4447 *** Warning: the command libtool uses to detect shared libraries,
4448 *** $file_magic_cmd, produces output that libtool cannot recognize.
4449 *** The result is that libtool may fail to recognize shared libraries
4450 *** as such. This will affect the creation of libtool libraries that
4451 *** depend on shared libraries, but programs linked with such libtool
4452 *** libraries will work regardless of this problem. Nevertheless, you
4453 *** may want to report the problem to your system manager and/or to
4454 *** bug-libtool@gnu.org
4457 fi ;;
4458 esac
4460 break
4462 done
4463 IFS="$ac_save_ifs"
4464 MAGIC_CMD="$ac_save_MAGIC_CMD"
4466 esac
4469 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4470 if test -n "$MAGIC_CMD"; then
4471 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4472 echo "${ECHO_T}$MAGIC_CMD" >&6
4473 else
4474 echo "$as_me:$LINENO: result: no" >&5
4475 echo "${ECHO_T}no" >&6
4478 if test -z "$lt_cv_path_MAGIC_CMD"; then
4479 if test -n "$ac_tool_prefix"; then
4480 echo "$as_me:$LINENO: checking for file" >&5
4481 echo $ECHO_N "checking for file... $ECHO_C" >&6
4482 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4483 echo $ECHO_N "(cached) $ECHO_C" >&6
4484 else
4485 case $MAGIC_CMD in
4487 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4489 ?:/*)
4490 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4493 ac_save_MAGIC_CMD="$MAGIC_CMD"
4494 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4495 ac_dummy="/usr/bin:$PATH"
4496 for ac_dir in $ac_dummy; do
4497 test -z "$ac_dir" && ac_dir=.
4498 if test -f $ac_dir/file; then
4499 lt_cv_path_MAGIC_CMD="$ac_dir/file"
4500 if test -n "$file_magic_test_file"; then
4501 case $deplibs_check_method in
4502 "file_magic "*)
4503 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4504 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4505 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4506 egrep "$file_magic_regex" > /dev/null; then
4508 else
4509 cat <<EOF 1>&2
4511 *** Warning: the command libtool uses to detect shared libraries,
4512 *** $file_magic_cmd, produces output that libtool cannot recognize.
4513 *** The result is that libtool may fail to recognize shared libraries
4514 *** as such. This will affect the creation of libtool libraries that
4515 *** depend on shared libraries, but programs linked with such libtool
4516 *** libraries will work regardless of this problem. Nevertheless, you
4517 *** may want to report the problem to your system manager and/or to
4518 *** bug-libtool@gnu.org
4521 fi ;;
4522 esac
4524 break
4526 done
4527 IFS="$ac_save_ifs"
4528 MAGIC_CMD="$ac_save_MAGIC_CMD"
4530 esac
4533 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4534 if test -n "$MAGIC_CMD"; then
4535 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4536 echo "${ECHO_T}$MAGIC_CMD" >&6
4537 else
4538 echo "$as_me:$LINENO: result: no" >&5
4539 echo "${ECHO_T}no" >&6
4542 else
4543 MAGIC_CMD=:
4549 esac
4551 if test -n "$ac_tool_prefix"; then
4552 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4553 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4554 echo "$as_me:$LINENO: checking for $ac_word" >&5
4555 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4556 if test "${ac_cv_prog_RANLIB+set}" = set; then
4557 echo $ECHO_N "(cached) $ECHO_C" >&6
4558 else
4559 if test -n "$RANLIB"; then
4560 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4561 else
4562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4563 for as_dir in $PATH
4565 IFS=$as_save_IFS
4566 test -z "$as_dir" && as_dir=.
4567 for ac_exec_ext in '' $ac_executable_extensions; do
4568 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4569 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4570 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4571 break 2
4573 done
4574 done
4578 RANLIB=$ac_cv_prog_RANLIB
4579 if test -n "$RANLIB"; then
4580 echo "$as_me:$LINENO: result: $RANLIB" >&5
4581 echo "${ECHO_T}$RANLIB" >&6
4582 else
4583 echo "$as_me:$LINENO: result: no" >&5
4584 echo "${ECHO_T}no" >&6
4588 if test -z "$ac_cv_prog_RANLIB"; then
4589 ac_ct_RANLIB=$RANLIB
4590 # Extract the first word of "ranlib", so it can be a program name with args.
4591 set dummy ranlib; ac_word=$2
4592 echo "$as_me:$LINENO: checking for $ac_word" >&5
4593 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4594 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4595 echo $ECHO_N "(cached) $ECHO_C" >&6
4596 else
4597 if test -n "$ac_ct_RANLIB"; then
4598 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4599 else
4600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4601 for as_dir in $PATH
4603 IFS=$as_save_IFS
4604 test -z "$as_dir" && as_dir=.
4605 for ac_exec_ext in '' $ac_executable_extensions; do
4606 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4607 ac_cv_prog_ac_ct_RANLIB="ranlib"
4608 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4609 break 2
4611 done
4612 done
4614 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4617 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4618 if test -n "$ac_ct_RANLIB"; then
4619 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4620 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4621 else
4622 echo "$as_me:$LINENO: result: no" >&5
4623 echo "${ECHO_T}no" >&6
4626 RANLIB=$ac_ct_RANLIB
4627 else
4628 RANLIB="$ac_cv_prog_RANLIB"
4631 if test -n "$ac_tool_prefix"; then
4632 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4633 set dummy ${ac_tool_prefix}strip; ac_word=$2
4634 echo "$as_me:$LINENO: checking for $ac_word" >&5
4635 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4636 if test "${ac_cv_prog_STRIP+set}" = set; then
4637 echo $ECHO_N "(cached) $ECHO_C" >&6
4638 else
4639 if test -n "$STRIP"; then
4640 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4641 else
4642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4643 for as_dir in $PATH
4645 IFS=$as_save_IFS
4646 test -z "$as_dir" && as_dir=.
4647 for ac_exec_ext in '' $ac_executable_extensions; do
4648 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4649 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4650 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4651 break 2
4653 done
4654 done
4658 STRIP=$ac_cv_prog_STRIP
4659 if test -n "$STRIP"; then
4660 echo "$as_me:$LINENO: result: $STRIP" >&5
4661 echo "${ECHO_T}$STRIP" >&6
4662 else
4663 echo "$as_me:$LINENO: result: no" >&5
4664 echo "${ECHO_T}no" >&6
4668 if test -z "$ac_cv_prog_STRIP"; then
4669 ac_ct_STRIP=$STRIP
4670 # Extract the first word of "strip", so it can be a program name with args.
4671 set dummy strip; ac_word=$2
4672 echo "$as_me:$LINENO: checking for $ac_word" >&5
4673 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4674 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4675 echo $ECHO_N "(cached) $ECHO_C" >&6
4676 else
4677 if test -n "$ac_ct_STRIP"; then
4678 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4679 else
4680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4681 for as_dir in $PATH
4683 IFS=$as_save_IFS
4684 test -z "$as_dir" && as_dir=.
4685 for ac_exec_ext in '' $ac_executable_extensions; do
4686 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4687 ac_cv_prog_ac_ct_STRIP="strip"
4688 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4689 break 2
4691 done
4692 done
4694 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4697 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4698 if test -n "$ac_ct_STRIP"; then
4699 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4700 echo "${ECHO_T}$ac_ct_STRIP" >&6
4701 else
4702 echo "$as_me:$LINENO: result: no" >&5
4703 echo "${ECHO_T}no" >&6
4706 STRIP=$ac_ct_STRIP
4707 else
4708 STRIP="$ac_cv_prog_STRIP"
4712 # Check for any special flags to pass to ltconfig.
4713 libtool_flags="--cache-file=$cache_file"
4714 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4715 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4716 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4717 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4718 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4721 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4722 if test "${enable_libtool_lock+set}" = set; then
4723 enableval="$enable_libtool_lock"
4726 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4727 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4730 # Check whether --with-pic or --without-pic was given.
4731 if test "${with_pic+set}" = set; then
4732 withval="$with_pic"
4733 pic_mode="$withval"
4734 else
4735 pic_mode=default
4737 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4738 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4740 # Some flags need to be propagated to the compiler or linker for good
4741 # libtool support.
4742 case $host in
4743 *-*-irix6*)
4744 # Find out which ABI we are using.
4745 echo '#line 4745 "configure"' > conftest.$ac_ext
4746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4747 (eval $ac_compile) 2>&5
4748 ac_status=$?
4749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4750 (exit $ac_status); }; then
4751 if test "$lt_cv_prog_gnu_ld" = yes; then
4752 case `/usr/bin/file conftest.$ac_objext` in
4753 *32-bit*)
4754 LD="${LD-ld} -melf32bsmip"
4756 *N32*)
4757 LD="${LD-ld} -melf32bmipn32"
4759 *64-bit*)
4760 LD="${LD-ld} -melf64bmip"
4762 esac
4763 else
4764 case `/usr/bin/file conftest.$ac_objext` in
4765 *32-bit*)
4766 LD="${LD-ld} -32"
4768 *N32*)
4769 LD="${LD-ld} -n32"
4771 *64-bit*)
4772 LD="${LD-ld} -64"
4774 esac
4777 rm -rf conftest*
4780 ia64-*-hpux*)
4781 # Find out which ABI we are using.
4782 echo 'int i;' > conftest.$ac_ext
4783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4784 (eval $ac_compile) 2>&5
4785 ac_status=$?
4786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4787 (exit $ac_status); }; then
4788 case "`/usr/bin/file conftest.o`" in
4789 *ELF-32*)
4790 HPUX_IA64_MODE="32"
4792 *ELF-64*)
4793 HPUX_IA64_MODE="64"
4795 esac
4797 rm -rf conftest*
4800 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4801 # Find out which ABI we are using.
4802 echo 'int i;' > conftest.$ac_ext
4803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4804 (eval $ac_compile) 2>&5
4805 ac_status=$?
4806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4807 (exit $ac_status); }; then
4808 case "`/usr/bin/file conftest.o`" in
4809 *32-bit*)
4810 case $host in
4811 x86_64-*linux*)
4812 LD="${LD-ld} -m elf_i386"
4814 ppc64-*linux*|powerpc64-*linux*)
4815 LD="${LD-ld} -m elf32ppclinux"
4817 s390x-*linux*)
4818 LD="${LD-ld} -m elf_s390"
4820 sparc64-*linux*)
4821 LD="${LD-ld} -m elf32_sparc"
4823 esac
4825 *64-bit*)
4826 case $host in
4827 x86_64-*linux*)
4828 LD="${LD-ld} -m elf_x86_64"
4830 ppc*-*linux*|powerpc*-*linux*)
4831 LD="${LD-ld} -m elf64ppc"
4833 s390*-*linux*)
4834 LD="${LD-ld} -m elf64_s390"
4836 sparc*-*linux*)
4837 LD="${LD-ld} -m elf64_sparc"
4839 esac
4841 esac
4843 rm -rf conftest*
4846 *-*-sco3.2v5*)
4847 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4848 SAVE_CFLAGS="$CFLAGS"
4849 CFLAGS="$CFLAGS -belf"
4850 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4851 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4852 if test "${lt_cv_cc_needs_belf+set}" = set; then
4853 echo $ECHO_N "(cached) $ECHO_C" >&6
4854 else
4857 ac_ext=c
4858 ac_cpp='$CPP $CPPFLAGS'
4859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4863 if test x$gcc_no_link = xyes; then
4864 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4865 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4866 { (exit 1); exit 1; }; }
4868 cat >conftest.$ac_ext <<_ACEOF
4869 /* confdefs.h. */
4870 _ACEOF
4871 cat confdefs.h >>conftest.$ac_ext
4872 cat >>conftest.$ac_ext <<_ACEOF
4873 /* end confdefs.h. */
4876 main ()
4880 return 0;
4882 _ACEOF
4883 rm -f conftest.$ac_objext conftest$ac_exeext
4884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4885 (eval $ac_link) 2>conftest.er1
4886 ac_status=$?
4887 grep -v '^ *+' conftest.er1 >conftest.err
4888 rm -f conftest.er1
4889 cat conftest.err >&5
4890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4891 (exit $ac_status); } &&
4892 { ac_try='test -z "$ac_c_werror_flag"
4893 || test ! -s conftest.err'
4894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4895 (eval $ac_try) 2>&5
4896 ac_status=$?
4897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4898 (exit $ac_status); }; } &&
4899 { ac_try='test -s conftest$ac_exeext'
4900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4901 (eval $ac_try) 2>&5
4902 ac_status=$?
4903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4904 (exit $ac_status); }; }; then
4905 lt_cv_cc_needs_belf=yes
4906 else
4907 echo "$as_me: failed program was:" >&5
4908 sed 's/^/| /' conftest.$ac_ext >&5
4910 lt_cv_cc_needs_belf=no
4912 rm -f conftest.err conftest.$ac_objext \
4913 conftest$ac_exeext conftest.$ac_ext
4914 ac_ext=c
4915 ac_cpp='$CPP $CPPFLAGS'
4916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4921 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4922 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4923 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4924 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4925 CFLAGS="$SAVE_CFLAGS"
4930 esac
4933 # Save cache, so that ltconfig can load it
4934 cat >confcache <<\_ACEOF
4935 # This file is a shell script that caches the results of configure
4936 # tests run on this system so they can be shared between configure
4937 # scripts and configure runs, see configure's option --config-cache.
4938 # It is not useful on other systems. If it contains results you don't
4939 # want to keep, you may remove or edit it.
4941 # config.status only pays attention to the cache file if you give it
4942 # the --recheck option to rerun configure.
4944 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4945 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4946 # following values.
4948 _ACEOF
4950 # The following way of writing the cache mishandles newlines in values,
4951 # but we know of no workaround that is simple, portable, and efficient.
4952 # So, don't put newlines in cache variables' values.
4953 # Ultrix sh set writes to stderr and can't be redirected directly,
4954 # and sets the high bit in the cache file unless we assign to the vars.
4956 (set) 2>&1 |
4957 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4958 *ac_space=\ *)
4959 # `set' does not quote correctly, so add quotes (double-quote
4960 # substitution turns \\\\ into \\, and sed turns \\ into \).
4961 sed -n \
4962 "s/'/'\\\\''/g;
4963 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4966 # `set' quotes correctly as required by POSIX, so do not add quotes.
4967 sed -n \
4968 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4970 esac;
4972 sed '
4973 t clear
4974 : clear
4975 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4976 t end
4977 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4978 : end' >>confcache
4979 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4980 if test -w $cache_file; then
4981 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4982 cat confcache >$cache_file
4983 else
4984 echo "not updating unwritable cache $cache_file"
4987 rm -f confcache
4989 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4990 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4991 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4992 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4993 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4994 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4995 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4996 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4997 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4998 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4999 echo "$as_me: error: libtool configure failed" >&2;}
5000 { (exit 1); exit 1; }; }
5002 # Reload cache, that may have been modified by ltconfig
5003 if test -r "$cache_file"; then
5004 # Some versions of bash will fail to source /dev/null (special
5005 # files actually), so we avoid doing that.
5006 if test -f "$cache_file"; then
5007 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
5008 echo "$as_me: loading cache $cache_file" >&6;}
5009 case $cache_file in
5010 [\\/]* | ?:[\\/]* ) . $cache_file;;
5011 *) . ./$cache_file;;
5012 esac
5014 else
5015 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
5016 echo "$as_me: creating cache $cache_file" >&6;}
5017 >$cache_file
5021 # This can be used to rebuild libtool when needed
5022 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
5024 # Always use our own libtool.
5025 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
5027 # Redirect the config.log output again, so that the ltconfig log is not
5028 # clobbered by the next message.
5029 exec 5>>./config.log
5031 ac_ext=cc
5032 ac_cpp='$CXXCPP $CPPFLAGS'
5033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5036 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5037 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
5038 if test -z "$CXXCPP"; then
5039 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5040 echo $ECHO_N "(cached) $ECHO_C" >&6
5041 else
5042 # Double quotes because CXXCPP needs to be expanded
5043 for CXXCPP in "$CXX -E" "/lib/cpp"
5045 ac_preproc_ok=false
5046 for ac_cxx_preproc_warn_flag in '' yes
5048 # Use a header file that comes with gcc, so configuring glibc
5049 # with a fresh cross-compiler works.
5050 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5051 # <limits.h> exists even on freestanding compilers.
5052 # On the NeXT, cc -E runs the code through the compiler's parser,
5053 # not just through cpp. "Syntax error" is here to catch this case.
5054 cat >conftest.$ac_ext <<_ACEOF
5055 /* confdefs.h. */
5056 _ACEOF
5057 cat confdefs.h >>conftest.$ac_ext
5058 cat >>conftest.$ac_ext <<_ACEOF
5059 /* end confdefs.h. */
5060 #ifdef __STDC__
5061 # include <limits.h>
5062 #else
5063 # include <assert.h>
5064 #endif
5065 Syntax error
5066 _ACEOF
5067 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5068 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5069 ac_status=$?
5070 grep -v '^ *+' conftest.er1 >conftest.err
5071 rm -f conftest.er1
5072 cat conftest.err >&5
5073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5074 (exit $ac_status); } >/dev/null; then
5075 if test -s conftest.err; then
5076 ac_cpp_err=$ac_cxx_preproc_warn_flag
5077 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5078 else
5079 ac_cpp_err=
5081 else
5082 ac_cpp_err=yes
5084 if test -z "$ac_cpp_err"; then
5086 else
5087 echo "$as_me: failed program was:" >&5
5088 sed 's/^/| /' conftest.$ac_ext >&5
5090 # Broken: fails on valid input.
5091 continue
5093 rm -f conftest.err conftest.$ac_ext
5095 # OK, works on sane cases. Now check whether non-existent headers
5096 # can be detected and how.
5097 cat >conftest.$ac_ext <<_ACEOF
5098 /* confdefs.h. */
5099 _ACEOF
5100 cat confdefs.h >>conftest.$ac_ext
5101 cat >>conftest.$ac_ext <<_ACEOF
5102 /* end confdefs.h. */
5103 #include <ac_nonexistent.h>
5104 _ACEOF
5105 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5106 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5107 ac_status=$?
5108 grep -v '^ *+' conftest.er1 >conftest.err
5109 rm -f conftest.er1
5110 cat conftest.err >&5
5111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5112 (exit $ac_status); } >/dev/null; then
5113 if test -s conftest.err; then
5114 ac_cpp_err=$ac_cxx_preproc_warn_flag
5115 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5116 else
5117 ac_cpp_err=
5119 else
5120 ac_cpp_err=yes
5122 if test -z "$ac_cpp_err"; then
5123 # Broken: success on invalid input.
5124 continue
5125 else
5126 echo "$as_me: failed program was:" >&5
5127 sed 's/^/| /' conftest.$ac_ext >&5
5129 # Passes both tests.
5130 ac_preproc_ok=:
5131 break
5133 rm -f conftest.err conftest.$ac_ext
5135 done
5136 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5137 rm -f conftest.err conftest.$ac_ext
5138 if $ac_preproc_ok; then
5139 break
5142 done
5143 ac_cv_prog_CXXCPP=$CXXCPP
5146 CXXCPP=$ac_cv_prog_CXXCPP
5147 else
5148 ac_cv_prog_CXXCPP=$CXXCPP
5150 echo "$as_me:$LINENO: result: $CXXCPP" >&5
5151 echo "${ECHO_T}$CXXCPP" >&6
5152 ac_preproc_ok=false
5153 for ac_cxx_preproc_warn_flag in '' yes
5155 # Use a header file that comes with gcc, so configuring glibc
5156 # with a fresh cross-compiler works.
5157 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5158 # <limits.h> exists even on freestanding compilers.
5159 # On the NeXT, cc -E runs the code through the compiler's parser,
5160 # not just through cpp. "Syntax error" is here to catch this case.
5161 cat >conftest.$ac_ext <<_ACEOF
5162 /* confdefs.h. */
5163 _ACEOF
5164 cat confdefs.h >>conftest.$ac_ext
5165 cat >>conftest.$ac_ext <<_ACEOF
5166 /* end confdefs.h. */
5167 #ifdef __STDC__
5168 # include <limits.h>
5169 #else
5170 # include <assert.h>
5171 #endif
5172 Syntax error
5173 _ACEOF
5174 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5175 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5176 ac_status=$?
5177 grep -v '^ *+' conftest.er1 >conftest.err
5178 rm -f conftest.er1
5179 cat conftest.err >&5
5180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5181 (exit $ac_status); } >/dev/null; then
5182 if test -s conftest.err; then
5183 ac_cpp_err=$ac_cxx_preproc_warn_flag
5184 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5185 else
5186 ac_cpp_err=
5188 else
5189 ac_cpp_err=yes
5191 if test -z "$ac_cpp_err"; then
5193 else
5194 echo "$as_me: failed program was:" >&5
5195 sed 's/^/| /' conftest.$ac_ext >&5
5197 # Broken: fails on valid input.
5198 continue
5200 rm -f conftest.err conftest.$ac_ext
5202 # OK, works on sane cases. Now check whether non-existent headers
5203 # can be detected and how.
5204 cat >conftest.$ac_ext <<_ACEOF
5205 /* confdefs.h. */
5206 _ACEOF
5207 cat confdefs.h >>conftest.$ac_ext
5208 cat >>conftest.$ac_ext <<_ACEOF
5209 /* end confdefs.h. */
5210 #include <ac_nonexistent.h>
5211 _ACEOF
5212 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5213 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5214 ac_status=$?
5215 grep -v '^ *+' conftest.er1 >conftest.err
5216 rm -f conftest.er1
5217 cat conftest.err >&5
5218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5219 (exit $ac_status); } >/dev/null; then
5220 if test -s conftest.err; then
5221 ac_cpp_err=$ac_cxx_preproc_warn_flag
5222 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5223 else
5224 ac_cpp_err=
5226 else
5227 ac_cpp_err=yes
5229 if test -z "$ac_cpp_err"; then
5230 # Broken: success on invalid input.
5231 continue
5232 else
5233 echo "$as_me: failed program was:" >&5
5234 sed 's/^/| /' conftest.$ac_ext >&5
5236 # Passes both tests.
5237 ac_preproc_ok=:
5238 break
5240 rm -f conftest.err conftest.$ac_ext
5242 done
5243 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5244 rm -f conftest.err conftest.$ac_ext
5245 if $ac_preproc_ok; then
5247 else
5248 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5249 See \`config.log' for more details." >&5
5250 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5251 See \`config.log' for more details." >&2;}
5252 { (exit 1); exit 1; }; }
5255 ac_ext=c
5256 ac_cpp='$CPP $CPPFLAGS'
5257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5263 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
5264 lt_save_CC="$CC"
5265 lt_save_CFLAGS="$CFLAGS"
5266 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
5267 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
5268 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
5269 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
5270 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
5271 deplibs_check_method="$deplibs_check_method" \
5272 file_magic_cmd="$file_magic_cmd" \
5273 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
5274 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
5275 || { { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
5276 echo "$as_me: error: libtool tag configuration failed" >&2;}
5277 { (exit 1); exit 1; }; }
5278 CC="$lt_save_CC"
5279 CFLAGS="$lt_save_CFLAGS"
5281 # Redirect the config.log output again, so that the ltconfig log is not
5282 # clobbered by the next message.
5283 exec 5>>./config.log
5293 # Possibly disable most of the library.
5294 ## TODO: Consider skipping unncessary tests altogether in this case, rather
5295 ## than just ignoring the results. Faster /and/ more correct, win win.
5297 # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
5298 if test "${enable_hosted_libstdcxx+set}" = set; then
5299 enableval="$enable_hosted_libstdcxx"
5301 else
5302 case "$host" in
5303 arm*-*-symbianelf*)
5304 enable_hosted_libstdcxx=no
5307 enable_hosted_libstdcxx=yes
5309 esac
5311 if test "$enable_hosted_libstdcxx" = no; then
5312 { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
5313 echo "$as_me: Only freestanding libraries will be built" >&6;}
5314 is_hosted=no
5315 hosted_define=0
5316 enable_abi_check=no
5317 enable_libstdcxx_pch=no
5318 else
5319 is_hosted=yes
5320 hosted_define=1
5324 cat >>confdefs.h <<_ACEOF
5325 #define _GLIBCXX_HOSTED $hosted_define
5326 _ACEOF
5330 # Check for compiler support that doesn't require linking.
5332 echo "$as_me:$LINENO: checking for exception model to use" >&5
5333 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
5336 ac_ext=cc
5337 ac_cpp='$CXXCPP $CPPFLAGS'
5338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5342 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
5343 if test "${enable_sjlj_exceptions+set}" = set; then
5344 enableval="$enable_sjlj_exceptions"
5346 case "$enableval" in
5347 yes|no|auto) ;;
5348 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
5349 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
5350 { (exit 1); exit 1; }; } ;;
5351 esac
5353 else
5354 enable_sjlj_exceptions=auto
5358 if test $enable_sjlj_exceptions = auto; then
5359 # Botheration. Now we've got to detect the exception model. Link tests
5360 # against libgcc.a are problematic since we've not been given proper -L
5361 # bits for single-tree newlib and libgloss.
5363 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
5364 cat > conftest.$ac_ext << EOF
5365 #line 5365 "configure"
5366 struct S { ~S(); };
5367 void bar();
5368 void foo()
5370 S s;
5371 bar();
5374 old_CXXFLAGS="$CXXFLAGS"
5375 CXXFLAGS=-S
5376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5377 (eval $ac_compile) 2>&5
5378 ac_status=$?
5379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5380 (exit $ac_status); }; then
5381 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
5382 enable_sjlj_exceptions=yes
5383 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
5384 enable_sjlj_exceptions=no
5385 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
5386 enable_sjlj_exceptions=no
5389 CXXFLAGS="$old_CXXFLAGS"
5390 rm -f conftest*
5393 # This is a tad weird, for hysterical raisins. We have to map
5394 # enable/disable to two different models.
5395 case $enable_sjlj_exceptions in
5396 yes)
5398 cat >>confdefs.h <<\_ACEOF
5399 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
5400 _ACEOF
5402 ac_exception_model_name=sjlj
5405 ac_exception_model_name="call frame"
5408 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
5409 echo "$as_me: error: unable to detect exception model" >&2;}
5410 { (exit 1); exit 1; }; }
5412 esac
5413 ac_ext=c
5414 ac_cpp='$CPP $CPPFLAGS'
5415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5419 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
5420 echo "${ECHO_T}$ac_exception_model_name" >&6
5423 # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
5424 if test "${enable_libstdcxx_pch+set}" = set; then
5425 enableval="$enable_libstdcxx_pch"
5427 case "$enableval" in
5428 yes|no) ;;
5429 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
5430 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
5431 { (exit 1); exit 1; }; } ;;
5432 esac
5434 else
5435 enable_libstdcxx_pch=$is_hosted
5438 if test $enable_libstdcxx_pch = yes; then
5439 echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
5440 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
5441 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
5442 echo $ECHO_N "(cached) $ECHO_C" >&6
5443 else
5444 ac_save_CXXFLAGS="$CXXFLAGS"
5445 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
5448 ac_ext=cc
5449 ac_cpp='$CXXCPP $CPPFLAGS'
5450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5454 echo '#include <math.h>' > conftest.h
5455 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
5456 -o conftest.h.gch 1>&5 2>&1 &&
5457 echo '#error "pch failed"' > conftest.h &&
5458 echo '#include "conftest.h"' > conftest.cc &&
5459 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
5460 then
5461 glibcxx_cv_prog_CXX_pch=yes
5462 else
5463 glibcxx_cv_prog_CXX_pch=no
5465 rm -f conftest*
5466 CXXFLAGS=$ac_save_CXXFLAGS
5467 ac_ext=c
5468 ac_cpp='$CPP $CPPFLAGS'
5469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5475 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
5476 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
5477 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
5480 echo "$as_me:$LINENO: checking for enabled PCH" >&5
5481 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
5482 echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
5483 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
5486 if test $enable_libstdcxx_pch = yes; then
5487 glibcxx_PCHFLAGS="-include bits/stdtr1c++.h"
5488 else
5489 glibcxx_PCHFLAGS=""
5494 # Enable all the variable C++ runtime options.
5496 echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
5497 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
5498 # Check whether --enable-cstdio or --disable-cstdio was given.
5499 if test "${enable_cstdio+set}" = set; then
5500 enableval="$enable_cstdio"
5502 case "$enableval" in
5503 stdio) ;;
5504 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
5505 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
5506 { (exit 1); exit 1; }; } ;;
5507 esac
5509 else
5510 enable_cstdio=stdio
5514 # Now that libio has been removed, you can have any color you want as long
5515 # as it's black. This is one big no-op until other packages are added, but
5516 # showing the framework never hurts.
5517 case ${enable_cstdio} in
5518 stdio)
5519 CSTDIO_H=config/io/c_io_stdio.h
5520 BASIC_FILE_H=config/io/basic_file_stdio.h
5521 BASIC_FILE_CC=config/io/basic_file_stdio.cc
5522 echo "$as_me:$LINENO: result: stdio" >&5
5523 echo "${ECHO_T}stdio" >&6
5525 esac
5531 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5532 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5533 if test "${ac_cv_header_stdc+set}" = set; then
5534 echo $ECHO_N "(cached) $ECHO_C" >&6
5535 else
5536 cat >conftest.$ac_ext <<_ACEOF
5537 /* confdefs.h. */
5538 _ACEOF
5539 cat confdefs.h >>conftest.$ac_ext
5540 cat >>conftest.$ac_ext <<_ACEOF
5541 /* end confdefs.h. */
5542 #include <stdlib.h>
5543 #include <stdarg.h>
5544 #include <string.h>
5545 #include <float.h>
5548 main ()
5552 return 0;
5554 _ACEOF
5555 rm -f conftest.$ac_objext
5556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5557 (eval $ac_compile) 2>conftest.er1
5558 ac_status=$?
5559 grep -v '^ *+' conftest.er1 >conftest.err
5560 rm -f conftest.er1
5561 cat conftest.err >&5
5562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5563 (exit $ac_status); } &&
5564 { ac_try='test -z "$ac_c_werror_flag"
5565 || test ! -s conftest.err'
5566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5567 (eval $ac_try) 2>&5
5568 ac_status=$?
5569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5570 (exit $ac_status); }; } &&
5571 { ac_try='test -s conftest.$ac_objext'
5572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5573 (eval $ac_try) 2>&5
5574 ac_status=$?
5575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5576 (exit $ac_status); }; }; then
5577 ac_cv_header_stdc=yes
5578 else
5579 echo "$as_me: failed program was:" >&5
5580 sed 's/^/| /' conftest.$ac_ext >&5
5582 ac_cv_header_stdc=no
5584 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5586 if test $ac_cv_header_stdc = yes; then
5587 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5588 cat >conftest.$ac_ext <<_ACEOF
5589 /* confdefs.h. */
5590 _ACEOF
5591 cat confdefs.h >>conftest.$ac_ext
5592 cat >>conftest.$ac_ext <<_ACEOF
5593 /* end confdefs.h. */
5594 #include <string.h>
5596 _ACEOF
5597 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5598 $EGREP "memchr" >/dev/null 2>&1; then
5600 else
5601 ac_cv_header_stdc=no
5603 rm -f conftest*
5607 if test $ac_cv_header_stdc = yes; then
5608 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5609 cat >conftest.$ac_ext <<_ACEOF
5610 /* confdefs.h. */
5611 _ACEOF
5612 cat confdefs.h >>conftest.$ac_ext
5613 cat >>conftest.$ac_ext <<_ACEOF
5614 /* end confdefs.h. */
5615 #include <stdlib.h>
5617 _ACEOF
5618 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5619 $EGREP "free" >/dev/null 2>&1; then
5621 else
5622 ac_cv_header_stdc=no
5624 rm -f conftest*
5628 if test $ac_cv_header_stdc = yes; then
5629 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5630 if test "$cross_compiling" = yes; then
5632 else
5633 cat >conftest.$ac_ext <<_ACEOF
5634 /* confdefs.h. */
5635 _ACEOF
5636 cat confdefs.h >>conftest.$ac_ext
5637 cat >>conftest.$ac_ext <<_ACEOF
5638 /* end confdefs.h. */
5639 #include <ctype.h>
5640 #if ((' ' & 0x0FF) == 0x020)
5641 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5642 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5643 #else
5644 # define ISLOWER(c) \
5645 (('a' <= (c) && (c) <= 'i') \
5646 || ('j' <= (c) && (c) <= 'r') \
5647 || ('s' <= (c) && (c) <= 'z'))
5648 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5649 #endif
5651 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5653 main ()
5655 int i;
5656 for (i = 0; i < 256; i++)
5657 if (XOR (islower (i), ISLOWER (i))
5658 || toupper (i) != TOUPPER (i))
5659 exit(2);
5660 exit (0);
5662 _ACEOF
5663 rm -f conftest$ac_exeext
5664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5665 (eval $ac_link) 2>&5
5666 ac_status=$?
5667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5668 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5670 (eval $ac_try) 2>&5
5671 ac_status=$?
5672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5673 (exit $ac_status); }; }; then
5675 else
5676 echo "$as_me: program exited with status $ac_status" >&5
5677 echo "$as_me: failed program was:" >&5
5678 sed 's/^/| /' conftest.$ac_ext >&5
5680 ( exit $ac_status )
5681 ac_cv_header_stdc=no
5683 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5687 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5688 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5689 if test $ac_cv_header_stdc = yes; then
5691 cat >>confdefs.h <<\_ACEOF
5692 #define STDC_HEADERS 1
5693 _ACEOF
5697 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5707 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5708 inttypes.h stdint.h unistd.h
5710 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5711 echo "$as_me:$LINENO: checking for $ac_header" >&5
5712 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5713 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5714 echo $ECHO_N "(cached) $ECHO_C" >&6
5715 else
5716 cat >conftest.$ac_ext <<_ACEOF
5717 /* confdefs.h. */
5718 _ACEOF
5719 cat confdefs.h >>conftest.$ac_ext
5720 cat >>conftest.$ac_ext <<_ACEOF
5721 /* end confdefs.h. */
5722 $ac_includes_default
5724 #include <$ac_header>
5725 _ACEOF
5726 rm -f conftest.$ac_objext
5727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5728 (eval $ac_compile) 2>conftest.er1
5729 ac_status=$?
5730 grep -v '^ *+' conftest.er1 >conftest.err
5731 rm -f conftest.er1
5732 cat conftest.err >&5
5733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5734 (exit $ac_status); } &&
5735 { ac_try='test -z "$ac_c_werror_flag"
5736 || test ! -s conftest.err'
5737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5738 (eval $ac_try) 2>&5
5739 ac_status=$?
5740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5741 (exit $ac_status); }; } &&
5742 { ac_try='test -s conftest.$ac_objext'
5743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5744 (eval $ac_try) 2>&5
5745 ac_status=$?
5746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5747 (exit $ac_status); }; }; then
5748 eval "$as_ac_Header=yes"
5749 else
5750 echo "$as_me: failed program was:" >&5
5751 sed 's/^/| /' conftest.$ac_ext >&5
5753 eval "$as_ac_Header=no"
5755 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5757 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5758 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5759 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5760 cat >>confdefs.h <<_ACEOF
5761 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5762 _ACEOF
5766 done
5770 echo "$as_me:$LINENO: checking for C locale to use" >&5
5771 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
5772 # Check whether --enable-clocale or --disable-clocale was given.
5773 if test "${enable_clocale+set}" = set; then
5774 enableval="$enable_clocale"
5776 case "$enableval" in
5777 generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
5778 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
5779 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
5780 { (exit 1); exit 1; }; } ;;
5781 esac
5783 else
5784 enable_clocale=auto
5788 # If they didn't use this option switch, or if they specified --enable
5789 # with no specific model, we'll have to look for one. If they
5790 # specified --disable (???), do likewise.
5791 if test $enable_clocale = no || test $enable_clocale = yes; then
5792 enable_clocale=auto
5795 # Either a known package, or "auto"
5796 enable_clocale_flag=$enable_clocale
5798 # Probe for locale support if no specific model is specified.
5799 # Default to "generic".
5800 if test $enable_clocale_flag = auto; then
5801 case ${target_os} in
5802 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
5803 cat >conftest.$ac_ext <<_ACEOF
5804 /* confdefs.h. */
5805 _ACEOF
5806 cat confdefs.h >>conftest.$ac_ext
5807 cat >>conftest.$ac_ext <<_ACEOF
5808 /* end confdefs.h. */
5810 #include <features.h>
5811 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
5812 _GLIBCXX_ok
5813 #endif
5815 _ACEOF
5816 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5817 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
5818 enable_clocale_flag=gnu
5819 else
5820 enable_clocale_flag=generic
5822 rm -f conftest*
5825 # Test for bugs early in glibc-2.2.x series
5826 if test $enable_clocale_flag = gnu; then
5827 if test "$cross_compiling" = yes; then
5828 enable_clocale_flag=generic
5829 else
5830 cat >conftest.$ac_ext <<_ACEOF
5831 /* confdefs.h. */
5832 _ACEOF
5833 cat confdefs.h >>conftest.$ac_ext
5834 cat >>conftest.$ac_ext <<_ACEOF
5835 /* end confdefs.h. */
5837 #define _GNU_SOURCE 1
5838 #include <locale.h>
5839 #include <string.h>
5840 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
5841 extern __typeof(newlocale) __newlocale;
5842 extern __typeof(duplocale) __duplocale;
5843 extern __typeof(strcoll_l) __strcoll_l;
5844 #endif
5845 int main()
5847 const char __one[] = "Äuglein Augmen";
5848 const char __two[] = "Äuglein";
5849 int i;
5850 int j;
5851 __locale_t loc;
5852 __locale_t loc_dup;
5853 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
5854 loc_dup = __duplocale(loc);
5855 i = __strcoll_l(__one, __two, loc);
5856 j = __strcoll_l(__one, __two, loc_dup);
5857 return 0;
5860 _ACEOF
5861 rm -f conftest$ac_exeext
5862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5863 (eval $ac_link) 2>&5
5864 ac_status=$?
5865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5866 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5868 (eval $ac_try) 2>&5
5869 ac_status=$?
5870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5871 (exit $ac_status); }; }; then
5872 enable_clocale_flag=gnu
5873 else
5874 echo "$as_me: program exited with status $ac_status" >&5
5875 echo "$as_me: failed program was:" >&5
5876 sed 's/^/| /' conftest.$ac_ext >&5
5878 ( exit $ac_status )
5879 enable_clocale_flag=generic
5881 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5885 # ... at some point put __strxfrm_l tests in as well.
5887 darwin* | freebsd*)
5888 enable_clocale_flag=darwin
5891 enable_clocale_flag=generic
5893 esac
5896 # Deal with gettext issues. Default to not using it (=no) until we detect
5897 # support for it later. Let the user turn it off via --e/d, but let that
5898 # default to on for easier handling.
5899 USE_NLS=no
5900 # Check whether --enable-nls or --disable-nls was given.
5901 if test "${enable_nls+set}" = set; then
5902 enableval="$enable_nls"
5904 else
5905 enable_nls=yes
5908 # Set configure bits for specified locale package
5909 case ${enable_clocale_flag} in
5910 generic)
5911 echo "$as_me:$LINENO: result: generic" >&5
5912 echo "${ECHO_T}generic" >&6
5914 CLOCALE_H=config/locale/generic/c_locale.h
5915 CLOCALE_CC=config/locale/generic/c_locale.cc
5916 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5917 CCOLLATE_CC=config/locale/generic/collate_members.cc
5918 CCTYPE_CC=config/locale/generic/ctype_members.cc
5919 CMESSAGES_H=config/locale/generic/messages_members.h
5920 CMESSAGES_CC=config/locale/generic/messages_members.cc
5921 CMONEY_CC=config/locale/generic/monetary_members.cc
5922 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5923 CTIME_H=config/locale/generic/time_members.h
5924 CTIME_CC=config/locale/generic/time_members.cc
5925 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5927 darwin)
5928 echo "$as_me:$LINENO: result: darwin or freebsd" >&5
5929 echo "${ECHO_T}darwin or freebsd" >&6
5931 CLOCALE_H=config/locale/generic/c_locale.h
5932 CLOCALE_CC=config/locale/generic/c_locale.cc
5933 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5934 CCOLLATE_CC=config/locale/generic/collate_members.cc
5935 CCTYPE_CC=config/locale/darwin/ctype_members.cc
5936 CMESSAGES_H=config/locale/generic/messages_members.h
5937 CMESSAGES_CC=config/locale/generic/messages_members.cc
5938 CMONEY_CC=config/locale/generic/monetary_members.cc
5939 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5940 CTIME_H=config/locale/generic/time_members.h
5941 CTIME_CC=config/locale/generic/time_members.cc
5942 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5945 gnu)
5946 echo "$as_me:$LINENO: result: gnu" >&5
5947 echo "${ECHO_T}gnu" >&6
5949 # Declare intention to use gettext, and add support for specific
5950 # languages.
5951 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
5952 ALL_LINGUAS="de fr"
5954 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
5955 # Extract the first word of "msgfmt", so it can be a program name with args.
5956 set dummy msgfmt; ac_word=$2
5957 echo "$as_me:$LINENO: checking for $ac_word" >&5
5958 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5959 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
5960 echo $ECHO_N "(cached) $ECHO_C" >&6
5961 else
5962 if test -n "$check_msgfmt"; then
5963 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
5964 else
5965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5966 for as_dir in $PATH
5968 IFS=$as_save_IFS
5969 test -z "$as_dir" && as_dir=.
5970 for ac_exec_ext in '' $ac_executable_extensions; do
5971 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5972 ac_cv_prog_check_msgfmt="yes"
5973 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5974 break 2
5976 done
5977 done
5979 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
5982 check_msgfmt=$ac_cv_prog_check_msgfmt
5983 if test -n "$check_msgfmt"; then
5984 echo "$as_me:$LINENO: result: $check_msgfmt" >&5
5985 echo "${ECHO_T}$check_msgfmt" >&6
5986 else
5987 echo "$as_me:$LINENO: result: no" >&5
5988 echo "${ECHO_T}no" >&6
5991 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
5992 USE_NLS=yes
5994 # Export the build objects.
5995 for ling in $ALL_LINGUAS; do \
5996 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
5997 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
5998 done
6002 CLOCALE_H=config/locale/gnu/c_locale.h
6003 CLOCALE_CC=config/locale/gnu/c_locale.cc
6004 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
6005 CCOLLATE_CC=config/locale/gnu/collate_members.cc
6006 CCTYPE_CC=config/locale/gnu/ctype_members.cc
6007 CMESSAGES_H=config/locale/gnu/messages_members.h
6008 CMESSAGES_CC=config/locale/gnu/messages_members.cc
6009 CMONEY_CC=config/locale/gnu/monetary_members.cc
6010 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
6011 CTIME_H=config/locale/gnu/time_members.h
6012 CTIME_CC=config/locale/gnu/time_members.cc
6013 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
6015 ieee_1003.1-2001)
6016 echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
6017 echo "${ECHO_T}IEEE 1003.1" >&6
6019 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
6020 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
6021 CCODECVT_CC=config/locale/generic/codecvt_members.cc
6022 CCOLLATE_CC=config/locale/generic/collate_members.cc
6023 CCTYPE_CC=config/locale/generic/ctype_members.cc
6024 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
6025 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
6026 CMONEY_CC=config/locale/generic/monetary_members.cc
6027 CNUMERIC_CC=config/locale/generic/numeric_members.cc
6028 CTIME_H=config/locale/generic/time_members.h
6029 CTIME_CC=config/locale/generic/time_members.cc
6030 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
6032 esac
6034 # This is where the testsuite looks for locale catalogs, using the
6035 # -DLOCALEDIR define during testsuite compilation.
6036 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
6039 # A standalone libintl (e.g., GNU libintl) may be in use.
6040 if test $USE_NLS = yes; then
6042 for ac_header in libintl.h
6044 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6045 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6046 echo "$as_me:$LINENO: checking for $ac_header" >&5
6047 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6048 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6049 echo $ECHO_N "(cached) $ECHO_C" >&6
6051 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6052 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6053 else
6054 # Is the header compilable?
6055 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6056 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6057 cat >conftest.$ac_ext <<_ACEOF
6058 /* confdefs.h. */
6059 _ACEOF
6060 cat confdefs.h >>conftest.$ac_ext
6061 cat >>conftest.$ac_ext <<_ACEOF
6062 /* end confdefs.h. */
6063 $ac_includes_default
6064 #include <$ac_header>
6065 _ACEOF
6066 rm -f conftest.$ac_objext
6067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6068 (eval $ac_compile) 2>conftest.er1
6069 ac_status=$?
6070 grep -v '^ *+' conftest.er1 >conftest.err
6071 rm -f conftest.er1
6072 cat conftest.err >&5
6073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6074 (exit $ac_status); } &&
6075 { ac_try='test -z "$ac_c_werror_flag"
6076 || test ! -s conftest.err'
6077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6078 (eval $ac_try) 2>&5
6079 ac_status=$?
6080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6081 (exit $ac_status); }; } &&
6082 { ac_try='test -s conftest.$ac_objext'
6083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6084 (eval $ac_try) 2>&5
6085 ac_status=$?
6086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6087 (exit $ac_status); }; }; then
6088 ac_header_compiler=yes
6089 else
6090 echo "$as_me: failed program was:" >&5
6091 sed 's/^/| /' conftest.$ac_ext >&5
6093 ac_header_compiler=no
6095 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6096 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6097 echo "${ECHO_T}$ac_header_compiler" >&6
6099 # Is the header present?
6100 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6101 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6102 cat >conftest.$ac_ext <<_ACEOF
6103 /* confdefs.h. */
6104 _ACEOF
6105 cat confdefs.h >>conftest.$ac_ext
6106 cat >>conftest.$ac_ext <<_ACEOF
6107 /* end confdefs.h. */
6108 #include <$ac_header>
6109 _ACEOF
6110 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6111 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6112 ac_status=$?
6113 grep -v '^ *+' conftest.er1 >conftest.err
6114 rm -f conftest.er1
6115 cat conftest.err >&5
6116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6117 (exit $ac_status); } >/dev/null; then
6118 if test -s conftest.err; then
6119 ac_cpp_err=$ac_c_preproc_warn_flag
6120 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6121 else
6122 ac_cpp_err=
6124 else
6125 ac_cpp_err=yes
6127 if test -z "$ac_cpp_err"; then
6128 ac_header_preproc=yes
6129 else
6130 echo "$as_me: failed program was:" >&5
6131 sed 's/^/| /' conftest.$ac_ext >&5
6133 ac_header_preproc=no
6135 rm -f conftest.err conftest.$ac_ext
6136 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6137 echo "${ECHO_T}$ac_header_preproc" >&6
6139 # So? What about this header?
6140 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6141 yes:no: )
6142 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6143 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6144 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6145 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6146 ac_header_preproc=yes
6148 no:yes:* )
6149 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6150 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6151 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6152 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6153 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6154 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6155 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6156 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6157 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6158 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6159 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6160 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6162 cat <<\_ASBOX
6163 ## ----------------------------------------- ##
6164 ## Report this to the package-unused lists. ##
6165 ## ----------------------------------------- ##
6166 _ASBOX
6168 sed "s/^/$as_me: WARNING: /" >&2
6170 esac
6171 echo "$as_me:$LINENO: checking for $ac_header" >&5
6172 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6173 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6174 echo $ECHO_N "(cached) $ECHO_C" >&6
6175 else
6176 eval "$as_ac_Header=\$ac_header_preproc"
6178 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6179 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6182 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6183 cat >>confdefs.h <<_ACEOF
6184 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6185 _ACEOF
6187 else
6188 USE_NLS=no
6191 done
6193 echo "$as_me:$LINENO: checking for library containing gettext" >&5
6194 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
6195 if test "${ac_cv_search_gettext+set}" = set; then
6196 echo $ECHO_N "(cached) $ECHO_C" >&6
6197 else
6198 ac_func_search_save_LIBS=$LIBS
6199 ac_cv_search_gettext=no
6200 if test x$gcc_no_link = xyes; then
6201 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6202 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6203 { (exit 1); exit 1; }; }
6205 cat >conftest.$ac_ext <<_ACEOF
6206 /* confdefs.h. */
6207 _ACEOF
6208 cat confdefs.h >>conftest.$ac_ext
6209 cat >>conftest.$ac_ext <<_ACEOF
6210 /* end confdefs.h. */
6212 /* Override any gcc2 internal prototype to avoid an error. */
6213 #ifdef __cplusplus
6214 extern "C"
6215 #endif
6216 /* We use char because int might match the return type of a gcc2
6217 builtin and then its argument prototype would still apply. */
6218 char gettext ();
6220 main ()
6222 gettext ();
6224 return 0;
6226 _ACEOF
6227 rm -f conftest.$ac_objext conftest$ac_exeext
6228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6229 (eval $ac_link) 2>conftest.er1
6230 ac_status=$?
6231 grep -v '^ *+' conftest.er1 >conftest.err
6232 rm -f conftest.er1
6233 cat conftest.err >&5
6234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6235 (exit $ac_status); } &&
6236 { ac_try='test -z "$ac_c_werror_flag"
6237 || test ! -s conftest.err'
6238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6239 (eval $ac_try) 2>&5
6240 ac_status=$?
6241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6242 (exit $ac_status); }; } &&
6243 { ac_try='test -s conftest$ac_exeext'
6244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6245 (eval $ac_try) 2>&5
6246 ac_status=$?
6247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6248 (exit $ac_status); }; }; then
6249 ac_cv_search_gettext="none required"
6250 else
6251 echo "$as_me: failed program was:" >&5
6252 sed 's/^/| /' conftest.$ac_ext >&5
6255 rm -f conftest.err conftest.$ac_objext \
6256 conftest$ac_exeext conftest.$ac_ext
6257 if test "$ac_cv_search_gettext" = no; then
6258 for ac_lib in intl; do
6259 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6260 if test x$gcc_no_link = xyes; then
6261 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6262 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6263 { (exit 1); exit 1; }; }
6265 cat >conftest.$ac_ext <<_ACEOF
6266 /* confdefs.h. */
6267 _ACEOF
6268 cat confdefs.h >>conftest.$ac_ext
6269 cat >>conftest.$ac_ext <<_ACEOF
6270 /* end confdefs.h. */
6272 /* Override any gcc2 internal prototype to avoid an error. */
6273 #ifdef __cplusplus
6274 extern "C"
6275 #endif
6276 /* We use char because int might match the return type of a gcc2
6277 builtin and then its argument prototype would still apply. */
6278 char gettext ();
6280 main ()
6282 gettext ();
6284 return 0;
6286 _ACEOF
6287 rm -f conftest.$ac_objext conftest$ac_exeext
6288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6289 (eval $ac_link) 2>conftest.er1
6290 ac_status=$?
6291 grep -v '^ *+' conftest.er1 >conftest.err
6292 rm -f conftest.er1
6293 cat conftest.err >&5
6294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6295 (exit $ac_status); } &&
6296 { ac_try='test -z "$ac_c_werror_flag"
6297 || test ! -s conftest.err'
6298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6299 (eval $ac_try) 2>&5
6300 ac_status=$?
6301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6302 (exit $ac_status); }; } &&
6303 { ac_try='test -s conftest$ac_exeext'
6304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6305 (eval $ac_try) 2>&5
6306 ac_status=$?
6307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6308 (exit $ac_status); }; }; then
6309 ac_cv_search_gettext="-l$ac_lib"
6310 break
6311 else
6312 echo "$as_me: failed program was:" >&5
6313 sed 's/^/| /' conftest.$ac_ext >&5
6316 rm -f conftest.err conftest.$ac_objext \
6317 conftest$ac_exeext conftest.$ac_ext
6318 done
6320 LIBS=$ac_func_search_save_LIBS
6322 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
6323 echo "${ECHO_T}$ac_cv_search_gettext" >&6
6324 if test "$ac_cv_search_gettext" != no; then
6325 test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
6327 else
6328 USE_NLS=no
6332 if test $USE_NLS = yes; then
6334 cat >>confdefs.h <<\_ACEOF
6335 #define _GLIBCXX_USE_NLS 1
6336 _ACEOF
6355 echo "$as_me:$LINENO: checking for std::allocator base class" >&5
6356 echo $ECHO_N "checking for std::allocator base class... $ECHO_C" >&6
6357 # Check whether --enable-libstdcxx-allocator or --disable-libstdcxx-allocator was given.
6358 if test "${enable_libstdcxx_allocator+set}" = set; then
6359 enableval="$enable_libstdcxx_allocator"
6361 case "$enableval" in
6362 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
6363 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable libstdcxx-allocator" >&5
6364 echo "$as_me: error: Unknown argument to enable/disable libstdcxx-allocator" >&2;}
6365 { (exit 1); exit 1; }; } ;;
6366 esac
6368 else
6369 enable_libstdcxx_allocator=auto
6373 # If they didn't use this option switch, or if they specified --enable
6374 # with no specific model, we'll have to look for one. If they
6375 # specified --disable (???), do likewise.
6376 if test $enable_libstdcxx_allocator = no ||
6377 test $enable_libstdcxx_allocator = yes;
6378 then
6379 enable_libstdcxx_allocator=auto
6382 # Either a known package, or "auto". Auto implies the default choice
6383 # for a particular platform.
6384 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
6386 # Probe for host-specific support if no specific model is specified.
6387 # Default to "new".
6388 if test $enable_libstdcxx_allocator_flag = auto; then
6389 case ${target_os} in
6390 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
6391 enable_libstdcxx_allocator_flag=new
6394 enable_libstdcxx_allocator_flag=new
6396 esac
6398 echo "$as_me:$LINENO: result: $enable_libstdcxx_allocator_flag" >&5
6399 echo "${ECHO_T}$enable_libstdcxx_allocator_flag" >&6
6402 # Set configure bits for specified locale package
6403 case ${enable_libstdcxx_allocator_flag} in
6404 bitmap)
6405 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
6406 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
6408 malloc)
6409 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
6410 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
6413 ALLOCATOR_H=config/allocator/mt_allocator_base.h
6414 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
6416 new)
6417 ALLOCATOR_H=config/allocator/new_allocator_base.h
6418 ALLOCATOR_NAME=__gnu_cxx::new_allocator
6420 pool)
6421 ALLOCATOR_H=config/allocator/pool_allocator_base.h
6422 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
6424 esac
6430 # Check whether --enable-cheaders or --disable-cheaders was given.
6431 if test "${enable_cheaders+set}" = set; then
6432 enableval="$enable_cheaders"
6434 case "$enableval" in
6435 c|c_std|c_global) ;;
6436 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
6437 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
6438 { (exit 1); exit 1; }; } ;;
6439 esac
6441 else
6442 enable_cheaders=$c_model
6445 { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
6446 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
6448 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
6450 # Allow overrides to configure.host here.
6451 if test $enable_cheaders = c_global; then
6452 c_compatibility=yes
6455 if test $enable_cheaders = c_global || test $enable_cheaders = c_std; then
6456 c_extra=yes
6466 # Check whether --enable-long-long or --disable-long-long was given.
6467 if test "${enable_long_long+set}" = set; then
6468 enableval="$enable_long_long"
6470 case "$enableval" in
6471 yes|no) ;;
6472 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
6473 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
6474 { (exit 1); exit 1; }; } ;;
6475 esac
6477 else
6478 enable_long_long=yes
6481 if test $enable_long_long = yes; then
6483 cat >>confdefs.h <<\_ACEOF
6484 #define _GLIBCXX_USE_LONG_LONG 1
6485 _ACEOF
6488 echo "$as_me:$LINENO: checking for enabled long long specializations" >&5
6489 echo $ECHO_N "checking for enabled long long specializations... $ECHO_C" >&6
6490 echo "$as_me:$LINENO: result: $enable_long_long" >&5
6491 echo "${ECHO_T}$enable_long_long" >&6
6495 # Check whether --enable-wchar_t or --disable-wchar_t was given.
6496 if test "${enable_wchar_t+set}" = set; then
6497 enableval="$enable_wchar_t"
6499 case "$enableval" in
6500 yes|no) ;;
6501 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable wchar_t must be yes or no" >&5
6502 echo "$as_me: error: Argument to enable/disable wchar_t must be yes or no" >&2;}
6503 { (exit 1); exit 1; }; } ;;
6504 esac
6506 else
6507 enable_wchar_t=yes
6511 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
6513 for ac_header in wchar.h
6515 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6516 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6517 echo "$as_me:$LINENO: checking for $ac_header" >&5
6518 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6519 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6520 echo $ECHO_N "(cached) $ECHO_C" >&6
6522 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6523 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6524 else
6525 # Is the header compilable?
6526 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6527 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6528 cat >conftest.$ac_ext <<_ACEOF
6529 /* confdefs.h. */
6530 _ACEOF
6531 cat confdefs.h >>conftest.$ac_ext
6532 cat >>conftest.$ac_ext <<_ACEOF
6533 /* end confdefs.h. */
6534 $ac_includes_default
6535 #include <$ac_header>
6536 _ACEOF
6537 rm -f conftest.$ac_objext
6538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6539 (eval $ac_compile) 2>conftest.er1
6540 ac_status=$?
6541 grep -v '^ *+' conftest.er1 >conftest.err
6542 rm -f conftest.er1
6543 cat conftest.err >&5
6544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6545 (exit $ac_status); } &&
6546 { ac_try='test -z "$ac_c_werror_flag"
6547 || test ! -s conftest.err'
6548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6549 (eval $ac_try) 2>&5
6550 ac_status=$?
6551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6552 (exit $ac_status); }; } &&
6553 { ac_try='test -s conftest.$ac_objext'
6554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6555 (eval $ac_try) 2>&5
6556 ac_status=$?
6557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6558 (exit $ac_status); }; }; then
6559 ac_header_compiler=yes
6560 else
6561 echo "$as_me: failed program was:" >&5
6562 sed 's/^/| /' conftest.$ac_ext >&5
6564 ac_header_compiler=no
6566 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6567 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6568 echo "${ECHO_T}$ac_header_compiler" >&6
6570 # Is the header present?
6571 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6572 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6573 cat >conftest.$ac_ext <<_ACEOF
6574 /* confdefs.h. */
6575 _ACEOF
6576 cat confdefs.h >>conftest.$ac_ext
6577 cat >>conftest.$ac_ext <<_ACEOF
6578 /* end confdefs.h. */
6579 #include <$ac_header>
6580 _ACEOF
6581 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6582 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6583 ac_status=$?
6584 grep -v '^ *+' conftest.er1 >conftest.err
6585 rm -f conftest.er1
6586 cat conftest.err >&5
6587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6588 (exit $ac_status); } >/dev/null; then
6589 if test -s conftest.err; then
6590 ac_cpp_err=$ac_c_preproc_warn_flag
6591 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6592 else
6593 ac_cpp_err=
6595 else
6596 ac_cpp_err=yes
6598 if test -z "$ac_cpp_err"; then
6599 ac_header_preproc=yes
6600 else
6601 echo "$as_me: failed program was:" >&5
6602 sed 's/^/| /' conftest.$ac_ext >&5
6604 ac_header_preproc=no
6606 rm -f conftest.err conftest.$ac_ext
6607 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6608 echo "${ECHO_T}$ac_header_preproc" >&6
6610 # So? What about this header?
6611 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6612 yes:no: )
6613 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6614 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6615 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6616 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6617 ac_header_preproc=yes
6619 no:yes:* )
6620 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6621 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6622 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6623 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6624 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6625 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6626 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6627 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6628 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6629 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6630 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6631 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6633 cat <<\_ASBOX
6634 ## ----------------------------------------- ##
6635 ## Report this to the package-unused lists. ##
6636 ## ----------------------------------------- ##
6637 _ASBOX
6639 sed "s/^/$as_me: WARNING: /" >&2
6641 esac
6642 echo "$as_me:$LINENO: checking for $ac_header" >&5
6643 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6644 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6645 echo $ECHO_N "(cached) $ECHO_C" >&6
6646 else
6647 eval "$as_ac_Header=\$ac_header_preproc"
6649 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6650 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6653 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6654 cat >>confdefs.h <<_ACEOF
6655 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6656 _ACEOF
6657 ac_has_wchar_h=yes
6658 else
6659 ac_has_wchar_h=no
6662 done
6664 echo "$as_me:$LINENO: checking for mbstate_t" >&5
6665 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
6666 cat >conftest.$ac_ext <<_ACEOF
6667 /* confdefs.h. */
6668 _ACEOF
6669 cat confdefs.h >>conftest.$ac_ext
6670 cat >>conftest.$ac_ext <<_ACEOF
6671 /* end confdefs.h. */
6672 #include <wchar.h>
6674 main ()
6676 mbstate_t teststate;
6678 return 0;
6680 _ACEOF
6681 rm -f conftest.$ac_objext
6682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6683 (eval $ac_compile) 2>conftest.er1
6684 ac_status=$?
6685 grep -v '^ *+' conftest.er1 >conftest.err
6686 rm -f conftest.er1
6687 cat conftest.err >&5
6688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6689 (exit $ac_status); } &&
6690 { ac_try='test -z "$ac_c_werror_flag"
6691 || test ! -s conftest.err'
6692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6693 (eval $ac_try) 2>&5
6694 ac_status=$?
6695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6696 (exit $ac_status); }; } &&
6697 { ac_try='test -s conftest.$ac_objext'
6698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6699 (eval $ac_try) 2>&5
6700 ac_status=$?
6701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6702 (exit $ac_status); }; }; then
6703 have_mbstate_t=yes
6704 else
6705 echo "$as_me: failed program was:" >&5
6706 sed 's/^/| /' conftest.$ac_ext >&5
6708 have_mbstate_t=no
6710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6711 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
6712 echo "${ECHO_T}$have_mbstate_t" >&6
6713 if test x"$have_mbstate_t" = xyes; then
6715 cat >>confdefs.h <<\_ACEOF
6716 #define HAVE_MBSTATE_T 1
6717 _ACEOF
6721 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
6722 # ac_has_wchar_h.
6724 for ac_header in wctype.h
6726 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6727 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6728 echo "$as_me:$LINENO: checking for $ac_header" >&5
6729 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6730 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6731 echo $ECHO_N "(cached) $ECHO_C" >&6
6733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6734 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6735 else
6736 # Is the header compilable?
6737 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6738 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6739 cat >conftest.$ac_ext <<_ACEOF
6740 /* confdefs.h. */
6741 _ACEOF
6742 cat confdefs.h >>conftest.$ac_ext
6743 cat >>conftest.$ac_ext <<_ACEOF
6744 /* end confdefs.h. */
6745 $ac_includes_default
6746 #include <$ac_header>
6747 _ACEOF
6748 rm -f conftest.$ac_objext
6749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6750 (eval $ac_compile) 2>conftest.er1
6751 ac_status=$?
6752 grep -v '^ *+' conftest.er1 >conftest.err
6753 rm -f conftest.er1
6754 cat conftest.err >&5
6755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6756 (exit $ac_status); } &&
6757 { ac_try='test -z "$ac_c_werror_flag"
6758 || test ! -s conftest.err'
6759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6760 (eval $ac_try) 2>&5
6761 ac_status=$?
6762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6763 (exit $ac_status); }; } &&
6764 { ac_try='test -s conftest.$ac_objext'
6765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6766 (eval $ac_try) 2>&5
6767 ac_status=$?
6768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6769 (exit $ac_status); }; }; then
6770 ac_header_compiler=yes
6771 else
6772 echo "$as_me: failed program was:" >&5
6773 sed 's/^/| /' conftest.$ac_ext >&5
6775 ac_header_compiler=no
6777 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6778 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6779 echo "${ECHO_T}$ac_header_compiler" >&6
6781 # Is the header present?
6782 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6783 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6784 cat >conftest.$ac_ext <<_ACEOF
6785 /* confdefs.h. */
6786 _ACEOF
6787 cat confdefs.h >>conftest.$ac_ext
6788 cat >>conftest.$ac_ext <<_ACEOF
6789 /* end confdefs.h. */
6790 #include <$ac_header>
6791 _ACEOF
6792 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6793 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6794 ac_status=$?
6795 grep -v '^ *+' conftest.er1 >conftest.err
6796 rm -f conftest.er1
6797 cat conftest.err >&5
6798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6799 (exit $ac_status); } >/dev/null; then
6800 if test -s conftest.err; then
6801 ac_cpp_err=$ac_c_preproc_warn_flag
6802 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6803 else
6804 ac_cpp_err=
6806 else
6807 ac_cpp_err=yes
6809 if test -z "$ac_cpp_err"; then
6810 ac_header_preproc=yes
6811 else
6812 echo "$as_me: failed program was:" >&5
6813 sed 's/^/| /' conftest.$ac_ext >&5
6815 ac_header_preproc=no
6817 rm -f conftest.err conftest.$ac_ext
6818 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6819 echo "${ECHO_T}$ac_header_preproc" >&6
6821 # So? What about this header?
6822 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6823 yes:no: )
6824 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6825 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6826 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6827 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6828 ac_header_preproc=yes
6830 no:yes:* )
6831 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6832 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6833 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6834 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6835 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6836 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6837 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6838 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6839 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6840 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6841 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6842 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6844 cat <<\_ASBOX
6845 ## ----------------------------------------- ##
6846 ## Report this to the package-unused lists. ##
6847 ## ----------------------------------------- ##
6848 _ASBOX
6850 sed "s/^/$as_me: WARNING: /" >&2
6852 esac
6853 echo "$as_me:$LINENO: checking for $ac_header" >&5
6854 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6855 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6856 echo $ECHO_N "(cached) $ECHO_C" >&6
6857 else
6858 eval "$as_ac_Header=\$ac_header_preproc"
6860 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6861 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6864 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6865 cat >>confdefs.h <<_ACEOF
6866 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6867 _ACEOF
6868 ac_has_wctype_h=yes
6869 else
6870 ac_has_wctype_h=no
6873 done
6876 if test x"$enable_wchar_t" = x"yes"; then
6880 ac_ext=cc
6881 ac_cpp='$CXXCPP $CPPFLAGS'
6882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6887 if test x"$ac_has_wchar_h" = xyes &&
6888 test x"$ac_has_wctype_h" = xyes; then
6889 cat >conftest.$ac_ext <<_ACEOF
6890 /* confdefs.h. */
6891 _ACEOF
6892 cat confdefs.h >>conftest.$ac_ext
6893 cat >>conftest.$ac_ext <<_ACEOF
6894 /* end confdefs.h. */
6895 #include <wchar.h>
6896 #include <stddef.h>
6897 wint_t i;
6898 long l = WEOF;
6899 long j = WCHAR_MIN;
6900 long k = WCHAR_MAX;
6901 namespace test
6903 using ::btowc;
6904 using ::fgetwc;
6905 using ::fgetws;
6906 using ::fputwc;
6907 using ::fputws;
6908 using ::fwide;
6909 using ::fwprintf;
6910 using ::fwscanf;
6911 using ::getwc;
6912 using ::getwchar;
6913 using ::mbrlen;
6914 using ::mbrtowc;
6915 using ::mbsinit;
6916 using ::mbsrtowcs;
6917 using ::putwc;
6918 using ::putwchar;
6919 using ::swprintf;
6920 using ::swscanf;
6921 using ::ungetwc;
6922 using ::vfwprintf;
6923 using ::vswprintf;
6924 using ::vwprintf;
6925 using ::wcrtomb;
6926 using ::wcscat;
6927 using ::wcschr;
6928 using ::wcscmp;
6929 using ::wcscoll;
6930 using ::wcscpy;
6931 using ::wcscspn;
6932 using ::wcsftime;
6933 using ::wcslen;
6934 using ::wcsncat;
6935 using ::wcsncmp;
6936 using ::wcsncpy;
6937 using ::wcspbrk;
6938 using ::wcsrchr;
6939 using ::wcsrtombs;
6940 using ::wcsspn;
6941 using ::wcsstr;
6942 using ::wcstod;
6943 using ::wcstok;
6944 using ::wcstol;
6945 using ::wcstoul;
6946 using ::wcsxfrm;
6947 using ::wctob;
6948 using ::wmemchr;
6949 using ::wmemcmp;
6950 using ::wmemcpy;
6951 using ::wmemmove;
6952 using ::wmemset;
6953 using ::wprintf;
6954 using ::wscanf;
6958 main ()
6962 return 0;
6964 _ACEOF
6965 rm -f conftest.$ac_objext
6966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6967 (eval $ac_compile) 2>conftest.er1
6968 ac_status=$?
6969 grep -v '^ *+' conftest.er1 >conftest.err
6970 rm -f conftest.er1
6971 cat conftest.err >&5
6972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6973 (exit $ac_status); } &&
6974 { ac_try='test -z "$ac_cxx_werror_flag"
6975 || test ! -s conftest.err'
6976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6977 (eval $ac_try) 2>&5
6978 ac_status=$?
6979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6980 (exit $ac_status); }; } &&
6981 { ac_try='test -s conftest.$ac_objext'
6982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6983 (eval $ac_try) 2>&5
6984 ac_status=$?
6985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6986 (exit $ac_status); }; }; then
6988 else
6989 echo "$as_me: failed program was:" >&5
6990 sed 's/^/| /' conftest.$ac_ext >&5
6992 enable_wchar_t=no
6994 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6995 else
6996 enable_wchar_t=no
6999 ac_ext=c
7000 ac_cpp='$CPP $CPPFLAGS'
7001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7007 if test x"$enable_wchar_t" = x"yes"; then
7009 cat >>confdefs.h <<\_ACEOF
7010 #define _GLIBCXX_USE_WCHAR_T 1
7011 _ACEOF
7015 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
7016 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
7017 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
7018 echo "${ECHO_T}$enable_wchar_t" >&6
7022 # Check whether --enable-c99 or --disable-c99 was given.
7023 if test "${enable_c99+set}" = set; then
7024 enableval="$enable_c99"
7026 case "$enableval" in
7027 yes|no) ;;
7028 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
7029 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
7030 { (exit 1); exit 1; }; } ;;
7031 esac
7033 else
7034 enable_c99=yes
7038 if test x"$enable_c99" = x"yes"; then
7042 ac_ext=cc
7043 ac_cpp='$CXXCPP $CPPFLAGS'
7044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7049 # Check for the existence of <math.h> functions used if C99 is enabled.
7050 echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
7051 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
7052 if test "${ac_c99_math+set}" = set; then
7053 echo $ECHO_N "(cached) $ECHO_C" >&6
7054 else
7056 cat >conftest.$ac_ext <<_ACEOF
7057 /* confdefs.h. */
7058 _ACEOF
7059 cat confdefs.h >>conftest.$ac_ext
7060 cat >>conftest.$ac_ext <<_ACEOF
7061 /* end confdefs.h. */
7062 #include <math.h>
7064 main ()
7066 fpclassify(0.0);
7067 isfinite(0.0);
7068 isinf(0.0);
7069 isnan(0.0);
7070 isnormal(0.0);
7071 signbit(0.0);
7072 isgreater(0.0,0.0);
7073 isgreaterequal(0.0,0.0);
7074 isless(0.0,0.0);
7075 islessequal(0.0,0.0);
7076 islessgreater(0.0,0.0);
7077 islessgreater(0.0,0.0);
7078 isunordered(0.0,0.0);
7081 return 0;
7083 _ACEOF
7084 rm -f conftest.$ac_objext
7085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7086 (eval $ac_compile) 2>conftest.er1
7087 ac_status=$?
7088 grep -v '^ *+' conftest.er1 >conftest.err
7089 rm -f conftest.er1
7090 cat conftest.err >&5
7091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7092 (exit $ac_status); } &&
7093 { ac_try='test -z "$ac_cxx_werror_flag"
7094 || test ! -s conftest.err'
7095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7096 (eval $ac_try) 2>&5
7097 ac_status=$?
7098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7099 (exit $ac_status); }; } &&
7100 { ac_try='test -s conftest.$ac_objext'
7101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7102 (eval $ac_try) 2>&5
7103 ac_status=$?
7104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7105 (exit $ac_status); }; }; then
7106 ac_c99_math=yes
7107 else
7108 echo "$as_me: failed program was:" >&5
7109 sed 's/^/| /' conftest.$ac_ext >&5
7111 ac_c99_math=no
7113 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7117 echo "$as_me:$LINENO: result: $ac_c99_math" >&5
7118 echo "${ECHO_T}$ac_c99_math" >&6
7119 if test x"$ac_c99_math" = x"yes"; then
7121 cat >>confdefs.h <<\_ACEOF
7122 #define _GLIBCXX_USE_C99_MATH 1
7123 _ACEOF
7127 # Check for the existence of <complex.h> complex math functions.
7128 # This is necessary even though libstdc++ uses the builtin versions
7129 # of these functions, because if the builtin cannot be used, a reference
7130 # to the library function is emitted.
7132 for ac_header in tgmath.h
7134 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7135 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7136 echo "$as_me:$LINENO: checking for $ac_header" >&5
7137 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7138 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7139 echo $ECHO_N "(cached) $ECHO_C" >&6
7141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7142 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7143 else
7144 # Is the header compilable?
7145 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7146 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7147 cat >conftest.$ac_ext <<_ACEOF
7148 /* confdefs.h. */
7149 _ACEOF
7150 cat confdefs.h >>conftest.$ac_ext
7151 cat >>conftest.$ac_ext <<_ACEOF
7152 /* end confdefs.h. */
7153 $ac_includes_default
7154 #include <$ac_header>
7155 _ACEOF
7156 rm -f conftest.$ac_objext
7157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7158 (eval $ac_compile) 2>conftest.er1
7159 ac_status=$?
7160 grep -v '^ *+' conftest.er1 >conftest.err
7161 rm -f conftest.er1
7162 cat conftest.err >&5
7163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7164 (exit $ac_status); } &&
7165 { ac_try='test -z "$ac_cxx_werror_flag"
7166 || test ! -s conftest.err'
7167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7168 (eval $ac_try) 2>&5
7169 ac_status=$?
7170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7171 (exit $ac_status); }; } &&
7172 { ac_try='test -s conftest.$ac_objext'
7173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7174 (eval $ac_try) 2>&5
7175 ac_status=$?
7176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7177 (exit $ac_status); }; }; then
7178 ac_header_compiler=yes
7179 else
7180 echo "$as_me: failed program was:" >&5
7181 sed 's/^/| /' conftest.$ac_ext >&5
7183 ac_header_compiler=no
7185 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7186 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7187 echo "${ECHO_T}$ac_header_compiler" >&6
7189 # Is the header present?
7190 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7191 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7192 cat >conftest.$ac_ext <<_ACEOF
7193 /* confdefs.h. */
7194 _ACEOF
7195 cat confdefs.h >>conftest.$ac_ext
7196 cat >>conftest.$ac_ext <<_ACEOF
7197 /* end confdefs.h. */
7198 #include <$ac_header>
7199 _ACEOF
7200 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7201 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7202 ac_status=$?
7203 grep -v '^ *+' conftest.er1 >conftest.err
7204 rm -f conftest.er1
7205 cat conftest.err >&5
7206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7207 (exit $ac_status); } >/dev/null; then
7208 if test -s conftest.err; then
7209 ac_cpp_err=$ac_cxx_preproc_warn_flag
7210 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7211 else
7212 ac_cpp_err=
7214 else
7215 ac_cpp_err=yes
7217 if test -z "$ac_cpp_err"; then
7218 ac_header_preproc=yes
7219 else
7220 echo "$as_me: failed program was:" >&5
7221 sed 's/^/| /' conftest.$ac_ext >&5
7223 ac_header_preproc=no
7225 rm -f conftest.err conftest.$ac_ext
7226 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7227 echo "${ECHO_T}$ac_header_preproc" >&6
7229 # So? What about this header?
7230 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
7231 yes:no: )
7232 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7233 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7234 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7235 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7236 ac_header_preproc=yes
7238 no:yes:* )
7239 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7240 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7241 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7242 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7243 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7244 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7245 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7246 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7247 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7248 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7249 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7250 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7252 cat <<\_ASBOX
7253 ## ----------------------------------------- ##
7254 ## Report this to the package-unused lists. ##
7255 ## ----------------------------------------- ##
7256 _ASBOX
7258 sed "s/^/$as_me: WARNING: /" >&2
7260 esac
7261 echo "$as_me:$LINENO: checking for $ac_header" >&5
7262 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7263 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7264 echo $ECHO_N "(cached) $ECHO_C" >&6
7265 else
7266 eval "$as_ac_Header=\$ac_header_preproc"
7268 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7269 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7272 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7273 cat >>confdefs.h <<_ACEOF
7274 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7275 _ACEOF
7276 ac_has_tgmath_h=yes
7277 else
7278 ac_has_tgmath_h=no
7281 done
7284 for ac_header in complex.h
7286 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7287 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7288 echo "$as_me:$LINENO: checking for $ac_header" >&5
7289 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7290 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7291 echo $ECHO_N "(cached) $ECHO_C" >&6
7293 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7294 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7295 else
7296 # Is the header compilable?
7297 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7298 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7299 cat >conftest.$ac_ext <<_ACEOF
7300 /* confdefs.h. */
7301 _ACEOF
7302 cat confdefs.h >>conftest.$ac_ext
7303 cat >>conftest.$ac_ext <<_ACEOF
7304 /* end confdefs.h. */
7305 $ac_includes_default
7306 #include <$ac_header>
7307 _ACEOF
7308 rm -f conftest.$ac_objext
7309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7310 (eval $ac_compile) 2>conftest.er1
7311 ac_status=$?
7312 grep -v '^ *+' conftest.er1 >conftest.err
7313 rm -f conftest.er1
7314 cat conftest.err >&5
7315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7316 (exit $ac_status); } &&
7317 { ac_try='test -z "$ac_cxx_werror_flag"
7318 || test ! -s conftest.err'
7319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7320 (eval $ac_try) 2>&5
7321 ac_status=$?
7322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7323 (exit $ac_status); }; } &&
7324 { ac_try='test -s conftest.$ac_objext'
7325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7326 (eval $ac_try) 2>&5
7327 ac_status=$?
7328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7329 (exit $ac_status); }; }; then
7330 ac_header_compiler=yes
7331 else
7332 echo "$as_me: failed program was:" >&5
7333 sed 's/^/| /' conftest.$ac_ext >&5
7335 ac_header_compiler=no
7337 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7338 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7339 echo "${ECHO_T}$ac_header_compiler" >&6
7341 # Is the header present?
7342 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7343 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7344 cat >conftest.$ac_ext <<_ACEOF
7345 /* confdefs.h. */
7346 _ACEOF
7347 cat confdefs.h >>conftest.$ac_ext
7348 cat >>conftest.$ac_ext <<_ACEOF
7349 /* end confdefs.h. */
7350 #include <$ac_header>
7351 _ACEOF
7352 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7353 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7354 ac_status=$?
7355 grep -v '^ *+' conftest.er1 >conftest.err
7356 rm -f conftest.er1
7357 cat conftest.err >&5
7358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7359 (exit $ac_status); } >/dev/null; then
7360 if test -s conftest.err; then
7361 ac_cpp_err=$ac_cxx_preproc_warn_flag
7362 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7363 else
7364 ac_cpp_err=
7366 else
7367 ac_cpp_err=yes
7369 if test -z "$ac_cpp_err"; then
7370 ac_header_preproc=yes
7371 else
7372 echo "$as_me: failed program was:" >&5
7373 sed 's/^/| /' conftest.$ac_ext >&5
7375 ac_header_preproc=no
7377 rm -f conftest.err conftest.$ac_ext
7378 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7379 echo "${ECHO_T}$ac_header_preproc" >&6
7381 # So? What about this header?
7382 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
7383 yes:no: )
7384 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7385 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7386 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7387 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7388 ac_header_preproc=yes
7390 no:yes:* )
7391 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7392 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7393 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7394 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7395 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7396 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7397 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7398 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7399 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7400 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7401 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7402 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7404 cat <<\_ASBOX
7405 ## ----------------------------------------- ##
7406 ## Report this to the package-unused lists. ##
7407 ## ----------------------------------------- ##
7408 _ASBOX
7410 sed "s/^/$as_me: WARNING: /" >&2
7412 esac
7413 echo "$as_me:$LINENO: checking for $ac_header" >&5
7414 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7415 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7416 echo $ECHO_N "(cached) $ECHO_C" >&6
7417 else
7418 eval "$as_ac_Header=\$ac_header_preproc"
7420 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7421 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7424 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7425 cat >>confdefs.h <<_ACEOF
7426 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7427 _ACEOF
7428 ac_has_complex_h=yes
7429 else
7430 ac_has_complex_h=no
7433 done
7435 ac_c99_complex=no;
7436 if test x"$ac_has_complex_h" = x"yes"; then
7437 echo "$as_me:$LINENO: checking for ISO C99 support in <complex.h>" >&5
7438 echo $ECHO_N "checking for ISO C99 support in <complex.h>... $ECHO_C" >&6
7439 cat >conftest.$ac_ext <<_ACEOF
7440 /* confdefs.h. */
7441 _ACEOF
7442 cat confdefs.h >>conftest.$ac_ext
7443 cat >>conftest.$ac_ext <<_ACEOF
7444 /* end confdefs.h. */
7445 #include <complex.h>
7447 main ()
7449 typedef __complex__ float float_type; float_type tmpf;
7450 cabsf(tmpf);
7451 cargf(tmpf);
7452 ccosf(tmpf);
7453 ccoshf(tmpf);
7454 cexpf(tmpf);
7455 clogf(tmpf);
7456 csinf(tmpf);
7457 csinhf(tmpf);
7458 csqrtf(tmpf);
7459 ctanf(tmpf);
7460 ctanhf(tmpf);
7461 cpowf(tmpf, tmpf);
7462 typedef __complex__ double double_type; double_type tmpd;
7463 cabs(tmpd);
7464 carg(tmpd);
7465 ccos(tmpd);
7466 ccosh(tmpd);
7467 cexp(tmpd);
7468 clog(tmpd);
7469 csin(tmpd);
7470 csinh(tmpd);
7471 csqrt(tmpd);
7472 ctan(tmpd);
7473 ctanh(tmpd);
7474 cpow(tmpd, tmpd);
7475 typedef __complex__ long double ld_type; ld_type tmpld;
7476 cabsl(tmpld);
7477 cargl(tmpld);
7478 ccosl(tmpld);
7479 ccoshl(tmpld);
7480 cexpl(tmpld);
7481 clogl(tmpld);
7482 csinl(tmpld);
7483 csinhl(tmpld);
7484 csqrtl(tmpld);
7485 ctanl(tmpld);
7486 ctanhl(tmpld);
7487 cpowl(tmpld, tmpld);
7490 return 0;
7492 _ACEOF
7493 rm -f conftest.$ac_objext
7494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7495 (eval $ac_compile) 2>conftest.er1
7496 ac_status=$?
7497 grep -v '^ *+' conftest.er1 >conftest.err
7498 rm -f conftest.er1
7499 cat conftest.err >&5
7500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7501 (exit $ac_status); } &&
7502 { ac_try='test -z "$ac_cxx_werror_flag"
7503 || test ! -s conftest.err'
7504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7505 (eval $ac_try) 2>&5
7506 ac_status=$?
7507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7508 (exit $ac_status); }; } &&
7509 { ac_try='test -s conftest.$ac_objext'
7510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7511 (eval $ac_try) 2>&5
7512 ac_status=$?
7513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7514 (exit $ac_status); }; }; then
7515 ac_c99_complex=yes
7516 else
7517 echo "$as_me: failed program was:" >&5
7518 sed 's/^/| /' conftest.$ac_ext >&5
7520 ac_c99_complex=no
7522 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7524 echo "$as_me:$LINENO: result: $ac_c99_complex" >&5
7525 echo "${ECHO_T}$ac_c99_complex" >&6
7526 if test x"$ac_c99_complex" = x"yes"; then
7528 cat >>confdefs.h <<\_ACEOF
7529 #define _GLIBCXX_USE_C99_COMPLEX 1
7530 _ACEOF
7534 # Check for the existence in <stdio.h> of vscanf, et. al.
7535 echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
7536 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
7537 if test "${ac_c99_stdio+set}" = set; then
7538 echo $ECHO_N "(cached) $ECHO_C" >&6
7539 else
7541 cat >conftest.$ac_ext <<_ACEOF
7542 /* confdefs.h. */
7543 _ACEOF
7544 cat confdefs.h >>conftest.$ac_ext
7545 cat >>conftest.$ac_ext <<_ACEOF
7546 /* end confdefs.h. */
7547 #include <stdio.h>
7548 #include <stdarg.h>
7549 void foo(char* fmt, ...)
7551 va_list args; va_start(args, fmt);
7552 vfscanf(stderr, "%i", args);
7553 vscanf("%i", args);
7554 vsnprintf(fmt, 0, "%i", args);
7555 vsscanf(fmt, "%i", args);
7558 main ()
7560 snprintf("12", 0, "%i");
7562 return 0;
7564 _ACEOF
7565 rm -f conftest.$ac_objext
7566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7567 (eval $ac_compile) 2>conftest.er1
7568 ac_status=$?
7569 grep -v '^ *+' conftest.er1 >conftest.err
7570 rm -f conftest.er1
7571 cat conftest.err >&5
7572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7573 (exit $ac_status); } &&
7574 { ac_try='test -z "$ac_cxx_werror_flag"
7575 || test ! -s conftest.err'
7576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7577 (eval $ac_try) 2>&5
7578 ac_status=$?
7579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7580 (exit $ac_status); }; } &&
7581 { ac_try='test -s conftest.$ac_objext'
7582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7583 (eval $ac_try) 2>&5
7584 ac_status=$?
7585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7586 (exit $ac_status); }; }; then
7587 ac_c99_stdio=yes
7588 else
7589 echo "$as_me: failed program was:" >&5
7590 sed 's/^/| /' conftest.$ac_ext >&5
7592 ac_c99_stdio=no
7594 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7598 echo "$as_me:$LINENO: result: $ac_c99_stdio" >&5
7599 echo "${ECHO_T}$ac_c99_stdio" >&6
7601 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
7602 echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
7603 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
7604 if test "${ac_c99_stdlib+set}" = set; then
7605 echo $ECHO_N "(cached) $ECHO_C" >&6
7606 else
7608 cat >conftest.$ac_ext <<_ACEOF
7609 /* confdefs.h. */
7610 _ACEOF
7611 cat confdefs.h >>conftest.$ac_ext
7612 cat >>conftest.$ac_ext <<_ACEOF
7613 /* end confdefs.h. */
7614 #include <stdlib.h>
7616 main ()
7618 char* tmp;
7619 strtof("gnu", &tmp);
7620 strtold("gnu", &tmp);
7621 strtoll("gnu", &tmp, 10);
7622 strtoull("gnu", &tmp, 10);
7623 llabs(10);
7624 lldiv(10,1);
7625 atoll("10");
7626 _Exit(0);
7627 lldiv_t mydivt;
7629 return 0;
7631 _ACEOF
7632 rm -f conftest.$ac_objext
7633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7634 (eval $ac_compile) 2>conftest.er1
7635 ac_status=$?
7636 grep -v '^ *+' conftest.er1 >conftest.err
7637 rm -f conftest.er1
7638 cat conftest.err >&5
7639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7640 (exit $ac_status); } &&
7641 { ac_try='test -z "$ac_cxx_werror_flag"
7642 || test ! -s conftest.err'
7643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7644 (eval $ac_try) 2>&5
7645 ac_status=$?
7646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7647 (exit $ac_status); }; } &&
7648 { ac_try='test -s conftest.$ac_objext'
7649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7650 (eval $ac_try) 2>&5
7651 ac_status=$?
7652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7653 (exit $ac_status); }; }; then
7654 ac_c99_stdlib=yes
7655 else
7656 echo "$as_me: failed program was:" >&5
7657 sed 's/^/| /' conftest.$ac_ext >&5
7659 ac_c99_stdlib=no
7661 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7665 echo "$as_me:$LINENO: result: $ac_c99_stdlib" >&5
7666 echo "${ECHO_T}$ac_c99_stdlib" >&6
7668 # Check for the existence in <wchar.h> of wcstold, etc.
7669 ac_c99_wchar=no;
7670 if test x"$ac_has_wchar_h" = xyes &&
7671 test x"$ac_has_wctype_h" = xyes; then
7672 echo "$as_me:$LINENO: checking for ISO C99 support in <wchar.h>" >&5
7673 echo $ECHO_N "checking for ISO C99 support in <wchar.h>... $ECHO_C" >&6
7674 cat >conftest.$ac_ext <<_ACEOF
7675 /* confdefs.h. */
7676 _ACEOF
7677 cat confdefs.h >>conftest.$ac_ext
7678 cat >>conftest.$ac_ext <<_ACEOF
7679 /* end confdefs.h. */
7680 #include <wchar.h>
7681 namespace test
7683 using ::wcstold;
7684 using ::wcstoll;
7685 using ::wcstoull;
7689 main ()
7693 return 0;
7695 _ACEOF
7696 rm -f conftest.$ac_objext
7697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7698 (eval $ac_compile) 2>conftest.er1
7699 ac_status=$?
7700 grep -v '^ *+' conftest.er1 >conftest.err
7701 rm -f conftest.er1
7702 cat conftest.err >&5
7703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7704 (exit $ac_status); } &&
7705 { ac_try='test -z "$ac_cxx_werror_flag"
7706 || test ! -s conftest.err'
7707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7708 (eval $ac_try) 2>&5
7709 ac_status=$?
7710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7711 (exit $ac_status); }; } &&
7712 { ac_try='test -s conftest.$ac_objext'
7713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7714 (eval $ac_try) 2>&5
7715 ac_status=$?
7716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7717 (exit $ac_status); }; }; then
7718 ac_c99_wchar=yes
7719 else
7720 echo "$as_me: failed program was:" >&5
7721 sed 's/^/| /' conftest.$ac_ext >&5
7723 ac_c99_wchar=no
7725 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7727 # Checks for wide character functions that may not be present.
7728 # Injection of these is wrapped with guard macros.
7729 # NB: only put functions here, instead of immediately above, if
7730 # absolutely necessary.
7731 cat >conftest.$ac_ext <<_ACEOF
7732 /* confdefs.h. */
7733 _ACEOF
7734 cat confdefs.h >>conftest.$ac_ext
7735 cat >>conftest.$ac_ext <<_ACEOF
7736 /* end confdefs.h. */
7737 #include <wchar.h>
7738 namespace test { using ::vfwscanf; }
7740 main ()
7744 return 0;
7746 _ACEOF
7747 rm -f conftest.$ac_objext
7748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7749 (eval $ac_compile) 2>conftest.er1
7750 ac_status=$?
7751 grep -v '^ *+' conftest.er1 >conftest.err
7752 rm -f conftest.er1
7753 cat conftest.err >&5
7754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7755 (exit $ac_status); } &&
7756 { ac_try='test -z "$ac_cxx_werror_flag"
7757 || test ! -s conftest.err'
7758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7759 (eval $ac_try) 2>&5
7760 ac_status=$?
7761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7762 (exit $ac_status); }; } &&
7763 { ac_try='test -s conftest.$ac_objext'
7764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7765 (eval $ac_try) 2>&5
7766 ac_status=$?
7767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7768 (exit $ac_status); }; }; then
7770 cat >>confdefs.h <<\_ACEOF
7771 #define HAVE_VFWSCANF 1
7772 _ACEOF
7774 else
7775 echo "$as_me: failed program was:" >&5
7776 sed 's/^/| /' conftest.$ac_ext >&5
7779 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7781 cat >conftest.$ac_ext <<_ACEOF
7782 /* confdefs.h. */
7783 _ACEOF
7784 cat confdefs.h >>conftest.$ac_ext
7785 cat >>conftest.$ac_ext <<_ACEOF
7786 /* end confdefs.h. */
7787 #include <wchar.h>
7788 namespace test { using ::vswscanf; }
7790 main ()
7794 return 0;
7796 _ACEOF
7797 rm -f conftest.$ac_objext
7798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7799 (eval $ac_compile) 2>conftest.er1
7800 ac_status=$?
7801 grep -v '^ *+' conftest.er1 >conftest.err
7802 rm -f conftest.er1
7803 cat conftest.err >&5
7804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7805 (exit $ac_status); } &&
7806 { ac_try='test -z "$ac_cxx_werror_flag"
7807 || test ! -s conftest.err'
7808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7809 (eval $ac_try) 2>&5
7810 ac_status=$?
7811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7812 (exit $ac_status); }; } &&
7813 { ac_try='test -s conftest.$ac_objext'
7814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7815 (eval $ac_try) 2>&5
7816 ac_status=$?
7817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7818 (exit $ac_status); }; }; then
7820 cat >>confdefs.h <<\_ACEOF
7821 #define HAVE_VSWSCANF 1
7822 _ACEOF
7824 else
7825 echo "$as_me: failed program was:" >&5
7826 sed 's/^/| /' conftest.$ac_ext >&5
7829 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7831 cat >conftest.$ac_ext <<_ACEOF
7832 /* confdefs.h. */
7833 _ACEOF
7834 cat confdefs.h >>conftest.$ac_ext
7835 cat >>conftest.$ac_ext <<_ACEOF
7836 /* end confdefs.h. */
7837 #include <wchar.h>
7838 namespace test { using ::vwscanf; }
7840 main ()
7844 return 0;
7846 _ACEOF
7847 rm -f conftest.$ac_objext
7848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7849 (eval $ac_compile) 2>conftest.er1
7850 ac_status=$?
7851 grep -v '^ *+' conftest.er1 >conftest.err
7852 rm -f conftest.er1
7853 cat conftest.err >&5
7854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7855 (exit $ac_status); } &&
7856 { ac_try='test -z "$ac_cxx_werror_flag"
7857 || test ! -s conftest.err'
7858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7859 (eval $ac_try) 2>&5
7860 ac_status=$?
7861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7862 (exit $ac_status); }; } &&
7863 { ac_try='test -s conftest.$ac_objext'
7864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7865 (eval $ac_try) 2>&5
7866 ac_status=$?
7867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7868 (exit $ac_status); }; }; then
7870 cat >>confdefs.h <<\_ACEOF
7871 #define HAVE_VWSCANF 1
7872 _ACEOF
7874 else
7875 echo "$as_me: failed program was:" >&5
7876 sed 's/^/| /' conftest.$ac_ext >&5
7879 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7881 cat >conftest.$ac_ext <<_ACEOF
7882 /* confdefs.h. */
7883 _ACEOF
7884 cat confdefs.h >>conftest.$ac_ext
7885 cat >>conftest.$ac_ext <<_ACEOF
7886 /* end confdefs.h. */
7887 #include <wchar.h>
7888 namespace test { using ::wcstof; }
7890 main ()
7894 return 0;
7896 _ACEOF
7897 rm -f conftest.$ac_objext
7898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7899 (eval $ac_compile) 2>conftest.er1
7900 ac_status=$?
7901 grep -v '^ *+' conftest.er1 >conftest.err
7902 rm -f conftest.er1
7903 cat conftest.err >&5
7904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7905 (exit $ac_status); } &&
7906 { ac_try='test -z "$ac_cxx_werror_flag"
7907 || test ! -s conftest.err'
7908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7909 (eval $ac_try) 2>&5
7910 ac_status=$?
7911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7912 (exit $ac_status); }; } &&
7913 { ac_try='test -s conftest.$ac_objext'
7914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7915 (eval $ac_try) 2>&5
7916 ac_status=$?
7917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7918 (exit $ac_status); }; }; then
7920 cat >>confdefs.h <<\_ACEOF
7921 #define HAVE_WCSTOF 1
7922 _ACEOF
7924 else
7925 echo "$as_me: failed program was:" >&5
7926 sed 's/^/| /' conftest.$ac_ext >&5
7929 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7931 cat >conftest.$ac_ext <<_ACEOF
7932 /* confdefs.h. */
7933 _ACEOF
7934 cat confdefs.h >>conftest.$ac_ext
7935 cat >>conftest.$ac_ext <<_ACEOF
7936 /* end confdefs.h. */
7937 #include <wctype.h>
7939 main ()
7941 wint_t t; int i = iswblank(t);
7943 return 0;
7945 _ACEOF
7946 rm -f conftest.$ac_objext
7947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7948 (eval $ac_compile) 2>conftest.er1
7949 ac_status=$?
7950 grep -v '^ *+' conftest.er1 >conftest.err
7951 rm -f conftest.er1
7952 cat conftest.err >&5
7953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7954 (exit $ac_status); } &&
7955 { ac_try='test -z "$ac_cxx_werror_flag"
7956 || test ! -s conftest.err'
7957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7958 (eval $ac_try) 2>&5
7959 ac_status=$?
7960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7961 (exit $ac_status); }; } &&
7962 { ac_try='test -s conftest.$ac_objext'
7963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7964 (eval $ac_try) 2>&5
7965 ac_status=$?
7966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7967 (exit $ac_status); }; }; then
7969 cat >>confdefs.h <<\_ACEOF
7970 #define HAVE_ISWBLANK 1
7971 _ACEOF
7973 else
7974 echo "$as_me: failed program was:" >&5
7975 sed 's/^/| /' conftest.$ac_ext >&5
7978 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7980 echo "$as_me:$LINENO: result: $ac_c99_wchar" >&5
7981 echo "${ECHO_T}$ac_c99_wchar" >&6
7984 # Option parsed, now set things appropriately.
7985 if test x"$ac_c99_math" = x"no" ||
7986 test x"$ac_c99_complex" = x"no" ||
7987 test x"$ac_c99_stdio" = x"no" ||
7988 test x"$ac_c99_stdlib" = x"no" ||
7989 test x"$ac_c99_wchar" = x"no"; then
7990 enable_c99=no;
7991 else
7993 cat >>confdefs.h <<\_ACEOF
7994 #define _GLIBCXX_USE_C99 1
7995 _ACEOF
7999 ac_ext=c
8000 ac_cpp='$CPP $CPPFLAGS'
8001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8007 echo "$as_me:$LINENO: checking for fully enabled ISO C99 support" >&5
8008 echo $ECHO_N "checking for fully enabled ISO C99 support... $ECHO_C" >&6
8009 echo "$as_me:$LINENO: result: $enable_c99" >&5
8010 echo "${ECHO_T}$enable_c99" >&6
8013 # Check whether --enable-concept-checks or --disable-concept-checks was given.
8014 if test "${enable_concept_checks+set}" = set; then
8015 enableval="$enable_concept_checks"
8017 case "$enableval" in
8018 yes|no) ;;
8019 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
8020 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
8021 { (exit 1); exit 1; }; } ;;
8022 esac
8024 else
8025 enable_concept_checks=no
8028 if test $enable_concept_checks = yes; then
8030 cat >>confdefs.h <<\_ACEOF
8031 #define _GLIBCXX_CONCEPT_CHECKS 1
8032 _ACEOF
8037 # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
8038 if test "${enable_libstdcxx_debug_flags+set}" = set; then
8039 enableval="$enable_libstdcxx_debug_flags"
8040 case "x$enable_libstdcxx_debug_flags" in
8041 xno | x) enable_libstdcxx_debug_flags= ;;
8042 x-*) ;;
8043 *) { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
8044 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
8045 { (exit 1); exit 1; }; } ;;
8046 esac
8047 else
8048 enable_libstdcxx_debug_flags="-g3 -O0"
8052 # Option parsed, now set things appropriately
8053 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
8056 { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
8057 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
8060 echo "$as_me:$LINENO: checking for additional debug build" >&5
8061 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
8062 # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
8063 if test "${enable_libstdcxx_debug+set}" = set; then
8064 enableval="$enable_libstdcxx_debug"
8066 case "$enableval" in
8067 yes|no) ;;
8068 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
8069 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
8070 { (exit 1); exit 1; }; } ;;
8071 esac
8073 else
8074 enable_libstdcxx_debug=no
8077 echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
8078 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
8081 echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
8082 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
8083 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
8084 if test "${enable_cxx_flags+set}" = set; then
8085 enableval="$enable_cxx_flags"
8086 case "x$enable_cxx_flags" in
8087 xno | x) enable_cxx_flags= ;;
8088 x-*) ;;
8089 *) { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
8090 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
8091 { (exit 1); exit 1; }; } ;;
8092 esac
8093 else
8094 enable_cxx_flags=
8098 # Run through flags (either default or command-line) and set anything
8099 # extra (e.g., #defines) that must accompany particular g++ options.
8100 if test -n "$enable_cxx_flags"; then
8101 for f in $enable_cxx_flags; do
8102 case "$f" in
8103 -fhonor-std) ;;
8104 -*) ;;
8105 *) # and we're trying to pass /what/ exactly?
8106 { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
8107 echo "$as_me: error: compiler flags start with a -" >&2;}
8108 { (exit 1); exit 1; }; } ;;
8109 esac
8110 done
8113 EXTRA_CXX_FLAGS="$enable_cxx_flags"
8114 echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
8115 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
8119 # Check whether --enable-fully-dynamic-string or --disable-fully-dynamic-string was given.
8120 if test "${enable_fully_dynamic_string+set}" = set; then
8121 enableval="$enable_fully_dynamic_string"
8123 case "$enableval" in
8124 yes|no) ;;
8125 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&5
8126 echo "$as_me: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&2;}
8127 { (exit 1); exit 1; }; } ;;
8128 esac
8130 else
8131 enable_fully_dynamic_string=no
8134 if test $enable_fully_dynamic_string = yes; then
8136 cat >>confdefs.h <<\_ACEOF
8137 #define _GLIBCXX_FULLY_DYNAMIC_STRING 1
8138 _ACEOF
8143 # No surprises, no surprises...
8145 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
8146 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
8147 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
8148 echo "$as_me:$LINENO: result: $target_thread_file" >&5
8149 echo "${ECHO_T}$target_thread_file" >&6
8151 if test $target_thread_file != single; then
8153 cat >>confdefs.h <<\_ACEOF
8154 #define HAVE_GTHR_DEFAULT 1
8155 _ACEOF
8159 glibcxx_thread_h=gthr-$target_thread_file.h
8161 gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
8162 if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
8163 enable_thread=yes
8164 else
8165 enable_thread=no
8171 echo "$as_me:$LINENO: checking for atomic builtins" >&5
8172 echo $ECHO_N "checking for atomic builtins... $ECHO_C" >&6
8175 ac_ext=cc
8176 ac_cpp='$CXXCPP $CPPFLAGS'
8177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8182 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
8183 cat > conftest.$ac_ext << EOF
8184 #line 8184 "configure"
8185 int main()
8187 // NB: _Atomic_word not necessarily int.
8188 typedef int atomic_type;
8189 atomic_type c1;
8190 atomic_type c2;
8191 const atomic_type c3(0);
8192 if (__sync_fetch_and_add(&c1, c2) == c3)
8194 // Do something.
8196 return 0;
8199 old_CXXFLAGS="$CXXFLAGS"
8200 CXXFLAGS=-S
8201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8202 (eval $ac_compile) 2>&5
8203 ac_status=$?
8204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8205 (exit $ac_status); }; then
8206 if grep __sync_fetch_and_add conftest.s >/dev/null 2>&1 ; then
8207 enable_atomic_builtins=no
8208 else
8210 cat >>confdefs.h <<\_ACEOF
8211 #define _GLIBCXX_ATOMIC_BUILTINS 1
8212 _ACEOF
8214 enable_atomic_builtins=yes
8215 atomicity_dir=cpu/generic/atomicity_builtins
8218 CXXFLAGS="$old_CXXFLAGS"
8219 rm -f conftest*
8221 # Now, if still generic, set to mutex.
8222 if test $atomicity_dir = "cpu/generic" ; then
8223 atomicity_dir=cpu/generic/atomicity_mutex
8225 ac_ext=c
8226 ac_cpp='$CPP $CPPFLAGS'
8227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8231 echo "$as_me:$LINENO: result: $enable_atomic_builtins" >&5
8232 echo "${ECHO_T}$enable_atomic_builtins" >&6
8234 if test $atomicity_dir = cpu/generic/atomic_mutex ; then
8235 { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
8236 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
8237 if test $target_thread_file = single; then
8238 { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
8239 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
8240 { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
8241 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
8242 else
8243 { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
8244 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
8245 { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
8246 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
8251 # All these tests are for C++; save the language and the compiler flags.
8252 # The CXXFLAGS thing is suspicious, but based on similar bits previously
8253 # found in GLIBCXX_CONFIGURE.
8256 ac_ext=cc
8257 ac_cpp='$CXXCPP $CPPFLAGS'
8258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8262 ac_test_CXXFLAGS="${CXXFLAGS+set}"
8263 ac_save_CXXFLAGS="$CXXFLAGS"
8265 # Check for maintainer-mode bits.
8266 if test x"$USE_MAINTAINER_MODE" = xno; then
8267 WERROR=''
8268 else
8269 WERROR='-Werror'
8272 # Check for -ffunction-sections -fdata-sections
8273 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
8274 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
8275 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
8276 cat >conftest.$ac_ext <<_ACEOF
8277 /* confdefs.h. */
8278 _ACEOF
8279 cat confdefs.h >>conftest.$ac_ext
8280 cat >>conftest.$ac_ext <<_ACEOF
8281 /* end confdefs.h. */
8284 main ()
8286 int foo;
8288 return 0;
8290 _ACEOF
8291 rm -f conftest.$ac_objext
8292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8293 (eval $ac_compile) 2>conftest.er1
8294 ac_status=$?
8295 grep -v '^ *+' conftest.er1 >conftest.err
8296 rm -f conftest.er1
8297 cat conftest.err >&5
8298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8299 (exit $ac_status); } &&
8300 { ac_try='test -z "$ac_cxx_werror_flag"
8301 || test ! -s conftest.err'
8302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8303 (eval $ac_try) 2>&5
8304 ac_status=$?
8305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8306 (exit $ac_status); }; } &&
8307 { ac_try='test -s conftest.$ac_objext'
8308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8309 (eval $ac_try) 2>&5
8310 ac_status=$?
8311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8312 (exit $ac_status); }; }; then
8313 ac_fdsections=yes
8314 else
8315 echo "$as_me: failed program was:" >&5
8316 sed 's/^/| /' conftest.$ac_ext >&5
8318 ac_fdsections=no
8320 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8321 if test "$ac_test_CXXFLAGS" = set; then
8322 CXXFLAGS="$ac_save_CXXFLAGS"
8323 else
8324 # this is the suspicious part
8325 CXXFLAGS=''
8327 if test x"$ac_fdsections" = x"yes"; then
8328 SECTION_FLAGS='-ffunction-sections -fdata-sections'
8330 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
8331 echo "${ECHO_T}$ac_fdsections" >&6
8333 ac_ext=c
8334 ac_cpp='$CPP $CPPFLAGS'
8335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8343 if $GLIBCXX_IS_NATIVE; then
8345 # We can do more elaborate tests that assume a working linker.
8346 CANADIAN=no
8348 # Check for available headers.
8364 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
8365 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
8366 sys/types.h sys/ipc.h sys/sem.h
8368 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8369 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8370 echo "$as_me:$LINENO: checking for $ac_header" >&5
8371 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8372 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8373 echo $ECHO_N "(cached) $ECHO_C" >&6
8375 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8376 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8377 else
8378 # Is the header compilable?
8379 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8380 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8381 cat >conftest.$ac_ext <<_ACEOF
8382 /* confdefs.h. */
8383 _ACEOF
8384 cat confdefs.h >>conftest.$ac_ext
8385 cat >>conftest.$ac_ext <<_ACEOF
8386 /* end confdefs.h. */
8387 $ac_includes_default
8388 #include <$ac_header>
8389 _ACEOF
8390 rm -f conftest.$ac_objext
8391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8392 (eval $ac_compile) 2>conftest.er1
8393 ac_status=$?
8394 grep -v '^ *+' conftest.er1 >conftest.err
8395 rm -f conftest.er1
8396 cat conftest.err >&5
8397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8398 (exit $ac_status); } &&
8399 { ac_try='test -z "$ac_c_werror_flag"
8400 || test ! -s conftest.err'
8401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8402 (eval $ac_try) 2>&5
8403 ac_status=$?
8404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8405 (exit $ac_status); }; } &&
8406 { ac_try='test -s conftest.$ac_objext'
8407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8408 (eval $ac_try) 2>&5
8409 ac_status=$?
8410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8411 (exit $ac_status); }; }; then
8412 ac_header_compiler=yes
8413 else
8414 echo "$as_me: failed program was:" >&5
8415 sed 's/^/| /' conftest.$ac_ext >&5
8417 ac_header_compiler=no
8419 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8420 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8421 echo "${ECHO_T}$ac_header_compiler" >&6
8423 # Is the header present?
8424 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8425 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8426 cat >conftest.$ac_ext <<_ACEOF
8427 /* confdefs.h. */
8428 _ACEOF
8429 cat confdefs.h >>conftest.$ac_ext
8430 cat >>conftest.$ac_ext <<_ACEOF
8431 /* end confdefs.h. */
8432 #include <$ac_header>
8433 _ACEOF
8434 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8435 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8436 ac_status=$?
8437 grep -v '^ *+' conftest.er1 >conftest.err
8438 rm -f conftest.er1
8439 cat conftest.err >&5
8440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8441 (exit $ac_status); } >/dev/null; then
8442 if test -s conftest.err; then
8443 ac_cpp_err=$ac_c_preproc_warn_flag
8444 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8445 else
8446 ac_cpp_err=
8448 else
8449 ac_cpp_err=yes
8451 if test -z "$ac_cpp_err"; then
8452 ac_header_preproc=yes
8453 else
8454 echo "$as_me: failed program was:" >&5
8455 sed 's/^/| /' conftest.$ac_ext >&5
8457 ac_header_preproc=no
8459 rm -f conftest.err conftest.$ac_ext
8460 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8461 echo "${ECHO_T}$ac_header_preproc" >&6
8463 # So? What about this header?
8464 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8465 yes:no: )
8466 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8467 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8468 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8469 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8470 ac_header_preproc=yes
8472 no:yes:* )
8473 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8474 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8475 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8476 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8477 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8478 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8479 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8480 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8481 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8482 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8483 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8484 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8486 cat <<\_ASBOX
8487 ## ----------------------------------------- ##
8488 ## Report this to the package-unused lists. ##
8489 ## ----------------------------------------- ##
8490 _ASBOX
8492 sed "s/^/$as_me: WARNING: /" >&2
8494 esac
8495 echo "$as_me:$LINENO: checking for $ac_header" >&5
8496 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8497 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8498 echo $ECHO_N "(cached) $ECHO_C" >&6
8499 else
8500 eval "$as_ac_Header=\$ac_header_preproc"
8502 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8503 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8506 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8507 cat >>confdefs.h <<_ACEOF
8508 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8509 _ACEOF
8513 done
8517 # If we're not using GNU ld, then there's no point in even trying these
8518 # tests. Check for that first. We should have already tested for gld
8519 # by now (in libtool), but require it now just to be safe...
8520 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
8521 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
8525 # The name set by libtool depends on the version of libtool. Shame on us
8526 # for depending on an impl detail, but c'est la vie. Older versions used
8527 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
8528 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
8529 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
8530 # set (hence we're using an older libtool), then set it.
8531 if test x${with_gnu_ld+set} != xset; then
8532 if test x${ac_cv_prog_gnu_ld+set} != xset; then
8533 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
8534 with_gnu_ld=no
8535 else
8536 with_gnu_ld=$ac_cv_prog_gnu_ld
8540 # Start by getting the version number. I think the libtool test already
8541 # does some of this, but throws away the result.
8542 if test x"$with_gnu_ld" = x"yes"; then
8543 echo "$as_me:$LINENO: checking for ld version" >&5
8544 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
8546 ldver=`$LD --version 2>/dev/null | head -1 | \
8547 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
8549 glibcxx_gnu_ld_version=`echo $ldver | \
8550 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
8551 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
8552 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
8555 # Set --gc-sections.
8556 glibcxx_gcsections_min_ld=21602
8557 if test x"$with_gnu_ld" = x"yes" &&
8558 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
8560 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
8561 # NB: This flag only works reliably after 2.16.1. Configure tests
8562 # for this are difficult, so hard wire a value that should work.
8564 # All these tests are for C++, but run with the "C" compiler driver.
8565 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
8566 ac_test_CFLAGS="${CFLAGS+set}"
8567 ac_save_CFLAGS="$CFLAGS"
8568 CFLAGS='-x c++ -Wl,--gc-sections'
8570 # Check for -Wl,--gc-sections
8571 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
8572 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
8573 if test x$gcc_no_link = xyes; then
8574 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8575 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8576 { (exit 1); exit 1; }; }
8578 cat >conftest.$ac_ext <<_ACEOF
8579 /* confdefs.h. */
8580 _ACEOF
8581 cat confdefs.h >>conftest.$ac_ext
8582 cat >>conftest.$ac_ext <<_ACEOF
8583 /* end confdefs.h. */
8584 int one(void) { return 1; }
8585 int two(void) { return 2; }
8588 main ()
8590 two();
8592 return 0;
8594 _ACEOF
8595 rm -f conftest.$ac_objext conftest$ac_exeext
8596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8597 (eval $ac_link) 2>conftest.er1
8598 ac_status=$?
8599 grep -v '^ *+' conftest.er1 >conftest.err
8600 rm -f conftest.er1
8601 cat conftest.err >&5
8602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8603 (exit $ac_status); } &&
8604 { ac_try='test -z "$ac_c_werror_flag"
8605 || test ! -s conftest.err'
8606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8607 (eval $ac_try) 2>&5
8608 ac_status=$?
8609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8610 (exit $ac_status); }; } &&
8611 { ac_try='test -s conftest$ac_exeext'
8612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8613 (eval $ac_try) 2>&5
8614 ac_status=$?
8615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8616 (exit $ac_status); }; }; then
8617 ac_gcsections=yes
8618 else
8619 echo "$as_me: failed program was:" >&5
8620 sed 's/^/| /' conftest.$ac_ext >&5
8622 ac_gcsections=no
8624 rm -f conftest.err conftest.$ac_objext \
8625 conftest$ac_exeext conftest.$ac_ext
8626 if test "$ac_gcsections" = "yes"; then
8627 rm -f conftest.c
8628 touch conftest.c
8629 if $CC -c conftest.c; then
8630 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
8631 grep "Warning: gc-sections option ignored" > /dev/null; then
8632 ac_gcsections=no
8635 rm -f conftest.c conftest.o conftest
8637 if test "$ac_gcsections" = "yes"; then
8638 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
8640 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
8641 echo "${ECHO_T}$ac_gcsections" >&6
8643 if test "$ac_test_CFLAGS" = set; then
8644 CFLAGS="$ac_save_CFLAGS"
8645 else
8646 # this is the suspicious part
8647 CFLAGS=''
8651 # Set -z,relro.
8652 # Note this is only for shared objects.
8653 ac_ld_relro=no
8654 if test x"$with_gnu_ld" = x"yes"; then
8655 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
8656 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
8657 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
8658 if test -n "$cxx_z_relo"; then
8659 OPT_LDFLAGS="-Wl,-z,relro"
8660 ac_ld_relro=yes
8662 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
8663 echo "${ECHO_T}$ac_ld_relro" >&6
8666 # Set linker optimization flags.
8667 if test x"$with_gnu_ld" = x"yes"; then
8668 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8675 ac_test_CXXFLAGS="${CXXFLAGS+set}"
8676 ac_save_CXXFLAGS="$CXXFLAGS"
8677 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
8679 echo "$as_me:$LINENO: checking for sin in -lm" >&5
8680 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
8681 if test "${ac_cv_lib_m_sin+set}" = set; then
8682 echo $ECHO_N "(cached) $ECHO_C" >&6
8683 else
8684 ac_check_lib_save_LIBS=$LIBS
8685 LIBS="-lm $LIBS"
8686 if test x$gcc_no_link = xyes; then
8687 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8688 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8689 { (exit 1); exit 1; }; }
8691 cat >conftest.$ac_ext <<_ACEOF
8692 /* confdefs.h. */
8693 _ACEOF
8694 cat confdefs.h >>conftest.$ac_ext
8695 cat >>conftest.$ac_ext <<_ACEOF
8696 /* end confdefs.h. */
8698 /* Override any gcc2 internal prototype to avoid an error. */
8699 #ifdef __cplusplus
8700 extern "C"
8701 #endif
8702 /* We use char because int might match the return type of a gcc2
8703 builtin and then its argument prototype would still apply. */
8704 char sin ();
8706 main ()
8708 sin ();
8710 return 0;
8712 _ACEOF
8713 rm -f conftest.$ac_objext conftest$ac_exeext
8714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8715 (eval $ac_link) 2>conftest.er1
8716 ac_status=$?
8717 grep -v '^ *+' conftest.er1 >conftest.err
8718 rm -f conftest.er1
8719 cat conftest.err >&5
8720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8721 (exit $ac_status); } &&
8722 { ac_try='test -z "$ac_c_werror_flag"
8723 || test ! -s conftest.err'
8724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8725 (eval $ac_try) 2>&5
8726 ac_status=$?
8727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8728 (exit $ac_status); }; } &&
8729 { ac_try='test -s conftest$ac_exeext'
8730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8731 (eval $ac_try) 2>&5
8732 ac_status=$?
8733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8734 (exit $ac_status); }; }; then
8735 ac_cv_lib_m_sin=yes
8736 else
8737 echo "$as_me: failed program was:" >&5
8738 sed 's/^/| /' conftest.$ac_ext >&5
8740 ac_cv_lib_m_sin=no
8742 rm -f conftest.err conftest.$ac_objext \
8743 conftest$ac_exeext conftest.$ac_ext
8744 LIBS=$ac_check_lib_save_LIBS
8746 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
8747 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
8748 if test $ac_cv_lib_m_sin = yes; then
8749 libm="-lm"
8752 ac_save_LIBS="$LIBS"
8753 LIBS="$LIBS $libm"
8757 echo "$as_me:$LINENO: checking for isinf declaration" >&5
8758 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
8759 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
8760 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
8761 echo $ECHO_N "(cached) $ECHO_C" >&6
8762 else
8766 ac_ext=cc
8767 ac_cpp='$CXXCPP $CPPFLAGS'
8768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8772 cat >conftest.$ac_ext <<_ACEOF
8773 /* confdefs.h. */
8774 _ACEOF
8775 cat confdefs.h >>conftest.$ac_ext
8776 cat >>conftest.$ac_ext <<_ACEOF
8777 /* end confdefs.h. */
8778 #include <math.h>
8779 #ifdef HAVE_IEEEFP_H
8780 #include <ieeefp.h>
8781 #endif
8784 main ()
8786 isinf(0);
8788 return 0;
8790 _ACEOF
8791 rm -f conftest.$ac_objext
8792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8793 (eval $ac_compile) 2>conftest.er1
8794 ac_status=$?
8795 grep -v '^ *+' conftest.er1 >conftest.err
8796 rm -f conftest.er1
8797 cat conftest.err >&5
8798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8799 (exit $ac_status); } &&
8800 { ac_try='test -z "$ac_cxx_werror_flag"
8801 || test ! -s conftest.err'
8802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8803 (eval $ac_try) 2>&5
8804 ac_status=$?
8805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8806 (exit $ac_status); }; } &&
8807 { ac_try='test -s conftest.$ac_objext'
8808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8809 (eval $ac_try) 2>&5
8810 ac_status=$?
8811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8812 (exit $ac_status); }; }; then
8813 glibcxx_cv_func_isinf_use=yes
8814 else
8815 echo "$as_me: failed program was:" >&5
8816 sed 's/^/| /' conftest.$ac_ext >&5
8818 glibcxx_cv_func_isinf_use=no
8820 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8821 ac_ext=c
8822 ac_cpp='$CPP $CPPFLAGS'
8823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8831 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
8832 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
8834 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
8836 for ac_func in isinf
8838 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8839 echo "$as_me:$LINENO: checking for $ac_func" >&5
8840 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8841 if eval "test \"\${$as_ac_var+set}\" = set"; then
8842 echo $ECHO_N "(cached) $ECHO_C" >&6
8843 else
8844 if test x$gcc_no_link = xyes; then
8845 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8846 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8847 { (exit 1); exit 1; }; }
8849 cat >conftest.$ac_ext <<_ACEOF
8850 /* confdefs.h. */
8851 _ACEOF
8852 cat confdefs.h >>conftest.$ac_ext
8853 cat >>conftest.$ac_ext <<_ACEOF
8854 /* end confdefs.h. */
8855 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8856 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8857 #define $ac_func innocuous_$ac_func
8859 /* System header to define __stub macros and hopefully few prototypes,
8860 which can conflict with char $ac_func (); below.
8861 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8862 <limits.h> exists even on freestanding compilers. */
8864 #ifdef __STDC__
8865 # include <limits.h>
8866 #else
8867 # include <assert.h>
8868 #endif
8870 #undef $ac_func
8872 /* Override any gcc2 internal prototype to avoid an error. */
8873 #ifdef __cplusplus
8874 extern "C"
8876 #endif
8877 /* We use char because int might match the return type of a gcc2
8878 builtin and then its argument prototype would still apply. */
8879 char $ac_func ();
8880 /* The GNU C library defines this for functions which it implements
8881 to always fail with ENOSYS. Some functions are actually named
8882 something starting with __ and the normal name is an alias. */
8883 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8884 choke me
8885 #else
8886 char (*f) () = $ac_func;
8887 #endif
8888 #ifdef __cplusplus
8890 #endif
8893 main ()
8895 return f != $ac_func;
8897 return 0;
8899 _ACEOF
8900 rm -f conftest.$ac_objext conftest$ac_exeext
8901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8902 (eval $ac_link) 2>conftest.er1
8903 ac_status=$?
8904 grep -v '^ *+' conftest.er1 >conftest.err
8905 rm -f conftest.er1
8906 cat conftest.err >&5
8907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8908 (exit $ac_status); } &&
8909 { ac_try='test -z "$ac_c_werror_flag"
8910 || test ! -s conftest.err'
8911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8912 (eval $ac_try) 2>&5
8913 ac_status=$?
8914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8915 (exit $ac_status); }; } &&
8916 { ac_try='test -s conftest$ac_exeext'
8917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8918 (eval $ac_try) 2>&5
8919 ac_status=$?
8920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8921 (exit $ac_status); }; }; then
8922 eval "$as_ac_var=yes"
8923 else
8924 echo "$as_me: failed program was:" >&5
8925 sed 's/^/| /' conftest.$ac_ext >&5
8927 eval "$as_ac_var=no"
8929 rm -f conftest.err conftest.$ac_objext \
8930 conftest$ac_exeext conftest.$ac_ext
8932 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8933 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8934 if test `eval echo '${'$as_ac_var'}'` = yes; then
8935 cat >>confdefs.h <<_ACEOF
8936 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8937 _ACEOF
8940 done
8942 else
8944 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
8945 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
8946 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
8947 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
8948 echo $ECHO_N "(cached) $ECHO_C" >&6
8949 else
8953 ac_ext=cc
8954 ac_cpp='$CXXCPP $CPPFLAGS'
8955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8959 cat >conftest.$ac_ext <<_ACEOF
8960 /* confdefs.h. */
8961 _ACEOF
8962 cat confdefs.h >>conftest.$ac_ext
8963 cat >>conftest.$ac_ext <<_ACEOF
8964 /* end confdefs.h. */
8965 #include <math.h>
8966 #ifdef HAVE_IEEEFP_H
8967 #include <ieeefp.h>
8968 #endif
8971 main ()
8973 _isinf(0);
8975 return 0;
8977 _ACEOF
8978 rm -f conftest.$ac_objext
8979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8980 (eval $ac_compile) 2>conftest.er1
8981 ac_status=$?
8982 grep -v '^ *+' conftest.er1 >conftest.err
8983 rm -f conftest.er1
8984 cat conftest.err >&5
8985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8986 (exit $ac_status); } &&
8987 { ac_try='test -z "$ac_cxx_werror_flag"
8988 || test ! -s conftest.err'
8989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8990 (eval $ac_try) 2>&5
8991 ac_status=$?
8992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8993 (exit $ac_status); }; } &&
8994 { ac_try='test -s conftest.$ac_objext'
8995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8996 (eval $ac_try) 2>&5
8997 ac_status=$?
8998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8999 (exit $ac_status); }; }; then
9000 glibcxx_cv_func__isinf_use=yes
9001 else
9002 echo "$as_me: failed program was:" >&5
9003 sed 's/^/| /' conftest.$ac_ext >&5
9005 glibcxx_cv_func__isinf_use=no
9007 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9008 ac_ext=c
9009 ac_cpp='$CPP $CPPFLAGS'
9010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9018 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
9019 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
9021 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
9023 for ac_func in _isinf
9025 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9026 echo "$as_me:$LINENO: checking for $ac_func" >&5
9027 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9028 if eval "test \"\${$as_ac_var+set}\" = set"; then
9029 echo $ECHO_N "(cached) $ECHO_C" >&6
9030 else
9031 if test x$gcc_no_link = xyes; then
9032 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9033 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9034 { (exit 1); exit 1; }; }
9036 cat >conftest.$ac_ext <<_ACEOF
9037 /* confdefs.h. */
9038 _ACEOF
9039 cat confdefs.h >>conftest.$ac_ext
9040 cat >>conftest.$ac_ext <<_ACEOF
9041 /* end confdefs.h. */
9042 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9043 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9044 #define $ac_func innocuous_$ac_func
9046 /* System header to define __stub macros and hopefully few prototypes,
9047 which can conflict with char $ac_func (); below.
9048 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9049 <limits.h> exists even on freestanding compilers. */
9051 #ifdef __STDC__
9052 # include <limits.h>
9053 #else
9054 # include <assert.h>
9055 #endif
9057 #undef $ac_func
9059 /* Override any gcc2 internal prototype to avoid an error. */
9060 #ifdef __cplusplus
9061 extern "C"
9063 #endif
9064 /* We use char because int might match the return type of a gcc2
9065 builtin and then its argument prototype would still apply. */
9066 char $ac_func ();
9067 /* The GNU C library defines this for functions which it implements
9068 to always fail with ENOSYS. Some functions are actually named
9069 something starting with __ and the normal name is an alias. */
9070 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9071 choke me
9072 #else
9073 char (*f) () = $ac_func;
9074 #endif
9075 #ifdef __cplusplus
9077 #endif
9080 main ()
9082 return f != $ac_func;
9084 return 0;
9086 _ACEOF
9087 rm -f conftest.$ac_objext conftest$ac_exeext
9088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9089 (eval $ac_link) 2>conftest.er1
9090 ac_status=$?
9091 grep -v '^ *+' conftest.er1 >conftest.err
9092 rm -f conftest.er1
9093 cat conftest.err >&5
9094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9095 (exit $ac_status); } &&
9096 { ac_try='test -z "$ac_c_werror_flag"
9097 || test ! -s conftest.err'
9098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9099 (eval $ac_try) 2>&5
9100 ac_status=$?
9101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9102 (exit $ac_status); }; } &&
9103 { ac_try='test -s conftest$ac_exeext'
9104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9105 (eval $ac_try) 2>&5
9106 ac_status=$?
9107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9108 (exit $ac_status); }; }; then
9109 eval "$as_ac_var=yes"
9110 else
9111 echo "$as_me: failed program was:" >&5
9112 sed 's/^/| /' conftest.$ac_ext >&5
9114 eval "$as_ac_var=no"
9116 rm -f conftest.err conftest.$ac_objext \
9117 conftest$ac_exeext conftest.$ac_ext
9119 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9120 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9121 if test `eval echo '${'$as_ac_var'}'` = yes; then
9122 cat >>confdefs.h <<_ACEOF
9123 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9124 _ACEOF
9127 done
9137 echo "$as_me:$LINENO: checking for isnan declaration" >&5
9138 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
9139 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
9140 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
9141 echo $ECHO_N "(cached) $ECHO_C" >&6
9142 else
9146 ac_ext=cc
9147 ac_cpp='$CXXCPP $CPPFLAGS'
9148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9152 cat >conftest.$ac_ext <<_ACEOF
9153 /* confdefs.h. */
9154 _ACEOF
9155 cat confdefs.h >>conftest.$ac_ext
9156 cat >>conftest.$ac_ext <<_ACEOF
9157 /* end confdefs.h. */
9158 #include <math.h>
9159 #ifdef HAVE_IEEEFP_H
9160 #include <ieeefp.h>
9161 #endif
9164 main ()
9166 isnan(0);
9168 return 0;
9170 _ACEOF
9171 rm -f conftest.$ac_objext
9172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9173 (eval $ac_compile) 2>conftest.er1
9174 ac_status=$?
9175 grep -v '^ *+' conftest.er1 >conftest.err
9176 rm -f conftest.er1
9177 cat conftest.err >&5
9178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9179 (exit $ac_status); } &&
9180 { ac_try='test -z "$ac_cxx_werror_flag"
9181 || test ! -s conftest.err'
9182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9183 (eval $ac_try) 2>&5
9184 ac_status=$?
9185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9186 (exit $ac_status); }; } &&
9187 { ac_try='test -s conftest.$ac_objext'
9188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9189 (eval $ac_try) 2>&5
9190 ac_status=$?
9191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9192 (exit $ac_status); }; }; then
9193 glibcxx_cv_func_isnan_use=yes
9194 else
9195 echo "$as_me: failed program was:" >&5
9196 sed 's/^/| /' conftest.$ac_ext >&5
9198 glibcxx_cv_func_isnan_use=no
9200 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9201 ac_ext=c
9202 ac_cpp='$CPP $CPPFLAGS'
9203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9211 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
9212 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
9214 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
9216 for ac_func in isnan
9218 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9219 echo "$as_me:$LINENO: checking for $ac_func" >&5
9220 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9221 if eval "test \"\${$as_ac_var+set}\" = set"; then
9222 echo $ECHO_N "(cached) $ECHO_C" >&6
9223 else
9224 if test x$gcc_no_link = xyes; then
9225 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9226 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9227 { (exit 1); exit 1; }; }
9229 cat >conftest.$ac_ext <<_ACEOF
9230 /* confdefs.h. */
9231 _ACEOF
9232 cat confdefs.h >>conftest.$ac_ext
9233 cat >>conftest.$ac_ext <<_ACEOF
9234 /* end confdefs.h. */
9235 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9236 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9237 #define $ac_func innocuous_$ac_func
9239 /* System header to define __stub macros and hopefully few prototypes,
9240 which can conflict with char $ac_func (); below.
9241 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9242 <limits.h> exists even on freestanding compilers. */
9244 #ifdef __STDC__
9245 # include <limits.h>
9246 #else
9247 # include <assert.h>
9248 #endif
9250 #undef $ac_func
9252 /* Override any gcc2 internal prototype to avoid an error. */
9253 #ifdef __cplusplus
9254 extern "C"
9256 #endif
9257 /* We use char because int might match the return type of a gcc2
9258 builtin and then its argument prototype would still apply. */
9259 char $ac_func ();
9260 /* The GNU C library defines this for functions which it implements
9261 to always fail with ENOSYS. Some functions are actually named
9262 something starting with __ and the normal name is an alias. */
9263 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9264 choke me
9265 #else
9266 char (*f) () = $ac_func;
9267 #endif
9268 #ifdef __cplusplus
9270 #endif
9273 main ()
9275 return f != $ac_func;
9277 return 0;
9279 _ACEOF
9280 rm -f conftest.$ac_objext conftest$ac_exeext
9281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9282 (eval $ac_link) 2>conftest.er1
9283 ac_status=$?
9284 grep -v '^ *+' conftest.er1 >conftest.err
9285 rm -f conftest.er1
9286 cat conftest.err >&5
9287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9288 (exit $ac_status); } &&
9289 { ac_try='test -z "$ac_c_werror_flag"
9290 || test ! -s conftest.err'
9291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9292 (eval $ac_try) 2>&5
9293 ac_status=$?
9294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9295 (exit $ac_status); }; } &&
9296 { ac_try='test -s conftest$ac_exeext'
9297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9298 (eval $ac_try) 2>&5
9299 ac_status=$?
9300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9301 (exit $ac_status); }; }; then
9302 eval "$as_ac_var=yes"
9303 else
9304 echo "$as_me: failed program was:" >&5
9305 sed 's/^/| /' conftest.$ac_ext >&5
9307 eval "$as_ac_var=no"
9309 rm -f conftest.err conftest.$ac_objext \
9310 conftest$ac_exeext conftest.$ac_ext
9312 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9313 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9314 if test `eval echo '${'$as_ac_var'}'` = yes; then
9315 cat >>confdefs.h <<_ACEOF
9316 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9317 _ACEOF
9320 done
9322 else
9324 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
9325 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
9326 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
9327 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
9328 echo $ECHO_N "(cached) $ECHO_C" >&6
9329 else
9333 ac_ext=cc
9334 ac_cpp='$CXXCPP $CPPFLAGS'
9335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9339 cat >conftest.$ac_ext <<_ACEOF
9340 /* confdefs.h. */
9341 _ACEOF
9342 cat confdefs.h >>conftest.$ac_ext
9343 cat >>conftest.$ac_ext <<_ACEOF
9344 /* end confdefs.h. */
9345 #include <math.h>
9346 #ifdef HAVE_IEEEFP_H
9347 #include <ieeefp.h>
9348 #endif
9351 main ()
9353 _isnan(0);
9355 return 0;
9357 _ACEOF
9358 rm -f conftest.$ac_objext
9359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9360 (eval $ac_compile) 2>conftest.er1
9361 ac_status=$?
9362 grep -v '^ *+' conftest.er1 >conftest.err
9363 rm -f conftest.er1
9364 cat conftest.err >&5
9365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9366 (exit $ac_status); } &&
9367 { ac_try='test -z "$ac_cxx_werror_flag"
9368 || test ! -s conftest.err'
9369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9370 (eval $ac_try) 2>&5
9371 ac_status=$?
9372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9373 (exit $ac_status); }; } &&
9374 { ac_try='test -s conftest.$ac_objext'
9375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9376 (eval $ac_try) 2>&5
9377 ac_status=$?
9378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9379 (exit $ac_status); }; }; then
9380 glibcxx_cv_func__isnan_use=yes
9381 else
9382 echo "$as_me: failed program was:" >&5
9383 sed 's/^/| /' conftest.$ac_ext >&5
9385 glibcxx_cv_func__isnan_use=no
9387 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9388 ac_ext=c
9389 ac_cpp='$CPP $CPPFLAGS'
9390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9398 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
9399 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
9401 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
9403 for ac_func in _isnan
9405 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9406 echo "$as_me:$LINENO: checking for $ac_func" >&5
9407 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9408 if eval "test \"\${$as_ac_var+set}\" = set"; then
9409 echo $ECHO_N "(cached) $ECHO_C" >&6
9410 else
9411 if test x$gcc_no_link = xyes; then
9412 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9413 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9414 { (exit 1); exit 1; }; }
9416 cat >conftest.$ac_ext <<_ACEOF
9417 /* confdefs.h. */
9418 _ACEOF
9419 cat confdefs.h >>conftest.$ac_ext
9420 cat >>conftest.$ac_ext <<_ACEOF
9421 /* end confdefs.h. */
9422 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9423 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9424 #define $ac_func innocuous_$ac_func
9426 /* System header to define __stub macros and hopefully few prototypes,
9427 which can conflict with char $ac_func (); below.
9428 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9429 <limits.h> exists even on freestanding compilers. */
9431 #ifdef __STDC__
9432 # include <limits.h>
9433 #else
9434 # include <assert.h>
9435 #endif
9437 #undef $ac_func
9439 /* Override any gcc2 internal prototype to avoid an error. */
9440 #ifdef __cplusplus
9441 extern "C"
9443 #endif
9444 /* We use char because int might match the return type of a gcc2
9445 builtin and then its argument prototype would still apply. */
9446 char $ac_func ();
9447 /* The GNU C library defines this for functions which it implements
9448 to always fail with ENOSYS. Some functions are actually named
9449 something starting with __ and the normal name is an alias. */
9450 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9451 choke me
9452 #else
9453 char (*f) () = $ac_func;
9454 #endif
9455 #ifdef __cplusplus
9457 #endif
9460 main ()
9462 return f != $ac_func;
9464 return 0;
9466 _ACEOF
9467 rm -f conftest.$ac_objext conftest$ac_exeext
9468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9469 (eval $ac_link) 2>conftest.er1
9470 ac_status=$?
9471 grep -v '^ *+' conftest.er1 >conftest.err
9472 rm -f conftest.er1
9473 cat conftest.err >&5
9474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9475 (exit $ac_status); } &&
9476 { ac_try='test -z "$ac_c_werror_flag"
9477 || test ! -s conftest.err'
9478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9479 (eval $ac_try) 2>&5
9480 ac_status=$?
9481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9482 (exit $ac_status); }; } &&
9483 { ac_try='test -s conftest$ac_exeext'
9484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9485 (eval $ac_try) 2>&5
9486 ac_status=$?
9487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9488 (exit $ac_status); }; }; then
9489 eval "$as_ac_var=yes"
9490 else
9491 echo "$as_me: failed program was:" >&5
9492 sed 's/^/| /' conftest.$ac_ext >&5
9494 eval "$as_ac_var=no"
9496 rm -f conftest.err conftest.$ac_objext \
9497 conftest$ac_exeext conftest.$ac_ext
9499 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9500 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9501 if test `eval echo '${'$as_ac_var'}'` = yes; then
9502 cat >>confdefs.h <<_ACEOF
9503 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9504 _ACEOF
9507 done
9517 echo "$as_me:$LINENO: checking for finite declaration" >&5
9518 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
9519 if test x${glibcxx_cv_func_finite_use+set} != xset; then
9520 if test "${glibcxx_cv_func_finite_use+set}" = set; then
9521 echo $ECHO_N "(cached) $ECHO_C" >&6
9522 else
9526 ac_ext=cc
9527 ac_cpp='$CXXCPP $CPPFLAGS'
9528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9532 cat >conftest.$ac_ext <<_ACEOF
9533 /* confdefs.h. */
9534 _ACEOF
9535 cat confdefs.h >>conftest.$ac_ext
9536 cat >>conftest.$ac_ext <<_ACEOF
9537 /* end confdefs.h. */
9538 #include <math.h>
9539 #ifdef HAVE_IEEEFP_H
9540 #include <ieeefp.h>
9541 #endif
9544 main ()
9546 finite(0);
9548 return 0;
9550 _ACEOF
9551 rm -f conftest.$ac_objext
9552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9553 (eval $ac_compile) 2>conftest.er1
9554 ac_status=$?
9555 grep -v '^ *+' conftest.er1 >conftest.err
9556 rm -f conftest.er1
9557 cat conftest.err >&5
9558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9559 (exit $ac_status); } &&
9560 { ac_try='test -z "$ac_cxx_werror_flag"
9561 || test ! -s conftest.err'
9562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9563 (eval $ac_try) 2>&5
9564 ac_status=$?
9565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9566 (exit $ac_status); }; } &&
9567 { ac_try='test -s conftest.$ac_objext'
9568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9569 (eval $ac_try) 2>&5
9570 ac_status=$?
9571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9572 (exit $ac_status); }; }; then
9573 glibcxx_cv_func_finite_use=yes
9574 else
9575 echo "$as_me: failed program was:" >&5
9576 sed 's/^/| /' conftest.$ac_ext >&5
9578 glibcxx_cv_func_finite_use=no
9580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9581 ac_ext=c
9582 ac_cpp='$CPP $CPPFLAGS'
9583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9591 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
9592 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
9594 if test x$glibcxx_cv_func_finite_use = x"yes"; then
9596 for ac_func in finite
9598 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9599 echo "$as_me:$LINENO: checking for $ac_func" >&5
9600 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9601 if eval "test \"\${$as_ac_var+set}\" = set"; then
9602 echo $ECHO_N "(cached) $ECHO_C" >&6
9603 else
9604 if test x$gcc_no_link = xyes; then
9605 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9606 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9607 { (exit 1); exit 1; }; }
9609 cat >conftest.$ac_ext <<_ACEOF
9610 /* confdefs.h. */
9611 _ACEOF
9612 cat confdefs.h >>conftest.$ac_ext
9613 cat >>conftest.$ac_ext <<_ACEOF
9614 /* end confdefs.h. */
9615 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9616 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9617 #define $ac_func innocuous_$ac_func
9619 /* System header to define __stub macros and hopefully few prototypes,
9620 which can conflict with char $ac_func (); below.
9621 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9622 <limits.h> exists even on freestanding compilers. */
9624 #ifdef __STDC__
9625 # include <limits.h>
9626 #else
9627 # include <assert.h>
9628 #endif
9630 #undef $ac_func
9632 /* Override any gcc2 internal prototype to avoid an error. */
9633 #ifdef __cplusplus
9634 extern "C"
9636 #endif
9637 /* We use char because int might match the return type of a gcc2
9638 builtin and then its argument prototype would still apply. */
9639 char $ac_func ();
9640 /* The GNU C library defines this for functions which it implements
9641 to always fail with ENOSYS. Some functions are actually named
9642 something starting with __ and the normal name is an alias. */
9643 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9644 choke me
9645 #else
9646 char (*f) () = $ac_func;
9647 #endif
9648 #ifdef __cplusplus
9650 #endif
9653 main ()
9655 return f != $ac_func;
9657 return 0;
9659 _ACEOF
9660 rm -f conftest.$ac_objext conftest$ac_exeext
9661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9662 (eval $ac_link) 2>conftest.er1
9663 ac_status=$?
9664 grep -v '^ *+' conftest.er1 >conftest.err
9665 rm -f conftest.er1
9666 cat conftest.err >&5
9667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9668 (exit $ac_status); } &&
9669 { ac_try='test -z "$ac_c_werror_flag"
9670 || test ! -s conftest.err'
9671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9672 (eval $ac_try) 2>&5
9673 ac_status=$?
9674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9675 (exit $ac_status); }; } &&
9676 { ac_try='test -s conftest$ac_exeext'
9677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9678 (eval $ac_try) 2>&5
9679 ac_status=$?
9680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9681 (exit $ac_status); }; }; then
9682 eval "$as_ac_var=yes"
9683 else
9684 echo "$as_me: failed program was:" >&5
9685 sed 's/^/| /' conftest.$ac_ext >&5
9687 eval "$as_ac_var=no"
9689 rm -f conftest.err conftest.$ac_objext \
9690 conftest$ac_exeext conftest.$ac_ext
9692 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9693 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9694 if test `eval echo '${'$as_ac_var'}'` = yes; then
9695 cat >>confdefs.h <<_ACEOF
9696 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9697 _ACEOF
9700 done
9702 else
9704 echo "$as_me:$LINENO: checking for _finite declaration" >&5
9705 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
9706 if test x${glibcxx_cv_func__finite_use+set} != xset; then
9707 if test "${glibcxx_cv_func__finite_use+set}" = set; then
9708 echo $ECHO_N "(cached) $ECHO_C" >&6
9709 else
9713 ac_ext=cc
9714 ac_cpp='$CXXCPP $CPPFLAGS'
9715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9719 cat >conftest.$ac_ext <<_ACEOF
9720 /* confdefs.h. */
9721 _ACEOF
9722 cat confdefs.h >>conftest.$ac_ext
9723 cat >>conftest.$ac_ext <<_ACEOF
9724 /* end confdefs.h. */
9725 #include <math.h>
9726 #ifdef HAVE_IEEEFP_H
9727 #include <ieeefp.h>
9728 #endif
9731 main ()
9733 _finite(0);
9735 return 0;
9737 _ACEOF
9738 rm -f conftest.$ac_objext
9739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9740 (eval $ac_compile) 2>conftest.er1
9741 ac_status=$?
9742 grep -v '^ *+' conftest.er1 >conftest.err
9743 rm -f conftest.er1
9744 cat conftest.err >&5
9745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9746 (exit $ac_status); } &&
9747 { ac_try='test -z "$ac_cxx_werror_flag"
9748 || test ! -s conftest.err'
9749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9750 (eval $ac_try) 2>&5
9751 ac_status=$?
9752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9753 (exit $ac_status); }; } &&
9754 { ac_try='test -s conftest.$ac_objext'
9755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9756 (eval $ac_try) 2>&5
9757 ac_status=$?
9758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9759 (exit $ac_status); }; }; then
9760 glibcxx_cv_func__finite_use=yes
9761 else
9762 echo "$as_me: failed program was:" >&5
9763 sed 's/^/| /' conftest.$ac_ext >&5
9765 glibcxx_cv_func__finite_use=no
9767 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9768 ac_ext=c
9769 ac_cpp='$CPP $CPPFLAGS'
9770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9778 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
9779 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
9781 if test x$glibcxx_cv_func__finite_use = x"yes"; then
9783 for ac_func in _finite
9785 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9786 echo "$as_me:$LINENO: checking for $ac_func" >&5
9787 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9788 if eval "test \"\${$as_ac_var+set}\" = set"; then
9789 echo $ECHO_N "(cached) $ECHO_C" >&6
9790 else
9791 if test x$gcc_no_link = xyes; then
9792 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9793 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9794 { (exit 1); exit 1; }; }
9796 cat >conftest.$ac_ext <<_ACEOF
9797 /* confdefs.h. */
9798 _ACEOF
9799 cat confdefs.h >>conftest.$ac_ext
9800 cat >>conftest.$ac_ext <<_ACEOF
9801 /* end confdefs.h. */
9802 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9803 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9804 #define $ac_func innocuous_$ac_func
9806 /* System header to define __stub macros and hopefully few prototypes,
9807 which can conflict with char $ac_func (); below.
9808 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9809 <limits.h> exists even on freestanding compilers. */
9811 #ifdef __STDC__
9812 # include <limits.h>
9813 #else
9814 # include <assert.h>
9815 #endif
9817 #undef $ac_func
9819 /* Override any gcc2 internal prototype to avoid an error. */
9820 #ifdef __cplusplus
9821 extern "C"
9823 #endif
9824 /* We use char because int might match the return type of a gcc2
9825 builtin and then its argument prototype would still apply. */
9826 char $ac_func ();
9827 /* The GNU C library defines this for functions which it implements
9828 to always fail with ENOSYS. Some functions are actually named
9829 something starting with __ and the normal name is an alias. */
9830 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9831 choke me
9832 #else
9833 char (*f) () = $ac_func;
9834 #endif
9835 #ifdef __cplusplus
9837 #endif
9840 main ()
9842 return f != $ac_func;
9844 return 0;
9846 _ACEOF
9847 rm -f conftest.$ac_objext conftest$ac_exeext
9848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9849 (eval $ac_link) 2>conftest.er1
9850 ac_status=$?
9851 grep -v '^ *+' conftest.er1 >conftest.err
9852 rm -f conftest.er1
9853 cat conftest.err >&5
9854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9855 (exit $ac_status); } &&
9856 { ac_try='test -z "$ac_c_werror_flag"
9857 || test ! -s conftest.err'
9858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9859 (eval $ac_try) 2>&5
9860 ac_status=$?
9861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9862 (exit $ac_status); }; } &&
9863 { ac_try='test -s conftest$ac_exeext'
9864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9865 (eval $ac_try) 2>&5
9866 ac_status=$?
9867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9868 (exit $ac_status); }; }; then
9869 eval "$as_ac_var=yes"
9870 else
9871 echo "$as_me: failed program was:" >&5
9872 sed 's/^/| /' conftest.$ac_ext >&5
9874 eval "$as_ac_var=no"
9876 rm -f conftest.err conftest.$ac_objext \
9877 conftest$ac_exeext conftest.$ac_ext
9879 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9880 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9881 if test `eval echo '${'$as_ac_var'}'` = yes; then
9882 cat >>confdefs.h <<_ACEOF
9883 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9884 _ACEOF
9887 done
9897 echo "$as_me:$LINENO: checking for copysign declaration" >&5
9898 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
9899 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
9900 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
9901 echo $ECHO_N "(cached) $ECHO_C" >&6
9902 else
9906 ac_ext=cc
9907 ac_cpp='$CXXCPP $CPPFLAGS'
9908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9912 cat >conftest.$ac_ext <<_ACEOF
9913 /* confdefs.h. */
9914 _ACEOF
9915 cat confdefs.h >>conftest.$ac_ext
9916 cat >>conftest.$ac_ext <<_ACEOF
9917 /* end confdefs.h. */
9918 #include <math.h>
9920 main ()
9922 copysign(0, 0);
9924 return 0;
9926 _ACEOF
9927 rm -f conftest.$ac_objext
9928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9929 (eval $ac_compile) 2>conftest.er1
9930 ac_status=$?
9931 grep -v '^ *+' conftest.er1 >conftest.err
9932 rm -f conftest.er1
9933 cat conftest.err >&5
9934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9935 (exit $ac_status); } &&
9936 { ac_try='test -z "$ac_cxx_werror_flag"
9937 || test ! -s conftest.err'
9938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9939 (eval $ac_try) 2>&5
9940 ac_status=$?
9941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9942 (exit $ac_status); }; } &&
9943 { ac_try='test -s conftest.$ac_objext'
9944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9945 (eval $ac_try) 2>&5
9946 ac_status=$?
9947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9948 (exit $ac_status); }; }; then
9949 glibcxx_cv_func_copysign_use=yes
9950 else
9951 echo "$as_me: failed program was:" >&5
9952 sed 's/^/| /' conftest.$ac_ext >&5
9954 glibcxx_cv_func_copysign_use=no
9956 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9957 ac_ext=c
9958 ac_cpp='$CPP $CPPFLAGS'
9959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9967 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
9968 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
9970 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
9972 for ac_func in copysign
9974 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9975 echo "$as_me:$LINENO: checking for $ac_func" >&5
9976 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9977 if eval "test \"\${$as_ac_var+set}\" = set"; then
9978 echo $ECHO_N "(cached) $ECHO_C" >&6
9979 else
9980 if test x$gcc_no_link = xyes; then
9981 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9982 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9983 { (exit 1); exit 1; }; }
9985 cat >conftest.$ac_ext <<_ACEOF
9986 /* confdefs.h. */
9987 _ACEOF
9988 cat confdefs.h >>conftest.$ac_ext
9989 cat >>conftest.$ac_ext <<_ACEOF
9990 /* end confdefs.h. */
9991 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9992 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9993 #define $ac_func innocuous_$ac_func
9995 /* System header to define __stub macros and hopefully few prototypes,
9996 which can conflict with char $ac_func (); below.
9997 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9998 <limits.h> exists even on freestanding compilers. */
10000 #ifdef __STDC__
10001 # include <limits.h>
10002 #else
10003 # include <assert.h>
10004 #endif
10006 #undef $ac_func
10008 /* Override any gcc2 internal prototype to avoid an error. */
10009 #ifdef __cplusplus
10010 extern "C"
10012 #endif
10013 /* We use char because int might match the return type of a gcc2
10014 builtin and then its argument prototype would still apply. */
10015 char $ac_func ();
10016 /* The GNU C library defines this for functions which it implements
10017 to always fail with ENOSYS. Some functions are actually named
10018 something starting with __ and the normal name is an alias. */
10019 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10020 choke me
10021 #else
10022 char (*f) () = $ac_func;
10023 #endif
10024 #ifdef __cplusplus
10026 #endif
10029 main ()
10031 return f != $ac_func;
10033 return 0;
10035 _ACEOF
10036 rm -f conftest.$ac_objext conftest$ac_exeext
10037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10038 (eval $ac_link) 2>conftest.er1
10039 ac_status=$?
10040 grep -v '^ *+' conftest.er1 >conftest.err
10041 rm -f conftest.er1
10042 cat conftest.err >&5
10043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10044 (exit $ac_status); } &&
10045 { ac_try='test -z "$ac_c_werror_flag"
10046 || test ! -s conftest.err'
10047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10048 (eval $ac_try) 2>&5
10049 ac_status=$?
10050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10051 (exit $ac_status); }; } &&
10052 { ac_try='test -s conftest$ac_exeext'
10053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10054 (eval $ac_try) 2>&5
10055 ac_status=$?
10056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10057 (exit $ac_status); }; }; then
10058 eval "$as_ac_var=yes"
10059 else
10060 echo "$as_me: failed program was:" >&5
10061 sed 's/^/| /' conftest.$ac_ext >&5
10063 eval "$as_ac_var=no"
10065 rm -f conftest.err conftest.$ac_objext \
10066 conftest$ac_exeext conftest.$ac_ext
10068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10069 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10070 if test `eval echo '${'$as_ac_var'}'` = yes; then
10071 cat >>confdefs.h <<_ACEOF
10072 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10073 _ACEOF
10076 done
10078 else
10080 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
10081 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
10082 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
10083 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
10084 echo $ECHO_N "(cached) $ECHO_C" >&6
10085 else
10089 ac_ext=cc
10090 ac_cpp='$CXXCPP $CPPFLAGS'
10091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10095 cat >conftest.$ac_ext <<_ACEOF
10096 /* confdefs.h. */
10097 _ACEOF
10098 cat confdefs.h >>conftest.$ac_ext
10099 cat >>conftest.$ac_ext <<_ACEOF
10100 /* end confdefs.h. */
10101 #include <math.h>
10103 main ()
10105 _copysign(0, 0);
10107 return 0;
10109 _ACEOF
10110 rm -f conftest.$ac_objext
10111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10112 (eval $ac_compile) 2>conftest.er1
10113 ac_status=$?
10114 grep -v '^ *+' conftest.er1 >conftest.err
10115 rm -f conftest.er1
10116 cat conftest.err >&5
10117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10118 (exit $ac_status); } &&
10119 { ac_try='test -z "$ac_cxx_werror_flag"
10120 || test ! -s conftest.err'
10121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10122 (eval $ac_try) 2>&5
10123 ac_status=$?
10124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10125 (exit $ac_status); }; } &&
10126 { ac_try='test -s conftest.$ac_objext'
10127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10128 (eval $ac_try) 2>&5
10129 ac_status=$?
10130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10131 (exit $ac_status); }; }; then
10132 glibcxx_cv_func__copysign_use=yes
10133 else
10134 echo "$as_me: failed program was:" >&5
10135 sed 's/^/| /' conftest.$ac_ext >&5
10137 glibcxx_cv_func__copysign_use=no
10139 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10140 ac_ext=c
10141 ac_cpp='$CPP $CPPFLAGS'
10142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10150 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
10151 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
10153 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
10155 for ac_func in _copysign
10157 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10158 echo "$as_me:$LINENO: checking for $ac_func" >&5
10159 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10160 if eval "test \"\${$as_ac_var+set}\" = set"; then
10161 echo $ECHO_N "(cached) $ECHO_C" >&6
10162 else
10163 if test x$gcc_no_link = xyes; then
10164 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10165 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10166 { (exit 1); exit 1; }; }
10168 cat >conftest.$ac_ext <<_ACEOF
10169 /* confdefs.h. */
10170 _ACEOF
10171 cat confdefs.h >>conftest.$ac_ext
10172 cat >>conftest.$ac_ext <<_ACEOF
10173 /* end confdefs.h. */
10174 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10175 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10176 #define $ac_func innocuous_$ac_func
10178 /* System header to define __stub macros and hopefully few prototypes,
10179 which can conflict with char $ac_func (); below.
10180 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10181 <limits.h> exists even on freestanding compilers. */
10183 #ifdef __STDC__
10184 # include <limits.h>
10185 #else
10186 # include <assert.h>
10187 #endif
10189 #undef $ac_func
10191 /* Override any gcc2 internal prototype to avoid an error. */
10192 #ifdef __cplusplus
10193 extern "C"
10195 #endif
10196 /* We use char because int might match the return type of a gcc2
10197 builtin and then its argument prototype would still apply. */
10198 char $ac_func ();
10199 /* The GNU C library defines this for functions which it implements
10200 to always fail with ENOSYS. Some functions are actually named
10201 something starting with __ and the normal name is an alias. */
10202 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10203 choke me
10204 #else
10205 char (*f) () = $ac_func;
10206 #endif
10207 #ifdef __cplusplus
10209 #endif
10212 main ()
10214 return f != $ac_func;
10216 return 0;
10218 _ACEOF
10219 rm -f conftest.$ac_objext conftest$ac_exeext
10220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10221 (eval $ac_link) 2>conftest.er1
10222 ac_status=$?
10223 grep -v '^ *+' conftest.er1 >conftest.err
10224 rm -f conftest.er1
10225 cat conftest.err >&5
10226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10227 (exit $ac_status); } &&
10228 { ac_try='test -z "$ac_c_werror_flag"
10229 || test ! -s conftest.err'
10230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10231 (eval $ac_try) 2>&5
10232 ac_status=$?
10233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10234 (exit $ac_status); }; } &&
10235 { ac_try='test -s conftest$ac_exeext'
10236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10237 (eval $ac_try) 2>&5
10238 ac_status=$?
10239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10240 (exit $ac_status); }; }; then
10241 eval "$as_ac_var=yes"
10242 else
10243 echo "$as_me: failed program was:" >&5
10244 sed 's/^/| /' conftest.$ac_ext >&5
10246 eval "$as_ac_var=no"
10248 rm -f conftest.err conftest.$ac_objext \
10249 conftest$ac_exeext conftest.$ac_ext
10251 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10252 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10253 if test `eval echo '${'$as_ac_var'}'` = yes; then
10254 cat >>confdefs.h <<_ACEOF
10255 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10256 _ACEOF
10259 done
10269 echo "$as_me:$LINENO: checking for sincos declaration" >&5
10270 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
10271 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
10272 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
10273 echo $ECHO_N "(cached) $ECHO_C" >&6
10274 else
10278 ac_ext=cc
10279 ac_cpp='$CXXCPP $CPPFLAGS'
10280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10284 cat >conftest.$ac_ext <<_ACEOF
10285 /* confdefs.h. */
10286 _ACEOF
10287 cat confdefs.h >>conftest.$ac_ext
10288 cat >>conftest.$ac_ext <<_ACEOF
10289 /* end confdefs.h. */
10290 #include <math.h>
10292 main ()
10294 sincos(0, 0, 0);
10296 return 0;
10298 _ACEOF
10299 rm -f conftest.$ac_objext
10300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10301 (eval $ac_compile) 2>conftest.er1
10302 ac_status=$?
10303 grep -v '^ *+' conftest.er1 >conftest.err
10304 rm -f conftest.er1
10305 cat conftest.err >&5
10306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10307 (exit $ac_status); } &&
10308 { ac_try='test -z "$ac_cxx_werror_flag"
10309 || test ! -s conftest.err'
10310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10311 (eval $ac_try) 2>&5
10312 ac_status=$?
10313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10314 (exit $ac_status); }; } &&
10315 { ac_try='test -s conftest.$ac_objext'
10316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10317 (eval $ac_try) 2>&5
10318 ac_status=$?
10319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10320 (exit $ac_status); }; }; then
10321 glibcxx_cv_func_sincos_use=yes
10322 else
10323 echo "$as_me: failed program was:" >&5
10324 sed 's/^/| /' conftest.$ac_ext >&5
10326 glibcxx_cv_func_sincos_use=no
10328 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10329 ac_ext=c
10330 ac_cpp='$CPP $CPPFLAGS'
10331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10339 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
10340 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
10342 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
10344 for ac_func in sincos
10346 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10347 echo "$as_me:$LINENO: checking for $ac_func" >&5
10348 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10349 if eval "test \"\${$as_ac_var+set}\" = set"; then
10350 echo $ECHO_N "(cached) $ECHO_C" >&6
10351 else
10352 if test x$gcc_no_link = xyes; then
10353 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10354 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10355 { (exit 1); exit 1; }; }
10357 cat >conftest.$ac_ext <<_ACEOF
10358 /* confdefs.h. */
10359 _ACEOF
10360 cat confdefs.h >>conftest.$ac_ext
10361 cat >>conftest.$ac_ext <<_ACEOF
10362 /* end confdefs.h. */
10363 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10364 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10365 #define $ac_func innocuous_$ac_func
10367 /* System header to define __stub macros and hopefully few prototypes,
10368 which can conflict with char $ac_func (); below.
10369 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10370 <limits.h> exists even on freestanding compilers. */
10372 #ifdef __STDC__
10373 # include <limits.h>
10374 #else
10375 # include <assert.h>
10376 #endif
10378 #undef $ac_func
10380 /* Override any gcc2 internal prototype to avoid an error. */
10381 #ifdef __cplusplus
10382 extern "C"
10384 #endif
10385 /* We use char because int might match the return type of a gcc2
10386 builtin and then its argument prototype would still apply. */
10387 char $ac_func ();
10388 /* The GNU C library defines this for functions which it implements
10389 to always fail with ENOSYS. Some functions are actually named
10390 something starting with __ and the normal name is an alias. */
10391 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10392 choke me
10393 #else
10394 char (*f) () = $ac_func;
10395 #endif
10396 #ifdef __cplusplus
10398 #endif
10401 main ()
10403 return f != $ac_func;
10405 return 0;
10407 _ACEOF
10408 rm -f conftest.$ac_objext conftest$ac_exeext
10409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10410 (eval $ac_link) 2>conftest.er1
10411 ac_status=$?
10412 grep -v '^ *+' conftest.er1 >conftest.err
10413 rm -f conftest.er1
10414 cat conftest.err >&5
10415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10416 (exit $ac_status); } &&
10417 { ac_try='test -z "$ac_c_werror_flag"
10418 || test ! -s conftest.err'
10419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10420 (eval $ac_try) 2>&5
10421 ac_status=$?
10422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10423 (exit $ac_status); }; } &&
10424 { ac_try='test -s conftest$ac_exeext'
10425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10426 (eval $ac_try) 2>&5
10427 ac_status=$?
10428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10429 (exit $ac_status); }; }; then
10430 eval "$as_ac_var=yes"
10431 else
10432 echo "$as_me: failed program was:" >&5
10433 sed 's/^/| /' conftest.$ac_ext >&5
10435 eval "$as_ac_var=no"
10437 rm -f conftest.err conftest.$ac_objext \
10438 conftest$ac_exeext conftest.$ac_ext
10440 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10441 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10442 if test `eval echo '${'$as_ac_var'}'` = yes; then
10443 cat >>confdefs.h <<_ACEOF
10444 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10445 _ACEOF
10448 done
10450 else
10452 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
10453 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
10454 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
10455 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
10456 echo $ECHO_N "(cached) $ECHO_C" >&6
10457 else
10461 ac_ext=cc
10462 ac_cpp='$CXXCPP $CPPFLAGS'
10463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10467 cat >conftest.$ac_ext <<_ACEOF
10468 /* confdefs.h. */
10469 _ACEOF
10470 cat confdefs.h >>conftest.$ac_ext
10471 cat >>conftest.$ac_ext <<_ACEOF
10472 /* end confdefs.h. */
10473 #include <math.h>
10475 main ()
10477 _sincos(0, 0, 0);
10479 return 0;
10481 _ACEOF
10482 rm -f conftest.$ac_objext
10483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10484 (eval $ac_compile) 2>conftest.er1
10485 ac_status=$?
10486 grep -v '^ *+' conftest.er1 >conftest.err
10487 rm -f conftest.er1
10488 cat conftest.err >&5
10489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10490 (exit $ac_status); } &&
10491 { ac_try='test -z "$ac_cxx_werror_flag"
10492 || test ! -s conftest.err'
10493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10494 (eval $ac_try) 2>&5
10495 ac_status=$?
10496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10497 (exit $ac_status); }; } &&
10498 { ac_try='test -s conftest.$ac_objext'
10499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10500 (eval $ac_try) 2>&5
10501 ac_status=$?
10502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10503 (exit $ac_status); }; }; then
10504 glibcxx_cv_func__sincos_use=yes
10505 else
10506 echo "$as_me: failed program was:" >&5
10507 sed 's/^/| /' conftest.$ac_ext >&5
10509 glibcxx_cv_func__sincos_use=no
10511 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10512 ac_ext=c
10513 ac_cpp='$CPP $CPPFLAGS'
10514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10522 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
10523 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
10525 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
10527 for ac_func in _sincos
10529 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10530 echo "$as_me:$LINENO: checking for $ac_func" >&5
10531 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10532 if eval "test \"\${$as_ac_var+set}\" = set"; then
10533 echo $ECHO_N "(cached) $ECHO_C" >&6
10534 else
10535 if test x$gcc_no_link = xyes; then
10536 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10537 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10538 { (exit 1); exit 1; }; }
10540 cat >conftest.$ac_ext <<_ACEOF
10541 /* confdefs.h. */
10542 _ACEOF
10543 cat confdefs.h >>conftest.$ac_ext
10544 cat >>conftest.$ac_ext <<_ACEOF
10545 /* end confdefs.h. */
10546 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10547 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10548 #define $ac_func innocuous_$ac_func
10550 /* System header to define __stub macros and hopefully few prototypes,
10551 which can conflict with char $ac_func (); below.
10552 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10553 <limits.h> exists even on freestanding compilers. */
10555 #ifdef __STDC__
10556 # include <limits.h>
10557 #else
10558 # include <assert.h>
10559 #endif
10561 #undef $ac_func
10563 /* Override any gcc2 internal prototype to avoid an error. */
10564 #ifdef __cplusplus
10565 extern "C"
10567 #endif
10568 /* We use char because int might match the return type of a gcc2
10569 builtin and then its argument prototype would still apply. */
10570 char $ac_func ();
10571 /* The GNU C library defines this for functions which it implements
10572 to always fail with ENOSYS. Some functions are actually named
10573 something starting with __ and the normal name is an alias. */
10574 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10575 choke me
10576 #else
10577 char (*f) () = $ac_func;
10578 #endif
10579 #ifdef __cplusplus
10581 #endif
10584 main ()
10586 return f != $ac_func;
10588 return 0;
10590 _ACEOF
10591 rm -f conftest.$ac_objext conftest$ac_exeext
10592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10593 (eval $ac_link) 2>conftest.er1
10594 ac_status=$?
10595 grep -v '^ *+' conftest.er1 >conftest.err
10596 rm -f conftest.er1
10597 cat conftest.err >&5
10598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10599 (exit $ac_status); } &&
10600 { ac_try='test -z "$ac_c_werror_flag"
10601 || test ! -s conftest.err'
10602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10603 (eval $ac_try) 2>&5
10604 ac_status=$?
10605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10606 (exit $ac_status); }; } &&
10607 { ac_try='test -s conftest$ac_exeext'
10608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10609 (eval $ac_try) 2>&5
10610 ac_status=$?
10611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10612 (exit $ac_status); }; }; then
10613 eval "$as_ac_var=yes"
10614 else
10615 echo "$as_me: failed program was:" >&5
10616 sed 's/^/| /' conftest.$ac_ext >&5
10618 eval "$as_ac_var=no"
10620 rm -f conftest.err conftest.$ac_objext \
10621 conftest$ac_exeext conftest.$ac_ext
10623 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10624 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10625 if test `eval echo '${'$as_ac_var'}'` = yes; then
10626 cat >>confdefs.h <<_ACEOF
10627 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10628 _ACEOF
10631 done
10641 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
10642 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
10643 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
10644 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
10645 echo $ECHO_N "(cached) $ECHO_C" >&6
10646 else
10650 ac_ext=cc
10651 ac_cpp='$CXXCPP $CPPFLAGS'
10652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10656 cat >conftest.$ac_ext <<_ACEOF
10657 /* confdefs.h. */
10658 _ACEOF
10659 cat confdefs.h >>conftest.$ac_ext
10660 cat >>conftest.$ac_ext <<_ACEOF
10661 /* end confdefs.h. */
10662 #include <math.h>
10663 #ifdef HAVE_IEEEFP_H
10664 #include <ieeefp.h>
10665 #endif
10668 main ()
10670 fpclass(0);
10672 return 0;
10674 _ACEOF
10675 rm -f conftest.$ac_objext
10676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10677 (eval $ac_compile) 2>conftest.er1
10678 ac_status=$?
10679 grep -v '^ *+' conftest.er1 >conftest.err
10680 rm -f conftest.er1
10681 cat conftest.err >&5
10682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10683 (exit $ac_status); } &&
10684 { ac_try='test -z "$ac_cxx_werror_flag"
10685 || test ! -s conftest.err'
10686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10687 (eval $ac_try) 2>&5
10688 ac_status=$?
10689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10690 (exit $ac_status); }; } &&
10691 { ac_try='test -s conftest.$ac_objext'
10692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10693 (eval $ac_try) 2>&5
10694 ac_status=$?
10695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10696 (exit $ac_status); }; }; then
10697 glibcxx_cv_func_fpclass_use=yes
10698 else
10699 echo "$as_me: failed program was:" >&5
10700 sed 's/^/| /' conftest.$ac_ext >&5
10702 glibcxx_cv_func_fpclass_use=no
10704 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10705 ac_ext=c
10706 ac_cpp='$CPP $CPPFLAGS'
10707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10715 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
10716 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
10718 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
10720 for ac_func in fpclass
10722 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10723 echo "$as_me:$LINENO: checking for $ac_func" >&5
10724 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10725 if eval "test \"\${$as_ac_var+set}\" = set"; then
10726 echo $ECHO_N "(cached) $ECHO_C" >&6
10727 else
10728 if test x$gcc_no_link = xyes; then
10729 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10730 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10731 { (exit 1); exit 1; }; }
10733 cat >conftest.$ac_ext <<_ACEOF
10734 /* confdefs.h. */
10735 _ACEOF
10736 cat confdefs.h >>conftest.$ac_ext
10737 cat >>conftest.$ac_ext <<_ACEOF
10738 /* end confdefs.h. */
10739 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10740 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10741 #define $ac_func innocuous_$ac_func
10743 /* System header to define __stub macros and hopefully few prototypes,
10744 which can conflict with char $ac_func (); below.
10745 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10746 <limits.h> exists even on freestanding compilers. */
10748 #ifdef __STDC__
10749 # include <limits.h>
10750 #else
10751 # include <assert.h>
10752 #endif
10754 #undef $ac_func
10756 /* Override any gcc2 internal prototype to avoid an error. */
10757 #ifdef __cplusplus
10758 extern "C"
10760 #endif
10761 /* We use char because int might match the return type of a gcc2
10762 builtin and then its argument prototype would still apply. */
10763 char $ac_func ();
10764 /* The GNU C library defines this for functions which it implements
10765 to always fail with ENOSYS. Some functions are actually named
10766 something starting with __ and the normal name is an alias. */
10767 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10768 choke me
10769 #else
10770 char (*f) () = $ac_func;
10771 #endif
10772 #ifdef __cplusplus
10774 #endif
10777 main ()
10779 return f != $ac_func;
10781 return 0;
10783 _ACEOF
10784 rm -f conftest.$ac_objext conftest$ac_exeext
10785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10786 (eval $ac_link) 2>conftest.er1
10787 ac_status=$?
10788 grep -v '^ *+' conftest.er1 >conftest.err
10789 rm -f conftest.er1
10790 cat conftest.err >&5
10791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10792 (exit $ac_status); } &&
10793 { ac_try='test -z "$ac_c_werror_flag"
10794 || test ! -s conftest.err'
10795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10796 (eval $ac_try) 2>&5
10797 ac_status=$?
10798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10799 (exit $ac_status); }; } &&
10800 { ac_try='test -s conftest$ac_exeext'
10801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10802 (eval $ac_try) 2>&5
10803 ac_status=$?
10804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10805 (exit $ac_status); }; }; then
10806 eval "$as_ac_var=yes"
10807 else
10808 echo "$as_me: failed program was:" >&5
10809 sed 's/^/| /' conftest.$ac_ext >&5
10811 eval "$as_ac_var=no"
10813 rm -f conftest.err conftest.$ac_objext \
10814 conftest$ac_exeext conftest.$ac_ext
10816 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10817 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10818 if test `eval echo '${'$as_ac_var'}'` = yes; then
10819 cat >>confdefs.h <<_ACEOF
10820 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10821 _ACEOF
10824 done
10826 else
10828 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
10829 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
10830 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
10831 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
10832 echo $ECHO_N "(cached) $ECHO_C" >&6
10833 else
10837 ac_ext=cc
10838 ac_cpp='$CXXCPP $CPPFLAGS'
10839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10843 cat >conftest.$ac_ext <<_ACEOF
10844 /* confdefs.h. */
10845 _ACEOF
10846 cat confdefs.h >>conftest.$ac_ext
10847 cat >>conftest.$ac_ext <<_ACEOF
10848 /* end confdefs.h. */
10849 #include <math.h>
10850 #ifdef HAVE_IEEEFP_H
10851 #include <ieeefp.h>
10852 #endif
10855 main ()
10857 _fpclass(0);
10859 return 0;
10861 _ACEOF
10862 rm -f conftest.$ac_objext
10863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10864 (eval $ac_compile) 2>conftest.er1
10865 ac_status=$?
10866 grep -v '^ *+' conftest.er1 >conftest.err
10867 rm -f conftest.er1
10868 cat conftest.err >&5
10869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10870 (exit $ac_status); } &&
10871 { ac_try='test -z "$ac_cxx_werror_flag"
10872 || test ! -s conftest.err'
10873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10874 (eval $ac_try) 2>&5
10875 ac_status=$?
10876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10877 (exit $ac_status); }; } &&
10878 { ac_try='test -s conftest.$ac_objext'
10879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10880 (eval $ac_try) 2>&5
10881 ac_status=$?
10882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10883 (exit $ac_status); }; }; then
10884 glibcxx_cv_func__fpclass_use=yes
10885 else
10886 echo "$as_me: failed program was:" >&5
10887 sed 's/^/| /' conftest.$ac_ext >&5
10889 glibcxx_cv_func__fpclass_use=no
10891 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10892 ac_ext=c
10893 ac_cpp='$CPP $CPPFLAGS'
10894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10902 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
10903 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
10905 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
10907 for ac_func in _fpclass
10909 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10910 echo "$as_me:$LINENO: checking for $ac_func" >&5
10911 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10912 if eval "test \"\${$as_ac_var+set}\" = set"; then
10913 echo $ECHO_N "(cached) $ECHO_C" >&6
10914 else
10915 if test x$gcc_no_link = xyes; then
10916 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10917 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10918 { (exit 1); exit 1; }; }
10920 cat >conftest.$ac_ext <<_ACEOF
10921 /* confdefs.h. */
10922 _ACEOF
10923 cat confdefs.h >>conftest.$ac_ext
10924 cat >>conftest.$ac_ext <<_ACEOF
10925 /* end confdefs.h. */
10926 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10927 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10928 #define $ac_func innocuous_$ac_func
10930 /* System header to define __stub macros and hopefully few prototypes,
10931 which can conflict with char $ac_func (); below.
10932 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10933 <limits.h> exists even on freestanding compilers. */
10935 #ifdef __STDC__
10936 # include <limits.h>
10937 #else
10938 # include <assert.h>
10939 #endif
10941 #undef $ac_func
10943 /* Override any gcc2 internal prototype to avoid an error. */
10944 #ifdef __cplusplus
10945 extern "C"
10947 #endif
10948 /* We use char because int might match the return type of a gcc2
10949 builtin and then its argument prototype would still apply. */
10950 char $ac_func ();
10951 /* The GNU C library defines this for functions which it implements
10952 to always fail with ENOSYS. Some functions are actually named
10953 something starting with __ and the normal name is an alias. */
10954 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10955 choke me
10956 #else
10957 char (*f) () = $ac_func;
10958 #endif
10959 #ifdef __cplusplus
10961 #endif
10964 main ()
10966 return f != $ac_func;
10968 return 0;
10970 _ACEOF
10971 rm -f conftest.$ac_objext conftest$ac_exeext
10972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10973 (eval $ac_link) 2>conftest.er1
10974 ac_status=$?
10975 grep -v '^ *+' conftest.er1 >conftest.err
10976 rm -f conftest.er1
10977 cat conftest.err >&5
10978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10979 (exit $ac_status); } &&
10980 { ac_try='test -z "$ac_c_werror_flag"
10981 || test ! -s conftest.err'
10982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10983 (eval $ac_try) 2>&5
10984 ac_status=$?
10985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10986 (exit $ac_status); }; } &&
10987 { ac_try='test -s conftest$ac_exeext'
10988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10989 (eval $ac_try) 2>&5
10990 ac_status=$?
10991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10992 (exit $ac_status); }; }; then
10993 eval "$as_ac_var=yes"
10994 else
10995 echo "$as_me: failed program was:" >&5
10996 sed 's/^/| /' conftest.$ac_ext >&5
10998 eval "$as_ac_var=no"
11000 rm -f conftest.err conftest.$ac_objext \
11001 conftest$ac_exeext conftest.$ac_ext
11003 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11004 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11005 if test `eval echo '${'$as_ac_var'}'` = yes; then
11006 cat >>confdefs.h <<_ACEOF
11007 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11008 _ACEOF
11011 done
11021 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
11022 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
11023 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
11024 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
11025 echo $ECHO_N "(cached) $ECHO_C" >&6
11026 else
11030 ac_ext=cc
11031 ac_cpp='$CXXCPP $CPPFLAGS'
11032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11036 cat >conftest.$ac_ext <<_ACEOF
11037 /* confdefs.h. */
11038 _ACEOF
11039 cat confdefs.h >>conftest.$ac_ext
11040 cat >>conftest.$ac_ext <<_ACEOF
11041 /* end confdefs.h. */
11042 #include <math.h>
11043 #ifdef HAVE_IEEEFP_H
11044 #include <ieeefp.h>
11045 #endif
11048 main ()
11050 qfpclass(0);
11052 return 0;
11054 _ACEOF
11055 rm -f conftest.$ac_objext
11056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11057 (eval $ac_compile) 2>conftest.er1
11058 ac_status=$?
11059 grep -v '^ *+' conftest.er1 >conftest.err
11060 rm -f conftest.er1
11061 cat conftest.err >&5
11062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11063 (exit $ac_status); } &&
11064 { ac_try='test -z "$ac_cxx_werror_flag"
11065 || test ! -s conftest.err'
11066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11067 (eval $ac_try) 2>&5
11068 ac_status=$?
11069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11070 (exit $ac_status); }; } &&
11071 { ac_try='test -s conftest.$ac_objext'
11072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11073 (eval $ac_try) 2>&5
11074 ac_status=$?
11075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11076 (exit $ac_status); }; }; then
11077 glibcxx_cv_func_qfpclass_use=yes
11078 else
11079 echo "$as_me: failed program was:" >&5
11080 sed 's/^/| /' conftest.$ac_ext >&5
11082 glibcxx_cv_func_qfpclass_use=no
11084 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11085 ac_ext=c
11086 ac_cpp='$CPP $CPPFLAGS'
11087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11095 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
11096 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
11098 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
11100 for ac_func in qfpclass
11102 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11103 echo "$as_me:$LINENO: checking for $ac_func" >&5
11104 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11105 if eval "test \"\${$as_ac_var+set}\" = set"; then
11106 echo $ECHO_N "(cached) $ECHO_C" >&6
11107 else
11108 if test x$gcc_no_link = xyes; then
11109 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11110 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11111 { (exit 1); exit 1; }; }
11113 cat >conftest.$ac_ext <<_ACEOF
11114 /* confdefs.h. */
11115 _ACEOF
11116 cat confdefs.h >>conftest.$ac_ext
11117 cat >>conftest.$ac_ext <<_ACEOF
11118 /* end confdefs.h. */
11119 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11120 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11121 #define $ac_func innocuous_$ac_func
11123 /* System header to define __stub macros and hopefully few prototypes,
11124 which can conflict with char $ac_func (); below.
11125 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11126 <limits.h> exists even on freestanding compilers. */
11128 #ifdef __STDC__
11129 # include <limits.h>
11130 #else
11131 # include <assert.h>
11132 #endif
11134 #undef $ac_func
11136 /* Override any gcc2 internal prototype to avoid an error. */
11137 #ifdef __cplusplus
11138 extern "C"
11140 #endif
11141 /* We use char because int might match the return type of a gcc2
11142 builtin and then its argument prototype would still apply. */
11143 char $ac_func ();
11144 /* The GNU C library defines this for functions which it implements
11145 to always fail with ENOSYS. Some functions are actually named
11146 something starting with __ and the normal name is an alias. */
11147 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11148 choke me
11149 #else
11150 char (*f) () = $ac_func;
11151 #endif
11152 #ifdef __cplusplus
11154 #endif
11157 main ()
11159 return f != $ac_func;
11161 return 0;
11163 _ACEOF
11164 rm -f conftest.$ac_objext conftest$ac_exeext
11165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11166 (eval $ac_link) 2>conftest.er1
11167 ac_status=$?
11168 grep -v '^ *+' conftest.er1 >conftest.err
11169 rm -f conftest.er1
11170 cat conftest.err >&5
11171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11172 (exit $ac_status); } &&
11173 { ac_try='test -z "$ac_c_werror_flag"
11174 || test ! -s conftest.err'
11175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11176 (eval $ac_try) 2>&5
11177 ac_status=$?
11178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11179 (exit $ac_status); }; } &&
11180 { ac_try='test -s conftest$ac_exeext'
11181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11182 (eval $ac_try) 2>&5
11183 ac_status=$?
11184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11185 (exit $ac_status); }; }; then
11186 eval "$as_ac_var=yes"
11187 else
11188 echo "$as_me: failed program was:" >&5
11189 sed 's/^/| /' conftest.$ac_ext >&5
11191 eval "$as_ac_var=no"
11193 rm -f conftest.err conftest.$ac_objext \
11194 conftest$ac_exeext conftest.$ac_ext
11196 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11197 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11198 if test `eval echo '${'$as_ac_var'}'` = yes; then
11199 cat >>confdefs.h <<_ACEOF
11200 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11201 _ACEOF
11204 done
11206 else
11208 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
11209 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
11210 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
11211 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
11212 echo $ECHO_N "(cached) $ECHO_C" >&6
11213 else
11217 ac_ext=cc
11218 ac_cpp='$CXXCPP $CPPFLAGS'
11219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11223 cat >conftest.$ac_ext <<_ACEOF
11224 /* confdefs.h. */
11225 _ACEOF
11226 cat confdefs.h >>conftest.$ac_ext
11227 cat >>conftest.$ac_ext <<_ACEOF
11228 /* end confdefs.h. */
11229 #include <math.h>
11230 #ifdef HAVE_IEEEFP_H
11231 #include <ieeefp.h>
11232 #endif
11235 main ()
11237 _qfpclass(0);
11239 return 0;
11241 _ACEOF
11242 rm -f conftest.$ac_objext
11243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11244 (eval $ac_compile) 2>conftest.er1
11245 ac_status=$?
11246 grep -v '^ *+' conftest.er1 >conftest.err
11247 rm -f conftest.er1
11248 cat conftest.err >&5
11249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11250 (exit $ac_status); } &&
11251 { ac_try='test -z "$ac_cxx_werror_flag"
11252 || test ! -s conftest.err'
11253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11254 (eval $ac_try) 2>&5
11255 ac_status=$?
11256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11257 (exit $ac_status); }; } &&
11258 { ac_try='test -s conftest.$ac_objext'
11259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11260 (eval $ac_try) 2>&5
11261 ac_status=$?
11262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11263 (exit $ac_status); }; }; then
11264 glibcxx_cv_func__qfpclass_use=yes
11265 else
11266 echo "$as_me: failed program was:" >&5
11267 sed 's/^/| /' conftest.$ac_ext >&5
11269 glibcxx_cv_func__qfpclass_use=no
11271 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11272 ac_ext=c
11273 ac_cpp='$CPP $CPPFLAGS'
11274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11282 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
11283 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
11285 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
11287 for ac_func in _qfpclass
11289 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11290 echo "$as_me:$LINENO: checking for $ac_func" >&5
11291 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11292 if eval "test \"\${$as_ac_var+set}\" = set"; then
11293 echo $ECHO_N "(cached) $ECHO_C" >&6
11294 else
11295 if test x$gcc_no_link = xyes; then
11296 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11297 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11298 { (exit 1); exit 1; }; }
11300 cat >conftest.$ac_ext <<_ACEOF
11301 /* confdefs.h. */
11302 _ACEOF
11303 cat confdefs.h >>conftest.$ac_ext
11304 cat >>conftest.$ac_ext <<_ACEOF
11305 /* end confdefs.h. */
11306 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11307 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11308 #define $ac_func innocuous_$ac_func
11310 /* System header to define __stub macros and hopefully few prototypes,
11311 which can conflict with char $ac_func (); below.
11312 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11313 <limits.h> exists even on freestanding compilers. */
11315 #ifdef __STDC__
11316 # include <limits.h>
11317 #else
11318 # include <assert.h>
11319 #endif
11321 #undef $ac_func
11323 /* Override any gcc2 internal prototype to avoid an error. */
11324 #ifdef __cplusplus
11325 extern "C"
11327 #endif
11328 /* We use char because int might match the return type of a gcc2
11329 builtin and then its argument prototype would still apply. */
11330 char $ac_func ();
11331 /* The GNU C library defines this for functions which it implements
11332 to always fail with ENOSYS. Some functions are actually named
11333 something starting with __ and the normal name is an alias. */
11334 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11335 choke me
11336 #else
11337 char (*f) () = $ac_func;
11338 #endif
11339 #ifdef __cplusplus
11341 #endif
11344 main ()
11346 return f != $ac_func;
11348 return 0;
11350 _ACEOF
11351 rm -f conftest.$ac_objext conftest$ac_exeext
11352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11353 (eval $ac_link) 2>conftest.er1
11354 ac_status=$?
11355 grep -v '^ *+' conftest.er1 >conftest.err
11356 rm -f conftest.er1
11357 cat conftest.err >&5
11358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11359 (exit $ac_status); } &&
11360 { ac_try='test -z "$ac_c_werror_flag"
11361 || test ! -s conftest.err'
11362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11363 (eval $ac_try) 2>&5
11364 ac_status=$?
11365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11366 (exit $ac_status); }; } &&
11367 { ac_try='test -s conftest$ac_exeext'
11368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11369 (eval $ac_try) 2>&5
11370 ac_status=$?
11371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11372 (exit $ac_status); }; }; then
11373 eval "$as_ac_var=yes"
11374 else
11375 echo "$as_me: failed program was:" >&5
11376 sed 's/^/| /' conftest.$ac_ext >&5
11378 eval "$as_ac_var=no"
11380 rm -f conftest.err conftest.$ac_objext \
11381 conftest$ac_exeext conftest.$ac_ext
11383 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11384 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11385 if test `eval echo '${'$as_ac_var'}'` = yes; then
11386 cat >>confdefs.h <<_ACEOF
11387 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11388 _ACEOF
11391 done
11401 echo "$as_me:$LINENO: checking for hypot declaration" >&5
11402 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
11403 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
11404 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
11405 echo $ECHO_N "(cached) $ECHO_C" >&6
11406 else
11410 ac_ext=cc
11411 ac_cpp='$CXXCPP $CPPFLAGS'
11412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11416 cat >conftest.$ac_ext <<_ACEOF
11417 /* confdefs.h. */
11418 _ACEOF
11419 cat confdefs.h >>conftest.$ac_ext
11420 cat >>conftest.$ac_ext <<_ACEOF
11421 /* end confdefs.h. */
11422 #include <math.h>
11424 main ()
11426 hypot(0, 0);
11428 return 0;
11430 _ACEOF
11431 rm -f conftest.$ac_objext
11432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11433 (eval $ac_compile) 2>conftest.er1
11434 ac_status=$?
11435 grep -v '^ *+' conftest.er1 >conftest.err
11436 rm -f conftest.er1
11437 cat conftest.err >&5
11438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11439 (exit $ac_status); } &&
11440 { ac_try='test -z "$ac_cxx_werror_flag"
11441 || test ! -s conftest.err'
11442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11443 (eval $ac_try) 2>&5
11444 ac_status=$?
11445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11446 (exit $ac_status); }; } &&
11447 { ac_try='test -s conftest.$ac_objext'
11448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11449 (eval $ac_try) 2>&5
11450 ac_status=$?
11451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11452 (exit $ac_status); }; }; then
11453 glibcxx_cv_func_hypot_use=yes
11454 else
11455 echo "$as_me: failed program was:" >&5
11456 sed 's/^/| /' conftest.$ac_ext >&5
11458 glibcxx_cv_func_hypot_use=no
11460 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11461 ac_ext=c
11462 ac_cpp='$CPP $CPPFLAGS'
11463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11471 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
11472 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
11474 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
11476 for ac_func in hypot
11478 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11479 echo "$as_me:$LINENO: checking for $ac_func" >&5
11480 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11481 if eval "test \"\${$as_ac_var+set}\" = set"; then
11482 echo $ECHO_N "(cached) $ECHO_C" >&6
11483 else
11484 if test x$gcc_no_link = xyes; then
11485 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11486 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11487 { (exit 1); exit 1; }; }
11489 cat >conftest.$ac_ext <<_ACEOF
11490 /* confdefs.h. */
11491 _ACEOF
11492 cat confdefs.h >>conftest.$ac_ext
11493 cat >>conftest.$ac_ext <<_ACEOF
11494 /* end confdefs.h. */
11495 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11496 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11497 #define $ac_func innocuous_$ac_func
11499 /* System header to define __stub macros and hopefully few prototypes,
11500 which can conflict with char $ac_func (); below.
11501 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11502 <limits.h> exists even on freestanding compilers. */
11504 #ifdef __STDC__
11505 # include <limits.h>
11506 #else
11507 # include <assert.h>
11508 #endif
11510 #undef $ac_func
11512 /* Override any gcc2 internal prototype to avoid an error. */
11513 #ifdef __cplusplus
11514 extern "C"
11516 #endif
11517 /* We use char because int might match the return type of a gcc2
11518 builtin and then its argument prototype would still apply. */
11519 char $ac_func ();
11520 /* The GNU C library defines this for functions which it implements
11521 to always fail with ENOSYS. Some functions are actually named
11522 something starting with __ and the normal name is an alias. */
11523 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11524 choke me
11525 #else
11526 char (*f) () = $ac_func;
11527 #endif
11528 #ifdef __cplusplus
11530 #endif
11533 main ()
11535 return f != $ac_func;
11537 return 0;
11539 _ACEOF
11540 rm -f conftest.$ac_objext conftest$ac_exeext
11541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11542 (eval $ac_link) 2>conftest.er1
11543 ac_status=$?
11544 grep -v '^ *+' conftest.er1 >conftest.err
11545 rm -f conftest.er1
11546 cat conftest.err >&5
11547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11548 (exit $ac_status); } &&
11549 { ac_try='test -z "$ac_c_werror_flag"
11550 || test ! -s conftest.err'
11551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11552 (eval $ac_try) 2>&5
11553 ac_status=$?
11554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11555 (exit $ac_status); }; } &&
11556 { ac_try='test -s conftest$ac_exeext'
11557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11558 (eval $ac_try) 2>&5
11559 ac_status=$?
11560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11561 (exit $ac_status); }; }; then
11562 eval "$as_ac_var=yes"
11563 else
11564 echo "$as_me: failed program was:" >&5
11565 sed 's/^/| /' conftest.$ac_ext >&5
11567 eval "$as_ac_var=no"
11569 rm -f conftest.err conftest.$ac_objext \
11570 conftest$ac_exeext conftest.$ac_ext
11572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11573 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11574 if test `eval echo '${'$as_ac_var'}'` = yes; then
11575 cat >>confdefs.h <<_ACEOF
11576 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11577 _ACEOF
11580 done
11582 else
11584 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
11585 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
11586 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
11587 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
11588 echo $ECHO_N "(cached) $ECHO_C" >&6
11589 else
11593 ac_ext=cc
11594 ac_cpp='$CXXCPP $CPPFLAGS'
11595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11599 cat >conftest.$ac_ext <<_ACEOF
11600 /* confdefs.h. */
11601 _ACEOF
11602 cat confdefs.h >>conftest.$ac_ext
11603 cat >>conftest.$ac_ext <<_ACEOF
11604 /* end confdefs.h. */
11605 #include <math.h>
11607 main ()
11609 _hypot(0, 0);
11611 return 0;
11613 _ACEOF
11614 rm -f conftest.$ac_objext
11615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11616 (eval $ac_compile) 2>conftest.er1
11617 ac_status=$?
11618 grep -v '^ *+' conftest.er1 >conftest.err
11619 rm -f conftest.er1
11620 cat conftest.err >&5
11621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11622 (exit $ac_status); } &&
11623 { ac_try='test -z "$ac_cxx_werror_flag"
11624 || test ! -s conftest.err'
11625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11626 (eval $ac_try) 2>&5
11627 ac_status=$?
11628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11629 (exit $ac_status); }; } &&
11630 { ac_try='test -s conftest.$ac_objext'
11631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11632 (eval $ac_try) 2>&5
11633 ac_status=$?
11634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11635 (exit $ac_status); }; }; then
11636 glibcxx_cv_func__hypot_use=yes
11637 else
11638 echo "$as_me: failed program was:" >&5
11639 sed 's/^/| /' conftest.$ac_ext >&5
11641 glibcxx_cv_func__hypot_use=no
11643 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11644 ac_ext=c
11645 ac_cpp='$CPP $CPPFLAGS'
11646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11654 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
11655 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
11657 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
11659 for ac_func in _hypot
11661 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11662 echo "$as_me:$LINENO: checking for $ac_func" >&5
11663 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11664 if eval "test \"\${$as_ac_var+set}\" = set"; then
11665 echo $ECHO_N "(cached) $ECHO_C" >&6
11666 else
11667 if test x$gcc_no_link = xyes; then
11668 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11669 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11670 { (exit 1); exit 1; }; }
11672 cat >conftest.$ac_ext <<_ACEOF
11673 /* confdefs.h. */
11674 _ACEOF
11675 cat confdefs.h >>conftest.$ac_ext
11676 cat >>conftest.$ac_ext <<_ACEOF
11677 /* end confdefs.h. */
11678 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11679 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11680 #define $ac_func innocuous_$ac_func
11682 /* System header to define __stub macros and hopefully few prototypes,
11683 which can conflict with char $ac_func (); below.
11684 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11685 <limits.h> exists even on freestanding compilers. */
11687 #ifdef __STDC__
11688 # include <limits.h>
11689 #else
11690 # include <assert.h>
11691 #endif
11693 #undef $ac_func
11695 /* Override any gcc2 internal prototype to avoid an error. */
11696 #ifdef __cplusplus
11697 extern "C"
11699 #endif
11700 /* We use char because int might match the return type of a gcc2
11701 builtin and then its argument prototype would still apply. */
11702 char $ac_func ();
11703 /* The GNU C library defines this for functions which it implements
11704 to always fail with ENOSYS. Some functions are actually named
11705 something starting with __ and the normal name is an alias. */
11706 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11707 choke me
11708 #else
11709 char (*f) () = $ac_func;
11710 #endif
11711 #ifdef __cplusplus
11713 #endif
11716 main ()
11718 return f != $ac_func;
11720 return 0;
11722 _ACEOF
11723 rm -f conftest.$ac_objext conftest$ac_exeext
11724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11725 (eval $ac_link) 2>conftest.er1
11726 ac_status=$?
11727 grep -v '^ *+' conftest.er1 >conftest.err
11728 rm -f conftest.er1
11729 cat conftest.err >&5
11730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11731 (exit $ac_status); } &&
11732 { ac_try='test -z "$ac_c_werror_flag"
11733 || test ! -s conftest.err'
11734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11735 (eval $ac_try) 2>&5
11736 ac_status=$?
11737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11738 (exit $ac_status); }; } &&
11739 { ac_try='test -s conftest$ac_exeext'
11740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11741 (eval $ac_try) 2>&5
11742 ac_status=$?
11743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11744 (exit $ac_status); }; }; then
11745 eval "$as_ac_var=yes"
11746 else
11747 echo "$as_me: failed program was:" >&5
11748 sed 's/^/| /' conftest.$ac_ext >&5
11750 eval "$as_ac_var=no"
11752 rm -f conftest.err conftest.$ac_objext \
11753 conftest$ac_exeext conftest.$ac_ext
11755 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11756 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11757 if test `eval echo '${'$as_ac_var'}'` = yes; then
11758 cat >>confdefs.h <<_ACEOF
11759 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11760 _ACEOF
11763 done
11773 echo "$as_me:$LINENO: checking for float trig functions" >&5
11774 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
11775 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
11776 echo $ECHO_N "(cached) $ECHO_C" >&6
11777 else
11781 ac_ext=cc
11782 ac_cpp='$CXXCPP $CPPFLAGS'
11783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11787 cat >conftest.$ac_ext <<_ACEOF
11788 /* confdefs.h. */
11789 _ACEOF
11790 cat confdefs.h >>conftest.$ac_ext
11791 cat >>conftest.$ac_ext <<_ACEOF
11792 /* end confdefs.h. */
11793 #include <math.h>
11795 main ()
11797 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
11799 return 0;
11801 _ACEOF
11802 rm -f conftest.$ac_objext
11803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11804 (eval $ac_compile) 2>conftest.er1
11805 ac_status=$?
11806 grep -v '^ *+' conftest.er1 >conftest.err
11807 rm -f conftest.er1
11808 cat conftest.err >&5
11809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11810 (exit $ac_status); } &&
11811 { ac_try='test -z "$ac_cxx_werror_flag"
11812 || test ! -s conftest.err'
11813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11814 (eval $ac_try) 2>&5
11815 ac_status=$?
11816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11817 (exit $ac_status); }; } &&
11818 { ac_try='test -s conftest.$ac_objext'
11819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11820 (eval $ac_try) 2>&5
11821 ac_status=$?
11822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11823 (exit $ac_status); }; }; then
11824 glibcxx_cv_func_float_trig_use=yes
11825 else
11826 echo "$as_me: failed program was:" >&5
11827 sed 's/^/| /' conftest.$ac_ext >&5
11829 glibcxx_cv_func_float_trig_use=no
11831 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11832 ac_ext=c
11833 ac_cpp='$CPP $CPPFLAGS'
11834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11840 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
11841 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
11842 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
11852 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
11854 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11855 echo "$as_me:$LINENO: checking for $ac_func" >&5
11856 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11857 if eval "test \"\${$as_ac_var+set}\" = set"; then
11858 echo $ECHO_N "(cached) $ECHO_C" >&6
11859 else
11860 if test x$gcc_no_link = xyes; then
11861 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11862 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11863 { (exit 1); exit 1; }; }
11865 cat >conftest.$ac_ext <<_ACEOF
11866 /* confdefs.h. */
11867 _ACEOF
11868 cat confdefs.h >>conftest.$ac_ext
11869 cat >>conftest.$ac_ext <<_ACEOF
11870 /* end confdefs.h. */
11871 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11872 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11873 #define $ac_func innocuous_$ac_func
11875 /* System header to define __stub macros and hopefully few prototypes,
11876 which can conflict with char $ac_func (); below.
11877 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11878 <limits.h> exists even on freestanding compilers. */
11880 #ifdef __STDC__
11881 # include <limits.h>
11882 #else
11883 # include <assert.h>
11884 #endif
11886 #undef $ac_func
11888 /* Override any gcc2 internal prototype to avoid an error. */
11889 #ifdef __cplusplus
11890 extern "C"
11892 #endif
11893 /* We use char because int might match the return type of a gcc2
11894 builtin and then its argument prototype would still apply. */
11895 char $ac_func ();
11896 /* The GNU C library defines this for functions which it implements
11897 to always fail with ENOSYS. Some functions are actually named
11898 something starting with __ and the normal name is an alias. */
11899 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11900 choke me
11901 #else
11902 char (*f) () = $ac_func;
11903 #endif
11904 #ifdef __cplusplus
11906 #endif
11909 main ()
11911 return f != $ac_func;
11913 return 0;
11915 _ACEOF
11916 rm -f conftest.$ac_objext conftest$ac_exeext
11917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11918 (eval $ac_link) 2>conftest.er1
11919 ac_status=$?
11920 grep -v '^ *+' conftest.er1 >conftest.err
11921 rm -f conftest.er1
11922 cat conftest.err >&5
11923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11924 (exit $ac_status); } &&
11925 { ac_try='test -z "$ac_c_werror_flag"
11926 || test ! -s conftest.err'
11927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11928 (eval $ac_try) 2>&5
11929 ac_status=$?
11930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11931 (exit $ac_status); }; } &&
11932 { ac_try='test -s conftest$ac_exeext'
11933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11934 (eval $ac_try) 2>&5
11935 ac_status=$?
11936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11937 (exit $ac_status); }; }; then
11938 eval "$as_ac_var=yes"
11939 else
11940 echo "$as_me: failed program was:" >&5
11941 sed 's/^/| /' conftest.$ac_ext >&5
11943 eval "$as_ac_var=no"
11945 rm -f conftest.err conftest.$ac_objext \
11946 conftest$ac_exeext conftest.$ac_ext
11948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11949 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11950 if test `eval echo '${'$as_ac_var'}'` = yes; then
11951 cat >>confdefs.h <<_ACEOF
11952 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11953 _ACEOF
11956 done
11958 else
11959 echo "$as_me:$LINENO: checking for _float trig functions" >&5
11960 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
11961 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
11962 echo $ECHO_N "(cached) $ECHO_C" >&6
11963 else
11967 ac_ext=cc
11968 ac_cpp='$CXXCPP $CPPFLAGS'
11969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11973 cat >conftest.$ac_ext <<_ACEOF
11974 /* confdefs.h. */
11975 _ACEOF
11976 cat confdefs.h >>conftest.$ac_ext
11977 cat >>conftest.$ac_ext <<_ACEOF
11978 /* end confdefs.h. */
11979 #include <math.h>
11981 main ()
11983 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
11985 return 0;
11987 _ACEOF
11988 rm -f conftest.$ac_objext
11989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11990 (eval $ac_compile) 2>conftest.er1
11991 ac_status=$?
11992 grep -v '^ *+' conftest.er1 >conftest.err
11993 rm -f conftest.er1
11994 cat conftest.err >&5
11995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11996 (exit $ac_status); } &&
11997 { ac_try='test -z "$ac_cxx_werror_flag"
11998 || test ! -s conftest.err'
11999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12000 (eval $ac_try) 2>&5
12001 ac_status=$?
12002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12003 (exit $ac_status); }; } &&
12004 { ac_try='test -s conftest.$ac_objext'
12005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12006 (eval $ac_try) 2>&5
12007 ac_status=$?
12008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12009 (exit $ac_status); }; }; then
12010 glibcxx_cv_func__float_trig_use=yes
12011 else
12012 echo "$as_me: failed program was:" >&5
12013 sed 's/^/| /' conftest.$ac_ext >&5
12015 glibcxx_cv_func__float_trig_use=no
12017 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12018 ac_ext=c
12019 ac_cpp='$CPP $CPPFLAGS'
12020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12026 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
12027 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
12028 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
12038 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
12040 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12041 echo "$as_me:$LINENO: checking for $ac_func" >&5
12042 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12043 if eval "test \"\${$as_ac_var+set}\" = set"; then
12044 echo $ECHO_N "(cached) $ECHO_C" >&6
12045 else
12046 if test x$gcc_no_link = xyes; then
12047 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12048 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12049 { (exit 1); exit 1; }; }
12051 cat >conftest.$ac_ext <<_ACEOF
12052 /* confdefs.h. */
12053 _ACEOF
12054 cat confdefs.h >>conftest.$ac_ext
12055 cat >>conftest.$ac_ext <<_ACEOF
12056 /* end confdefs.h. */
12057 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12058 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12059 #define $ac_func innocuous_$ac_func
12061 /* System header to define __stub macros and hopefully few prototypes,
12062 which can conflict with char $ac_func (); below.
12063 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12064 <limits.h> exists even on freestanding compilers. */
12066 #ifdef __STDC__
12067 # include <limits.h>
12068 #else
12069 # include <assert.h>
12070 #endif
12072 #undef $ac_func
12074 /* Override any gcc2 internal prototype to avoid an error. */
12075 #ifdef __cplusplus
12076 extern "C"
12078 #endif
12079 /* We use char because int might match the return type of a gcc2
12080 builtin and then its argument prototype would still apply. */
12081 char $ac_func ();
12082 /* The GNU C library defines this for functions which it implements
12083 to always fail with ENOSYS. Some functions are actually named
12084 something starting with __ and the normal name is an alias. */
12085 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12086 choke me
12087 #else
12088 char (*f) () = $ac_func;
12089 #endif
12090 #ifdef __cplusplus
12092 #endif
12095 main ()
12097 return f != $ac_func;
12099 return 0;
12101 _ACEOF
12102 rm -f conftest.$ac_objext conftest$ac_exeext
12103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12104 (eval $ac_link) 2>conftest.er1
12105 ac_status=$?
12106 grep -v '^ *+' conftest.er1 >conftest.err
12107 rm -f conftest.er1
12108 cat conftest.err >&5
12109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12110 (exit $ac_status); } &&
12111 { ac_try='test -z "$ac_c_werror_flag"
12112 || test ! -s conftest.err'
12113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12114 (eval $ac_try) 2>&5
12115 ac_status=$?
12116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12117 (exit $ac_status); }; } &&
12118 { ac_try='test -s conftest$ac_exeext'
12119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12120 (eval $ac_try) 2>&5
12121 ac_status=$?
12122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12123 (exit $ac_status); }; }; then
12124 eval "$as_ac_var=yes"
12125 else
12126 echo "$as_me: failed program was:" >&5
12127 sed 's/^/| /' conftest.$ac_ext >&5
12129 eval "$as_ac_var=no"
12131 rm -f conftest.err conftest.$ac_objext \
12132 conftest$ac_exeext conftest.$ac_ext
12134 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12135 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12136 if test `eval echo '${'$as_ac_var'}'` = yes; then
12137 cat >>confdefs.h <<_ACEOF
12138 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12139 _ACEOF
12142 done
12160 echo "$as_me:$LINENO: checking for float round functions" >&5
12161 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
12162 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
12163 echo $ECHO_N "(cached) $ECHO_C" >&6
12164 else
12168 ac_ext=cc
12169 ac_cpp='$CXXCPP $CPPFLAGS'
12170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12174 cat >conftest.$ac_ext <<_ACEOF
12175 /* confdefs.h. */
12176 _ACEOF
12177 cat confdefs.h >>conftest.$ac_ext
12178 cat >>conftest.$ac_ext <<_ACEOF
12179 /* end confdefs.h. */
12180 #include <math.h>
12182 main ()
12184 ceilf (0); floorf (0);
12186 return 0;
12188 _ACEOF
12189 rm -f conftest.$ac_objext
12190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12191 (eval $ac_compile) 2>conftest.er1
12192 ac_status=$?
12193 grep -v '^ *+' conftest.er1 >conftest.err
12194 rm -f conftest.er1
12195 cat conftest.err >&5
12196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12197 (exit $ac_status); } &&
12198 { ac_try='test -z "$ac_cxx_werror_flag"
12199 || test ! -s conftest.err'
12200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12201 (eval $ac_try) 2>&5
12202 ac_status=$?
12203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12204 (exit $ac_status); }; } &&
12205 { ac_try='test -s conftest.$ac_objext'
12206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12207 (eval $ac_try) 2>&5
12208 ac_status=$?
12209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12210 (exit $ac_status); }; }; then
12211 glibcxx_cv_func_float_round_use=yes
12212 else
12213 echo "$as_me: failed program was:" >&5
12214 sed 's/^/| /' conftest.$ac_ext >&5
12216 glibcxx_cv_func_float_round_use=no
12218 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12219 ac_ext=c
12220 ac_cpp='$CPP $CPPFLAGS'
12221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12227 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
12228 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
12229 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
12232 for ac_func in ceilf floorf
12234 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12235 echo "$as_me:$LINENO: checking for $ac_func" >&5
12236 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12237 if eval "test \"\${$as_ac_var+set}\" = set"; then
12238 echo $ECHO_N "(cached) $ECHO_C" >&6
12239 else
12240 if test x$gcc_no_link = xyes; then
12241 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12242 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12243 { (exit 1); exit 1; }; }
12245 cat >conftest.$ac_ext <<_ACEOF
12246 /* confdefs.h. */
12247 _ACEOF
12248 cat confdefs.h >>conftest.$ac_ext
12249 cat >>conftest.$ac_ext <<_ACEOF
12250 /* end confdefs.h. */
12251 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12252 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12253 #define $ac_func innocuous_$ac_func
12255 /* System header to define __stub macros and hopefully few prototypes,
12256 which can conflict with char $ac_func (); below.
12257 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12258 <limits.h> exists even on freestanding compilers. */
12260 #ifdef __STDC__
12261 # include <limits.h>
12262 #else
12263 # include <assert.h>
12264 #endif
12266 #undef $ac_func
12268 /* Override any gcc2 internal prototype to avoid an error. */
12269 #ifdef __cplusplus
12270 extern "C"
12272 #endif
12273 /* We use char because int might match the return type of a gcc2
12274 builtin and then its argument prototype would still apply. */
12275 char $ac_func ();
12276 /* The GNU C library defines this for functions which it implements
12277 to always fail with ENOSYS. Some functions are actually named
12278 something starting with __ and the normal name is an alias. */
12279 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12280 choke me
12281 #else
12282 char (*f) () = $ac_func;
12283 #endif
12284 #ifdef __cplusplus
12286 #endif
12289 main ()
12291 return f != $ac_func;
12293 return 0;
12295 _ACEOF
12296 rm -f conftest.$ac_objext conftest$ac_exeext
12297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12298 (eval $ac_link) 2>conftest.er1
12299 ac_status=$?
12300 grep -v '^ *+' conftest.er1 >conftest.err
12301 rm -f conftest.er1
12302 cat conftest.err >&5
12303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12304 (exit $ac_status); } &&
12305 { ac_try='test -z "$ac_c_werror_flag"
12306 || test ! -s conftest.err'
12307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12308 (eval $ac_try) 2>&5
12309 ac_status=$?
12310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12311 (exit $ac_status); }; } &&
12312 { ac_try='test -s conftest$ac_exeext'
12313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12314 (eval $ac_try) 2>&5
12315 ac_status=$?
12316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12317 (exit $ac_status); }; }; then
12318 eval "$as_ac_var=yes"
12319 else
12320 echo "$as_me: failed program was:" >&5
12321 sed 's/^/| /' conftest.$ac_ext >&5
12323 eval "$as_ac_var=no"
12325 rm -f conftest.err conftest.$ac_objext \
12326 conftest$ac_exeext conftest.$ac_ext
12328 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12329 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12330 if test `eval echo '${'$as_ac_var'}'` = yes; then
12331 cat >>confdefs.h <<_ACEOF
12332 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12333 _ACEOF
12336 done
12338 else
12339 echo "$as_me:$LINENO: checking for _float round functions" >&5
12340 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
12341 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
12342 echo $ECHO_N "(cached) $ECHO_C" >&6
12343 else
12347 ac_ext=cc
12348 ac_cpp='$CXXCPP $CPPFLAGS'
12349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12353 cat >conftest.$ac_ext <<_ACEOF
12354 /* confdefs.h. */
12355 _ACEOF
12356 cat confdefs.h >>conftest.$ac_ext
12357 cat >>conftest.$ac_ext <<_ACEOF
12358 /* end confdefs.h. */
12359 #include <math.h>
12361 main ()
12363 _ceilf (0); _floorf (0);
12365 return 0;
12367 _ACEOF
12368 rm -f conftest.$ac_objext
12369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12370 (eval $ac_compile) 2>conftest.er1
12371 ac_status=$?
12372 grep -v '^ *+' conftest.er1 >conftest.err
12373 rm -f conftest.er1
12374 cat conftest.err >&5
12375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12376 (exit $ac_status); } &&
12377 { ac_try='test -z "$ac_cxx_werror_flag"
12378 || test ! -s conftest.err'
12379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12380 (eval $ac_try) 2>&5
12381 ac_status=$?
12382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12383 (exit $ac_status); }; } &&
12384 { ac_try='test -s conftest.$ac_objext'
12385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12386 (eval $ac_try) 2>&5
12387 ac_status=$?
12388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12389 (exit $ac_status); }; }; then
12390 glibcxx_cv_func__float_round_use=yes
12391 else
12392 echo "$as_me: failed program was:" >&5
12393 sed 's/^/| /' conftest.$ac_ext >&5
12395 glibcxx_cv_func__float_round_use=no
12397 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12398 ac_ext=c
12399 ac_cpp='$CPP $CPPFLAGS'
12400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12406 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
12407 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
12408 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
12411 for ac_func in _ceilf _floorf
12413 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12414 echo "$as_me:$LINENO: checking for $ac_func" >&5
12415 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12416 if eval "test \"\${$as_ac_var+set}\" = set"; then
12417 echo $ECHO_N "(cached) $ECHO_C" >&6
12418 else
12419 if test x$gcc_no_link = xyes; then
12420 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12421 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12422 { (exit 1); exit 1; }; }
12424 cat >conftest.$ac_ext <<_ACEOF
12425 /* confdefs.h. */
12426 _ACEOF
12427 cat confdefs.h >>conftest.$ac_ext
12428 cat >>conftest.$ac_ext <<_ACEOF
12429 /* end confdefs.h. */
12430 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12431 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12432 #define $ac_func innocuous_$ac_func
12434 /* System header to define __stub macros and hopefully few prototypes,
12435 which can conflict with char $ac_func (); below.
12436 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12437 <limits.h> exists even on freestanding compilers. */
12439 #ifdef __STDC__
12440 # include <limits.h>
12441 #else
12442 # include <assert.h>
12443 #endif
12445 #undef $ac_func
12447 /* Override any gcc2 internal prototype to avoid an error. */
12448 #ifdef __cplusplus
12449 extern "C"
12451 #endif
12452 /* We use char because int might match the return type of a gcc2
12453 builtin and then its argument prototype would still apply. */
12454 char $ac_func ();
12455 /* The GNU C library defines this for functions which it implements
12456 to always fail with ENOSYS. Some functions are actually named
12457 something starting with __ and the normal name is an alias. */
12458 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12459 choke me
12460 #else
12461 char (*f) () = $ac_func;
12462 #endif
12463 #ifdef __cplusplus
12465 #endif
12468 main ()
12470 return f != $ac_func;
12472 return 0;
12474 _ACEOF
12475 rm -f conftest.$ac_objext conftest$ac_exeext
12476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12477 (eval $ac_link) 2>conftest.er1
12478 ac_status=$?
12479 grep -v '^ *+' conftest.er1 >conftest.err
12480 rm -f conftest.er1
12481 cat conftest.err >&5
12482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12483 (exit $ac_status); } &&
12484 { ac_try='test -z "$ac_c_werror_flag"
12485 || test ! -s conftest.err'
12486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12487 (eval $ac_try) 2>&5
12488 ac_status=$?
12489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12490 (exit $ac_status); }; } &&
12491 { ac_try='test -s conftest$ac_exeext'
12492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12493 (eval $ac_try) 2>&5
12494 ac_status=$?
12495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12496 (exit $ac_status); }; }; then
12497 eval "$as_ac_var=yes"
12498 else
12499 echo "$as_me: failed program was:" >&5
12500 sed 's/^/| /' conftest.$ac_ext >&5
12502 eval "$as_ac_var=no"
12504 rm -f conftest.err conftest.$ac_objext \
12505 conftest$ac_exeext conftest.$ac_ext
12507 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12508 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12509 if test `eval echo '${'$as_ac_var'}'` = yes; then
12510 cat >>confdefs.h <<_ACEOF
12511 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12512 _ACEOF
12515 done
12527 echo "$as_me:$LINENO: checking for expf declaration" >&5
12528 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
12529 if test x${glibcxx_cv_func_expf_use+set} != xset; then
12530 if test "${glibcxx_cv_func_expf_use+set}" = set; then
12531 echo $ECHO_N "(cached) $ECHO_C" >&6
12532 else
12536 ac_ext=cc
12537 ac_cpp='$CXXCPP $CPPFLAGS'
12538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12542 cat >conftest.$ac_ext <<_ACEOF
12543 /* confdefs.h. */
12544 _ACEOF
12545 cat confdefs.h >>conftest.$ac_ext
12546 cat >>conftest.$ac_ext <<_ACEOF
12547 /* end confdefs.h. */
12548 #include <math.h>
12549 #ifdef HAVE_IEEEFP_H
12550 #include <ieeefp.h>
12551 #endif
12554 main ()
12556 expf(0);
12558 return 0;
12560 _ACEOF
12561 rm -f conftest.$ac_objext
12562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12563 (eval $ac_compile) 2>conftest.er1
12564 ac_status=$?
12565 grep -v '^ *+' conftest.er1 >conftest.err
12566 rm -f conftest.er1
12567 cat conftest.err >&5
12568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12569 (exit $ac_status); } &&
12570 { ac_try='test -z "$ac_cxx_werror_flag"
12571 || test ! -s conftest.err'
12572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12573 (eval $ac_try) 2>&5
12574 ac_status=$?
12575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12576 (exit $ac_status); }; } &&
12577 { ac_try='test -s conftest.$ac_objext'
12578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12579 (eval $ac_try) 2>&5
12580 ac_status=$?
12581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12582 (exit $ac_status); }; }; then
12583 glibcxx_cv_func_expf_use=yes
12584 else
12585 echo "$as_me: failed program was:" >&5
12586 sed 's/^/| /' conftest.$ac_ext >&5
12588 glibcxx_cv_func_expf_use=no
12590 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12591 ac_ext=c
12592 ac_cpp='$CPP $CPPFLAGS'
12593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12601 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
12602 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
12604 if test x$glibcxx_cv_func_expf_use = x"yes"; then
12606 for ac_func in expf
12608 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12609 echo "$as_me:$LINENO: checking for $ac_func" >&5
12610 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12611 if eval "test \"\${$as_ac_var+set}\" = set"; then
12612 echo $ECHO_N "(cached) $ECHO_C" >&6
12613 else
12614 if test x$gcc_no_link = xyes; then
12615 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12616 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12617 { (exit 1); exit 1; }; }
12619 cat >conftest.$ac_ext <<_ACEOF
12620 /* confdefs.h. */
12621 _ACEOF
12622 cat confdefs.h >>conftest.$ac_ext
12623 cat >>conftest.$ac_ext <<_ACEOF
12624 /* end confdefs.h. */
12625 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12626 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12627 #define $ac_func innocuous_$ac_func
12629 /* System header to define __stub macros and hopefully few prototypes,
12630 which can conflict with char $ac_func (); below.
12631 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12632 <limits.h> exists even on freestanding compilers. */
12634 #ifdef __STDC__
12635 # include <limits.h>
12636 #else
12637 # include <assert.h>
12638 #endif
12640 #undef $ac_func
12642 /* Override any gcc2 internal prototype to avoid an error. */
12643 #ifdef __cplusplus
12644 extern "C"
12646 #endif
12647 /* We use char because int might match the return type of a gcc2
12648 builtin and then its argument prototype would still apply. */
12649 char $ac_func ();
12650 /* The GNU C library defines this for functions which it implements
12651 to always fail with ENOSYS. Some functions are actually named
12652 something starting with __ and the normal name is an alias. */
12653 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12654 choke me
12655 #else
12656 char (*f) () = $ac_func;
12657 #endif
12658 #ifdef __cplusplus
12660 #endif
12663 main ()
12665 return f != $ac_func;
12667 return 0;
12669 _ACEOF
12670 rm -f conftest.$ac_objext conftest$ac_exeext
12671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12672 (eval $ac_link) 2>conftest.er1
12673 ac_status=$?
12674 grep -v '^ *+' conftest.er1 >conftest.err
12675 rm -f conftest.er1
12676 cat conftest.err >&5
12677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12678 (exit $ac_status); } &&
12679 { ac_try='test -z "$ac_c_werror_flag"
12680 || test ! -s conftest.err'
12681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12682 (eval $ac_try) 2>&5
12683 ac_status=$?
12684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12685 (exit $ac_status); }; } &&
12686 { ac_try='test -s conftest$ac_exeext'
12687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12688 (eval $ac_try) 2>&5
12689 ac_status=$?
12690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12691 (exit $ac_status); }; }; then
12692 eval "$as_ac_var=yes"
12693 else
12694 echo "$as_me: failed program was:" >&5
12695 sed 's/^/| /' conftest.$ac_ext >&5
12697 eval "$as_ac_var=no"
12699 rm -f conftest.err conftest.$ac_objext \
12700 conftest$ac_exeext conftest.$ac_ext
12702 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12703 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12704 if test `eval echo '${'$as_ac_var'}'` = yes; then
12705 cat >>confdefs.h <<_ACEOF
12706 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12707 _ACEOF
12710 done
12712 else
12714 echo "$as_me:$LINENO: checking for _expf declaration" >&5
12715 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
12716 if test x${glibcxx_cv_func__expf_use+set} != xset; then
12717 if test "${glibcxx_cv_func__expf_use+set}" = set; then
12718 echo $ECHO_N "(cached) $ECHO_C" >&6
12719 else
12723 ac_ext=cc
12724 ac_cpp='$CXXCPP $CPPFLAGS'
12725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12729 cat >conftest.$ac_ext <<_ACEOF
12730 /* confdefs.h. */
12731 _ACEOF
12732 cat confdefs.h >>conftest.$ac_ext
12733 cat >>conftest.$ac_ext <<_ACEOF
12734 /* end confdefs.h. */
12735 #include <math.h>
12736 #ifdef HAVE_IEEEFP_H
12737 #include <ieeefp.h>
12738 #endif
12741 main ()
12743 _expf(0);
12745 return 0;
12747 _ACEOF
12748 rm -f conftest.$ac_objext
12749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12750 (eval $ac_compile) 2>conftest.er1
12751 ac_status=$?
12752 grep -v '^ *+' conftest.er1 >conftest.err
12753 rm -f conftest.er1
12754 cat conftest.err >&5
12755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12756 (exit $ac_status); } &&
12757 { ac_try='test -z "$ac_cxx_werror_flag"
12758 || test ! -s conftest.err'
12759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12760 (eval $ac_try) 2>&5
12761 ac_status=$?
12762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12763 (exit $ac_status); }; } &&
12764 { ac_try='test -s conftest.$ac_objext'
12765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12766 (eval $ac_try) 2>&5
12767 ac_status=$?
12768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12769 (exit $ac_status); }; }; then
12770 glibcxx_cv_func__expf_use=yes
12771 else
12772 echo "$as_me: failed program was:" >&5
12773 sed 's/^/| /' conftest.$ac_ext >&5
12775 glibcxx_cv_func__expf_use=no
12777 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12778 ac_ext=c
12779 ac_cpp='$CPP $CPPFLAGS'
12780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12788 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
12789 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
12791 if test x$glibcxx_cv_func__expf_use = x"yes"; then
12793 for ac_func in _expf
12795 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12796 echo "$as_me:$LINENO: checking for $ac_func" >&5
12797 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12798 if eval "test \"\${$as_ac_var+set}\" = set"; then
12799 echo $ECHO_N "(cached) $ECHO_C" >&6
12800 else
12801 if test x$gcc_no_link = xyes; then
12802 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12803 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12804 { (exit 1); exit 1; }; }
12806 cat >conftest.$ac_ext <<_ACEOF
12807 /* confdefs.h. */
12808 _ACEOF
12809 cat confdefs.h >>conftest.$ac_ext
12810 cat >>conftest.$ac_ext <<_ACEOF
12811 /* end confdefs.h. */
12812 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12813 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12814 #define $ac_func innocuous_$ac_func
12816 /* System header to define __stub macros and hopefully few prototypes,
12817 which can conflict with char $ac_func (); below.
12818 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12819 <limits.h> exists even on freestanding compilers. */
12821 #ifdef __STDC__
12822 # include <limits.h>
12823 #else
12824 # include <assert.h>
12825 #endif
12827 #undef $ac_func
12829 /* Override any gcc2 internal prototype to avoid an error. */
12830 #ifdef __cplusplus
12831 extern "C"
12833 #endif
12834 /* We use char because int might match the return type of a gcc2
12835 builtin and then its argument prototype would still apply. */
12836 char $ac_func ();
12837 /* The GNU C library defines this for functions which it implements
12838 to always fail with ENOSYS. Some functions are actually named
12839 something starting with __ and the normal name is an alias. */
12840 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12841 choke me
12842 #else
12843 char (*f) () = $ac_func;
12844 #endif
12845 #ifdef __cplusplus
12847 #endif
12850 main ()
12852 return f != $ac_func;
12854 return 0;
12856 _ACEOF
12857 rm -f conftest.$ac_objext conftest$ac_exeext
12858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12859 (eval $ac_link) 2>conftest.er1
12860 ac_status=$?
12861 grep -v '^ *+' conftest.er1 >conftest.err
12862 rm -f conftest.er1
12863 cat conftest.err >&5
12864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12865 (exit $ac_status); } &&
12866 { ac_try='test -z "$ac_c_werror_flag"
12867 || test ! -s conftest.err'
12868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12869 (eval $ac_try) 2>&5
12870 ac_status=$?
12871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12872 (exit $ac_status); }; } &&
12873 { ac_try='test -s conftest$ac_exeext'
12874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12875 (eval $ac_try) 2>&5
12876 ac_status=$?
12877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12878 (exit $ac_status); }; }; then
12879 eval "$as_ac_var=yes"
12880 else
12881 echo "$as_me: failed program was:" >&5
12882 sed 's/^/| /' conftest.$ac_ext >&5
12884 eval "$as_ac_var=no"
12886 rm -f conftest.err conftest.$ac_objext \
12887 conftest$ac_exeext conftest.$ac_ext
12889 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12890 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12891 if test `eval echo '${'$as_ac_var'}'` = yes; then
12892 cat >>confdefs.h <<_ACEOF
12893 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12894 _ACEOF
12897 done
12907 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
12908 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
12909 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
12910 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
12911 echo $ECHO_N "(cached) $ECHO_C" >&6
12912 else
12916 ac_ext=cc
12917 ac_cpp='$CXXCPP $CPPFLAGS'
12918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12922 cat >conftest.$ac_ext <<_ACEOF
12923 /* confdefs.h. */
12924 _ACEOF
12925 cat confdefs.h >>conftest.$ac_ext
12926 cat >>conftest.$ac_ext <<_ACEOF
12927 /* end confdefs.h. */
12928 #include <math.h>
12929 #ifdef HAVE_IEEEFP_H
12930 #include <ieeefp.h>
12931 #endif
12934 main ()
12936 isnanf(0);
12938 return 0;
12940 _ACEOF
12941 rm -f conftest.$ac_objext
12942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12943 (eval $ac_compile) 2>conftest.er1
12944 ac_status=$?
12945 grep -v '^ *+' conftest.er1 >conftest.err
12946 rm -f conftest.er1
12947 cat conftest.err >&5
12948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12949 (exit $ac_status); } &&
12950 { ac_try='test -z "$ac_cxx_werror_flag"
12951 || test ! -s conftest.err'
12952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12953 (eval $ac_try) 2>&5
12954 ac_status=$?
12955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12956 (exit $ac_status); }; } &&
12957 { ac_try='test -s conftest.$ac_objext'
12958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12959 (eval $ac_try) 2>&5
12960 ac_status=$?
12961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12962 (exit $ac_status); }; }; then
12963 glibcxx_cv_func_isnanf_use=yes
12964 else
12965 echo "$as_me: failed program was:" >&5
12966 sed 's/^/| /' conftest.$ac_ext >&5
12968 glibcxx_cv_func_isnanf_use=no
12970 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12971 ac_ext=c
12972 ac_cpp='$CPP $CPPFLAGS'
12973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12981 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
12982 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
12984 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
12986 for ac_func in isnanf
12988 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12989 echo "$as_me:$LINENO: checking for $ac_func" >&5
12990 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12991 if eval "test \"\${$as_ac_var+set}\" = set"; then
12992 echo $ECHO_N "(cached) $ECHO_C" >&6
12993 else
12994 if test x$gcc_no_link = xyes; then
12995 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12996 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12997 { (exit 1); exit 1; }; }
12999 cat >conftest.$ac_ext <<_ACEOF
13000 /* confdefs.h. */
13001 _ACEOF
13002 cat confdefs.h >>conftest.$ac_ext
13003 cat >>conftest.$ac_ext <<_ACEOF
13004 /* end confdefs.h. */
13005 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13006 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13007 #define $ac_func innocuous_$ac_func
13009 /* System header to define __stub macros and hopefully few prototypes,
13010 which can conflict with char $ac_func (); below.
13011 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13012 <limits.h> exists even on freestanding compilers. */
13014 #ifdef __STDC__
13015 # include <limits.h>
13016 #else
13017 # include <assert.h>
13018 #endif
13020 #undef $ac_func
13022 /* Override any gcc2 internal prototype to avoid an error. */
13023 #ifdef __cplusplus
13024 extern "C"
13026 #endif
13027 /* We use char because int might match the return type of a gcc2
13028 builtin and then its argument prototype would still apply. */
13029 char $ac_func ();
13030 /* The GNU C library defines this for functions which it implements
13031 to always fail with ENOSYS. Some functions are actually named
13032 something starting with __ and the normal name is an alias. */
13033 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13034 choke me
13035 #else
13036 char (*f) () = $ac_func;
13037 #endif
13038 #ifdef __cplusplus
13040 #endif
13043 main ()
13045 return f != $ac_func;
13047 return 0;
13049 _ACEOF
13050 rm -f conftest.$ac_objext conftest$ac_exeext
13051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13052 (eval $ac_link) 2>conftest.er1
13053 ac_status=$?
13054 grep -v '^ *+' conftest.er1 >conftest.err
13055 rm -f conftest.er1
13056 cat conftest.err >&5
13057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13058 (exit $ac_status); } &&
13059 { ac_try='test -z "$ac_c_werror_flag"
13060 || test ! -s conftest.err'
13061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13062 (eval $ac_try) 2>&5
13063 ac_status=$?
13064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13065 (exit $ac_status); }; } &&
13066 { ac_try='test -s conftest$ac_exeext'
13067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13068 (eval $ac_try) 2>&5
13069 ac_status=$?
13070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13071 (exit $ac_status); }; }; then
13072 eval "$as_ac_var=yes"
13073 else
13074 echo "$as_me: failed program was:" >&5
13075 sed 's/^/| /' conftest.$ac_ext >&5
13077 eval "$as_ac_var=no"
13079 rm -f conftest.err conftest.$ac_objext \
13080 conftest$ac_exeext conftest.$ac_ext
13082 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13083 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13084 if test `eval echo '${'$as_ac_var'}'` = yes; then
13085 cat >>confdefs.h <<_ACEOF
13086 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13087 _ACEOF
13090 done
13092 else
13094 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
13095 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
13096 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
13097 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
13098 echo $ECHO_N "(cached) $ECHO_C" >&6
13099 else
13103 ac_ext=cc
13104 ac_cpp='$CXXCPP $CPPFLAGS'
13105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13109 cat >conftest.$ac_ext <<_ACEOF
13110 /* confdefs.h. */
13111 _ACEOF
13112 cat confdefs.h >>conftest.$ac_ext
13113 cat >>conftest.$ac_ext <<_ACEOF
13114 /* end confdefs.h. */
13115 #include <math.h>
13116 #ifdef HAVE_IEEEFP_H
13117 #include <ieeefp.h>
13118 #endif
13121 main ()
13123 _isnanf(0);
13125 return 0;
13127 _ACEOF
13128 rm -f conftest.$ac_objext
13129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13130 (eval $ac_compile) 2>conftest.er1
13131 ac_status=$?
13132 grep -v '^ *+' conftest.er1 >conftest.err
13133 rm -f conftest.er1
13134 cat conftest.err >&5
13135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13136 (exit $ac_status); } &&
13137 { ac_try='test -z "$ac_cxx_werror_flag"
13138 || test ! -s conftest.err'
13139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13140 (eval $ac_try) 2>&5
13141 ac_status=$?
13142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13143 (exit $ac_status); }; } &&
13144 { ac_try='test -s conftest.$ac_objext'
13145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13146 (eval $ac_try) 2>&5
13147 ac_status=$?
13148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13149 (exit $ac_status); }; }; then
13150 glibcxx_cv_func__isnanf_use=yes
13151 else
13152 echo "$as_me: failed program was:" >&5
13153 sed 's/^/| /' conftest.$ac_ext >&5
13155 glibcxx_cv_func__isnanf_use=no
13157 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13158 ac_ext=c
13159 ac_cpp='$CPP $CPPFLAGS'
13160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13168 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
13169 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
13171 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
13173 for ac_func in _isnanf
13175 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13176 echo "$as_me:$LINENO: checking for $ac_func" >&5
13177 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13178 if eval "test \"\${$as_ac_var+set}\" = set"; then
13179 echo $ECHO_N "(cached) $ECHO_C" >&6
13180 else
13181 if test x$gcc_no_link = xyes; then
13182 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13183 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13184 { (exit 1); exit 1; }; }
13186 cat >conftest.$ac_ext <<_ACEOF
13187 /* confdefs.h. */
13188 _ACEOF
13189 cat confdefs.h >>conftest.$ac_ext
13190 cat >>conftest.$ac_ext <<_ACEOF
13191 /* end confdefs.h. */
13192 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13193 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13194 #define $ac_func innocuous_$ac_func
13196 /* System header to define __stub macros and hopefully few prototypes,
13197 which can conflict with char $ac_func (); below.
13198 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13199 <limits.h> exists even on freestanding compilers. */
13201 #ifdef __STDC__
13202 # include <limits.h>
13203 #else
13204 # include <assert.h>
13205 #endif
13207 #undef $ac_func
13209 /* Override any gcc2 internal prototype to avoid an error. */
13210 #ifdef __cplusplus
13211 extern "C"
13213 #endif
13214 /* We use char because int might match the return type of a gcc2
13215 builtin and then its argument prototype would still apply. */
13216 char $ac_func ();
13217 /* The GNU C library defines this for functions which it implements
13218 to always fail with ENOSYS. Some functions are actually named
13219 something starting with __ and the normal name is an alias. */
13220 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13221 choke me
13222 #else
13223 char (*f) () = $ac_func;
13224 #endif
13225 #ifdef __cplusplus
13227 #endif
13230 main ()
13232 return f != $ac_func;
13234 return 0;
13236 _ACEOF
13237 rm -f conftest.$ac_objext conftest$ac_exeext
13238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13239 (eval $ac_link) 2>conftest.er1
13240 ac_status=$?
13241 grep -v '^ *+' conftest.er1 >conftest.err
13242 rm -f conftest.er1
13243 cat conftest.err >&5
13244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13245 (exit $ac_status); } &&
13246 { ac_try='test -z "$ac_c_werror_flag"
13247 || test ! -s conftest.err'
13248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13249 (eval $ac_try) 2>&5
13250 ac_status=$?
13251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13252 (exit $ac_status); }; } &&
13253 { ac_try='test -s conftest$ac_exeext'
13254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13255 (eval $ac_try) 2>&5
13256 ac_status=$?
13257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13258 (exit $ac_status); }; }; then
13259 eval "$as_ac_var=yes"
13260 else
13261 echo "$as_me: failed program was:" >&5
13262 sed 's/^/| /' conftest.$ac_ext >&5
13264 eval "$as_ac_var=no"
13266 rm -f conftest.err conftest.$ac_objext \
13267 conftest$ac_exeext conftest.$ac_ext
13269 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13270 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13271 if test `eval echo '${'$as_ac_var'}'` = yes; then
13272 cat >>confdefs.h <<_ACEOF
13273 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13274 _ACEOF
13277 done
13287 echo "$as_me:$LINENO: checking for isinff declaration" >&5
13288 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
13289 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
13290 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
13291 echo $ECHO_N "(cached) $ECHO_C" >&6
13292 else
13296 ac_ext=cc
13297 ac_cpp='$CXXCPP $CPPFLAGS'
13298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13302 cat >conftest.$ac_ext <<_ACEOF
13303 /* confdefs.h. */
13304 _ACEOF
13305 cat confdefs.h >>conftest.$ac_ext
13306 cat >>conftest.$ac_ext <<_ACEOF
13307 /* end confdefs.h. */
13308 #include <math.h>
13309 #ifdef HAVE_IEEEFP_H
13310 #include <ieeefp.h>
13311 #endif
13314 main ()
13316 isinff(0);
13318 return 0;
13320 _ACEOF
13321 rm -f conftest.$ac_objext
13322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13323 (eval $ac_compile) 2>conftest.er1
13324 ac_status=$?
13325 grep -v '^ *+' conftest.er1 >conftest.err
13326 rm -f conftest.er1
13327 cat conftest.err >&5
13328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13329 (exit $ac_status); } &&
13330 { ac_try='test -z "$ac_cxx_werror_flag"
13331 || test ! -s conftest.err'
13332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13333 (eval $ac_try) 2>&5
13334 ac_status=$?
13335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13336 (exit $ac_status); }; } &&
13337 { ac_try='test -s conftest.$ac_objext'
13338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13339 (eval $ac_try) 2>&5
13340 ac_status=$?
13341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13342 (exit $ac_status); }; }; then
13343 glibcxx_cv_func_isinff_use=yes
13344 else
13345 echo "$as_me: failed program was:" >&5
13346 sed 's/^/| /' conftest.$ac_ext >&5
13348 glibcxx_cv_func_isinff_use=no
13350 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13351 ac_ext=c
13352 ac_cpp='$CPP $CPPFLAGS'
13353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13361 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
13362 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
13364 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
13366 for ac_func in isinff
13368 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13369 echo "$as_me:$LINENO: checking for $ac_func" >&5
13370 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13371 if eval "test \"\${$as_ac_var+set}\" = set"; then
13372 echo $ECHO_N "(cached) $ECHO_C" >&6
13373 else
13374 if test x$gcc_no_link = xyes; then
13375 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13376 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13377 { (exit 1); exit 1; }; }
13379 cat >conftest.$ac_ext <<_ACEOF
13380 /* confdefs.h. */
13381 _ACEOF
13382 cat confdefs.h >>conftest.$ac_ext
13383 cat >>conftest.$ac_ext <<_ACEOF
13384 /* end confdefs.h. */
13385 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13386 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13387 #define $ac_func innocuous_$ac_func
13389 /* System header to define __stub macros and hopefully few prototypes,
13390 which can conflict with char $ac_func (); below.
13391 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13392 <limits.h> exists even on freestanding compilers. */
13394 #ifdef __STDC__
13395 # include <limits.h>
13396 #else
13397 # include <assert.h>
13398 #endif
13400 #undef $ac_func
13402 /* Override any gcc2 internal prototype to avoid an error. */
13403 #ifdef __cplusplus
13404 extern "C"
13406 #endif
13407 /* We use char because int might match the return type of a gcc2
13408 builtin and then its argument prototype would still apply. */
13409 char $ac_func ();
13410 /* The GNU C library defines this for functions which it implements
13411 to always fail with ENOSYS. Some functions are actually named
13412 something starting with __ and the normal name is an alias. */
13413 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13414 choke me
13415 #else
13416 char (*f) () = $ac_func;
13417 #endif
13418 #ifdef __cplusplus
13420 #endif
13423 main ()
13425 return f != $ac_func;
13427 return 0;
13429 _ACEOF
13430 rm -f conftest.$ac_objext conftest$ac_exeext
13431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13432 (eval $ac_link) 2>conftest.er1
13433 ac_status=$?
13434 grep -v '^ *+' conftest.er1 >conftest.err
13435 rm -f conftest.er1
13436 cat conftest.err >&5
13437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13438 (exit $ac_status); } &&
13439 { ac_try='test -z "$ac_c_werror_flag"
13440 || test ! -s conftest.err'
13441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13442 (eval $ac_try) 2>&5
13443 ac_status=$?
13444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13445 (exit $ac_status); }; } &&
13446 { ac_try='test -s conftest$ac_exeext'
13447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13448 (eval $ac_try) 2>&5
13449 ac_status=$?
13450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13451 (exit $ac_status); }; }; then
13452 eval "$as_ac_var=yes"
13453 else
13454 echo "$as_me: failed program was:" >&5
13455 sed 's/^/| /' conftest.$ac_ext >&5
13457 eval "$as_ac_var=no"
13459 rm -f conftest.err conftest.$ac_objext \
13460 conftest$ac_exeext conftest.$ac_ext
13462 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13463 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13464 if test `eval echo '${'$as_ac_var'}'` = yes; then
13465 cat >>confdefs.h <<_ACEOF
13466 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13467 _ACEOF
13470 done
13472 else
13474 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
13475 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
13476 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
13477 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
13478 echo $ECHO_N "(cached) $ECHO_C" >&6
13479 else
13483 ac_ext=cc
13484 ac_cpp='$CXXCPP $CPPFLAGS'
13485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13489 cat >conftest.$ac_ext <<_ACEOF
13490 /* confdefs.h. */
13491 _ACEOF
13492 cat confdefs.h >>conftest.$ac_ext
13493 cat >>conftest.$ac_ext <<_ACEOF
13494 /* end confdefs.h. */
13495 #include <math.h>
13496 #ifdef HAVE_IEEEFP_H
13497 #include <ieeefp.h>
13498 #endif
13501 main ()
13503 _isinff(0);
13505 return 0;
13507 _ACEOF
13508 rm -f conftest.$ac_objext
13509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13510 (eval $ac_compile) 2>conftest.er1
13511 ac_status=$?
13512 grep -v '^ *+' conftest.er1 >conftest.err
13513 rm -f conftest.er1
13514 cat conftest.err >&5
13515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13516 (exit $ac_status); } &&
13517 { ac_try='test -z "$ac_cxx_werror_flag"
13518 || test ! -s conftest.err'
13519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13520 (eval $ac_try) 2>&5
13521 ac_status=$?
13522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13523 (exit $ac_status); }; } &&
13524 { ac_try='test -s conftest.$ac_objext'
13525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13526 (eval $ac_try) 2>&5
13527 ac_status=$?
13528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13529 (exit $ac_status); }; }; then
13530 glibcxx_cv_func__isinff_use=yes
13531 else
13532 echo "$as_me: failed program was:" >&5
13533 sed 's/^/| /' conftest.$ac_ext >&5
13535 glibcxx_cv_func__isinff_use=no
13537 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13538 ac_ext=c
13539 ac_cpp='$CPP $CPPFLAGS'
13540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13548 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
13549 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
13551 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
13553 for ac_func in _isinff
13555 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13556 echo "$as_me:$LINENO: checking for $ac_func" >&5
13557 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13558 if eval "test \"\${$as_ac_var+set}\" = set"; then
13559 echo $ECHO_N "(cached) $ECHO_C" >&6
13560 else
13561 if test x$gcc_no_link = xyes; then
13562 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13563 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13564 { (exit 1); exit 1; }; }
13566 cat >conftest.$ac_ext <<_ACEOF
13567 /* confdefs.h. */
13568 _ACEOF
13569 cat confdefs.h >>conftest.$ac_ext
13570 cat >>conftest.$ac_ext <<_ACEOF
13571 /* end confdefs.h. */
13572 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13573 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13574 #define $ac_func innocuous_$ac_func
13576 /* System header to define __stub macros and hopefully few prototypes,
13577 which can conflict with char $ac_func (); below.
13578 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13579 <limits.h> exists even on freestanding compilers. */
13581 #ifdef __STDC__
13582 # include <limits.h>
13583 #else
13584 # include <assert.h>
13585 #endif
13587 #undef $ac_func
13589 /* Override any gcc2 internal prototype to avoid an error. */
13590 #ifdef __cplusplus
13591 extern "C"
13593 #endif
13594 /* We use char because int might match the return type of a gcc2
13595 builtin and then its argument prototype would still apply. */
13596 char $ac_func ();
13597 /* The GNU C library defines this for functions which it implements
13598 to always fail with ENOSYS. Some functions are actually named
13599 something starting with __ and the normal name is an alias. */
13600 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13601 choke me
13602 #else
13603 char (*f) () = $ac_func;
13604 #endif
13605 #ifdef __cplusplus
13607 #endif
13610 main ()
13612 return f != $ac_func;
13614 return 0;
13616 _ACEOF
13617 rm -f conftest.$ac_objext conftest$ac_exeext
13618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13619 (eval $ac_link) 2>conftest.er1
13620 ac_status=$?
13621 grep -v '^ *+' conftest.er1 >conftest.err
13622 rm -f conftest.er1
13623 cat conftest.err >&5
13624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13625 (exit $ac_status); } &&
13626 { ac_try='test -z "$ac_c_werror_flag"
13627 || test ! -s conftest.err'
13628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13629 (eval $ac_try) 2>&5
13630 ac_status=$?
13631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13632 (exit $ac_status); }; } &&
13633 { ac_try='test -s conftest$ac_exeext'
13634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13635 (eval $ac_try) 2>&5
13636 ac_status=$?
13637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13638 (exit $ac_status); }; }; then
13639 eval "$as_ac_var=yes"
13640 else
13641 echo "$as_me: failed program was:" >&5
13642 sed 's/^/| /' conftest.$ac_ext >&5
13644 eval "$as_ac_var=no"
13646 rm -f conftest.err conftest.$ac_objext \
13647 conftest$ac_exeext conftest.$ac_ext
13649 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13650 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13651 if test `eval echo '${'$as_ac_var'}'` = yes; then
13652 cat >>confdefs.h <<_ACEOF
13653 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13654 _ACEOF
13657 done
13667 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
13668 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
13669 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
13670 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
13671 echo $ECHO_N "(cached) $ECHO_C" >&6
13672 else
13676 ac_ext=cc
13677 ac_cpp='$CXXCPP $CPPFLAGS'
13678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13682 cat >conftest.$ac_ext <<_ACEOF
13683 /* confdefs.h. */
13684 _ACEOF
13685 cat confdefs.h >>conftest.$ac_ext
13686 cat >>conftest.$ac_ext <<_ACEOF
13687 /* end confdefs.h. */
13688 #include <math.h>
13690 main ()
13692 atan2f(0, 0);
13694 return 0;
13696 _ACEOF
13697 rm -f conftest.$ac_objext
13698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13699 (eval $ac_compile) 2>conftest.er1
13700 ac_status=$?
13701 grep -v '^ *+' conftest.er1 >conftest.err
13702 rm -f conftest.er1
13703 cat conftest.err >&5
13704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13705 (exit $ac_status); } &&
13706 { ac_try='test -z "$ac_cxx_werror_flag"
13707 || test ! -s conftest.err'
13708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13709 (eval $ac_try) 2>&5
13710 ac_status=$?
13711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13712 (exit $ac_status); }; } &&
13713 { ac_try='test -s conftest.$ac_objext'
13714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13715 (eval $ac_try) 2>&5
13716 ac_status=$?
13717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13718 (exit $ac_status); }; }; then
13719 glibcxx_cv_func_atan2f_use=yes
13720 else
13721 echo "$as_me: failed program was:" >&5
13722 sed 's/^/| /' conftest.$ac_ext >&5
13724 glibcxx_cv_func_atan2f_use=no
13726 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13727 ac_ext=c
13728 ac_cpp='$CPP $CPPFLAGS'
13729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13737 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
13738 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
13740 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
13742 for ac_func in atan2f
13744 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13745 echo "$as_me:$LINENO: checking for $ac_func" >&5
13746 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13747 if eval "test \"\${$as_ac_var+set}\" = set"; then
13748 echo $ECHO_N "(cached) $ECHO_C" >&6
13749 else
13750 if test x$gcc_no_link = xyes; then
13751 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13752 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13753 { (exit 1); exit 1; }; }
13755 cat >conftest.$ac_ext <<_ACEOF
13756 /* confdefs.h. */
13757 _ACEOF
13758 cat confdefs.h >>conftest.$ac_ext
13759 cat >>conftest.$ac_ext <<_ACEOF
13760 /* end confdefs.h. */
13761 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13762 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13763 #define $ac_func innocuous_$ac_func
13765 /* System header to define __stub macros and hopefully few prototypes,
13766 which can conflict with char $ac_func (); below.
13767 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13768 <limits.h> exists even on freestanding compilers. */
13770 #ifdef __STDC__
13771 # include <limits.h>
13772 #else
13773 # include <assert.h>
13774 #endif
13776 #undef $ac_func
13778 /* Override any gcc2 internal prototype to avoid an error. */
13779 #ifdef __cplusplus
13780 extern "C"
13782 #endif
13783 /* We use char because int might match the return type of a gcc2
13784 builtin and then its argument prototype would still apply. */
13785 char $ac_func ();
13786 /* The GNU C library defines this for functions which it implements
13787 to always fail with ENOSYS. Some functions are actually named
13788 something starting with __ and the normal name is an alias. */
13789 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13790 choke me
13791 #else
13792 char (*f) () = $ac_func;
13793 #endif
13794 #ifdef __cplusplus
13796 #endif
13799 main ()
13801 return f != $ac_func;
13803 return 0;
13805 _ACEOF
13806 rm -f conftest.$ac_objext conftest$ac_exeext
13807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13808 (eval $ac_link) 2>conftest.er1
13809 ac_status=$?
13810 grep -v '^ *+' conftest.er1 >conftest.err
13811 rm -f conftest.er1
13812 cat conftest.err >&5
13813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13814 (exit $ac_status); } &&
13815 { ac_try='test -z "$ac_c_werror_flag"
13816 || test ! -s conftest.err'
13817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13818 (eval $ac_try) 2>&5
13819 ac_status=$?
13820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13821 (exit $ac_status); }; } &&
13822 { ac_try='test -s conftest$ac_exeext'
13823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13824 (eval $ac_try) 2>&5
13825 ac_status=$?
13826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13827 (exit $ac_status); }; }; then
13828 eval "$as_ac_var=yes"
13829 else
13830 echo "$as_me: failed program was:" >&5
13831 sed 's/^/| /' conftest.$ac_ext >&5
13833 eval "$as_ac_var=no"
13835 rm -f conftest.err conftest.$ac_objext \
13836 conftest$ac_exeext conftest.$ac_ext
13838 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13839 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13840 if test `eval echo '${'$as_ac_var'}'` = yes; then
13841 cat >>confdefs.h <<_ACEOF
13842 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13843 _ACEOF
13846 done
13848 else
13850 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
13851 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
13852 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
13853 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
13854 echo $ECHO_N "(cached) $ECHO_C" >&6
13855 else
13859 ac_ext=cc
13860 ac_cpp='$CXXCPP $CPPFLAGS'
13861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13865 cat >conftest.$ac_ext <<_ACEOF
13866 /* confdefs.h. */
13867 _ACEOF
13868 cat confdefs.h >>conftest.$ac_ext
13869 cat >>conftest.$ac_ext <<_ACEOF
13870 /* end confdefs.h. */
13871 #include <math.h>
13873 main ()
13875 _atan2f(0, 0);
13877 return 0;
13879 _ACEOF
13880 rm -f conftest.$ac_objext
13881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13882 (eval $ac_compile) 2>conftest.er1
13883 ac_status=$?
13884 grep -v '^ *+' conftest.er1 >conftest.err
13885 rm -f conftest.er1
13886 cat conftest.err >&5
13887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13888 (exit $ac_status); } &&
13889 { ac_try='test -z "$ac_cxx_werror_flag"
13890 || test ! -s conftest.err'
13891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13892 (eval $ac_try) 2>&5
13893 ac_status=$?
13894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13895 (exit $ac_status); }; } &&
13896 { ac_try='test -s conftest.$ac_objext'
13897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13898 (eval $ac_try) 2>&5
13899 ac_status=$?
13900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13901 (exit $ac_status); }; }; then
13902 glibcxx_cv_func__atan2f_use=yes
13903 else
13904 echo "$as_me: failed program was:" >&5
13905 sed 's/^/| /' conftest.$ac_ext >&5
13907 glibcxx_cv_func__atan2f_use=no
13909 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13910 ac_ext=c
13911 ac_cpp='$CPP $CPPFLAGS'
13912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13920 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
13921 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
13923 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
13925 for ac_func in _atan2f
13927 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13928 echo "$as_me:$LINENO: checking for $ac_func" >&5
13929 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13930 if eval "test \"\${$as_ac_var+set}\" = set"; then
13931 echo $ECHO_N "(cached) $ECHO_C" >&6
13932 else
13933 if test x$gcc_no_link = xyes; then
13934 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13935 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13936 { (exit 1); exit 1; }; }
13938 cat >conftest.$ac_ext <<_ACEOF
13939 /* confdefs.h. */
13940 _ACEOF
13941 cat confdefs.h >>conftest.$ac_ext
13942 cat >>conftest.$ac_ext <<_ACEOF
13943 /* end confdefs.h. */
13944 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13945 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13946 #define $ac_func innocuous_$ac_func
13948 /* System header to define __stub macros and hopefully few prototypes,
13949 which can conflict with char $ac_func (); below.
13950 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13951 <limits.h> exists even on freestanding compilers. */
13953 #ifdef __STDC__
13954 # include <limits.h>
13955 #else
13956 # include <assert.h>
13957 #endif
13959 #undef $ac_func
13961 /* Override any gcc2 internal prototype to avoid an error. */
13962 #ifdef __cplusplus
13963 extern "C"
13965 #endif
13966 /* We use char because int might match the return type of a gcc2
13967 builtin and then its argument prototype would still apply. */
13968 char $ac_func ();
13969 /* The GNU C library defines this for functions which it implements
13970 to always fail with ENOSYS. Some functions are actually named
13971 something starting with __ and the normal name is an alias. */
13972 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13973 choke me
13974 #else
13975 char (*f) () = $ac_func;
13976 #endif
13977 #ifdef __cplusplus
13979 #endif
13982 main ()
13984 return f != $ac_func;
13986 return 0;
13988 _ACEOF
13989 rm -f conftest.$ac_objext conftest$ac_exeext
13990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13991 (eval $ac_link) 2>conftest.er1
13992 ac_status=$?
13993 grep -v '^ *+' conftest.er1 >conftest.err
13994 rm -f conftest.er1
13995 cat conftest.err >&5
13996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13997 (exit $ac_status); } &&
13998 { ac_try='test -z "$ac_c_werror_flag"
13999 || test ! -s conftest.err'
14000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14001 (eval $ac_try) 2>&5
14002 ac_status=$?
14003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14004 (exit $ac_status); }; } &&
14005 { ac_try='test -s conftest$ac_exeext'
14006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14007 (eval $ac_try) 2>&5
14008 ac_status=$?
14009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14010 (exit $ac_status); }; }; then
14011 eval "$as_ac_var=yes"
14012 else
14013 echo "$as_me: failed program was:" >&5
14014 sed 's/^/| /' conftest.$ac_ext >&5
14016 eval "$as_ac_var=no"
14018 rm -f conftest.err conftest.$ac_objext \
14019 conftest$ac_exeext conftest.$ac_ext
14021 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14022 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14023 if test `eval echo '${'$as_ac_var'}'` = yes; then
14024 cat >>confdefs.h <<_ACEOF
14025 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14026 _ACEOF
14029 done
14039 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
14040 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
14041 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
14042 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
14043 echo $ECHO_N "(cached) $ECHO_C" >&6
14044 else
14048 ac_ext=cc
14049 ac_cpp='$CXXCPP $CPPFLAGS'
14050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14054 cat >conftest.$ac_ext <<_ACEOF
14055 /* confdefs.h. */
14056 _ACEOF
14057 cat confdefs.h >>conftest.$ac_ext
14058 cat >>conftest.$ac_ext <<_ACEOF
14059 /* end confdefs.h. */
14060 #include <math.h>
14061 #ifdef HAVE_IEEEFP_H
14062 #include <ieeefp.h>
14063 #endif
14066 main ()
14068 fabsf(0);
14070 return 0;
14072 _ACEOF
14073 rm -f conftest.$ac_objext
14074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14075 (eval $ac_compile) 2>conftest.er1
14076 ac_status=$?
14077 grep -v '^ *+' conftest.er1 >conftest.err
14078 rm -f conftest.er1
14079 cat conftest.err >&5
14080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14081 (exit $ac_status); } &&
14082 { ac_try='test -z "$ac_cxx_werror_flag"
14083 || test ! -s conftest.err'
14084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14085 (eval $ac_try) 2>&5
14086 ac_status=$?
14087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14088 (exit $ac_status); }; } &&
14089 { ac_try='test -s conftest.$ac_objext'
14090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14091 (eval $ac_try) 2>&5
14092 ac_status=$?
14093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14094 (exit $ac_status); }; }; then
14095 glibcxx_cv_func_fabsf_use=yes
14096 else
14097 echo "$as_me: failed program was:" >&5
14098 sed 's/^/| /' conftest.$ac_ext >&5
14100 glibcxx_cv_func_fabsf_use=no
14102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14103 ac_ext=c
14104 ac_cpp='$CPP $CPPFLAGS'
14105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14113 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
14114 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
14116 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
14118 for ac_func in fabsf
14120 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14121 echo "$as_me:$LINENO: checking for $ac_func" >&5
14122 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14123 if eval "test \"\${$as_ac_var+set}\" = set"; then
14124 echo $ECHO_N "(cached) $ECHO_C" >&6
14125 else
14126 if test x$gcc_no_link = xyes; then
14127 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14128 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14129 { (exit 1); exit 1; }; }
14131 cat >conftest.$ac_ext <<_ACEOF
14132 /* confdefs.h. */
14133 _ACEOF
14134 cat confdefs.h >>conftest.$ac_ext
14135 cat >>conftest.$ac_ext <<_ACEOF
14136 /* end confdefs.h. */
14137 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14138 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14139 #define $ac_func innocuous_$ac_func
14141 /* System header to define __stub macros and hopefully few prototypes,
14142 which can conflict with char $ac_func (); below.
14143 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14144 <limits.h> exists even on freestanding compilers. */
14146 #ifdef __STDC__
14147 # include <limits.h>
14148 #else
14149 # include <assert.h>
14150 #endif
14152 #undef $ac_func
14154 /* Override any gcc2 internal prototype to avoid an error. */
14155 #ifdef __cplusplus
14156 extern "C"
14158 #endif
14159 /* We use char because int might match the return type of a gcc2
14160 builtin and then its argument prototype would still apply. */
14161 char $ac_func ();
14162 /* The GNU C library defines this for functions which it implements
14163 to always fail with ENOSYS. Some functions are actually named
14164 something starting with __ and the normal name is an alias. */
14165 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14166 choke me
14167 #else
14168 char (*f) () = $ac_func;
14169 #endif
14170 #ifdef __cplusplus
14172 #endif
14175 main ()
14177 return f != $ac_func;
14179 return 0;
14181 _ACEOF
14182 rm -f conftest.$ac_objext conftest$ac_exeext
14183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14184 (eval $ac_link) 2>conftest.er1
14185 ac_status=$?
14186 grep -v '^ *+' conftest.er1 >conftest.err
14187 rm -f conftest.er1
14188 cat conftest.err >&5
14189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14190 (exit $ac_status); } &&
14191 { ac_try='test -z "$ac_c_werror_flag"
14192 || test ! -s conftest.err'
14193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14194 (eval $ac_try) 2>&5
14195 ac_status=$?
14196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14197 (exit $ac_status); }; } &&
14198 { ac_try='test -s conftest$ac_exeext'
14199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14200 (eval $ac_try) 2>&5
14201 ac_status=$?
14202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14203 (exit $ac_status); }; }; then
14204 eval "$as_ac_var=yes"
14205 else
14206 echo "$as_me: failed program was:" >&5
14207 sed 's/^/| /' conftest.$ac_ext >&5
14209 eval "$as_ac_var=no"
14211 rm -f conftest.err conftest.$ac_objext \
14212 conftest$ac_exeext conftest.$ac_ext
14214 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14215 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14216 if test `eval echo '${'$as_ac_var'}'` = yes; then
14217 cat >>confdefs.h <<_ACEOF
14218 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14219 _ACEOF
14222 done
14224 else
14226 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
14227 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
14228 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
14229 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
14230 echo $ECHO_N "(cached) $ECHO_C" >&6
14231 else
14235 ac_ext=cc
14236 ac_cpp='$CXXCPP $CPPFLAGS'
14237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14241 cat >conftest.$ac_ext <<_ACEOF
14242 /* confdefs.h. */
14243 _ACEOF
14244 cat confdefs.h >>conftest.$ac_ext
14245 cat >>conftest.$ac_ext <<_ACEOF
14246 /* end confdefs.h. */
14247 #include <math.h>
14248 #ifdef HAVE_IEEEFP_H
14249 #include <ieeefp.h>
14250 #endif
14253 main ()
14255 _fabsf(0);
14257 return 0;
14259 _ACEOF
14260 rm -f conftest.$ac_objext
14261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14262 (eval $ac_compile) 2>conftest.er1
14263 ac_status=$?
14264 grep -v '^ *+' conftest.er1 >conftest.err
14265 rm -f conftest.er1
14266 cat conftest.err >&5
14267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14268 (exit $ac_status); } &&
14269 { ac_try='test -z "$ac_cxx_werror_flag"
14270 || test ! -s conftest.err'
14271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14272 (eval $ac_try) 2>&5
14273 ac_status=$?
14274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14275 (exit $ac_status); }; } &&
14276 { ac_try='test -s conftest.$ac_objext'
14277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14278 (eval $ac_try) 2>&5
14279 ac_status=$?
14280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14281 (exit $ac_status); }; }; then
14282 glibcxx_cv_func__fabsf_use=yes
14283 else
14284 echo "$as_me: failed program was:" >&5
14285 sed 's/^/| /' conftest.$ac_ext >&5
14287 glibcxx_cv_func__fabsf_use=no
14289 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14290 ac_ext=c
14291 ac_cpp='$CPP $CPPFLAGS'
14292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14300 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
14301 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
14303 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
14305 for ac_func in _fabsf
14307 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14308 echo "$as_me:$LINENO: checking for $ac_func" >&5
14309 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14310 if eval "test \"\${$as_ac_var+set}\" = set"; then
14311 echo $ECHO_N "(cached) $ECHO_C" >&6
14312 else
14313 if test x$gcc_no_link = xyes; then
14314 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14315 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14316 { (exit 1); exit 1; }; }
14318 cat >conftest.$ac_ext <<_ACEOF
14319 /* confdefs.h. */
14320 _ACEOF
14321 cat confdefs.h >>conftest.$ac_ext
14322 cat >>conftest.$ac_ext <<_ACEOF
14323 /* end confdefs.h. */
14324 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14325 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14326 #define $ac_func innocuous_$ac_func
14328 /* System header to define __stub macros and hopefully few prototypes,
14329 which can conflict with char $ac_func (); below.
14330 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14331 <limits.h> exists even on freestanding compilers. */
14333 #ifdef __STDC__
14334 # include <limits.h>
14335 #else
14336 # include <assert.h>
14337 #endif
14339 #undef $ac_func
14341 /* Override any gcc2 internal prototype to avoid an error. */
14342 #ifdef __cplusplus
14343 extern "C"
14345 #endif
14346 /* We use char because int might match the return type of a gcc2
14347 builtin and then its argument prototype would still apply. */
14348 char $ac_func ();
14349 /* The GNU C library defines this for functions which it implements
14350 to always fail with ENOSYS. Some functions are actually named
14351 something starting with __ and the normal name is an alias. */
14352 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14353 choke me
14354 #else
14355 char (*f) () = $ac_func;
14356 #endif
14357 #ifdef __cplusplus
14359 #endif
14362 main ()
14364 return f != $ac_func;
14366 return 0;
14368 _ACEOF
14369 rm -f conftest.$ac_objext conftest$ac_exeext
14370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14371 (eval $ac_link) 2>conftest.er1
14372 ac_status=$?
14373 grep -v '^ *+' conftest.er1 >conftest.err
14374 rm -f conftest.er1
14375 cat conftest.err >&5
14376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14377 (exit $ac_status); } &&
14378 { ac_try='test -z "$ac_c_werror_flag"
14379 || test ! -s conftest.err'
14380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14381 (eval $ac_try) 2>&5
14382 ac_status=$?
14383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14384 (exit $ac_status); }; } &&
14385 { ac_try='test -s conftest$ac_exeext'
14386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14387 (eval $ac_try) 2>&5
14388 ac_status=$?
14389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14390 (exit $ac_status); }; }; then
14391 eval "$as_ac_var=yes"
14392 else
14393 echo "$as_me: failed program was:" >&5
14394 sed 's/^/| /' conftest.$ac_ext >&5
14396 eval "$as_ac_var=no"
14398 rm -f conftest.err conftest.$ac_objext \
14399 conftest$ac_exeext conftest.$ac_ext
14401 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14402 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14403 if test `eval echo '${'$as_ac_var'}'` = yes; then
14404 cat >>confdefs.h <<_ACEOF
14405 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14406 _ACEOF
14409 done
14419 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
14420 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
14421 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
14422 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
14423 echo $ECHO_N "(cached) $ECHO_C" >&6
14424 else
14428 ac_ext=cc
14429 ac_cpp='$CXXCPP $CPPFLAGS'
14430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14434 cat >conftest.$ac_ext <<_ACEOF
14435 /* confdefs.h. */
14436 _ACEOF
14437 cat confdefs.h >>conftest.$ac_ext
14438 cat >>conftest.$ac_ext <<_ACEOF
14439 /* end confdefs.h. */
14440 #include <math.h>
14442 main ()
14444 fmodf(0, 0);
14446 return 0;
14448 _ACEOF
14449 rm -f conftest.$ac_objext
14450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14451 (eval $ac_compile) 2>conftest.er1
14452 ac_status=$?
14453 grep -v '^ *+' conftest.er1 >conftest.err
14454 rm -f conftest.er1
14455 cat conftest.err >&5
14456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14457 (exit $ac_status); } &&
14458 { ac_try='test -z "$ac_cxx_werror_flag"
14459 || test ! -s conftest.err'
14460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14461 (eval $ac_try) 2>&5
14462 ac_status=$?
14463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14464 (exit $ac_status); }; } &&
14465 { ac_try='test -s conftest.$ac_objext'
14466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14467 (eval $ac_try) 2>&5
14468 ac_status=$?
14469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14470 (exit $ac_status); }; }; then
14471 glibcxx_cv_func_fmodf_use=yes
14472 else
14473 echo "$as_me: failed program was:" >&5
14474 sed 's/^/| /' conftest.$ac_ext >&5
14476 glibcxx_cv_func_fmodf_use=no
14478 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14479 ac_ext=c
14480 ac_cpp='$CPP $CPPFLAGS'
14481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14489 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
14490 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
14492 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
14494 for ac_func in fmodf
14496 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14497 echo "$as_me:$LINENO: checking for $ac_func" >&5
14498 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14499 if eval "test \"\${$as_ac_var+set}\" = set"; then
14500 echo $ECHO_N "(cached) $ECHO_C" >&6
14501 else
14502 if test x$gcc_no_link = xyes; then
14503 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14504 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14505 { (exit 1); exit 1; }; }
14507 cat >conftest.$ac_ext <<_ACEOF
14508 /* confdefs.h. */
14509 _ACEOF
14510 cat confdefs.h >>conftest.$ac_ext
14511 cat >>conftest.$ac_ext <<_ACEOF
14512 /* end confdefs.h. */
14513 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14514 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14515 #define $ac_func innocuous_$ac_func
14517 /* System header to define __stub macros and hopefully few prototypes,
14518 which can conflict with char $ac_func (); below.
14519 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14520 <limits.h> exists even on freestanding compilers. */
14522 #ifdef __STDC__
14523 # include <limits.h>
14524 #else
14525 # include <assert.h>
14526 #endif
14528 #undef $ac_func
14530 /* Override any gcc2 internal prototype to avoid an error. */
14531 #ifdef __cplusplus
14532 extern "C"
14534 #endif
14535 /* We use char because int might match the return type of a gcc2
14536 builtin and then its argument prototype would still apply. */
14537 char $ac_func ();
14538 /* The GNU C library defines this for functions which it implements
14539 to always fail with ENOSYS. Some functions are actually named
14540 something starting with __ and the normal name is an alias. */
14541 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14542 choke me
14543 #else
14544 char (*f) () = $ac_func;
14545 #endif
14546 #ifdef __cplusplus
14548 #endif
14551 main ()
14553 return f != $ac_func;
14555 return 0;
14557 _ACEOF
14558 rm -f conftest.$ac_objext conftest$ac_exeext
14559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14560 (eval $ac_link) 2>conftest.er1
14561 ac_status=$?
14562 grep -v '^ *+' conftest.er1 >conftest.err
14563 rm -f conftest.er1
14564 cat conftest.err >&5
14565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14566 (exit $ac_status); } &&
14567 { ac_try='test -z "$ac_c_werror_flag"
14568 || test ! -s conftest.err'
14569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14570 (eval $ac_try) 2>&5
14571 ac_status=$?
14572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14573 (exit $ac_status); }; } &&
14574 { ac_try='test -s conftest$ac_exeext'
14575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14576 (eval $ac_try) 2>&5
14577 ac_status=$?
14578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14579 (exit $ac_status); }; }; then
14580 eval "$as_ac_var=yes"
14581 else
14582 echo "$as_me: failed program was:" >&5
14583 sed 's/^/| /' conftest.$ac_ext >&5
14585 eval "$as_ac_var=no"
14587 rm -f conftest.err conftest.$ac_objext \
14588 conftest$ac_exeext conftest.$ac_ext
14590 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14591 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14592 if test `eval echo '${'$as_ac_var'}'` = yes; then
14593 cat >>confdefs.h <<_ACEOF
14594 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14595 _ACEOF
14598 done
14600 else
14602 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
14603 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
14604 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
14605 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
14606 echo $ECHO_N "(cached) $ECHO_C" >&6
14607 else
14611 ac_ext=cc
14612 ac_cpp='$CXXCPP $CPPFLAGS'
14613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14617 cat >conftest.$ac_ext <<_ACEOF
14618 /* confdefs.h. */
14619 _ACEOF
14620 cat confdefs.h >>conftest.$ac_ext
14621 cat >>conftest.$ac_ext <<_ACEOF
14622 /* end confdefs.h. */
14623 #include <math.h>
14625 main ()
14627 _fmodf(0, 0);
14629 return 0;
14631 _ACEOF
14632 rm -f conftest.$ac_objext
14633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14634 (eval $ac_compile) 2>conftest.er1
14635 ac_status=$?
14636 grep -v '^ *+' conftest.er1 >conftest.err
14637 rm -f conftest.er1
14638 cat conftest.err >&5
14639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14640 (exit $ac_status); } &&
14641 { ac_try='test -z "$ac_cxx_werror_flag"
14642 || test ! -s conftest.err'
14643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14644 (eval $ac_try) 2>&5
14645 ac_status=$?
14646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14647 (exit $ac_status); }; } &&
14648 { ac_try='test -s conftest.$ac_objext'
14649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14650 (eval $ac_try) 2>&5
14651 ac_status=$?
14652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14653 (exit $ac_status); }; }; then
14654 glibcxx_cv_func__fmodf_use=yes
14655 else
14656 echo "$as_me: failed program was:" >&5
14657 sed 's/^/| /' conftest.$ac_ext >&5
14659 glibcxx_cv_func__fmodf_use=no
14661 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14662 ac_ext=c
14663 ac_cpp='$CPP $CPPFLAGS'
14664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14672 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
14673 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
14675 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
14677 for ac_func in _fmodf
14679 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14680 echo "$as_me:$LINENO: checking for $ac_func" >&5
14681 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14682 if eval "test \"\${$as_ac_var+set}\" = set"; then
14683 echo $ECHO_N "(cached) $ECHO_C" >&6
14684 else
14685 if test x$gcc_no_link = xyes; then
14686 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14687 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14688 { (exit 1); exit 1; }; }
14690 cat >conftest.$ac_ext <<_ACEOF
14691 /* confdefs.h. */
14692 _ACEOF
14693 cat confdefs.h >>conftest.$ac_ext
14694 cat >>conftest.$ac_ext <<_ACEOF
14695 /* end confdefs.h. */
14696 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14697 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14698 #define $ac_func innocuous_$ac_func
14700 /* System header to define __stub macros and hopefully few prototypes,
14701 which can conflict with char $ac_func (); below.
14702 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14703 <limits.h> exists even on freestanding compilers. */
14705 #ifdef __STDC__
14706 # include <limits.h>
14707 #else
14708 # include <assert.h>
14709 #endif
14711 #undef $ac_func
14713 /* Override any gcc2 internal prototype to avoid an error. */
14714 #ifdef __cplusplus
14715 extern "C"
14717 #endif
14718 /* We use char because int might match the return type of a gcc2
14719 builtin and then its argument prototype would still apply. */
14720 char $ac_func ();
14721 /* The GNU C library defines this for functions which it implements
14722 to always fail with ENOSYS. Some functions are actually named
14723 something starting with __ and the normal name is an alias. */
14724 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14725 choke me
14726 #else
14727 char (*f) () = $ac_func;
14728 #endif
14729 #ifdef __cplusplus
14731 #endif
14734 main ()
14736 return f != $ac_func;
14738 return 0;
14740 _ACEOF
14741 rm -f conftest.$ac_objext conftest$ac_exeext
14742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14743 (eval $ac_link) 2>conftest.er1
14744 ac_status=$?
14745 grep -v '^ *+' conftest.er1 >conftest.err
14746 rm -f conftest.er1
14747 cat conftest.err >&5
14748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14749 (exit $ac_status); } &&
14750 { ac_try='test -z "$ac_c_werror_flag"
14751 || test ! -s conftest.err'
14752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14753 (eval $ac_try) 2>&5
14754 ac_status=$?
14755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14756 (exit $ac_status); }; } &&
14757 { ac_try='test -s conftest$ac_exeext'
14758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14759 (eval $ac_try) 2>&5
14760 ac_status=$?
14761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14762 (exit $ac_status); }; }; then
14763 eval "$as_ac_var=yes"
14764 else
14765 echo "$as_me: failed program was:" >&5
14766 sed 's/^/| /' conftest.$ac_ext >&5
14768 eval "$as_ac_var=no"
14770 rm -f conftest.err conftest.$ac_objext \
14771 conftest$ac_exeext conftest.$ac_ext
14773 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14774 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14775 if test `eval echo '${'$as_ac_var'}'` = yes; then
14776 cat >>confdefs.h <<_ACEOF
14777 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14778 _ACEOF
14781 done
14791 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
14792 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
14793 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
14794 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
14795 echo $ECHO_N "(cached) $ECHO_C" >&6
14796 else
14800 ac_ext=cc
14801 ac_cpp='$CXXCPP $CPPFLAGS'
14802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14806 cat >conftest.$ac_ext <<_ACEOF
14807 /* confdefs.h. */
14808 _ACEOF
14809 cat confdefs.h >>conftest.$ac_ext
14810 cat >>conftest.$ac_ext <<_ACEOF
14811 /* end confdefs.h. */
14812 #include <math.h>
14814 main ()
14816 frexpf(0, 0);
14818 return 0;
14820 _ACEOF
14821 rm -f conftest.$ac_objext
14822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14823 (eval $ac_compile) 2>conftest.er1
14824 ac_status=$?
14825 grep -v '^ *+' conftest.er1 >conftest.err
14826 rm -f conftest.er1
14827 cat conftest.err >&5
14828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14829 (exit $ac_status); } &&
14830 { ac_try='test -z "$ac_cxx_werror_flag"
14831 || test ! -s conftest.err'
14832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14833 (eval $ac_try) 2>&5
14834 ac_status=$?
14835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14836 (exit $ac_status); }; } &&
14837 { ac_try='test -s conftest.$ac_objext'
14838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14839 (eval $ac_try) 2>&5
14840 ac_status=$?
14841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14842 (exit $ac_status); }; }; then
14843 glibcxx_cv_func_frexpf_use=yes
14844 else
14845 echo "$as_me: failed program was:" >&5
14846 sed 's/^/| /' conftest.$ac_ext >&5
14848 glibcxx_cv_func_frexpf_use=no
14850 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14851 ac_ext=c
14852 ac_cpp='$CPP $CPPFLAGS'
14853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14861 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
14862 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
14864 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
14866 for ac_func in frexpf
14868 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14869 echo "$as_me:$LINENO: checking for $ac_func" >&5
14870 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14871 if eval "test \"\${$as_ac_var+set}\" = set"; then
14872 echo $ECHO_N "(cached) $ECHO_C" >&6
14873 else
14874 if test x$gcc_no_link = xyes; then
14875 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14876 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14877 { (exit 1); exit 1; }; }
14879 cat >conftest.$ac_ext <<_ACEOF
14880 /* confdefs.h. */
14881 _ACEOF
14882 cat confdefs.h >>conftest.$ac_ext
14883 cat >>conftest.$ac_ext <<_ACEOF
14884 /* end confdefs.h. */
14885 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14886 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14887 #define $ac_func innocuous_$ac_func
14889 /* System header to define __stub macros and hopefully few prototypes,
14890 which can conflict with char $ac_func (); below.
14891 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14892 <limits.h> exists even on freestanding compilers. */
14894 #ifdef __STDC__
14895 # include <limits.h>
14896 #else
14897 # include <assert.h>
14898 #endif
14900 #undef $ac_func
14902 /* Override any gcc2 internal prototype to avoid an error. */
14903 #ifdef __cplusplus
14904 extern "C"
14906 #endif
14907 /* We use char because int might match the return type of a gcc2
14908 builtin and then its argument prototype would still apply. */
14909 char $ac_func ();
14910 /* The GNU C library defines this for functions which it implements
14911 to always fail with ENOSYS. Some functions are actually named
14912 something starting with __ and the normal name is an alias. */
14913 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14914 choke me
14915 #else
14916 char (*f) () = $ac_func;
14917 #endif
14918 #ifdef __cplusplus
14920 #endif
14923 main ()
14925 return f != $ac_func;
14927 return 0;
14929 _ACEOF
14930 rm -f conftest.$ac_objext conftest$ac_exeext
14931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14932 (eval $ac_link) 2>conftest.er1
14933 ac_status=$?
14934 grep -v '^ *+' conftest.er1 >conftest.err
14935 rm -f conftest.er1
14936 cat conftest.err >&5
14937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14938 (exit $ac_status); } &&
14939 { ac_try='test -z "$ac_c_werror_flag"
14940 || test ! -s conftest.err'
14941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14942 (eval $ac_try) 2>&5
14943 ac_status=$?
14944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14945 (exit $ac_status); }; } &&
14946 { ac_try='test -s conftest$ac_exeext'
14947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14948 (eval $ac_try) 2>&5
14949 ac_status=$?
14950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14951 (exit $ac_status); }; }; then
14952 eval "$as_ac_var=yes"
14953 else
14954 echo "$as_me: failed program was:" >&5
14955 sed 's/^/| /' conftest.$ac_ext >&5
14957 eval "$as_ac_var=no"
14959 rm -f conftest.err conftest.$ac_objext \
14960 conftest$ac_exeext conftest.$ac_ext
14962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14963 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14964 if test `eval echo '${'$as_ac_var'}'` = yes; then
14965 cat >>confdefs.h <<_ACEOF
14966 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14967 _ACEOF
14970 done
14972 else
14974 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
14975 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
14976 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
14977 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
14978 echo $ECHO_N "(cached) $ECHO_C" >&6
14979 else
14983 ac_ext=cc
14984 ac_cpp='$CXXCPP $CPPFLAGS'
14985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14989 cat >conftest.$ac_ext <<_ACEOF
14990 /* confdefs.h. */
14991 _ACEOF
14992 cat confdefs.h >>conftest.$ac_ext
14993 cat >>conftest.$ac_ext <<_ACEOF
14994 /* end confdefs.h. */
14995 #include <math.h>
14997 main ()
14999 _frexpf(0, 0);
15001 return 0;
15003 _ACEOF
15004 rm -f conftest.$ac_objext
15005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15006 (eval $ac_compile) 2>conftest.er1
15007 ac_status=$?
15008 grep -v '^ *+' conftest.er1 >conftest.err
15009 rm -f conftest.er1
15010 cat conftest.err >&5
15011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15012 (exit $ac_status); } &&
15013 { ac_try='test -z "$ac_cxx_werror_flag"
15014 || test ! -s conftest.err'
15015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15016 (eval $ac_try) 2>&5
15017 ac_status=$?
15018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15019 (exit $ac_status); }; } &&
15020 { ac_try='test -s conftest.$ac_objext'
15021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15022 (eval $ac_try) 2>&5
15023 ac_status=$?
15024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15025 (exit $ac_status); }; }; then
15026 glibcxx_cv_func__frexpf_use=yes
15027 else
15028 echo "$as_me: failed program was:" >&5
15029 sed 's/^/| /' conftest.$ac_ext >&5
15031 glibcxx_cv_func__frexpf_use=no
15033 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15034 ac_ext=c
15035 ac_cpp='$CPP $CPPFLAGS'
15036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15044 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
15045 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
15047 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
15049 for ac_func in _frexpf
15051 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15052 echo "$as_me:$LINENO: checking for $ac_func" >&5
15053 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15054 if eval "test \"\${$as_ac_var+set}\" = set"; then
15055 echo $ECHO_N "(cached) $ECHO_C" >&6
15056 else
15057 if test x$gcc_no_link = xyes; then
15058 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15059 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15060 { (exit 1); exit 1; }; }
15062 cat >conftest.$ac_ext <<_ACEOF
15063 /* confdefs.h. */
15064 _ACEOF
15065 cat confdefs.h >>conftest.$ac_ext
15066 cat >>conftest.$ac_ext <<_ACEOF
15067 /* end confdefs.h. */
15068 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15069 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15070 #define $ac_func innocuous_$ac_func
15072 /* System header to define __stub macros and hopefully few prototypes,
15073 which can conflict with char $ac_func (); below.
15074 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15075 <limits.h> exists even on freestanding compilers. */
15077 #ifdef __STDC__
15078 # include <limits.h>
15079 #else
15080 # include <assert.h>
15081 #endif
15083 #undef $ac_func
15085 /* Override any gcc2 internal prototype to avoid an error. */
15086 #ifdef __cplusplus
15087 extern "C"
15089 #endif
15090 /* We use char because int might match the return type of a gcc2
15091 builtin and then its argument prototype would still apply. */
15092 char $ac_func ();
15093 /* The GNU C library defines this for functions which it implements
15094 to always fail with ENOSYS. Some functions are actually named
15095 something starting with __ and the normal name is an alias. */
15096 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15097 choke me
15098 #else
15099 char (*f) () = $ac_func;
15100 #endif
15101 #ifdef __cplusplus
15103 #endif
15106 main ()
15108 return f != $ac_func;
15110 return 0;
15112 _ACEOF
15113 rm -f conftest.$ac_objext conftest$ac_exeext
15114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15115 (eval $ac_link) 2>conftest.er1
15116 ac_status=$?
15117 grep -v '^ *+' conftest.er1 >conftest.err
15118 rm -f conftest.er1
15119 cat conftest.err >&5
15120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15121 (exit $ac_status); } &&
15122 { ac_try='test -z "$ac_c_werror_flag"
15123 || test ! -s conftest.err'
15124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15125 (eval $ac_try) 2>&5
15126 ac_status=$?
15127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15128 (exit $ac_status); }; } &&
15129 { ac_try='test -s conftest$ac_exeext'
15130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15131 (eval $ac_try) 2>&5
15132 ac_status=$?
15133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15134 (exit $ac_status); }; }; then
15135 eval "$as_ac_var=yes"
15136 else
15137 echo "$as_me: failed program was:" >&5
15138 sed 's/^/| /' conftest.$ac_ext >&5
15140 eval "$as_ac_var=no"
15142 rm -f conftest.err conftest.$ac_objext \
15143 conftest$ac_exeext conftest.$ac_ext
15145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15146 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15147 if test `eval echo '${'$as_ac_var'}'` = yes; then
15148 cat >>confdefs.h <<_ACEOF
15149 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15150 _ACEOF
15153 done
15163 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
15164 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
15165 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
15166 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
15167 echo $ECHO_N "(cached) $ECHO_C" >&6
15168 else
15172 ac_ext=cc
15173 ac_cpp='$CXXCPP $CPPFLAGS'
15174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15178 cat >conftest.$ac_ext <<_ACEOF
15179 /* confdefs.h. */
15180 _ACEOF
15181 cat confdefs.h >>conftest.$ac_ext
15182 cat >>conftest.$ac_ext <<_ACEOF
15183 /* end confdefs.h. */
15184 #include <math.h>
15186 main ()
15188 hypotf(0, 0);
15190 return 0;
15192 _ACEOF
15193 rm -f conftest.$ac_objext
15194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15195 (eval $ac_compile) 2>conftest.er1
15196 ac_status=$?
15197 grep -v '^ *+' conftest.er1 >conftest.err
15198 rm -f conftest.er1
15199 cat conftest.err >&5
15200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15201 (exit $ac_status); } &&
15202 { ac_try='test -z "$ac_cxx_werror_flag"
15203 || test ! -s conftest.err'
15204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15205 (eval $ac_try) 2>&5
15206 ac_status=$?
15207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15208 (exit $ac_status); }; } &&
15209 { ac_try='test -s conftest.$ac_objext'
15210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15211 (eval $ac_try) 2>&5
15212 ac_status=$?
15213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15214 (exit $ac_status); }; }; then
15215 glibcxx_cv_func_hypotf_use=yes
15216 else
15217 echo "$as_me: failed program was:" >&5
15218 sed 's/^/| /' conftest.$ac_ext >&5
15220 glibcxx_cv_func_hypotf_use=no
15222 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15223 ac_ext=c
15224 ac_cpp='$CPP $CPPFLAGS'
15225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15233 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
15234 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
15236 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
15238 for ac_func in hypotf
15240 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15241 echo "$as_me:$LINENO: checking for $ac_func" >&5
15242 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15243 if eval "test \"\${$as_ac_var+set}\" = set"; then
15244 echo $ECHO_N "(cached) $ECHO_C" >&6
15245 else
15246 if test x$gcc_no_link = xyes; then
15247 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15248 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15249 { (exit 1); exit 1; }; }
15251 cat >conftest.$ac_ext <<_ACEOF
15252 /* confdefs.h. */
15253 _ACEOF
15254 cat confdefs.h >>conftest.$ac_ext
15255 cat >>conftest.$ac_ext <<_ACEOF
15256 /* end confdefs.h. */
15257 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15258 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15259 #define $ac_func innocuous_$ac_func
15261 /* System header to define __stub macros and hopefully few prototypes,
15262 which can conflict with char $ac_func (); below.
15263 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15264 <limits.h> exists even on freestanding compilers. */
15266 #ifdef __STDC__
15267 # include <limits.h>
15268 #else
15269 # include <assert.h>
15270 #endif
15272 #undef $ac_func
15274 /* Override any gcc2 internal prototype to avoid an error. */
15275 #ifdef __cplusplus
15276 extern "C"
15278 #endif
15279 /* We use char because int might match the return type of a gcc2
15280 builtin and then its argument prototype would still apply. */
15281 char $ac_func ();
15282 /* The GNU C library defines this for functions which it implements
15283 to always fail with ENOSYS. Some functions are actually named
15284 something starting with __ and the normal name is an alias. */
15285 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15286 choke me
15287 #else
15288 char (*f) () = $ac_func;
15289 #endif
15290 #ifdef __cplusplus
15292 #endif
15295 main ()
15297 return f != $ac_func;
15299 return 0;
15301 _ACEOF
15302 rm -f conftest.$ac_objext conftest$ac_exeext
15303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15304 (eval $ac_link) 2>conftest.er1
15305 ac_status=$?
15306 grep -v '^ *+' conftest.er1 >conftest.err
15307 rm -f conftest.er1
15308 cat conftest.err >&5
15309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15310 (exit $ac_status); } &&
15311 { ac_try='test -z "$ac_c_werror_flag"
15312 || test ! -s conftest.err'
15313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15314 (eval $ac_try) 2>&5
15315 ac_status=$?
15316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15317 (exit $ac_status); }; } &&
15318 { ac_try='test -s conftest$ac_exeext'
15319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15320 (eval $ac_try) 2>&5
15321 ac_status=$?
15322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15323 (exit $ac_status); }; }; then
15324 eval "$as_ac_var=yes"
15325 else
15326 echo "$as_me: failed program was:" >&5
15327 sed 's/^/| /' conftest.$ac_ext >&5
15329 eval "$as_ac_var=no"
15331 rm -f conftest.err conftest.$ac_objext \
15332 conftest$ac_exeext conftest.$ac_ext
15334 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15335 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15336 if test `eval echo '${'$as_ac_var'}'` = yes; then
15337 cat >>confdefs.h <<_ACEOF
15338 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15339 _ACEOF
15342 done
15344 else
15346 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
15347 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
15348 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
15349 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
15350 echo $ECHO_N "(cached) $ECHO_C" >&6
15351 else
15355 ac_ext=cc
15356 ac_cpp='$CXXCPP $CPPFLAGS'
15357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15361 cat >conftest.$ac_ext <<_ACEOF
15362 /* confdefs.h. */
15363 _ACEOF
15364 cat confdefs.h >>conftest.$ac_ext
15365 cat >>conftest.$ac_ext <<_ACEOF
15366 /* end confdefs.h. */
15367 #include <math.h>
15369 main ()
15371 _hypotf(0, 0);
15373 return 0;
15375 _ACEOF
15376 rm -f conftest.$ac_objext
15377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15378 (eval $ac_compile) 2>conftest.er1
15379 ac_status=$?
15380 grep -v '^ *+' conftest.er1 >conftest.err
15381 rm -f conftest.er1
15382 cat conftest.err >&5
15383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15384 (exit $ac_status); } &&
15385 { ac_try='test -z "$ac_cxx_werror_flag"
15386 || test ! -s conftest.err'
15387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15388 (eval $ac_try) 2>&5
15389 ac_status=$?
15390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15391 (exit $ac_status); }; } &&
15392 { ac_try='test -s conftest.$ac_objext'
15393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15394 (eval $ac_try) 2>&5
15395 ac_status=$?
15396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15397 (exit $ac_status); }; }; then
15398 glibcxx_cv_func__hypotf_use=yes
15399 else
15400 echo "$as_me: failed program was:" >&5
15401 sed 's/^/| /' conftest.$ac_ext >&5
15403 glibcxx_cv_func__hypotf_use=no
15405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15406 ac_ext=c
15407 ac_cpp='$CPP $CPPFLAGS'
15408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15416 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
15417 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
15419 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
15421 for ac_func in _hypotf
15423 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15424 echo "$as_me:$LINENO: checking for $ac_func" >&5
15425 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15426 if eval "test \"\${$as_ac_var+set}\" = set"; then
15427 echo $ECHO_N "(cached) $ECHO_C" >&6
15428 else
15429 if test x$gcc_no_link = xyes; then
15430 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15431 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15432 { (exit 1); exit 1; }; }
15434 cat >conftest.$ac_ext <<_ACEOF
15435 /* confdefs.h. */
15436 _ACEOF
15437 cat confdefs.h >>conftest.$ac_ext
15438 cat >>conftest.$ac_ext <<_ACEOF
15439 /* end confdefs.h. */
15440 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15441 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15442 #define $ac_func innocuous_$ac_func
15444 /* System header to define __stub macros and hopefully few prototypes,
15445 which can conflict with char $ac_func (); below.
15446 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15447 <limits.h> exists even on freestanding compilers. */
15449 #ifdef __STDC__
15450 # include <limits.h>
15451 #else
15452 # include <assert.h>
15453 #endif
15455 #undef $ac_func
15457 /* Override any gcc2 internal prototype to avoid an error. */
15458 #ifdef __cplusplus
15459 extern "C"
15461 #endif
15462 /* We use char because int might match the return type of a gcc2
15463 builtin and then its argument prototype would still apply. */
15464 char $ac_func ();
15465 /* The GNU C library defines this for functions which it implements
15466 to always fail with ENOSYS. Some functions are actually named
15467 something starting with __ and the normal name is an alias. */
15468 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15469 choke me
15470 #else
15471 char (*f) () = $ac_func;
15472 #endif
15473 #ifdef __cplusplus
15475 #endif
15478 main ()
15480 return f != $ac_func;
15482 return 0;
15484 _ACEOF
15485 rm -f conftest.$ac_objext conftest$ac_exeext
15486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15487 (eval $ac_link) 2>conftest.er1
15488 ac_status=$?
15489 grep -v '^ *+' conftest.er1 >conftest.err
15490 rm -f conftest.er1
15491 cat conftest.err >&5
15492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15493 (exit $ac_status); } &&
15494 { ac_try='test -z "$ac_c_werror_flag"
15495 || test ! -s conftest.err'
15496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15497 (eval $ac_try) 2>&5
15498 ac_status=$?
15499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15500 (exit $ac_status); }; } &&
15501 { ac_try='test -s conftest$ac_exeext'
15502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15503 (eval $ac_try) 2>&5
15504 ac_status=$?
15505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15506 (exit $ac_status); }; }; then
15507 eval "$as_ac_var=yes"
15508 else
15509 echo "$as_me: failed program was:" >&5
15510 sed 's/^/| /' conftest.$ac_ext >&5
15512 eval "$as_ac_var=no"
15514 rm -f conftest.err conftest.$ac_objext \
15515 conftest$ac_exeext conftest.$ac_ext
15517 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15518 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15519 if test `eval echo '${'$as_ac_var'}'` = yes; then
15520 cat >>confdefs.h <<_ACEOF
15521 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15522 _ACEOF
15525 done
15535 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
15536 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
15537 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
15538 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
15539 echo $ECHO_N "(cached) $ECHO_C" >&6
15540 else
15544 ac_ext=cc
15545 ac_cpp='$CXXCPP $CPPFLAGS'
15546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15550 cat >conftest.$ac_ext <<_ACEOF
15551 /* confdefs.h. */
15552 _ACEOF
15553 cat confdefs.h >>conftest.$ac_ext
15554 cat >>conftest.$ac_ext <<_ACEOF
15555 /* end confdefs.h. */
15556 #include <math.h>
15558 main ()
15560 ldexpf(0, 0);
15562 return 0;
15564 _ACEOF
15565 rm -f conftest.$ac_objext
15566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15567 (eval $ac_compile) 2>conftest.er1
15568 ac_status=$?
15569 grep -v '^ *+' conftest.er1 >conftest.err
15570 rm -f conftest.er1
15571 cat conftest.err >&5
15572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15573 (exit $ac_status); } &&
15574 { ac_try='test -z "$ac_cxx_werror_flag"
15575 || test ! -s conftest.err'
15576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15577 (eval $ac_try) 2>&5
15578 ac_status=$?
15579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15580 (exit $ac_status); }; } &&
15581 { ac_try='test -s conftest.$ac_objext'
15582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15583 (eval $ac_try) 2>&5
15584 ac_status=$?
15585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15586 (exit $ac_status); }; }; then
15587 glibcxx_cv_func_ldexpf_use=yes
15588 else
15589 echo "$as_me: failed program was:" >&5
15590 sed 's/^/| /' conftest.$ac_ext >&5
15592 glibcxx_cv_func_ldexpf_use=no
15594 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15595 ac_ext=c
15596 ac_cpp='$CPP $CPPFLAGS'
15597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15605 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
15606 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
15608 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
15610 for ac_func in ldexpf
15612 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15613 echo "$as_me:$LINENO: checking for $ac_func" >&5
15614 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15615 if eval "test \"\${$as_ac_var+set}\" = set"; then
15616 echo $ECHO_N "(cached) $ECHO_C" >&6
15617 else
15618 if test x$gcc_no_link = xyes; then
15619 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15620 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15621 { (exit 1); exit 1; }; }
15623 cat >conftest.$ac_ext <<_ACEOF
15624 /* confdefs.h. */
15625 _ACEOF
15626 cat confdefs.h >>conftest.$ac_ext
15627 cat >>conftest.$ac_ext <<_ACEOF
15628 /* end confdefs.h. */
15629 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15630 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15631 #define $ac_func innocuous_$ac_func
15633 /* System header to define __stub macros and hopefully few prototypes,
15634 which can conflict with char $ac_func (); below.
15635 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15636 <limits.h> exists even on freestanding compilers. */
15638 #ifdef __STDC__
15639 # include <limits.h>
15640 #else
15641 # include <assert.h>
15642 #endif
15644 #undef $ac_func
15646 /* Override any gcc2 internal prototype to avoid an error. */
15647 #ifdef __cplusplus
15648 extern "C"
15650 #endif
15651 /* We use char because int might match the return type of a gcc2
15652 builtin and then its argument prototype would still apply. */
15653 char $ac_func ();
15654 /* The GNU C library defines this for functions which it implements
15655 to always fail with ENOSYS. Some functions are actually named
15656 something starting with __ and the normal name is an alias. */
15657 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15658 choke me
15659 #else
15660 char (*f) () = $ac_func;
15661 #endif
15662 #ifdef __cplusplus
15664 #endif
15667 main ()
15669 return f != $ac_func;
15671 return 0;
15673 _ACEOF
15674 rm -f conftest.$ac_objext conftest$ac_exeext
15675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15676 (eval $ac_link) 2>conftest.er1
15677 ac_status=$?
15678 grep -v '^ *+' conftest.er1 >conftest.err
15679 rm -f conftest.er1
15680 cat conftest.err >&5
15681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15682 (exit $ac_status); } &&
15683 { ac_try='test -z "$ac_c_werror_flag"
15684 || test ! -s conftest.err'
15685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15686 (eval $ac_try) 2>&5
15687 ac_status=$?
15688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15689 (exit $ac_status); }; } &&
15690 { ac_try='test -s conftest$ac_exeext'
15691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15692 (eval $ac_try) 2>&5
15693 ac_status=$?
15694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15695 (exit $ac_status); }; }; then
15696 eval "$as_ac_var=yes"
15697 else
15698 echo "$as_me: failed program was:" >&5
15699 sed 's/^/| /' conftest.$ac_ext >&5
15701 eval "$as_ac_var=no"
15703 rm -f conftest.err conftest.$ac_objext \
15704 conftest$ac_exeext conftest.$ac_ext
15706 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15707 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15708 if test `eval echo '${'$as_ac_var'}'` = yes; then
15709 cat >>confdefs.h <<_ACEOF
15710 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15711 _ACEOF
15714 done
15716 else
15718 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
15719 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
15720 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
15721 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
15722 echo $ECHO_N "(cached) $ECHO_C" >&6
15723 else
15727 ac_ext=cc
15728 ac_cpp='$CXXCPP $CPPFLAGS'
15729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15733 cat >conftest.$ac_ext <<_ACEOF
15734 /* confdefs.h. */
15735 _ACEOF
15736 cat confdefs.h >>conftest.$ac_ext
15737 cat >>conftest.$ac_ext <<_ACEOF
15738 /* end confdefs.h. */
15739 #include <math.h>
15741 main ()
15743 _ldexpf(0, 0);
15745 return 0;
15747 _ACEOF
15748 rm -f conftest.$ac_objext
15749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15750 (eval $ac_compile) 2>conftest.er1
15751 ac_status=$?
15752 grep -v '^ *+' conftest.er1 >conftest.err
15753 rm -f conftest.er1
15754 cat conftest.err >&5
15755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15756 (exit $ac_status); } &&
15757 { ac_try='test -z "$ac_cxx_werror_flag"
15758 || test ! -s conftest.err'
15759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15760 (eval $ac_try) 2>&5
15761 ac_status=$?
15762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15763 (exit $ac_status); }; } &&
15764 { ac_try='test -s conftest.$ac_objext'
15765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15766 (eval $ac_try) 2>&5
15767 ac_status=$?
15768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15769 (exit $ac_status); }; }; then
15770 glibcxx_cv_func__ldexpf_use=yes
15771 else
15772 echo "$as_me: failed program was:" >&5
15773 sed 's/^/| /' conftest.$ac_ext >&5
15775 glibcxx_cv_func__ldexpf_use=no
15777 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15778 ac_ext=c
15779 ac_cpp='$CPP $CPPFLAGS'
15780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15788 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
15789 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
15791 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
15793 for ac_func in _ldexpf
15795 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15796 echo "$as_me:$LINENO: checking for $ac_func" >&5
15797 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15798 if eval "test \"\${$as_ac_var+set}\" = set"; then
15799 echo $ECHO_N "(cached) $ECHO_C" >&6
15800 else
15801 if test x$gcc_no_link = xyes; then
15802 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15803 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15804 { (exit 1); exit 1; }; }
15806 cat >conftest.$ac_ext <<_ACEOF
15807 /* confdefs.h. */
15808 _ACEOF
15809 cat confdefs.h >>conftest.$ac_ext
15810 cat >>conftest.$ac_ext <<_ACEOF
15811 /* end confdefs.h. */
15812 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15813 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15814 #define $ac_func innocuous_$ac_func
15816 /* System header to define __stub macros and hopefully few prototypes,
15817 which can conflict with char $ac_func (); below.
15818 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15819 <limits.h> exists even on freestanding compilers. */
15821 #ifdef __STDC__
15822 # include <limits.h>
15823 #else
15824 # include <assert.h>
15825 #endif
15827 #undef $ac_func
15829 /* Override any gcc2 internal prototype to avoid an error. */
15830 #ifdef __cplusplus
15831 extern "C"
15833 #endif
15834 /* We use char because int might match the return type of a gcc2
15835 builtin and then its argument prototype would still apply. */
15836 char $ac_func ();
15837 /* The GNU C library defines this for functions which it implements
15838 to always fail with ENOSYS. Some functions are actually named
15839 something starting with __ and the normal name is an alias. */
15840 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15841 choke me
15842 #else
15843 char (*f) () = $ac_func;
15844 #endif
15845 #ifdef __cplusplus
15847 #endif
15850 main ()
15852 return f != $ac_func;
15854 return 0;
15856 _ACEOF
15857 rm -f conftest.$ac_objext conftest$ac_exeext
15858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15859 (eval $ac_link) 2>conftest.er1
15860 ac_status=$?
15861 grep -v '^ *+' conftest.er1 >conftest.err
15862 rm -f conftest.er1
15863 cat conftest.err >&5
15864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15865 (exit $ac_status); } &&
15866 { ac_try='test -z "$ac_c_werror_flag"
15867 || test ! -s conftest.err'
15868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15869 (eval $ac_try) 2>&5
15870 ac_status=$?
15871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15872 (exit $ac_status); }; } &&
15873 { ac_try='test -s conftest$ac_exeext'
15874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15875 (eval $ac_try) 2>&5
15876 ac_status=$?
15877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15878 (exit $ac_status); }; }; then
15879 eval "$as_ac_var=yes"
15880 else
15881 echo "$as_me: failed program was:" >&5
15882 sed 's/^/| /' conftest.$ac_ext >&5
15884 eval "$as_ac_var=no"
15886 rm -f conftest.err conftest.$ac_objext \
15887 conftest$ac_exeext conftest.$ac_ext
15889 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15890 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15891 if test `eval echo '${'$as_ac_var'}'` = yes; then
15892 cat >>confdefs.h <<_ACEOF
15893 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15894 _ACEOF
15897 done
15907 echo "$as_me:$LINENO: checking for logf declaration" >&5
15908 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
15909 if test x${glibcxx_cv_func_logf_use+set} != xset; then
15910 if test "${glibcxx_cv_func_logf_use+set}" = set; then
15911 echo $ECHO_N "(cached) $ECHO_C" >&6
15912 else
15916 ac_ext=cc
15917 ac_cpp='$CXXCPP $CPPFLAGS'
15918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15922 cat >conftest.$ac_ext <<_ACEOF
15923 /* confdefs.h. */
15924 _ACEOF
15925 cat confdefs.h >>conftest.$ac_ext
15926 cat >>conftest.$ac_ext <<_ACEOF
15927 /* end confdefs.h. */
15928 #include <math.h>
15929 #ifdef HAVE_IEEEFP_H
15930 #include <ieeefp.h>
15931 #endif
15934 main ()
15936 logf(0);
15938 return 0;
15940 _ACEOF
15941 rm -f conftest.$ac_objext
15942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15943 (eval $ac_compile) 2>conftest.er1
15944 ac_status=$?
15945 grep -v '^ *+' conftest.er1 >conftest.err
15946 rm -f conftest.er1
15947 cat conftest.err >&5
15948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15949 (exit $ac_status); } &&
15950 { ac_try='test -z "$ac_cxx_werror_flag"
15951 || test ! -s conftest.err'
15952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15953 (eval $ac_try) 2>&5
15954 ac_status=$?
15955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15956 (exit $ac_status); }; } &&
15957 { ac_try='test -s conftest.$ac_objext'
15958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15959 (eval $ac_try) 2>&5
15960 ac_status=$?
15961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15962 (exit $ac_status); }; }; then
15963 glibcxx_cv_func_logf_use=yes
15964 else
15965 echo "$as_me: failed program was:" >&5
15966 sed 's/^/| /' conftest.$ac_ext >&5
15968 glibcxx_cv_func_logf_use=no
15970 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15971 ac_ext=c
15972 ac_cpp='$CPP $CPPFLAGS'
15973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15981 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
15982 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
15984 if test x$glibcxx_cv_func_logf_use = x"yes"; then
15986 for ac_func in logf
15988 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15989 echo "$as_me:$LINENO: checking for $ac_func" >&5
15990 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15991 if eval "test \"\${$as_ac_var+set}\" = set"; then
15992 echo $ECHO_N "(cached) $ECHO_C" >&6
15993 else
15994 if test x$gcc_no_link = xyes; then
15995 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15996 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15997 { (exit 1); exit 1; }; }
15999 cat >conftest.$ac_ext <<_ACEOF
16000 /* confdefs.h. */
16001 _ACEOF
16002 cat confdefs.h >>conftest.$ac_ext
16003 cat >>conftest.$ac_ext <<_ACEOF
16004 /* end confdefs.h. */
16005 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16006 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16007 #define $ac_func innocuous_$ac_func
16009 /* System header to define __stub macros and hopefully few prototypes,
16010 which can conflict with char $ac_func (); below.
16011 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16012 <limits.h> exists even on freestanding compilers. */
16014 #ifdef __STDC__
16015 # include <limits.h>
16016 #else
16017 # include <assert.h>
16018 #endif
16020 #undef $ac_func
16022 /* Override any gcc2 internal prototype to avoid an error. */
16023 #ifdef __cplusplus
16024 extern "C"
16026 #endif
16027 /* We use char because int might match the return type of a gcc2
16028 builtin and then its argument prototype would still apply. */
16029 char $ac_func ();
16030 /* The GNU C library defines this for functions which it implements
16031 to always fail with ENOSYS. Some functions are actually named
16032 something starting with __ and the normal name is an alias. */
16033 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16034 choke me
16035 #else
16036 char (*f) () = $ac_func;
16037 #endif
16038 #ifdef __cplusplus
16040 #endif
16043 main ()
16045 return f != $ac_func;
16047 return 0;
16049 _ACEOF
16050 rm -f conftest.$ac_objext conftest$ac_exeext
16051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16052 (eval $ac_link) 2>conftest.er1
16053 ac_status=$?
16054 grep -v '^ *+' conftest.er1 >conftest.err
16055 rm -f conftest.er1
16056 cat conftest.err >&5
16057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16058 (exit $ac_status); } &&
16059 { ac_try='test -z "$ac_c_werror_flag"
16060 || test ! -s conftest.err'
16061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16062 (eval $ac_try) 2>&5
16063 ac_status=$?
16064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16065 (exit $ac_status); }; } &&
16066 { ac_try='test -s conftest$ac_exeext'
16067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16068 (eval $ac_try) 2>&5
16069 ac_status=$?
16070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16071 (exit $ac_status); }; }; then
16072 eval "$as_ac_var=yes"
16073 else
16074 echo "$as_me: failed program was:" >&5
16075 sed 's/^/| /' conftest.$ac_ext >&5
16077 eval "$as_ac_var=no"
16079 rm -f conftest.err conftest.$ac_objext \
16080 conftest$ac_exeext conftest.$ac_ext
16082 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16083 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16084 if test `eval echo '${'$as_ac_var'}'` = yes; then
16085 cat >>confdefs.h <<_ACEOF
16086 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16087 _ACEOF
16090 done
16092 else
16094 echo "$as_me:$LINENO: checking for _logf declaration" >&5
16095 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
16096 if test x${glibcxx_cv_func__logf_use+set} != xset; then
16097 if test "${glibcxx_cv_func__logf_use+set}" = set; then
16098 echo $ECHO_N "(cached) $ECHO_C" >&6
16099 else
16103 ac_ext=cc
16104 ac_cpp='$CXXCPP $CPPFLAGS'
16105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16109 cat >conftest.$ac_ext <<_ACEOF
16110 /* confdefs.h. */
16111 _ACEOF
16112 cat confdefs.h >>conftest.$ac_ext
16113 cat >>conftest.$ac_ext <<_ACEOF
16114 /* end confdefs.h. */
16115 #include <math.h>
16116 #ifdef HAVE_IEEEFP_H
16117 #include <ieeefp.h>
16118 #endif
16121 main ()
16123 _logf(0);
16125 return 0;
16127 _ACEOF
16128 rm -f conftest.$ac_objext
16129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16130 (eval $ac_compile) 2>conftest.er1
16131 ac_status=$?
16132 grep -v '^ *+' conftest.er1 >conftest.err
16133 rm -f conftest.er1
16134 cat conftest.err >&5
16135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16136 (exit $ac_status); } &&
16137 { ac_try='test -z "$ac_cxx_werror_flag"
16138 || test ! -s conftest.err'
16139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16140 (eval $ac_try) 2>&5
16141 ac_status=$?
16142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16143 (exit $ac_status); }; } &&
16144 { ac_try='test -s conftest.$ac_objext'
16145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16146 (eval $ac_try) 2>&5
16147 ac_status=$?
16148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16149 (exit $ac_status); }; }; then
16150 glibcxx_cv_func__logf_use=yes
16151 else
16152 echo "$as_me: failed program was:" >&5
16153 sed 's/^/| /' conftest.$ac_ext >&5
16155 glibcxx_cv_func__logf_use=no
16157 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16158 ac_ext=c
16159 ac_cpp='$CPP $CPPFLAGS'
16160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16168 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
16169 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
16171 if test x$glibcxx_cv_func__logf_use = x"yes"; then
16173 for ac_func in _logf
16175 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16176 echo "$as_me:$LINENO: checking for $ac_func" >&5
16177 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16178 if eval "test \"\${$as_ac_var+set}\" = set"; then
16179 echo $ECHO_N "(cached) $ECHO_C" >&6
16180 else
16181 if test x$gcc_no_link = xyes; then
16182 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16183 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16184 { (exit 1); exit 1; }; }
16186 cat >conftest.$ac_ext <<_ACEOF
16187 /* confdefs.h. */
16188 _ACEOF
16189 cat confdefs.h >>conftest.$ac_ext
16190 cat >>conftest.$ac_ext <<_ACEOF
16191 /* end confdefs.h. */
16192 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16193 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16194 #define $ac_func innocuous_$ac_func
16196 /* System header to define __stub macros and hopefully few prototypes,
16197 which can conflict with char $ac_func (); below.
16198 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16199 <limits.h> exists even on freestanding compilers. */
16201 #ifdef __STDC__
16202 # include <limits.h>
16203 #else
16204 # include <assert.h>
16205 #endif
16207 #undef $ac_func
16209 /* Override any gcc2 internal prototype to avoid an error. */
16210 #ifdef __cplusplus
16211 extern "C"
16213 #endif
16214 /* We use char because int might match the return type of a gcc2
16215 builtin and then its argument prototype would still apply. */
16216 char $ac_func ();
16217 /* The GNU C library defines this for functions which it implements
16218 to always fail with ENOSYS. Some functions are actually named
16219 something starting with __ and the normal name is an alias. */
16220 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16221 choke me
16222 #else
16223 char (*f) () = $ac_func;
16224 #endif
16225 #ifdef __cplusplus
16227 #endif
16230 main ()
16232 return f != $ac_func;
16234 return 0;
16236 _ACEOF
16237 rm -f conftest.$ac_objext conftest$ac_exeext
16238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16239 (eval $ac_link) 2>conftest.er1
16240 ac_status=$?
16241 grep -v '^ *+' conftest.er1 >conftest.err
16242 rm -f conftest.er1
16243 cat conftest.err >&5
16244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16245 (exit $ac_status); } &&
16246 { ac_try='test -z "$ac_c_werror_flag"
16247 || test ! -s conftest.err'
16248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16249 (eval $ac_try) 2>&5
16250 ac_status=$?
16251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16252 (exit $ac_status); }; } &&
16253 { ac_try='test -s conftest$ac_exeext'
16254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16255 (eval $ac_try) 2>&5
16256 ac_status=$?
16257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16258 (exit $ac_status); }; }; then
16259 eval "$as_ac_var=yes"
16260 else
16261 echo "$as_me: failed program was:" >&5
16262 sed 's/^/| /' conftest.$ac_ext >&5
16264 eval "$as_ac_var=no"
16266 rm -f conftest.err conftest.$ac_objext \
16267 conftest$ac_exeext conftest.$ac_ext
16269 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16270 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16271 if test `eval echo '${'$as_ac_var'}'` = yes; then
16272 cat >>confdefs.h <<_ACEOF
16273 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16274 _ACEOF
16277 done
16287 echo "$as_me:$LINENO: checking for log10f declaration" >&5
16288 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
16289 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
16290 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
16291 echo $ECHO_N "(cached) $ECHO_C" >&6
16292 else
16296 ac_ext=cc
16297 ac_cpp='$CXXCPP $CPPFLAGS'
16298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16302 cat >conftest.$ac_ext <<_ACEOF
16303 /* confdefs.h. */
16304 _ACEOF
16305 cat confdefs.h >>conftest.$ac_ext
16306 cat >>conftest.$ac_ext <<_ACEOF
16307 /* end confdefs.h. */
16308 #include <math.h>
16309 #ifdef HAVE_IEEEFP_H
16310 #include <ieeefp.h>
16311 #endif
16314 main ()
16316 log10f(0);
16318 return 0;
16320 _ACEOF
16321 rm -f conftest.$ac_objext
16322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16323 (eval $ac_compile) 2>conftest.er1
16324 ac_status=$?
16325 grep -v '^ *+' conftest.er1 >conftest.err
16326 rm -f conftest.er1
16327 cat conftest.err >&5
16328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16329 (exit $ac_status); } &&
16330 { ac_try='test -z "$ac_cxx_werror_flag"
16331 || test ! -s conftest.err'
16332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16333 (eval $ac_try) 2>&5
16334 ac_status=$?
16335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16336 (exit $ac_status); }; } &&
16337 { ac_try='test -s conftest.$ac_objext'
16338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16339 (eval $ac_try) 2>&5
16340 ac_status=$?
16341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16342 (exit $ac_status); }; }; then
16343 glibcxx_cv_func_log10f_use=yes
16344 else
16345 echo "$as_me: failed program was:" >&5
16346 sed 's/^/| /' conftest.$ac_ext >&5
16348 glibcxx_cv_func_log10f_use=no
16350 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16351 ac_ext=c
16352 ac_cpp='$CPP $CPPFLAGS'
16353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16361 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
16362 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
16364 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
16366 for ac_func in log10f
16368 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16369 echo "$as_me:$LINENO: checking for $ac_func" >&5
16370 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16371 if eval "test \"\${$as_ac_var+set}\" = set"; then
16372 echo $ECHO_N "(cached) $ECHO_C" >&6
16373 else
16374 if test x$gcc_no_link = xyes; then
16375 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16376 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16377 { (exit 1); exit 1; }; }
16379 cat >conftest.$ac_ext <<_ACEOF
16380 /* confdefs.h. */
16381 _ACEOF
16382 cat confdefs.h >>conftest.$ac_ext
16383 cat >>conftest.$ac_ext <<_ACEOF
16384 /* end confdefs.h. */
16385 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16386 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16387 #define $ac_func innocuous_$ac_func
16389 /* System header to define __stub macros and hopefully few prototypes,
16390 which can conflict with char $ac_func (); below.
16391 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16392 <limits.h> exists even on freestanding compilers. */
16394 #ifdef __STDC__
16395 # include <limits.h>
16396 #else
16397 # include <assert.h>
16398 #endif
16400 #undef $ac_func
16402 /* Override any gcc2 internal prototype to avoid an error. */
16403 #ifdef __cplusplus
16404 extern "C"
16406 #endif
16407 /* We use char because int might match the return type of a gcc2
16408 builtin and then its argument prototype would still apply. */
16409 char $ac_func ();
16410 /* The GNU C library defines this for functions which it implements
16411 to always fail with ENOSYS. Some functions are actually named
16412 something starting with __ and the normal name is an alias. */
16413 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16414 choke me
16415 #else
16416 char (*f) () = $ac_func;
16417 #endif
16418 #ifdef __cplusplus
16420 #endif
16423 main ()
16425 return f != $ac_func;
16427 return 0;
16429 _ACEOF
16430 rm -f conftest.$ac_objext conftest$ac_exeext
16431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16432 (eval $ac_link) 2>conftest.er1
16433 ac_status=$?
16434 grep -v '^ *+' conftest.er1 >conftest.err
16435 rm -f conftest.er1
16436 cat conftest.err >&5
16437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16438 (exit $ac_status); } &&
16439 { ac_try='test -z "$ac_c_werror_flag"
16440 || test ! -s conftest.err'
16441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16442 (eval $ac_try) 2>&5
16443 ac_status=$?
16444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16445 (exit $ac_status); }; } &&
16446 { ac_try='test -s conftest$ac_exeext'
16447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16448 (eval $ac_try) 2>&5
16449 ac_status=$?
16450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16451 (exit $ac_status); }; }; then
16452 eval "$as_ac_var=yes"
16453 else
16454 echo "$as_me: failed program was:" >&5
16455 sed 's/^/| /' conftest.$ac_ext >&5
16457 eval "$as_ac_var=no"
16459 rm -f conftest.err conftest.$ac_objext \
16460 conftest$ac_exeext conftest.$ac_ext
16462 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16463 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16464 if test `eval echo '${'$as_ac_var'}'` = yes; then
16465 cat >>confdefs.h <<_ACEOF
16466 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16467 _ACEOF
16470 done
16472 else
16474 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
16475 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
16476 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
16477 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
16478 echo $ECHO_N "(cached) $ECHO_C" >&6
16479 else
16483 ac_ext=cc
16484 ac_cpp='$CXXCPP $CPPFLAGS'
16485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16489 cat >conftest.$ac_ext <<_ACEOF
16490 /* confdefs.h. */
16491 _ACEOF
16492 cat confdefs.h >>conftest.$ac_ext
16493 cat >>conftest.$ac_ext <<_ACEOF
16494 /* end confdefs.h. */
16495 #include <math.h>
16496 #ifdef HAVE_IEEEFP_H
16497 #include <ieeefp.h>
16498 #endif
16501 main ()
16503 _log10f(0);
16505 return 0;
16507 _ACEOF
16508 rm -f conftest.$ac_objext
16509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16510 (eval $ac_compile) 2>conftest.er1
16511 ac_status=$?
16512 grep -v '^ *+' conftest.er1 >conftest.err
16513 rm -f conftest.er1
16514 cat conftest.err >&5
16515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16516 (exit $ac_status); } &&
16517 { ac_try='test -z "$ac_cxx_werror_flag"
16518 || test ! -s conftest.err'
16519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16520 (eval $ac_try) 2>&5
16521 ac_status=$?
16522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16523 (exit $ac_status); }; } &&
16524 { ac_try='test -s conftest.$ac_objext'
16525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16526 (eval $ac_try) 2>&5
16527 ac_status=$?
16528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16529 (exit $ac_status); }; }; then
16530 glibcxx_cv_func__log10f_use=yes
16531 else
16532 echo "$as_me: failed program was:" >&5
16533 sed 's/^/| /' conftest.$ac_ext >&5
16535 glibcxx_cv_func__log10f_use=no
16537 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16538 ac_ext=c
16539 ac_cpp='$CPP $CPPFLAGS'
16540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16548 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
16549 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
16551 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
16553 for ac_func in _log10f
16555 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16556 echo "$as_me:$LINENO: checking for $ac_func" >&5
16557 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16558 if eval "test \"\${$as_ac_var+set}\" = set"; then
16559 echo $ECHO_N "(cached) $ECHO_C" >&6
16560 else
16561 if test x$gcc_no_link = xyes; then
16562 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16563 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16564 { (exit 1); exit 1; }; }
16566 cat >conftest.$ac_ext <<_ACEOF
16567 /* confdefs.h. */
16568 _ACEOF
16569 cat confdefs.h >>conftest.$ac_ext
16570 cat >>conftest.$ac_ext <<_ACEOF
16571 /* end confdefs.h. */
16572 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16573 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16574 #define $ac_func innocuous_$ac_func
16576 /* System header to define __stub macros and hopefully few prototypes,
16577 which can conflict with char $ac_func (); below.
16578 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16579 <limits.h> exists even on freestanding compilers. */
16581 #ifdef __STDC__
16582 # include <limits.h>
16583 #else
16584 # include <assert.h>
16585 #endif
16587 #undef $ac_func
16589 /* Override any gcc2 internal prototype to avoid an error. */
16590 #ifdef __cplusplus
16591 extern "C"
16593 #endif
16594 /* We use char because int might match the return type of a gcc2
16595 builtin and then its argument prototype would still apply. */
16596 char $ac_func ();
16597 /* The GNU C library defines this for functions which it implements
16598 to always fail with ENOSYS. Some functions are actually named
16599 something starting with __ and the normal name is an alias. */
16600 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16601 choke me
16602 #else
16603 char (*f) () = $ac_func;
16604 #endif
16605 #ifdef __cplusplus
16607 #endif
16610 main ()
16612 return f != $ac_func;
16614 return 0;
16616 _ACEOF
16617 rm -f conftest.$ac_objext conftest$ac_exeext
16618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16619 (eval $ac_link) 2>conftest.er1
16620 ac_status=$?
16621 grep -v '^ *+' conftest.er1 >conftest.err
16622 rm -f conftest.er1
16623 cat conftest.err >&5
16624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16625 (exit $ac_status); } &&
16626 { ac_try='test -z "$ac_c_werror_flag"
16627 || test ! -s conftest.err'
16628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16629 (eval $ac_try) 2>&5
16630 ac_status=$?
16631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16632 (exit $ac_status); }; } &&
16633 { ac_try='test -s conftest$ac_exeext'
16634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16635 (eval $ac_try) 2>&5
16636 ac_status=$?
16637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16638 (exit $ac_status); }; }; then
16639 eval "$as_ac_var=yes"
16640 else
16641 echo "$as_me: failed program was:" >&5
16642 sed 's/^/| /' conftest.$ac_ext >&5
16644 eval "$as_ac_var=no"
16646 rm -f conftest.err conftest.$ac_objext \
16647 conftest$ac_exeext conftest.$ac_ext
16649 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16650 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16651 if test `eval echo '${'$as_ac_var'}'` = yes; then
16652 cat >>confdefs.h <<_ACEOF
16653 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16654 _ACEOF
16657 done
16667 echo "$as_me:$LINENO: checking for modff declaration" >&5
16668 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
16669 if test x${glibcxx_cv_func_modff_use+set} != xset; then
16670 if test "${glibcxx_cv_func_modff_use+set}" = set; then
16671 echo $ECHO_N "(cached) $ECHO_C" >&6
16672 else
16676 ac_ext=cc
16677 ac_cpp='$CXXCPP $CPPFLAGS'
16678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16682 cat >conftest.$ac_ext <<_ACEOF
16683 /* confdefs.h. */
16684 _ACEOF
16685 cat confdefs.h >>conftest.$ac_ext
16686 cat >>conftest.$ac_ext <<_ACEOF
16687 /* end confdefs.h. */
16688 #include <math.h>
16690 main ()
16692 modff(0, 0);
16694 return 0;
16696 _ACEOF
16697 rm -f conftest.$ac_objext
16698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16699 (eval $ac_compile) 2>conftest.er1
16700 ac_status=$?
16701 grep -v '^ *+' conftest.er1 >conftest.err
16702 rm -f conftest.er1
16703 cat conftest.err >&5
16704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16705 (exit $ac_status); } &&
16706 { ac_try='test -z "$ac_cxx_werror_flag"
16707 || test ! -s conftest.err'
16708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16709 (eval $ac_try) 2>&5
16710 ac_status=$?
16711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16712 (exit $ac_status); }; } &&
16713 { ac_try='test -s conftest.$ac_objext'
16714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16715 (eval $ac_try) 2>&5
16716 ac_status=$?
16717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16718 (exit $ac_status); }; }; then
16719 glibcxx_cv_func_modff_use=yes
16720 else
16721 echo "$as_me: failed program was:" >&5
16722 sed 's/^/| /' conftest.$ac_ext >&5
16724 glibcxx_cv_func_modff_use=no
16726 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16727 ac_ext=c
16728 ac_cpp='$CPP $CPPFLAGS'
16729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16737 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
16738 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
16740 if test x$glibcxx_cv_func_modff_use = x"yes"; then
16742 for ac_func in modff
16744 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16745 echo "$as_me:$LINENO: checking for $ac_func" >&5
16746 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16747 if eval "test \"\${$as_ac_var+set}\" = set"; then
16748 echo $ECHO_N "(cached) $ECHO_C" >&6
16749 else
16750 if test x$gcc_no_link = xyes; then
16751 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16752 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16753 { (exit 1); exit 1; }; }
16755 cat >conftest.$ac_ext <<_ACEOF
16756 /* confdefs.h. */
16757 _ACEOF
16758 cat confdefs.h >>conftest.$ac_ext
16759 cat >>conftest.$ac_ext <<_ACEOF
16760 /* end confdefs.h. */
16761 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16762 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16763 #define $ac_func innocuous_$ac_func
16765 /* System header to define __stub macros and hopefully few prototypes,
16766 which can conflict with char $ac_func (); below.
16767 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16768 <limits.h> exists even on freestanding compilers. */
16770 #ifdef __STDC__
16771 # include <limits.h>
16772 #else
16773 # include <assert.h>
16774 #endif
16776 #undef $ac_func
16778 /* Override any gcc2 internal prototype to avoid an error. */
16779 #ifdef __cplusplus
16780 extern "C"
16782 #endif
16783 /* We use char because int might match the return type of a gcc2
16784 builtin and then its argument prototype would still apply. */
16785 char $ac_func ();
16786 /* The GNU C library defines this for functions which it implements
16787 to always fail with ENOSYS. Some functions are actually named
16788 something starting with __ and the normal name is an alias. */
16789 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16790 choke me
16791 #else
16792 char (*f) () = $ac_func;
16793 #endif
16794 #ifdef __cplusplus
16796 #endif
16799 main ()
16801 return f != $ac_func;
16803 return 0;
16805 _ACEOF
16806 rm -f conftest.$ac_objext conftest$ac_exeext
16807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16808 (eval $ac_link) 2>conftest.er1
16809 ac_status=$?
16810 grep -v '^ *+' conftest.er1 >conftest.err
16811 rm -f conftest.er1
16812 cat conftest.err >&5
16813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16814 (exit $ac_status); } &&
16815 { ac_try='test -z "$ac_c_werror_flag"
16816 || test ! -s conftest.err'
16817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16818 (eval $ac_try) 2>&5
16819 ac_status=$?
16820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16821 (exit $ac_status); }; } &&
16822 { ac_try='test -s conftest$ac_exeext'
16823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16824 (eval $ac_try) 2>&5
16825 ac_status=$?
16826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16827 (exit $ac_status); }; }; then
16828 eval "$as_ac_var=yes"
16829 else
16830 echo "$as_me: failed program was:" >&5
16831 sed 's/^/| /' conftest.$ac_ext >&5
16833 eval "$as_ac_var=no"
16835 rm -f conftest.err conftest.$ac_objext \
16836 conftest$ac_exeext conftest.$ac_ext
16838 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16839 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16840 if test `eval echo '${'$as_ac_var'}'` = yes; then
16841 cat >>confdefs.h <<_ACEOF
16842 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16843 _ACEOF
16846 done
16848 else
16850 echo "$as_me:$LINENO: checking for _modff declaration" >&5
16851 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
16852 if test x${glibcxx_cv_func__modff_use+set} != xset; then
16853 if test "${glibcxx_cv_func__modff_use+set}" = set; then
16854 echo $ECHO_N "(cached) $ECHO_C" >&6
16855 else
16859 ac_ext=cc
16860 ac_cpp='$CXXCPP $CPPFLAGS'
16861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16865 cat >conftest.$ac_ext <<_ACEOF
16866 /* confdefs.h. */
16867 _ACEOF
16868 cat confdefs.h >>conftest.$ac_ext
16869 cat >>conftest.$ac_ext <<_ACEOF
16870 /* end confdefs.h. */
16871 #include <math.h>
16873 main ()
16875 _modff(0, 0);
16877 return 0;
16879 _ACEOF
16880 rm -f conftest.$ac_objext
16881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16882 (eval $ac_compile) 2>conftest.er1
16883 ac_status=$?
16884 grep -v '^ *+' conftest.er1 >conftest.err
16885 rm -f conftest.er1
16886 cat conftest.err >&5
16887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16888 (exit $ac_status); } &&
16889 { ac_try='test -z "$ac_cxx_werror_flag"
16890 || test ! -s conftest.err'
16891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16892 (eval $ac_try) 2>&5
16893 ac_status=$?
16894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16895 (exit $ac_status); }; } &&
16896 { ac_try='test -s conftest.$ac_objext'
16897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16898 (eval $ac_try) 2>&5
16899 ac_status=$?
16900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16901 (exit $ac_status); }; }; then
16902 glibcxx_cv_func__modff_use=yes
16903 else
16904 echo "$as_me: failed program was:" >&5
16905 sed 's/^/| /' conftest.$ac_ext >&5
16907 glibcxx_cv_func__modff_use=no
16909 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16910 ac_ext=c
16911 ac_cpp='$CPP $CPPFLAGS'
16912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16920 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
16921 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
16923 if test x$glibcxx_cv_func__modff_use = x"yes"; then
16925 for ac_func in _modff
16927 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16928 echo "$as_me:$LINENO: checking for $ac_func" >&5
16929 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16930 if eval "test \"\${$as_ac_var+set}\" = set"; then
16931 echo $ECHO_N "(cached) $ECHO_C" >&6
16932 else
16933 if test x$gcc_no_link = xyes; then
16934 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16935 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16936 { (exit 1); exit 1; }; }
16938 cat >conftest.$ac_ext <<_ACEOF
16939 /* confdefs.h. */
16940 _ACEOF
16941 cat confdefs.h >>conftest.$ac_ext
16942 cat >>conftest.$ac_ext <<_ACEOF
16943 /* end confdefs.h. */
16944 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16945 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16946 #define $ac_func innocuous_$ac_func
16948 /* System header to define __stub macros and hopefully few prototypes,
16949 which can conflict with char $ac_func (); below.
16950 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16951 <limits.h> exists even on freestanding compilers. */
16953 #ifdef __STDC__
16954 # include <limits.h>
16955 #else
16956 # include <assert.h>
16957 #endif
16959 #undef $ac_func
16961 /* Override any gcc2 internal prototype to avoid an error. */
16962 #ifdef __cplusplus
16963 extern "C"
16965 #endif
16966 /* We use char because int might match the return type of a gcc2
16967 builtin and then its argument prototype would still apply. */
16968 char $ac_func ();
16969 /* The GNU C library defines this for functions which it implements
16970 to always fail with ENOSYS. Some functions are actually named
16971 something starting with __ and the normal name is an alias. */
16972 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16973 choke me
16974 #else
16975 char (*f) () = $ac_func;
16976 #endif
16977 #ifdef __cplusplus
16979 #endif
16982 main ()
16984 return f != $ac_func;
16986 return 0;
16988 _ACEOF
16989 rm -f conftest.$ac_objext conftest$ac_exeext
16990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16991 (eval $ac_link) 2>conftest.er1
16992 ac_status=$?
16993 grep -v '^ *+' conftest.er1 >conftest.err
16994 rm -f conftest.er1
16995 cat conftest.err >&5
16996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16997 (exit $ac_status); } &&
16998 { ac_try='test -z "$ac_c_werror_flag"
16999 || test ! -s conftest.err'
17000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17001 (eval $ac_try) 2>&5
17002 ac_status=$?
17003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17004 (exit $ac_status); }; } &&
17005 { ac_try='test -s conftest$ac_exeext'
17006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17007 (eval $ac_try) 2>&5
17008 ac_status=$?
17009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17010 (exit $ac_status); }; }; then
17011 eval "$as_ac_var=yes"
17012 else
17013 echo "$as_me: failed program was:" >&5
17014 sed 's/^/| /' conftest.$ac_ext >&5
17016 eval "$as_ac_var=no"
17018 rm -f conftest.err conftest.$ac_objext \
17019 conftest$ac_exeext conftest.$ac_ext
17021 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17022 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17023 if test `eval echo '${'$as_ac_var'}'` = yes; then
17024 cat >>confdefs.h <<_ACEOF
17025 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17026 _ACEOF
17029 done
17039 echo "$as_me:$LINENO: checking for modf declaration" >&5
17040 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
17041 if test x${glibcxx_cv_func_modf_use+set} != xset; then
17042 if test "${glibcxx_cv_func_modf_use+set}" = set; then
17043 echo $ECHO_N "(cached) $ECHO_C" >&6
17044 else
17048 ac_ext=cc
17049 ac_cpp='$CXXCPP $CPPFLAGS'
17050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17054 cat >conftest.$ac_ext <<_ACEOF
17055 /* confdefs.h. */
17056 _ACEOF
17057 cat confdefs.h >>conftest.$ac_ext
17058 cat >>conftest.$ac_ext <<_ACEOF
17059 /* end confdefs.h. */
17060 #include <math.h>
17062 main ()
17064 modf(0, 0);
17066 return 0;
17068 _ACEOF
17069 rm -f conftest.$ac_objext
17070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17071 (eval $ac_compile) 2>conftest.er1
17072 ac_status=$?
17073 grep -v '^ *+' conftest.er1 >conftest.err
17074 rm -f conftest.er1
17075 cat conftest.err >&5
17076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17077 (exit $ac_status); } &&
17078 { ac_try='test -z "$ac_cxx_werror_flag"
17079 || test ! -s conftest.err'
17080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17081 (eval $ac_try) 2>&5
17082 ac_status=$?
17083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17084 (exit $ac_status); }; } &&
17085 { ac_try='test -s conftest.$ac_objext'
17086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17087 (eval $ac_try) 2>&5
17088 ac_status=$?
17089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17090 (exit $ac_status); }; }; then
17091 glibcxx_cv_func_modf_use=yes
17092 else
17093 echo "$as_me: failed program was:" >&5
17094 sed 's/^/| /' conftest.$ac_ext >&5
17096 glibcxx_cv_func_modf_use=no
17098 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17099 ac_ext=c
17100 ac_cpp='$CPP $CPPFLAGS'
17101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17109 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
17110 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
17112 if test x$glibcxx_cv_func_modf_use = x"yes"; then
17114 for ac_func in modf
17116 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17117 echo "$as_me:$LINENO: checking for $ac_func" >&5
17118 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17119 if eval "test \"\${$as_ac_var+set}\" = set"; then
17120 echo $ECHO_N "(cached) $ECHO_C" >&6
17121 else
17122 if test x$gcc_no_link = xyes; then
17123 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17124 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17125 { (exit 1); exit 1; }; }
17127 cat >conftest.$ac_ext <<_ACEOF
17128 /* confdefs.h. */
17129 _ACEOF
17130 cat confdefs.h >>conftest.$ac_ext
17131 cat >>conftest.$ac_ext <<_ACEOF
17132 /* end confdefs.h. */
17133 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17134 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17135 #define $ac_func innocuous_$ac_func
17137 /* System header to define __stub macros and hopefully few prototypes,
17138 which can conflict with char $ac_func (); below.
17139 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17140 <limits.h> exists even on freestanding compilers. */
17142 #ifdef __STDC__
17143 # include <limits.h>
17144 #else
17145 # include <assert.h>
17146 #endif
17148 #undef $ac_func
17150 /* Override any gcc2 internal prototype to avoid an error. */
17151 #ifdef __cplusplus
17152 extern "C"
17154 #endif
17155 /* We use char because int might match the return type of a gcc2
17156 builtin and then its argument prototype would still apply. */
17157 char $ac_func ();
17158 /* The GNU C library defines this for functions which it implements
17159 to always fail with ENOSYS. Some functions are actually named
17160 something starting with __ and the normal name is an alias. */
17161 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17162 choke me
17163 #else
17164 char (*f) () = $ac_func;
17165 #endif
17166 #ifdef __cplusplus
17168 #endif
17171 main ()
17173 return f != $ac_func;
17175 return 0;
17177 _ACEOF
17178 rm -f conftest.$ac_objext conftest$ac_exeext
17179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17180 (eval $ac_link) 2>conftest.er1
17181 ac_status=$?
17182 grep -v '^ *+' conftest.er1 >conftest.err
17183 rm -f conftest.er1
17184 cat conftest.err >&5
17185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17186 (exit $ac_status); } &&
17187 { ac_try='test -z "$ac_c_werror_flag"
17188 || test ! -s conftest.err'
17189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17190 (eval $ac_try) 2>&5
17191 ac_status=$?
17192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17193 (exit $ac_status); }; } &&
17194 { ac_try='test -s conftest$ac_exeext'
17195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17196 (eval $ac_try) 2>&5
17197 ac_status=$?
17198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17199 (exit $ac_status); }; }; then
17200 eval "$as_ac_var=yes"
17201 else
17202 echo "$as_me: failed program was:" >&5
17203 sed 's/^/| /' conftest.$ac_ext >&5
17205 eval "$as_ac_var=no"
17207 rm -f conftest.err conftest.$ac_objext \
17208 conftest$ac_exeext conftest.$ac_ext
17210 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17211 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17212 if test `eval echo '${'$as_ac_var'}'` = yes; then
17213 cat >>confdefs.h <<_ACEOF
17214 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17215 _ACEOF
17218 done
17220 else
17222 echo "$as_me:$LINENO: checking for _modf declaration" >&5
17223 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
17224 if test x${glibcxx_cv_func__modf_use+set} != xset; then
17225 if test "${glibcxx_cv_func__modf_use+set}" = set; then
17226 echo $ECHO_N "(cached) $ECHO_C" >&6
17227 else
17231 ac_ext=cc
17232 ac_cpp='$CXXCPP $CPPFLAGS'
17233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17237 cat >conftest.$ac_ext <<_ACEOF
17238 /* confdefs.h. */
17239 _ACEOF
17240 cat confdefs.h >>conftest.$ac_ext
17241 cat >>conftest.$ac_ext <<_ACEOF
17242 /* end confdefs.h. */
17243 #include <math.h>
17245 main ()
17247 _modf(0, 0);
17249 return 0;
17251 _ACEOF
17252 rm -f conftest.$ac_objext
17253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17254 (eval $ac_compile) 2>conftest.er1
17255 ac_status=$?
17256 grep -v '^ *+' conftest.er1 >conftest.err
17257 rm -f conftest.er1
17258 cat conftest.err >&5
17259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17260 (exit $ac_status); } &&
17261 { ac_try='test -z "$ac_cxx_werror_flag"
17262 || test ! -s conftest.err'
17263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17264 (eval $ac_try) 2>&5
17265 ac_status=$?
17266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17267 (exit $ac_status); }; } &&
17268 { ac_try='test -s conftest.$ac_objext'
17269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17270 (eval $ac_try) 2>&5
17271 ac_status=$?
17272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17273 (exit $ac_status); }; }; then
17274 glibcxx_cv_func__modf_use=yes
17275 else
17276 echo "$as_me: failed program was:" >&5
17277 sed 's/^/| /' conftest.$ac_ext >&5
17279 glibcxx_cv_func__modf_use=no
17281 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17282 ac_ext=c
17283 ac_cpp='$CPP $CPPFLAGS'
17284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17292 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
17293 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
17295 if test x$glibcxx_cv_func__modf_use = x"yes"; then
17297 for ac_func in _modf
17299 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17300 echo "$as_me:$LINENO: checking for $ac_func" >&5
17301 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17302 if eval "test \"\${$as_ac_var+set}\" = set"; then
17303 echo $ECHO_N "(cached) $ECHO_C" >&6
17304 else
17305 if test x$gcc_no_link = xyes; then
17306 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17307 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17308 { (exit 1); exit 1; }; }
17310 cat >conftest.$ac_ext <<_ACEOF
17311 /* confdefs.h. */
17312 _ACEOF
17313 cat confdefs.h >>conftest.$ac_ext
17314 cat >>conftest.$ac_ext <<_ACEOF
17315 /* end confdefs.h. */
17316 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17317 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17318 #define $ac_func innocuous_$ac_func
17320 /* System header to define __stub macros and hopefully few prototypes,
17321 which can conflict with char $ac_func (); below.
17322 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17323 <limits.h> exists even on freestanding compilers. */
17325 #ifdef __STDC__
17326 # include <limits.h>
17327 #else
17328 # include <assert.h>
17329 #endif
17331 #undef $ac_func
17333 /* Override any gcc2 internal prototype to avoid an error. */
17334 #ifdef __cplusplus
17335 extern "C"
17337 #endif
17338 /* We use char because int might match the return type of a gcc2
17339 builtin and then its argument prototype would still apply. */
17340 char $ac_func ();
17341 /* The GNU C library defines this for functions which it implements
17342 to always fail with ENOSYS. Some functions are actually named
17343 something starting with __ and the normal name is an alias. */
17344 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17345 choke me
17346 #else
17347 char (*f) () = $ac_func;
17348 #endif
17349 #ifdef __cplusplus
17351 #endif
17354 main ()
17356 return f != $ac_func;
17358 return 0;
17360 _ACEOF
17361 rm -f conftest.$ac_objext conftest$ac_exeext
17362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17363 (eval $ac_link) 2>conftest.er1
17364 ac_status=$?
17365 grep -v '^ *+' conftest.er1 >conftest.err
17366 rm -f conftest.er1
17367 cat conftest.err >&5
17368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17369 (exit $ac_status); } &&
17370 { ac_try='test -z "$ac_c_werror_flag"
17371 || test ! -s conftest.err'
17372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17373 (eval $ac_try) 2>&5
17374 ac_status=$?
17375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17376 (exit $ac_status); }; } &&
17377 { ac_try='test -s conftest$ac_exeext'
17378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17379 (eval $ac_try) 2>&5
17380 ac_status=$?
17381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17382 (exit $ac_status); }; }; then
17383 eval "$as_ac_var=yes"
17384 else
17385 echo "$as_me: failed program was:" >&5
17386 sed 's/^/| /' conftest.$ac_ext >&5
17388 eval "$as_ac_var=no"
17390 rm -f conftest.err conftest.$ac_objext \
17391 conftest$ac_exeext conftest.$ac_ext
17393 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17394 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17395 if test `eval echo '${'$as_ac_var'}'` = yes; then
17396 cat >>confdefs.h <<_ACEOF
17397 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17398 _ACEOF
17401 done
17411 echo "$as_me:$LINENO: checking for powf declaration" >&5
17412 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
17413 if test x${glibcxx_cv_func_powf_use+set} != xset; then
17414 if test "${glibcxx_cv_func_powf_use+set}" = set; then
17415 echo $ECHO_N "(cached) $ECHO_C" >&6
17416 else
17420 ac_ext=cc
17421 ac_cpp='$CXXCPP $CPPFLAGS'
17422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17426 cat >conftest.$ac_ext <<_ACEOF
17427 /* confdefs.h. */
17428 _ACEOF
17429 cat confdefs.h >>conftest.$ac_ext
17430 cat >>conftest.$ac_ext <<_ACEOF
17431 /* end confdefs.h. */
17432 #include <math.h>
17434 main ()
17436 powf(0, 0);
17438 return 0;
17440 _ACEOF
17441 rm -f conftest.$ac_objext
17442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17443 (eval $ac_compile) 2>conftest.er1
17444 ac_status=$?
17445 grep -v '^ *+' conftest.er1 >conftest.err
17446 rm -f conftest.er1
17447 cat conftest.err >&5
17448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17449 (exit $ac_status); } &&
17450 { ac_try='test -z "$ac_cxx_werror_flag"
17451 || test ! -s conftest.err'
17452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17453 (eval $ac_try) 2>&5
17454 ac_status=$?
17455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17456 (exit $ac_status); }; } &&
17457 { ac_try='test -s conftest.$ac_objext'
17458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17459 (eval $ac_try) 2>&5
17460 ac_status=$?
17461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17462 (exit $ac_status); }; }; then
17463 glibcxx_cv_func_powf_use=yes
17464 else
17465 echo "$as_me: failed program was:" >&5
17466 sed 's/^/| /' conftest.$ac_ext >&5
17468 glibcxx_cv_func_powf_use=no
17470 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17471 ac_ext=c
17472 ac_cpp='$CPP $CPPFLAGS'
17473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17481 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
17482 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
17484 if test x$glibcxx_cv_func_powf_use = x"yes"; then
17486 for ac_func in powf
17488 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17489 echo "$as_me:$LINENO: checking for $ac_func" >&5
17490 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17491 if eval "test \"\${$as_ac_var+set}\" = set"; then
17492 echo $ECHO_N "(cached) $ECHO_C" >&6
17493 else
17494 if test x$gcc_no_link = xyes; then
17495 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17496 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17497 { (exit 1); exit 1; }; }
17499 cat >conftest.$ac_ext <<_ACEOF
17500 /* confdefs.h. */
17501 _ACEOF
17502 cat confdefs.h >>conftest.$ac_ext
17503 cat >>conftest.$ac_ext <<_ACEOF
17504 /* end confdefs.h. */
17505 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17506 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17507 #define $ac_func innocuous_$ac_func
17509 /* System header to define __stub macros and hopefully few prototypes,
17510 which can conflict with char $ac_func (); below.
17511 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17512 <limits.h> exists even on freestanding compilers. */
17514 #ifdef __STDC__
17515 # include <limits.h>
17516 #else
17517 # include <assert.h>
17518 #endif
17520 #undef $ac_func
17522 /* Override any gcc2 internal prototype to avoid an error. */
17523 #ifdef __cplusplus
17524 extern "C"
17526 #endif
17527 /* We use char because int might match the return type of a gcc2
17528 builtin and then its argument prototype would still apply. */
17529 char $ac_func ();
17530 /* The GNU C library defines this for functions which it implements
17531 to always fail with ENOSYS. Some functions are actually named
17532 something starting with __ and the normal name is an alias. */
17533 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17534 choke me
17535 #else
17536 char (*f) () = $ac_func;
17537 #endif
17538 #ifdef __cplusplus
17540 #endif
17543 main ()
17545 return f != $ac_func;
17547 return 0;
17549 _ACEOF
17550 rm -f conftest.$ac_objext conftest$ac_exeext
17551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17552 (eval $ac_link) 2>conftest.er1
17553 ac_status=$?
17554 grep -v '^ *+' conftest.er1 >conftest.err
17555 rm -f conftest.er1
17556 cat conftest.err >&5
17557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17558 (exit $ac_status); } &&
17559 { ac_try='test -z "$ac_c_werror_flag"
17560 || test ! -s conftest.err'
17561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17562 (eval $ac_try) 2>&5
17563 ac_status=$?
17564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17565 (exit $ac_status); }; } &&
17566 { ac_try='test -s conftest$ac_exeext'
17567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17568 (eval $ac_try) 2>&5
17569 ac_status=$?
17570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17571 (exit $ac_status); }; }; then
17572 eval "$as_ac_var=yes"
17573 else
17574 echo "$as_me: failed program was:" >&5
17575 sed 's/^/| /' conftest.$ac_ext >&5
17577 eval "$as_ac_var=no"
17579 rm -f conftest.err conftest.$ac_objext \
17580 conftest$ac_exeext conftest.$ac_ext
17582 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17583 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17584 if test `eval echo '${'$as_ac_var'}'` = yes; then
17585 cat >>confdefs.h <<_ACEOF
17586 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17587 _ACEOF
17590 done
17592 else
17594 echo "$as_me:$LINENO: checking for _powf declaration" >&5
17595 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
17596 if test x${glibcxx_cv_func__powf_use+set} != xset; then
17597 if test "${glibcxx_cv_func__powf_use+set}" = set; then
17598 echo $ECHO_N "(cached) $ECHO_C" >&6
17599 else
17603 ac_ext=cc
17604 ac_cpp='$CXXCPP $CPPFLAGS'
17605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17609 cat >conftest.$ac_ext <<_ACEOF
17610 /* confdefs.h. */
17611 _ACEOF
17612 cat confdefs.h >>conftest.$ac_ext
17613 cat >>conftest.$ac_ext <<_ACEOF
17614 /* end confdefs.h. */
17615 #include <math.h>
17617 main ()
17619 _powf(0, 0);
17621 return 0;
17623 _ACEOF
17624 rm -f conftest.$ac_objext
17625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17626 (eval $ac_compile) 2>conftest.er1
17627 ac_status=$?
17628 grep -v '^ *+' conftest.er1 >conftest.err
17629 rm -f conftest.er1
17630 cat conftest.err >&5
17631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17632 (exit $ac_status); } &&
17633 { ac_try='test -z "$ac_cxx_werror_flag"
17634 || test ! -s conftest.err'
17635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17636 (eval $ac_try) 2>&5
17637 ac_status=$?
17638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17639 (exit $ac_status); }; } &&
17640 { ac_try='test -s conftest.$ac_objext'
17641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17642 (eval $ac_try) 2>&5
17643 ac_status=$?
17644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17645 (exit $ac_status); }; }; then
17646 glibcxx_cv_func__powf_use=yes
17647 else
17648 echo "$as_me: failed program was:" >&5
17649 sed 's/^/| /' conftest.$ac_ext >&5
17651 glibcxx_cv_func__powf_use=no
17653 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17654 ac_ext=c
17655 ac_cpp='$CPP $CPPFLAGS'
17656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17664 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
17665 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
17667 if test x$glibcxx_cv_func__powf_use = x"yes"; then
17669 for ac_func in _powf
17671 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17672 echo "$as_me:$LINENO: checking for $ac_func" >&5
17673 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17674 if eval "test \"\${$as_ac_var+set}\" = set"; then
17675 echo $ECHO_N "(cached) $ECHO_C" >&6
17676 else
17677 if test x$gcc_no_link = xyes; then
17678 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17679 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17680 { (exit 1); exit 1; }; }
17682 cat >conftest.$ac_ext <<_ACEOF
17683 /* confdefs.h. */
17684 _ACEOF
17685 cat confdefs.h >>conftest.$ac_ext
17686 cat >>conftest.$ac_ext <<_ACEOF
17687 /* end confdefs.h. */
17688 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17689 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17690 #define $ac_func innocuous_$ac_func
17692 /* System header to define __stub macros and hopefully few prototypes,
17693 which can conflict with char $ac_func (); below.
17694 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17695 <limits.h> exists even on freestanding compilers. */
17697 #ifdef __STDC__
17698 # include <limits.h>
17699 #else
17700 # include <assert.h>
17701 #endif
17703 #undef $ac_func
17705 /* Override any gcc2 internal prototype to avoid an error. */
17706 #ifdef __cplusplus
17707 extern "C"
17709 #endif
17710 /* We use char because int might match the return type of a gcc2
17711 builtin and then its argument prototype would still apply. */
17712 char $ac_func ();
17713 /* The GNU C library defines this for functions which it implements
17714 to always fail with ENOSYS. Some functions are actually named
17715 something starting with __ and the normal name is an alias. */
17716 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17717 choke me
17718 #else
17719 char (*f) () = $ac_func;
17720 #endif
17721 #ifdef __cplusplus
17723 #endif
17726 main ()
17728 return f != $ac_func;
17730 return 0;
17732 _ACEOF
17733 rm -f conftest.$ac_objext conftest$ac_exeext
17734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17735 (eval $ac_link) 2>conftest.er1
17736 ac_status=$?
17737 grep -v '^ *+' conftest.er1 >conftest.err
17738 rm -f conftest.er1
17739 cat conftest.err >&5
17740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17741 (exit $ac_status); } &&
17742 { ac_try='test -z "$ac_c_werror_flag"
17743 || test ! -s conftest.err'
17744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17745 (eval $ac_try) 2>&5
17746 ac_status=$?
17747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17748 (exit $ac_status); }; } &&
17749 { ac_try='test -s conftest$ac_exeext'
17750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17751 (eval $ac_try) 2>&5
17752 ac_status=$?
17753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17754 (exit $ac_status); }; }; then
17755 eval "$as_ac_var=yes"
17756 else
17757 echo "$as_me: failed program was:" >&5
17758 sed 's/^/| /' conftest.$ac_ext >&5
17760 eval "$as_ac_var=no"
17762 rm -f conftest.err conftest.$ac_objext \
17763 conftest$ac_exeext conftest.$ac_ext
17765 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17766 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17767 if test `eval echo '${'$as_ac_var'}'` = yes; then
17768 cat >>confdefs.h <<_ACEOF
17769 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17770 _ACEOF
17773 done
17783 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
17784 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
17785 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
17786 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
17787 echo $ECHO_N "(cached) $ECHO_C" >&6
17788 else
17792 ac_ext=cc
17793 ac_cpp='$CXXCPP $CPPFLAGS'
17794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17798 cat >conftest.$ac_ext <<_ACEOF
17799 /* confdefs.h. */
17800 _ACEOF
17801 cat confdefs.h >>conftest.$ac_ext
17802 cat >>conftest.$ac_ext <<_ACEOF
17803 /* end confdefs.h. */
17804 #include <math.h>
17805 #ifdef HAVE_IEEEFP_H
17806 #include <ieeefp.h>
17807 #endif
17810 main ()
17812 sqrtf(0);
17814 return 0;
17816 _ACEOF
17817 rm -f conftest.$ac_objext
17818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17819 (eval $ac_compile) 2>conftest.er1
17820 ac_status=$?
17821 grep -v '^ *+' conftest.er1 >conftest.err
17822 rm -f conftest.er1
17823 cat conftest.err >&5
17824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17825 (exit $ac_status); } &&
17826 { ac_try='test -z "$ac_cxx_werror_flag"
17827 || test ! -s conftest.err'
17828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17829 (eval $ac_try) 2>&5
17830 ac_status=$?
17831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17832 (exit $ac_status); }; } &&
17833 { ac_try='test -s conftest.$ac_objext'
17834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17835 (eval $ac_try) 2>&5
17836 ac_status=$?
17837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17838 (exit $ac_status); }; }; then
17839 glibcxx_cv_func_sqrtf_use=yes
17840 else
17841 echo "$as_me: failed program was:" >&5
17842 sed 's/^/| /' conftest.$ac_ext >&5
17844 glibcxx_cv_func_sqrtf_use=no
17846 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17847 ac_ext=c
17848 ac_cpp='$CPP $CPPFLAGS'
17849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17857 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
17858 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
17860 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
17862 for ac_func in sqrtf
17864 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17865 echo "$as_me:$LINENO: checking for $ac_func" >&5
17866 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17867 if eval "test \"\${$as_ac_var+set}\" = set"; then
17868 echo $ECHO_N "(cached) $ECHO_C" >&6
17869 else
17870 if test x$gcc_no_link = xyes; then
17871 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17872 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17873 { (exit 1); exit 1; }; }
17875 cat >conftest.$ac_ext <<_ACEOF
17876 /* confdefs.h. */
17877 _ACEOF
17878 cat confdefs.h >>conftest.$ac_ext
17879 cat >>conftest.$ac_ext <<_ACEOF
17880 /* end confdefs.h. */
17881 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17882 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17883 #define $ac_func innocuous_$ac_func
17885 /* System header to define __stub macros and hopefully few prototypes,
17886 which can conflict with char $ac_func (); below.
17887 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17888 <limits.h> exists even on freestanding compilers. */
17890 #ifdef __STDC__
17891 # include <limits.h>
17892 #else
17893 # include <assert.h>
17894 #endif
17896 #undef $ac_func
17898 /* Override any gcc2 internal prototype to avoid an error. */
17899 #ifdef __cplusplus
17900 extern "C"
17902 #endif
17903 /* We use char because int might match the return type of a gcc2
17904 builtin and then its argument prototype would still apply. */
17905 char $ac_func ();
17906 /* The GNU C library defines this for functions which it implements
17907 to always fail with ENOSYS. Some functions are actually named
17908 something starting with __ and the normal name is an alias. */
17909 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17910 choke me
17911 #else
17912 char (*f) () = $ac_func;
17913 #endif
17914 #ifdef __cplusplus
17916 #endif
17919 main ()
17921 return f != $ac_func;
17923 return 0;
17925 _ACEOF
17926 rm -f conftest.$ac_objext conftest$ac_exeext
17927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17928 (eval $ac_link) 2>conftest.er1
17929 ac_status=$?
17930 grep -v '^ *+' conftest.er1 >conftest.err
17931 rm -f conftest.er1
17932 cat conftest.err >&5
17933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17934 (exit $ac_status); } &&
17935 { ac_try='test -z "$ac_c_werror_flag"
17936 || test ! -s conftest.err'
17937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17938 (eval $ac_try) 2>&5
17939 ac_status=$?
17940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17941 (exit $ac_status); }; } &&
17942 { ac_try='test -s conftest$ac_exeext'
17943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17944 (eval $ac_try) 2>&5
17945 ac_status=$?
17946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17947 (exit $ac_status); }; }; then
17948 eval "$as_ac_var=yes"
17949 else
17950 echo "$as_me: failed program was:" >&5
17951 sed 's/^/| /' conftest.$ac_ext >&5
17953 eval "$as_ac_var=no"
17955 rm -f conftest.err conftest.$ac_objext \
17956 conftest$ac_exeext conftest.$ac_ext
17958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17959 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17960 if test `eval echo '${'$as_ac_var'}'` = yes; then
17961 cat >>confdefs.h <<_ACEOF
17962 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17963 _ACEOF
17966 done
17968 else
17970 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
17971 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
17972 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
17973 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
17974 echo $ECHO_N "(cached) $ECHO_C" >&6
17975 else
17979 ac_ext=cc
17980 ac_cpp='$CXXCPP $CPPFLAGS'
17981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17985 cat >conftest.$ac_ext <<_ACEOF
17986 /* confdefs.h. */
17987 _ACEOF
17988 cat confdefs.h >>conftest.$ac_ext
17989 cat >>conftest.$ac_ext <<_ACEOF
17990 /* end confdefs.h. */
17991 #include <math.h>
17992 #ifdef HAVE_IEEEFP_H
17993 #include <ieeefp.h>
17994 #endif
17997 main ()
17999 _sqrtf(0);
18001 return 0;
18003 _ACEOF
18004 rm -f conftest.$ac_objext
18005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18006 (eval $ac_compile) 2>conftest.er1
18007 ac_status=$?
18008 grep -v '^ *+' conftest.er1 >conftest.err
18009 rm -f conftest.er1
18010 cat conftest.err >&5
18011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18012 (exit $ac_status); } &&
18013 { ac_try='test -z "$ac_cxx_werror_flag"
18014 || test ! -s conftest.err'
18015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18016 (eval $ac_try) 2>&5
18017 ac_status=$?
18018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18019 (exit $ac_status); }; } &&
18020 { ac_try='test -s conftest.$ac_objext'
18021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18022 (eval $ac_try) 2>&5
18023 ac_status=$?
18024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18025 (exit $ac_status); }; }; then
18026 glibcxx_cv_func__sqrtf_use=yes
18027 else
18028 echo "$as_me: failed program was:" >&5
18029 sed 's/^/| /' conftest.$ac_ext >&5
18031 glibcxx_cv_func__sqrtf_use=no
18033 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18034 ac_ext=c
18035 ac_cpp='$CPP $CPPFLAGS'
18036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18044 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
18045 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
18047 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
18049 for ac_func in _sqrtf
18051 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18052 echo "$as_me:$LINENO: checking for $ac_func" >&5
18053 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18054 if eval "test \"\${$as_ac_var+set}\" = set"; then
18055 echo $ECHO_N "(cached) $ECHO_C" >&6
18056 else
18057 if test x$gcc_no_link = xyes; then
18058 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18059 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18060 { (exit 1); exit 1; }; }
18062 cat >conftest.$ac_ext <<_ACEOF
18063 /* confdefs.h. */
18064 _ACEOF
18065 cat confdefs.h >>conftest.$ac_ext
18066 cat >>conftest.$ac_ext <<_ACEOF
18067 /* end confdefs.h. */
18068 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18069 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18070 #define $ac_func innocuous_$ac_func
18072 /* System header to define __stub macros and hopefully few prototypes,
18073 which can conflict with char $ac_func (); below.
18074 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18075 <limits.h> exists even on freestanding compilers. */
18077 #ifdef __STDC__
18078 # include <limits.h>
18079 #else
18080 # include <assert.h>
18081 #endif
18083 #undef $ac_func
18085 /* Override any gcc2 internal prototype to avoid an error. */
18086 #ifdef __cplusplus
18087 extern "C"
18089 #endif
18090 /* We use char because int might match the return type of a gcc2
18091 builtin and then its argument prototype would still apply. */
18092 char $ac_func ();
18093 /* The GNU C library defines this for functions which it implements
18094 to always fail with ENOSYS. Some functions are actually named
18095 something starting with __ and the normal name is an alias. */
18096 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18097 choke me
18098 #else
18099 char (*f) () = $ac_func;
18100 #endif
18101 #ifdef __cplusplus
18103 #endif
18106 main ()
18108 return f != $ac_func;
18110 return 0;
18112 _ACEOF
18113 rm -f conftest.$ac_objext conftest$ac_exeext
18114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18115 (eval $ac_link) 2>conftest.er1
18116 ac_status=$?
18117 grep -v '^ *+' conftest.er1 >conftest.err
18118 rm -f conftest.er1
18119 cat conftest.err >&5
18120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18121 (exit $ac_status); } &&
18122 { ac_try='test -z "$ac_c_werror_flag"
18123 || test ! -s conftest.err'
18124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18125 (eval $ac_try) 2>&5
18126 ac_status=$?
18127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18128 (exit $ac_status); }; } &&
18129 { ac_try='test -s conftest$ac_exeext'
18130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18131 (eval $ac_try) 2>&5
18132 ac_status=$?
18133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18134 (exit $ac_status); }; }; then
18135 eval "$as_ac_var=yes"
18136 else
18137 echo "$as_me: failed program was:" >&5
18138 sed 's/^/| /' conftest.$ac_ext >&5
18140 eval "$as_ac_var=no"
18142 rm -f conftest.err conftest.$ac_objext \
18143 conftest$ac_exeext conftest.$ac_ext
18145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18146 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18147 if test `eval echo '${'$as_ac_var'}'` = yes; then
18148 cat >>confdefs.h <<_ACEOF
18149 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18150 _ACEOF
18153 done
18163 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
18164 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
18165 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
18166 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
18167 echo $ECHO_N "(cached) $ECHO_C" >&6
18168 else
18172 ac_ext=cc
18173 ac_cpp='$CXXCPP $CPPFLAGS'
18174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18178 cat >conftest.$ac_ext <<_ACEOF
18179 /* confdefs.h. */
18180 _ACEOF
18181 cat confdefs.h >>conftest.$ac_ext
18182 cat >>conftest.$ac_ext <<_ACEOF
18183 /* end confdefs.h. */
18184 #include <math.h>
18186 main ()
18188 sincosf(0, 0, 0);
18190 return 0;
18192 _ACEOF
18193 rm -f conftest.$ac_objext
18194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18195 (eval $ac_compile) 2>conftest.er1
18196 ac_status=$?
18197 grep -v '^ *+' conftest.er1 >conftest.err
18198 rm -f conftest.er1
18199 cat conftest.err >&5
18200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18201 (exit $ac_status); } &&
18202 { ac_try='test -z "$ac_cxx_werror_flag"
18203 || test ! -s conftest.err'
18204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18205 (eval $ac_try) 2>&5
18206 ac_status=$?
18207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18208 (exit $ac_status); }; } &&
18209 { ac_try='test -s conftest.$ac_objext'
18210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18211 (eval $ac_try) 2>&5
18212 ac_status=$?
18213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18214 (exit $ac_status); }; }; then
18215 glibcxx_cv_func_sincosf_use=yes
18216 else
18217 echo "$as_me: failed program was:" >&5
18218 sed 's/^/| /' conftest.$ac_ext >&5
18220 glibcxx_cv_func_sincosf_use=no
18222 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18223 ac_ext=c
18224 ac_cpp='$CPP $CPPFLAGS'
18225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18233 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
18234 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
18236 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
18238 for ac_func in sincosf
18240 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18241 echo "$as_me:$LINENO: checking for $ac_func" >&5
18242 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18243 if eval "test \"\${$as_ac_var+set}\" = set"; then
18244 echo $ECHO_N "(cached) $ECHO_C" >&6
18245 else
18246 if test x$gcc_no_link = xyes; then
18247 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18248 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18249 { (exit 1); exit 1; }; }
18251 cat >conftest.$ac_ext <<_ACEOF
18252 /* confdefs.h. */
18253 _ACEOF
18254 cat confdefs.h >>conftest.$ac_ext
18255 cat >>conftest.$ac_ext <<_ACEOF
18256 /* end confdefs.h. */
18257 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18258 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18259 #define $ac_func innocuous_$ac_func
18261 /* System header to define __stub macros and hopefully few prototypes,
18262 which can conflict with char $ac_func (); below.
18263 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18264 <limits.h> exists even on freestanding compilers. */
18266 #ifdef __STDC__
18267 # include <limits.h>
18268 #else
18269 # include <assert.h>
18270 #endif
18272 #undef $ac_func
18274 /* Override any gcc2 internal prototype to avoid an error. */
18275 #ifdef __cplusplus
18276 extern "C"
18278 #endif
18279 /* We use char because int might match the return type of a gcc2
18280 builtin and then its argument prototype would still apply. */
18281 char $ac_func ();
18282 /* The GNU C library defines this for functions which it implements
18283 to always fail with ENOSYS. Some functions are actually named
18284 something starting with __ and the normal name is an alias. */
18285 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18286 choke me
18287 #else
18288 char (*f) () = $ac_func;
18289 #endif
18290 #ifdef __cplusplus
18292 #endif
18295 main ()
18297 return f != $ac_func;
18299 return 0;
18301 _ACEOF
18302 rm -f conftest.$ac_objext conftest$ac_exeext
18303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18304 (eval $ac_link) 2>conftest.er1
18305 ac_status=$?
18306 grep -v '^ *+' conftest.er1 >conftest.err
18307 rm -f conftest.er1
18308 cat conftest.err >&5
18309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18310 (exit $ac_status); } &&
18311 { ac_try='test -z "$ac_c_werror_flag"
18312 || test ! -s conftest.err'
18313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18314 (eval $ac_try) 2>&5
18315 ac_status=$?
18316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18317 (exit $ac_status); }; } &&
18318 { ac_try='test -s conftest$ac_exeext'
18319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18320 (eval $ac_try) 2>&5
18321 ac_status=$?
18322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18323 (exit $ac_status); }; }; then
18324 eval "$as_ac_var=yes"
18325 else
18326 echo "$as_me: failed program was:" >&5
18327 sed 's/^/| /' conftest.$ac_ext >&5
18329 eval "$as_ac_var=no"
18331 rm -f conftest.err conftest.$ac_objext \
18332 conftest$ac_exeext conftest.$ac_ext
18334 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18335 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18336 if test `eval echo '${'$as_ac_var'}'` = yes; then
18337 cat >>confdefs.h <<_ACEOF
18338 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18339 _ACEOF
18342 done
18344 else
18346 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
18347 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
18348 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
18349 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
18350 echo $ECHO_N "(cached) $ECHO_C" >&6
18351 else
18355 ac_ext=cc
18356 ac_cpp='$CXXCPP $CPPFLAGS'
18357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18361 cat >conftest.$ac_ext <<_ACEOF
18362 /* confdefs.h. */
18363 _ACEOF
18364 cat confdefs.h >>conftest.$ac_ext
18365 cat >>conftest.$ac_ext <<_ACEOF
18366 /* end confdefs.h. */
18367 #include <math.h>
18369 main ()
18371 _sincosf(0, 0, 0);
18373 return 0;
18375 _ACEOF
18376 rm -f conftest.$ac_objext
18377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18378 (eval $ac_compile) 2>conftest.er1
18379 ac_status=$?
18380 grep -v '^ *+' conftest.er1 >conftest.err
18381 rm -f conftest.er1
18382 cat conftest.err >&5
18383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18384 (exit $ac_status); } &&
18385 { ac_try='test -z "$ac_cxx_werror_flag"
18386 || test ! -s conftest.err'
18387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18388 (eval $ac_try) 2>&5
18389 ac_status=$?
18390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18391 (exit $ac_status); }; } &&
18392 { ac_try='test -s conftest.$ac_objext'
18393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18394 (eval $ac_try) 2>&5
18395 ac_status=$?
18396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18397 (exit $ac_status); }; }; then
18398 glibcxx_cv_func__sincosf_use=yes
18399 else
18400 echo "$as_me: failed program was:" >&5
18401 sed 's/^/| /' conftest.$ac_ext >&5
18403 glibcxx_cv_func__sincosf_use=no
18405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18406 ac_ext=c
18407 ac_cpp='$CPP $CPPFLAGS'
18408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18416 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
18417 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
18419 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
18421 for ac_func in _sincosf
18423 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18424 echo "$as_me:$LINENO: checking for $ac_func" >&5
18425 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18426 if eval "test \"\${$as_ac_var+set}\" = set"; then
18427 echo $ECHO_N "(cached) $ECHO_C" >&6
18428 else
18429 if test x$gcc_no_link = xyes; then
18430 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18431 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18432 { (exit 1); exit 1; }; }
18434 cat >conftest.$ac_ext <<_ACEOF
18435 /* confdefs.h. */
18436 _ACEOF
18437 cat confdefs.h >>conftest.$ac_ext
18438 cat >>conftest.$ac_ext <<_ACEOF
18439 /* end confdefs.h. */
18440 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18441 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18442 #define $ac_func innocuous_$ac_func
18444 /* System header to define __stub macros and hopefully few prototypes,
18445 which can conflict with char $ac_func (); below.
18446 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18447 <limits.h> exists even on freestanding compilers. */
18449 #ifdef __STDC__
18450 # include <limits.h>
18451 #else
18452 # include <assert.h>
18453 #endif
18455 #undef $ac_func
18457 /* Override any gcc2 internal prototype to avoid an error. */
18458 #ifdef __cplusplus
18459 extern "C"
18461 #endif
18462 /* We use char because int might match the return type of a gcc2
18463 builtin and then its argument prototype would still apply. */
18464 char $ac_func ();
18465 /* The GNU C library defines this for functions which it implements
18466 to always fail with ENOSYS. Some functions are actually named
18467 something starting with __ and the normal name is an alias. */
18468 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18469 choke me
18470 #else
18471 char (*f) () = $ac_func;
18472 #endif
18473 #ifdef __cplusplus
18475 #endif
18478 main ()
18480 return f != $ac_func;
18482 return 0;
18484 _ACEOF
18485 rm -f conftest.$ac_objext conftest$ac_exeext
18486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18487 (eval $ac_link) 2>conftest.er1
18488 ac_status=$?
18489 grep -v '^ *+' conftest.er1 >conftest.err
18490 rm -f conftest.er1
18491 cat conftest.err >&5
18492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18493 (exit $ac_status); } &&
18494 { ac_try='test -z "$ac_c_werror_flag"
18495 || test ! -s conftest.err'
18496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18497 (eval $ac_try) 2>&5
18498 ac_status=$?
18499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18500 (exit $ac_status); }; } &&
18501 { ac_try='test -s conftest$ac_exeext'
18502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18503 (eval $ac_try) 2>&5
18504 ac_status=$?
18505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18506 (exit $ac_status); }; }; then
18507 eval "$as_ac_var=yes"
18508 else
18509 echo "$as_me: failed program was:" >&5
18510 sed 's/^/| /' conftest.$ac_ext >&5
18512 eval "$as_ac_var=no"
18514 rm -f conftest.err conftest.$ac_objext \
18515 conftest$ac_exeext conftest.$ac_ext
18517 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18518 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18519 if test `eval echo '${'$as_ac_var'}'` = yes; then
18520 cat >>confdefs.h <<_ACEOF
18521 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18522 _ACEOF
18525 done
18535 echo "$as_me:$LINENO: checking for finitef declaration" >&5
18536 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
18537 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
18538 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
18539 echo $ECHO_N "(cached) $ECHO_C" >&6
18540 else
18544 ac_ext=cc
18545 ac_cpp='$CXXCPP $CPPFLAGS'
18546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18550 cat >conftest.$ac_ext <<_ACEOF
18551 /* confdefs.h. */
18552 _ACEOF
18553 cat confdefs.h >>conftest.$ac_ext
18554 cat >>conftest.$ac_ext <<_ACEOF
18555 /* end confdefs.h. */
18556 #include <math.h>
18557 #ifdef HAVE_IEEEFP_H
18558 #include <ieeefp.h>
18559 #endif
18562 main ()
18564 finitef(0);
18566 return 0;
18568 _ACEOF
18569 rm -f conftest.$ac_objext
18570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18571 (eval $ac_compile) 2>conftest.er1
18572 ac_status=$?
18573 grep -v '^ *+' conftest.er1 >conftest.err
18574 rm -f conftest.er1
18575 cat conftest.err >&5
18576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18577 (exit $ac_status); } &&
18578 { ac_try='test -z "$ac_cxx_werror_flag"
18579 || test ! -s conftest.err'
18580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18581 (eval $ac_try) 2>&5
18582 ac_status=$?
18583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18584 (exit $ac_status); }; } &&
18585 { ac_try='test -s conftest.$ac_objext'
18586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18587 (eval $ac_try) 2>&5
18588 ac_status=$?
18589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18590 (exit $ac_status); }; }; then
18591 glibcxx_cv_func_finitef_use=yes
18592 else
18593 echo "$as_me: failed program was:" >&5
18594 sed 's/^/| /' conftest.$ac_ext >&5
18596 glibcxx_cv_func_finitef_use=no
18598 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18599 ac_ext=c
18600 ac_cpp='$CPP $CPPFLAGS'
18601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18609 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
18610 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
18612 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
18614 for ac_func in finitef
18616 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18617 echo "$as_me:$LINENO: checking for $ac_func" >&5
18618 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18619 if eval "test \"\${$as_ac_var+set}\" = set"; then
18620 echo $ECHO_N "(cached) $ECHO_C" >&6
18621 else
18622 if test x$gcc_no_link = xyes; then
18623 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18624 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18625 { (exit 1); exit 1; }; }
18627 cat >conftest.$ac_ext <<_ACEOF
18628 /* confdefs.h. */
18629 _ACEOF
18630 cat confdefs.h >>conftest.$ac_ext
18631 cat >>conftest.$ac_ext <<_ACEOF
18632 /* end confdefs.h. */
18633 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18634 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18635 #define $ac_func innocuous_$ac_func
18637 /* System header to define __stub macros and hopefully few prototypes,
18638 which can conflict with char $ac_func (); below.
18639 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18640 <limits.h> exists even on freestanding compilers. */
18642 #ifdef __STDC__
18643 # include <limits.h>
18644 #else
18645 # include <assert.h>
18646 #endif
18648 #undef $ac_func
18650 /* Override any gcc2 internal prototype to avoid an error. */
18651 #ifdef __cplusplus
18652 extern "C"
18654 #endif
18655 /* We use char because int might match the return type of a gcc2
18656 builtin and then its argument prototype would still apply. */
18657 char $ac_func ();
18658 /* The GNU C library defines this for functions which it implements
18659 to always fail with ENOSYS. Some functions are actually named
18660 something starting with __ and the normal name is an alias. */
18661 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18662 choke me
18663 #else
18664 char (*f) () = $ac_func;
18665 #endif
18666 #ifdef __cplusplus
18668 #endif
18671 main ()
18673 return f != $ac_func;
18675 return 0;
18677 _ACEOF
18678 rm -f conftest.$ac_objext conftest$ac_exeext
18679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18680 (eval $ac_link) 2>conftest.er1
18681 ac_status=$?
18682 grep -v '^ *+' conftest.er1 >conftest.err
18683 rm -f conftest.er1
18684 cat conftest.err >&5
18685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18686 (exit $ac_status); } &&
18687 { ac_try='test -z "$ac_c_werror_flag"
18688 || test ! -s conftest.err'
18689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18690 (eval $ac_try) 2>&5
18691 ac_status=$?
18692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18693 (exit $ac_status); }; } &&
18694 { ac_try='test -s conftest$ac_exeext'
18695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18696 (eval $ac_try) 2>&5
18697 ac_status=$?
18698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18699 (exit $ac_status); }; }; then
18700 eval "$as_ac_var=yes"
18701 else
18702 echo "$as_me: failed program was:" >&5
18703 sed 's/^/| /' conftest.$ac_ext >&5
18705 eval "$as_ac_var=no"
18707 rm -f conftest.err conftest.$ac_objext \
18708 conftest$ac_exeext conftest.$ac_ext
18710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18711 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18712 if test `eval echo '${'$as_ac_var'}'` = yes; then
18713 cat >>confdefs.h <<_ACEOF
18714 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18715 _ACEOF
18718 done
18720 else
18722 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
18723 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
18724 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
18725 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
18726 echo $ECHO_N "(cached) $ECHO_C" >&6
18727 else
18731 ac_ext=cc
18732 ac_cpp='$CXXCPP $CPPFLAGS'
18733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18737 cat >conftest.$ac_ext <<_ACEOF
18738 /* confdefs.h. */
18739 _ACEOF
18740 cat confdefs.h >>conftest.$ac_ext
18741 cat >>conftest.$ac_ext <<_ACEOF
18742 /* end confdefs.h. */
18743 #include <math.h>
18744 #ifdef HAVE_IEEEFP_H
18745 #include <ieeefp.h>
18746 #endif
18749 main ()
18751 _finitef(0);
18753 return 0;
18755 _ACEOF
18756 rm -f conftest.$ac_objext
18757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18758 (eval $ac_compile) 2>conftest.er1
18759 ac_status=$?
18760 grep -v '^ *+' conftest.er1 >conftest.err
18761 rm -f conftest.er1
18762 cat conftest.err >&5
18763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18764 (exit $ac_status); } &&
18765 { ac_try='test -z "$ac_cxx_werror_flag"
18766 || test ! -s conftest.err'
18767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18768 (eval $ac_try) 2>&5
18769 ac_status=$?
18770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18771 (exit $ac_status); }; } &&
18772 { ac_try='test -s conftest.$ac_objext'
18773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18774 (eval $ac_try) 2>&5
18775 ac_status=$?
18776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18777 (exit $ac_status); }; }; then
18778 glibcxx_cv_func__finitef_use=yes
18779 else
18780 echo "$as_me: failed program was:" >&5
18781 sed 's/^/| /' conftest.$ac_ext >&5
18783 glibcxx_cv_func__finitef_use=no
18785 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18786 ac_ext=c
18787 ac_cpp='$CPP $CPPFLAGS'
18788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18796 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
18797 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
18799 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
18801 for ac_func in _finitef
18803 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18804 echo "$as_me:$LINENO: checking for $ac_func" >&5
18805 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18806 if eval "test \"\${$as_ac_var+set}\" = set"; then
18807 echo $ECHO_N "(cached) $ECHO_C" >&6
18808 else
18809 if test x$gcc_no_link = xyes; then
18810 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18811 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18812 { (exit 1); exit 1; }; }
18814 cat >conftest.$ac_ext <<_ACEOF
18815 /* confdefs.h. */
18816 _ACEOF
18817 cat confdefs.h >>conftest.$ac_ext
18818 cat >>conftest.$ac_ext <<_ACEOF
18819 /* end confdefs.h. */
18820 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18821 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18822 #define $ac_func innocuous_$ac_func
18824 /* System header to define __stub macros and hopefully few prototypes,
18825 which can conflict with char $ac_func (); below.
18826 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18827 <limits.h> exists even on freestanding compilers. */
18829 #ifdef __STDC__
18830 # include <limits.h>
18831 #else
18832 # include <assert.h>
18833 #endif
18835 #undef $ac_func
18837 /* Override any gcc2 internal prototype to avoid an error. */
18838 #ifdef __cplusplus
18839 extern "C"
18841 #endif
18842 /* We use char because int might match the return type of a gcc2
18843 builtin and then its argument prototype would still apply. */
18844 char $ac_func ();
18845 /* The GNU C library defines this for functions which it implements
18846 to always fail with ENOSYS. Some functions are actually named
18847 something starting with __ and the normal name is an alias. */
18848 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18849 choke me
18850 #else
18851 char (*f) () = $ac_func;
18852 #endif
18853 #ifdef __cplusplus
18855 #endif
18858 main ()
18860 return f != $ac_func;
18862 return 0;
18864 _ACEOF
18865 rm -f conftest.$ac_objext conftest$ac_exeext
18866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18867 (eval $ac_link) 2>conftest.er1
18868 ac_status=$?
18869 grep -v '^ *+' conftest.er1 >conftest.err
18870 rm -f conftest.er1
18871 cat conftest.err >&5
18872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18873 (exit $ac_status); } &&
18874 { ac_try='test -z "$ac_c_werror_flag"
18875 || test ! -s conftest.err'
18876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18877 (eval $ac_try) 2>&5
18878 ac_status=$?
18879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18880 (exit $ac_status); }; } &&
18881 { ac_try='test -s conftest$ac_exeext'
18882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18883 (eval $ac_try) 2>&5
18884 ac_status=$?
18885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18886 (exit $ac_status); }; }; then
18887 eval "$as_ac_var=yes"
18888 else
18889 echo "$as_me: failed program was:" >&5
18890 sed 's/^/| /' conftest.$ac_ext >&5
18892 eval "$as_ac_var=no"
18894 rm -f conftest.err conftest.$ac_objext \
18895 conftest$ac_exeext conftest.$ac_ext
18897 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18898 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18899 if test `eval echo '${'$as_ac_var'}'` = yes; then
18900 cat >>confdefs.h <<_ACEOF
18901 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18902 _ACEOF
18905 done
18915 echo "$as_me:$LINENO: checking for long double trig functions" >&5
18916 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
18917 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
18918 echo $ECHO_N "(cached) $ECHO_C" >&6
18919 else
18923 ac_ext=cc
18924 ac_cpp='$CXXCPP $CPPFLAGS'
18925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18929 cat >conftest.$ac_ext <<_ACEOF
18930 /* confdefs.h. */
18931 _ACEOF
18932 cat confdefs.h >>conftest.$ac_ext
18933 cat >>conftest.$ac_ext <<_ACEOF
18934 /* end confdefs.h. */
18935 #include <math.h>
18937 main ()
18939 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
18941 return 0;
18943 _ACEOF
18944 rm -f conftest.$ac_objext
18945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18946 (eval $ac_compile) 2>conftest.er1
18947 ac_status=$?
18948 grep -v '^ *+' conftest.er1 >conftest.err
18949 rm -f conftest.er1
18950 cat conftest.err >&5
18951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18952 (exit $ac_status); } &&
18953 { ac_try='test -z "$ac_cxx_werror_flag"
18954 || test ! -s conftest.err'
18955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18956 (eval $ac_try) 2>&5
18957 ac_status=$?
18958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18959 (exit $ac_status); }; } &&
18960 { ac_try='test -s conftest.$ac_objext'
18961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18962 (eval $ac_try) 2>&5
18963 ac_status=$?
18964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18965 (exit $ac_status); }; }; then
18966 glibcxx_cv_func_long_double_trig_use=yes
18967 else
18968 echo "$as_me: failed program was:" >&5
18969 sed 's/^/| /' conftest.$ac_ext >&5
18971 glibcxx_cv_func_long_double_trig_use=no
18973 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18974 ac_ext=c
18975 ac_cpp='$CPP $CPPFLAGS'
18976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18982 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
18983 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
18984 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
18994 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
18996 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18997 echo "$as_me:$LINENO: checking for $ac_func" >&5
18998 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18999 if eval "test \"\${$as_ac_var+set}\" = set"; then
19000 echo $ECHO_N "(cached) $ECHO_C" >&6
19001 else
19002 if test x$gcc_no_link = xyes; then
19003 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19004 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19005 { (exit 1); exit 1; }; }
19007 cat >conftest.$ac_ext <<_ACEOF
19008 /* confdefs.h. */
19009 _ACEOF
19010 cat confdefs.h >>conftest.$ac_ext
19011 cat >>conftest.$ac_ext <<_ACEOF
19012 /* end confdefs.h. */
19013 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19014 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19015 #define $ac_func innocuous_$ac_func
19017 /* System header to define __stub macros and hopefully few prototypes,
19018 which can conflict with char $ac_func (); below.
19019 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19020 <limits.h> exists even on freestanding compilers. */
19022 #ifdef __STDC__
19023 # include <limits.h>
19024 #else
19025 # include <assert.h>
19026 #endif
19028 #undef $ac_func
19030 /* Override any gcc2 internal prototype to avoid an error. */
19031 #ifdef __cplusplus
19032 extern "C"
19034 #endif
19035 /* We use char because int might match the return type of a gcc2
19036 builtin and then its argument prototype would still apply. */
19037 char $ac_func ();
19038 /* The GNU C library defines this for functions which it implements
19039 to always fail with ENOSYS. Some functions are actually named
19040 something starting with __ and the normal name is an alias. */
19041 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19042 choke me
19043 #else
19044 char (*f) () = $ac_func;
19045 #endif
19046 #ifdef __cplusplus
19048 #endif
19051 main ()
19053 return f != $ac_func;
19055 return 0;
19057 _ACEOF
19058 rm -f conftest.$ac_objext conftest$ac_exeext
19059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19060 (eval $ac_link) 2>conftest.er1
19061 ac_status=$?
19062 grep -v '^ *+' conftest.er1 >conftest.err
19063 rm -f conftest.er1
19064 cat conftest.err >&5
19065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19066 (exit $ac_status); } &&
19067 { ac_try='test -z "$ac_c_werror_flag"
19068 || test ! -s conftest.err'
19069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19070 (eval $ac_try) 2>&5
19071 ac_status=$?
19072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19073 (exit $ac_status); }; } &&
19074 { ac_try='test -s conftest$ac_exeext'
19075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19076 (eval $ac_try) 2>&5
19077 ac_status=$?
19078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19079 (exit $ac_status); }; }; then
19080 eval "$as_ac_var=yes"
19081 else
19082 echo "$as_me: failed program was:" >&5
19083 sed 's/^/| /' conftest.$ac_ext >&5
19085 eval "$as_ac_var=no"
19087 rm -f conftest.err conftest.$ac_objext \
19088 conftest$ac_exeext conftest.$ac_ext
19090 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19091 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19092 if test `eval echo '${'$as_ac_var'}'` = yes; then
19093 cat >>confdefs.h <<_ACEOF
19094 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19095 _ACEOF
19098 done
19100 else
19101 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
19102 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
19103 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
19104 echo $ECHO_N "(cached) $ECHO_C" >&6
19105 else
19109 ac_ext=cc
19110 ac_cpp='$CXXCPP $CPPFLAGS'
19111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19115 cat >conftest.$ac_ext <<_ACEOF
19116 /* confdefs.h. */
19117 _ACEOF
19118 cat confdefs.h >>conftest.$ac_ext
19119 cat >>conftest.$ac_ext <<_ACEOF
19120 /* end confdefs.h. */
19121 #include <math.h>
19123 main ()
19125 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
19127 return 0;
19129 _ACEOF
19130 rm -f conftest.$ac_objext
19131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19132 (eval $ac_compile) 2>conftest.er1
19133 ac_status=$?
19134 grep -v '^ *+' conftest.er1 >conftest.err
19135 rm -f conftest.er1
19136 cat conftest.err >&5
19137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19138 (exit $ac_status); } &&
19139 { ac_try='test -z "$ac_cxx_werror_flag"
19140 || test ! -s conftest.err'
19141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19142 (eval $ac_try) 2>&5
19143 ac_status=$?
19144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19145 (exit $ac_status); }; } &&
19146 { ac_try='test -s conftest.$ac_objext'
19147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19148 (eval $ac_try) 2>&5
19149 ac_status=$?
19150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19151 (exit $ac_status); }; }; then
19152 glibcxx_cv_func__long_double_trig_use=yes
19153 else
19154 echo "$as_me: failed program was:" >&5
19155 sed 's/^/| /' conftest.$ac_ext >&5
19157 glibcxx_cv_func__long_double_trig_use=no
19159 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19160 ac_ext=c
19161 ac_cpp='$CPP $CPPFLAGS'
19162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19168 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
19169 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
19170 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
19180 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
19182 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19183 echo "$as_me:$LINENO: checking for $ac_func" >&5
19184 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19185 if eval "test \"\${$as_ac_var+set}\" = set"; then
19186 echo $ECHO_N "(cached) $ECHO_C" >&6
19187 else
19188 if test x$gcc_no_link = xyes; then
19189 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19190 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19191 { (exit 1); exit 1; }; }
19193 cat >conftest.$ac_ext <<_ACEOF
19194 /* confdefs.h. */
19195 _ACEOF
19196 cat confdefs.h >>conftest.$ac_ext
19197 cat >>conftest.$ac_ext <<_ACEOF
19198 /* end confdefs.h. */
19199 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19200 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19201 #define $ac_func innocuous_$ac_func
19203 /* System header to define __stub macros and hopefully few prototypes,
19204 which can conflict with char $ac_func (); below.
19205 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19206 <limits.h> exists even on freestanding compilers. */
19208 #ifdef __STDC__
19209 # include <limits.h>
19210 #else
19211 # include <assert.h>
19212 #endif
19214 #undef $ac_func
19216 /* Override any gcc2 internal prototype to avoid an error. */
19217 #ifdef __cplusplus
19218 extern "C"
19220 #endif
19221 /* We use char because int might match the return type of a gcc2
19222 builtin and then its argument prototype would still apply. */
19223 char $ac_func ();
19224 /* The GNU C library defines this for functions which it implements
19225 to always fail with ENOSYS. Some functions are actually named
19226 something starting with __ and the normal name is an alias. */
19227 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19228 choke me
19229 #else
19230 char (*f) () = $ac_func;
19231 #endif
19232 #ifdef __cplusplus
19234 #endif
19237 main ()
19239 return f != $ac_func;
19241 return 0;
19243 _ACEOF
19244 rm -f conftest.$ac_objext conftest$ac_exeext
19245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19246 (eval $ac_link) 2>conftest.er1
19247 ac_status=$?
19248 grep -v '^ *+' conftest.er1 >conftest.err
19249 rm -f conftest.er1
19250 cat conftest.err >&5
19251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19252 (exit $ac_status); } &&
19253 { ac_try='test -z "$ac_c_werror_flag"
19254 || test ! -s conftest.err'
19255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19256 (eval $ac_try) 2>&5
19257 ac_status=$?
19258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19259 (exit $ac_status); }; } &&
19260 { ac_try='test -s conftest$ac_exeext'
19261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19262 (eval $ac_try) 2>&5
19263 ac_status=$?
19264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19265 (exit $ac_status); }; }; then
19266 eval "$as_ac_var=yes"
19267 else
19268 echo "$as_me: failed program was:" >&5
19269 sed 's/^/| /' conftest.$ac_ext >&5
19271 eval "$as_ac_var=no"
19273 rm -f conftest.err conftest.$ac_objext \
19274 conftest$ac_exeext conftest.$ac_ext
19276 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19277 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19278 if test `eval echo '${'$as_ac_var'}'` = yes; then
19279 cat >>confdefs.h <<_ACEOF
19280 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19281 _ACEOF
19284 done
19302 echo "$as_me:$LINENO: checking for long double round functions" >&5
19303 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
19304 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
19305 echo $ECHO_N "(cached) $ECHO_C" >&6
19306 else
19310 ac_ext=cc
19311 ac_cpp='$CXXCPP $CPPFLAGS'
19312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19316 cat >conftest.$ac_ext <<_ACEOF
19317 /* confdefs.h. */
19318 _ACEOF
19319 cat confdefs.h >>conftest.$ac_ext
19320 cat >>conftest.$ac_ext <<_ACEOF
19321 /* end confdefs.h. */
19322 #include <math.h>
19324 main ()
19326 ceill (0); floorl (0);
19328 return 0;
19330 _ACEOF
19331 rm -f conftest.$ac_objext
19332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19333 (eval $ac_compile) 2>conftest.er1
19334 ac_status=$?
19335 grep -v '^ *+' conftest.er1 >conftest.err
19336 rm -f conftest.er1
19337 cat conftest.err >&5
19338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19339 (exit $ac_status); } &&
19340 { ac_try='test -z "$ac_cxx_werror_flag"
19341 || test ! -s conftest.err'
19342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19343 (eval $ac_try) 2>&5
19344 ac_status=$?
19345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19346 (exit $ac_status); }; } &&
19347 { ac_try='test -s conftest.$ac_objext'
19348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19349 (eval $ac_try) 2>&5
19350 ac_status=$?
19351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19352 (exit $ac_status); }; }; then
19353 glibcxx_cv_func_long_double_round_use=yes
19354 else
19355 echo "$as_me: failed program was:" >&5
19356 sed 's/^/| /' conftest.$ac_ext >&5
19358 glibcxx_cv_func_long_double_round_use=no
19360 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19361 ac_ext=c
19362 ac_cpp='$CPP $CPPFLAGS'
19363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19369 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
19370 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
19371 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
19374 for ac_func in ceill floorl
19376 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19377 echo "$as_me:$LINENO: checking for $ac_func" >&5
19378 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19379 if eval "test \"\${$as_ac_var+set}\" = set"; then
19380 echo $ECHO_N "(cached) $ECHO_C" >&6
19381 else
19382 if test x$gcc_no_link = xyes; then
19383 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19384 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19385 { (exit 1); exit 1; }; }
19387 cat >conftest.$ac_ext <<_ACEOF
19388 /* confdefs.h. */
19389 _ACEOF
19390 cat confdefs.h >>conftest.$ac_ext
19391 cat >>conftest.$ac_ext <<_ACEOF
19392 /* end confdefs.h. */
19393 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19394 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19395 #define $ac_func innocuous_$ac_func
19397 /* System header to define __stub macros and hopefully few prototypes,
19398 which can conflict with char $ac_func (); below.
19399 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19400 <limits.h> exists even on freestanding compilers. */
19402 #ifdef __STDC__
19403 # include <limits.h>
19404 #else
19405 # include <assert.h>
19406 #endif
19408 #undef $ac_func
19410 /* Override any gcc2 internal prototype to avoid an error. */
19411 #ifdef __cplusplus
19412 extern "C"
19414 #endif
19415 /* We use char because int might match the return type of a gcc2
19416 builtin and then its argument prototype would still apply. */
19417 char $ac_func ();
19418 /* The GNU C library defines this for functions which it implements
19419 to always fail with ENOSYS. Some functions are actually named
19420 something starting with __ and the normal name is an alias. */
19421 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19422 choke me
19423 #else
19424 char (*f) () = $ac_func;
19425 #endif
19426 #ifdef __cplusplus
19428 #endif
19431 main ()
19433 return f != $ac_func;
19435 return 0;
19437 _ACEOF
19438 rm -f conftest.$ac_objext conftest$ac_exeext
19439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19440 (eval $ac_link) 2>conftest.er1
19441 ac_status=$?
19442 grep -v '^ *+' conftest.er1 >conftest.err
19443 rm -f conftest.er1
19444 cat conftest.err >&5
19445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19446 (exit $ac_status); } &&
19447 { ac_try='test -z "$ac_c_werror_flag"
19448 || test ! -s conftest.err'
19449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19450 (eval $ac_try) 2>&5
19451 ac_status=$?
19452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19453 (exit $ac_status); }; } &&
19454 { ac_try='test -s conftest$ac_exeext'
19455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19456 (eval $ac_try) 2>&5
19457 ac_status=$?
19458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19459 (exit $ac_status); }; }; then
19460 eval "$as_ac_var=yes"
19461 else
19462 echo "$as_me: failed program was:" >&5
19463 sed 's/^/| /' conftest.$ac_ext >&5
19465 eval "$as_ac_var=no"
19467 rm -f conftest.err conftest.$ac_objext \
19468 conftest$ac_exeext conftest.$ac_ext
19470 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19471 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19472 if test `eval echo '${'$as_ac_var'}'` = yes; then
19473 cat >>confdefs.h <<_ACEOF
19474 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19475 _ACEOF
19478 done
19480 else
19481 echo "$as_me:$LINENO: checking for _long double round functions" >&5
19482 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
19483 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
19484 echo $ECHO_N "(cached) $ECHO_C" >&6
19485 else
19489 ac_ext=cc
19490 ac_cpp='$CXXCPP $CPPFLAGS'
19491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19495 cat >conftest.$ac_ext <<_ACEOF
19496 /* confdefs.h. */
19497 _ACEOF
19498 cat confdefs.h >>conftest.$ac_ext
19499 cat >>conftest.$ac_ext <<_ACEOF
19500 /* end confdefs.h. */
19501 #include <math.h>
19503 main ()
19505 _ceill (0); _floorl (0);
19507 return 0;
19509 _ACEOF
19510 rm -f conftest.$ac_objext
19511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19512 (eval $ac_compile) 2>conftest.er1
19513 ac_status=$?
19514 grep -v '^ *+' conftest.er1 >conftest.err
19515 rm -f conftest.er1
19516 cat conftest.err >&5
19517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19518 (exit $ac_status); } &&
19519 { ac_try='test -z "$ac_cxx_werror_flag"
19520 || test ! -s conftest.err'
19521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19522 (eval $ac_try) 2>&5
19523 ac_status=$?
19524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19525 (exit $ac_status); }; } &&
19526 { ac_try='test -s conftest.$ac_objext'
19527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19528 (eval $ac_try) 2>&5
19529 ac_status=$?
19530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19531 (exit $ac_status); }; }; then
19532 glibcxx_cv_func__long_double_round_use=yes
19533 else
19534 echo "$as_me: failed program was:" >&5
19535 sed 's/^/| /' conftest.$ac_ext >&5
19537 glibcxx_cv_func__long_double_round_use=no
19539 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19540 ac_ext=c
19541 ac_cpp='$CPP $CPPFLAGS'
19542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19548 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
19549 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
19550 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
19553 for ac_func in _ceill _floorl
19555 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19556 echo "$as_me:$LINENO: checking for $ac_func" >&5
19557 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19558 if eval "test \"\${$as_ac_var+set}\" = set"; then
19559 echo $ECHO_N "(cached) $ECHO_C" >&6
19560 else
19561 if test x$gcc_no_link = xyes; then
19562 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19563 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19564 { (exit 1); exit 1; }; }
19566 cat >conftest.$ac_ext <<_ACEOF
19567 /* confdefs.h. */
19568 _ACEOF
19569 cat confdefs.h >>conftest.$ac_ext
19570 cat >>conftest.$ac_ext <<_ACEOF
19571 /* end confdefs.h. */
19572 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19573 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19574 #define $ac_func innocuous_$ac_func
19576 /* System header to define __stub macros and hopefully few prototypes,
19577 which can conflict with char $ac_func (); below.
19578 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19579 <limits.h> exists even on freestanding compilers. */
19581 #ifdef __STDC__
19582 # include <limits.h>
19583 #else
19584 # include <assert.h>
19585 #endif
19587 #undef $ac_func
19589 /* Override any gcc2 internal prototype to avoid an error. */
19590 #ifdef __cplusplus
19591 extern "C"
19593 #endif
19594 /* We use char because int might match the return type of a gcc2
19595 builtin and then its argument prototype would still apply. */
19596 char $ac_func ();
19597 /* The GNU C library defines this for functions which it implements
19598 to always fail with ENOSYS. Some functions are actually named
19599 something starting with __ and the normal name is an alias. */
19600 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19601 choke me
19602 #else
19603 char (*f) () = $ac_func;
19604 #endif
19605 #ifdef __cplusplus
19607 #endif
19610 main ()
19612 return f != $ac_func;
19614 return 0;
19616 _ACEOF
19617 rm -f conftest.$ac_objext conftest$ac_exeext
19618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19619 (eval $ac_link) 2>conftest.er1
19620 ac_status=$?
19621 grep -v '^ *+' conftest.er1 >conftest.err
19622 rm -f conftest.er1
19623 cat conftest.err >&5
19624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19625 (exit $ac_status); } &&
19626 { ac_try='test -z "$ac_c_werror_flag"
19627 || test ! -s conftest.err'
19628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19629 (eval $ac_try) 2>&5
19630 ac_status=$?
19631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19632 (exit $ac_status); }; } &&
19633 { ac_try='test -s conftest$ac_exeext'
19634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19635 (eval $ac_try) 2>&5
19636 ac_status=$?
19637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19638 (exit $ac_status); }; }; then
19639 eval "$as_ac_var=yes"
19640 else
19641 echo "$as_me: failed program was:" >&5
19642 sed 's/^/| /' conftest.$ac_ext >&5
19644 eval "$as_ac_var=no"
19646 rm -f conftest.err conftest.$ac_objext \
19647 conftest$ac_exeext conftest.$ac_ext
19649 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19650 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19651 if test `eval echo '${'$as_ac_var'}'` = yes; then
19652 cat >>confdefs.h <<_ACEOF
19653 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19654 _ACEOF
19657 done
19669 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
19670 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
19671 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
19672 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
19673 echo $ECHO_N "(cached) $ECHO_C" >&6
19674 else
19678 ac_ext=cc
19679 ac_cpp='$CXXCPP $CPPFLAGS'
19680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19684 cat >conftest.$ac_ext <<_ACEOF
19685 /* confdefs.h. */
19686 _ACEOF
19687 cat confdefs.h >>conftest.$ac_ext
19688 cat >>conftest.$ac_ext <<_ACEOF
19689 /* end confdefs.h. */
19690 #include <math.h>
19691 #ifdef HAVE_IEEEFP_H
19692 #include <ieeefp.h>
19693 #endif
19696 main ()
19698 isnanl(0);
19700 return 0;
19702 _ACEOF
19703 rm -f conftest.$ac_objext
19704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19705 (eval $ac_compile) 2>conftest.er1
19706 ac_status=$?
19707 grep -v '^ *+' conftest.er1 >conftest.err
19708 rm -f conftest.er1
19709 cat conftest.err >&5
19710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19711 (exit $ac_status); } &&
19712 { ac_try='test -z "$ac_cxx_werror_flag"
19713 || test ! -s conftest.err'
19714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19715 (eval $ac_try) 2>&5
19716 ac_status=$?
19717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19718 (exit $ac_status); }; } &&
19719 { ac_try='test -s conftest.$ac_objext'
19720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19721 (eval $ac_try) 2>&5
19722 ac_status=$?
19723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19724 (exit $ac_status); }; }; then
19725 glibcxx_cv_func_isnanl_use=yes
19726 else
19727 echo "$as_me: failed program was:" >&5
19728 sed 's/^/| /' conftest.$ac_ext >&5
19730 glibcxx_cv_func_isnanl_use=no
19732 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19733 ac_ext=c
19734 ac_cpp='$CPP $CPPFLAGS'
19735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19743 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
19744 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
19746 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
19748 for ac_func in isnanl
19750 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19751 echo "$as_me:$LINENO: checking for $ac_func" >&5
19752 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19753 if eval "test \"\${$as_ac_var+set}\" = set"; then
19754 echo $ECHO_N "(cached) $ECHO_C" >&6
19755 else
19756 if test x$gcc_no_link = xyes; then
19757 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19758 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19759 { (exit 1); exit 1; }; }
19761 cat >conftest.$ac_ext <<_ACEOF
19762 /* confdefs.h. */
19763 _ACEOF
19764 cat confdefs.h >>conftest.$ac_ext
19765 cat >>conftest.$ac_ext <<_ACEOF
19766 /* end confdefs.h. */
19767 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19768 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19769 #define $ac_func innocuous_$ac_func
19771 /* System header to define __stub macros and hopefully few prototypes,
19772 which can conflict with char $ac_func (); below.
19773 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19774 <limits.h> exists even on freestanding compilers. */
19776 #ifdef __STDC__
19777 # include <limits.h>
19778 #else
19779 # include <assert.h>
19780 #endif
19782 #undef $ac_func
19784 /* Override any gcc2 internal prototype to avoid an error. */
19785 #ifdef __cplusplus
19786 extern "C"
19788 #endif
19789 /* We use char because int might match the return type of a gcc2
19790 builtin and then its argument prototype would still apply. */
19791 char $ac_func ();
19792 /* The GNU C library defines this for functions which it implements
19793 to always fail with ENOSYS. Some functions are actually named
19794 something starting with __ and the normal name is an alias. */
19795 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19796 choke me
19797 #else
19798 char (*f) () = $ac_func;
19799 #endif
19800 #ifdef __cplusplus
19802 #endif
19805 main ()
19807 return f != $ac_func;
19809 return 0;
19811 _ACEOF
19812 rm -f conftest.$ac_objext conftest$ac_exeext
19813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19814 (eval $ac_link) 2>conftest.er1
19815 ac_status=$?
19816 grep -v '^ *+' conftest.er1 >conftest.err
19817 rm -f conftest.er1
19818 cat conftest.err >&5
19819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19820 (exit $ac_status); } &&
19821 { ac_try='test -z "$ac_c_werror_flag"
19822 || test ! -s conftest.err'
19823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19824 (eval $ac_try) 2>&5
19825 ac_status=$?
19826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19827 (exit $ac_status); }; } &&
19828 { ac_try='test -s conftest$ac_exeext'
19829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19830 (eval $ac_try) 2>&5
19831 ac_status=$?
19832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19833 (exit $ac_status); }; }; then
19834 eval "$as_ac_var=yes"
19835 else
19836 echo "$as_me: failed program was:" >&5
19837 sed 's/^/| /' conftest.$ac_ext >&5
19839 eval "$as_ac_var=no"
19841 rm -f conftest.err conftest.$ac_objext \
19842 conftest$ac_exeext conftest.$ac_ext
19844 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19845 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19846 if test `eval echo '${'$as_ac_var'}'` = yes; then
19847 cat >>confdefs.h <<_ACEOF
19848 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19849 _ACEOF
19852 done
19854 else
19856 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
19857 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
19858 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
19859 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
19860 echo $ECHO_N "(cached) $ECHO_C" >&6
19861 else
19865 ac_ext=cc
19866 ac_cpp='$CXXCPP $CPPFLAGS'
19867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19871 cat >conftest.$ac_ext <<_ACEOF
19872 /* confdefs.h. */
19873 _ACEOF
19874 cat confdefs.h >>conftest.$ac_ext
19875 cat >>conftest.$ac_ext <<_ACEOF
19876 /* end confdefs.h. */
19877 #include <math.h>
19878 #ifdef HAVE_IEEEFP_H
19879 #include <ieeefp.h>
19880 #endif
19883 main ()
19885 _isnanl(0);
19887 return 0;
19889 _ACEOF
19890 rm -f conftest.$ac_objext
19891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19892 (eval $ac_compile) 2>conftest.er1
19893 ac_status=$?
19894 grep -v '^ *+' conftest.er1 >conftest.err
19895 rm -f conftest.er1
19896 cat conftest.err >&5
19897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19898 (exit $ac_status); } &&
19899 { ac_try='test -z "$ac_cxx_werror_flag"
19900 || test ! -s conftest.err'
19901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19902 (eval $ac_try) 2>&5
19903 ac_status=$?
19904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19905 (exit $ac_status); }; } &&
19906 { ac_try='test -s conftest.$ac_objext'
19907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19908 (eval $ac_try) 2>&5
19909 ac_status=$?
19910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19911 (exit $ac_status); }; }; then
19912 glibcxx_cv_func__isnanl_use=yes
19913 else
19914 echo "$as_me: failed program was:" >&5
19915 sed 's/^/| /' conftest.$ac_ext >&5
19917 glibcxx_cv_func__isnanl_use=no
19919 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19920 ac_ext=c
19921 ac_cpp='$CPP $CPPFLAGS'
19922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19930 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
19931 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
19933 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
19935 for ac_func in _isnanl
19937 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19938 echo "$as_me:$LINENO: checking for $ac_func" >&5
19939 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19940 if eval "test \"\${$as_ac_var+set}\" = set"; then
19941 echo $ECHO_N "(cached) $ECHO_C" >&6
19942 else
19943 if test x$gcc_no_link = xyes; then
19944 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19945 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19946 { (exit 1); exit 1; }; }
19948 cat >conftest.$ac_ext <<_ACEOF
19949 /* confdefs.h. */
19950 _ACEOF
19951 cat confdefs.h >>conftest.$ac_ext
19952 cat >>conftest.$ac_ext <<_ACEOF
19953 /* end confdefs.h. */
19954 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19955 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19956 #define $ac_func innocuous_$ac_func
19958 /* System header to define __stub macros and hopefully few prototypes,
19959 which can conflict with char $ac_func (); below.
19960 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19961 <limits.h> exists even on freestanding compilers. */
19963 #ifdef __STDC__
19964 # include <limits.h>
19965 #else
19966 # include <assert.h>
19967 #endif
19969 #undef $ac_func
19971 /* Override any gcc2 internal prototype to avoid an error. */
19972 #ifdef __cplusplus
19973 extern "C"
19975 #endif
19976 /* We use char because int might match the return type of a gcc2
19977 builtin and then its argument prototype would still apply. */
19978 char $ac_func ();
19979 /* The GNU C library defines this for functions which it implements
19980 to always fail with ENOSYS. Some functions are actually named
19981 something starting with __ and the normal name is an alias. */
19982 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19983 choke me
19984 #else
19985 char (*f) () = $ac_func;
19986 #endif
19987 #ifdef __cplusplus
19989 #endif
19992 main ()
19994 return f != $ac_func;
19996 return 0;
19998 _ACEOF
19999 rm -f conftest.$ac_objext conftest$ac_exeext
20000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20001 (eval $ac_link) 2>conftest.er1
20002 ac_status=$?
20003 grep -v '^ *+' conftest.er1 >conftest.err
20004 rm -f conftest.er1
20005 cat conftest.err >&5
20006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20007 (exit $ac_status); } &&
20008 { ac_try='test -z "$ac_c_werror_flag"
20009 || test ! -s conftest.err'
20010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20011 (eval $ac_try) 2>&5
20012 ac_status=$?
20013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20014 (exit $ac_status); }; } &&
20015 { ac_try='test -s conftest$ac_exeext'
20016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20017 (eval $ac_try) 2>&5
20018 ac_status=$?
20019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20020 (exit $ac_status); }; }; then
20021 eval "$as_ac_var=yes"
20022 else
20023 echo "$as_me: failed program was:" >&5
20024 sed 's/^/| /' conftest.$ac_ext >&5
20026 eval "$as_ac_var=no"
20028 rm -f conftest.err conftest.$ac_objext \
20029 conftest$ac_exeext conftest.$ac_ext
20031 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20032 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20033 if test `eval echo '${'$as_ac_var'}'` = yes; then
20034 cat >>confdefs.h <<_ACEOF
20035 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20036 _ACEOF
20039 done
20049 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
20050 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
20051 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
20052 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
20053 echo $ECHO_N "(cached) $ECHO_C" >&6
20054 else
20058 ac_ext=cc
20059 ac_cpp='$CXXCPP $CPPFLAGS'
20060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20064 cat >conftest.$ac_ext <<_ACEOF
20065 /* confdefs.h. */
20066 _ACEOF
20067 cat confdefs.h >>conftest.$ac_ext
20068 cat >>conftest.$ac_ext <<_ACEOF
20069 /* end confdefs.h. */
20070 #include <math.h>
20071 #ifdef HAVE_IEEEFP_H
20072 #include <ieeefp.h>
20073 #endif
20076 main ()
20078 isinfl(0);
20080 return 0;
20082 _ACEOF
20083 rm -f conftest.$ac_objext
20084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20085 (eval $ac_compile) 2>conftest.er1
20086 ac_status=$?
20087 grep -v '^ *+' conftest.er1 >conftest.err
20088 rm -f conftest.er1
20089 cat conftest.err >&5
20090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20091 (exit $ac_status); } &&
20092 { ac_try='test -z "$ac_cxx_werror_flag"
20093 || test ! -s conftest.err'
20094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20095 (eval $ac_try) 2>&5
20096 ac_status=$?
20097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20098 (exit $ac_status); }; } &&
20099 { ac_try='test -s conftest.$ac_objext'
20100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20101 (eval $ac_try) 2>&5
20102 ac_status=$?
20103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20104 (exit $ac_status); }; }; then
20105 glibcxx_cv_func_isinfl_use=yes
20106 else
20107 echo "$as_me: failed program was:" >&5
20108 sed 's/^/| /' conftest.$ac_ext >&5
20110 glibcxx_cv_func_isinfl_use=no
20112 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20113 ac_ext=c
20114 ac_cpp='$CPP $CPPFLAGS'
20115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20123 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
20124 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
20126 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
20128 for ac_func in isinfl
20130 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20131 echo "$as_me:$LINENO: checking for $ac_func" >&5
20132 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20133 if eval "test \"\${$as_ac_var+set}\" = set"; then
20134 echo $ECHO_N "(cached) $ECHO_C" >&6
20135 else
20136 if test x$gcc_no_link = xyes; then
20137 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20138 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20139 { (exit 1); exit 1; }; }
20141 cat >conftest.$ac_ext <<_ACEOF
20142 /* confdefs.h. */
20143 _ACEOF
20144 cat confdefs.h >>conftest.$ac_ext
20145 cat >>conftest.$ac_ext <<_ACEOF
20146 /* end confdefs.h. */
20147 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20148 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20149 #define $ac_func innocuous_$ac_func
20151 /* System header to define __stub macros and hopefully few prototypes,
20152 which can conflict with char $ac_func (); below.
20153 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20154 <limits.h> exists even on freestanding compilers. */
20156 #ifdef __STDC__
20157 # include <limits.h>
20158 #else
20159 # include <assert.h>
20160 #endif
20162 #undef $ac_func
20164 /* Override any gcc2 internal prototype to avoid an error. */
20165 #ifdef __cplusplus
20166 extern "C"
20168 #endif
20169 /* We use char because int might match the return type of a gcc2
20170 builtin and then its argument prototype would still apply. */
20171 char $ac_func ();
20172 /* The GNU C library defines this for functions which it implements
20173 to always fail with ENOSYS. Some functions are actually named
20174 something starting with __ and the normal name is an alias. */
20175 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20176 choke me
20177 #else
20178 char (*f) () = $ac_func;
20179 #endif
20180 #ifdef __cplusplus
20182 #endif
20185 main ()
20187 return f != $ac_func;
20189 return 0;
20191 _ACEOF
20192 rm -f conftest.$ac_objext conftest$ac_exeext
20193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20194 (eval $ac_link) 2>conftest.er1
20195 ac_status=$?
20196 grep -v '^ *+' conftest.er1 >conftest.err
20197 rm -f conftest.er1
20198 cat conftest.err >&5
20199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20200 (exit $ac_status); } &&
20201 { ac_try='test -z "$ac_c_werror_flag"
20202 || test ! -s conftest.err'
20203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20204 (eval $ac_try) 2>&5
20205 ac_status=$?
20206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20207 (exit $ac_status); }; } &&
20208 { ac_try='test -s conftest$ac_exeext'
20209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20210 (eval $ac_try) 2>&5
20211 ac_status=$?
20212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20213 (exit $ac_status); }; }; then
20214 eval "$as_ac_var=yes"
20215 else
20216 echo "$as_me: failed program was:" >&5
20217 sed 's/^/| /' conftest.$ac_ext >&5
20219 eval "$as_ac_var=no"
20221 rm -f conftest.err conftest.$ac_objext \
20222 conftest$ac_exeext conftest.$ac_ext
20224 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20225 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20226 if test `eval echo '${'$as_ac_var'}'` = yes; then
20227 cat >>confdefs.h <<_ACEOF
20228 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20229 _ACEOF
20232 done
20234 else
20236 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
20237 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
20238 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
20239 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
20240 echo $ECHO_N "(cached) $ECHO_C" >&6
20241 else
20245 ac_ext=cc
20246 ac_cpp='$CXXCPP $CPPFLAGS'
20247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20251 cat >conftest.$ac_ext <<_ACEOF
20252 /* confdefs.h. */
20253 _ACEOF
20254 cat confdefs.h >>conftest.$ac_ext
20255 cat >>conftest.$ac_ext <<_ACEOF
20256 /* end confdefs.h. */
20257 #include <math.h>
20258 #ifdef HAVE_IEEEFP_H
20259 #include <ieeefp.h>
20260 #endif
20263 main ()
20265 _isinfl(0);
20267 return 0;
20269 _ACEOF
20270 rm -f conftest.$ac_objext
20271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20272 (eval $ac_compile) 2>conftest.er1
20273 ac_status=$?
20274 grep -v '^ *+' conftest.er1 >conftest.err
20275 rm -f conftest.er1
20276 cat conftest.err >&5
20277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20278 (exit $ac_status); } &&
20279 { ac_try='test -z "$ac_cxx_werror_flag"
20280 || test ! -s conftest.err'
20281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20282 (eval $ac_try) 2>&5
20283 ac_status=$?
20284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20285 (exit $ac_status); }; } &&
20286 { ac_try='test -s conftest.$ac_objext'
20287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20288 (eval $ac_try) 2>&5
20289 ac_status=$?
20290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20291 (exit $ac_status); }; }; then
20292 glibcxx_cv_func__isinfl_use=yes
20293 else
20294 echo "$as_me: failed program was:" >&5
20295 sed 's/^/| /' conftest.$ac_ext >&5
20297 glibcxx_cv_func__isinfl_use=no
20299 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20300 ac_ext=c
20301 ac_cpp='$CPP $CPPFLAGS'
20302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20310 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
20311 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
20313 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
20315 for ac_func in _isinfl
20317 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20318 echo "$as_me:$LINENO: checking for $ac_func" >&5
20319 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20320 if eval "test \"\${$as_ac_var+set}\" = set"; then
20321 echo $ECHO_N "(cached) $ECHO_C" >&6
20322 else
20323 if test x$gcc_no_link = xyes; then
20324 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20325 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20326 { (exit 1); exit 1; }; }
20328 cat >conftest.$ac_ext <<_ACEOF
20329 /* confdefs.h. */
20330 _ACEOF
20331 cat confdefs.h >>conftest.$ac_ext
20332 cat >>conftest.$ac_ext <<_ACEOF
20333 /* end confdefs.h. */
20334 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20335 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20336 #define $ac_func innocuous_$ac_func
20338 /* System header to define __stub macros and hopefully few prototypes,
20339 which can conflict with char $ac_func (); below.
20340 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20341 <limits.h> exists even on freestanding compilers. */
20343 #ifdef __STDC__
20344 # include <limits.h>
20345 #else
20346 # include <assert.h>
20347 #endif
20349 #undef $ac_func
20351 /* Override any gcc2 internal prototype to avoid an error. */
20352 #ifdef __cplusplus
20353 extern "C"
20355 #endif
20356 /* We use char because int might match the return type of a gcc2
20357 builtin and then its argument prototype would still apply. */
20358 char $ac_func ();
20359 /* The GNU C library defines this for functions which it implements
20360 to always fail with ENOSYS. Some functions are actually named
20361 something starting with __ and the normal name is an alias. */
20362 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20363 choke me
20364 #else
20365 char (*f) () = $ac_func;
20366 #endif
20367 #ifdef __cplusplus
20369 #endif
20372 main ()
20374 return f != $ac_func;
20376 return 0;
20378 _ACEOF
20379 rm -f conftest.$ac_objext conftest$ac_exeext
20380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20381 (eval $ac_link) 2>conftest.er1
20382 ac_status=$?
20383 grep -v '^ *+' conftest.er1 >conftest.err
20384 rm -f conftest.er1
20385 cat conftest.err >&5
20386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20387 (exit $ac_status); } &&
20388 { ac_try='test -z "$ac_c_werror_flag"
20389 || test ! -s conftest.err'
20390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20391 (eval $ac_try) 2>&5
20392 ac_status=$?
20393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20394 (exit $ac_status); }; } &&
20395 { ac_try='test -s conftest$ac_exeext'
20396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20397 (eval $ac_try) 2>&5
20398 ac_status=$?
20399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20400 (exit $ac_status); }; }; then
20401 eval "$as_ac_var=yes"
20402 else
20403 echo "$as_me: failed program was:" >&5
20404 sed 's/^/| /' conftest.$ac_ext >&5
20406 eval "$as_ac_var=no"
20408 rm -f conftest.err conftest.$ac_objext \
20409 conftest$ac_exeext conftest.$ac_ext
20411 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20412 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20413 if test `eval echo '${'$as_ac_var'}'` = yes; then
20414 cat >>confdefs.h <<_ACEOF
20415 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20416 _ACEOF
20419 done
20429 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
20430 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
20431 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
20432 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
20433 echo $ECHO_N "(cached) $ECHO_C" >&6
20434 else
20438 ac_ext=cc
20439 ac_cpp='$CXXCPP $CPPFLAGS'
20440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20444 cat >conftest.$ac_ext <<_ACEOF
20445 /* confdefs.h. */
20446 _ACEOF
20447 cat confdefs.h >>conftest.$ac_ext
20448 cat >>conftest.$ac_ext <<_ACEOF
20449 /* end confdefs.h. */
20450 #include <math.h>
20452 main ()
20454 copysignl(0, 0);
20456 return 0;
20458 _ACEOF
20459 rm -f conftest.$ac_objext
20460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20461 (eval $ac_compile) 2>conftest.er1
20462 ac_status=$?
20463 grep -v '^ *+' conftest.er1 >conftest.err
20464 rm -f conftest.er1
20465 cat conftest.err >&5
20466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20467 (exit $ac_status); } &&
20468 { ac_try='test -z "$ac_cxx_werror_flag"
20469 || test ! -s conftest.err'
20470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20471 (eval $ac_try) 2>&5
20472 ac_status=$?
20473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20474 (exit $ac_status); }; } &&
20475 { ac_try='test -s conftest.$ac_objext'
20476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20477 (eval $ac_try) 2>&5
20478 ac_status=$?
20479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20480 (exit $ac_status); }; }; then
20481 glibcxx_cv_func_copysignl_use=yes
20482 else
20483 echo "$as_me: failed program was:" >&5
20484 sed 's/^/| /' conftest.$ac_ext >&5
20486 glibcxx_cv_func_copysignl_use=no
20488 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20489 ac_ext=c
20490 ac_cpp='$CPP $CPPFLAGS'
20491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20499 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
20500 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
20502 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
20504 for ac_func in copysignl
20506 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20507 echo "$as_me:$LINENO: checking for $ac_func" >&5
20508 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20509 if eval "test \"\${$as_ac_var+set}\" = set"; then
20510 echo $ECHO_N "(cached) $ECHO_C" >&6
20511 else
20512 if test x$gcc_no_link = xyes; then
20513 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20514 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20515 { (exit 1); exit 1; }; }
20517 cat >conftest.$ac_ext <<_ACEOF
20518 /* confdefs.h. */
20519 _ACEOF
20520 cat confdefs.h >>conftest.$ac_ext
20521 cat >>conftest.$ac_ext <<_ACEOF
20522 /* end confdefs.h. */
20523 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20524 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20525 #define $ac_func innocuous_$ac_func
20527 /* System header to define __stub macros and hopefully few prototypes,
20528 which can conflict with char $ac_func (); below.
20529 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20530 <limits.h> exists even on freestanding compilers. */
20532 #ifdef __STDC__
20533 # include <limits.h>
20534 #else
20535 # include <assert.h>
20536 #endif
20538 #undef $ac_func
20540 /* Override any gcc2 internal prototype to avoid an error. */
20541 #ifdef __cplusplus
20542 extern "C"
20544 #endif
20545 /* We use char because int might match the return type of a gcc2
20546 builtin and then its argument prototype would still apply. */
20547 char $ac_func ();
20548 /* The GNU C library defines this for functions which it implements
20549 to always fail with ENOSYS. Some functions are actually named
20550 something starting with __ and the normal name is an alias. */
20551 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20552 choke me
20553 #else
20554 char (*f) () = $ac_func;
20555 #endif
20556 #ifdef __cplusplus
20558 #endif
20561 main ()
20563 return f != $ac_func;
20565 return 0;
20567 _ACEOF
20568 rm -f conftest.$ac_objext conftest$ac_exeext
20569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20570 (eval $ac_link) 2>conftest.er1
20571 ac_status=$?
20572 grep -v '^ *+' conftest.er1 >conftest.err
20573 rm -f conftest.er1
20574 cat conftest.err >&5
20575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20576 (exit $ac_status); } &&
20577 { ac_try='test -z "$ac_c_werror_flag"
20578 || test ! -s conftest.err'
20579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20580 (eval $ac_try) 2>&5
20581 ac_status=$?
20582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20583 (exit $ac_status); }; } &&
20584 { ac_try='test -s conftest$ac_exeext'
20585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20586 (eval $ac_try) 2>&5
20587 ac_status=$?
20588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20589 (exit $ac_status); }; }; then
20590 eval "$as_ac_var=yes"
20591 else
20592 echo "$as_me: failed program was:" >&5
20593 sed 's/^/| /' conftest.$ac_ext >&5
20595 eval "$as_ac_var=no"
20597 rm -f conftest.err conftest.$ac_objext \
20598 conftest$ac_exeext conftest.$ac_ext
20600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20601 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20602 if test `eval echo '${'$as_ac_var'}'` = yes; then
20603 cat >>confdefs.h <<_ACEOF
20604 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20605 _ACEOF
20608 done
20610 else
20612 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
20613 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
20614 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
20615 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
20616 echo $ECHO_N "(cached) $ECHO_C" >&6
20617 else
20621 ac_ext=cc
20622 ac_cpp='$CXXCPP $CPPFLAGS'
20623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20627 cat >conftest.$ac_ext <<_ACEOF
20628 /* confdefs.h. */
20629 _ACEOF
20630 cat confdefs.h >>conftest.$ac_ext
20631 cat >>conftest.$ac_ext <<_ACEOF
20632 /* end confdefs.h. */
20633 #include <math.h>
20635 main ()
20637 _copysignl(0, 0);
20639 return 0;
20641 _ACEOF
20642 rm -f conftest.$ac_objext
20643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20644 (eval $ac_compile) 2>conftest.er1
20645 ac_status=$?
20646 grep -v '^ *+' conftest.er1 >conftest.err
20647 rm -f conftest.er1
20648 cat conftest.err >&5
20649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20650 (exit $ac_status); } &&
20651 { ac_try='test -z "$ac_cxx_werror_flag"
20652 || test ! -s conftest.err'
20653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20654 (eval $ac_try) 2>&5
20655 ac_status=$?
20656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20657 (exit $ac_status); }; } &&
20658 { ac_try='test -s conftest.$ac_objext'
20659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20660 (eval $ac_try) 2>&5
20661 ac_status=$?
20662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20663 (exit $ac_status); }; }; then
20664 glibcxx_cv_func__copysignl_use=yes
20665 else
20666 echo "$as_me: failed program was:" >&5
20667 sed 's/^/| /' conftest.$ac_ext >&5
20669 glibcxx_cv_func__copysignl_use=no
20671 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20672 ac_ext=c
20673 ac_cpp='$CPP $CPPFLAGS'
20674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20682 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
20683 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
20685 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
20687 for ac_func in _copysignl
20689 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20690 echo "$as_me:$LINENO: checking for $ac_func" >&5
20691 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20692 if eval "test \"\${$as_ac_var+set}\" = set"; then
20693 echo $ECHO_N "(cached) $ECHO_C" >&6
20694 else
20695 if test x$gcc_no_link = xyes; then
20696 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20697 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20698 { (exit 1); exit 1; }; }
20700 cat >conftest.$ac_ext <<_ACEOF
20701 /* confdefs.h. */
20702 _ACEOF
20703 cat confdefs.h >>conftest.$ac_ext
20704 cat >>conftest.$ac_ext <<_ACEOF
20705 /* end confdefs.h. */
20706 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20707 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20708 #define $ac_func innocuous_$ac_func
20710 /* System header to define __stub macros and hopefully few prototypes,
20711 which can conflict with char $ac_func (); below.
20712 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20713 <limits.h> exists even on freestanding compilers. */
20715 #ifdef __STDC__
20716 # include <limits.h>
20717 #else
20718 # include <assert.h>
20719 #endif
20721 #undef $ac_func
20723 /* Override any gcc2 internal prototype to avoid an error. */
20724 #ifdef __cplusplus
20725 extern "C"
20727 #endif
20728 /* We use char because int might match the return type of a gcc2
20729 builtin and then its argument prototype would still apply. */
20730 char $ac_func ();
20731 /* The GNU C library defines this for functions which it implements
20732 to always fail with ENOSYS. Some functions are actually named
20733 something starting with __ and the normal name is an alias. */
20734 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20735 choke me
20736 #else
20737 char (*f) () = $ac_func;
20738 #endif
20739 #ifdef __cplusplus
20741 #endif
20744 main ()
20746 return f != $ac_func;
20748 return 0;
20750 _ACEOF
20751 rm -f conftest.$ac_objext conftest$ac_exeext
20752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20753 (eval $ac_link) 2>conftest.er1
20754 ac_status=$?
20755 grep -v '^ *+' conftest.er1 >conftest.err
20756 rm -f conftest.er1
20757 cat conftest.err >&5
20758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20759 (exit $ac_status); } &&
20760 { ac_try='test -z "$ac_c_werror_flag"
20761 || test ! -s conftest.err'
20762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20763 (eval $ac_try) 2>&5
20764 ac_status=$?
20765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20766 (exit $ac_status); }; } &&
20767 { ac_try='test -s conftest$ac_exeext'
20768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20769 (eval $ac_try) 2>&5
20770 ac_status=$?
20771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20772 (exit $ac_status); }; }; then
20773 eval "$as_ac_var=yes"
20774 else
20775 echo "$as_me: failed program was:" >&5
20776 sed 's/^/| /' conftest.$ac_ext >&5
20778 eval "$as_ac_var=no"
20780 rm -f conftest.err conftest.$ac_objext \
20781 conftest$ac_exeext conftest.$ac_ext
20783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20784 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20785 if test `eval echo '${'$as_ac_var'}'` = yes; then
20786 cat >>confdefs.h <<_ACEOF
20787 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20788 _ACEOF
20791 done
20801 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
20802 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
20803 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
20804 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
20805 echo $ECHO_N "(cached) $ECHO_C" >&6
20806 else
20810 ac_ext=cc
20811 ac_cpp='$CXXCPP $CPPFLAGS'
20812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20816 cat >conftest.$ac_ext <<_ACEOF
20817 /* confdefs.h. */
20818 _ACEOF
20819 cat confdefs.h >>conftest.$ac_ext
20820 cat >>conftest.$ac_ext <<_ACEOF
20821 /* end confdefs.h. */
20822 #include <math.h>
20824 main ()
20826 atan2l(0, 0);
20828 return 0;
20830 _ACEOF
20831 rm -f conftest.$ac_objext
20832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20833 (eval $ac_compile) 2>conftest.er1
20834 ac_status=$?
20835 grep -v '^ *+' conftest.er1 >conftest.err
20836 rm -f conftest.er1
20837 cat conftest.err >&5
20838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20839 (exit $ac_status); } &&
20840 { ac_try='test -z "$ac_cxx_werror_flag"
20841 || test ! -s conftest.err'
20842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20843 (eval $ac_try) 2>&5
20844 ac_status=$?
20845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20846 (exit $ac_status); }; } &&
20847 { ac_try='test -s conftest.$ac_objext'
20848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20849 (eval $ac_try) 2>&5
20850 ac_status=$?
20851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20852 (exit $ac_status); }; }; then
20853 glibcxx_cv_func_atan2l_use=yes
20854 else
20855 echo "$as_me: failed program was:" >&5
20856 sed 's/^/| /' conftest.$ac_ext >&5
20858 glibcxx_cv_func_atan2l_use=no
20860 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20861 ac_ext=c
20862 ac_cpp='$CPP $CPPFLAGS'
20863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20871 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
20872 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
20874 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
20876 for ac_func in atan2l
20878 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20879 echo "$as_me:$LINENO: checking for $ac_func" >&5
20880 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20881 if eval "test \"\${$as_ac_var+set}\" = set"; then
20882 echo $ECHO_N "(cached) $ECHO_C" >&6
20883 else
20884 if test x$gcc_no_link = xyes; then
20885 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20886 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20887 { (exit 1); exit 1; }; }
20889 cat >conftest.$ac_ext <<_ACEOF
20890 /* confdefs.h. */
20891 _ACEOF
20892 cat confdefs.h >>conftest.$ac_ext
20893 cat >>conftest.$ac_ext <<_ACEOF
20894 /* end confdefs.h. */
20895 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20896 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20897 #define $ac_func innocuous_$ac_func
20899 /* System header to define __stub macros and hopefully few prototypes,
20900 which can conflict with char $ac_func (); below.
20901 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20902 <limits.h> exists even on freestanding compilers. */
20904 #ifdef __STDC__
20905 # include <limits.h>
20906 #else
20907 # include <assert.h>
20908 #endif
20910 #undef $ac_func
20912 /* Override any gcc2 internal prototype to avoid an error. */
20913 #ifdef __cplusplus
20914 extern "C"
20916 #endif
20917 /* We use char because int might match the return type of a gcc2
20918 builtin and then its argument prototype would still apply. */
20919 char $ac_func ();
20920 /* The GNU C library defines this for functions which it implements
20921 to always fail with ENOSYS. Some functions are actually named
20922 something starting with __ and the normal name is an alias. */
20923 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20924 choke me
20925 #else
20926 char (*f) () = $ac_func;
20927 #endif
20928 #ifdef __cplusplus
20930 #endif
20933 main ()
20935 return f != $ac_func;
20937 return 0;
20939 _ACEOF
20940 rm -f conftest.$ac_objext conftest$ac_exeext
20941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20942 (eval $ac_link) 2>conftest.er1
20943 ac_status=$?
20944 grep -v '^ *+' conftest.er1 >conftest.err
20945 rm -f conftest.er1
20946 cat conftest.err >&5
20947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20948 (exit $ac_status); } &&
20949 { ac_try='test -z "$ac_c_werror_flag"
20950 || test ! -s conftest.err'
20951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20952 (eval $ac_try) 2>&5
20953 ac_status=$?
20954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20955 (exit $ac_status); }; } &&
20956 { ac_try='test -s conftest$ac_exeext'
20957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20958 (eval $ac_try) 2>&5
20959 ac_status=$?
20960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20961 (exit $ac_status); }; }; then
20962 eval "$as_ac_var=yes"
20963 else
20964 echo "$as_me: failed program was:" >&5
20965 sed 's/^/| /' conftest.$ac_ext >&5
20967 eval "$as_ac_var=no"
20969 rm -f conftest.err conftest.$ac_objext \
20970 conftest$ac_exeext conftest.$ac_ext
20972 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20973 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20974 if test `eval echo '${'$as_ac_var'}'` = yes; then
20975 cat >>confdefs.h <<_ACEOF
20976 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20977 _ACEOF
20980 done
20982 else
20984 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
20985 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
20986 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
20987 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
20988 echo $ECHO_N "(cached) $ECHO_C" >&6
20989 else
20993 ac_ext=cc
20994 ac_cpp='$CXXCPP $CPPFLAGS'
20995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20999 cat >conftest.$ac_ext <<_ACEOF
21000 /* confdefs.h. */
21001 _ACEOF
21002 cat confdefs.h >>conftest.$ac_ext
21003 cat >>conftest.$ac_ext <<_ACEOF
21004 /* end confdefs.h. */
21005 #include <math.h>
21007 main ()
21009 _atan2l(0, 0);
21011 return 0;
21013 _ACEOF
21014 rm -f conftest.$ac_objext
21015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21016 (eval $ac_compile) 2>conftest.er1
21017 ac_status=$?
21018 grep -v '^ *+' conftest.er1 >conftest.err
21019 rm -f conftest.er1
21020 cat conftest.err >&5
21021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21022 (exit $ac_status); } &&
21023 { ac_try='test -z "$ac_cxx_werror_flag"
21024 || test ! -s conftest.err'
21025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21026 (eval $ac_try) 2>&5
21027 ac_status=$?
21028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21029 (exit $ac_status); }; } &&
21030 { ac_try='test -s conftest.$ac_objext'
21031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21032 (eval $ac_try) 2>&5
21033 ac_status=$?
21034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21035 (exit $ac_status); }; }; then
21036 glibcxx_cv_func__atan2l_use=yes
21037 else
21038 echo "$as_me: failed program was:" >&5
21039 sed 's/^/| /' conftest.$ac_ext >&5
21041 glibcxx_cv_func__atan2l_use=no
21043 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21044 ac_ext=c
21045 ac_cpp='$CPP $CPPFLAGS'
21046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21054 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
21055 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
21057 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
21059 for ac_func in _atan2l
21061 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21062 echo "$as_me:$LINENO: checking for $ac_func" >&5
21063 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21064 if eval "test \"\${$as_ac_var+set}\" = set"; then
21065 echo $ECHO_N "(cached) $ECHO_C" >&6
21066 else
21067 if test x$gcc_no_link = xyes; then
21068 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21069 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21070 { (exit 1); exit 1; }; }
21072 cat >conftest.$ac_ext <<_ACEOF
21073 /* confdefs.h. */
21074 _ACEOF
21075 cat confdefs.h >>conftest.$ac_ext
21076 cat >>conftest.$ac_ext <<_ACEOF
21077 /* end confdefs.h. */
21078 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21079 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21080 #define $ac_func innocuous_$ac_func
21082 /* System header to define __stub macros and hopefully few prototypes,
21083 which can conflict with char $ac_func (); below.
21084 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21085 <limits.h> exists even on freestanding compilers. */
21087 #ifdef __STDC__
21088 # include <limits.h>
21089 #else
21090 # include <assert.h>
21091 #endif
21093 #undef $ac_func
21095 /* Override any gcc2 internal prototype to avoid an error. */
21096 #ifdef __cplusplus
21097 extern "C"
21099 #endif
21100 /* We use char because int might match the return type of a gcc2
21101 builtin and then its argument prototype would still apply. */
21102 char $ac_func ();
21103 /* The GNU C library defines this for functions which it implements
21104 to always fail with ENOSYS. Some functions are actually named
21105 something starting with __ and the normal name is an alias. */
21106 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21107 choke me
21108 #else
21109 char (*f) () = $ac_func;
21110 #endif
21111 #ifdef __cplusplus
21113 #endif
21116 main ()
21118 return f != $ac_func;
21120 return 0;
21122 _ACEOF
21123 rm -f conftest.$ac_objext conftest$ac_exeext
21124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21125 (eval $ac_link) 2>conftest.er1
21126 ac_status=$?
21127 grep -v '^ *+' conftest.er1 >conftest.err
21128 rm -f conftest.er1
21129 cat conftest.err >&5
21130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21131 (exit $ac_status); } &&
21132 { ac_try='test -z "$ac_c_werror_flag"
21133 || test ! -s conftest.err'
21134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21135 (eval $ac_try) 2>&5
21136 ac_status=$?
21137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21138 (exit $ac_status); }; } &&
21139 { ac_try='test -s conftest$ac_exeext'
21140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21141 (eval $ac_try) 2>&5
21142 ac_status=$?
21143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21144 (exit $ac_status); }; }; then
21145 eval "$as_ac_var=yes"
21146 else
21147 echo "$as_me: failed program was:" >&5
21148 sed 's/^/| /' conftest.$ac_ext >&5
21150 eval "$as_ac_var=no"
21152 rm -f conftest.err conftest.$ac_objext \
21153 conftest$ac_exeext conftest.$ac_ext
21155 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21156 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21157 if test `eval echo '${'$as_ac_var'}'` = yes; then
21158 cat >>confdefs.h <<_ACEOF
21159 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21160 _ACEOF
21163 done
21173 echo "$as_me:$LINENO: checking for expl declaration" >&5
21174 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
21175 if test x${glibcxx_cv_func_expl_use+set} != xset; then
21176 if test "${glibcxx_cv_func_expl_use+set}" = set; then
21177 echo $ECHO_N "(cached) $ECHO_C" >&6
21178 else
21182 ac_ext=cc
21183 ac_cpp='$CXXCPP $CPPFLAGS'
21184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21188 cat >conftest.$ac_ext <<_ACEOF
21189 /* confdefs.h. */
21190 _ACEOF
21191 cat confdefs.h >>conftest.$ac_ext
21192 cat >>conftest.$ac_ext <<_ACEOF
21193 /* end confdefs.h. */
21194 #include <math.h>
21195 #ifdef HAVE_IEEEFP_H
21196 #include <ieeefp.h>
21197 #endif
21200 main ()
21202 expl(0);
21204 return 0;
21206 _ACEOF
21207 rm -f conftest.$ac_objext
21208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21209 (eval $ac_compile) 2>conftest.er1
21210 ac_status=$?
21211 grep -v '^ *+' conftest.er1 >conftest.err
21212 rm -f conftest.er1
21213 cat conftest.err >&5
21214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21215 (exit $ac_status); } &&
21216 { ac_try='test -z "$ac_cxx_werror_flag"
21217 || test ! -s conftest.err'
21218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21219 (eval $ac_try) 2>&5
21220 ac_status=$?
21221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21222 (exit $ac_status); }; } &&
21223 { ac_try='test -s conftest.$ac_objext'
21224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21225 (eval $ac_try) 2>&5
21226 ac_status=$?
21227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21228 (exit $ac_status); }; }; then
21229 glibcxx_cv_func_expl_use=yes
21230 else
21231 echo "$as_me: failed program was:" >&5
21232 sed 's/^/| /' conftest.$ac_ext >&5
21234 glibcxx_cv_func_expl_use=no
21236 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21237 ac_ext=c
21238 ac_cpp='$CPP $CPPFLAGS'
21239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21247 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
21248 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
21250 if test x$glibcxx_cv_func_expl_use = x"yes"; then
21252 for ac_func in expl
21254 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21255 echo "$as_me:$LINENO: checking for $ac_func" >&5
21256 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21257 if eval "test \"\${$as_ac_var+set}\" = set"; then
21258 echo $ECHO_N "(cached) $ECHO_C" >&6
21259 else
21260 if test x$gcc_no_link = xyes; then
21261 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21262 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21263 { (exit 1); exit 1; }; }
21265 cat >conftest.$ac_ext <<_ACEOF
21266 /* confdefs.h. */
21267 _ACEOF
21268 cat confdefs.h >>conftest.$ac_ext
21269 cat >>conftest.$ac_ext <<_ACEOF
21270 /* end confdefs.h. */
21271 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21272 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21273 #define $ac_func innocuous_$ac_func
21275 /* System header to define __stub macros and hopefully few prototypes,
21276 which can conflict with char $ac_func (); below.
21277 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21278 <limits.h> exists even on freestanding compilers. */
21280 #ifdef __STDC__
21281 # include <limits.h>
21282 #else
21283 # include <assert.h>
21284 #endif
21286 #undef $ac_func
21288 /* Override any gcc2 internal prototype to avoid an error. */
21289 #ifdef __cplusplus
21290 extern "C"
21292 #endif
21293 /* We use char because int might match the return type of a gcc2
21294 builtin and then its argument prototype would still apply. */
21295 char $ac_func ();
21296 /* The GNU C library defines this for functions which it implements
21297 to always fail with ENOSYS. Some functions are actually named
21298 something starting with __ and the normal name is an alias. */
21299 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21300 choke me
21301 #else
21302 char (*f) () = $ac_func;
21303 #endif
21304 #ifdef __cplusplus
21306 #endif
21309 main ()
21311 return f != $ac_func;
21313 return 0;
21315 _ACEOF
21316 rm -f conftest.$ac_objext conftest$ac_exeext
21317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21318 (eval $ac_link) 2>conftest.er1
21319 ac_status=$?
21320 grep -v '^ *+' conftest.er1 >conftest.err
21321 rm -f conftest.er1
21322 cat conftest.err >&5
21323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21324 (exit $ac_status); } &&
21325 { ac_try='test -z "$ac_c_werror_flag"
21326 || test ! -s conftest.err'
21327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21328 (eval $ac_try) 2>&5
21329 ac_status=$?
21330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21331 (exit $ac_status); }; } &&
21332 { ac_try='test -s conftest$ac_exeext'
21333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21334 (eval $ac_try) 2>&5
21335 ac_status=$?
21336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21337 (exit $ac_status); }; }; then
21338 eval "$as_ac_var=yes"
21339 else
21340 echo "$as_me: failed program was:" >&5
21341 sed 's/^/| /' conftest.$ac_ext >&5
21343 eval "$as_ac_var=no"
21345 rm -f conftest.err conftest.$ac_objext \
21346 conftest$ac_exeext conftest.$ac_ext
21348 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21349 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21350 if test `eval echo '${'$as_ac_var'}'` = yes; then
21351 cat >>confdefs.h <<_ACEOF
21352 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21353 _ACEOF
21356 done
21358 else
21360 echo "$as_me:$LINENO: checking for _expl declaration" >&5
21361 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
21362 if test x${glibcxx_cv_func__expl_use+set} != xset; then
21363 if test "${glibcxx_cv_func__expl_use+set}" = set; then
21364 echo $ECHO_N "(cached) $ECHO_C" >&6
21365 else
21369 ac_ext=cc
21370 ac_cpp='$CXXCPP $CPPFLAGS'
21371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21375 cat >conftest.$ac_ext <<_ACEOF
21376 /* confdefs.h. */
21377 _ACEOF
21378 cat confdefs.h >>conftest.$ac_ext
21379 cat >>conftest.$ac_ext <<_ACEOF
21380 /* end confdefs.h. */
21381 #include <math.h>
21382 #ifdef HAVE_IEEEFP_H
21383 #include <ieeefp.h>
21384 #endif
21387 main ()
21389 _expl(0);
21391 return 0;
21393 _ACEOF
21394 rm -f conftest.$ac_objext
21395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21396 (eval $ac_compile) 2>conftest.er1
21397 ac_status=$?
21398 grep -v '^ *+' conftest.er1 >conftest.err
21399 rm -f conftest.er1
21400 cat conftest.err >&5
21401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21402 (exit $ac_status); } &&
21403 { ac_try='test -z "$ac_cxx_werror_flag"
21404 || test ! -s conftest.err'
21405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21406 (eval $ac_try) 2>&5
21407 ac_status=$?
21408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21409 (exit $ac_status); }; } &&
21410 { ac_try='test -s conftest.$ac_objext'
21411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21412 (eval $ac_try) 2>&5
21413 ac_status=$?
21414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21415 (exit $ac_status); }; }; then
21416 glibcxx_cv_func__expl_use=yes
21417 else
21418 echo "$as_me: failed program was:" >&5
21419 sed 's/^/| /' conftest.$ac_ext >&5
21421 glibcxx_cv_func__expl_use=no
21423 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21424 ac_ext=c
21425 ac_cpp='$CPP $CPPFLAGS'
21426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21434 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
21435 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
21437 if test x$glibcxx_cv_func__expl_use = x"yes"; then
21439 for ac_func in _expl
21441 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21442 echo "$as_me:$LINENO: checking for $ac_func" >&5
21443 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21444 if eval "test \"\${$as_ac_var+set}\" = set"; then
21445 echo $ECHO_N "(cached) $ECHO_C" >&6
21446 else
21447 if test x$gcc_no_link = xyes; then
21448 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21449 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21450 { (exit 1); exit 1; }; }
21452 cat >conftest.$ac_ext <<_ACEOF
21453 /* confdefs.h. */
21454 _ACEOF
21455 cat confdefs.h >>conftest.$ac_ext
21456 cat >>conftest.$ac_ext <<_ACEOF
21457 /* end confdefs.h. */
21458 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21459 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21460 #define $ac_func innocuous_$ac_func
21462 /* System header to define __stub macros and hopefully few prototypes,
21463 which can conflict with char $ac_func (); below.
21464 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21465 <limits.h> exists even on freestanding compilers. */
21467 #ifdef __STDC__
21468 # include <limits.h>
21469 #else
21470 # include <assert.h>
21471 #endif
21473 #undef $ac_func
21475 /* Override any gcc2 internal prototype to avoid an error. */
21476 #ifdef __cplusplus
21477 extern "C"
21479 #endif
21480 /* We use char because int might match the return type of a gcc2
21481 builtin and then its argument prototype would still apply. */
21482 char $ac_func ();
21483 /* The GNU C library defines this for functions which it implements
21484 to always fail with ENOSYS. Some functions are actually named
21485 something starting with __ and the normal name is an alias. */
21486 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21487 choke me
21488 #else
21489 char (*f) () = $ac_func;
21490 #endif
21491 #ifdef __cplusplus
21493 #endif
21496 main ()
21498 return f != $ac_func;
21500 return 0;
21502 _ACEOF
21503 rm -f conftest.$ac_objext conftest$ac_exeext
21504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21505 (eval $ac_link) 2>conftest.er1
21506 ac_status=$?
21507 grep -v '^ *+' conftest.er1 >conftest.err
21508 rm -f conftest.er1
21509 cat conftest.err >&5
21510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21511 (exit $ac_status); } &&
21512 { ac_try='test -z "$ac_c_werror_flag"
21513 || test ! -s conftest.err'
21514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21515 (eval $ac_try) 2>&5
21516 ac_status=$?
21517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21518 (exit $ac_status); }; } &&
21519 { ac_try='test -s conftest$ac_exeext'
21520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21521 (eval $ac_try) 2>&5
21522 ac_status=$?
21523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21524 (exit $ac_status); }; }; then
21525 eval "$as_ac_var=yes"
21526 else
21527 echo "$as_me: failed program was:" >&5
21528 sed 's/^/| /' conftest.$ac_ext >&5
21530 eval "$as_ac_var=no"
21532 rm -f conftest.err conftest.$ac_objext \
21533 conftest$ac_exeext conftest.$ac_ext
21535 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21536 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21537 if test `eval echo '${'$as_ac_var'}'` = yes; then
21538 cat >>confdefs.h <<_ACEOF
21539 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21540 _ACEOF
21543 done
21553 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
21554 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
21555 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
21556 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
21557 echo $ECHO_N "(cached) $ECHO_C" >&6
21558 else
21562 ac_ext=cc
21563 ac_cpp='$CXXCPP $CPPFLAGS'
21564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21568 cat >conftest.$ac_ext <<_ACEOF
21569 /* confdefs.h. */
21570 _ACEOF
21571 cat confdefs.h >>conftest.$ac_ext
21572 cat >>conftest.$ac_ext <<_ACEOF
21573 /* end confdefs.h. */
21574 #include <math.h>
21575 #ifdef HAVE_IEEEFP_H
21576 #include <ieeefp.h>
21577 #endif
21580 main ()
21582 fabsl(0);
21584 return 0;
21586 _ACEOF
21587 rm -f conftest.$ac_objext
21588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21589 (eval $ac_compile) 2>conftest.er1
21590 ac_status=$?
21591 grep -v '^ *+' conftest.er1 >conftest.err
21592 rm -f conftest.er1
21593 cat conftest.err >&5
21594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21595 (exit $ac_status); } &&
21596 { ac_try='test -z "$ac_cxx_werror_flag"
21597 || test ! -s conftest.err'
21598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21599 (eval $ac_try) 2>&5
21600 ac_status=$?
21601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21602 (exit $ac_status); }; } &&
21603 { ac_try='test -s conftest.$ac_objext'
21604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21605 (eval $ac_try) 2>&5
21606 ac_status=$?
21607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21608 (exit $ac_status); }; }; then
21609 glibcxx_cv_func_fabsl_use=yes
21610 else
21611 echo "$as_me: failed program was:" >&5
21612 sed 's/^/| /' conftest.$ac_ext >&5
21614 glibcxx_cv_func_fabsl_use=no
21616 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21617 ac_ext=c
21618 ac_cpp='$CPP $CPPFLAGS'
21619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21627 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
21628 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
21630 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
21632 for ac_func in fabsl
21634 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21635 echo "$as_me:$LINENO: checking for $ac_func" >&5
21636 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21637 if eval "test \"\${$as_ac_var+set}\" = set"; then
21638 echo $ECHO_N "(cached) $ECHO_C" >&6
21639 else
21640 if test x$gcc_no_link = xyes; then
21641 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21642 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21643 { (exit 1); exit 1; }; }
21645 cat >conftest.$ac_ext <<_ACEOF
21646 /* confdefs.h. */
21647 _ACEOF
21648 cat confdefs.h >>conftest.$ac_ext
21649 cat >>conftest.$ac_ext <<_ACEOF
21650 /* end confdefs.h. */
21651 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21652 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21653 #define $ac_func innocuous_$ac_func
21655 /* System header to define __stub macros and hopefully few prototypes,
21656 which can conflict with char $ac_func (); below.
21657 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21658 <limits.h> exists even on freestanding compilers. */
21660 #ifdef __STDC__
21661 # include <limits.h>
21662 #else
21663 # include <assert.h>
21664 #endif
21666 #undef $ac_func
21668 /* Override any gcc2 internal prototype to avoid an error. */
21669 #ifdef __cplusplus
21670 extern "C"
21672 #endif
21673 /* We use char because int might match the return type of a gcc2
21674 builtin and then its argument prototype would still apply. */
21675 char $ac_func ();
21676 /* The GNU C library defines this for functions which it implements
21677 to always fail with ENOSYS. Some functions are actually named
21678 something starting with __ and the normal name is an alias. */
21679 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21680 choke me
21681 #else
21682 char (*f) () = $ac_func;
21683 #endif
21684 #ifdef __cplusplus
21686 #endif
21689 main ()
21691 return f != $ac_func;
21693 return 0;
21695 _ACEOF
21696 rm -f conftest.$ac_objext conftest$ac_exeext
21697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21698 (eval $ac_link) 2>conftest.er1
21699 ac_status=$?
21700 grep -v '^ *+' conftest.er1 >conftest.err
21701 rm -f conftest.er1
21702 cat conftest.err >&5
21703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21704 (exit $ac_status); } &&
21705 { ac_try='test -z "$ac_c_werror_flag"
21706 || test ! -s conftest.err'
21707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21708 (eval $ac_try) 2>&5
21709 ac_status=$?
21710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21711 (exit $ac_status); }; } &&
21712 { ac_try='test -s conftest$ac_exeext'
21713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21714 (eval $ac_try) 2>&5
21715 ac_status=$?
21716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21717 (exit $ac_status); }; }; then
21718 eval "$as_ac_var=yes"
21719 else
21720 echo "$as_me: failed program was:" >&5
21721 sed 's/^/| /' conftest.$ac_ext >&5
21723 eval "$as_ac_var=no"
21725 rm -f conftest.err conftest.$ac_objext \
21726 conftest$ac_exeext conftest.$ac_ext
21728 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21729 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21730 if test `eval echo '${'$as_ac_var'}'` = yes; then
21731 cat >>confdefs.h <<_ACEOF
21732 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21733 _ACEOF
21736 done
21738 else
21740 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
21741 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
21742 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
21743 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
21744 echo $ECHO_N "(cached) $ECHO_C" >&6
21745 else
21749 ac_ext=cc
21750 ac_cpp='$CXXCPP $CPPFLAGS'
21751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21755 cat >conftest.$ac_ext <<_ACEOF
21756 /* confdefs.h. */
21757 _ACEOF
21758 cat confdefs.h >>conftest.$ac_ext
21759 cat >>conftest.$ac_ext <<_ACEOF
21760 /* end confdefs.h. */
21761 #include <math.h>
21762 #ifdef HAVE_IEEEFP_H
21763 #include <ieeefp.h>
21764 #endif
21767 main ()
21769 _fabsl(0);
21771 return 0;
21773 _ACEOF
21774 rm -f conftest.$ac_objext
21775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21776 (eval $ac_compile) 2>conftest.er1
21777 ac_status=$?
21778 grep -v '^ *+' conftest.er1 >conftest.err
21779 rm -f conftest.er1
21780 cat conftest.err >&5
21781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21782 (exit $ac_status); } &&
21783 { ac_try='test -z "$ac_cxx_werror_flag"
21784 || test ! -s conftest.err'
21785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21786 (eval $ac_try) 2>&5
21787 ac_status=$?
21788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21789 (exit $ac_status); }; } &&
21790 { ac_try='test -s conftest.$ac_objext'
21791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21792 (eval $ac_try) 2>&5
21793 ac_status=$?
21794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21795 (exit $ac_status); }; }; then
21796 glibcxx_cv_func__fabsl_use=yes
21797 else
21798 echo "$as_me: failed program was:" >&5
21799 sed 's/^/| /' conftest.$ac_ext >&5
21801 glibcxx_cv_func__fabsl_use=no
21803 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21804 ac_ext=c
21805 ac_cpp='$CPP $CPPFLAGS'
21806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21814 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
21815 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
21817 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
21819 for ac_func in _fabsl
21821 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21822 echo "$as_me:$LINENO: checking for $ac_func" >&5
21823 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21824 if eval "test \"\${$as_ac_var+set}\" = set"; then
21825 echo $ECHO_N "(cached) $ECHO_C" >&6
21826 else
21827 if test x$gcc_no_link = xyes; then
21828 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21829 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21830 { (exit 1); exit 1; }; }
21832 cat >conftest.$ac_ext <<_ACEOF
21833 /* confdefs.h. */
21834 _ACEOF
21835 cat confdefs.h >>conftest.$ac_ext
21836 cat >>conftest.$ac_ext <<_ACEOF
21837 /* end confdefs.h. */
21838 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21839 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21840 #define $ac_func innocuous_$ac_func
21842 /* System header to define __stub macros and hopefully few prototypes,
21843 which can conflict with char $ac_func (); below.
21844 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21845 <limits.h> exists even on freestanding compilers. */
21847 #ifdef __STDC__
21848 # include <limits.h>
21849 #else
21850 # include <assert.h>
21851 #endif
21853 #undef $ac_func
21855 /* Override any gcc2 internal prototype to avoid an error. */
21856 #ifdef __cplusplus
21857 extern "C"
21859 #endif
21860 /* We use char because int might match the return type of a gcc2
21861 builtin and then its argument prototype would still apply. */
21862 char $ac_func ();
21863 /* The GNU C library defines this for functions which it implements
21864 to always fail with ENOSYS. Some functions are actually named
21865 something starting with __ and the normal name is an alias. */
21866 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21867 choke me
21868 #else
21869 char (*f) () = $ac_func;
21870 #endif
21871 #ifdef __cplusplus
21873 #endif
21876 main ()
21878 return f != $ac_func;
21880 return 0;
21882 _ACEOF
21883 rm -f conftest.$ac_objext conftest$ac_exeext
21884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21885 (eval $ac_link) 2>conftest.er1
21886 ac_status=$?
21887 grep -v '^ *+' conftest.er1 >conftest.err
21888 rm -f conftest.er1
21889 cat conftest.err >&5
21890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21891 (exit $ac_status); } &&
21892 { ac_try='test -z "$ac_c_werror_flag"
21893 || test ! -s conftest.err'
21894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21895 (eval $ac_try) 2>&5
21896 ac_status=$?
21897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21898 (exit $ac_status); }; } &&
21899 { ac_try='test -s conftest$ac_exeext'
21900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21901 (eval $ac_try) 2>&5
21902 ac_status=$?
21903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21904 (exit $ac_status); }; }; then
21905 eval "$as_ac_var=yes"
21906 else
21907 echo "$as_me: failed program was:" >&5
21908 sed 's/^/| /' conftest.$ac_ext >&5
21910 eval "$as_ac_var=no"
21912 rm -f conftest.err conftest.$ac_objext \
21913 conftest$ac_exeext conftest.$ac_ext
21915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21916 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21917 if test `eval echo '${'$as_ac_var'}'` = yes; then
21918 cat >>confdefs.h <<_ACEOF
21919 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21920 _ACEOF
21923 done
21933 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
21934 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
21935 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
21936 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
21937 echo $ECHO_N "(cached) $ECHO_C" >&6
21938 else
21942 ac_ext=cc
21943 ac_cpp='$CXXCPP $CPPFLAGS'
21944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21948 cat >conftest.$ac_ext <<_ACEOF
21949 /* confdefs.h. */
21950 _ACEOF
21951 cat confdefs.h >>conftest.$ac_ext
21952 cat >>conftest.$ac_ext <<_ACEOF
21953 /* end confdefs.h. */
21954 #include <math.h>
21956 main ()
21958 fmodl(0, 0);
21960 return 0;
21962 _ACEOF
21963 rm -f conftest.$ac_objext
21964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21965 (eval $ac_compile) 2>conftest.er1
21966 ac_status=$?
21967 grep -v '^ *+' conftest.er1 >conftest.err
21968 rm -f conftest.er1
21969 cat conftest.err >&5
21970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21971 (exit $ac_status); } &&
21972 { ac_try='test -z "$ac_cxx_werror_flag"
21973 || test ! -s conftest.err'
21974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21975 (eval $ac_try) 2>&5
21976 ac_status=$?
21977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21978 (exit $ac_status); }; } &&
21979 { ac_try='test -s conftest.$ac_objext'
21980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21981 (eval $ac_try) 2>&5
21982 ac_status=$?
21983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21984 (exit $ac_status); }; }; then
21985 glibcxx_cv_func_fmodl_use=yes
21986 else
21987 echo "$as_me: failed program was:" >&5
21988 sed 's/^/| /' conftest.$ac_ext >&5
21990 glibcxx_cv_func_fmodl_use=no
21992 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21993 ac_ext=c
21994 ac_cpp='$CPP $CPPFLAGS'
21995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22003 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
22004 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
22006 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
22008 for ac_func in fmodl
22010 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22011 echo "$as_me:$LINENO: checking for $ac_func" >&5
22012 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22013 if eval "test \"\${$as_ac_var+set}\" = set"; then
22014 echo $ECHO_N "(cached) $ECHO_C" >&6
22015 else
22016 if test x$gcc_no_link = xyes; then
22017 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22018 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22019 { (exit 1); exit 1; }; }
22021 cat >conftest.$ac_ext <<_ACEOF
22022 /* confdefs.h. */
22023 _ACEOF
22024 cat confdefs.h >>conftest.$ac_ext
22025 cat >>conftest.$ac_ext <<_ACEOF
22026 /* end confdefs.h. */
22027 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22028 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22029 #define $ac_func innocuous_$ac_func
22031 /* System header to define __stub macros and hopefully few prototypes,
22032 which can conflict with char $ac_func (); below.
22033 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22034 <limits.h> exists even on freestanding compilers. */
22036 #ifdef __STDC__
22037 # include <limits.h>
22038 #else
22039 # include <assert.h>
22040 #endif
22042 #undef $ac_func
22044 /* Override any gcc2 internal prototype to avoid an error. */
22045 #ifdef __cplusplus
22046 extern "C"
22048 #endif
22049 /* We use char because int might match the return type of a gcc2
22050 builtin and then its argument prototype would still apply. */
22051 char $ac_func ();
22052 /* The GNU C library defines this for functions which it implements
22053 to always fail with ENOSYS. Some functions are actually named
22054 something starting with __ and the normal name is an alias. */
22055 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22056 choke me
22057 #else
22058 char (*f) () = $ac_func;
22059 #endif
22060 #ifdef __cplusplus
22062 #endif
22065 main ()
22067 return f != $ac_func;
22069 return 0;
22071 _ACEOF
22072 rm -f conftest.$ac_objext conftest$ac_exeext
22073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22074 (eval $ac_link) 2>conftest.er1
22075 ac_status=$?
22076 grep -v '^ *+' conftest.er1 >conftest.err
22077 rm -f conftest.er1
22078 cat conftest.err >&5
22079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22080 (exit $ac_status); } &&
22081 { ac_try='test -z "$ac_c_werror_flag"
22082 || test ! -s conftest.err'
22083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22084 (eval $ac_try) 2>&5
22085 ac_status=$?
22086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22087 (exit $ac_status); }; } &&
22088 { ac_try='test -s conftest$ac_exeext'
22089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22090 (eval $ac_try) 2>&5
22091 ac_status=$?
22092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22093 (exit $ac_status); }; }; then
22094 eval "$as_ac_var=yes"
22095 else
22096 echo "$as_me: failed program was:" >&5
22097 sed 's/^/| /' conftest.$ac_ext >&5
22099 eval "$as_ac_var=no"
22101 rm -f conftest.err conftest.$ac_objext \
22102 conftest$ac_exeext conftest.$ac_ext
22104 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22105 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22106 if test `eval echo '${'$as_ac_var'}'` = yes; then
22107 cat >>confdefs.h <<_ACEOF
22108 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22109 _ACEOF
22112 done
22114 else
22116 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
22117 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
22118 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
22119 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
22120 echo $ECHO_N "(cached) $ECHO_C" >&6
22121 else
22125 ac_ext=cc
22126 ac_cpp='$CXXCPP $CPPFLAGS'
22127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22131 cat >conftest.$ac_ext <<_ACEOF
22132 /* confdefs.h. */
22133 _ACEOF
22134 cat confdefs.h >>conftest.$ac_ext
22135 cat >>conftest.$ac_ext <<_ACEOF
22136 /* end confdefs.h. */
22137 #include <math.h>
22139 main ()
22141 _fmodl(0, 0);
22143 return 0;
22145 _ACEOF
22146 rm -f conftest.$ac_objext
22147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22148 (eval $ac_compile) 2>conftest.er1
22149 ac_status=$?
22150 grep -v '^ *+' conftest.er1 >conftest.err
22151 rm -f conftest.er1
22152 cat conftest.err >&5
22153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22154 (exit $ac_status); } &&
22155 { ac_try='test -z "$ac_cxx_werror_flag"
22156 || test ! -s conftest.err'
22157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22158 (eval $ac_try) 2>&5
22159 ac_status=$?
22160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22161 (exit $ac_status); }; } &&
22162 { ac_try='test -s conftest.$ac_objext'
22163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22164 (eval $ac_try) 2>&5
22165 ac_status=$?
22166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22167 (exit $ac_status); }; }; then
22168 glibcxx_cv_func__fmodl_use=yes
22169 else
22170 echo "$as_me: failed program was:" >&5
22171 sed 's/^/| /' conftest.$ac_ext >&5
22173 glibcxx_cv_func__fmodl_use=no
22175 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22176 ac_ext=c
22177 ac_cpp='$CPP $CPPFLAGS'
22178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22186 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
22187 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
22189 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
22191 for ac_func in _fmodl
22193 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22194 echo "$as_me:$LINENO: checking for $ac_func" >&5
22195 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22196 if eval "test \"\${$as_ac_var+set}\" = set"; then
22197 echo $ECHO_N "(cached) $ECHO_C" >&6
22198 else
22199 if test x$gcc_no_link = xyes; then
22200 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22201 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22202 { (exit 1); exit 1; }; }
22204 cat >conftest.$ac_ext <<_ACEOF
22205 /* confdefs.h. */
22206 _ACEOF
22207 cat confdefs.h >>conftest.$ac_ext
22208 cat >>conftest.$ac_ext <<_ACEOF
22209 /* end confdefs.h. */
22210 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22211 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22212 #define $ac_func innocuous_$ac_func
22214 /* System header to define __stub macros and hopefully few prototypes,
22215 which can conflict with char $ac_func (); below.
22216 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22217 <limits.h> exists even on freestanding compilers. */
22219 #ifdef __STDC__
22220 # include <limits.h>
22221 #else
22222 # include <assert.h>
22223 #endif
22225 #undef $ac_func
22227 /* Override any gcc2 internal prototype to avoid an error. */
22228 #ifdef __cplusplus
22229 extern "C"
22231 #endif
22232 /* We use char because int might match the return type of a gcc2
22233 builtin and then its argument prototype would still apply. */
22234 char $ac_func ();
22235 /* The GNU C library defines this for functions which it implements
22236 to always fail with ENOSYS. Some functions are actually named
22237 something starting with __ and the normal name is an alias. */
22238 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22239 choke me
22240 #else
22241 char (*f) () = $ac_func;
22242 #endif
22243 #ifdef __cplusplus
22245 #endif
22248 main ()
22250 return f != $ac_func;
22252 return 0;
22254 _ACEOF
22255 rm -f conftest.$ac_objext conftest$ac_exeext
22256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22257 (eval $ac_link) 2>conftest.er1
22258 ac_status=$?
22259 grep -v '^ *+' conftest.er1 >conftest.err
22260 rm -f conftest.er1
22261 cat conftest.err >&5
22262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22263 (exit $ac_status); } &&
22264 { ac_try='test -z "$ac_c_werror_flag"
22265 || test ! -s conftest.err'
22266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22267 (eval $ac_try) 2>&5
22268 ac_status=$?
22269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22270 (exit $ac_status); }; } &&
22271 { ac_try='test -s conftest$ac_exeext'
22272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22273 (eval $ac_try) 2>&5
22274 ac_status=$?
22275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22276 (exit $ac_status); }; }; then
22277 eval "$as_ac_var=yes"
22278 else
22279 echo "$as_me: failed program was:" >&5
22280 sed 's/^/| /' conftest.$ac_ext >&5
22282 eval "$as_ac_var=no"
22284 rm -f conftest.err conftest.$ac_objext \
22285 conftest$ac_exeext conftest.$ac_ext
22287 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22288 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22289 if test `eval echo '${'$as_ac_var'}'` = yes; then
22290 cat >>confdefs.h <<_ACEOF
22291 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22292 _ACEOF
22295 done
22305 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
22306 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
22307 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
22308 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
22309 echo $ECHO_N "(cached) $ECHO_C" >&6
22310 else
22314 ac_ext=cc
22315 ac_cpp='$CXXCPP $CPPFLAGS'
22316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22320 cat >conftest.$ac_ext <<_ACEOF
22321 /* confdefs.h. */
22322 _ACEOF
22323 cat confdefs.h >>conftest.$ac_ext
22324 cat >>conftest.$ac_ext <<_ACEOF
22325 /* end confdefs.h. */
22326 #include <math.h>
22328 main ()
22330 frexpl(0, 0);
22332 return 0;
22334 _ACEOF
22335 rm -f conftest.$ac_objext
22336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22337 (eval $ac_compile) 2>conftest.er1
22338 ac_status=$?
22339 grep -v '^ *+' conftest.er1 >conftest.err
22340 rm -f conftest.er1
22341 cat conftest.err >&5
22342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22343 (exit $ac_status); } &&
22344 { ac_try='test -z "$ac_cxx_werror_flag"
22345 || test ! -s conftest.err'
22346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22347 (eval $ac_try) 2>&5
22348 ac_status=$?
22349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22350 (exit $ac_status); }; } &&
22351 { ac_try='test -s conftest.$ac_objext'
22352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22353 (eval $ac_try) 2>&5
22354 ac_status=$?
22355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22356 (exit $ac_status); }; }; then
22357 glibcxx_cv_func_frexpl_use=yes
22358 else
22359 echo "$as_me: failed program was:" >&5
22360 sed 's/^/| /' conftest.$ac_ext >&5
22362 glibcxx_cv_func_frexpl_use=no
22364 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22365 ac_ext=c
22366 ac_cpp='$CPP $CPPFLAGS'
22367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22375 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
22376 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
22378 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
22380 for ac_func in frexpl
22382 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22383 echo "$as_me:$LINENO: checking for $ac_func" >&5
22384 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22385 if eval "test \"\${$as_ac_var+set}\" = set"; then
22386 echo $ECHO_N "(cached) $ECHO_C" >&6
22387 else
22388 if test x$gcc_no_link = xyes; then
22389 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22390 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22391 { (exit 1); exit 1; }; }
22393 cat >conftest.$ac_ext <<_ACEOF
22394 /* confdefs.h. */
22395 _ACEOF
22396 cat confdefs.h >>conftest.$ac_ext
22397 cat >>conftest.$ac_ext <<_ACEOF
22398 /* end confdefs.h. */
22399 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22400 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22401 #define $ac_func innocuous_$ac_func
22403 /* System header to define __stub macros and hopefully few prototypes,
22404 which can conflict with char $ac_func (); below.
22405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22406 <limits.h> exists even on freestanding compilers. */
22408 #ifdef __STDC__
22409 # include <limits.h>
22410 #else
22411 # include <assert.h>
22412 #endif
22414 #undef $ac_func
22416 /* Override any gcc2 internal prototype to avoid an error. */
22417 #ifdef __cplusplus
22418 extern "C"
22420 #endif
22421 /* We use char because int might match the return type of a gcc2
22422 builtin and then its argument prototype would still apply. */
22423 char $ac_func ();
22424 /* The GNU C library defines this for functions which it implements
22425 to always fail with ENOSYS. Some functions are actually named
22426 something starting with __ and the normal name is an alias. */
22427 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22428 choke me
22429 #else
22430 char (*f) () = $ac_func;
22431 #endif
22432 #ifdef __cplusplus
22434 #endif
22437 main ()
22439 return f != $ac_func;
22441 return 0;
22443 _ACEOF
22444 rm -f conftest.$ac_objext conftest$ac_exeext
22445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22446 (eval $ac_link) 2>conftest.er1
22447 ac_status=$?
22448 grep -v '^ *+' conftest.er1 >conftest.err
22449 rm -f conftest.er1
22450 cat conftest.err >&5
22451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22452 (exit $ac_status); } &&
22453 { ac_try='test -z "$ac_c_werror_flag"
22454 || test ! -s conftest.err'
22455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22456 (eval $ac_try) 2>&5
22457 ac_status=$?
22458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22459 (exit $ac_status); }; } &&
22460 { ac_try='test -s conftest$ac_exeext'
22461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22462 (eval $ac_try) 2>&5
22463 ac_status=$?
22464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22465 (exit $ac_status); }; }; then
22466 eval "$as_ac_var=yes"
22467 else
22468 echo "$as_me: failed program was:" >&5
22469 sed 's/^/| /' conftest.$ac_ext >&5
22471 eval "$as_ac_var=no"
22473 rm -f conftest.err conftest.$ac_objext \
22474 conftest$ac_exeext conftest.$ac_ext
22476 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22477 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22478 if test `eval echo '${'$as_ac_var'}'` = yes; then
22479 cat >>confdefs.h <<_ACEOF
22480 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22481 _ACEOF
22484 done
22486 else
22488 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
22489 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
22490 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
22491 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
22492 echo $ECHO_N "(cached) $ECHO_C" >&6
22493 else
22497 ac_ext=cc
22498 ac_cpp='$CXXCPP $CPPFLAGS'
22499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22503 cat >conftest.$ac_ext <<_ACEOF
22504 /* confdefs.h. */
22505 _ACEOF
22506 cat confdefs.h >>conftest.$ac_ext
22507 cat >>conftest.$ac_ext <<_ACEOF
22508 /* end confdefs.h. */
22509 #include <math.h>
22511 main ()
22513 _frexpl(0, 0);
22515 return 0;
22517 _ACEOF
22518 rm -f conftest.$ac_objext
22519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22520 (eval $ac_compile) 2>conftest.er1
22521 ac_status=$?
22522 grep -v '^ *+' conftest.er1 >conftest.err
22523 rm -f conftest.er1
22524 cat conftest.err >&5
22525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22526 (exit $ac_status); } &&
22527 { ac_try='test -z "$ac_cxx_werror_flag"
22528 || test ! -s conftest.err'
22529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22530 (eval $ac_try) 2>&5
22531 ac_status=$?
22532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22533 (exit $ac_status); }; } &&
22534 { ac_try='test -s conftest.$ac_objext'
22535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22536 (eval $ac_try) 2>&5
22537 ac_status=$?
22538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22539 (exit $ac_status); }; }; then
22540 glibcxx_cv_func__frexpl_use=yes
22541 else
22542 echo "$as_me: failed program was:" >&5
22543 sed 's/^/| /' conftest.$ac_ext >&5
22545 glibcxx_cv_func__frexpl_use=no
22547 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22548 ac_ext=c
22549 ac_cpp='$CPP $CPPFLAGS'
22550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22558 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
22559 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
22561 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
22563 for ac_func in _frexpl
22565 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22566 echo "$as_me:$LINENO: checking for $ac_func" >&5
22567 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22568 if eval "test \"\${$as_ac_var+set}\" = set"; then
22569 echo $ECHO_N "(cached) $ECHO_C" >&6
22570 else
22571 if test x$gcc_no_link = xyes; then
22572 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22573 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22574 { (exit 1); exit 1; }; }
22576 cat >conftest.$ac_ext <<_ACEOF
22577 /* confdefs.h. */
22578 _ACEOF
22579 cat confdefs.h >>conftest.$ac_ext
22580 cat >>conftest.$ac_ext <<_ACEOF
22581 /* end confdefs.h. */
22582 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22583 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22584 #define $ac_func innocuous_$ac_func
22586 /* System header to define __stub macros and hopefully few prototypes,
22587 which can conflict with char $ac_func (); below.
22588 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22589 <limits.h> exists even on freestanding compilers. */
22591 #ifdef __STDC__
22592 # include <limits.h>
22593 #else
22594 # include <assert.h>
22595 #endif
22597 #undef $ac_func
22599 /* Override any gcc2 internal prototype to avoid an error. */
22600 #ifdef __cplusplus
22601 extern "C"
22603 #endif
22604 /* We use char because int might match the return type of a gcc2
22605 builtin and then its argument prototype would still apply. */
22606 char $ac_func ();
22607 /* The GNU C library defines this for functions which it implements
22608 to always fail with ENOSYS. Some functions are actually named
22609 something starting with __ and the normal name is an alias. */
22610 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22611 choke me
22612 #else
22613 char (*f) () = $ac_func;
22614 #endif
22615 #ifdef __cplusplus
22617 #endif
22620 main ()
22622 return f != $ac_func;
22624 return 0;
22626 _ACEOF
22627 rm -f conftest.$ac_objext conftest$ac_exeext
22628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22629 (eval $ac_link) 2>conftest.er1
22630 ac_status=$?
22631 grep -v '^ *+' conftest.er1 >conftest.err
22632 rm -f conftest.er1
22633 cat conftest.err >&5
22634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22635 (exit $ac_status); } &&
22636 { ac_try='test -z "$ac_c_werror_flag"
22637 || test ! -s conftest.err'
22638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22639 (eval $ac_try) 2>&5
22640 ac_status=$?
22641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22642 (exit $ac_status); }; } &&
22643 { ac_try='test -s conftest$ac_exeext'
22644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22645 (eval $ac_try) 2>&5
22646 ac_status=$?
22647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22648 (exit $ac_status); }; }; then
22649 eval "$as_ac_var=yes"
22650 else
22651 echo "$as_me: failed program was:" >&5
22652 sed 's/^/| /' conftest.$ac_ext >&5
22654 eval "$as_ac_var=no"
22656 rm -f conftest.err conftest.$ac_objext \
22657 conftest$ac_exeext conftest.$ac_ext
22659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22660 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22661 if test `eval echo '${'$as_ac_var'}'` = yes; then
22662 cat >>confdefs.h <<_ACEOF
22663 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22664 _ACEOF
22667 done
22677 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
22678 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
22679 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
22680 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
22681 echo $ECHO_N "(cached) $ECHO_C" >&6
22682 else
22686 ac_ext=cc
22687 ac_cpp='$CXXCPP $CPPFLAGS'
22688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22692 cat >conftest.$ac_ext <<_ACEOF
22693 /* confdefs.h. */
22694 _ACEOF
22695 cat confdefs.h >>conftest.$ac_ext
22696 cat >>conftest.$ac_ext <<_ACEOF
22697 /* end confdefs.h. */
22698 #include <math.h>
22700 main ()
22702 hypotl(0, 0);
22704 return 0;
22706 _ACEOF
22707 rm -f conftest.$ac_objext
22708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22709 (eval $ac_compile) 2>conftest.er1
22710 ac_status=$?
22711 grep -v '^ *+' conftest.er1 >conftest.err
22712 rm -f conftest.er1
22713 cat conftest.err >&5
22714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22715 (exit $ac_status); } &&
22716 { ac_try='test -z "$ac_cxx_werror_flag"
22717 || test ! -s conftest.err'
22718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22719 (eval $ac_try) 2>&5
22720 ac_status=$?
22721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22722 (exit $ac_status); }; } &&
22723 { ac_try='test -s conftest.$ac_objext'
22724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22725 (eval $ac_try) 2>&5
22726 ac_status=$?
22727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22728 (exit $ac_status); }; }; then
22729 glibcxx_cv_func_hypotl_use=yes
22730 else
22731 echo "$as_me: failed program was:" >&5
22732 sed 's/^/| /' conftest.$ac_ext >&5
22734 glibcxx_cv_func_hypotl_use=no
22736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22737 ac_ext=c
22738 ac_cpp='$CPP $CPPFLAGS'
22739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22747 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
22748 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
22750 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
22752 for ac_func in hypotl
22754 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22755 echo "$as_me:$LINENO: checking for $ac_func" >&5
22756 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22757 if eval "test \"\${$as_ac_var+set}\" = set"; then
22758 echo $ECHO_N "(cached) $ECHO_C" >&6
22759 else
22760 if test x$gcc_no_link = xyes; then
22761 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22762 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22763 { (exit 1); exit 1; }; }
22765 cat >conftest.$ac_ext <<_ACEOF
22766 /* confdefs.h. */
22767 _ACEOF
22768 cat confdefs.h >>conftest.$ac_ext
22769 cat >>conftest.$ac_ext <<_ACEOF
22770 /* end confdefs.h. */
22771 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22772 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22773 #define $ac_func innocuous_$ac_func
22775 /* System header to define __stub macros and hopefully few prototypes,
22776 which can conflict with char $ac_func (); below.
22777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22778 <limits.h> exists even on freestanding compilers. */
22780 #ifdef __STDC__
22781 # include <limits.h>
22782 #else
22783 # include <assert.h>
22784 #endif
22786 #undef $ac_func
22788 /* Override any gcc2 internal prototype to avoid an error. */
22789 #ifdef __cplusplus
22790 extern "C"
22792 #endif
22793 /* We use char because int might match the return type of a gcc2
22794 builtin and then its argument prototype would still apply. */
22795 char $ac_func ();
22796 /* The GNU C library defines this for functions which it implements
22797 to always fail with ENOSYS. Some functions are actually named
22798 something starting with __ and the normal name is an alias. */
22799 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22800 choke me
22801 #else
22802 char (*f) () = $ac_func;
22803 #endif
22804 #ifdef __cplusplus
22806 #endif
22809 main ()
22811 return f != $ac_func;
22813 return 0;
22815 _ACEOF
22816 rm -f conftest.$ac_objext conftest$ac_exeext
22817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22818 (eval $ac_link) 2>conftest.er1
22819 ac_status=$?
22820 grep -v '^ *+' conftest.er1 >conftest.err
22821 rm -f conftest.er1
22822 cat conftest.err >&5
22823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22824 (exit $ac_status); } &&
22825 { ac_try='test -z "$ac_c_werror_flag"
22826 || test ! -s conftest.err'
22827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22828 (eval $ac_try) 2>&5
22829 ac_status=$?
22830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22831 (exit $ac_status); }; } &&
22832 { ac_try='test -s conftest$ac_exeext'
22833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22834 (eval $ac_try) 2>&5
22835 ac_status=$?
22836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22837 (exit $ac_status); }; }; then
22838 eval "$as_ac_var=yes"
22839 else
22840 echo "$as_me: failed program was:" >&5
22841 sed 's/^/| /' conftest.$ac_ext >&5
22843 eval "$as_ac_var=no"
22845 rm -f conftest.err conftest.$ac_objext \
22846 conftest$ac_exeext conftest.$ac_ext
22848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22849 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22850 if test `eval echo '${'$as_ac_var'}'` = yes; then
22851 cat >>confdefs.h <<_ACEOF
22852 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22853 _ACEOF
22856 done
22858 else
22860 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
22861 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
22862 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
22863 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
22864 echo $ECHO_N "(cached) $ECHO_C" >&6
22865 else
22869 ac_ext=cc
22870 ac_cpp='$CXXCPP $CPPFLAGS'
22871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22875 cat >conftest.$ac_ext <<_ACEOF
22876 /* confdefs.h. */
22877 _ACEOF
22878 cat confdefs.h >>conftest.$ac_ext
22879 cat >>conftest.$ac_ext <<_ACEOF
22880 /* end confdefs.h. */
22881 #include <math.h>
22883 main ()
22885 _hypotl(0, 0);
22887 return 0;
22889 _ACEOF
22890 rm -f conftest.$ac_objext
22891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22892 (eval $ac_compile) 2>conftest.er1
22893 ac_status=$?
22894 grep -v '^ *+' conftest.er1 >conftest.err
22895 rm -f conftest.er1
22896 cat conftest.err >&5
22897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22898 (exit $ac_status); } &&
22899 { ac_try='test -z "$ac_cxx_werror_flag"
22900 || test ! -s conftest.err'
22901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22902 (eval $ac_try) 2>&5
22903 ac_status=$?
22904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22905 (exit $ac_status); }; } &&
22906 { ac_try='test -s conftest.$ac_objext'
22907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22908 (eval $ac_try) 2>&5
22909 ac_status=$?
22910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22911 (exit $ac_status); }; }; then
22912 glibcxx_cv_func__hypotl_use=yes
22913 else
22914 echo "$as_me: failed program was:" >&5
22915 sed 's/^/| /' conftest.$ac_ext >&5
22917 glibcxx_cv_func__hypotl_use=no
22919 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22920 ac_ext=c
22921 ac_cpp='$CPP $CPPFLAGS'
22922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22930 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
22931 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
22933 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
22935 for ac_func in _hypotl
22937 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22938 echo "$as_me:$LINENO: checking for $ac_func" >&5
22939 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22940 if eval "test \"\${$as_ac_var+set}\" = set"; then
22941 echo $ECHO_N "(cached) $ECHO_C" >&6
22942 else
22943 if test x$gcc_no_link = xyes; then
22944 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22945 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22946 { (exit 1); exit 1; }; }
22948 cat >conftest.$ac_ext <<_ACEOF
22949 /* confdefs.h. */
22950 _ACEOF
22951 cat confdefs.h >>conftest.$ac_ext
22952 cat >>conftest.$ac_ext <<_ACEOF
22953 /* end confdefs.h. */
22954 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22955 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22956 #define $ac_func innocuous_$ac_func
22958 /* System header to define __stub macros and hopefully few prototypes,
22959 which can conflict with char $ac_func (); below.
22960 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22961 <limits.h> exists even on freestanding compilers. */
22963 #ifdef __STDC__
22964 # include <limits.h>
22965 #else
22966 # include <assert.h>
22967 #endif
22969 #undef $ac_func
22971 /* Override any gcc2 internal prototype to avoid an error. */
22972 #ifdef __cplusplus
22973 extern "C"
22975 #endif
22976 /* We use char because int might match the return type of a gcc2
22977 builtin and then its argument prototype would still apply. */
22978 char $ac_func ();
22979 /* The GNU C library defines this for functions which it implements
22980 to always fail with ENOSYS. Some functions are actually named
22981 something starting with __ and the normal name is an alias. */
22982 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22983 choke me
22984 #else
22985 char (*f) () = $ac_func;
22986 #endif
22987 #ifdef __cplusplus
22989 #endif
22992 main ()
22994 return f != $ac_func;
22996 return 0;
22998 _ACEOF
22999 rm -f conftest.$ac_objext conftest$ac_exeext
23000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23001 (eval $ac_link) 2>conftest.er1
23002 ac_status=$?
23003 grep -v '^ *+' conftest.er1 >conftest.err
23004 rm -f conftest.er1
23005 cat conftest.err >&5
23006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23007 (exit $ac_status); } &&
23008 { ac_try='test -z "$ac_c_werror_flag"
23009 || test ! -s conftest.err'
23010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23011 (eval $ac_try) 2>&5
23012 ac_status=$?
23013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23014 (exit $ac_status); }; } &&
23015 { ac_try='test -s conftest$ac_exeext'
23016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23017 (eval $ac_try) 2>&5
23018 ac_status=$?
23019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23020 (exit $ac_status); }; }; then
23021 eval "$as_ac_var=yes"
23022 else
23023 echo "$as_me: failed program was:" >&5
23024 sed 's/^/| /' conftest.$ac_ext >&5
23026 eval "$as_ac_var=no"
23028 rm -f conftest.err conftest.$ac_objext \
23029 conftest$ac_exeext conftest.$ac_ext
23031 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23032 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23033 if test `eval echo '${'$as_ac_var'}'` = yes; then
23034 cat >>confdefs.h <<_ACEOF
23035 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23036 _ACEOF
23039 done
23049 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
23050 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
23051 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
23052 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
23053 echo $ECHO_N "(cached) $ECHO_C" >&6
23054 else
23058 ac_ext=cc
23059 ac_cpp='$CXXCPP $CPPFLAGS'
23060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23064 cat >conftest.$ac_ext <<_ACEOF
23065 /* confdefs.h. */
23066 _ACEOF
23067 cat confdefs.h >>conftest.$ac_ext
23068 cat >>conftest.$ac_ext <<_ACEOF
23069 /* end confdefs.h. */
23070 #include <math.h>
23072 main ()
23074 ldexpl(0, 0);
23076 return 0;
23078 _ACEOF
23079 rm -f conftest.$ac_objext
23080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23081 (eval $ac_compile) 2>conftest.er1
23082 ac_status=$?
23083 grep -v '^ *+' conftest.er1 >conftest.err
23084 rm -f conftest.er1
23085 cat conftest.err >&5
23086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23087 (exit $ac_status); } &&
23088 { ac_try='test -z "$ac_cxx_werror_flag"
23089 || test ! -s conftest.err'
23090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23091 (eval $ac_try) 2>&5
23092 ac_status=$?
23093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23094 (exit $ac_status); }; } &&
23095 { ac_try='test -s conftest.$ac_objext'
23096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23097 (eval $ac_try) 2>&5
23098 ac_status=$?
23099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23100 (exit $ac_status); }; }; then
23101 glibcxx_cv_func_ldexpl_use=yes
23102 else
23103 echo "$as_me: failed program was:" >&5
23104 sed 's/^/| /' conftest.$ac_ext >&5
23106 glibcxx_cv_func_ldexpl_use=no
23108 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23109 ac_ext=c
23110 ac_cpp='$CPP $CPPFLAGS'
23111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23119 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
23120 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
23122 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
23124 for ac_func in ldexpl
23126 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23127 echo "$as_me:$LINENO: checking for $ac_func" >&5
23128 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23129 if eval "test \"\${$as_ac_var+set}\" = set"; then
23130 echo $ECHO_N "(cached) $ECHO_C" >&6
23131 else
23132 if test x$gcc_no_link = xyes; then
23133 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23134 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23135 { (exit 1); exit 1; }; }
23137 cat >conftest.$ac_ext <<_ACEOF
23138 /* confdefs.h. */
23139 _ACEOF
23140 cat confdefs.h >>conftest.$ac_ext
23141 cat >>conftest.$ac_ext <<_ACEOF
23142 /* end confdefs.h. */
23143 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23144 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23145 #define $ac_func innocuous_$ac_func
23147 /* System header to define __stub macros and hopefully few prototypes,
23148 which can conflict with char $ac_func (); below.
23149 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23150 <limits.h> exists even on freestanding compilers. */
23152 #ifdef __STDC__
23153 # include <limits.h>
23154 #else
23155 # include <assert.h>
23156 #endif
23158 #undef $ac_func
23160 /* Override any gcc2 internal prototype to avoid an error. */
23161 #ifdef __cplusplus
23162 extern "C"
23164 #endif
23165 /* We use char because int might match the return type of a gcc2
23166 builtin and then its argument prototype would still apply. */
23167 char $ac_func ();
23168 /* The GNU C library defines this for functions which it implements
23169 to always fail with ENOSYS. Some functions are actually named
23170 something starting with __ and the normal name is an alias. */
23171 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23172 choke me
23173 #else
23174 char (*f) () = $ac_func;
23175 #endif
23176 #ifdef __cplusplus
23178 #endif
23181 main ()
23183 return f != $ac_func;
23185 return 0;
23187 _ACEOF
23188 rm -f conftest.$ac_objext conftest$ac_exeext
23189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23190 (eval $ac_link) 2>conftest.er1
23191 ac_status=$?
23192 grep -v '^ *+' conftest.er1 >conftest.err
23193 rm -f conftest.er1
23194 cat conftest.err >&5
23195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23196 (exit $ac_status); } &&
23197 { ac_try='test -z "$ac_c_werror_flag"
23198 || test ! -s conftest.err'
23199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23200 (eval $ac_try) 2>&5
23201 ac_status=$?
23202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23203 (exit $ac_status); }; } &&
23204 { ac_try='test -s conftest$ac_exeext'
23205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23206 (eval $ac_try) 2>&5
23207 ac_status=$?
23208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23209 (exit $ac_status); }; }; then
23210 eval "$as_ac_var=yes"
23211 else
23212 echo "$as_me: failed program was:" >&5
23213 sed 's/^/| /' conftest.$ac_ext >&5
23215 eval "$as_ac_var=no"
23217 rm -f conftest.err conftest.$ac_objext \
23218 conftest$ac_exeext conftest.$ac_ext
23220 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23221 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23222 if test `eval echo '${'$as_ac_var'}'` = yes; then
23223 cat >>confdefs.h <<_ACEOF
23224 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23225 _ACEOF
23228 done
23230 else
23232 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
23233 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
23234 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
23235 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
23236 echo $ECHO_N "(cached) $ECHO_C" >&6
23237 else
23241 ac_ext=cc
23242 ac_cpp='$CXXCPP $CPPFLAGS'
23243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23247 cat >conftest.$ac_ext <<_ACEOF
23248 /* confdefs.h. */
23249 _ACEOF
23250 cat confdefs.h >>conftest.$ac_ext
23251 cat >>conftest.$ac_ext <<_ACEOF
23252 /* end confdefs.h. */
23253 #include <math.h>
23255 main ()
23257 _ldexpl(0, 0);
23259 return 0;
23261 _ACEOF
23262 rm -f conftest.$ac_objext
23263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23264 (eval $ac_compile) 2>conftest.er1
23265 ac_status=$?
23266 grep -v '^ *+' conftest.er1 >conftest.err
23267 rm -f conftest.er1
23268 cat conftest.err >&5
23269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23270 (exit $ac_status); } &&
23271 { ac_try='test -z "$ac_cxx_werror_flag"
23272 || test ! -s conftest.err'
23273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23274 (eval $ac_try) 2>&5
23275 ac_status=$?
23276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23277 (exit $ac_status); }; } &&
23278 { ac_try='test -s conftest.$ac_objext'
23279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23280 (eval $ac_try) 2>&5
23281 ac_status=$?
23282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23283 (exit $ac_status); }; }; then
23284 glibcxx_cv_func__ldexpl_use=yes
23285 else
23286 echo "$as_me: failed program was:" >&5
23287 sed 's/^/| /' conftest.$ac_ext >&5
23289 glibcxx_cv_func__ldexpl_use=no
23291 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23292 ac_ext=c
23293 ac_cpp='$CPP $CPPFLAGS'
23294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23302 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
23303 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
23305 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
23307 for ac_func in _ldexpl
23309 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23310 echo "$as_me:$LINENO: checking for $ac_func" >&5
23311 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23312 if eval "test \"\${$as_ac_var+set}\" = set"; then
23313 echo $ECHO_N "(cached) $ECHO_C" >&6
23314 else
23315 if test x$gcc_no_link = xyes; then
23316 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23317 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23318 { (exit 1); exit 1; }; }
23320 cat >conftest.$ac_ext <<_ACEOF
23321 /* confdefs.h. */
23322 _ACEOF
23323 cat confdefs.h >>conftest.$ac_ext
23324 cat >>conftest.$ac_ext <<_ACEOF
23325 /* end confdefs.h. */
23326 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23327 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23328 #define $ac_func innocuous_$ac_func
23330 /* System header to define __stub macros and hopefully few prototypes,
23331 which can conflict with char $ac_func (); below.
23332 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23333 <limits.h> exists even on freestanding compilers. */
23335 #ifdef __STDC__
23336 # include <limits.h>
23337 #else
23338 # include <assert.h>
23339 #endif
23341 #undef $ac_func
23343 /* Override any gcc2 internal prototype to avoid an error. */
23344 #ifdef __cplusplus
23345 extern "C"
23347 #endif
23348 /* We use char because int might match the return type of a gcc2
23349 builtin and then its argument prototype would still apply. */
23350 char $ac_func ();
23351 /* The GNU C library defines this for functions which it implements
23352 to always fail with ENOSYS. Some functions are actually named
23353 something starting with __ and the normal name is an alias. */
23354 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23355 choke me
23356 #else
23357 char (*f) () = $ac_func;
23358 #endif
23359 #ifdef __cplusplus
23361 #endif
23364 main ()
23366 return f != $ac_func;
23368 return 0;
23370 _ACEOF
23371 rm -f conftest.$ac_objext conftest$ac_exeext
23372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23373 (eval $ac_link) 2>conftest.er1
23374 ac_status=$?
23375 grep -v '^ *+' conftest.er1 >conftest.err
23376 rm -f conftest.er1
23377 cat conftest.err >&5
23378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23379 (exit $ac_status); } &&
23380 { ac_try='test -z "$ac_c_werror_flag"
23381 || test ! -s conftest.err'
23382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23383 (eval $ac_try) 2>&5
23384 ac_status=$?
23385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23386 (exit $ac_status); }; } &&
23387 { ac_try='test -s conftest$ac_exeext'
23388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23389 (eval $ac_try) 2>&5
23390 ac_status=$?
23391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23392 (exit $ac_status); }; }; then
23393 eval "$as_ac_var=yes"
23394 else
23395 echo "$as_me: failed program was:" >&5
23396 sed 's/^/| /' conftest.$ac_ext >&5
23398 eval "$as_ac_var=no"
23400 rm -f conftest.err conftest.$ac_objext \
23401 conftest$ac_exeext conftest.$ac_ext
23403 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23404 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23405 if test `eval echo '${'$as_ac_var'}'` = yes; then
23406 cat >>confdefs.h <<_ACEOF
23407 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23408 _ACEOF
23411 done
23421 echo "$as_me:$LINENO: checking for logl declaration" >&5
23422 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
23423 if test x${glibcxx_cv_func_logl_use+set} != xset; then
23424 if test "${glibcxx_cv_func_logl_use+set}" = set; then
23425 echo $ECHO_N "(cached) $ECHO_C" >&6
23426 else
23430 ac_ext=cc
23431 ac_cpp='$CXXCPP $CPPFLAGS'
23432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23436 cat >conftest.$ac_ext <<_ACEOF
23437 /* confdefs.h. */
23438 _ACEOF
23439 cat confdefs.h >>conftest.$ac_ext
23440 cat >>conftest.$ac_ext <<_ACEOF
23441 /* end confdefs.h. */
23442 #include <math.h>
23443 #ifdef HAVE_IEEEFP_H
23444 #include <ieeefp.h>
23445 #endif
23448 main ()
23450 logl(0);
23452 return 0;
23454 _ACEOF
23455 rm -f conftest.$ac_objext
23456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23457 (eval $ac_compile) 2>conftest.er1
23458 ac_status=$?
23459 grep -v '^ *+' conftest.er1 >conftest.err
23460 rm -f conftest.er1
23461 cat conftest.err >&5
23462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23463 (exit $ac_status); } &&
23464 { ac_try='test -z "$ac_cxx_werror_flag"
23465 || test ! -s conftest.err'
23466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23467 (eval $ac_try) 2>&5
23468 ac_status=$?
23469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23470 (exit $ac_status); }; } &&
23471 { ac_try='test -s conftest.$ac_objext'
23472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23473 (eval $ac_try) 2>&5
23474 ac_status=$?
23475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23476 (exit $ac_status); }; }; then
23477 glibcxx_cv_func_logl_use=yes
23478 else
23479 echo "$as_me: failed program was:" >&5
23480 sed 's/^/| /' conftest.$ac_ext >&5
23482 glibcxx_cv_func_logl_use=no
23484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23485 ac_ext=c
23486 ac_cpp='$CPP $CPPFLAGS'
23487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23495 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
23496 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
23498 if test x$glibcxx_cv_func_logl_use = x"yes"; then
23500 for ac_func in logl
23502 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23503 echo "$as_me:$LINENO: checking for $ac_func" >&5
23504 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23505 if eval "test \"\${$as_ac_var+set}\" = set"; then
23506 echo $ECHO_N "(cached) $ECHO_C" >&6
23507 else
23508 if test x$gcc_no_link = xyes; then
23509 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23510 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23511 { (exit 1); exit 1; }; }
23513 cat >conftest.$ac_ext <<_ACEOF
23514 /* confdefs.h. */
23515 _ACEOF
23516 cat confdefs.h >>conftest.$ac_ext
23517 cat >>conftest.$ac_ext <<_ACEOF
23518 /* end confdefs.h. */
23519 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23520 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23521 #define $ac_func innocuous_$ac_func
23523 /* System header to define __stub macros and hopefully few prototypes,
23524 which can conflict with char $ac_func (); below.
23525 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23526 <limits.h> exists even on freestanding compilers. */
23528 #ifdef __STDC__
23529 # include <limits.h>
23530 #else
23531 # include <assert.h>
23532 #endif
23534 #undef $ac_func
23536 /* Override any gcc2 internal prototype to avoid an error. */
23537 #ifdef __cplusplus
23538 extern "C"
23540 #endif
23541 /* We use char because int might match the return type of a gcc2
23542 builtin and then its argument prototype would still apply. */
23543 char $ac_func ();
23544 /* The GNU C library defines this for functions which it implements
23545 to always fail with ENOSYS. Some functions are actually named
23546 something starting with __ and the normal name is an alias. */
23547 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23548 choke me
23549 #else
23550 char (*f) () = $ac_func;
23551 #endif
23552 #ifdef __cplusplus
23554 #endif
23557 main ()
23559 return f != $ac_func;
23561 return 0;
23563 _ACEOF
23564 rm -f conftest.$ac_objext conftest$ac_exeext
23565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23566 (eval $ac_link) 2>conftest.er1
23567 ac_status=$?
23568 grep -v '^ *+' conftest.er1 >conftest.err
23569 rm -f conftest.er1
23570 cat conftest.err >&5
23571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23572 (exit $ac_status); } &&
23573 { ac_try='test -z "$ac_c_werror_flag"
23574 || test ! -s conftest.err'
23575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23576 (eval $ac_try) 2>&5
23577 ac_status=$?
23578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23579 (exit $ac_status); }; } &&
23580 { ac_try='test -s conftest$ac_exeext'
23581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23582 (eval $ac_try) 2>&5
23583 ac_status=$?
23584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23585 (exit $ac_status); }; }; then
23586 eval "$as_ac_var=yes"
23587 else
23588 echo "$as_me: failed program was:" >&5
23589 sed 's/^/| /' conftest.$ac_ext >&5
23591 eval "$as_ac_var=no"
23593 rm -f conftest.err conftest.$ac_objext \
23594 conftest$ac_exeext conftest.$ac_ext
23596 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23597 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23598 if test `eval echo '${'$as_ac_var'}'` = yes; then
23599 cat >>confdefs.h <<_ACEOF
23600 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23601 _ACEOF
23604 done
23606 else
23608 echo "$as_me:$LINENO: checking for _logl declaration" >&5
23609 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
23610 if test x${glibcxx_cv_func__logl_use+set} != xset; then
23611 if test "${glibcxx_cv_func__logl_use+set}" = set; then
23612 echo $ECHO_N "(cached) $ECHO_C" >&6
23613 else
23617 ac_ext=cc
23618 ac_cpp='$CXXCPP $CPPFLAGS'
23619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23623 cat >conftest.$ac_ext <<_ACEOF
23624 /* confdefs.h. */
23625 _ACEOF
23626 cat confdefs.h >>conftest.$ac_ext
23627 cat >>conftest.$ac_ext <<_ACEOF
23628 /* end confdefs.h. */
23629 #include <math.h>
23630 #ifdef HAVE_IEEEFP_H
23631 #include <ieeefp.h>
23632 #endif
23635 main ()
23637 _logl(0);
23639 return 0;
23641 _ACEOF
23642 rm -f conftest.$ac_objext
23643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23644 (eval $ac_compile) 2>conftest.er1
23645 ac_status=$?
23646 grep -v '^ *+' conftest.er1 >conftest.err
23647 rm -f conftest.er1
23648 cat conftest.err >&5
23649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23650 (exit $ac_status); } &&
23651 { ac_try='test -z "$ac_cxx_werror_flag"
23652 || test ! -s conftest.err'
23653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23654 (eval $ac_try) 2>&5
23655 ac_status=$?
23656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23657 (exit $ac_status); }; } &&
23658 { ac_try='test -s conftest.$ac_objext'
23659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23660 (eval $ac_try) 2>&5
23661 ac_status=$?
23662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23663 (exit $ac_status); }; }; then
23664 glibcxx_cv_func__logl_use=yes
23665 else
23666 echo "$as_me: failed program was:" >&5
23667 sed 's/^/| /' conftest.$ac_ext >&5
23669 glibcxx_cv_func__logl_use=no
23671 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23672 ac_ext=c
23673 ac_cpp='$CPP $CPPFLAGS'
23674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23682 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
23683 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
23685 if test x$glibcxx_cv_func__logl_use = x"yes"; then
23687 for ac_func in _logl
23689 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23690 echo "$as_me:$LINENO: checking for $ac_func" >&5
23691 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23692 if eval "test \"\${$as_ac_var+set}\" = set"; then
23693 echo $ECHO_N "(cached) $ECHO_C" >&6
23694 else
23695 if test x$gcc_no_link = xyes; then
23696 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23697 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23698 { (exit 1); exit 1; }; }
23700 cat >conftest.$ac_ext <<_ACEOF
23701 /* confdefs.h. */
23702 _ACEOF
23703 cat confdefs.h >>conftest.$ac_ext
23704 cat >>conftest.$ac_ext <<_ACEOF
23705 /* end confdefs.h. */
23706 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23707 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23708 #define $ac_func innocuous_$ac_func
23710 /* System header to define __stub macros and hopefully few prototypes,
23711 which can conflict with char $ac_func (); below.
23712 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23713 <limits.h> exists even on freestanding compilers. */
23715 #ifdef __STDC__
23716 # include <limits.h>
23717 #else
23718 # include <assert.h>
23719 #endif
23721 #undef $ac_func
23723 /* Override any gcc2 internal prototype to avoid an error. */
23724 #ifdef __cplusplus
23725 extern "C"
23727 #endif
23728 /* We use char because int might match the return type of a gcc2
23729 builtin and then its argument prototype would still apply. */
23730 char $ac_func ();
23731 /* The GNU C library defines this for functions which it implements
23732 to always fail with ENOSYS. Some functions are actually named
23733 something starting with __ and the normal name is an alias. */
23734 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23735 choke me
23736 #else
23737 char (*f) () = $ac_func;
23738 #endif
23739 #ifdef __cplusplus
23741 #endif
23744 main ()
23746 return f != $ac_func;
23748 return 0;
23750 _ACEOF
23751 rm -f conftest.$ac_objext conftest$ac_exeext
23752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23753 (eval $ac_link) 2>conftest.er1
23754 ac_status=$?
23755 grep -v '^ *+' conftest.er1 >conftest.err
23756 rm -f conftest.er1
23757 cat conftest.err >&5
23758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23759 (exit $ac_status); } &&
23760 { ac_try='test -z "$ac_c_werror_flag"
23761 || test ! -s conftest.err'
23762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23763 (eval $ac_try) 2>&5
23764 ac_status=$?
23765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23766 (exit $ac_status); }; } &&
23767 { ac_try='test -s conftest$ac_exeext'
23768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23769 (eval $ac_try) 2>&5
23770 ac_status=$?
23771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23772 (exit $ac_status); }; }; then
23773 eval "$as_ac_var=yes"
23774 else
23775 echo "$as_me: failed program was:" >&5
23776 sed 's/^/| /' conftest.$ac_ext >&5
23778 eval "$as_ac_var=no"
23780 rm -f conftest.err conftest.$ac_objext \
23781 conftest$ac_exeext conftest.$ac_ext
23783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23784 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23785 if test `eval echo '${'$as_ac_var'}'` = yes; then
23786 cat >>confdefs.h <<_ACEOF
23787 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23788 _ACEOF
23791 done
23801 echo "$as_me:$LINENO: checking for log10l declaration" >&5
23802 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
23803 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
23804 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
23805 echo $ECHO_N "(cached) $ECHO_C" >&6
23806 else
23810 ac_ext=cc
23811 ac_cpp='$CXXCPP $CPPFLAGS'
23812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23816 cat >conftest.$ac_ext <<_ACEOF
23817 /* confdefs.h. */
23818 _ACEOF
23819 cat confdefs.h >>conftest.$ac_ext
23820 cat >>conftest.$ac_ext <<_ACEOF
23821 /* end confdefs.h. */
23822 #include <math.h>
23823 #ifdef HAVE_IEEEFP_H
23824 #include <ieeefp.h>
23825 #endif
23828 main ()
23830 log10l(0);
23832 return 0;
23834 _ACEOF
23835 rm -f conftest.$ac_objext
23836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23837 (eval $ac_compile) 2>conftest.er1
23838 ac_status=$?
23839 grep -v '^ *+' conftest.er1 >conftest.err
23840 rm -f conftest.er1
23841 cat conftest.err >&5
23842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23843 (exit $ac_status); } &&
23844 { ac_try='test -z "$ac_cxx_werror_flag"
23845 || test ! -s conftest.err'
23846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23847 (eval $ac_try) 2>&5
23848 ac_status=$?
23849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23850 (exit $ac_status); }; } &&
23851 { ac_try='test -s conftest.$ac_objext'
23852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23853 (eval $ac_try) 2>&5
23854 ac_status=$?
23855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23856 (exit $ac_status); }; }; then
23857 glibcxx_cv_func_log10l_use=yes
23858 else
23859 echo "$as_me: failed program was:" >&5
23860 sed 's/^/| /' conftest.$ac_ext >&5
23862 glibcxx_cv_func_log10l_use=no
23864 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23865 ac_ext=c
23866 ac_cpp='$CPP $CPPFLAGS'
23867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23875 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
23876 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
23878 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
23880 for ac_func in log10l
23882 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23883 echo "$as_me:$LINENO: checking for $ac_func" >&5
23884 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23885 if eval "test \"\${$as_ac_var+set}\" = set"; then
23886 echo $ECHO_N "(cached) $ECHO_C" >&6
23887 else
23888 if test x$gcc_no_link = xyes; then
23889 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23890 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23891 { (exit 1); exit 1; }; }
23893 cat >conftest.$ac_ext <<_ACEOF
23894 /* confdefs.h. */
23895 _ACEOF
23896 cat confdefs.h >>conftest.$ac_ext
23897 cat >>conftest.$ac_ext <<_ACEOF
23898 /* end confdefs.h. */
23899 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23900 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23901 #define $ac_func innocuous_$ac_func
23903 /* System header to define __stub macros and hopefully few prototypes,
23904 which can conflict with char $ac_func (); below.
23905 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23906 <limits.h> exists even on freestanding compilers. */
23908 #ifdef __STDC__
23909 # include <limits.h>
23910 #else
23911 # include <assert.h>
23912 #endif
23914 #undef $ac_func
23916 /* Override any gcc2 internal prototype to avoid an error. */
23917 #ifdef __cplusplus
23918 extern "C"
23920 #endif
23921 /* We use char because int might match the return type of a gcc2
23922 builtin and then its argument prototype would still apply. */
23923 char $ac_func ();
23924 /* The GNU C library defines this for functions which it implements
23925 to always fail with ENOSYS. Some functions are actually named
23926 something starting with __ and the normal name is an alias. */
23927 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23928 choke me
23929 #else
23930 char (*f) () = $ac_func;
23931 #endif
23932 #ifdef __cplusplus
23934 #endif
23937 main ()
23939 return f != $ac_func;
23941 return 0;
23943 _ACEOF
23944 rm -f conftest.$ac_objext conftest$ac_exeext
23945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23946 (eval $ac_link) 2>conftest.er1
23947 ac_status=$?
23948 grep -v '^ *+' conftest.er1 >conftest.err
23949 rm -f conftest.er1
23950 cat conftest.err >&5
23951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23952 (exit $ac_status); } &&
23953 { ac_try='test -z "$ac_c_werror_flag"
23954 || test ! -s conftest.err'
23955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23956 (eval $ac_try) 2>&5
23957 ac_status=$?
23958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23959 (exit $ac_status); }; } &&
23960 { ac_try='test -s conftest$ac_exeext'
23961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23962 (eval $ac_try) 2>&5
23963 ac_status=$?
23964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23965 (exit $ac_status); }; }; then
23966 eval "$as_ac_var=yes"
23967 else
23968 echo "$as_me: failed program was:" >&5
23969 sed 's/^/| /' conftest.$ac_ext >&5
23971 eval "$as_ac_var=no"
23973 rm -f conftest.err conftest.$ac_objext \
23974 conftest$ac_exeext conftest.$ac_ext
23976 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23977 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23978 if test `eval echo '${'$as_ac_var'}'` = yes; then
23979 cat >>confdefs.h <<_ACEOF
23980 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23981 _ACEOF
23984 done
23986 else
23988 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
23989 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
23990 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
23991 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
23992 echo $ECHO_N "(cached) $ECHO_C" >&6
23993 else
23997 ac_ext=cc
23998 ac_cpp='$CXXCPP $CPPFLAGS'
23999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24003 cat >conftest.$ac_ext <<_ACEOF
24004 /* confdefs.h. */
24005 _ACEOF
24006 cat confdefs.h >>conftest.$ac_ext
24007 cat >>conftest.$ac_ext <<_ACEOF
24008 /* end confdefs.h. */
24009 #include <math.h>
24010 #ifdef HAVE_IEEEFP_H
24011 #include <ieeefp.h>
24012 #endif
24015 main ()
24017 _log10l(0);
24019 return 0;
24021 _ACEOF
24022 rm -f conftest.$ac_objext
24023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24024 (eval $ac_compile) 2>conftest.er1
24025 ac_status=$?
24026 grep -v '^ *+' conftest.er1 >conftest.err
24027 rm -f conftest.er1
24028 cat conftest.err >&5
24029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24030 (exit $ac_status); } &&
24031 { ac_try='test -z "$ac_cxx_werror_flag"
24032 || test ! -s conftest.err'
24033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24034 (eval $ac_try) 2>&5
24035 ac_status=$?
24036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24037 (exit $ac_status); }; } &&
24038 { ac_try='test -s conftest.$ac_objext'
24039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24040 (eval $ac_try) 2>&5
24041 ac_status=$?
24042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24043 (exit $ac_status); }; }; then
24044 glibcxx_cv_func__log10l_use=yes
24045 else
24046 echo "$as_me: failed program was:" >&5
24047 sed 's/^/| /' conftest.$ac_ext >&5
24049 glibcxx_cv_func__log10l_use=no
24051 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24052 ac_ext=c
24053 ac_cpp='$CPP $CPPFLAGS'
24054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24062 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
24063 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
24065 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
24067 for ac_func in _log10l
24069 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24070 echo "$as_me:$LINENO: checking for $ac_func" >&5
24071 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24072 if eval "test \"\${$as_ac_var+set}\" = set"; then
24073 echo $ECHO_N "(cached) $ECHO_C" >&6
24074 else
24075 if test x$gcc_no_link = xyes; then
24076 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24077 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24078 { (exit 1); exit 1; }; }
24080 cat >conftest.$ac_ext <<_ACEOF
24081 /* confdefs.h. */
24082 _ACEOF
24083 cat confdefs.h >>conftest.$ac_ext
24084 cat >>conftest.$ac_ext <<_ACEOF
24085 /* end confdefs.h. */
24086 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24087 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24088 #define $ac_func innocuous_$ac_func
24090 /* System header to define __stub macros and hopefully few prototypes,
24091 which can conflict with char $ac_func (); below.
24092 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24093 <limits.h> exists even on freestanding compilers. */
24095 #ifdef __STDC__
24096 # include <limits.h>
24097 #else
24098 # include <assert.h>
24099 #endif
24101 #undef $ac_func
24103 /* Override any gcc2 internal prototype to avoid an error. */
24104 #ifdef __cplusplus
24105 extern "C"
24107 #endif
24108 /* We use char because int might match the return type of a gcc2
24109 builtin and then its argument prototype would still apply. */
24110 char $ac_func ();
24111 /* The GNU C library defines this for functions which it implements
24112 to always fail with ENOSYS. Some functions are actually named
24113 something starting with __ and the normal name is an alias. */
24114 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24115 choke me
24116 #else
24117 char (*f) () = $ac_func;
24118 #endif
24119 #ifdef __cplusplus
24121 #endif
24124 main ()
24126 return f != $ac_func;
24128 return 0;
24130 _ACEOF
24131 rm -f conftest.$ac_objext conftest$ac_exeext
24132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24133 (eval $ac_link) 2>conftest.er1
24134 ac_status=$?
24135 grep -v '^ *+' conftest.er1 >conftest.err
24136 rm -f conftest.er1
24137 cat conftest.err >&5
24138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24139 (exit $ac_status); } &&
24140 { ac_try='test -z "$ac_c_werror_flag"
24141 || test ! -s conftest.err'
24142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24143 (eval $ac_try) 2>&5
24144 ac_status=$?
24145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24146 (exit $ac_status); }; } &&
24147 { ac_try='test -s conftest$ac_exeext'
24148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24149 (eval $ac_try) 2>&5
24150 ac_status=$?
24151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24152 (exit $ac_status); }; }; then
24153 eval "$as_ac_var=yes"
24154 else
24155 echo "$as_me: failed program was:" >&5
24156 sed 's/^/| /' conftest.$ac_ext >&5
24158 eval "$as_ac_var=no"
24160 rm -f conftest.err conftest.$ac_objext \
24161 conftest$ac_exeext conftest.$ac_ext
24163 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24164 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24165 if test `eval echo '${'$as_ac_var'}'` = yes; then
24166 cat >>confdefs.h <<_ACEOF
24167 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24168 _ACEOF
24171 done
24181 echo "$as_me:$LINENO: checking for modfl declaration" >&5
24182 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
24183 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
24184 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
24185 echo $ECHO_N "(cached) $ECHO_C" >&6
24186 else
24190 ac_ext=cc
24191 ac_cpp='$CXXCPP $CPPFLAGS'
24192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24196 cat >conftest.$ac_ext <<_ACEOF
24197 /* confdefs.h. */
24198 _ACEOF
24199 cat confdefs.h >>conftest.$ac_ext
24200 cat >>conftest.$ac_ext <<_ACEOF
24201 /* end confdefs.h. */
24202 #include <math.h>
24204 main ()
24206 modfl(0, 0);
24208 return 0;
24210 _ACEOF
24211 rm -f conftest.$ac_objext
24212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24213 (eval $ac_compile) 2>conftest.er1
24214 ac_status=$?
24215 grep -v '^ *+' conftest.er1 >conftest.err
24216 rm -f conftest.er1
24217 cat conftest.err >&5
24218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24219 (exit $ac_status); } &&
24220 { ac_try='test -z "$ac_cxx_werror_flag"
24221 || test ! -s conftest.err'
24222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24223 (eval $ac_try) 2>&5
24224 ac_status=$?
24225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24226 (exit $ac_status); }; } &&
24227 { ac_try='test -s conftest.$ac_objext'
24228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24229 (eval $ac_try) 2>&5
24230 ac_status=$?
24231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24232 (exit $ac_status); }; }; then
24233 glibcxx_cv_func_modfl_use=yes
24234 else
24235 echo "$as_me: failed program was:" >&5
24236 sed 's/^/| /' conftest.$ac_ext >&5
24238 glibcxx_cv_func_modfl_use=no
24240 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24241 ac_ext=c
24242 ac_cpp='$CPP $CPPFLAGS'
24243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24251 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
24252 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
24254 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
24256 for ac_func in modfl
24258 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24259 echo "$as_me:$LINENO: checking for $ac_func" >&5
24260 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24261 if eval "test \"\${$as_ac_var+set}\" = set"; then
24262 echo $ECHO_N "(cached) $ECHO_C" >&6
24263 else
24264 if test x$gcc_no_link = xyes; then
24265 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24266 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24267 { (exit 1); exit 1; }; }
24269 cat >conftest.$ac_ext <<_ACEOF
24270 /* confdefs.h. */
24271 _ACEOF
24272 cat confdefs.h >>conftest.$ac_ext
24273 cat >>conftest.$ac_ext <<_ACEOF
24274 /* end confdefs.h. */
24275 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24276 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24277 #define $ac_func innocuous_$ac_func
24279 /* System header to define __stub macros and hopefully few prototypes,
24280 which can conflict with char $ac_func (); below.
24281 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24282 <limits.h> exists even on freestanding compilers. */
24284 #ifdef __STDC__
24285 # include <limits.h>
24286 #else
24287 # include <assert.h>
24288 #endif
24290 #undef $ac_func
24292 /* Override any gcc2 internal prototype to avoid an error. */
24293 #ifdef __cplusplus
24294 extern "C"
24296 #endif
24297 /* We use char because int might match the return type of a gcc2
24298 builtin and then its argument prototype would still apply. */
24299 char $ac_func ();
24300 /* The GNU C library defines this for functions which it implements
24301 to always fail with ENOSYS. Some functions are actually named
24302 something starting with __ and the normal name is an alias. */
24303 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24304 choke me
24305 #else
24306 char (*f) () = $ac_func;
24307 #endif
24308 #ifdef __cplusplus
24310 #endif
24313 main ()
24315 return f != $ac_func;
24317 return 0;
24319 _ACEOF
24320 rm -f conftest.$ac_objext conftest$ac_exeext
24321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24322 (eval $ac_link) 2>conftest.er1
24323 ac_status=$?
24324 grep -v '^ *+' conftest.er1 >conftest.err
24325 rm -f conftest.er1
24326 cat conftest.err >&5
24327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24328 (exit $ac_status); } &&
24329 { ac_try='test -z "$ac_c_werror_flag"
24330 || test ! -s conftest.err'
24331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24332 (eval $ac_try) 2>&5
24333 ac_status=$?
24334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24335 (exit $ac_status); }; } &&
24336 { ac_try='test -s conftest$ac_exeext'
24337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24338 (eval $ac_try) 2>&5
24339 ac_status=$?
24340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24341 (exit $ac_status); }; }; then
24342 eval "$as_ac_var=yes"
24343 else
24344 echo "$as_me: failed program was:" >&5
24345 sed 's/^/| /' conftest.$ac_ext >&5
24347 eval "$as_ac_var=no"
24349 rm -f conftest.err conftest.$ac_objext \
24350 conftest$ac_exeext conftest.$ac_ext
24352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24353 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24354 if test `eval echo '${'$as_ac_var'}'` = yes; then
24355 cat >>confdefs.h <<_ACEOF
24356 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24357 _ACEOF
24360 done
24362 else
24364 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
24365 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
24366 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
24367 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
24368 echo $ECHO_N "(cached) $ECHO_C" >&6
24369 else
24373 ac_ext=cc
24374 ac_cpp='$CXXCPP $CPPFLAGS'
24375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24379 cat >conftest.$ac_ext <<_ACEOF
24380 /* confdefs.h. */
24381 _ACEOF
24382 cat confdefs.h >>conftest.$ac_ext
24383 cat >>conftest.$ac_ext <<_ACEOF
24384 /* end confdefs.h. */
24385 #include <math.h>
24387 main ()
24389 _modfl(0, 0);
24391 return 0;
24393 _ACEOF
24394 rm -f conftest.$ac_objext
24395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24396 (eval $ac_compile) 2>conftest.er1
24397 ac_status=$?
24398 grep -v '^ *+' conftest.er1 >conftest.err
24399 rm -f conftest.er1
24400 cat conftest.err >&5
24401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24402 (exit $ac_status); } &&
24403 { ac_try='test -z "$ac_cxx_werror_flag"
24404 || test ! -s conftest.err'
24405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24406 (eval $ac_try) 2>&5
24407 ac_status=$?
24408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24409 (exit $ac_status); }; } &&
24410 { ac_try='test -s conftest.$ac_objext'
24411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24412 (eval $ac_try) 2>&5
24413 ac_status=$?
24414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24415 (exit $ac_status); }; }; then
24416 glibcxx_cv_func__modfl_use=yes
24417 else
24418 echo "$as_me: failed program was:" >&5
24419 sed 's/^/| /' conftest.$ac_ext >&5
24421 glibcxx_cv_func__modfl_use=no
24423 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24424 ac_ext=c
24425 ac_cpp='$CPP $CPPFLAGS'
24426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24434 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
24435 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
24437 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
24439 for ac_func in _modfl
24441 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24442 echo "$as_me:$LINENO: checking for $ac_func" >&5
24443 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24444 if eval "test \"\${$as_ac_var+set}\" = set"; then
24445 echo $ECHO_N "(cached) $ECHO_C" >&6
24446 else
24447 if test x$gcc_no_link = xyes; then
24448 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24449 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24450 { (exit 1); exit 1; }; }
24452 cat >conftest.$ac_ext <<_ACEOF
24453 /* confdefs.h. */
24454 _ACEOF
24455 cat confdefs.h >>conftest.$ac_ext
24456 cat >>conftest.$ac_ext <<_ACEOF
24457 /* end confdefs.h. */
24458 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24459 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24460 #define $ac_func innocuous_$ac_func
24462 /* System header to define __stub macros and hopefully few prototypes,
24463 which can conflict with char $ac_func (); below.
24464 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24465 <limits.h> exists even on freestanding compilers. */
24467 #ifdef __STDC__
24468 # include <limits.h>
24469 #else
24470 # include <assert.h>
24471 #endif
24473 #undef $ac_func
24475 /* Override any gcc2 internal prototype to avoid an error. */
24476 #ifdef __cplusplus
24477 extern "C"
24479 #endif
24480 /* We use char because int might match the return type of a gcc2
24481 builtin and then its argument prototype would still apply. */
24482 char $ac_func ();
24483 /* The GNU C library defines this for functions which it implements
24484 to always fail with ENOSYS. Some functions are actually named
24485 something starting with __ and the normal name is an alias. */
24486 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24487 choke me
24488 #else
24489 char (*f) () = $ac_func;
24490 #endif
24491 #ifdef __cplusplus
24493 #endif
24496 main ()
24498 return f != $ac_func;
24500 return 0;
24502 _ACEOF
24503 rm -f conftest.$ac_objext conftest$ac_exeext
24504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24505 (eval $ac_link) 2>conftest.er1
24506 ac_status=$?
24507 grep -v '^ *+' conftest.er1 >conftest.err
24508 rm -f conftest.er1
24509 cat conftest.err >&5
24510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24511 (exit $ac_status); } &&
24512 { ac_try='test -z "$ac_c_werror_flag"
24513 || test ! -s conftest.err'
24514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24515 (eval $ac_try) 2>&5
24516 ac_status=$?
24517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24518 (exit $ac_status); }; } &&
24519 { ac_try='test -s conftest$ac_exeext'
24520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24521 (eval $ac_try) 2>&5
24522 ac_status=$?
24523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24524 (exit $ac_status); }; }; then
24525 eval "$as_ac_var=yes"
24526 else
24527 echo "$as_me: failed program was:" >&5
24528 sed 's/^/| /' conftest.$ac_ext >&5
24530 eval "$as_ac_var=no"
24532 rm -f conftest.err conftest.$ac_objext \
24533 conftest$ac_exeext conftest.$ac_ext
24535 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24536 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24537 if test `eval echo '${'$as_ac_var'}'` = yes; then
24538 cat >>confdefs.h <<_ACEOF
24539 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24540 _ACEOF
24543 done
24553 echo "$as_me:$LINENO: checking for powl declaration" >&5
24554 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
24555 if test x${glibcxx_cv_func_powl_use+set} != xset; then
24556 if test "${glibcxx_cv_func_powl_use+set}" = set; then
24557 echo $ECHO_N "(cached) $ECHO_C" >&6
24558 else
24562 ac_ext=cc
24563 ac_cpp='$CXXCPP $CPPFLAGS'
24564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24568 cat >conftest.$ac_ext <<_ACEOF
24569 /* confdefs.h. */
24570 _ACEOF
24571 cat confdefs.h >>conftest.$ac_ext
24572 cat >>conftest.$ac_ext <<_ACEOF
24573 /* end confdefs.h. */
24574 #include <math.h>
24576 main ()
24578 powl(0, 0);
24580 return 0;
24582 _ACEOF
24583 rm -f conftest.$ac_objext
24584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24585 (eval $ac_compile) 2>conftest.er1
24586 ac_status=$?
24587 grep -v '^ *+' conftest.er1 >conftest.err
24588 rm -f conftest.er1
24589 cat conftest.err >&5
24590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24591 (exit $ac_status); } &&
24592 { ac_try='test -z "$ac_cxx_werror_flag"
24593 || test ! -s conftest.err'
24594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24595 (eval $ac_try) 2>&5
24596 ac_status=$?
24597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24598 (exit $ac_status); }; } &&
24599 { ac_try='test -s conftest.$ac_objext'
24600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24601 (eval $ac_try) 2>&5
24602 ac_status=$?
24603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24604 (exit $ac_status); }; }; then
24605 glibcxx_cv_func_powl_use=yes
24606 else
24607 echo "$as_me: failed program was:" >&5
24608 sed 's/^/| /' conftest.$ac_ext >&5
24610 glibcxx_cv_func_powl_use=no
24612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24613 ac_ext=c
24614 ac_cpp='$CPP $CPPFLAGS'
24615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24623 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
24624 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
24626 if test x$glibcxx_cv_func_powl_use = x"yes"; then
24628 for ac_func in powl
24630 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24631 echo "$as_me:$LINENO: checking for $ac_func" >&5
24632 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24633 if eval "test \"\${$as_ac_var+set}\" = set"; then
24634 echo $ECHO_N "(cached) $ECHO_C" >&6
24635 else
24636 if test x$gcc_no_link = xyes; then
24637 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24639 { (exit 1); exit 1; }; }
24641 cat >conftest.$ac_ext <<_ACEOF
24642 /* confdefs.h. */
24643 _ACEOF
24644 cat confdefs.h >>conftest.$ac_ext
24645 cat >>conftest.$ac_ext <<_ACEOF
24646 /* end confdefs.h. */
24647 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24649 #define $ac_func innocuous_$ac_func
24651 /* System header to define __stub macros and hopefully few prototypes,
24652 which can conflict with char $ac_func (); below.
24653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24654 <limits.h> exists even on freestanding compilers. */
24656 #ifdef __STDC__
24657 # include <limits.h>
24658 #else
24659 # include <assert.h>
24660 #endif
24662 #undef $ac_func
24664 /* Override any gcc2 internal prototype to avoid an error. */
24665 #ifdef __cplusplus
24666 extern "C"
24668 #endif
24669 /* We use char because int might match the return type of a gcc2
24670 builtin and then its argument prototype would still apply. */
24671 char $ac_func ();
24672 /* The GNU C library defines this for functions which it implements
24673 to always fail with ENOSYS. Some functions are actually named
24674 something starting with __ and the normal name is an alias. */
24675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24676 choke me
24677 #else
24678 char (*f) () = $ac_func;
24679 #endif
24680 #ifdef __cplusplus
24682 #endif
24685 main ()
24687 return f != $ac_func;
24689 return 0;
24691 _ACEOF
24692 rm -f conftest.$ac_objext conftest$ac_exeext
24693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24694 (eval $ac_link) 2>conftest.er1
24695 ac_status=$?
24696 grep -v '^ *+' conftest.er1 >conftest.err
24697 rm -f conftest.er1
24698 cat conftest.err >&5
24699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24700 (exit $ac_status); } &&
24701 { ac_try='test -z "$ac_c_werror_flag"
24702 || test ! -s conftest.err'
24703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24704 (eval $ac_try) 2>&5
24705 ac_status=$?
24706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24707 (exit $ac_status); }; } &&
24708 { ac_try='test -s conftest$ac_exeext'
24709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24710 (eval $ac_try) 2>&5
24711 ac_status=$?
24712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24713 (exit $ac_status); }; }; then
24714 eval "$as_ac_var=yes"
24715 else
24716 echo "$as_me: failed program was:" >&5
24717 sed 's/^/| /' conftest.$ac_ext >&5
24719 eval "$as_ac_var=no"
24721 rm -f conftest.err conftest.$ac_objext \
24722 conftest$ac_exeext conftest.$ac_ext
24724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24725 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24726 if test `eval echo '${'$as_ac_var'}'` = yes; then
24727 cat >>confdefs.h <<_ACEOF
24728 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24729 _ACEOF
24732 done
24734 else
24736 echo "$as_me:$LINENO: checking for _powl declaration" >&5
24737 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
24738 if test x${glibcxx_cv_func__powl_use+set} != xset; then
24739 if test "${glibcxx_cv_func__powl_use+set}" = set; then
24740 echo $ECHO_N "(cached) $ECHO_C" >&6
24741 else
24745 ac_ext=cc
24746 ac_cpp='$CXXCPP $CPPFLAGS'
24747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24751 cat >conftest.$ac_ext <<_ACEOF
24752 /* confdefs.h. */
24753 _ACEOF
24754 cat confdefs.h >>conftest.$ac_ext
24755 cat >>conftest.$ac_ext <<_ACEOF
24756 /* end confdefs.h. */
24757 #include <math.h>
24759 main ()
24761 _powl(0, 0);
24763 return 0;
24765 _ACEOF
24766 rm -f conftest.$ac_objext
24767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24768 (eval $ac_compile) 2>conftest.er1
24769 ac_status=$?
24770 grep -v '^ *+' conftest.er1 >conftest.err
24771 rm -f conftest.er1
24772 cat conftest.err >&5
24773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24774 (exit $ac_status); } &&
24775 { ac_try='test -z "$ac_cxx_werror_flag"
24776 || test ! -s conftest.err'
24777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24778 (eval $ac_try) 2>&5
24779 ac_status=$?
24780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24781 (exit $ac_status); }; } &&
24782 { ac_try='test -s conftest.$ac_objext'
24783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24784 (eval $ac_try) 2>&5
24785 ac_status=$?
24786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24787 (exit $ac_status); }; }; then
24788 glibcxx_cv_func__powl_use=yes
24789 else
24790 echo "$as_me: failed program was:" >&5
24791 sed 's/^/| /' conftest.$ac_ext >&5
24793 glibcxx_cv_func__powl_use=no
24795 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24796 ac_ext=c
24797 ac_cpp='$CPP $CPPFLAGS'
24798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24806 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
24807 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
24809 if test x$glibcxx_cv_func__powl_use = x"yes"; then
24811 for ac_func in _powl
24813 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24814 echo "$as_me:$LINENO: checking for $ac_func" >&5
24815 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24816 if eval "test \"\${$as_ac_var+set}\" = set"; then
24817 echo $ECHO_N "(cached) $ECHO_C" >&6
24818 else
24819 if test x$gcc_no_link = xyes; then
24820 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24821 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24822 { (exit 1); exit 1; }; }
24824 cat >conftest.$ac_ext <<_ACEOF
24825 /* confdefs.h. */
24826 _ACEOF
24827 cat confdefs.h >>conftest.$ac_ext
24828 cat >>conftest.$ac_ext <<_ACEOF
24829 /* end confdefs.h. */
24830 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24831 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24832 #define $ac_func innocuous_$ac_func
24834 /* System header to define __stub macros and hopefully few prototypes,
24835 which can conflict with char $ac_func (); below.
24836 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24837 <limits.h> exists even on freestanding compilers. */
24839 #ifdef __STDC__
24840 # include <limits.h>
24841 #else
24842 # include <assert.h>
24843 #endif
24845 #undef $ac_func
24847 /* Override any gcc2 internal prototype to avoid an error. */
24848 #ifdef __cplusplus
24849 extern "C"
24851 #endif
24852 /* We use char because int might match the return type of a gcc2
24853 builtin and then its argument prototype would still apply. */
24854 char $ac_func ();
24855 /* The GNU C library defines this for functions which it implements
24856 to always fail with ENOSYS. Some functions are actually named
24857 something starting with __ and the normal name is an alias. */
24858 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24859 choke me
24860 #else
24861 char (*f) () = $ac_func;
24862 #endif
24863 #ifdef __cplusplus
24865 #endif
24868 main ()
24870 return f != $ac_func;
24872 return 0;
24874 _ACEOF
24875 rm -f conftest.$ac_objext conftest$ac_exeext
24876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24877 (eval $ac_link) 2>conftest.er1
24878 ac_status=$?
24879 grep -v '^ *+' conftest.er1 >conftest.err
24880 rm -f conftest.er1
24881 cat conftest.err >&5
24882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24883 (exit $ac_status); } &&
24884 { ac_try='test -z "$ac_c_werror_flag"
24885 || test ! -s conftest.err'
24886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24887 (eval $ac_try) 2>&5
24888 ac_status=$?
24889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24890 (exit $ac_status); }; } &&
24891 { ac_try='test -s conftest$ac_exeext'
24892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24893 (eval $ac_try) 2>&5
24894 ac_status=$?
24895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24896 (exit $ac_status); }; }; then
24897 eval "$as_ac_var=yes"
24898 else
24899 echo "$as_me: failed program was:" >&5
24900 sed 's/^/| /' conftest.$ac_ext >&5
24902 eval "$as_ac_var=no"
24904 rm -f conftest.err conftest.$ac_objext \
24905 conftest$ac_exeext conftest.$ac_ext
24907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24908 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24909 if test `eval echo '${'$as_ac_var'}'` = yes; then
24910 cat >>confdefs.h <<_ACEOF
24911 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24912 _ACEOF
24915 done
24925 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
24926 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
24927 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
24928 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
24929 echo $ECHO_N "(cached) $ECHO_C" >&6
24930 else
24934 ac_ext=cc
24935 ac_cpp='$CXXCPP $CPPFLAGS'
24936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24940 cat >conftest.$ac_ext <<_ACEOF
24941 /* confdefs.h. */
24942 _ACEOF
24943 cat confdefs.h >>conftest.$ac_ext
24944 cat >>conftest.$ac_ext <<_ACEOF
24945 /* end confdefs.h. */
24946 #include <math.h>
24947 #ifdef HAVE_IEEEFP_H
24948 #include <ieeefp.h>
24949 #endif
24952 main ()
24954 sqrtl(0);
24956 return 0;
24958 _ACEOF
24959 rm -f conftest.$ac_objext
24960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24961 (eval $ac_compile) 2>conftest.er1
24962 ac_status=$?
24963 grep -v '^ *+' conftest.er1 >conftest.err
24964 rm -f conftest.er1
24965 cat conftest.err >&5
24966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24967 (exit $ac_status); } &&
24968 { ac_try='test -z "$ac_cxx_werror_flag"
24969 || test ! -s conftest.err'
24970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24971 (eval $ac_try) 2>&5
24972 ac_status=$?
24973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24974 (exit $ac_status); }; } &&
24975 { ac_try='test -s conftest.$ac_objext'
24976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24977 (eval $ac_try) 2>&5
24978 ac_status=$?
24979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24980 (exit $ac_status); }; }; then
24981 glibcxx_cv_func_sqrtl_use=yes
24982 else
24983 echo "$as_me: failed program was:" >&5
24984 sed 's/^/| /' conftest.$ac_ext >&5
24986 glibcxx_cv_func_sqrtl_use=no
24988 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24989 ac_ext=c
24990 ac_cpp='$CPP $CPPFLAGS'
24991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24999 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
25000 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
25002 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
25004 for ac_func in sqrtl
25006 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25007 echo "$as_me:$LINENO: checking for $ac_func" >&5
25008 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25009 if eval "test \"\${$as_ac_var+set}\" = set"; then
25010 echo $ECHO_N "(cached) $ECHO_C" >&6
25011 else
25012 if test x$gcc_no_link = xyes; then
25013 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25014 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25015 { (exit 1); exit 1; }; }
25017 cat >conftest.$ac_ext <<_ACEOF
25018 /* confdefs.h. */
25019 _ACEOF
25020 cat confdefs.h >>conftest.$ac_ext
25021 cat >>conftest.$ac_ext <<_ACEOF
25022 /* end confdefs.h. */
25023 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25024 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25025 #define $ac_func innocuous_$ac_func
25027 /* System header to define __stub macros and hopefully few prototypes,
25028 which can conflict with char $ac_func (); below.
25029 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25030 <limits.h> exists even on freestanding compilers. */
25032 #ifdef __STDC__
25033 # include <limits.h>
25034 #else
25035 # include <assert.h>
25036 #endif
25038 #undef $ac_func
25040 /* Override any gcc2 internal prototype to avoid an error. */
25041 #ifdef __cplusplus
25042 extern "C"
25044 #endif
25045 /* We use char because int might match the return type of a gcc2
25046 builtin and then its argument prototype would still apply. */
25047 char $ac_func ();
25048 /* The GNU C library defines this for functions which it implements
25049 to always fail with ENOSYS. Some functions are actually named
25050 something starting with __ and the normal name is an alias. */
25051 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25052 choke me
25053 #else
25054 char (*f) () = $ac_func;
25055 #endif
25056 #ifdef __cplusplus
25058 #endif
25061 main ()
25063 return f != $ac_func;
25065 return 0;
25067 _ACEOF
25068 rm -f conftest.$ac_objext conftest$ac_exeext
25069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25070 (eval $ac_link) 2>conftest.er1
25071 ac_status=$?
25072 grep -v '^ *+' conftest.er1 >conftest.err
25073 rm -f conftest.er1
25074 cat conftest.err >&5
25075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25076 (exit $ac_status); } &&
25077 { ac_try='test -z "$ac_c_werror_flag"
25078 || test ! -s conftest.err'
25079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25080 (eval $ac_try) 2>&5
25081 ac_status=$?
25082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25083 (exit $ac_status); }; } &&
25084 { ac_try='test -s conftest$ac_exeext'
25085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25086 (eval $ac_try) 2>&5
25087 ac_status=$?
25088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25089 (exit $ac_status); }; }; then
25090 eval "$as_ac_var=yes"
25091 else
25092 echo "$as_me: failed program was:" >&5
25093 sed 's/^/| /' conftest.$ac_ext >&5
25095 eval "$as_ac_var=no"
25097 rm -f conftest.err conftest.$ac_objext \
25098 conftest$ac_exeext conftest.$ac_ext
25100 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25101 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25102 if test `eval echo '${'$as_ac_var'}'` = yes; then
25103 cat >>confdefs.h <<_ACEOF
25104 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25105 _ACEOF
25108 done
25110 else
25112 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
25113 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
25114 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
25115 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
25116 echo $ECHO_N "(cached) $ECHO_C" >&6
25117 else
25121 ac_ext=cc
25122 ac_cpp='$CXXCPP $CPPFLAGS'
25123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25127 cat >conftest.$ac_ext <<_ACEOF
25128 /* confdefs.h. */
25129 _ACEOF
25130 cat confdefs.h >>conftest.$ac_ext
25131 cat >>conftest.$ac_ext <<_ACEOF
25132 /* end confdefs.h. */
25133 #include <math.h>
25134 #ifdef HAVE_IEEEFP_H
25135 #include <ieeefp.h>
25136 #endif
25139 main ()
25141 _sqrtl(0);
25143 return 0;
25145 _ACEOF
25146 rm -f conftest.$ac_objext
25147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25148 (eval $ac_compile) 2>conftest.er1
25149 ac_status=$?
25150 grep -v '^ *+' conftest.er1 >conftest.err
25151 rm -f conftest.er1
25152 cat conftest.err >&5
25153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25154 (exit $ac_status); } &&
25155 { ac_try='test -z "$ac_cxx_werror_flag"
25156 || test ! -s conftest.err'
25157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25158 (eval $ac_try) 2>&5
25159 ac_status=$?
25160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25161 (exit $ac_status); }; } &&
25162 { ac_try='test -s conftest.$ac_objext'
25163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25164 (eval $ac_try) 2>&5
25165 ac_status=$?
25166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25167 (exit $ac_status); }; }; then
25168 glibcxx_cv_func__sqrtl_use=yes
25169 else
25170 echo "$as_me: failed program was:" >&5
25171 sed 's/^/| /' conftest.$ac_ext >&5
25173 glibcxx_cv_func__sqrtl_use=no
25175 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25176 ac_ext=c
25177 ac_cpp='$CPP $CPPFLAGS'
25178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25186 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
25187 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
25189 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
25191 for ac_func in _sqrtl
25193 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25194 echo "$as_me:$LINENO: checking for $ac_func" >&5
25195 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25196 if eval "test \"\${$as_ac_var+set}\" = set"; then
25197 echo $ECHO_N "(cached) $ECHO_C" >&6
25198 else
25199 if test x$gcc_no_link = xyes; then
25200 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25201 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25202 { (exit 1); exit 1; }; }
25204 cat >conftest.$ac_ext <<_ACEOF
25205 /* confdefs.h. */
25206 _ACEOF
25207 cat confdefs.h >>conftest.$ac_ext
25208 cat >>conftest.$ac_ext <<_ACEOF
25209 /* end confdefs.h. */
25210 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25211 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25212 #define $ac_func innocuous_$ac_func
25214 /* System header to define __stub macros and hopefully few prototypes,
25215 which can conflict with char $ac_func (); below.
25216 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25217 <limits.h> exists even on freestanding compilers. */
25219 #ifdef __STDC__
25220 # include <limits.h>
25221 #else
25222 # include <assert.h>
25223 #endif
25225 #undef $ac_func
25227 /* Override any gcc2 internal prototype to avoid an error. */
25228 #ifdef __cplusplus
25229 extern "C"
25231 #endif
25232 /* We use char because int might match the return type of a gcc2
25233 builtin and then its argument prototype would still apply. */
25234 char $ac_func ();
25235 /* The GNU C library defines this for functions which it implements
25236 to always fail with ENOSYS. Some functions are actually named
25237 something starting with __ and the normal name is an alias. */
25238 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25239 choke me
25240 #else
25241 char (*f) () = $ac_func;
25242 #endif
25243 #ifdef __cplusplus
25245 #endif
25248 main ()
25250 return f != $ac_func;
25252 return 0;
25254 _ACEOF
25255 rm -f conftest.$ac_objext conftest$ac_exeext
25256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25257 (eval $ac_link) 2>conftest.er1
25258 ac_status=$?
25259 grep -v '^ *+' conftest.er1 >conftest.err
25260 rm -f conftest.er1
25261 cat conftest.err >&5
25262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25263 (exit $ac_status); } &&
25264 { ac_try='test -z "$ac_c_werror_flag"
25265 || test ! -s conftest.err'
25266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25267 (eval $ac_try) 2>&5
25268 ac_status=$?
25269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25270 (exit $ac_status); }; } &&
25271 { ac_try='test -s conftest$ac_exeext'
25272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25273 (eval $ac_try) 2>&5
25274 ac_status=$?
25275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25276 (exit $ac_status); }; }; then
25277 eval "$as_ac_var=yes"
25278 else
25279 echo "$as_me: failed program was:" >&5
25280 sed 's/^/| /' conftest.$ac_ext >&5
25282 eval "$as_ac_var=no"
25284 rm -f conftest.err conftest.$ac_objext \
25285 conftest$ac_exeext conftest.$ac_ext
25287 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25288 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25289 if test `eval echo '${'$as_ac_var'}'` = yes; then
25290 cat >>confdefs.h <<_ACEOF
25291 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25292 _ACEOF
25295 done
25305 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
25306 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
25307 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
25308 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
25309 echo $ECHO_N "(cached) $ECHO_C" >&6
25310 else
25314 ac_ext=cc
25315 ac_cpp='$CXXCPP $CPPFLAGS'
25316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25320 cat >conftest.$ac_ext <<_ACEOF
25321 /* confdefs.h. */
25322 _ACEOF
25323 cat confdefs.h >>conftest.$ac_ext
25324 cat >>conftest.$ac_ext <<_ACEOF
25325 /* end confdefs.h. */
25326 #include <math.h>
25328 main ()
25330 sincosl(0, 0, 0);
25332 return 0;
25334 _ACEOF
25335 rm -f conftest.$ac_objext
25336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25337 (eval $ac_compile) 2>conftest.er1
25338 ac_status=$?
25339 grep -v '^ *+' conftest.er1 >conftest.err
25340 rm -f conftest.er1
25341 cat conftest.err >&5
25342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25343 (exit $ac_status); } &&
25344 { ac_try='test -z "$ac_cxx_werror_flag"
25345 || test ! -s conftest.err'
25346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25347 (eval $ac_try) 2>&5
25348 ac_status=$?
25349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25350 (exit $ac_status); }; } &&
25351 { ac_try='test -s conftest.$ac_objext'
25352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25353 (eval $ac_try) 2>&5
25354 ac_status=$?
25355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25356 (exit $ac_status); }; }; then
25357 glibcxx_cv_func_sincosl_use=yes
25358 else
25359 echo "$as_me: failed program was:" >&5
25360 sed 's/^/| /' conftest.$ac_ext >&5
25362 glibcxx_cv_func_sincosl_use=no
25364 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25365 ac_ext=c
25366 ac_cpp='$CPP $CPPFLAGS'
25367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25375 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
25376 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
25378 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
25380 for ac_func in sincosl
25382 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25383 echo "$as_me:$LINENO: checking for $ac_func" >&5
25384 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25385 if eval "test \"\${$as_ac_var+set}\" = set"; then
25386 echo $ECHO_N "(cached) $ECHO_C" >&6
25387 else
25388 if test x$gcc_no_link = xyes; then
25389 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25390 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25391 { (exit 1); exit 1; }; }
25393 cat >conftest.$ac_ext <<_ACEOF
25394 /* confdefs.h. */
25395 _ACEOF
25396 cat confdefs.h >>conftest.$ac_ext
25397 cat >>conftest.$ac_ext <<_ACEOF
25398 /* end confdefs.h. */
25399 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25400 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25401 #define $ac_func innocuous_$ac_func
25403 /* System header to define __stub macros and hopefully few prototypes,
25404 which can conflict with char $ac_func (); below.
25405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25406 <limits.h> exists even on freestanding compilers. */
25408 #ifdef __STDC__
25409 # include <limits.h>
25410 #else
25411 # include <assert.h>
25412 #endif
25414 #undef $ac_func
25416 /* Override any gcc2 internal prototype to avoid an error. */
25417 #ifdef __cplusplus
25418 extern "C"
25420 #endif
25421 /* We use char because int might match the return type of a gcc2
25422 builtin and then its argument prototype would still apply. */
25423 char $ac_func ();
25424 /* The GNU C library defines this for functions which it implements
25425 to always fail with ENOSYS. Some functions are actually named
25426 something starting with __ and the normal name is an alias. */
25427 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25428 choke me
25429 #else
25430 char (*f) () = $ac_func;
25431 #endif
25432 #ifdef __cplusplus
25434 #endif
25437 main ()
25439 return f != $ac_func;
25441 return 0;
25443 _ACEOF
25444 rm -f conftest.$ac_objext conftest$ac_exeext
25445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25446 (eval $ac_link) 2>conftest.er1
25447 ac_status=$?
25448 grep -v '^ *+' conftest.er1 >conftest.err
25449 rm -f conftest.er1
25450 cat conftest.err >&5
25451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25452 (exit $ac_status); } &&
25453 { ac_try='test -z "$ac_c_werror_flag"
25454 || test ! -s conftest.err'
25455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25456 (eval $ac_try) 2>&5
25457 ac_status=$?
25458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25459 (exit $ac_status); }; } &&
25460 { ac_try='test -s conftest$ac_exeext'
25461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25462 (eval $ac_try) 2>&5
25463 ac_status=$?
25464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25465 (exit $ac_status); }; }; then
25466 eval "$as_ac_var=yes"
25467 else
25468 echo "$as_me: failed program was:" >&5
25469 sed 's/^/| /' conftest.$ac_ext >&5
25471 eval "$as_ac_var=no"
25473 rm -f conftest.err conftest.$ac_objext \
25474 conftest$ac_exeext conftest.$ac_ext
25476 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25477 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25478 if test `eval echo '${'$as_ac_var'}'` = yes; then
25479 cat >>confdefs.h <<_ACEOF
25480 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25481 _ACEOF
25484 done
25486 else
25488 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
25489 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
25490 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
25491 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
25492 echo $ECHO_N "(cached) $ECHO_C" >&6
25493 else
25497 ac_ext=cc
25498 ac_cpp='$CXXCPP $CPPFLAGS'
25499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25503 cat >conftest.$ac_ext <<_ACEOF
25504 /* confdefs.h. */
25505 _ACEOF
25506 cat confdefs.h >>conftest.$ac_ext
25507 cat >>conftest.$ac_ext <<_ACEOF
25508 /* end confdefs.h. */
25509 #include <math.h>
25511 main ()
25513 _sincosl(0, 0, 0);
25515 return 0;
25517 _ACEOF
25518 rm -f conftest.$ac_objext
25519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25520 (eval $ac_compile) 2>conftest.er1
25521 ac_status=$?
25522 grep -v '^ *+' conftest.er1 >conftest.err
25523 rm -f conftest.er1
25524 cat conftest.err >&5
25525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25526 (exit $ac_status); } &&
25527 { ac_try='test -z "$ac_cxx_werror_flag"
25528 || test ! -s conftest.err'
25529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25530 (eval $ac_try) 2>&5
25531 ac_status=$?
25532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25533 (exit $ac_status); }; } &&
25534 { ac_try='test -s conftest.$ac_objext'
25535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25536 (eval $ac_try) 2>&5
25537 ac_status=$?
25538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25539 (exit $ac_status); }; }; then
25540 glibcxx_cv_func__sincosl_use=yes
25541 else
25542 echo "$as_me: failed program was:" >&5
25543 sed 's/^/| /' conftest.$ac_ext >&5
25545 glibcxx_cv_func__sincosl_use=no
25547 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25548 ac_ext=c
25549 ac_cpp='$CPP $CPPFLAGS'
25550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25558 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
25559 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
25561 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
25563 for ac_func in _sincosl
25565 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25566 echo "$as_me:$LINENO: checking for $ac_func" >&5
25567 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25568 if eval "test \"\${$as_ac_var+set}\" = set"; then
25569 echo $ECHO_N "(cached) $ECHO_C" >&6
25570 else
25571 if test x$gcc_no_link = xyes; then
25572 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25573 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25574 { (exit 1); exit 1; }; }
25576 cat >conftest.$ac_ext <<_ACEOF
25577 /* confdefs.h. */
25578 _ACEOF
25579 cat confdefs.h >>conftest.$ac_ext
25580 cat >>conftest.$ac_ext <<_ACEOF
25581 /* end confdefs.h. */
25582 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25583 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25584 #define $ac_func innocuous_$ac_func
25586 /* System header to define __stub macros and hopefully few prototypes,
25587 which can conflict with char $ac_func (); below.
25588 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25589 <limits.h> exists even on freestanding compilers. */
25591 #ifdef __STDC__
25592 # include <limits.h>
25593 #else
25594 # include <assert.h>
25595 #endif
25597 #undef $ac_func
25599 /* Override any gcc2 internal prototype to avoid an error. */
25600 #ifdef __cplusplus
25601 extern "C"
25603 #endif
25604 /* We use char because int might match the return type of a gcc2
25605 builtin and then its argument prototype would still apply. */
25606 char $ac_func ();
25607 /* The GNU C library defines this for functions which it implements
25608 to always fail with ENOSYS. Some functions are actually named
25609 something starting with __ and the normal name is an alias. */
25610 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25611 choke me
25612 #else
25613 char (*f) () = $ac_func;
25614 #endif
25615 #ifdef __cplusplus
25617 #endif
25620 main ()
25622 return f != $ac_func;
25624 return 0;
25626 _ACEOF
25627 rm -f conftest.$ac_objext conftest$ac_exeext
25628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25629 (eval $ac_link) 2>conftest.er1
25630 ac_status=$?
25631 grep -v '^ *+' conftest.er1 >conftest.err
25632 rm -f conftest.er1
25633 cat conftest.err >&5
25634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25635 (exit $ac_status); } &&
25636 { ac_try='test -z "$ac_c_werror_flag"
25637 || test ! -s conftest.err'
25638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25639 (eval $ac_try) 2>&5
25640 ac_status=$?
25641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25642 (exit $ac_status); }; } &&
25643 { ac_try='test -s conftest$ac_exeext'
25644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25645 (eval $ac_try) 2>&5
25646 ac_status=$?
25647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25648 (exit $ac_status); }; }; then
25649 eval "$as_ac_var=yes"
25650 else
25651 echo "$as_me: failed program was:" >&5
25652 sed 's/^/| /' conftest.$ac_ext >&5
25654 eval "$as_ac_var=no"
25656 rm -f conftest.err conftest.$ac_objext \
25657 conftest$ac_exeext conftest.$ac_ext
25659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25660 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25661 if test `eval echo '${'$as_ac_var'}'` = yes; then
25662 cat >>confdefs.h <<_ACEOF
25663 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25664 _ACEOF
25667 done
25677 echo "$as_me:$LINENO: checking for finitel declaration" >&5
25678 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
25679 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
25680 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
25681 echo $ECHO_N "(cached) $ECHO_C" >&6
25682 else
25686 ac_ext=cc
25687 ac_cpp='$CXXCPP $CPPFLAGS'
25688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25692 cat >conftest.$ac_ext <<_ACEOF
25693 /* confdefs.h. */
25694 _ACEOF
25695 cat confdefs.h >>conftest.$ac_ext
25696 cat >>conftest.$ac_ext <<_ACEOF
25697 /* end confdefs.h. */
25698 #include <math.h>
25699 #ifdef HAVE_IEEEFP_H
25700 #include <ieeefp.h>
25701 #endif
25704 main ()
25706 finitel(0);
25708 return 0;
25710 _ACEOF
25711 rm -f conftest.$ac_objext
25712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25713 (eval $ac_compile) 2>conftest.er1
25714 ac_status=$?
25715 grep -v '^ *+' conftest.er1 >conftest.err
25716 rm -f conftest.er1
25717 cat conftest.err >&5
25718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25719 (exit $ac_status); } &&
25720 { ac_try='test -z "$ac_cxx_werror_flag"
25721 || test ! -s conftest.err'
25722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25723 (eval $ac_try) 2>&5
25724 ac_status=$?
25725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25726 (exit $ac_status); }; } &&
25727 { ac_try='test -s conftest.$ac_objext'
25728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25729 (eval $ac_try) 2>&5
25730 ac_status=$?
25731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25732 (exit $ac_status); }; }; then
25733 glibcxx_cv_func_finitel_use=yes
25734 else
25735 echo "$as_me: failed program was:" >&5
25736 sed 's/^/| /' conftest.$ac_ext >&5
25738 glibcxx_cv_func_finitel_use=no
25740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25741 ac_ext=c
25742 ac_cpp='$CPP $CPPFLAGS'
25743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25751 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
25752 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
25754 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
25756 for ac_func in finitel
25758 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25759 echo "$as_me:$LINENO: checking for $ac_func" >&5
25760 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25761 if eval "test \"\${$as_ac_var+set}\" = set"; then
25762 echo $ECHO_N "(cached) $ECHO_C" >&6
25763 else
25764 if test x$gcc_no_link = xyes; then
25765 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25766 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25767 { (exit 1); exit 1; }; }
25769 cat >conftest.$ac_ext <<_ACEOF
25770 /* confdefs.h. */
25771 _ACEOF
25772 cat confdefs.h >>conftest.$ac_ext
25773 cat >>conftest.$ac_ext <<_ACEOF
25774 /* end confdefs.h. */
25775 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25776 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25777 #define $ac_func innocuous_$ac_func
25779 /* System header to define __stub macros and hopefully few prototypes,
25780 which can conflict with char $ac_func (); below.
25781 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25782 <limits.h> exists even on freestanding compilers. */
25784 #ifdef __STDC__
25785 # include <limits.h>
25786 #else
25787 # include <assert.h>
25788 #endif
25790 #undef $ac_func
25792 /* Override any gcc2 internal prototype to avoid an error. */
25793 #ifdef __cplusplus
25794 extern "C"
25796 #endif
25797 /* We use char because int might match the return type of a gcc2
25798 builtin and then its argument prototype would still apply. */
25799 char $ac_func ();
25800 /* The GNU C library defines this for functions which it implements
25801 to always fail with ENOSYS. Some functions are actually named
25802 something starting with __ and the normal name is an alias. */
25803 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25804 choke me
25805 #else
25806 char (*f) () = $ac_func;
25807 #endif
25808 #ifdef __cplusplus
25810 #endif
25813 main ()
25815 return f != $ac_func;
25817 return 0;
25819 _ACEOF
25820 rm -f conftest.$ac_objext conftest$ac_exeext
25821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25822 (eval $ac_link) 2>conftest.er1
25823 ac_status=$?
25824 grep -v '^ *+' conftest.er1 >conftest.err
25825 rm -f conftest.er1
25826 cat conftest.err >&5
25827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25828 (exit $ac_status); } &&
25829 { ac_try='test -z "$ac_c_werror_flag"
25830 || test ! -s conftest.err'
25831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25832 (eval $ac_try) 2>&5
25833 ac_status=$?
25834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25835 (exit $ac_status); }; } &&
25836 { ac_try='test -s conftest$ac_exeext'
25837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25838 (eval $ac_try) 2>&5
25839 ac_status=$?
25840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25841 (exit $ac_status); }; }; then
25842 eval "$as_ac_var=yes"
25843 else
25844 echo "$as_me: failed program was:" >&5
25845 sed 's/^/| /' conftest.$ac_ext >&5
25847 eval "$as_ac_var=no"
25849 rm -f conftest.err conftest.$ac_objext \
25850 conftest$ac_exeext conftest.$ac_ext
25852 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25853 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25854 if test `eval echo '${'$as_ac_var'}'` = yes; then
25855 cat >>confdefs.h <<_ACEOF
25856 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25857 _ACEOF
25860 done
25862 else
25864 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
25865 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
25866 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
25867 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
25868 echo $ECHO_N "(cached) $ECHO_C" >&6
25869 else
25873 ac_ext=cc
25874 ac_cpp='$CXXCPP $CPPFLAGS'
25875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25879 cat >conftest.$ac_ext <<_ACEOF
25880 /* confdefs.h. */
25881 _ACEOF
25882 cat confdefs.h >>conftest.$ac_ext
25883 cat >>conftest.$ac_ext <<_ACEOF
25884 /* end confdefs.h. */
25885 #include <math.h>
25886 #ifdef HAVE_IEEEFP_H
25887 #include <ieeefp.h>
25888 #endif
25891 main ()
25893 _finitel(0);
25895 return 0;
25897 _ACEOF
25898 rm -f conftest.$ac_objext
25899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25900 (eval $ac_compile) 2>conftest.er1
25901 ac_status=$?
25902 grep -v '^ *+' conftest.er1 >conftest.err
25903 rm -f conftest.er1
25904 cat conftest.err >&5
25905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25906 (exit $ac_status); } &&
25907 { ac_try='test -z "$ac_cxx_werror_flag"
25908 || test ! -s conftest.err'
25909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25910 (eval $ac_try) 2>&5
25911 ac_status=$?
25912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25913 (exit $ac_status); }; } &&
25914 { ac_try='test -s conftest.$ac_objext'
25915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25916 (eval $ac_try) 2>&5
25917 ac_status=$?
25918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25919 (exit $ac_status); }; }; then
25920 glibcxx_cv_func__finitel_use=yes
25921 else
25922 echo "$as_me: failed program was:" >&5
25923 sed 's/^/| /' conftest.$ac_ext >&5
25925 glibcxx_cv_func__finitel_use=no
25927 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25928 ac_ext=c
25929 ac_cpp='$CPP $CPPFLAGS'
25930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25938 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
25939 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
25941 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
25943 for ac_func in _finitel
25945 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25946 echo "$as_me:$LINENO: checking for $ac_func" >&5
25947 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25948 if eval "test \"\${$as_ac_var+set}\" = set"; then
25949 echo $ECHO_N "(cached) $ECHO_C" >&6
25950 else
25951 if test x$gcc_no_link = xyes; then
25952 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25953 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25954 { (exit 1); exit 1; }; }
25956 cat >conftest.$ac_ext <<_ACEOF
25957 /* confdefs.h. */
25958 _ACEOF
25959 cat confdefs.h >>conftest.$ac_ext
25960 cat >>conftest.$ac_ext <<_ACEOF
25961 /* end confdefs.h. */
25962 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25963 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25964 #define $ac_func innocuous_$ac_func
25966 /* System header to define __stub macros and hopefully few prototypes,
25967 which can conflict with char $ac_func (); below.
25968 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25969 <limits.h> exists even on freestanding compilers. */
25971 #ifdef __STDC__
25972 # include <limits.h>
25973 #else
25974 # include <assert.h>
25975 #endif
25977 #undef $ac_func
25979 /* Override any gcc2 internal prototype to avoid an error. */
25980 #ifdef __cplusplus
25981 extern "C"
25983 #endif
25984 /* We use char because int might match the return type of a gcc2
25985 builtin and then its argument prototype would still apply. */
25986 char $ac_func ();
25987 /* The GNU C library defines this for functions which it implements
25988 to always fail with ENOSYS. Some functions are actually named
25989 something starting with __ and the normal name is an alias. */
25990 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25991 choke me
25992 #else
25993 char (*f) () = $ac_func;
25994 #endif
25995 #ifdef __cplusplus
25997 #endif
26000 main ()
26002 return f != $ac_func;
26004 return 0;
26006 _ACEOF
26007 rm -f conftest.$ac_objext conftest$ac_exeext
26008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26009 (eval $ac_link) 2>conftest.er1
26010 ac_status=$?
26011 grep -v '^ *+' conftest.er1 >conftest.err
26012 rm -f conftest.er1
26013 cat conftest.err >&5
26014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26015 (exit $ac_status); } &&
26016 { ac_try='test -z "$ac_c_werror_flag"
26017 || test ! -s conftest.err'
26018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26019 (eval $ac_try) 2>&5
26020 ac_status=$?
26021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26022 (exit $ac_status); }; } &&
26023 { ac_try='test -s conftest$ac_exeext'
26024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26025 (eval $ac_try) 2>&5
26026 ac_status=$?
26027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26028 (exit $ac_status); }; }; then
26029 eval "$as_ac_var=yes"
26030 else
26031 echo "$as_me: failed program was:" >&5
26032 sed 's/^/| /' conftest.$ac_ext >&5
26034 eval "$as_ac_var=no"
26036 rm -f conftest.err conftest.$ac_objext \
26037 conftest$ac_exeext conftest.$ac_ext
26039 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26040 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26041 if test `eval echo '${'$as_ac_var'}'` = yes; then
26042 cat >>confdefs.h <<_ACEOF
26043 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26044 _ACEOF
26047 done
26056 LIBS="$ac_save_LIBS"
26057 CXXFLAGS="$ac_save_CXXFLAGS"
26061 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
26062 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
26063 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
26064 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
26065 echo $ECHO_N "(cached) $ECHO_C" >&6
26066 else
26070 ac_ext=cc
26071 ac_cpp='$CXXCPP $CPPFLAGS'
26072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26076 cat >conftest.$ac_ext <<_ACEOF
26077 /* confdefs.h. */
26078 _ACEOF
26079 cat confdefs.h >>conftest.$ac_ext
26080 cat >>conftest.$ac_ext <<_ACEOF
26081 /* end confdefs.h. */
26082 #include <math.h>
26084 main ()
26086 __builtin_abs(0);
26088 return 0;
26090 _ACEOF
26091 rm -f conftest.$ac_objext
26092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26093 (eval $ac_compile) 2>conftest.er1
26094 ac_status=$?
26095 grep -v '^ *+' conftest.er1 >conftest.err
26096 rm -f conftest.er1
26097 cat conftest.err >&5
26098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26099 (exit $ac_status); } &&
26100 { ac_try='test -z "$ac_cxx_werror_flag"
26101 || test ! -s conftest.err'
26102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26103 (eval $ac_try) 2>&5
26104 ac_status=$?
26105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26106 (exit $ac_status); }; } &&
26107 { ac_try='test -s conftest.$ac_objext'
26108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26109 (eval $ac_try) 2>&5
26110 ac_status=$?
26111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26112 (exit $ac_status); }; }; then
26113 glibcxx_cv_func___builtin_abs_use=yes
26114 else
26115 echo "$as_me: failed program was:" >&5
26116 sed 's/^/| /' conftest.$ac_ext >&5
26118 glibcxx_cv_func___builtin_abs_use=no
26120 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26121 ac_ext=c
26122 ac_cpp='$CPP $CPPFLAGS'
26123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26131 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
26132 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
26133 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
26134 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
26135 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
26136 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
26137 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
26138 echo $ECHO_N "(cached) $ECHO_C" >&6
26139 else
26141 if test x$gcc_no_link = xyes; then
26142 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26143 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26144 { (exit 1); exit 1; }; }
26146 cat >conftest.$ac_ext <<_ACEOF
26147 /* confdefs.h. */
26148 _ACEOF
26149 cat confdefs.h >>conftest.$ac_ext
26150 cat >>conftest.$ac_ext <<_ACEOF
26151 /* end confdefs.h. */
26152 #include <math.h>
26154 main ()
26156 __builtin_abs(0);
26158 return 0;
26160 _ACEOF
26161 rm -f conftest.$ac_objext conftest$ac_exeext
26162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26163 (eval $ac_link) 2>conftest.er1
26164 ac_status=$?
26165 grep -v '^ *+' conftest.er1 >conftest.err
26166 rm -f conftest.er1
26167 cat conftest.err >&5
26168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26169 (exit $ac_status); } &&
26170 { ac_try='test -z "$ac_c_werror_flag"
26171 || test ! -s conftest.err'
26172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26173 (eval $ac_try) 2>&5
26174 ac_status=$?
26175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26176 (exit $ac_status); }; } &&
26177 { ac_try='test -s conftest$ac_exeext'
26178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26179 (eval $ac_try) 2>&5
26180 ac_status=$?
26181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26182 (exit $ac_status); }; }; then
26183 glibcxx_cv_func___builtin_abs_link=yes
26184 else
26185 echo "$as_me: failed program was:" >&5
26186 sed 's/^/| /' conftest.$ac_ext >&5
26188 glibcxx_cv_func___builtin_abs_link=no
26190 rm -f conftest.err conftest.$ac_objext \
26191 conftest$ac_exeext conftest.$ac_ext
26196 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
26197 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
26199 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
26201 cat >>confdefs.h <<\_ACEOF
26202 #define HAVE___BUILTIN_ABS 1
26203 _ACEOF
26210 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
26211 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
26212 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
26213 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
26214 echo $ECHO_N "(cached) $ECHO_C" >&6
26215 else
26219 ac_ext=cc
26220 ac_cpp='$CXXCPP $CPPFLAGS'
26221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26225 cat >conftest.$ac_ext <<_ACEOF
26226 /* confdefs.h. */
26227 _ACEOF
26228 cat confdefs.h >>conftest.$ac_ext
26229 cat >>conftest.$ac_ext <<_ACEOF
26230 /* end confdefs.h. */
26231 #include <math.h>
26233 main ()
26235 __builtin_fabsf(0);
26237 return 0;
26239 _ACEOF
26240 rm -f conftest.$ac_objext
26241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26242 (eval $ac_compile) 2>conftest.er1
26243 ac_status=$?
26244 grep -v '^ *+' conftest.er1 >conftest.err
26245 rm -f conftest.er1
26246 cat conftest.err >&5
26247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26248 (exit $ac_status); } &&
26249 { ac_try='test -z "$ac_cxx_werror_flag"
26250 || test ! -s conftest.err'
26251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26252 (eval $ac_try) 2>&5
26253 ac_status=$?
26254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26255 (exit $ac_status); }; } &&
26256 { ac_try='test -s conftest.$ac_objext'
26257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26258 (eval $ac_try) 2>&5
26259 ac_status=$?
26260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26261 (exit $ac_status); }; }; then
26262 glibcxx_cv_func___builtin_fabsf_use=yes
26263 else
26264 echo "$as_me: failed program was:" >&5
26265 sed 's/^/| /' conftest.$ac_ext >&5
26267 glibcxx_cv_func___builtin_fabsf_use=no
26269 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26270 ac_ext=c
26271 ac_cpp='$CPP $CPPFLAGS'
26272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26280 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
26281 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
26282 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
26283 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
26284 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
26285 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
26286 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
26287 echo $ECHO_N "(cached) $ECHO_C" >&6
26288 else
26290 if test x$gcc_no_link = xyes; then
26291 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26292 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26293 { (exit 1); exit 1; }; }
26295 cat >conftest.$ac_ext <<_ACEOF
26296 /* confdefs.h. */
26297 _ACEOF
26298 cat confdefs.h >>conftest.$ac_ext
26299 cat >>conftest.$ac_ext <<_ACEOF
26300 /* end confdefs.h. */
26301 #include <math.h>
26303 main ()
26305 __builtin_fabsf(0);
26307 return 0;
26309 _ACEOF
26310 rm -f conftest.$ac_objext conftest$ac_exeext
26311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26312 (eval $ac_link) 2>conftest.er1
26313 ac_status=$?
26314 grep -v '^ *+' conftest.er1 >conftest.err
26315 rm -f conftest.er1
26316 cat conftest.err >&5
26317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26318 (exit $ac_status); } &&
26319 { ac_try='test -z "$ac_c_werror_flag"
26320 || test ! -s conftest.err'
26321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26322 (eval $ac_try) 2>&5
26323 ac_status=$?
26324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26325 (exit $ac_status); }; } &&
26326 { ac_try='test -s conftest$ac_exeext'
26327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26328 (eval $ac_try) 2>&5
26329 ac_status=$?
26330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26331 (exit $ac_status); }; }; then
26332 glibcxx_cv_func___builtin_fabsf_link=yes
26333 else
26334 echo "$as_me: failed program was:" >&5
26335 sed 's/^/| /' conftest.$ac_ext >&5
26337 glibcxx_cv_func___builtin_fabsf_link=no
26339 rm -f conftest.err conftest.$ac_objext \
26340 conftest$ac_exeext conftest.$ac_ext
26345 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
26346 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
26348 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
26350 cat >>confdefs.h <<\_ACEOF
26351 #define HAVE___BUILTIN_FABSF 1
26352 _ACEOF
26359 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
26360 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
26361 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
26362 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
26363 echo $ECHO_N "(cached) $ECHO_C" >&6
26364 else
26368 ac_ext=cc
26369 ac_cpp='$CXXCPP $CPPFLAGS'
26370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26374 cat >conftest.$ac_ext <<_ACEOF
26375 /* confdefs.h. */
26376 _ACEOF
26377 cat confdefs.h >>conftest.$ac_ext
26378 cat >>conftest.$ac_ext <<_ACEOF
26379 /* end confdefs.h. */
26380 #include <math.h>
26382 main ()
26384 __builtin_fabs(0);
26386 return 0;
26388 _ACEOF
26389 rm -f conftest.$ac_objext
26390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26391 (eval $ac_compile) 2>conftest.er1
26392 ac_status=$?
26393 grep -v '^ *+' conftest.er1 >conftest.err
26394 rm -f conftest.er1
26395 cat conftest.err >&5
26396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26397 (exit $ac_status); } &&
26398 { ac_try='test -z "$ac_cxx_werror_flag"
26399 || test ! -s conftest.err'
26400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26401 (eval $ac_try) 2>&5
26402 ac_status=$?
26403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26404 (exit $ac_status); }; } &&
26405 { ac_try='test -s conftest.$ac_objext'
26406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26407 (eval $ac_try) 2>&5
26408 ac_status=$?
26409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26410 (exit $ac_status); }; }; then
26411 glibcxx_cv_func___builtin_fabs_use=yes
26412 else
26413 echo "$as_me: failed program was:" >&5
26414 sed 's/^/| /' conftest.$ac_ext >&5
26416 glibcxx_cv_func___builtin_fabs_use=no
26418 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26419 ac_ext=c
26420 ac_cpp='$CPP $CPPFLAGS'
26421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26429 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
26430 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
26431 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
26432 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
26433 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
26434 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
26435 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
26436 echo $ECHO_N "(cached) $ECHO_C" >&6
26437 else
26439 if test x$gcc_no_link = xyes; then
26440 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26441 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26442 { (exit 1); exit 1; }; }
26444 cat >conftest.$ac_ext <<_ACEOF
26445 /* confdefs.h. */
26446 _ACEOF
26447 cat confdefs.h >>conftest.$ac_ext
26448 cat >>conftest.$ac_ext <<_ACEOF
26449 /* end confdefs.h. */
26450 #include <math.h>
26452 main ()
26454 __builtin_fabs(0);
26456 return 0;
26458 _ACEOF
26459 rm -f conftest.$ac_objext conftest$ac_exeext
26460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26461 (eval $ac_link) 2>conftest.er1
26462 ac_status=$?
26463 grep -v '^ *+' conftest.er1 >conftest.err
26464 rm -f conftest.er1
26465 cat conftest.err >&5
26466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26467 (exit $ac_status); } &&
26468 { ac_try='test -z "$ac_c_werror_flag"
26469 || test ! -s conftest.err'
26470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26471 (eval $ac_try) 2>&5
26472 ac_status=$?
26473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26474 (exit $ac_status); }; } &&
26475 { ac_try='test -s conftest$ac_exeext'
26476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26477 (eval $ac_try) 2>&5
26478 ac_status=$?
26479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26480 (exit $ac_status); }; }; then
26481 glibcxx_cv_func___builtin_fabs_link=yes
26482 else
26483 echo "$as_me: failed program was:" >&5
26484 sed 's/^/| /' conftest.$ac_ext >&5
26486 glibcxx_cv_func___builtin_fabs_link=no
26488 rm -f conftest.err conftest.$ac_objext \
26489 conftest$ac_exeext conftest.$ac_ext
26494 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
26495 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
26497 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
26499 cat >>confdefs.h <<\_ACEOF
26500 #define HAVE___BUILTIN_FABS 1
26501 _ACEOF
26508 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
26509 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
26510 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
26511 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
26512 echo $ECHO_N "(cached) $ECHO_C" >&6
26513 else
26517 ac_ext=cc
26518 ac_cpp='$CXXCPP $CPPFLAGS'
26519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26523 cat >conftest.$ac_ext <<_ACEOF
26524 /* confdefs.h. */
26525 _ACEOF
26526 cat confdefs.h >>conftest.$ac_ext
26527 cat >>conftest.$ac_ext <<_ACEOF
26528 /* end confdefs.h. */
26529 #include <math.h>
26531 main ()
26533 __builtin_fabsl(0);
26535 return 0;
26537 _ACEOF
26538 rm -f conftest.$ac_objext
26539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26540 (eval $ac_compile) 2>conftest.er1
26541 ac_status=$?
26542 grep -v '^ *+' conftest.er1 >conftest.err
26543 rm -f conftest.er1
26544 cat conftest.err >&5
26545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26546 (exit $ac_status); } &&
26547 { ac_try='test -z "$ac_cxx_werror_flag"
26548 || test ! -s conftest.err'
26549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26550 (eval $ac_try) 2>&5
26551 ac_status=$?
26552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26553 (exit $ac_status); }; } &&
26554 { ac_try='test -s conftest.$ac_objext'
26555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26556 (eval $ac_try) 2>&5
26557 ac_status=$?
26558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26559 (exit $ac_status); }; }; then
26560 glibcxx_cv_func___builtin_fabsl_use=yes
26561 else
26562 echo "$as_me: failed program was:" >&5
26563 sed 's/^/| /' conftest.$ac_ext >&5
26565 glibcxx_cv_func___builtin_fabsl_use=no
26567 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26568 ac_ext=c
26569 ac_cpp='$CPP $CPPFLAGS'
26570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26578 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
26579 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
26580 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
26581 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
26582 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
26583 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
26584 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
26585 echo $ECHO_N "(cached) $ECHO_C" >&6
26586 else
26588 if test x$gcc_no_link = xyes; then
26589 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26590 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26591 { (exit 1); exit 1; }; }
26593 cat >conftest.$ac_ext <<_ACEOF
26594 /* confdefs.h. */
26595 _ACEOF
26596 cat confdefs.h >>conftest.$ac_ext
26597 cat >>conftest.$ac_ext <<_ACEOF
26598 /* end confdefs.h. */
26599 #include <math.h>
26601 main ()
26603 __builtin_fabsl(0);
26605 return 0;
26607 _ACEOF
26608 rm -f conftest.$ac_objext conftest$ac_exeext
26609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26610 (eval $ac_link) 2>conftest.er1
26611 ac_status=$?
26612 grep -v '^ *+' conftest.er1 >conftest.err
26613 rm -f conftest.er1
26614 cat conftest.err >&5
26615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26616 (exit $ac_status); } &&
26617 { ac_try='test -z "$ac_c_werror_flag"
26618 || test ! -s conftest.err'
26619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26620 (eval $ac_try) 2>&5
26621 ac_status=$?
26622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26623 (exit $ac_status); }; } &&
26624 { ac_try='test -s conftest$ac_exeext'
26625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26626 (eval $ac_try) 2>&5
26627 ac_status=$?
26628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26629 (exit $ac_status); }; }; then
26630 glibcxx_cv_func___builtin_fabsl_link=yes
26631 else
26632 echo "$as_me: failed program was:" >&5
26633 sed 's/^/| /' conftest.$ac_ext >&5
26635 glibcxx_cv_func___builtin_fabsl_link=no
26637 rm -f conftest.err conftest.$ac_objext \
26638 conftest$ac_exeext conftest.$ac_ext
26643 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
26644 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
26646 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
26648 cat >>confdefs.h <<\_ACEOF
26649 #define HAVE___BUILTIN_FABSL 1
26650 _ACEOF
26657 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
26658 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
26659 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
26660 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
26661 echo $ECHO_N "(cached) $ECHO_C" >&6
26662 else
26666 ac_ext=cc
26667 ac_cpp='$CXXCPP $CPPFLAGS'
26668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26672 cat >conftest.$ac_ext <<_ACEOF
26673 /* confdefs.h. */
26674 _ACEOF
26675 cat confdefs.h >>conftest.$ac_ext
26676 cat >>conftest.$ac_ext <<_ACEOF
26677 /* end confdefs.h. */
26678 #include <math.h>
26680 main ()
26682 __builtin_labs(0);
26684 return 0;
26686 _ACEOF
26687 rm -f conftest.$ac_objext
26688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26689 (eval $ac_compile) 2>conftest.er1
26690 ac_status=$?
26691 grep -v '^ *+' conftest.er1 >conftest.err
26692 rm -f conftest.er1
26693 cat conftest.err >&5
26694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26695 (exit $ac_status); } &&
26696 { ac_try='test -z "$ac_cxx_werror_flag"
26697 || test ! -s conftest.err'
26698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26699 (eval $ac_try) 2>&5
26700 ac_status=$?
26701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26702 (exit $ac_status); }; } &&
26703 { ac_try='test -s conftest.$ac_objext'
26704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26705 (eval $ac_try) 2>&5
26706 ac_status=$?
26707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26708 (exit $ac_status); }; }; then
26709 glibcxx_cv_func___builtin_labs_use=yes
26710 else
26711 echo "$as_me: failed program was:" >&5
26712 sed 's/^/| /' conftest.$ac_ext >&5
26714 glibcxx_cv_func___builtin_labs_use=no
26716 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26717 ac_ext=c
26718 ac_cpp='$CPP $CPPFLAGS'
26719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26727 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
26728 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
26729 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
26730 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
26731 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
26732 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
26733 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
26734 echo $ECHO_N "(cached) $ECHO_C" >&6
26735 else
26737 if test x$gcc_no_link = xyes; then
26738 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26739 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26740 { (exit 1); exit 1; }; }
26742 cat >conftest.$ac_ext <<_ACEOF
26743 /* confdefs.h. */
26744 _ACEOF
26745 cat confdefs.h >>conftest.$ac_ext
26746 cat >>conftest.$ac_ext <<_ACEOF
26747 /* end confdefs.h. */
26748 #include <math.h>
26750 main ()
26752 __builtin_labs(0);
26754 return 0;
26756 _ACEOF
26757 rm -f conftest.$ac_objext conftest$ac_exeext
26758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26759 (eval $ac_link) 2>conftest.er1
26760 ac_status=$?
26761 grep -v '^ *+' conftest.er1 >conftest.err
26762 rm -f conftest.er1
26763 cat conftest.err >&5
26764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26765 (exit $ac_status); } &&
26766 { ac_try='test -z "$ac_c_werror_flag"
26767 || test ! -s conftest.err'
26768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26769 (eval $ac_try) 2>&5
26770 ac_status=$?
26771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26772 (exit $ac_status); }; } &&
26773 { ac_try='test -s conftest$ac_exeext'
26774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26775 (eval $ac_try) 2>&5
26776 ac_status=$?
26777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26778 (exit $ac_status); }; }; then
26779 glibcxx_cv_func___builtin_labs_link=yes
26780 else
26781 echo "$as_me: failed program was:" >&5
26782 sed 's/^/| /' conftest.$ac_ext >&5
26784 glibcxx_cv_func___builtin_labs_link=no
26786 rm -f conftest.err conftest.$ac_objext \
26787 conftest$ac_exeext conftest.$ac_ext
26792 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
26793 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
26795 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
26797 cat >>confdefs.h <<\_ACEOF
26798 #define HAVE___BUILTIN_LABS 1
26799 _ACEOF
26807 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
26808 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
26809 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
26810 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
26811 echo $ECHO_N "(cached) $ECHO_C" >&6
26812 else
26816 ac_ext=cc
26817 ac_cpp='$CXXCPP $CPPFLAGS'
26818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26822 cat >conftest.$ac_ext <<_ACEOF
26823 /* confdefs.h. */
26824 _ACEOF
26825 cat confdefs.h >>conftest.$ac_ext
26826 cat >>conftest.$ac_ext <<_ACEOF
26827 /* end confdefs.h. */
26828 #include <math.h>
26830 main ()
26832 __builtin_sqrtf(0);
26834 return 0;
26836 _ACEOF
26837 rm -f conftest.$ac_objext
26838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26839 (eval $ac_compile) 2>conftest.er1
26840 ac_status=$?
26841 grep -v '^ *+' conftest.er1 >conftest.err
26842 rm -f conftest.er1
26843 cat conftest.err >&5
26844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26845 (exit $ac_status); } &&
26846 { ac_try='test -z "$ac_cxx_werror_flag"
26847 || test ! -s conftest.err'
26848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26849 (eval $ac_try) 2>&5
26850 ac_status=$?
26851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26852 (exit $ac_status); }; } &&
26853 { ac_try='test -s conftest.$ac_objext'
26854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26855 (eval $ac_try) 2>&5
26856 ac_status=$?
26857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26858 (exit $ac_status); }; }; then
26859 glibcxx_cv_func___builtin_sqrtf_use=yes
26860 else
26861 echo "$as_me: failed program was:" >&5
26862 sed 's/^/| /' conftest.$ac_ext >&5
26864 glibcxx_cv_func___builtin_sqrtf_use=no
26866 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26867 ac_ext=c
26868 ac_cpp='$CPP $CPPFLAGS'
26869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26877 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
26878 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
26879 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
26880 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
26881 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
26882 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
26883 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
26884 echo $ECHO_N "(cached) $ECHO_C" >&6
26885 else
26887 if test x$gcc_no_link = xyes; then
26888 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26889 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26890 { (exit 1); exit 1; }; }
26892 cat >conftest.$ac_ext <<_ACEOF
26893 /* confdefs.h. */
26894 _ACEOF
26895 cat confdefs.h >>conftest.$ac_ext
26896 cat >>conftest.$ac_ext <<_ACEOF
26897 /* end confdefs.h. */
26898 #include <math.h>
26900 main ()
26902 __builtin_sqrtf(0);
26904 return 0;
26906 _ACEOF
26907 rm -f conftest.$ac_objext conftest$ac_exeext
26908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26909 (eval $ac_link) 2>conftest.er1
26910 ac_status=$?
26911 grep -v '^ *+' conftest.er1 >conftest.err
26912 rm -f conftest.er1
26913 cat conftest.err >&5
26914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26915 (exit $ac_status); } &&
26916 { ac_try='test -z "$ac_c_werror_flag"
26917 || test ! -s conftest.err'
26918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26919 (eval $ac_try) 2>&5
26920 ac_status=$?
26921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26922 (exit $ac_status); }; } &&
26923 { ac_try='test -s conftest$ac_exeext'
26924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26925 (eval $ac_try) 2>&5
26926 ac_status=$?
26927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26928 (exit $ac_status); }; }; then
26929 glibcxx_cv_func___builtin_sqrtf_link=yes
26930 else
26931 echo "$as_me: failed program was:" >&5
26932 sed 's/^/| /' conftest.$ac_ext >&5
26934 glibcxx_cv_func___builtin_sqrtf_link=no
26936 rm -f conftest.err conftest.$ac_objext \
26937 conftest$ac_exeext conftest.$ac_ext
26942 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
26943 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
26945 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
26947 cat >>confdefs.h <<\_ACEOF
26948 #define HAVE___BUILTIN_SQRTF 1
26949 _ACEOF
26956 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
26957 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
26958 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
26959 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
26960 echo $ECHO_N "(cached) $ECHO_C" >&6
26961 else
26965 ac_ext=cc
26966 ac_cpp='$CXXCPP $CPPFLAGS'
26967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26971 cat >conftest.$ac_ext <<_ACEOF
26972 /* confdefs.h. */
26973 _ACEOF
26974 cat confdefs.h >>conftest.$ac_ext
26975 cat >>conftest.$ac_ext <<_ACEOF
26976 /* end confdefs.h. */
26977 #include <math.h>
26979 main ()
26981 __builtin_sqrt(0);
26983 return 0;
26985 _ACEOF
26986 rm -f conftest.$ac_objext
26987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26988 (eval $ac_compile) 2>conftest.er1
26989 ac_status=$?
26990 grep -v '^ *+' conftest.er1 >conftest.err
26991 rm -f conftest.er1
26992 cat conftest.err >&5
26993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26994 (exit $ac_status); } &&
26995 { ac_try='test -z "$ac_cxx_werror_flag"
26996 || test ! -s conftest.err'
26997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26998 (eval $ac_try) 2>&5
26999 ac_status=$?
27000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27001 (exit $ac_status); }; } &&
27002 { ac_try='test -s conftest.$ac_objext'
27003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27004 (eval $ac_try) 2>&5
27005 ac_status=$?
27006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27007 (exit $ac_status); }; }; then
27008 glibcxx_cv_func___builtin_sqrt_use=yes
27009 else
27010 echo "$as_me: failed program was:" >&5
27011 sed 's/^/| /' conftest.$ac_ext >&5
27013 glibcxx_cv_func___builtin_sqrt_use=no
27015 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27016 ac_ext=c
27017 ac_cpp='$CPP $CPPFLAGS'
27018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27026 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
27027 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
27028 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
27029 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
27030 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
27031 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
27032 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
27033 echo $ECHO_N "(cached) $ECHO_C" >&6
27034 else
27036 if test x$gcc_no_link = xyes; then
27037 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27038 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27039 { (exit 1); exit 1; }; }
27041 cat >conftest.$ac_ext <<_ACEOF
27042 /* confdefs.h. */
27043 _ACEOF
27044 cat confdefs.h >>conftest.$ac_ext
27045 cat >>conftest.$ac_ext <<_ACEOF
27046 /* end confdefs.h. */
27047 #include <math.h>
27049 main ()
27051 __builtin_sqrt(0);
27053 return 0;
27055 _ACEOF
27056 rm -f conftest.$ac_objext conftest$ac_exeext
27057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27058 (eval $ac_link) 2>conftest.er1
27059 ac_status=$?
27060 grep -v '^ *+' conftest.er1 >conftest.err
27061 rm -f conftest.er1
27062 cat conftest.err >&5
27063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27064 (exit $ac_status); } &&
27065 { ac_try='test -z "$ac_c_werror_flag"
27066 || test ! -s conftest.err'
27067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27068 (eval $ac_try) 2>&5
27069 ac_status=$?
27070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27071 (exit $ac_status); }; } &&
27072 { ac_try='test -s conftest$ac_exeext'
27073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27074 (eval $ac_try) 2>&5
27075 ac_status=$?
27076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27077 (exit $ac_status); }; }; then
27078 glibcxx_cv_func___builtin_sqrt_link=yes
27079 else
27080 echo "$as_me: failed program was:" >&5
27081 sed 's/^/| /' conftest.$ac_ext >&5
27083 glibcxx_cv_func___builtin_sqrt_link=no
27085 rm -f conftest.err conftest.$ac_objext \
27086 conftest$ac_exeext conftest.$ac_ext
27091 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
27092 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
27094 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
27096 cat >>confdefs.h <<\_ACEOF
27097 #define HAVE___BUILTIN_SQRT 1
27098 _ACEOF
27105 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
27106 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
27107 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
27108 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
27109 echo $ECHO_N "(cached) $ECHO_C" >&6
27110 else
27114 ac_ext=cc
27115 ac_cpp='$CXXCPP $CPPFLAGS'
27116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27120 cat >conftest.$ac_ext <<_ACEOF
27121 /* confdefs.h. */
27122 _ACEOF
27123 cat confdefs.h >>conftest.$ac_ext
27124 cat >>conftest.$ac_ext <<_ACEOF
27125 /* end confdefs.h. */
27126 #include <math.h>
27128 main ()
27130 __builtin_sqrtl(0);
27132 return 0;
27134 _ACEOF
27135 rm -f conftest.$ac_objext
27136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27137 (eval $ac_compile) 2>conftest.er1
27138 ac_status=$?
27139 grep -v '^ *+' conftest.er1 >conftest.err
27140 rm -f conftest.er1
27141 cat conftest.err >&5
27142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27143 (exit $ac_status); } &&
27144 { ac_try='test -z "$ac_cxx_werror_flag"
27145 || test ! -s conftest.err'
27146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27147 (eval $ac_try) 2>&5
27148 ac_status=$?
27149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27150 (exit $ac_status); }; } &&
27151 { ac_try='test -s conftest.$ac_objext'
27152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27153 (eval $ac_try) 2>&5
27154 ac_status=$?
27155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27156 (exit $ac_status); }; }; then
27157 glibcxx_cv_func___builtin_sqrtl_use=yes
27158 else
27159 echo "$as_me: failed program was:" >&5
27160 sed 's/^/| /' conftest.$ac_ext >&5
27162 glibcxx_cv_func___builtin_sqrtl_use=no
27164 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27165 ac_ext=c
27166 ac_cpp='$CPP $CPPFLAGS'
27167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27175 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
27176 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
27177 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
27178 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
27179 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
27180 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
27181 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
27182 echo $ECHO_N "(cached) $ECHO_C" >&6
27183 else
27185 if test x$gcc_no_link = xyes; then
27186 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27187 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27188 { (exit 1); exit 1; }; }
27190 cat >conftest.$ac_ext <<_ACEOF
27191 /* confdefs.h. */
27192 _ACEOF
27193 cat confdefs.h >>conftest.$ac_ext
27194 cat >>conftest.$ac_ext <<_ACEOF
27195 /* end confdefs.h. */
27196 #include <math.h>
27198 main ()
27200 __builtin_sqrtl(0);
27202 return 0;
27204 _ACEOF
27205 rm -f conftest.$ac_objext conftest$ac_exeext
27206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27207 (eval $ac_link) 2>conftest.er1
27208 ac_status=$?
27209 grep -v '^ *+' conftest.er1 >conftest.err
27210 rm -f conftest.er1
27211 cat conftest.err >&5
27212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27213 (exit $ac_status); } &&
27214 { ac_try='test -z "$ac_c_werror_flag"
27215 || test ! -s conftest.err'
27216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27217 (eval $ac_try) 2>&5
27218 ac_status=$?
27219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27220 (exit $ac_status); }; } &&
27221 { ac_try='test -s conftest$ac_exeext'
27222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27223 (eval $ac_try) 2>&5
27224 ac_status=$?
27225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27226 (exit $ac_status); }; }; then
27227 glibcxx_cv_func___builtin_sqrtl_link=yes
27228 else
27229 echo "$as_me: failed program was:" >&5
27230 sed 's/^/| /' conftest.$ac_ext >&5
27232 glibcxx_cv_func___builtin_sqrtl_link=no
27234 rm -f conftest.err conftest.$ac_objext \
27235 conftest$ac_exeext conftest.$ac_ext
27240 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
27241 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
27243 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
27245 cat >>confdefs.h <<\_ACEOF
27246 #define HAVE___BUILTIN_SQRTL 1
27247 _ACEOF
27255 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
27256 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
27257 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
27258 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
27259 echo $ECHO_N "(cached) $ECHO_C" >&6
27260 else
27264 ac_ext=cc
27265 ac_cpp='$CXXCPP $CPPFLAGS'
27266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27270 cat >conftest.$ac_ext <<_ACEOF
27271 /* confdefs.h. */
27272 _ACEOF
27273 cat confdefs.h >>conftest.$ac_ext
27274 cat >>conftest.$ac_ext <<_ACEOF
27275 /* end confdefs.h. */
27276 #include <math.h>
27278 main ()
27280 __builtin_sinf(0);
27282 return 0;
27284 _ACEOF
27285 rm -f conftest.$ac_objext
27286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27287 (eval $ac_compile) 2>conftest.er1
27288 ac_status=$?
27289 grep -v '^ *+' conftest.er1 >conftest.err
27290 rm -f conftest.er1
27291 cat conftest.err >&5
27292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27293 (exit $ac_status); } &&
27294 { ac_try='test -z "$ac_cxx_werror_flag"
27295 || test ! -s conftest.err'
27296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27297 (eval $ac_try) 2>&5
27298 ac_status=$?
27299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27300 (exit $ac_status); }; } &&
27301 { ac_try='test -s conftest.$ac_objext'
27302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27303 (eval $ac_try) 2>&5
27304 ac_status=$?
27305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27306 (exit $ac_status); }; }; then
27307 glibcxx_cv_func___builtin_sinf_use=yes
27308 else
27309 echo "$as_me: failed program was:" >&5
27310 sed 's/^/| /' conftest.$ac_ext >&5
27312 glibcxx_cv_func___builtin_sinf_use=no
27314 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27315 ac_ext=c
27316 ac_cpp='$CPP $CPPFLAGS'
27317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27325 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
27326 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
27327 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
27328 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
27329 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
27330 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
27331 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
27332 echo $ECHO_N "(cached) $ECHO_C" >&6
27333 else
27335 if test x$gcc_no_link = xyes; then
27336 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27337 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27338 { (exit 1); exit 1; }; }
27340 cat >conftest.$ac_ext <<_ACEOF
27341 /* confdefs.h. */
27342 _ACEOF
27343 cat confdefs.h >>conftest.$ac_ext
27344 cat >>conftest.$ac_ext <<_ACEOF
27345 /* end confdefs.h. */
27346 #include <math.h>
27348 main ()
27350 __builtin_sinf(0);
27352 return 0;
27354 _ACEOF
27355 rm -f conftest.$ac_objext conftest$ac_exeext
27356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27357 (eval $ac_link) 2>conftest.er1
27358 ac_status=$?
27359 grep -v '^ *+' conftest.er1 >conftest.err
27360 rm -f conftest.er1
27361 cat conftest.err >&5
27362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27363 (exit $ac_status); } &&
27364 { ac_try='test -z "$ac_c_werror_flag"
27365 || test ! -s conftest.err'
27366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27367 (eval $ac_try) 2>&5
27368 ac_status=$?
27369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27370 (exit $ac_status); }; } &&
27371 { ac_try='test -s conftest$ac_exeext'
27372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27373 (eval $ac_try) 2>&5
27374 ac_status=$?
27375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27376 (exit $ac_status); }; }; then
27377 glibcxx_cv_func___builtin_sinf_link=yes
27378 else
27379 echo "$as_me: failed program was:" >&5
27380 sed 's/^/| /' conftest.$ac_ext >&5
27382 glibcxx_cv_func___builtin_sinf_link=no
27384 rm -f conftest.err conftest.$ac_objext \
27385 conftest$ac_exeext conftest.$ac_ext
27390 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
27391 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
27393 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
27395 cat >>confdefs.h <<\_ACEOF
27396 #define HAVE___BUILTIN_SINF 1
27397 _ACEOF
27404 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
27405 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
27406 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
27407 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
27408 echo $ECHO_N "(cached) $ECHO_C" >&6
27409 else
27413 ac_ext=cc
27414 ac_cpp='$CXXCPP $CPPFLAGS'
27415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27419 cat >conftest.$ac_ext <<_ACEOF
27420 /* confdefs.h. */
27421 _ACEOF
27422 cat confdefs.h >>conftest.$ac_ext
27423 cat >>conftest.$ac_ext <<_ACEOF
27424 /* end confdefs.h. */
27425 #include <math.h>
27427 main ()
27429 __builtin_sin(0);
27431 return 0;
27433 _ACEOF
27434 rm -f conftest.$ac_objext
27435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27436 (eval $ac_compile) 2>conftest.er1
27437 ac_status=$?
27438 grep -v '^ *+' conftest.er1 >conftest.err
27439 rm -f conftest.er1
27440 cat conftest.err >&5
27441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27442 (exit $ac_status); } &&
27443 { ac_try='test -z "$ac_cxx_werror_flag"
27444 || test ! -s conftest.err'
27445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27446 (eval $ac_try) 2>&5
27447 ac_status=$?
27448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27449 (exit $ac_status); }; } &&
27450 { ac_try='test -s conftest.$ac_objext'
27451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27452 (eval $ac_try) 2>&5
27453 ac_status=$?
27454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27455 (exit $ac_status); }; }; then
27456 glibcxx_cv_func___builtin_sin_use=yes
27457 else
27458 echo "$as_me: failed program was:" >&5
27459 sed 's/^/| /' conftest.$ac_ext >&5
27461 glibcxx_cv_func___builtin_sin_use=no
27463 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27464 ac_ext=c
27465 ac_cpp='$CPP $CPPFLAGS'
27466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27474 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
27475 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
27476 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
27477 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
27478 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
27479 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
27480 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
27481 echo $ECHO_N "(cached) $ECHO_C" >&6
27482 else
27484 if test x$gcc_no_link = xyes; then
27485 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27486 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27487 { (exit 1); exit 1; }; }
27489 cat >conftest.$ac_ext <<_ACEOF
27490 /* confdefs.h. */
27491 _ACEOF
27492 cat confdefs.h >>conftest.$ac_ext
27493 cat >>conftest.$ac_ext <<_ACEOF
27494 /* end confdefs.h. */
27495 #include <math.h>
27497 main ()
27499 __builtin_sin(0);
27501 return 0;
27503 _ACEOF
27504 rm -f conftest.$ac_objext conftest$ac_exeext
27505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27506 (eval $ac_link) 2>conftest.er1
27507 ac_status=$?
27508 grep -v '^ *+' conftest.er1 >conftest.err
27509 rm -f conftest.er1
27510 cat conftest.err >&5
27511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27512 (exit $ac_status); } &&
27513 { ac_try='test -z "$ac_c_werror_flag"
27514 || test ! -s conftest.err'
27515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27516 (eval $ac_try) 2>&5
27517 ac_status=$?
27518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27519 (exit $ac_status); }; } &&
27520 { ac_try='test -s conftest$ac_exeext'
27521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27522 (eval $ac_try) 2>&5
27523 ac_status=$?
27524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27525 (exit $ac_status); }; }; then
27526 glibcxx_cv_func___builtin_sin_link=yes
27527 else
27528 echo "$as_me: failed program was:" >&5
27529 sed 's/^/| /' conftest.$ac_ext >&5
27531 glibcxx_cv_func___builtin_sin_link=no
27533 rm -f conftest.err conftest.$ac_objext \
27534 conftest$ac_exeext conftest.$ac_ext
27539 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
27540 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
27542 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
27544 cat >>confdefs.h <<\_ACEOF
27545 #define HAVE___BUILTIN_SIN 1
27546 _ACEOF
27553 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
27554 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
27555 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
27556 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
27557 echo $ECHO_N "(cached) $ECHO_C" >&6
27558 else
27562 ac_ext=cc
27563 ac_cpp='$CXXCPP $CPPFLAGS'
27564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27568 cat >conftest.$ac_ext <<_ACEOF
27569 /* confdefs.h. */
27570 _ACEOF
27571 cat confdefs.h >>conftest.$ac_ext
27572 cat >>conftest.$ac_ext <<_ACEOF
27573 /* end confdefs.h. */
27574 #include <math.h>
27576 main ()
27578 __builtin_sinl(0);
27580 return 0;
27582 _ACEOF
27583 rm -f conftest.$ac_objext
27584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27585 (eval $ac_compile) 2>conftest.er1
27586 ac_status=$?
27587 grep -v '^ *+' conftest.er1 >conftest.err
27588 rm -f conftest.er1
27589 cat conftest.err >&5
27590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27591 (exit $ac_status); } &&
27592 { ac_try='test -z "$ac_cxx_werror_flag"
27593 || test ! -s conftest.err'
27594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27595 (eval $ac_try) 2>&5
27596 ac_status=$?
27597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27598 (exit $ac_status); }; } &&
27599 { ac_try='test -s conftest.$ac_objext'
27600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27601 (eval $ac_try) 2>&5
27602 ac_status=$?
27603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27604 (exit $ac_status); }; }; then
27605 glibcxx_cv_func___builtin_sinl_use=yes
27606 else
27607 echo "$as_me: failed program was:" >&5
27608 sed 's/^/| /' conftest.$ac_ext >&5
27610 glibcxx_cv_func___builtin_sinl_use=no
27612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27613 ac_ext=c
27614 ac_cpp='$CPP $CPPFLAGS'
27615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27623 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
27624 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
27625 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
27626 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
27627 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
27628 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
27629 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
27630 echo $ECHO_N "(cached) $ECHO_C" >&6
27631 else
27633 if test x$gcc_no_link = xyes; then
27634 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27635 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27636 { (exit 1); exit 1; }; }
27638 cat >conftest.$ac_ext <<_ACEOF
27639 /* confdefs.h. */
27640 _ACEOF
27641 cat confdefs.h >>conftest.$ac_ext
27642 cat >>conftest.$ac_ext <<_ACEOF
27643 /* end confdefs.h. */
27644 #include <math.h>
27646 main ()
27648 __builtin_sinl(0);
27650 return 0;
27652 _ACEOF
27653 rm -f conftest.$ac_objext conftest$ac_exeext
27654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27655 (eval $ac_link) 2>conftest.er1
27656 ac_status=$?
27657 grep -v '^ *+' conftest.er1 >conftest.err
27658 rm -f conftest.er1
27659 cat conftest.err >&5
27660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27661 (exit $ac_status); } &&
27662 { ac_try='test -z "$ac_c_werror_flag"
27663 || test ! -s conftest.err'
27664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27665 (eval $ac_try) 2>&5
27666 ac_status=$?
27667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27668 (exit $ac_status); }; } &&
27669 { ac_try='test -s conftest$ac_exeext'
27670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27671 (eval $ac_try) 2>&5
27672 ac_status=$?
27673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27674 (exit $ac_status); }; }; then
27675 glibcxx_cv_func___builtin_sinl_link=yes
27676 else
27677 echo "$as_me: failed program was:" >&5
27678 sed 's/^/| /' conftest.$ac_ext >&5
27680 glibcxx_cv_func___builtin_sinl_link=no
27682 rm -f conftest.err conftest.$ac_objext \
27683 conftest$ac_exeext conftest.$ac_ext
27688 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
27689 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
27691 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
27693 cat >>confdefs.h <<\_ACEOF
27694 #define HAVE___BUILTIN_SINL 1
27695 _ACEOF
27703 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
27704 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
27705 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
27706 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
27707 echo $ECHO_N "(cached) $ECHO_C" >&6
27708 else
27712 ac_ext=cc
27713 ac_cpp='$CXXCPP $CPPFLAGS'
27714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27718 cat >conftest.$ac_ext <<_ACEOF
27719 /* confdefs.h. */
27720 _ACEOF
27721 cat confdefs.h >>conftest.$ac_ext
27722 cat >>conftest.$ac_ext <<_ACEOF
27723 /* end confdefs.h. */
27724 #include <math.h>
27726 main ()
27728 __builtin_cosf(0);
27730 return 0;
27732 _ACEOF
27733 rm -f conftest.$ac_objext
27734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27735 (eval $ac_compile) 2>conftest.er1
27736 ac_status=$?
27737 grep -v '^ *+' conftest.er1 >conftest.err
27738 rm -f conftest.er1
27739 cat conftest.err >&5
27740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27741 (exit $ac_status); } &&
27742 { ac_try='test -z "$ac_cxx_werror_flag"
27743 || test ! -s conftest.err'
27744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27745 (eval $ac_try) 2>&5
27746 ac_status=$?
27747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27748 (exit $ac_status); }; } &&
27749 { ac_try='test -s conftest.$ac_objext'
27750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27751 (eval $ac_try) 2>&5
27752 ac_status=$?
27753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27754 (exit $ac_status); }; }; then
27755 glibcxx_cv_func___builtin_cosf_use=yes
27756 else
27757 echo "$as_me: failed program was:" >&5
27758 sed 's/^/| /' conftest.$ac_ext >&5
27760 glibcxx_cv_func___builtin_cosf_use=no
27762 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27763 ac_ext=c
27764 ac_cpp='$CPP $CPPFLAGS'
27765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27773 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
27774 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
27775 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
27776 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
27777 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
27778 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
27779 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
27780 echo $ECHO_N "(cached) $ECHO_C" >&6
27781 else
27783 if test x$gcc_no_link = xyes; then
27784 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27785 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27786 { (exit 1); exit 1; }; }
27788 cat >conftest.$ac_ext <<_ACEOF
27789 /* confdefs.h. */
27790 _ACEOF
27791 cat confdefs.h >>conftest.$ac_ext
27792 cat >>conftest.$ac_ext <<_ACEOF
27793 /* end confdefs.h. */
27794 #include <math.h>
27796 main ()
27798 __builtin_cosf(0);
27800 return 0;
27802 _ACEOF
27803 rm -f conftest.$ac_objext conftest$ac_exeext
27804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27805 (eval $ac_link) 2>conftest.er1
27806 ac_status=$?
27807 grep -v '^ *+' conftest.er1 >conftest.err
27808 rm -f conftest.er1
27809 cat conftest.err >&5
27810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27811 (exit $ac_status); } &&
27812 { ac_try='test -z "$ac_c_werror_flag"
27813 || test ! -s conftest.err'
27814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27815 (eval $ac_try) 2>&5
27816 ac_status=$?
27817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27818 (exit $ac_status); }; } &&
27819 { ac_try='test -s conftest$ac_exeext'
27820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27821 (eval $ac_try) 2>&5
27822 ac_status=$?
27823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27824 (exit $ac_status); }; }; then
27825 glibcxx_cv_func___builtin_cosf_link=yes
27826 else
27827 echo "$as_me: failed program was:" >&5
27828 sed 's/^/| /' conftest.$ac_ext >&5
27830 glibcxx_cv_func___builtin_cosf_link=no
27832 rm -f conftest.err conftest.$ac_objext \
27833 conftest$ac_exeext conftest.$ac_ext
27838 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
27839 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
27841 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
27843 cat >>confdefs.h <<\_ACEOF
27844 #define HAVE___BUILTIN_COSF 1
27845 _ACEOF
27852 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
27853 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
27854 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
27855 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
27856 echo $ECHO_N "(cached) $ECHO_C" >&6
27857 else
27861 ac_ext=cc
27862 ac_cpp='$CXXCPP $CPPFLAGS'
27863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27867 cat >conftest.$ac_ext <<_ACEOF
27868 /* confdefs.h. */
27869 _ACEOF
27870 cat confdefs.h >>conftest.$ac_ext
27871 cat >>conftest.$ac_ext <<_ACEOF
27872 /* end confdefs.h. */
27873 #include <math.h>
27875 main ()
27877 __builtin_cos(0);
27879 return 0;
27881 _ACEOF
27882 rm -f conftest.$ac_objext
27883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27884 (eval $ac_compile) 2>conftest.er1
27885 ac_status=$?
27886 grep -v '^ *+' conftest.er1 >conftest.err
27887 rm -f conftest.er1
27888 cat conftest.err >&5
27889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27890 (exit $ac_status); } &&
27891 { ac_try='test -z "$ac_cxx_werror_flag"
27892 || test ! -s conftest.err'
27893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27894 (eval $ac_try) 2>&5
27895 ac_status=$?
27896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27897 (exit $ac_status); }; } &&
27898 { ac_try='test -s conftest.$ac_objext'
27899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27900 (eval $ac_try) 2>&5
27901 ac_status=$?
27902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27903 (exit $ac_status); }; }; then
27904 glibcxx_cv_func___builtin_cos_use=yes
27905 else
27906 echo "$as_me: failed program was:" >&5
27907 sed 's/^/| /' conftest.$ac_ext >&5
27909 glibcxx_cv_func___builtin_cos_use=no
27911 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27912 ac_ext=c
27913 ac_cpp='$CPP $CPPFLAGS'
27914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27922 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
27923 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
27924 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
27925 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
27926 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
27927 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
27928 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
27929 echo $ECHO_N "(cached) $ECHO_C" >&6
27930 else
27932 if test x$gcc_no_link = xyes; then
27933 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27934 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27935 { (exit 1); exit 1; }; }
27937 cat >conftest.$ac_ext <<_ACEOF
27938 /* confdefs.h. */
27939 _ACEOF
27940 cat confdefs.h >>conftest.$ac_ext
27941 cat >>conftest.$ac_ext <<_ACEOF
27942 /* end confdefs.h. */
27943 #include <math.h>
27945 main ()
27947 __builtin_cos(0);
27949 return 0;
27951 _ACEOF
27952 rm -f conftest.$ac_objext conftest$ac_exeext
27953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27954 (eval $ac_link) 2>conftest.er1
27955 ac_status=$?
27956 grep -v '^ *+' conftest.er1 >conftest.err
27957 rm -f conftest.er1
27958 cat conftest.err >&5
27959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27960 (exit $ac_status); } &&
27961 { ac_try='test -z "$ac_c_werror_flag"
27962 || test ! -s conftest.err'
27963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27964 (eval $ac_try) 2>&5
27965 ac_status=$?
27966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27967 (exit $ac_status); }; } &&
27968 { ac_try='test -s conftest$ac_exeext'
27969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27970 (eval $ac_try) 2>&5
27971 ac_status=$?
27972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27973 (exit $ac_status); }; }; then
27974 glibcxx_cv_func___builtin_cos_link=yes
27975 else
27976 echo "$as_me: failed program was:" >&5
27977 sed 's/^/| /' conftest.$ac_ext >&5
27979 glibcxx_cv_func___builtin_cos_link=no
27981 rm -f conftest.err conftest.$ac_objext \
27982 conftest$ac_exeext conftest.$ac_ext
27987 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
27988 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
27990 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
27992 cat >>confdefs.h <<\_ACEOF
27993 #define HAVE___BUILTIN_COS 1
27994 _ACEOF
28001 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
28002 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
28003 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
28004 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
28005 echo $ECHO_N "(cached) $ECHO_C" >&6
28006 else
28010 ac_ext=cc
28011 ac_cpp='$CXXCPP $CPPFLAGS'
28012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28016 cat >conftest.$ac_ext <<_ACEOF
28017 /* confdefs.h. */
28018 _ACEOF
28019 cat confdefs.h >>conftest.$ac_ext
28020 cat >>conftest.$ac_ext <<_ACEOF
28021 /* end confdefs.h. */
28022 #include <math.h>
28024 main ()
28026 __builtin_cosl(0);
28028 return 0;
28030 _ACEOF
28031 rm -f conftest.$ac_objext
28032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28033 (eval $ac_compile) 2>conftest.er1
28034 ac_status=$?
28035 grep -v '^ *+' conftest.er1 >conftest.err
28036 rm -f conftest.er1
28037 cat conftest.err >&5
28038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28039 (exit $ac_status); } &&
28040 { ac_try='test -z "$ac_cxx_werror_flag"
28041 || test ! -s conftest.err'
28042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28043 (eval $ac_try) 2>&5
28044 ac_status=$?
28045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28046 (exit $ac_status); }; } &&
28047 { ac_try='test -s conftest.$ac_objext'
28048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28049 (eval $ac_try) 2>&5
28050 ac_status=$?
28051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28052 (exit $ac_status); }; }; then
28053 glibcxx_cv_func___builtin_cosl_use=yes
28054 else
28055 echo "$as_me: failed program was:" >&5
28056 sed 's/^/| /' conftest.$ac_ext >&5
28058 glibcxx_cv_func___builtin_cosl_use=no
28060 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28061 ac_ext=c
28062 ac_cpp='$CPP $CPPFLAGS'
28063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28071 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
28072 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
28073 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
28074 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
28075 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
28076 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
28077 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
28078 echo $ECHO_N "(cached) $ECHO_C" >&6
28079 else
28081 if test x$gcc_no_link = xyes; then
28082 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28083 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28084 { (exit 1); exit 1; }; }
28086 cat >conftest.$ac_ext <<_ACEOF
28087 /* confdefs.h. */
28088 _ACEOF
28089 cat confdefs.h >>conftest.$ac_ext
28090 cat >>conftest.$ac_ext <<_ACEOF
28091 /* end confdefs.h. */
28092 #include <math.h>
28094 main ()
28096 __builtin_cosl(0);
28098 return 0;
28100 _ACEOF
28101 rm -f conftest.$ac_objext conftest$ac_exeext
28102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28103 (eval $ac_link) 2>conftest.er1
28104 ac_status=$?
28105 grep -v '^ *+' conftest.er1 >conftest.err
28106 rm -f conftest.er1
28107 cat conftest.err >&5
28108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28109 (exit $ac_status); } &&
28110 { ac_try='test -z "$ac_c_werror_flag"
28111 || test ! -s conftest.err'
28112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28113 (eval $ac_try) 2>&5
28114 ac_status=$?
28115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28116 (exit $ac_status); }; } &&
28117 { ac_try='test -s conftest$ac_exeext'
28118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28119 (eval $ac_try) 2>&5
28120 ac_status=$?
28121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28122 (exit $ac_status); }; }; then
28123 glibcxx_cv_func___builtin_cosl_link=yes
28124 else
28125 echo "$as_me: failed program was:" >&5
28126 sed 's/^/| /' conftest.$ac_ext >&5
28128 glibcxx_cv_func___builtin_cosl_link=no
28130 rm -f conftest.err conftest.$ac_objext \
28131 conftest$ac_exeext conftest.$ac_ext
28136 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
28137 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
28139 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
28141 cat >>confdefs.h <<\_ACEOF
28142 #define HAVE___BUILTIN_COSL 1
28143 _ACEOF
28152 echo "$as_me:$LINENO: checking for main in -lm" >&5
28153 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
28154 if test "${ac_cv_lib_m_main+set}" = set; then
28155 echo $ECHO_N "(cached) $ECHO_C" >&6
28156 else
28157 ac_check_lib_save_LIBS=$LIBS
28158 LIBS="-lm $LIBS"
28159 if test x$gcc_no_link = xyes; then
28160 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28161 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28162 { (exit 1); exit 1; }; }
28164 cat >conftest.$ac_ext <<_ACEOF
28165 /* confdefs.h. */
28166 _ACEOF
28167 cat confdefs.h >>conftest.$ac_ext
28168 cat >>conftest.$ac_ext <<_ACEOF
28169 /* end confdefs.h. */
28173 main ()
28175 main ();
28177 return 0;
28179 _ACEOF
28180 rm -f conftest.$ac_objext conftest$ac_exeext
28181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28182 (eval $ac_link) 2>conftest.er1
28183 ac_status=$?
28184 grep -v '^ *+' conftest.er1 >conftest.err
28185 rm -f conftest.er1
28186 cat conftest.err >&5
28187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28188 (exit $ac_status); } &&
28189 { ac_try='test -z "$ac_c_werror_flag"
28190 || test ! -s conftest.err'
28191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28192 (eval $ac_try) 2>&5
28193 ac_status=$?
28194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28195 (exit $ac_status); }; } &&
28196 { ac_try='test -s conftest$ac_exeext'
28197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28198 (eval $ac_try) 2>&5
28199 ac_status=$?
28200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28201 (exit $ac_status); }; }; then
28202 ac_cv_lib_m_main=yes
28203 else
28204 echo "$as_me: failed program was:" >&5
28205 sed 's/^/| /' conftest.$ac_ext >&5
28207 ac_cv_lib_m_main=no
28209 rm -f conftest.err conftest.$ac_objext \
28210 conftest$ac_exeext conftest.$ac_ext
28211 LIBS=$ac_check_lib_save_LIBS
28213 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
28214 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
28215 if test $ac_cv_lib_m_main = yes; then
28216 cat >>confdefs.h <<_ACEOF
28217 #define HAVE_LIBM 1
28218 _ACEOF
28220 LIBS="-lm $LIBS"
28225 for ac_func in copysignf
28227 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28228 echo "$as_me:$LINENO: checking for $ac_func" >&5
28229 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28230 if eval "test \"\${$as_ac_var+set}\" = set"; then
28231 echo $ECHO_N "(cached) $ECHO_C" >&6
28232 else
28233 if test x$gcc_no_link = xyes; then
28234 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28235 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28236 { (exit 1); exit 1; }; }
28238 cat >conftest.$ac_ext <<_ACEOF
28239 /* confdefs.h. */
28240 _ACEOF
28241 cat confdefs.h >>conftest.$ac_ext
28242 cat >>conftest.$ac_ext <<_ACEOF
28243 /* end confdefs.h. */
28244 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28245 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28246 #define $ac_func innocuous_$ac_func
28248 /* System header to define __stub macros and hopefully few prototypes,
28249 which can conflict with char $ac_func (); below.
28250 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28251 <limits.h> exists even on freestanding compilers. */
28253 #ifdef __STDC__
28254 # include <limits.h>
28255 #else
28256 # include <assert.h>
28257 #endif
28259 #undef $ac_func
28261 /* Override any gcc2 internal prototype to avoid an error. */
28262 #ifdef __cplusplus
28263 extern "C"
28265 #endif
28266 /* We use char because int might match the return type of a gcc2
28267 builtin and then its argument prototype would still apply. */
28268 char $ac_func ();
28269 /* The GNU C library defines this for functions which it implements
28270 to always fail with ENOSYS. Some functions are actually named
28271 something starting with __ and the normal name is an alias. */
28272 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28273 choke me
28274 #else
28275 char (*f) () = $ac_func;
28276 #endif
28277 #ifdef __cplusplus
28279 #endif
28282 main ()
28284 return f != $ac_func;
28286 return 0;
28288 _ACEOF
28289 rm -f conftest.$ac_objext conftest$ac_exeext
28290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28291 (eval $ac_link) 2>conftest.er1
28292 ac_status=$?
28293 grep -v '^ *+' conftest.er1 >conftest.err
28294 rm -f conftest.er1
28295 cat conftest.err >&5
28296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28297 (exit $ac_status); } &&
28298 { ac_try='test -z "$ac_c_werror_flag"
28299 || test ! -s conftest.err'
28300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28301 (eval $ac_try) 2>&5
28302 ac_status=$?
28303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28304 (exit $ac_status); }; } &&
28305 { ac_try='test -s conftest$ac_exeext'
28306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28307 (eval $ac_try) 2>&5
28308 ac_status=$?
28309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28310 (exit $ac_status); }; }; then
28311 eval "$as_ac_var=yes"
28312 else
28313 echo "$as_me: failed program was:" >&5
28314 sed 's/^/| /' conftest.$ac_ext >&5
28316 eval "$as_ac_var=no"
28318 rm -f conftest.err conftest.$ac_objext \
28319 conftest$ac_exeext conftest.$ac_ext
28321 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28322 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28323 if test `eval echo '${'$as_ac_var'}'` = yes; then
28324 cat >>confdefs.h <<_ACEOF
28325 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28326 _ACEOF
28328 else
28329 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
28331 done
28335 for ac_func in __signbit
28337 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28338 echo "$as_me:$LINENO: checking for $ac_func" >&5
28339 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28340 if eval "test \"\${$as_ac_var+set}\" = set"; then
28341 echo $ECHO_N "(cached) $ECHO_C" >&6
28342 else
28343 if test x$gcc_no_link = xyes; then
28344 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28345 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28346 { (exit 1); exit 1; }; }
28348 cat >conftest.$ac_ext <<_ACEOF
28349 /* confdefs.h. */
28350 _ACEOF
28351 cat confdefs.h >>conftest.$ac_ext
28352 cat >>conftest.$ac_ext <<_ACEOF
28353 /* end confdefs.h. */
28354 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28355 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28356 #define $ac_func innocuous_$ac_func
28358 /* System header to define __stub macros and hopefully few prototypes,
28359 which can conflict with char $ac_func (); below.
28360 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28361 <limits.h> exists even on freestanding compilers. */
28363 #ifdef __STDC__
28364 # include <limits.h>
28365 #else
28366 # include <assert.h>
28367 #endif
28369 #undef $ac_func
28371 /* Override any gcc2 internal prototype to avoid an error. */
28372 #ifdef __cplusplus
28373 extern "C"
28375 #endif
28376 /* We use char because int might match the return type of a gcc2
28377 builtin and then its argument prototype would still apply. */
28378 char $ac_func ();
28379 /* The GNU C library defines this for functions which it implements
28380 to always fail with ENOSYS. Some functions are actually named
28381 something starting with __ and the normal name is an alias. */
28382 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28383 choke me
28384 #else
28385 char (*f) () = $ac_func;
28386 #endif
28387 #ifdef __cplusplus
28389 #endif
28392 main ()
28394 return f != $ac_func;
28396 return 0;
28398 _ACEOF
28399 rm -f conftest.$ac_objext conftest$ac_exeext
28400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28401 (eval $ac_link) 2>conftest.er1
28402 ac_status=$?
28403 grep -v '^ *+' conftest.er1 >conftest.err
28404 rm -f conftest.er1
28405 cat conftest.err >&5
28406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28407 (exit $ac_status); } &&
28408 { ac_try='test -z "$ac_c_werror_flag"
28409 || test ! -s conftest.err'
28410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28411 (eval $ac_try) 2>&5
28412 ac_status=$?
28413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28414 (exit $ac_status); }; } &&
28415 { ac_try='test -s conftest$ac_exeext'
28416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28417 (eval $ac_try) 2>&5
28418 ac_status=$?
28419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28420 (exit $ac_status); }; }; then
28421 eval "$as_ac_var=yes"
28422 else
28423 echo "$as_me: failed program was:" >&5
28424 sed 's/^/| /' conftest.$ac_ext >&5
28426 eval "$as_ac_var=no"
28428 rm -f conftest.err conftest.$ac_objext \
28429 conftest$ac_exeext conftest.$ac_ext
28431 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28432 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28433 if test `eval echo '${'$as_ac_var'}'` = yes; then
28434 cat >>confdefs.h <<_ACEOF
28435 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28436 _ACEOF
28438 else
28439 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
28441 done
28445 for ac_func in __signbitf
28447 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28448 echo "$as_me:$LINENO: checking for $ac_func" >&5
28449 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28450 if eval "test \"\${$as_ac_var+set}\" = set"; then
28451 echo $ECHO_N "(cached) $ECHO_C" >&6
28452 else
28453 if test x$gcc_no_link = xyes; then
28454 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28455 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28456 { (exit 1); exit 1; }; }
28458 cat >conftest.$ac_ext <<_ACEOF
28459 /* confdefs.h. */
28460 _ACEOF
28461 cat confdefs.h >>conftest.$ac_ext
28462 cat >>conftest.$ac_ext <<_ACEOF
28463 /* end confdefs.h. */
28464 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28465 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28466 #define $ac_func innocuous_$ac_func
28468 /* System header to define __stub macros and hopefully few prototypes,
28469 which can conflict with char $ac_func (); below.
28470 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28471 <limits.h> exists even on freestanding compilers. */
28473 #ifdef __STDC__
28474 # include <limits.h>
28475 #else
28476 # include <assert.h>
28477 #endif
28479 #undef $ac_func
28481 /* Override any gcc2 internal prototype to avoid an error. */
28482 #ifdef __cplusplus
28483 extern "C"
28485 #endif
28486 /* We use char because int might match the return type of a gcc2
28487 builtin and then its argument prototype would still apply. */
28488 char $ac_func ();
28489 /* The GNU C library defines this for functions which it implements
28490 to always fail with ENOSYS. Some functions are actually named
28491 something starting with __ and the normal name is an alias. */
28492 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28493 choke me
28494 #else
28495 char (*f) () = $ac_func;
28496 #endif
28497 #ifdef __cplusplus
28499 #endif
28502 main ()
28504 return f != $ac_func;
28506 return 0;
28508 _ACEOF
28509 rm -f conftest.$ac_objext conftest$ac_exeext
28510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28511 (eval $ac_link) 2>conftest.er1
28512 ac_status=$?
28513 grep -v '^ *+' conftest.er1 >conftest.err
28514 rm -f conftest.er1
28515 cat conftest.err >&5
28516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28517 (exit $ac_status); } &&
28518 { ac_try='test -z "$ac_c_werror_flag"
28519 || test ! -s conftest.err'
28520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28521 (eval $ac_try) 2>&5
28522 ac_status=$?
28523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28524 (exit $ac_status); }; } &&
28525 { ac_try='test -s conftest$ac_exeext'
28526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28527 (eval $ac_try) 2>&5
28528 ac_status=$?
28529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28530 (exit $ac_status); }; }; then
28531 eval "$as_ac_var=yes"
28532 else
28533 echo "$as_me: failed program was:" >&5
28534 sed 's/^/| /' conftest.$ac_ext >&5
28536 eval "$as_ac_var=no"
28538 rm -f conftest.err conftest.$ac_objext \
28539 conftest$ac_exeext conftest.$ac_ext
28541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28542 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28543 if test `eval echo '${'$as_ac_var'}'` = yes; then
28544 cat >>confdefs.h <<_ACEOF
28545 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28546 _ACEOF
28548 else
28549 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
28551 done
28554 if test x$ac_cv_func_copysignl = x"yes"; then
28556 for ac_func in __signbitl
28558 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28559 echo "$as_me:$LINENO: checking for $ac_func" >&5
28560 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28561 if eval "test \"\${$as_ac_var+set}\" = set"; then
28562 echo $ECHO_N "(cached) $ECHO_C" >&6
28563 else
28564 if test x$gcc_no_link = xyes; then
28565 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28566 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28567 { (exit 1); exit 1; }; }
28569 cat >conftest.$ac_ext <<_ACEOF
28570 /* confdefs.h. */
28571 _ACEOF
28572 cat confdefs.h >>conftest.$ac_ext
28573 cat >>conftest.$ac_ext <<_ACEOF
28574 /* end confdefs.h. */
28575 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28576 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28577 #define $ac_func innocuous_$ac_func
28579 /* System header to define __stub macros and hopefully few prototypes,
28580 which can conflict with char $ac_func (); below.
28581 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28582 <limits.h> exists even on freestanding compilers. */
28584 #ifdef __STDC__
28585 # include <limits.h>
28586 #else
28587 # include <assert.h>
28588 #endif
28590 #undef $ac_func
28592 /* Override any gcc2 internal prototype to avoid an error. */
28593 #ifdef __cplusplus
28594 extern "C"
28596 #endif
28597 /* We use char because int might match the return type of a gcc2
28598 builtin and then its argument prototype would still apply. */
28599 char $ac_func ();
28600 /* The GNU C library defines this for functions which it implements
28601 to always fail with ENOSYS. Some functions are actually named
28602 something starting with __ and the normal name is an alias. */
28603 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28604 choke me
28605 #else
28606 char (*f) () = $ac_func;
28607 #endif
28608 #ifdef __cplusplus
28610 #endif
28613 main ()
28615 return f != $ac_func;
28617 return 0;
28619 _ACEOF
28620 rm -f conftest.$ac_objext conftest$ac_exeext
28621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28622 (eval $ac_link) 2>conftest.er1
28623 ac_status=$?
28624 grep -v '^ *+' conftest.er1 >conftest.err
28625 rm -f conftest.er1
28626 cat conftest.err >&5
28627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28628 (exit $ac_status); } &&
28629 { ac_try='test -z "$ac_c_werror_flag"
28630 || test ! -s conftest.err'
28631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28632 (eval $ac_try) 2>&5
28633 ac_status=$?
28634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28635 (exit $ac_status); }; } &&
28636 { ac_try='test -s conftest$ac_exeext'
28637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28638 (eval $ac_try) 2>&5
28639 ac_status=$?
28640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28641 (exit $ac_status); }; }; then
28642 eval "$as_ac_var=yes"
28643 else
28644 echo "$as_me: failed program was:" >&5
28645 sed 's/^/| /' conftest.$ac_ext >&5
28647 eval "$as_ac_var=no"
28649 rm -f conftest.err conftest.$ac_objext \
28650 conftest$ac_exeext conftest.$ac_ext
28652 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28653 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28654 if test `eval echo '${'$as_ac_var'}'` = yes; then
28655 cat >>confdefs.h <<_ACEOF
28656 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28657 _ACEOF
28659 else
28660 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
28662 done
28666 # Used in libmath/Makefile.am.
28667 if test -n "$LIBMATHOBJS"; then
28668 need_libmath=yes
28673 ac_test_CXXFLAGS="${CXXFLAGS+set}"
28674 ac_save_CXXFLAGS="$CXXFLAGS"
28675 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
28678 echo "$as_me:$LINENO: checking for strtold declaration" >&5
28679 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
28680 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
28681 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
28682 echo $ECHO_N "(cached) $ECHO_C" >&6
28683 else
28687 ac_ext=cc
28688 ac_cpp='$CXXCPP $CPPFLAGS'
28689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28693 cat >conftest.$ac_ext <<_ACEOF
28694 /* confdefs.h. */
28695 _ACEOF
28696 cat confdefs.h >>conftest.$ac_ext
28697 cat >>conftest.$ac_ext <<_ACEOF
28698 /* end confdefs.h. */
28699 #include <stdlib.h>
28701 main ()
28703 strtold(0, 0);
28705 return 0;
28707 _ACEOF
28708 rm -f conftest.$ac_objext
28709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28710 (eval $ac_compile) 2>conftest.er1
28711 ac_status=$?
28712 grep -v '^ *+' conftest.er1 >conftest.err
28713 rm -f conftest.er1
28714 cat conftest.err >&5
28715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28716 (exit $ac_status); } &&
28717 { ac_try='test -z "$ac_cxx_werror_flag"
28718 || test ! -s conftest.err'
28719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28720 (eval $ac_try) 2>&5
28721 ac_status=$?
28722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28723 (exit $ac_status); }; } &&
28724 { ac_try='test -s conftest.$ac_objext'
28725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28726 (eval $ac_try) 2>&5
28727 ac_status=$?
28728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28729 (exit $ac_status); }; }; then
28730 glibcxx_cv_func_strtold_use=yes
28731 else
28732 echo "$as_me: failed program was:" >&5
28733 sed 's/^/| /' conftest.$ac_ext >&5
28735 glibcxx_cv_func_strtold_use=no
28737 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28738 ac_ext=c
28739 ac_cpp='$CPP $CPPFLAGS'
28740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28748 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
28749 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
28750 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
28752 for ac_func in strtold
28754 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28755 echo "$as_me:$LINENO: checking for $ac_func" >&5
28756 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28757 if eval "test \"\${$as_ac_var+set}\" = set"; then
28758 echo $ECHO_N "(cached) $ECHO_C" >&6
28759 else
28760 if test x$gcc_no_link = xyes; then
28761 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28762 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28763 { (exit 1); exit 1; }; }
28765 cat >conftest.$ac_ext <<_ACEOF
28766 /* confdefs.h. */
28767 _ACEOF
28768 cat confdefs.h >>conftest.$ac_ext
28769 cat >>conftest.$ac_ext <<_ACEOF
28770 /* end confdefs.h. */
28771 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28772 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28773 #define $ac_func innocuous_$ac_func
28775 /* System header to define __stub macros and hopefully few prototypes,
28776 which can conflict with char $ac_func (); below.
28777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28778 <limits.h> exists even on freestanding compilers. */
28780 #ifdef __STDC__
28781 # include <limits.h>
28782 #else
28783 # include <assert.h>
28784 #endif
28786 #undef $ac_func
28788 /* Override any gcc2 internal prototype to avoid an error. */
28789 #ifdef __cplusplus
28790 extern "C"
28792 #endif
28793 /* We use char because int might match the return type of a gcc2
28794 builtin and then its argument prototype would still apply. */
28795 char $ac_func ();
28796 /* The GNU C library defines this for functions which it implements
28797 to always fail with ENOSYS. Some functions are actually named
28798 something starting with __ and the normal name is an alias. */
28799 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28800 choke me
28801 #else
28802 char (*f) () = $ac_func;
28803 #endif
28804 #ifdef __cplusplus
28806 #endif
28809 main ()
28811 return f != $ac_func;
28813 return 0;
28815 _ACEOF
28816 rm -f conftest.$ac_objext conftest$ac_exeext
28817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28818 (eval $ac_link) 2>conftest.er1
28819 ac_status=$?
28820 grep -v '^ *+' conftest.er1 >conftest.err
28821 rm -f conftest.er1
28822 cat conftest.err >&5
28823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28824 (exit $ac_status); } &&
28825 { ac_try='test -z "$ac_c_werror_flag"
28826 || test ! -s conftest.err'
28827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28828 (eval $ac_try) 2>&5
28829 ac_status=$?
28830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28831 (exit $ac_status); }; } &&
28832 { ac_try='test -s conftest$ac_exeext'
28833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28834 (eval $ac_try) 2>&5
28835 ac_status=$?
28836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28837 (exit $ac_status); }; }; then
28838 eval "$as_ac_var=yes"
28839 else
28840 echo "$as_me: failed program was:" >&5
28841 sed 's/^/| /' conftest.$ac_ext >&5
28843 eval "$as_ac_var=no"
28845 rm -f conftest.err conftest.$ac_objext \
28846 conftest$ac_exeext conftest.$ac_ext
28848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28849 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28850 if test `eval echo '${'$as_ac_var'}'` = yes; then
28851 cat >>confdefs.h <<_ACEOF
28852 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28853 _ACEOF
28856 done
28864 echo "$as_me:$LINENO: checking for strtof declaration" >&5
28865 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
28866 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
28867 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
28868 echo $ECHO_N "(cached) $ECHO_C" >&6
28869 else
28873 ac_ext=cc
28874 ac_cpp='$CXXCPP $CPPFLAGS'
28875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28879 cat >conftest.$ac_ext <<_ACEOF
28880 /* confdefs.h. */
28881 _ACEOF
28882 cat confdefs.h >>conftest.$ac_ext
28883 cat >>conftest.$ac_ext <<_ACEOF
28884 /* end confdefs.h. */
28885 #include <stdlib.h>
28887 main ()
28889 strtof(0, 0);
28891 return 0;
28893 _ACEOF
28894 rm -f conftest.$ac_objext
28895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28896 (eval $ac_compile) 2>conftest.er1
28897 ac_status=$?
28898 grep -v '^ *+' conftest.er1 >conftest.err
28899 rm -f conftest.er1
28900 cat conftest.err >&5
28901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28902 (exit $ac_status); } &&
28903 { ac_try='test -z "$ac_cxx_werror_flag"
28904 || test ! -s conftest.err'
28905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28906 (eval $ac_try) 2>&5
28907 ac_status=$?
28908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28909 (exit $ac_status); }; } &&
28910 { ac_try='test -s conftest.$ac_objext'
28911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28912 (eval $ac_try) 2>&5
28913 ac_status=$?
28914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28915 (exit $ac_status); }; }; then
28916 glibcxx_cv_func_strtof_use=yes
28917 else
28918 echo "$as_me: failed program was:" >&5
28919 sed 's/^/| /' conftest.$ac_ext >&5
28921 glibcxx_cv_func_strtof_use=no
28923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28924 ac_ext=c
28925 ac_cpp='$CPP $CPPFLAGS'
28926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28934 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
28935 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
28936 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
28938 for ac_func in strtof
28940 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28941 echo "$as_me:$LINENO: checking for $ac_func" >&5
28942 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28943 if eval "test \"\${$as_ac_var+set}\" = set"; then
28944 echo $ECHO_N "(cached) $ECHO_C" >&6
28945 else
28946 if test x$gcc_no_link = xyes; then
28947 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28948 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28949 { (exit 1); exit 1; }; }
28951 cat >conftest.$ac_ext <<_ACEOF
28952 /* confdefs.h. */
28953 _ACEOF
28954 cat confdefs.h >>conftest.$ac_ext
28955 cat >>conftest.$ac_ext <<_ACEOF
28956 /* end confdefs.h. */
28957 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28958 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28959 #define $ac_func innocuous_$ac_func
28961 /* System header to define __stub macros and hopefully few prototypes,
28962 which can conflict with char $ac_func (); below.
28963 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28964 <limits.h> exists even on freestanding compilers. */
28966 #ifdef __STDC__
28967 # include <limits.h>
28968 #else
28969 # include <assert.h>
28970 #endif
28972 #undef $ac_func
28974 /* Override any gcc2 internal prototype to avoid an error. */
28975 #ifdef __cplusplus
28976 extern "C"
28978 #endif
28979 /* We use char because int might match the return type of a gcc2
28980 builtin and then its argument prototype would still apply. */
28981 char $ac_func ();
28982 /* The GNU C library defines this for functions which it implements
28983 to always fail with ENOSYS. Some functions are actually named
28984 something starting with __ and the normal name is an alias. */
28985 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28986 choke me
28987 #else
28988 char (*f) () = $ac_func;
28989 #endif
28990 #ifdef __cplusplus
28992 #endif
28995 main ()
28997 return f != $ac_func;
28999 return 0;
29001 _ACEOF
29002 rm -f conftest.$ac_objext conftest$ac_exeext
29003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29004 (eval $ac_link) 2>conftest.er1
29005 ac_status=$?
29006 grep -v '^ *+' conftest.er1 >conftest.err
29007 rm -f conftest.er1
29008 cat conftest.err >&5
29009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29010 (exit $ac_status); } &&
29011 { ac_try='test -z "$ac_c_werror_flag"
29012 || test ! -s conftest.err'
29013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29014 (eval $ac_try) 2>&5
29015 ac_status=$?
29016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29017 (exit $ac_status); }; } &&
29018 { ac_try='test -s conftest$ac_exeext'
29019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29020 (eval $ac_try) 2>&5
29021 ac_status=$?
29022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29023 (exit $ac_status); }; }; then
29024 eval "$as_ac_var=yes"
29025 else
29026 echo "$as_me: failed program was:" >&5
29027 sed 's/^/| /' conftest.$ac_ext >&5
29029 eval "$as_ac_var=no"
29031 rm -f conftest.err conftest.$ac_objext \
29032 conftest$ac_exeext conftest.$ac_ext
29034 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29035 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29036 if test `eval echo '${'$as_ac_var'}'` = yes; then
29037 cat >>confdefs.h <<_ACEOF
29038 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29039 _ACEOF
29042 done
29050 CXXFLAGS="$ac_save_CXXFLAGS"
29053 # For showmanyc_helper().
29056 for ac_header in sys/ioctl.h sys/filio.h
29058 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29059 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29060 echo "$as_me:$LINENO: checking for $ac_header" >&5
29061 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29062 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29063 echo $ECHO_N "(cached) $ECHO_C" >&6
29065 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29066 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29067 else
29068 # Is the header compilable?
29069 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29070 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29071 cat >conftest.$ac_ext <<_ACEOF
29072 /* confdefs.h. */
29073 _ACEOF
29074 cat confdefs.h >>conftest.$ac_ext
29075 cat >>conftest.$ac_ext <<_ACEOF
29076 /* end confdefs.h. */
29077 $ac_includes_default
29078 #include <$ac_header>
29079 _ACEOF
29080 rm -f conftest.$ac_objext
29081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29082 (eval $ac_compile) 2>conftest.er1
29083 ac_status=$?
29084 grep -v '^ *+' conftest.er1 >conftest.err
29085 rm -f conftest.er1
29086 cat conftest.err >&5
29087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29088 (exit $ac_status); } &&
29089 { ac_try='test -z "$ac_c_werror_flag"
29090 || test ! -s conftest.err'
29091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29092 (eval $ac_try) 2>&5
29093 ac_status=$?
29094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29095 (exit $ac_status); }; } &&
29096 { ac_try='test -s conftest.$ac_objext'
29097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29098 (eval $ac_try) 2>&5
29099 ac_status=$?
29100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29101 (exit $ac_status); }; }; then
29102 ac_header_compiler=yes
29103 else
29104 echo "$as_me: failed program was:" >&5
29105 sed 's/^/| /' conftest.$ac_ext >&5
29107 ac_header_compiler=no
29109 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29110 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29111 echo "${ECHO_T}$ac_header_compiler" >&6
29113 # Is the header present?
29114 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29115 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29116 cat >conftest.$ac_ext <<_ACEOF
29117 /* confdefs.h. */
29118 _ACEOF
29119 cat confdefs.h >>conftest.$ac_ext
29120 cat >>conftest.$ac_ext <<_ACEOF
29121 /* end confdefs.h. */
29122 #include <$ac_header>
29123 _ACEOF
29124 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29125 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29126 ac_status=$?
29127 grep -v '^ *+' conftest.er1 >conftest.err
29128 rm -f conftest.er1
29129 cat conftest.err >&5
29130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29131 (exit $ac_status); } >/dev/null; then
29132 if test -s conftest.err; then
29133 ac_cpp_err=$ac_c_preproc_warn_flag
29134 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29135 else
29136 ac_cpp_err=
29138 else
29139 ac_cpp_err=yes
29141 if test -z "$ac_cpp_err"; then
29142 ac_header_preproc=yes
29143 else
29144 echo "$as_me: failed program was:" >&5
29145 sed 's/^/| /' conftest.$ac_ext >&5
29147 ac_header_preproc=no
29149 rm -f conftest.err conftest.$ac_ext
29150 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29151 echo "${ECHO_T}$ac_header_preproc" >&6
29153 # So? What about this header?
29154 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29155 yes:no: )
29156 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29157 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29158 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29159 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29160 ac_header_preproc=yes
29162 no:yes:* )
29163 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29164 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29165 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29166 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29167 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29168 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29169 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29170 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29171 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29172 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29173 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29174 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29176 cat <<\_ASBOX
29177 ## ----------------------------------------- ##
29178 ## Report this to the package-unused lists. ##
29179 ## ----------------------------------------- ##
29180 _ASBOX
29182 sed "s/^/$as_me: WARNING: /" >&2
29184 esac
29185 echo "$as_me:$LINENO: checking for $ac_header" >&5
29186 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29187 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29188 echo $ECHO_N "(cached) $ECHO_C" >&6
29189 else
29190 eval "$as_ac_Header=\$ac_header_preproc"
29192 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29193 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29196 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29197 cat >>confdefs.h <<_ACEOF
29198 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29199 _ACEOF
29203 done
29206 echo "$as_me:$LINENO: checking for poll" >&5
29207 echo $ECHO_N "checking for poll... $ECHO_C" >&6
29208 if test "${glibcxx_cv_POLL+set}" = set; then
29209 echo $ECHO_N "(cached) $ECHO_C" >&6
29210 else
29212 if test x$gcc_no_link = xyes; then
29213 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29214 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29215 { (exit 1); exit 1; }; }
29217 cat >conftest.$ac_ext <<_ACEOF
29218 /* confdefs.h. */
29219 _ACEOF
29220 cat confdefs.h >>conftest.$ac_ext
29221 cat >>conftest.$ac_ext <<_ACEOF
29222 /* end confdefs.h. */
29223 #include <poll.h>
29225 main ()
29227 struct pollfd pfd[1];
29228 pfd[0].events = POLLIN;
29229 poll(pfd, 1, 0);
29231 return 0;
29233 _ACEOF
29234 rm -f conftest.$ac_objext conftest$ac_exeext
29235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29236 (eval $ac_link) 2>conftest.er1
29237 ac_status=$?
29238 grep -v '^ *+' conftest.er1 >conftest.err
29239 rm -f conftest.er1
29240 cat conftest.err >&5
29241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29242 (exit $ac_status); } &&
29243 { ac_try='test -z "$ac_c_werror_flag"
29244 || test ! -s conftest.err'
29245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29246 (eval $ac_try) 2>&5
29247 ac_status=$?
29248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29249 (exit $ac_status); }; } &&
29250 { ac_try='test -s conftest$ac_exeext'
29251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29252 (eval $ac_try) 2>&5
29253 ac_status=$?
29254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29255 (exit $ac_status); }; }; then
29256 glibcxx_cv_POLL=yes
29257 else
29258 echo "$as_me: failed program was:" >&5
29259 sed 's/^/| /' conftest.$ac_ext >&5
29261 glibcxx_cv_POLL=no
29263 rm -f conftest.err conftest.$ac_objext \
29264 conftest$ac_exeext conftest.$ac_ext
29268 if test $glibcxx_cv_POLL = yes; then
29270 cat >>confdefs.h <<\_ACEOF
29271 #define HAVE_POLL 1
29272 _ACEOF
29275 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
29276 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
29279 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
29280 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
29281 if test "${glibcxx_cv_S_ISREG+set}" = set; then
29282 echo $ECHO_N "(cached) $ECHO_C" >&6
29283 else
29285 if test x$gcc_no_link = xyes; then
29286 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29287 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29288 { (exit 1); exit 1; }; }
29290 cat >conftest.$ac_ext <<_ACEOF
29291 /* confdefs.h. */
29292 _ACEOF
29293 cat confdefs.h >>conftest.$ac_ext
29294 cat >>conftest.$ac_ext <<_ACEOF
29295 /* end confdefs.h. */
29296 #include <sys/stat.h>
29298 main ()
29300 struct stat buffer;
29301 fstat(0, &buffer);
29302 S_ISREG(buffer.st_mode);
29304 return 0;
29306 _ACEOF
29307 rm -f conftest.$ac_objext conftest$ac_exeext
29308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29309 (eval $ac_link) 2>conftest.er1
29310 ac_status=$?
29311 grep -v '^ *+' conftest.er1 >conftest.err
29312 rm -f conftest.er1
29313 cat conftest.err >&5
29314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29315 (exit $ac_status); } &&
29316 { ac_try='test -z "$ac_c_werror_flag"
29317 || test ! -s conftest.err'
29318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29319 (eval $ac_try) 2>&5
29320 ac_status=$?
29321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29322 (exit $ac_status); }; } &&
29323 { ac_try='test -s conftest$ac_exeext'
29324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29325 (eval $ac_try) 2>&5
29326 ac_status=$?
29327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29328 (exit $ac_status); }; }; then
29329 glibcxx_cv_S_ISREG=yes
29330 else
29331 echo "$as_me: failed program was:" >&5
29332 sed 's/^/| /' conftest.$ac_ext >&5
29334 glibcxx_cv_S_ISREG=no
29336 rm -f conftest.err conftest.$ac_objext \
29337 conftest$ac_exeext conftest.$ac_ext
29341 if test "${glibcxx_cv_S_IFREG+set}" = set; then
29342 echo $ECHO_N "(cached) $ECHO_C" >&6
29343 else
29345 if test x$gcc_no_link = xyes; then
29346 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29347 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29348 { (exit 1); exit 1; }; }
29350 cat >conftest.$ac_ext <<_ACEOF
29351 /* confdefs.h. */
29352 _ACEOF
29353 cat confdefs.h >>conftest.$ac_ext
29354 cat >>conftest.$ac_ext <<_ACEOF
29355 /* end confdefs.h. */
29356 #include <sys/stat.h>
29358 main ()
29360 struct stat buffer;
29361 fstat(0, &buffer);
29362 S_IFREG & buffer.st_mode;
29364 return 0;
29366 _ACEOF
29367 rm -f conftest.$ac_objext conftest$ac_exeext
29368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29369 (eval $ac_link) 2>conftest.er1
29370 ac_status=$?
29371 grep -v '^ *+' conftest.er1 >conftest.err
29372 rm -f conftest.er1
29373 cat conftest.err >&5
29374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29375 (exit $ac_status); } &&
29376 { ac_try='test -z "$ac_c_werror_flag"
29377 || test ! -s conftest.err'
29378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29379 (eval $ac_try) 2>&5
29380 ac_status=$?
29381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29382 (exit $ac_status); }; } &&
29383 { ac_try='test -s conftest$ac_exeext'
29384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29385 (eval $ac_try) 2>&5
29386 ac_status=$?
29387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29388 (exit $ac_status); }; }; then
29389 glibcxx_cv_S_IFREG=yes
29390 else
29391 echo "$as_me: failed program was:" >&5
29392 sed 's/^/| /' conftest.$ac_ext >&5
29394 glibcxx_cv_S_IFREG=no
29396 rm -f conftest.err conftest.$ac_objext \
29397 conftest$ac_exeext conftest.$ac_ext
29401 res=no
29402 if test $glibcxx_cv_S_ISREG = yes; then
29404 cat >>confdefs.h <<\_ACEOF
29405 #define HAVE_S_ISREG 1
29406 _ACEOF
29408 res=S_ISREG
29409 elif test $glibcxx_cv_S_IFREG = yes; then
29411 cat >>confdefs.h <<\_ACEOF
29412 #define HAVE_S_IFREG 1
29413 _ACEOF
29415 res=S_IFREG
29417 echo "$as_me:$LINENO: result: $res" >&5
29418 echo "${ECHO_T}$res" >&6
29421 # For xsputn_2().
29423 for ac_header in sys/uio.h
29425 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29426 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29427 echo "$as_me:$LINENO: checking for $ac_header" >&5
29428 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29429 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29430 echo $ECHO_N "(cached) $ECHO_C" >&6
29432 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29433 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29434 else
29435 # Is the header compilable?
29436 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29437 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29438 cat >conftest.$ac_ext <<_ACEOF
29439 /* confdefs.h. */
29440 _ACEOF
29441 cat confdefs.h >>conftest.$ac_ext
29442 cat >>conftest.$ac_ext <<_ACEOF
29443 /* end confdefs.h. */
29444 $ac_includes_default
29445 #include <$ac_header>
29446 _ACEOF
29447 rm -f conftest.$ac_objext
29448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29449 (eval $ac_compile) 2>conftest.er1
29450 ac_status=$?
29451 grep -v '^ *+' conftest.er1 >conftest.err
29452 rm -f conftest.er1
29453 cat conftest.err >&5
29454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29455 (exit $ac_status); } &&
29456 { ac_try='test -z "$ac_c_werror_flag"
29457 || test ! -s conftest.err'
29458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29459 (eval $ac_try) 2>&5
29460 ac_status=$?
29461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29462 (exit $ac_status); }; } &&
29463 { ac_try='test -s conftest.$ac_objext'
29464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29465 (eval $ac_try) 2>&5
29466 ac_status=$?
29467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29468 (exit $ac_status); }; }; then
29469 ac_header_compiler=yes
29470 else
29471 echo "$as_me: failed program was:" >&5
29472 sed 's/^/| /' conftest.$ac_ext >&5
29474 ac_header_compiler=no
29476 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29477 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29478 echo "${ECHO_T}$ac_header_compiler" >&6
29480 # Is the header present?
29481 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29482 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29483 cat >conftest.$ac_ext <<_ACEOF
29484 /* confdefs.h. */
29485 _ACEOF
29486 cat confdefs.h >>conftest.$ac_ext
29487 cat >>conftest.$ac_ext <<_ACEOF
29488 /* end confdefs.h. */
29489 #include <$ac_header>
29490 _ACEOF
29491 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29492 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29493 ac_status=$?
29494 grep -v '^ *+' conftest.er1 >conftest.err
29495 rm -f conftest.er1
29496 cat conftest.err >&5
29497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29498 (exit $ac_status); } >/dev/null; then
29499 if test -s conftest.err; then
29500 ac_cpp_err=$ac_c_preproc_warn_flag
29501 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29502 else
29503 ac_cpp_err=
29505 else
29506 ac_cpp_err=yes
29508 if test -z "$ac_cpp_err"; then
29509 ac_header_preproc=yes
29510 else
29511 echo "$as_me: failed program was:" >&5
29512 sed 's/^/| /' conftest.$ac_ext >&5
29514 ac_header_preproc=no
29516 rm -f conftest.err conftest.$ac_ext
29517 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29518 echo "${ECHO_T}$ac_header_preproc" >&6
29520 # So? What about this header?
29521 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29522 yes:no: )
29523 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29524 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29525 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29526 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29527 ac_header_preproc=yes
29529 no:yes:* )
29530 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29531 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29532 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29533 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29534 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29535 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29536 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29537 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29538 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29539 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29540 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29541 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29543 cat <<\_ASBOX
29544 ## ----------------------------------------- ##
29545 ## Report this to the package-unused lists. ##
29546 ## ----------------------------------------- ##
29547 _ASBOX
29549 sed "s/^/$as_me: WARNING: /" >&2
29551 esac
29552 echo "$as_me:$LINENO: checking for $ac_header" >&5
29553 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29554 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29555 echo $ECHO_N "(cached) $ECHO_C" >&6
29556 else
29557 eval "$as_ac_Header=\$ac_header_preproc"
29559 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29560 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29563 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29564 cat >>confdefs.h <<_ACEOF
29565 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29566 _ACEOF
29570 done
29573 echo "$as_me:$LINENO: checking for writev" >&5
29574 echo $ECHO_N "checking for writev... $ECHO_C" >&6
29575 if test "${glibcxx_cv_WRITEV+set}" = set; then
29576 echo $ECHO_N "(cached) $ECHO_C" >&6
29577 else
29579 if test x$gcc_no_link = xyes; then
29580 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29581 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29582 { (exit 1); exit 1; }; }
29584 cat >conftest.$ac_ext <<_ACEOF
29585 /* confdefs.h. */
29586 _ACEOF
29587 cat confdefs.h >>conftest.$ac_ext
29588 cat >>conftest.$ac_ext <<_ACEOF
29589 /* end confdefs.h. */
29590 #include <sys/uio.h>
29592 main ()
29594 struct iovec iov[2];
29595 writev(0, iov, 0);
29597 return 0;
29599 _ACEOF
29600 rm -f conftest.$ac_objext conftest$ac_exeext
29601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29602 (eval $ac_link) 2>conftest.er1
29603 ac_status=$?
29604 grep -v '^ *+' conftest.er1 >conftest.err
29605 rm -f conftest.er1
29606 cat conftest.err >&5
29607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29608 (exit $ac_status); } &&
29609 { ac_try='test -z "$ac_c_werror_flag"
29610 || test ! -s conftest.err'
29611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29612 (eval $ac_try) 2>&5
29613 ac_status=$?
29614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29615 (exit $ac_status); }; } &&
29616 { ac_try='test -s conftest$ac_exeext'
29617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29618 (eval $ac_try) 2>&5
29619 ac_status=$?
29620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29621 (exit $ac_status); }; }; then
29622 glibcxx_cv_WRITEV=yes
29623 else
29624 echo "$as_me: failed program was:" >&5
29625 sed 's/^/| /' conftest.$ac_ext >&5
29627 glibcxx_cv_WRITEV=no
29629 rm -f conftest.err conftest.$ac_objext \
29630 conftest$ac_exeext conftest.$ac_ext
29634 if test $glibcxx_cv_WRITEV = yes; then
29636 cat >>confdefs.h <<\_ACEOF
29637 #define HAVE_WRITEV 1
29638 _ACEOF
29641 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
29642 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
29645 # For the __streamoff_base_type typedef.
29647 echo "$as_me:$LINENO: checking for int64_t" >&5
29648 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
29649 if test "${glibcxx_cv_INT64_T+set}" = set; then
29650 echo $ECHO_N "(cached) $ECHO_C" >&6
29651 else
29653 cat >conftest.$ac_ext <<_ACEOF
29654 /* confdefs.h. */
29655 _ACEOF
29656 cat confdefs.h >>conftest.$ac_ext
29657 cat >>conftest.$ac_ext <<_ACEOF
29658 /* end confdefs.h. */
29659 #include <stdint.h>
29661 main ()
29663 int64_t var;
29665 return 0;
29667 _ACEOF
29668 rm -f conftest.$ac_objext
29669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29670 (eval $ac_compile) 2>conftest.er1
29671 ac_status=$?
29672 grep -v '^ *+' conftest.er1 >conftest.err
29673 rm -f conftest.er1
29674 cat conftest.err >&5
29675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29676 (exit $ac_status); } &&
29677 { ac_try='test -z "$ac_c_werror_flag"
29678 || test ! -s conftest.err'
29679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29680 (eval $ac_try) 2>&5
29681 ac_status=$?
29682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29683 (exit $ac_status); }; } &&
29684 { ac_try='test -s conftest.$ac_objext'
29685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29686 (eval $ac_try) 2>&5
29687 ac_status=$?
29688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29689 (exit $ac_status); }; }; then
29690 glibcxx_cv_INT64_T=yes
29691 else
29692 echo "$as_me: failed program was:" >&5
29693 sed 's/^/| /' conftest.$ac_ext >&5
29695 glibcxx_cv_INT64_T=no
29697 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29701 if test $glibcxx_cv_INT64_T = yes; then
29703 cat >>confdefs.h <<\_ACEOF
29704 #define HAVE_INT64_T 1
29705 _ACEOF
29708 echo "$as_me:$LINENO: result: $glibcxx_cv_INT64_T" >&5
29709 echo "${ECHO_T}$glibcxx_cv_INT64_T" >&6
29712 # For LFS support.
29716 ac_ext=cc
29717 ac_cpp='$CXXCPP $CPPFLAGS'
29718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29722 ac_save_CXXFLAGS="$CXXFLAGS"
29723 CXXFLAGS="$CXXFLAGS -fno-exceptions"
29724 echo "$as_me:$LINENO: checking for LFS support" >&5
29725 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
29726 if test "${glibcxx_cv_LFS+set}" = set; then
29727 echo $ECHO_N "(cached) $ECHO_C" >&6
29728 else
29730 if test x$gcc_no_link = xyes; then
29731 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29732 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29733 { (exit 1); exit 1; }; }
29735 cat >conftest.$ac_ext <<_ACEOF
29736 /* confdefs.h. */
29737 _ACEOF
29738 cat confdefs.h >>conftest.$ac_ext
29739 cat >>conftest.$ac_ext <<_ACEOF
29740 /* end confdefs.h. */
29741 #include <unistd.h>
29742 #include <stdio.h>
29743 #include <sys/stat.h>
29746 main ()
29748 FILE* fp;
29749 fopen64("t", "w");
29750 fseeko64(fp, 0, SEEK_CUR);
29751 ftello64(fp);
29752 lseek64(1, 0, SEEK_CUR);
29753 struct stat64 buf;
29754 fstat64(1, &buf);
29756 return 0;
29758 _ACEOF
29759 rm -f conftest.$ac_objext conftest$ac_exeext
29760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29761 (eval $ac_link) 2>conftest.er1
29762 ac_status=$?
29763 grep -v '^ *+' conftest.er1 >conftest.err
29764 rm -f conftest.er1
29765 cat conftest.err >&5
29766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29767 (exit $ac_status); } &&
29768 { ac_try='test -z "$ac_cxx_werror_flag"
29769 || test ! -s conftest.err'
29770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29771 (eval $ac_try) 2>&5
29772 ac_status=$?
29773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29774 (exit $ac_status); }; } &&
29775 { ac_try='test -s conftest$ac_exeext'
29776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29777 (eval $ac_try) 2>&5
29778 ac_status=$?
29779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29780 (exit $ac_status); }; }; then
29781 glibcxx_cv_LFS=yes
29782 else
29783 echo "$as_me: failed program was:" >&5
29784 sed 's/^/| /' conftest.$ac_ext >&5
29786 glibcxx_cv_LFS=no
29788 rm -f conftest.err conftest.$ac_objext \
29789 conftest$ac_exeext conftest.$ac_ext
29793 if test $glibcxx_cv_LFS = yes; then
29795 cat >>confdefs.h <<\_ACEOF
29796 #define _GLIBCXX_USE_LFS 1
29797 _ACEOF
29800 echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
29801 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
29802 CXXFLAGS="$ac_save_CXXFLAGS"
29803 ac_ext=c
29804 ac_cpp='$CPP $CPPFLAGS'
29805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29811 # For C99 support to TR1.
29816 ac_ext=cc
29817 ac_cpp='$CXXCPP $CPPFLAGS'
29818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29823 # Check for the existence of <complex.h> complex math functions used
29824 # by tr1/complex.
29826 for ac_header in complex.h
29828 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29829 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29830 echo "$as_me:$LINENO: checking for $ac_header" >&5
29831 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29832 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29833 echo $ECHO_N "(cached) $ECHO_C" >&6
29835 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29836 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29837 else
29838 # Is the header compilable?
29839 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29840 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29841 cat >conftest.$ac_ext <<_ACEOF
29842 /* confdefs.h. */
29843 _ACEOF
29844 cat confdefs.h >>conftest.$ac_ext
29845 cat >>conftest.$ac_ext <<_ACEOF
29846 /* end confdefs.h. */
29847 $ac_includes_default
29848 #include <$ac_header>
29849 _ACEOF
29850 rm -f conftest.$ac_objext
29851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29852 (eval $ac_compile) 2>conftest.er1
29853 ac_status=$?
29854 grep -v '^ *+' conftest.er1 >conftest.err
29855 rm -f conftest.er1
29856 cat conftest.err >&5
29857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29858 (exit $ac_status); } &&
29859 { ac_try='test -z "$ac_cxx_werror_flag"
29860 || test ! -s conftest.err'
29861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29862 (eval $ac_try) 2>&5
29863 ac_status=$?
29864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29865 (exit $ac_status); }; } &&
29866 { ac_try='test -s conftest.$ac_objext'
29867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29868 (eval $ac_try) 2>&5
29869 ac_status=$?
29870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29871 (exit $ac_status); }; }; then
29872 ac_header_compiler=yes
29873 else
29874 echo "$as_me: failed program was:" >&5
29875 sed 's/^/| /' conftest.$ac_ext >&5
29877 ac_header_compiler=no
29879 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29880 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29881 echo "${ECHO_T}$ac_header_compiler" >&6
29883 # Is the header present?
29884 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29885 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29886 cat >conftest.$ac_ext <<_ACEOF
29887 /* confdefs.h. */
29888 _ACEOF
29889 cat confdefs.h >>conftest.$ac_ext
29890 cat >>conftest.$ac_ext <<_ACEOF
29891 /* end confdefs.h. */
29892 #include <$ac_header>
29893 _ACEOF
29894 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29895 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29896 ac_status=$?
29897 grep -v '^ *+' conftest.er1 >conftest.err
29898 rm -f conftest.er1
29899 cat conftest.err >&5
29900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29901 (exit $ac_status); } >/dev/null; then
29902 if test -s conftest.err; then
29903 ac_cpp_err=$ac_cxx_preproc_warn_flag
29904 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
29905 else
29906 ac_cpp_err=
29908 else
29909 ac_cpp_err=yes
29911 if test -z "$ac_cpp_err"; then
29912 ac_header_preproc=yes
29913 else
29914 echo "$as_me: failed program was:" >&5
29915 sed 's/^/| /' conftest.$ac_ext >&5
29917 ac_header_preproc=no
29919 rm -f conftest.err conftest.$ac_ext
29920 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29921 echo "${ECHO_T}$ac_header_preproc" >&6
29923 # So? What about this header?
29924 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
29925 yes:no: )
29926 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29927 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29928 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29929 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29930 ac_header_preproc=yes
29932 no:yes:* )
29933 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29934 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29935 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29936 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29937 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29938 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29939 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29940 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29941 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29942 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29943 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29944 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29946 cat <<\_ASBOX
29947 ## ----------------------------------------- ##
29948 ## Report this to the package-unused lists. ##
29949 ## ----------------------------------------- ##
29950 _ASBOX
29952 sed "s/^/$as_me: WARNING: /" >&2
29954 esac
29955 echo "$as_me:$LINENO: checking for $ac_header" >&5
29956 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29957 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29958 echo $ECHO_N "(cached) $ECHO_C" >&6
29959 else
29960 eval "$as_ac_Header=\$ac_header_preproc"
29962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29963 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29966 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29967 cat >>confdefs.h <<_ACEOF
29968 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29969 _ACEOF
29970 ac_has_complex_h=yes
29971 else
29972 ac_has_complex_h=no
29975 done
29977 ac_c99_complex_tr1=no;
29978 if test x"$ac_has_complex_h" = x"yes"; then
29979 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <complex.h>" >&5
29980 echo $ECHO_N "checking for ISO C99 support to TR1 in <complex.h>... $ECHO_C" >&6
29981 cat >conftest.$ac_ext <<_ACEOF
29982 /* confdefs.h. */
29983 _ACEOF
29984 cat confdefs.h >>conftest.$ac_ext
29985 cat >>conftest.$ac_ext <<_ACEOF
29986 /* end confdefs.h. */
29987 #include <complex.h>
29989 main ()
29991 typedef __complex__ float float_type; float_type tmpf;
29992 cacosf(tmpf);
29993 casinf(tmpf);
29994 catanf(tmpf);
29995 cacoshf(tmpf);
29996 casinhf(tmpf);
29997 catanhf(tmpf);
29998 typedef __complex__ double double_type; double_type tmpd;
29999 cacos(tmpd);
30000 casin(tmpd);
30001 catan(tmpd);
30002 cacosh(tmpd);
30003 casinh(tmpd);
30004 catanh(tmpd);
30005 typedef __complex__ long double ld_type; ld_type tmpld;
30006 cacosl(tmpld);
30007 casinl(tmpld);
30008 catanl(tmpld);
30009 cacoshl(tmpld);
30010 casinhl(tmpld);
30011 catanhl(tmpld);
30014 return 0;
30016 _ACEOF
30017 rm -f conftest.$ac_objext
30018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30019 (eval $ac_compile) 2>conftest.er1
30020 ac_status=$?
30021 grep -v '^ *+' conftest.er1 >conftest.err
30022 rm -f conftest.er1
30023 cat conftest.err >&5
30024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30025 (exit $ac_status); } &&
30026 { ac_try='test -z "$ac_cxx_werror_flag"
30027 || test ! -s conftest.err'
30028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30029 (eval $ac_try) 2>&5
30030 ac_status=$?
30031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30032 (exit $ac_status); }; } &&
30033 { ac_try='test -s conftest.$ac_objext'
30034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30035 (eval $ac_try) 2>&5
30036 ac_status=$?
30037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30038 (exit $ac_status); }; }; then
30039 ac_c99_complex_tr1=yes
30040 else
30041 echo "$as_me: failed program was:" >&5
30042 sed 's/^/| /' conftest.$ac_ext >&5
30044 ac_c99_complex_tr1=no
30046 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30048 echo "$as_me:$LINENO: result: $ac_c99_complex_tr1" >&5
30049 echo "${ECHO_T}$ac_c99_complex_tr1" >&6
30050 if test x"$ac_c99_complex_tr1" = x"yes"; then
30052 cat >>confdefs.h <<\_ACEOF
30053 #define _GLIBCXX_USE_C99_COMPLEX_TR1 1
30054 _ACEOF
30058 # Check for the existence of <ctype.h> functions.
30059 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <ctype.h>" >&5
30060 echo $ECHO_N "checking for ISO C99 support to TR1 in <ctype.h>... $ECHO_C" >&6
30061 if test "${ac_c99_ctype_tr1+set}" = set; then
30062 echo $ECHO_N "(cached) $ECHO_C" >&6
30063 else
30065 cat >conftest.$ac_ext <<_ACEOF
30066 /* confdefs.h. */
30067 _ACEOF
30068 cat confdefs.h >>conftest.$ac_ext
30069 cat >>conftest.$ac_ext <<_ACEOF
30070 /* end confdefs.h. */
30071 #include <ctype.h>
30073 main ()
30075 int ch;
30076 int ret;
30077 ret = isblank(ch);
30080 return 0;
30082 _ACEOF
30083 rm -f conftest.$ac_objext
30084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30085 (eval $ac_compile) 2>conftest.er1
30086 ac_status=$?
30087 grep -v '^ *+' conftest.er1 >conftest.err
30088 rm -f conftest.er1
30089 cat conftest.err >&5
30090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30091 (exit $ac_status); } &&
30092 { ac_try='test -z "$ac_cxx_werror_flag"
30093 || test ! -s conftest.err'
30094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30095 (eval $ac_try) 2>&5
30096 ac_status=$?
30097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30098 (exit $ac_status); }; } &&
30099 { ac_try='test -s conftest.$ac_objext'
30100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30101 (eval $ac_try) 2>&5
30102 ac_status=$?
30103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30104 (exit $ac_status); }; }; then
30105 ac_c99_ctype_tr1=yes
30106 else
30107 echo "$as_me: failed program was:" >&5
30108 sed 's/^/| /' conftest.$ac_ext >&5
30110 ac_c99_ctype_tr1=no
30112 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30116 echo "$as_me:$LINENO: result: $ac_c99_ctype_tr1" >&5
30117 echo "${ECHO_T}$ac_c99_ctype_tr1" >&6
30118 if test x"$ac_c99_ctype_tr1" = x"yes"; then
30120 cat >>confdefs.h <<\_ACEOF
30121 #define _GLIBCXX_USE_C99_CTYPE_TR1 1
30122 _ACEOF
30126 # Check for the existence of <fenv.h> functions.
30128 for ac_header in fenv.h
30130 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30131 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30132 echo "$as_me:$LINENO: checking for $ac_header" >&5
30133 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30134 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30135 echo $ECHO_N "(cached) $ECHO_C" >&6
30137 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30138 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30139 else
30140 # Is the header compilable?
30141 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30142 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30143 cat >conftest.$ac_ext <<_ACEOF
30144 /* confdefs.h. */
30145 _ACEOF
30146 cat confdefs.h >>conftest.$ac_ext
30147 cat >>conftest.$ac_ext <<_ACEOF
30148 /* end confdefs.h. */
30149 $ac_includes_default
30150 #include <$ac_header>
30151 _ACEOF
30152 rm -f conftest.$ac_objext
30153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30154 (eval $ac_compile) 2>conftest.er1
30155 ac_status=$?
30156 grep -v '^ *+' conftest.er1 >conftest.err
30157 rm -f conftest.er1
30158 cat conftest.err >&5
30159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30160 (exit $ac_status); } &&
30161 { ac_try='test -z "$ac_cxx_werror_flag"
30162 || test ! -s conftest.err'
30163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30164 (eval $ac_try) 2>&5
30165 ac_status=$?
30166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30167 (exit $ac_status); }; } &&
30168 { ac_try='test -s conftest.$ac_objext'
30169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30170 (eval $ac_try) 2>&5
30171 ac_status=$?
30172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30173 (exit $ac_status); }; }; then
30174 ac_header_compiler=yes
30175 else
30176 echo "$as_me: failed program was:" >&5
30177 sed 's/^/| /' conftest.$ac_ext >&5
30179 ac_header_compiler=no
30181 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30182 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30183 echo "${ECHO_T}$ac_header_compiler" >&6
30185 # Is the header present?
30186 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30187 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30188 cat >conftest.$ac_ext <<_ACEOF
30189 /* confdefs.h. */
30190 _ACEOF
30191 cat confdefs.h >>conftest.$ac_ext
30192 cat >>conftest.$ac_ext <<_ACEOF
30193 /* end confdefs.h. */
30194 #include <$ac_header>
30195 _ACEOF
30196 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30197 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30198 ac_status=$?
30199 grep -v '^ *+' conftest.er1 >conftest.err
30200 rm -f conftest.er1
30201 cat conftest.err >&5
30202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30203 (exit $ac_status); } >/dev/null; then
30204 if test -s conftest.err; then
30205 ac_cpp_err=$ac_cxx_preproc_warn_flag
30206 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
30207 else
30208 ac_cpp_err=
30210 else
30211 ac_cpp_err=yes
30213 if test -z "$ac_cpp_err"; then
30214 ac_header_preproc=yes
30215 else
30216 echo "$as_me: failed program was:" >&5
30217 sed 's/^/| /' conftest.$ac_ext >&5
30219 ac_header_preproc=no
30221 rm -f conftest.err conftest.$ac_ext
30222 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30223 echo "${ECHO_T}$ac_header_preproc" >&6
30225 # So? What about this header?
30226 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
30227 yes:no: )
30228 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30229 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30230 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30231 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30232 ac_header_preproc=yes
30234 no:yes:* )
30235 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30236 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30237 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30238 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30239 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30240 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30241 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30242 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30243 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30244 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30245 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30246 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30248 cat <<\_ASBOX
30249 ## ----------------------------------------- ##
30250 ## Report this to the package-unused lists. ##
30251 ## ----------------------------------------- ##
30252 _ASBOX
30254 sed "s/^/$as_me: WARNING: /" >&2
30256 esac
30257 echo "$as_me:$LINENO: checking for $ac_header" >&5
30258 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30259 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30260 echo $ECHO_N "(cached) $ECHO_C" >&6
30261 else
30262 eval "$as_ac_Header=\$ac_header_preproc"
30264 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30265 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30268 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30269 cat >>confdefs.h <<_ACEOF
30270 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30271 _ACEOF
30272 ac_has_fenv_h=yes
30273 else
30274 ac_has_fenv_h=no
30277 done
30279 ac_c99_fenv_tr1=no;
30280 if test x"$ac_has_fenv_h" = x"yes"; then
30281 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <fenv.h>" >&5
30282 echo $ECHO_N "checking for ISO C99 support to TR1 in <fenv.h>... $ECHO_C" >&6
30283 cat >conftest.$ac_ext <<_ACEOF
30284 /* confdefs.h. */
30285 _ACEOF
30286 cat confdefs.h >>conftest.$ac_ext
30287 cat >>conftest.$ac_ext <<_ACEOF
30288 /* end confdefs.h. */
30289 #include <fenv.h>
30291 main ()
30293 int except, mode;
30294 fexcept_t* pflag;
30295 fenv_t* penv;
30296 int ret;
30297 ret = feclearexcept(except);
30298 ret = fegetexceptflag(pflag, except);
30299 ret = feraiseexcept(except);
30300 ret = fesetexceptflag(pflag, except);
30301 ret = fetestexcept(except);
30302 ret = fegetround();
30303 ret = fesetround(mode);
30304 ret = fegetenv(penv);
30305 ret = feholdexcept(penv);
30306 ret = fesetenv(penv);
30307 ret = feupdateenv(penv);
30310 return 0;
30312 _ACEOF
30313 rm -f conftest.$ac_objext
30314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30315 (eval $ac_compile) 2>conftest.er1
30316 ac_status=$?
30317 grep -v '^ *+' conftest.er1 >conftest.err
30318 rm -f conftest.er1
30319 cat conftest.err >&5
30320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30321 (exit $ac_status); } &&
30322 { ac_try='test -z "$ac_cxx_werror_flag"
30323 || test ! -s conftest.err'
30324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30325 (eval $ac_try) 2>&5
30326 ac_status=$?
30327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30328 (exit $ac_status); }; } &&
30329 { ac_try='test -s conftest.$ac_objext'
30330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30331 (eval $ac_try) 2>&5
30332 ac_status=$?
30333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30334 (exit $ac_status); }; }; then
30335 ac_c99_fenv_tr1=yes
30336 else
30337 echo "$as_me: failed program was:" >&5
30338 sed 's/^/| /' conftest.$ac_ext >&5
30340 ac_c99_fenv_tr1=no
30342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30344 echo "$as_me:$LINENO: result: $ac_c99_fenv_tr1" >&5
30345 echo "${ECHO_T}$ac_c99_fenv_tr1" >&6
30346 if test x"$ac_c99_fenv_tr1" = x"yes"; then
30348 cat >>confdefs.h <<\_ACEOF
30349 #define _GLIBCXX_USE_C99_FENV_TR1 1
30350 _ACEOF
30354 # Check for the existence of <stdint.h> types.
30355 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <stdint.h>" >&5
30356 echo $ECHO_N "checking for ISO C99 support to TR1 in <stdint.h>... $ECHO_C" >&6
30357 if test "${ac_c99_stdint_tr1+set}" = set; then
30358 echo $ECHO_N "(cached) $ECHO_C" >&6
30359 else
30361 cat >conftest.$ac_ext <<_ACEOF
30362 /* confdefs.h. */
30363 _ACEOF
30364 cat confdefs.h >>conftest.$ac_ext
30365 cat >>conftest.$ac_ext <<_ACEOF
30366 /* end confdefs.h. */
30367 #include <stdint.h>
30369 main ()
30371 typedef int8_t my_int8_t;
30372 typedef int16_t my_int16_t;
30373 typedef int32_t my_int32_t;
30374 typedef int64_t my_int64_t;
30375 typedef int_fast8_t my_int_fast8_t;
30376 typedef int_fast16_t my_int_fast16_t;
30377 typedef int_fast32_t my_int_fast32_t;
30378 typedef int_fast64_t my_int_fast64_t;
30379 typedef int_least8_t my_int_least8_t;
30380 typedef int_least16_t my_int_least16_t;
30381 typedef int_least32_t my_int_least32_t;
30382 typedef int_least64_t my_int_least64_t;
30383 typedef intmax_t my_intmax_t;
30384 typedef intptr_t my_intptr_t;
30385 typedef uint8_t my_uint8_t;
30386 typedef uint16_t my_uint16_t;
30387 typedef uint32_t my_uint32_t;
30388 typedef uint64_t my_uint64_t;
30389 typedef uint_fast8_t my_uint_fast8_t;
30390 typedef uint_fast16_t my_uint_fast16_t;
30391 typedef uint_fast32_t my_uint_fast32_t;
30392 typedef uint_fast64_t my_uint_fast64_t;
30393 typedef uint_least8_t my_uint_least8_t;
30394 typedef uint_least16_t my_uint_least16_t;
30395 typedef uint_least32_t my_uint_least32_t;
30396 typedef uint_least64_t my_uint_least64_t;
30397 typedef uintmax_t my_uintmax_t;
30398 typedef uintptr_t my_uintptr_t;
30401 return 0;
30403 _ACEOF
30404 rm -f conftest.$ac_objext
30405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30406 (eval $ac_compile) 2>conftest.er1
30407 ac_status=$?
30408 grep -v '^ *+' conftest.er1 >conftest.err
30409 rm -f conftest.er1
30410 cat conftest.err >&5
30411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30412 (exit $ac_status); } &&
30413 { ac_try='test -z "$ac_cxx_werror_flag"
30414 || test ! -s conftest.err'
30415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30416 (eval $ac_try) 2>&5
30417 ac_status=$?
30418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30419 (exit $ac_status); }; } &&
30420 { ac_try='test -s conftest.$ac_objext'
30421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30422 (eval $ac_try) 2>&5
30423 ac_status=$?
30424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30425 (exit $ac_status); }; }; then
30426 ac_c99_stdint_tr1=yes
30427 else
30428 echo "$as_me: failed program was:" >&5
30429 sed 's/^/| /' conftest.$ac_ext >&5
30431 ac_c99_stdint_tr1=no
30433 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30437 echo "$as_me:$LINENO: result: $ac_c99_stdint_tr1" >&5
30438 echo "${ECHO_T}$ac_c99_stdint_tr1" >&6
30439 if test x"$ac_c99_stdint_tr1" = x"yes"; then
30441 cat >>confdefs.h <<\_ACEOF
30442 #define _GLIBCXX_USE_C99_STDINT_TR1 1
30443 _ACEOF
30447 # Check for the existence of <math.h> functions.
30448 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <math.h>" >&5
30449 echo $ECHO_N "checking for ISO C99 support to TR1 in <math.h>... $ECHO_C" >&6
30450 if test "${ac_c99_math_tr1+set}" = set; then
30451 echo $ECHO_N "(cached) $ECHO_C" >&6
30452 else
30454 cat >conftest.$ac_ext <<_ACEOF
30455 /* confdefs.h. */
30456 _ACEOF
30457 cat confdefs.h >>conftest.$ac_ext
30458 cat >>conftest.$ac_ext <<_ACEOF
30459 /* end confdefs.h. */
30460 #include <math.h>
30462 main ()
30464 typedef double_t my_double_t;
30465 typedef float_t my_float_t;
30466 acosh(0.0);
30467 acoshf(0.0f);
30468 acoshl(0.0l);
30469 asinh(0.0);
30470 asinhf(0.0f);
30471 asinhl(0.0l);
30472 atanh(0.0);
30473 atanhf(0.0f);
30474 atanhl(0.0l);
30475 cbrt(0.0);
30476 cbrtf(0.0f);
30477 cbrtl(0.0l);
30478 copysign(0.0, 0.0);
30479 copysignf(0.0f, 0.0f);
30480 copysignl(0.0l, 0.0l);
30481 erf(0.0);
30482 erff(0.0f);
30483 erfl(0.0l);
30484 erfc(0.0);
30485 erfcf(0.0f);
30486 erfcl(0.0l);
30487 exp2(0.0);
30488 exp2f(0.0f);
30489 exp2l(0.0l);
30490 expm1(0.0);
30491 expm1f(0.0f);
30492 expm1l(0.0l);
30493 fdim(0.0, 0.0);
30494 fdimf(0.0f, 0.0f);
30495 fdiml(0.0l, 0.0l);
30496 fma(0.0, 0.0, 0.0);
30497 fmaf(0.0f, 0.0f, 0.0f);
30498 fmal(0.0l, 0.0l, 0.0l);
30499 fmax(0.0, 0.0);
30500 fmaxf(0.0f, 0.0f);
30501 fmaxl(0.0l, 0.0l);
30502 fmin(0.0, 0.0);
30503 fminf(0.0f, 0.0f);
30504 fminl(0.0l, 0.0l);
30505 hypot(0.0, 0.0);
30506 hypotf(0.0f, 0.0f);
30507 hypotl(0.0l, 0.0l);
30508 ilogb(0.0);
30509 ilogbf(0.0f);
30510 ilogbl(0.0l);
30511 lgamma(0.0);
30512 lgammaf(0.0f);
30513 lgammal(0.0l);
30514 llrint(0.0);
30515 llrintf(0.0f);
30516 llrintl(0.0l);
30517 llround(0.0);
30518 llroundf(0.0f);
30519 llroundl(0.0l);
30520 log1p(0.0);
30521 log1pf(0.0f);
30522 log1pl(0.0l);
30523 log2(0.0);
30524 log2f(0.0f);
30525 log2l(0.0l);
30526 logb(0.0);
30527 logbf(0.0f);
30528 logbl(0.0l);
30529 lrint(0.0);
30530 lrintf(0.0f);
30531 lrintl(0.0l);
30532 lround(0.0);
30533 lroundf(0.0f);
30534 lroundl(0.0l);
30535 nan(0);
30536 nanf(0);
30537 nanl(0);
30538 nearbyint(0.0);
30539 nearbyintf(0.0f);
30540 nearbyintl(0.0l);
30541 nextafter(0.0, 0.0);
30542 nextafterf(0.0f, 0.0f);
30543 nextafterl(0.0l, 0.0l);
30544 nexttoward(0.0, 0.0);
30545 nexttowardf(0.0f, 0.0f);
30546 nexttowardl(0.0l, 0.0l);
30547 remainder(0.0, 0.0);
30548 remainderf(0.0f, 0.0f);
30549 remainderl(0.0l, 0.0l);
30550 remquo(0.0, 0.0, 0);
30551 remquo(0.0f, 0.0f, 0);
30552 remquo(0.0l, 0.0l, 0);
30553 rint(0.0);
30554 rintf(0.0f);
30555 rintl(0.0l);
30556 round(0.0);
30557 roundf(0.0f);
30558 roundl(0.0l);
30559 scalbln(0.0, 0l);
30560 scalblnf(0.0f, 0l);
30561 scalblnl(0.0l, 0l);
30562 scalbn(0.0, 0);
30563 scalbnf(0.0f, 0);
30564 scalbnl(0.0l, 0);
30565 tgamma(0.0);
30566 tgammaf(0.0f);
30567 tgammal(0.0l);
30568 trunc(0.0);
30569 truncf(0.0f);
30570 truncl(0.0l);
30573 return 0;
30575 _ACEOF
30576 rm -f conftest.$ac_objext
30577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30578 (eval $ac_compile) 2>conftest.er1
30579 ac_status=$?
30580 grep -v '^ *+' conftest.er1 >conftest.err
30581 rm -f conftest.er1
30582 cat conftest.err >&5
30583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30584 (exit $ac_status); } &&
30585 { ac_try='test -z "$ac_cxx_werror_flag"
30586 || test ! -s conftest.err'
30587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30588 (eval $ac_try) 2>&5
30589 ac_status=$?
30590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30591 (exit $ac_status); }; } &&
30592 { ac_try='test -s conftest.$ac_objext'
30593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30594 (eval $ac_try) 2>&5
30595 ac_status=$?
30596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30597 (exit $ac_status); }; }; then
30598 ac_c99_math_tr1=yes
30599 else
30600 echo "$as_me: failed program was:" >&5
30601 sed 's/^/| /' conftest.$ac_ext >&5
30603 ac_c99_math_tr1=no
30605 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30609 echo "$as_me:$LINENO: result: $ac_c99_math_tr1" >&5
30610 echo "${ECHO_T}$ac_c99_math_tr1" >&6
30611 if test x"$ac_c99_math_tr1" = x"yes"; then
30613 cat >>confdefs.h <<\_ACEOF
30614 #define _GLIBCXX_USE_C99_MATH_TR1 1
30615 _ACEOF
30619 # Check for the existence of <inttypes.h> functions (NB: doesn't make
30620 # sense if the previous check fails, per C99, 7.8/1).
30621 ac_c99_inttypes_tr1=no;
30622 if test x"$ac_c99_stdint_tr1" = x"yes"; then
30623 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
30624 echo $ECHO_N "checking for ISO C99 support to TR1 in <inttypes.h>... $ECHO_C" >&6
30625 cat >conftest.$ac_ext <<_ACEOF
30626 /* confdefs.h. */
30627 _ACEOF
30628 cat confdefs.h >>conftest.$ac_ext
30629 cat >>conftest.$ac_ext <<_ACEOF
30630 /* end confdefs.h. */
30631 #include <inttypes.h>
30633 main ()
30635 intmax_t i, numer, denom, base;
30636 const char* s;
30637 char** endptr;
30638 intmax_t ret = imaxabs(i);
30639 imaxdiv_t dret = imaxdiv(numer, denom);
30640 ret = strtoimax(s, endptr, base);
30641 uintmax_t uret = strtoumax(s, endptr, base);
30644 return 0;
30646 _ACEOF
30647 rm -f conftest.$ac_objext
30648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30649 (eval $ac_compile) 2>conftest.er1
30650 ac_status=$?
30651 grep -v '^ *+' conftest.er1 >conftest.err
30652 rm -f conftest.er1
30653 cat conftest.err >&5
30654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30655 (exit $ac_status); } &&
30656 { ac_try='test -z "$ac_cxx_werror_flag"
30657 || test ! -s conftest.err'
30658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30659 (eval $ac_try) 2>&5
30660 ac_status=$?
30661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30662 (exit $ac_status); }; } &&
30663 { ac_try='test -s conftest.$ac_objext'
30664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30665 (eval $ac_try) 2>&5
30666 ac_status=$?
30667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30668 (exit $ac_status); }; }; then
30669 ac_c99_inttypes_tr1=yes
30670 else
30671 echo "$as_me: failed program was:" >&5
30672 sed 's/^/| /' conftest.$ac_ext >&5
30674 ac_c99_inttypes_tr1=no
30676 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30678 echo "$as_me:$LINENO: result: $ac_c99_inttypes_tr1" >&5
30679 echo "${ECHO_T}$ac_c99_inttypes_tr1" >&6
30680 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
30682 cat >>confdefs.h <<\_ACEOF
30683 #define _GLIBCXX_USE_C99_INTTYPES_TR1 1
30684 _ACEOF
30688 # Check for the existence of the <stdbool.h> header.
30690 for ac_header in stdbool.h
30692 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30693 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30694 echo "$as_me:$LINENO: checking for $ac_header" >&5
30695 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30696 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30697 echo $ECHO_N "(cached) $ECHO_C" >&6
30699 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30700 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30701 else
30702 # Is the header compilable?
30703 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30704 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30705 cat >conftest.$ac_ext <<_ACEOF
30706 /* confdefs.h. */
30707 _ACEOF
30708 cat confdefs.h >>conftest.$ac_ext
30709 cat >>conftest.$ac_ext <<_ACEOF
30710 /* end confdefs.h. */
30711 $ac_includes_default
30712 #include <$ac_header>
30713 _ACEOF
30714 rm -f conftest.$ac_objext
30715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30716 (eval $ac_compile) 2>conftest.er1
30717 ac_status=$?
30718 grep -v '^ *+' conftest.er1 >conftest.err
30719 rm -f conftest.er1
30720 cat conftest.err >&5
30721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30722 (exit $ac_status); } &&
30723 { ac_try='test -z "$ac_cxx_werror_flag"
30724 || test ! -s conftest.err'
30725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30726 (eval $ac_try) 2>&5
30727 ac_status=$?
30728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30729 (exit $ac_status); }; } &&
30730 { ac_try='test -s conftest.$ac_objext'
30731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30732 (eval $ac_try) 2>&5
30733 ac_status=$?
30734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30735 (exit $ac_status); }; }; then
30736 ac_header_compiler=yes
30737 else
30738 echo "$as_me: failed program was:" >&5
30739 sed 's/^/| /' conftest.$ac_ext >&5
30741 ac_header_compiler=no
30743 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30744 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30745 echo "${ECHO_T}$ac_header_compiler" >&6
30747 # Is the header present?
30748 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30749 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30750 cat >conftest.$ac_ext <<_ACEOF
30751 /* confdefs.h. */
30752 _ACEOF
30753 cat confdefs.h >>conftest.$ac_ext
30754 cat >>conftest.$ac_ext <<_ACEOF
30755 /* end confdefs.h. */
30756 #include <$ac_header>
30757 _ACEOF
30758 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30759 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30760 ac_status=$?
30761 grep -v '^ *+' conftest.er1 >conftest.err
30762 rm -f conftest.er1
30763 cat conftest.err >&5
30764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30765 (exit $ac_status); } >/dev/null; then
30766 if test -s conftest.err; then
30767 ac_cpp_err=$ac_cxx_preproc_warn_flag
30768 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
30769 else
30770 ac_cpp_err=
30772 else
30773 ac_cpp_err=yes
30775 if test -z "$ac_cpp_err"; then
30776 ac_header_preproc=yes
30777 else
30778 echo "$as_me: failed program was:" >&5
30779 sed 's/^/| /' conftest.$ac_ext >&5
30781 ac_header_preproc=no
30783 rm -f conftest.err conftest.$ac_ext
30784 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30785 echo "${ECHO_T}$ac_header_preproc" >&6
30787 # So? What about this header?
30788 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
30789 yes:no: )
30790 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30791 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30792 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30793 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30794 ac_header_preproc=yes
30796 no:yes:* )
30797 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30798 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30799 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30800 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30801 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30802 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30803 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30804 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30805 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30806 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30807 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30808 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30810 cat <<\_ASBOX
30811 ## ----------------------------------------- ##
30812 ## Report this to the package-unused lists. ##
30813 ## ----------------------------------------- ##
30814 _ASBOX
30816 sed "s/^/$as_me: WARNING: /" >&2
30818 esac
30819 echo "$as_me:$LINENO: checking for $ac_header" >&5
30820 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30821 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30822 echo $ECHO_N "(cached) $ECHO_C" >&6
30823 else
30824 eval "$as_ac_Header=\$ac_header_preproc"
30826 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30827 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30830 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30831 cat >>confdefs.h <<_ACEOF
30832 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30833 _ACEOF
30837 done
30840 ac_ext=c
30841 ac_cpp='$CPP $CPPFLAGS'
30842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30848 # For dev/random and dev/urandom for TR1.
30851 echo "$as_me:$LINENO: checking for \"dev/random\" and \"dev/urandom\" for TR1 random_device" >&5
30852 echo $ECHO_N "checking for \"dev/random\" and \"dev/urandom\" for TR1 random_device... $ECHO_C" >&6
30853 if test "${ac_random_tr1+set}" = set; then
30854 echo $ECHO_N "(cached) $ECHO_C" >&6
30855 else
30857 if test "$cross_compiling" = yes; then
30858 ac_random_tr1=no
30859 else
30860 cat >conftest.$ac_ext <<_ACEOF
30861 /* confdefs.h. */
30862 _ACEOF
30863 cat confdefs.h >>conftest.$ac_ext
30864 cat >>conftest.$ac_ext <<_ACEOF
30865 /* end confdefs.h. */
30866 #include <stdio.h>
30867 int main()
30869 return !(fopen("/dev/random", "r")
30870 && fopen("/dev/urandom", "r"));
30873 _ACEOF
30874 rm -f conftest$ac_exeext
30875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30876 (eval $ac_link) 2>&5
30877 ac_status=$?
30878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30879 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30881 (eval $ac_try) 2>&5
30882 ac_status=$?
30883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30884 (exit $ac_status); }; }; then
30885 ac_random_tr1=yes
30886 else
30887 echo "$as_me: program exited with status $ac_status" >&5
30888 echo "$as_me: failed program was:" >&5
30889 sed 's/^/| /' conftest.$ac_ext >&5
30891 ( exit $ac_status )
30892 ac_random_tr1=no
30894 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30899 echo "$as_me:$LINENO: result: $ac_random_tr1" >&5
30900 echo "${ECHO_T}$ac_random_tr1" >&6
30901 if test x"$ac_random_tr1" = x"yes"; then
30903 cat >>confdefs.h <<\_ACEOF
30904 #define _GLIBCXX_USE_RANDOM_TR1 1
30905 _ACEOF
30911 # For TLS support.
30913 # Check whether --enable-tls or --disable-tls was given.
30914 if test "${enable_tls+set}" = set; then
30915 enableval="$enable_tls"
30917 case "$enableval" in
30918 yes|no) ;;
30919 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
30920 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
30921 { (exit 1); exit 1; }; } ;;
30922 esac
30924 else
30925 enable_tls=yes
30928 echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
30929 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
30930 if test "${have_tls+set}" = set; then
30931 echo $ECHO_N "(cached) $ECHO_C" >&6
30932 else
30934 if test "$cross_compiling" = yes; then
30935 if test x$gcc_no_link = xyes; then
30936 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30937 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30938 { (exit 1); exit 1; }; }
30940 cat >conftest.$ac_ext <<_ACEOF
30941 __thread int a; int b; int main() { return a = b; }
30942 _ACEOF
30943 rm -f conftest.$ac_objext conftest$ac_exeext
30944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30945 (eval $ac_link) 2>conftest.er1
30946 ac_status=$?
30947 grep -v '^ *+' conftest.er1 >conftest.err
30948 rm -f conftest.er1
30949 cat conftest.err >&5
30950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30951 (exit $ac_status); } &&
30952 { ac_try='test -z "$ac_c_werror_flag"
30953 || test ! -s conftest.err'
30954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30955 (eval $ac_try) 2>&5
30956 ac_status=$?
30957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30958 (exit $ac_status); }; } &&
30959 { ac_try='test -s conftest$ac_exeext'
30960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30961 (eval $ac_try) 2>&5
30962 ac_status=$?
30963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30964 (exit $ac_status); }; }; then
30965 have_tls=yes
30966 else
30967 echo "$as_me: failed program was:" >&5
30968 sed 's/^/| /' conftest.$ac_ext >&5
30970 have_tls=no
30972 rm -f conftest.err conftest.$ac_objext \
30973 conftest$ac_exeext conftest.$ac_ext
30976 else
30977 cat >conftest.$ac_ext <<_ACEOF
30978 __thread int a; int b; int main() { return a = b; }
30979 _ACEOF
30980 rm -f conftest$ac_exeext
30981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30982 (eval $ac_link) 2>&5
30983 ac_status=$?
30984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30985 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30987 (eval $ac_try) 2>&5
30988 ac_status=$?
30989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30990 (exit $ac_status); }; }; then
30991 chktls_save_LDFLAGS="$LDFLAGS"
30992 LDFLAGS="-static $LDFLAGS"
30993 if test x$gcc_no_link = xyes; then
30994 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30995 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30996 { (exit 1); exit 1; }; }
30998 cat >conftest.$ac_ext <<_ACEOF
30999 int main() { return 0; }
31000 _ACEOF
31001 rm -f conftest.$ac_objext conftest$ac_exeext
31002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31003 (eval $ac_link) 2>conftest.er1
31004 ac_status=$?
31005 grep -v '^ *+' conftest.er1 >conftest.err
31006 rm -f conftest.er1
31007 cat conftest.err >&5
31008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31009 (exit $ac_status); } &&
31010 { ac_try='test -z "$ac_c_werror_flag"
31011 || test ! -s conftest.err'
31012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31013 (eval $ac_try) 2>&5
31014 ac_status=$?
31015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31016 (exit $ac_status); }; } &&
31017 { ac_try='test -s conftest$ac_exeext'
31018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31019 (eval $ac_try) 2>&5
31020 ac_status=$?
31021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31022 (exit $ac_status); }; }; then
31023 if test "$cross_compiling" = yes; then
31024 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
31025 See \`config.log' for more details." >&5
31026 echo "$as_me: error: cannot run test program while cross compiling
31027 See \`config.log' for more details." >&2;}
31028 { (exit 1); exit 1; }; }
31029 else
31030 cat >conftest.$ac_ext <<_ACEOF
31031 __thread int a; int b; int main() { return a = b; }
31032 _ACEOF
31033 rm -f conftest$ac_exeext
31034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31035 (eval $ac_link) 2>&5
31036 ac_status=$?
31037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31038 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31040 (eval $ac_try) 2>&5
31041 ac_status=$?
31042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31043 (exit $ac_status); }; }; then
31044 have_tls=yes
31045 else
31046 echo "$as_me: program exited with status $ac_status" >&5
31047 echo "$as_me: failed program was:" >&5
31048 sed 's/^/| /' conftest.$ac_ext >&5
31050 ( exit $ac_status )
31051 have_tls=no
31053 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31055 else
31056 echo "$as_me: failed program was:" >&5
31057 sed 's/^/| /' conftest.$ac_ext >&5
31059 have_tls=yes
31061 rm -f conftest.err conftest.$ac_objext \
31062 conftest$ac_exeext conftest.$ac_ext
31063 LDFLAGS="$chktls_save_LDFLAGS"
31064 if test $have_tls = yes; then
31065 chktls_save_CFLAGS="$CFLAGS"
31066 thread_CFLAGS=failed
31067 for flag in '' '-pthread' '-lpthread'; do
31068 CFLAGS="$flag $chktls_save_CFLAGS"
31069 if test x$gcc_no_link = xyes; then
31070 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31071 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31072 { (exit 1); exit 1; }; }
31074 cat >conftest.$ac_ext <<_ACEOF
31075 /* confdefs.h. */
31076 _ACEOF
31077 cat confdefs.h >>conftest.$ac_ext
31078 cat >>conftest.$ac_ext <<_ACEOF
31079 /* end confdefs.h. */
31080 #include <pthread.h>
31081 void *g(void *d) { return NULL; }
31083 main ()
31085 pthread_t t; pthread_create(&t,NULL,g,NULL);
31087 return 0;
31089 _ACEOF
31090 rm -f conftest.$ac_objext conftest$ac_exeext
31091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31092 (eval $ac_link) 2>conftest.er1
31093 ac_status=$?
31094 grep -v '^ *+' conftest.er1 >conftest.err
31095 rm -f conftest.er1
31096 cat conftest.err >&5
31097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31098 (exit $ac_status); } &&
31099 { ac_try='test -z "$ac_c_werror_flag"
31100 || test ! -s conftest.err'
31101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31102 (eval $ac_try) 2>&5
31103 ac_status=$?
31104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31105 (exit $ac_status); }; } &&
31106 { ac_try='test -s conftest$ac_exeext'
31107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31108 (eval $ac_try) 2>&5
31109 ac_status=$?
31110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31111 (exit $ac_status); }; }; then
31112 thread_CFLAGS="$flag"
31113 else
31114 echo "$as_me: failed program was:" >&5
31115 sed 's/^/| /' conftest.$ac_ext >&5
31118 rm -f conftest.err conftest.$ac_objext \
31119 conftest$ac_exeext conftest.$ac_ext
31120 if test "X$thread_CFLAGS" != Xfailed; then
31121 break
31123 done
31124 CFLAGS="$chktls_save_CFLAGS"
31125 if test "X$thread_CFLAGS" != Xfailed; then
31126 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
31127 if test "$cross_compiling" = yes; then
31128 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
31129 See \`config.log' for more details." >&5
31130 echo "$as_me: error: cannot run test program while cross compiling
31131 See \`config.log' for more details." >&2;}
31132 { (exit 1); exit 1; }; }
31133 else
31134 cat >conftest.$ac_ext <<_ACEOF
31135 /* confdefs.h. */
31136 _ACEOF
31137 cat confdefs.h >>conftest.$ac_ext
31138 cat >>conftest.$ac_ext <<_ACEOF
31139 /* end confdefs.h. */
31140 #include <pthread.h>
31141 __thread int a;
31142 static int *a_in_other_thread;
31143 static void *
31144 thread_func (void *arg)
31146 a_in_other_thread = &a;
31147 return (void *)0;
31150 main ()
31152 pthread_t thread;
31153 void *thread_retval;
31154 int *a_in_main_thread;
31155 if (pthread_create (&thread, (pthread_attr_t *)0,
31156 thread_func, (void *)0))
31157 return 0;
31158 a_in_main_thread = &a;
31159 if (pthread_join (thread, &thread_retval))
31160 return 0;
31161 return (a_in_other_thread == a_in_main_thread);
31163 return 0;
31165 _ACEOF
31166 rm -f conftest$ac_exeext
31167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31168 (eval $ac_link) 2>&5
31169 ac_status=$?
31170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31171 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31173 (eval $ac_try) 2>&5
31174 ac_status=$?
31175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31176 (exit $ac_status); }; }; then
31177 have_tls=yes
31178 else
31179 echo "$as_me: program exited with status $ac_status" >&5
31180 echo "$as_me: failed program was:" >&5
31181 sed 's/^/| /' conftest.$ac_ext >&5
31183 ( exit $ac_status )
31184 have_tls=no
31186 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31188 CFLAGS="$chktls_save_CFLAGS"
31191 else
31192 echo "$as_me: program exited with status $ac_status" >&5
31193 echo "$as_me: failed program was:" >&5
31194 sed 's/^/| /' conftest.$ac_ext >&5
31196 ( exit $ac_status )
31197 have_tls=no
31199 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31202 echo "$as_me:$LINENO: result: $have_tls" >&5
31203 echo "${ECHO_T}$have_tls" >&6
31204 if test "$enable_tls $have_tls" = "yes yes"; then
31206 cat >>confdefs.h <<\_ACEOF
31207 #define HAVE_TLS 1
31208 _ACEOF
31212 # For _Unwind_GetIPInfo.
31216 ac_ext=cc
31217 ac_cpp='$CXXCPP $CPPFLAGS'
31218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31222 ac_save_CXXFLAGS="$CXXFLAGS"
31223 CXXFLAGS="$CXXFLAGS -fno-exceptions"
31224 echo "$as_me:$LINENO: checking for _Unwind_GetIPInfo" >&5
31225 echo $ECHO_N "checking for _Unwind_GetIPInfo... $ECHO_C" >&6
31226 if test "${gcc_cv_getipinfo+set}" = set; then
31227 echo $ECHO_N "(cached) $ECHO_C" >&6
31228 else
31230 if test x$gcc_no_link = xyes; then
31231 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31232 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31233 { (exit 1); exit 1; }; }
31235 cat >conftest.$ac_ext <<_ACEOF
31236 /* confdefs.h. */
31237 _ACEOF
31238 cat confdefs.h >>conftest.$ac_ext
31239 cat >>conftest.$ac_ext <<_ACEOF
31240 /* end confdefs.h. */
31241 extern "C" { extern void _Unwind_GetIPInfo(); }
31243 main ()
31245 _Unwind_GetIPInfo();
31247 return 0;
31249 _ACEOF
31250 rm -f conftest.$ac_objext conftest$ac_exeext
31251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31252 (eval $ac_link) 2>conftest.er1
31253 ac_status=$?
31254 grep -v '^ *+' conftest.er1 >conftest.err
31255 rm -f conftest.er1
31256 cat conftest.err >&5
31257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31258 (exit $ac_status); } &&
31259 { ac_try='test -z "$ac_cxx_werror_flag"
31260 || test ! -s conftest.err'
31261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31262 (eval $ac_try) 2>&5
31263 ac_status=$?
31264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31265 (exit $ac_status); }; } &&
31266 { ac_try='test -s conftest$ac_exeext'
31267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31268 (eval $ac_try) 2>&5
31269 ac_status=$?
31270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31271 (exit $ac_status); }; }; then
31272 gcc_cv_getipinfo=yes
31273 else
31274 echo "$as_me: failed program was:" >&5
31275 sed 's/^/| /' conftest.$ac_ext >&5
31277 gcc_cv_getipinfo=no
31279 rm -f conftest.err conftest.$ac_objext \
31280 conftest$ac_exeext conftest.$ac_ext
31284 if test $gcc_cv_getipinfo = yes; then
31286 cat >>confdefs.h <<\_ACEOF
31287 #define HAVE_GETIPINFO 1
31288 _ACEOF
31291 echo "$as_me:$LINENO: result: $gcc_cv_getipinfo" >&5
31292 echo "${ECHO_T}$gcc_cv_getipinfo" >&6
31293 CXXFLAGS="$ac_save_CXXFLAGS"
31294 ac_ext=c
31295 ac_cpp='$CPP $CPPFLAGS'
31296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31303 if test "${ac_cv_header_locale_h+set}" = set; then
31304 echo "$as_me:$LINENO: checking for locale.h" >&5
31305 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
31306 if test "${ac_cv_header_locale_h+set}" = set; then
31307 echo $ECHO_N "(cached) $ECHO_C" >&6
31309 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
31310 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
31311 else
31312 # Is the header compilable?
31313 echo "$as_me:$LINENO: checking locale.h usability" >&5
31314 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
31315 cat >conftest.$ac_ext <<_ACEOF
31316 /* confdefs.h. */
31317 _ACEOF
31318 cat confdefs.h >>conftest.$ac_ext
31319 cat >>conftest.$ac_ext <<_ACEOF
31320 /* end confdefs.h. */
31321 $ac_includes_default
31322 #include <locale.h>
31323 _ACEOF
31324 rm -f conftest.$ac_objext
31325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31326 (eval $ac_compile) 2>conftest.er1
31327 ac_status=$?
31328 grep -v '^ *+' conftest.er1 >conftest.err
31329 rm -f conftest.er1
31330 cat conftest.err >&5
31331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31332 (exit $ac_status); } &&
31333 { ac_try='test -z "$ac_c_werror_flag"
31334 || test ! -s conftest.err'
31335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31336 (eval $ac_try) 2>&5
31337 ac_status=$?
31338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31339 (exit $ac_status); }; } &&
31340 { ac_try='test -s conftest.$ac_objext'
31341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31342 (eval $ac_try) 2>&5
31343 ac_status=$?
31344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31345 (exit $ac_status); }; }; then
31346 ac_header_compiler=yes
31347 else
31348 echo "$as_me: failed program was:" >&5
31349 sed 's/^/| /' conftest.$ac_ext >&5
31351 ac_header_compiler=no
31353 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31354 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31355 echo "${ECHO_T}$ac_header_compiler" >&6
31357 # Is the header present?
31358 echo "$as_me:$LINENO: checking locale.h presence" >&5
31359 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
31360 cat >conftest.$ac_ext <<_ACEOF
31361 /* confdefs.h. */
31362 _ACEOF
31363 cat confdefs.h >>conftest.$ac_ext
31364 cat >>conftest.$ac_ext <<_ACEOF
31365 /* end confdefs.h. */
31366 #include <locale.h>
31367 _ACEOF
31368 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31369 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31370 ac_status=$?
31371 grep -v '^ *+' conftest.er1 >conftest.err
31372 rm -f conftest.er1
31373 cat conftest.err >&5
31374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31375 (exit $ac_status); } >/dev/null; then
31376 if test -s conftest.err; then
31377 ac_cpp_err=$ac_c_preproc_warn_flag
31378 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31379 else
31380 ac_cpp_err=
31382 else
31383 ac_cpp_err=yes
31385 if test -z "$ac_cpp_err"; then
31386 ac_header_preproc=yes
31387 else
31388 echo "$as_me: failed program was:" >&5
31389 sed 's/^/| /' conftest.$ac_ext >&5
31391 ac_header_preproc=no
31393 rm -f conftest.err conftest.$ac_ext
31394 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31395 echo "${ECHO_T}$ac_header_preproc" >&6
31397 # So? What about this header?
31398 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31399 yes:no: )
31400 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
31401 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31402 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
31403 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
31404 ac_header_preproc=yes
31406 no:yes:* )
31407 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
31408 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
31409 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
31410 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
31411 { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
31412 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
31413 { echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5
31414 echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;}
31415 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
31416 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
31417 { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
31418 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
31420 cat <<\_ASBOX
31421 ## ----------------------------------------- ##
31422 ## Report this to the package-unused lists. ##
31423 ## ----------------------------------------- ##
31424 _ASBOX
31426 sed "s/^/$as_me: WARNING: /" >&2
31428 esac
31429 echo "$as_me:$LINENO: checking for locale.h" >&5
31430 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
31431 if test "${ac_cv_header_locale_h+set}" = set; then
31432 echo $ECHO_N "(cached) $ECHO_C" >&6
31433 else
31434 ac_cv_header_locale_h=$ac_header_preproc
31436 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
31437 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
31440 if test $ac_cv_header_locale_h = yes; then
31442 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
31443 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
31444 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
31445 echo $ECHO_N "(cached) $ECHO_C" >&6
31446 else
31447 if test x$gcc_no_link = xyes; then
31448 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31449 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31450 { (exit 1); exit 1; }; }
31452 cat >conftest.$ac_ext <<_ACEOF
31453 /* confdefs.h. */
31454 _ACEOF
31455 cat confdefs.h >>conftest.$ac_ext
31456 cat >>conftest.$ac_ext <<_ACEOF
31457 /* end confdefs.h. */
31458 #include <locale.h>
31460 main ()
31462 return LC_MESSAGES
31464 return 0;
31466 _ACEOF
31467 rm -f conftest.$ac_objext conftest$ac_exeext
31468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31469 (eval $ac_link) 2>conftest.er1
31470 ac_status=$?
31471 grep -v '^ *+' conftest.er1 >conftest.err
31472 rm -f conftest.er1
31473 cat conftest.err >&5
31474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31475 (exit $ac_status); } &&
31476 { ac_try='test -z "$ac_c_werror_flag"
31477 || test ! -s conftest.err'
31478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31479 (eval $ac_try) 2>&5
31480 ac_status=$?
31481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31482 (exit $ac_status); }; } &&
31483 { ac_try='test -s conftest$ac_exeext'
31484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31485 (eval $ac_try) 2>&5
31486 ac_status=$?
31487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31488 (exit $ac_status); }; }; then
31489 ac_cv_val_LC_MESSAGES=yes
31490 else
31491 echo "$as_me: failed program was:" >&5
31492 sed 's/^/| /' conftest.$ac_ext >&5
31494 ac_cv_val_LC_MESSAGES=no
31496 rm -f conftest.err conftest.$ac_objext \
31497 conftest$ac_exeext conftest.$ac_ext
31499 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
31500 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
31501 if test $ac_cv_val_LC_MESSAGES = yes; then
31503 cat >>confdefs.h <<\_ACEOF
31504 #define HAVE_LC_MESSAGES 1
31505 _ACEOF
31514 cat >conftest.$ac_ext <<_ACEOF
31515 /* confdefs.h. */
31516 _ACEOF
31517 cat confdefs.h >>conftest.$ac_ext
31518 cat >>conftest.$ac_ext <<_ACEOF
31519 /* end confdefs.h. */
31520 #include <setjmp.h>
31522 main ()
31524 sigjmp_buf env;
31525 while (! sigsetjmp (env, 1))
31526 siglongjmp (env, 1);
31529 return 0;
31531 _ACEOF
31532 rm -f conftest.$ac_objext
31533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31534 (eval $ac_compile) 2>conftest.er1
31535 ac_status=$?
31536 grep -v '^ *+' conftest.er1 >conftest.err
31537 rm -f conftest.er1
31538 cat conftest.err >&5
31539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31540 (exit $ac_status); } &&
31541 { ac_try='test -z "$ac_c_werror_flag"
31542 || test ! -s conftest.err'
31543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31544 (eval $ac_try) 2>&5
31545 ac_status=$?
31546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31547 (exit $ac_status); }; } &&
31548 { ac_try='test -s conftest.$ac_objext'
31549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31550 (eval $ac_try) 2>&5
31551 ac_status=$?
31552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31553 (exit $ac_status); }; }; then
31555 cat >>confdefs.h <<\_ACEOF
31556 #define HAVE_SIGSETJMP 1
31557 _ACEOF
31559 else
31560 echo "$as_me: failed program was:" >&5
31561 sed 's/^/| /' conftest.$ac_ext >&5
31564 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31566 if test x$gcc_no_link = xyes; then
31567 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
31568 ac_cv_func_mmap_fixed_mapped=no
31571 if test "x${ac_cv_func_mmap_fixed_mapped}" != xno; then
31574 for ac_header in stdlib.h unistd.h
31576 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31577 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31578 echo "$as_me:$LINENO: checking for $ac_header" >&5
31579 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31580 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31581 echo $ECHO_N "(cached) $ECHO_C" >&6
31583 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31584 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31585 else
31586 # Is the header compilable?
31587 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31588 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31589 cat >conftest.$ac_ext <<_ACEOF
31590 /* confdefs.h. */
31591 _ACEOF
31592 cat confdefs.h >>conftest.$ac_ext
31593 cat >>conftest.$ac_ext <<_ACEOF
31594 /* end confdefs.h. */
31595 $ac_includes_default
31596 #include <$ac_header>
31597 _ACEOF
31598 rm -f conftest.$ac_objext
31599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31600 (eval $ac_compile) 2>conftest.er1
31601 ac_status=$?
31602 grep -v '^ *+' conftest.er1 >conftest.err
31603 rm -f conftest.er1
31604 cat conftest.err >&5
31605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31606 (exit $ac_status); } &&
31607 { ac_try='test -z "$ac_c_werror_flag"
31608 || test ! -s conftest.err'
31609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31610 (eval $ac_try) 2>&5
31611 ac_status=$?
31612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31613 (exit $ac_status); }; } &&
31614 { ac_try='test -s conftest.$ac_objext'
31615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31616 (eval $ac_try) 2>&5
31617 ac_status=$?
31618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31619 (exit $ac_status); }; }; then
31620 ac_header_compiler=yes
31621 else
31622 echo "$as_me: failed program was:" >&5
31623 sed 's/^/| /' conftest.$ac_ext >&5
31625 ac_header_compiler=no
31627 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31628 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31629 echo "${ECHO_T}$ac_header_compiler" >&6
31631 # Is the header present?
31632 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31633 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31634 cat >conftest.$ac_ext <<_ACEOF
31635 /* confdefs.h. */
31636 _ACEOF
31637 cat confdefs.h >>conftest.$ac_ext
31638 cat >>conftest.$ac_ext <<_ACEOF
31639 /* end confdefs.h. */
31640 #include <$ac_header>
31641 _ACEOF
31642 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31643 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31644 ac_status=$?
31645 grep -v '^ *+' conftest.er1 >conftest.err
31646 rm -f conftest.er1
31647 cat conftest.err >&5
31648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31649 (exit $ac_status); } >/dev/null; then
31650 if test -s conftest.err; then
31651 ac_cpp_err=$ac_c_preproc_warn_flag
31652 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31653 else
31654 ac_cpp_err=
31656 else
31657 ac_cpp_err=yes
31659 if test -z "$ac_cpp_err"; then
31660 ac_header_preproc=yes
31661 else
31662 echo "$as_me: failed program was:" >&5
31663 sed 's/^/| /' conftest.$ac_ext >&5
31665 ac_header_preproc=no
31667 rm -f conftest.err conftest.$ac_ext
31668 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31669 echo "${ECHO_T}$ac_header_preproc" >&6
31671 # So? What about this header?
31672 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31673 yes:no: )
31674 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31675 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31676 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31677 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31678 ac_header_preproc=yes
31680 no:yes:* )
31681 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31682 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31683 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31684 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31685 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31686 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31687 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31688 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31689 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31690 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31691 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31692 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31694 cat <<\_ASBOX
31695 ## ----------------------------------------- ##
31696 ## Report this to the package-unused lists. ##
31697 ## ----------------------------------------- ##
31698 _ASBOX
31700 sed "s/^/$as_me: WARNING: /" >&2
31702 esac
31703 echo "$as_me:$LINENO: checking for $ac_header" >&5
31704 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31705 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31706 echo $ECHO_N "(cached) $ECHO_C" >&6
31707 else
31708 eval "$as_ac_Header=\$ac_header_preproc"
31710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31711 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31714 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31715 cat >>confdefs.h <<_ACEOF
31716 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31717 _ACEOF
31721 done
31724 for ac_func in getpagesize
31726 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31727 echo "$as_me:$LINENO: checking for $ac_func" >&5
31728 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31729 if eval "test \"\${$as_ac_var+set}\" = set"; then
31730 echo $ECHO_N "(cached) $ECHO_C" >&6
31731 else
31732 if test x$gcc_no_link = xyes; then
31733 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31734 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31735 { (exit 1); exit 1; }; }
31737 cat >conftest.$ac_ext <<_ACEOF
31738 /* confdefs.h. */
31739 _ACEOF
31740 cat confdefs.h >>conftest.$ac_ext
31741 cat >>conftest.$ac_ext <<_ACEOF
31742 /* end confdefs.h. */
31743 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31744 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31745 #define $ac_func innocuous_$ac_func
31747 /* System header to define __stub macros and hopefully few prototypes,
31748 which can conflict with char $ac_func (); below.
31749 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31750 <limits.h> exists even on freestanding compilers. */
31752 #ifdef __STDC__
31753 # include <limits.h>
31754 #else
31755 # include <assert.h>
31756 #endif
31758 #undef $ac_func
31760 /* Override any gcc2 internal prototype to avoid an error. */
31761 #ifdef __cplusplus
31762 extern "C"
31764 #endif
31765 /* We use char because int might match the return type of a gcc2
31766 builtin and then its argument prototype would still apply. */
31767 char $ac_func ();
31768 /* The GNU C library defines this for functions which it implements
31769 to always fail with ENOSYS. Some functions are actually named
31770 something starting with __ and the normal name is an alias. */
31771 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31772 choke me
31773 #else
31774 char (*f) () = $ac_func;
31775 #endif
31776 #ifdef __cplusplus
31778 #endif
31781 main ()
31783 return f != $ac_func;
31785 return 0;
31787 _ACEOF
31788 rm -f conftest.$ac_objext conftest$ac_exeext
31789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31790 (eval $ac_link) 2>conftest.er1
31791 ac_status=$?
31792 grep -v '^ *+' conftest.er1 >conftest.err
31793 rm -f conftest.er1
31794 cat conftest.err >&5
31795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31796 (exit $ac_status); } &&
31797 { ac_try='test -z "$ac_c_werror_flag"
31798 || test ! -s conftest.err'
31799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31800 (eval $ac_try) 2>&5
31801 ac_status=$?
31802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31803 (exit $ac_status); }; } &&
31804 { ac_try='test -s conftest$ac_exeext'
31805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31806 (eval $ac_try) 2>&5
31807 ac_status=$?
31808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31809 (exit $ac_status); }; }; then
31810 eval "$as_ac_var=yes"
31811 else
31812 echo "$as_me: failed program was:" >&5
31813 sed 's/^/| /' conftest.$ac_ext >&5
31815 eval "$as_ac_var=no"
31817 rm -f conftest.err conftest.$ac_objext \
31818 conftest$ac_exeext conftest.$ac_ext
31820 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31821 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31822 if test `eval echo '${'$as_ac_var'}'` = yes; then
31823 cat >>confdefs.h <<_ACEOF
31824 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31825 _ACEOF
31828 done
31830 echo "$as_me:$LINENO: checking for working mmap" >&5
31831 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
31832 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
31833 echo $ECHO_N "(cached) $ECHO_C" >&6
31834 else
31835 if test "$cross_compiling" = yes; then
31836 ac_cv_func_mmap_fixed_mapped=no
31837 else
31838 cat >conftest.$ac_ext <<_ACEOF
31839 /* confdefs.h. */
31840 _ACEOF
31841 cat confdefs.h >>conftest.$ac_ext
31842 cat >>conftest.$ac_ext <<_ACEOF
31843 /* end confdefs.h. */
31844 $ac_includes_default
31845 /* malloc might have been renamed as rpl_malloc. */
31846 #undef malloc
31848 /* Thanks to Mike Haertel and Jim Avera for this test.
31849 Here is a matrix of mmap possibilities:
31850 mmap private not fixed
31851 mmap private fixed at somewhere currently unmapped
31852 mmap private fixed at somewhere already mapped
31853 mmap shared not fixed
31854 mmap shared fixed at somewhere currently unmapped
31855 mmap shared fixed at somewhere already mapped
31856 For private mappings, we should verify that changes cannot be read()
31857 back from the file, nor mmap's back from the file at a different
31858 address. (There have been systems where private was not correctly
31859 implemented like the infamous i386 svr4.0, and systems where the
31860 VM page cache was not coherent with the file system buffer cache
31861 like early versions of FreeBSD and possibly contemporary NetBSD.)
31862 For shared mappings, we should conversely verify that changes get
31863 propagated back to all the places they're supposed to be.
31865 Grep wants private fixed already mapped.
31866 The main things grep needs to know about mmap are:
31867 * does it exist and is it safe to write into the mmap'd area
31868 * how to use it (BSD variants) */
31870 #include <fcntl.h>
31871 #include <sys/mman.h>
31873 #if !STDC_HEADERS && !HAVE_STDLIB_H
31874 char *malloc ();
31875 #endif
31877 /* This mess was copied from the GNU getpagesize.h. */
31878 #if !HAVE_GETPAGESIZE
31879 /* Assume that all systems that can run configure have sys/param.h. */
31880 # if !HAVE_SYS_PARAM_H
31881 # define HAVE_SYS_PARAM_H 1
31882 # endif
31884 # ifdef _SC_PAGESIZE
31885 # define getpagesize() sysconf(_SC_PAGESIZE)
31886 # else /* no _SC_PAGESIZE */
31887 # if HAVE_SYS_PARAM_H
31888 # include <sys/param.h>
31889 # ifdef EXEC_PAGESIZE
31890 # define getpagesize() EXEC_PAGESIZE
31891 # else /* no EXEC_PAGESIZE */
31892 # ifdef NBPG
31893 # define getpagesize() NBPG * CLSIZE
31894 # ifndef CLSIZE
31895 # define CLSIZE 1
31896 # endif /* no CLSIZE */
31897 # else /* no NBPG */
31898 # ifdef NBPC
31899 # define getpagesize() NBPC
31900 # else /* no NBPC */
31901 # ifdef PAGESIZE
31902 # define getpagesize() PAGESIZE
31903 # endif /* PAGESIZE */
31904 # endif /* no NBPC */
31905 # endif /* no NBPG */
31906 # endif /* no EXEC_PAGESIZE */
31907 # else /* no HAVE_SYS_PARAM_H */
31908 # define getpagesize() 8192 /* punt totally */
31909 # endif /* no HAVE_SYS_PARAM_H */
31910 # endif /* no _SC_PAGESIZE */
31912 #endif /* no HAVE_GETPAGESIZE */
31915 main ()
31917 char *data, *data2, *data3;
31918 int i, pagesize;
31919 int fd;
31921 pagesize = getpagesize ();
31923 /* First, make a file with some known garbage in it. */
31924 data = (char *) malloc (pagesize);
31925 if (!data)
31926 exit (1);
31927 for (i = 0; i < pagesize; ++i)
31928 *(data + i) = rand ();
31929 umask (0);
31930 fd = creat ("conftest.mmap", 0600);
31931 if (fd < 0)
31932 exit (1);
31933 if (write (fd, data, pagesize) != pagesize)
31934 exit (1);
31935 close (fd);
31937 /* Next, try to mmap the file at a fixed address which already has
31938 something else allocated at it. If we can, also make sure that
31939 we see the same garbage. */
31940 fd = open ("conftest.mmap", O_RDWR);
31941 if (fd < 0)
31942 exit (1);
31943 data2 = (char *) malloc (2 * pagesize);
31944 if (!data2)
31945 exit (1);
31946 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
31947 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
31948 MAP_PRIVATE | MAP_FIXED, fd, 0L))
31949 exit (1);
31950 for (i = 0; i < pagesize; ++i)
31951 if (*(data + i) != *(data2 + i))
31952 exit (1);
31954 /* Finally, make sure that changes to the mapped area do not
31955 percolate back to the file as seen by read(). (This is a bug on
31956 some variants of i386 svr4.0.) */
31957 for (i = 0; i < pagesize; ++i)
31958 *(data2 + i) = *(data2 + i) + 1;
31959 data3 = (char *) malloc (pagesize);
31960 if (!data3)
31961 exit (1);
31962 if (read (fd, data3, pagesize) != pagesize)
31963 exit (1);
31964 for (i = 0; i < pagesize; ++i)
31965 if (*(data + i) != *(data3 + i))
31966 exit (1);
31967 close (fd);
31968 exit (0);
31970 _ACEOF
31971 rm -f conftest$ac_exeext
31972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31973 (eval $ac_link) 2>&5
31974 ac_status=$?
31975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31976 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31978 (eval $ac_try) 2>&5
31979 ac_status=$?
31980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31981 (exit $ac_status); }; }; then
31982 ac_cv_func_mmap_fixed_mapped=yes
31983 else
31984 echo "$as_me: program exited with status $ac_status" >&5
31985 echo "$as_me: failed program was:" >&5
31986 sed 's/^/| /' conftest.$ac_ext >&5
31988 ( exit $ac_status )
31989 ac_cv_func_mmap_fixed_mapped=no
31991 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31994 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
31995 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
31996 if test $ac_cv_func_mmap_fixed_mapped = yes; then
31998 cat >>confdefs.h <<\_ACEOF
31999 #define HAVE_MMAP 1
32000 _ACEOF
32003 rm -f conftest.mmap
32007 # For iconv support.
32009 if test "X$prefix" = "XNONE"; then
32010 acl_final_prefix="$ac_default_prefix"
32011 else
32012 acl_final_prefix="$prefix"
32014 if test "X$exec_prefix" = "XNONE"; then
32015 acl_final_exec_prefix='${prefix}'
32016 else
32017 acl_final_exec_prefix="$exec_prefix"
32019 acl_save_prefix="$prefix"
32020 prefix="$acl_final_prefix"
32021 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
32022 prefix="$acl_save_prefix"
32025 # Check whether --with-gnu-ld or --without-gnu-ld was given.
32026 if test "${with_gnu_ld+set}" = set; then
32027 withval="$with_gnu_ld"
32028 test "$withval" = no || with_gnu_ld=yes
32029 else
32030 with_gnu_ld=no
32032 # Prepare PATH_SEPARATOR.
32033 # The user is always right.
32034 if test "${PATH_SEPARATOR+set}" != set; then
32035 echo "#! /bin/sh" >conf$$.sh
32036 echo "exit 0" >>conf$$.sh
32037 chmod +x conf$$.sh
32038 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
32039 PATH_SEPARATOR=';'
32040 else
32041 PATH_SEPARATOR=:
32043 rm -f conf$$.sh
32045 ac_prog=ld
32046 if test "$GCC" = yes; then
32047 # Check if gcc -print-prog-name=ld gives a path.
32048 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
32049 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
32050 case $host in
32051 *-*-mingw*)
32052 # gcc leaves a trailing carriage return which upsets mingw
32053 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
32055 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
32056 esac
32057 case $ac_prog in
32058 # Accept absolute paths.
32059 [\\/]* | [A-Za-z]:[\\/]*)
32060 re_direlt='/[^/][^/]*/\.\./'
32061 # Canonicalize the path of ld
32062 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
32063 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
32064 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
32065 done
32066 test -z "$LD" && LD="$ac_prog"
32069 # If it fails, then pretend we aren't using GCC.
32070 ac_prog=ld
32073 # If it is relative, then search for the first ld in PATH.
32074 with_gnu_ld=unknown
32076 esac
32077 elif test "$with_gnu_ld" = yes; then
32078 echo "$as_me:$LINENO: checking for GNU ld" >&5
32079 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
32080 else
32081 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
32082 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
32084 if test "${acl_cv_path_LD+set}" = set; then
32085 echo $ECHO_N "(cached) $ECHO_C" >&6
32086 else
32087 if test -z "$LD"; then
32088 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
32089 for ac_dir in $PATH; do
32090 test -z "$ac_dir" && ac_dir=.
32091 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
32092 acl_cv_path_LD="$ac_dir/$ac_prog"
32093 # Check to see if the program is GNU ld. I'd rather use --version,
32094 # but apparently some GNU ld's only accept -v.
32095 # Break only if it was the GNU/non-GNU ld that we prefer.
32096 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
32097 test "$with_gnu_ld" != no && break
32098 else
32099 test "$with_gnu_ld" != yes && break
32102 done
32103 IFS="$ac_save_ifs"
32104 else
32105 acl_cv_path_LD="$LD" # Let the user override the test with a path.
32109 LD="$acl_cv_path_LD"
32110 if test -n "$LD"; then
32111 echo "$as_me:$LINENO: result: $LD" >&5
32112 echo "${ECHO_T}$LD" >&6
32113 else
32114 echo "$as_me:$LINENO: result: no" >&5
32115 echo "${ECHO_T}no" >&6
32117 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
32118 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
32119 { (exit 1); exit 1; }; }
32120 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
32121 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
32122 if test "${acl_cv_prog_gnu_ld+set}" = set; then
32123 echo $ECHO_N "(cached) $ECHO_C" >&6
32124 else
32125 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
32126 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
32127 acl_cv_prog_gnu_ld=yes
32128 else
32129 acl_cv_prog_gnu_ld=no
32132 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
32133 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
32134 with_gnu_ld=$acl_cv_prog_gnu_ld
32138 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
32139 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
32140 if test "${acl_cv_rpath+set}" = set; then
32141 echo $ECHO_N "(cached) $ECHO_C" >&6
32142 else
32144 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
32145 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
32146 . ./conftest.sh
32147 rm -f ./conftest.sh
32148 acl_cv_rpath=done
32151 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
32152 echo "${ECHO_T}$acl_cv_rpath" >&6
32153 wl="$acl_cv_wl"
32154 libext="$acl_cv_libext"
32155 shlibext="$acl_cv_shlibext"
32156 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
32157 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
32158 hardcode_direct="$acl_cv_hardcode_direct"
32159 hardcode_minus_L="$acl_cv_hardcode_minus_L"
32160 # Check whether --enable-rpath or --disable-rpath was given.
32161 if test "${enable_rpath+set}" = set; then
32162 enableval="$enable_rpath"
32164 else
32165 enable_rpath=yes
32174 use_additional=yes
32176 acl_save_prefix="$prefix"
32177 prefix="$acl_final_prefix"
32178 acl_save_exec_prefix="$exec_prefix"
32179 exec_prefix="$acl_final_exec_prefix"
32181 eval additional_includedir=\"$includedir\"
32182 eval additional_libdir=\"$libdir\"
32184 exec_prefix="$acl_save_exec_prefix"
32185 prefix="$acl_save_prefix"
32188 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
32189 if test "${with_libiconv_prefix+set}" = set; then
32190 withval="$with_libiconv_prefix"
32192 if test "X$withval" = "Xno"; then
32193 use_additional=no
32194 else
32195 if test "X$withval" = "X"; then
32197 acl_save_prefix="$prefix"
32198 prefix="$acl_final_prefix"
32199 acl_save_exec_prefix="$exec_prefix"
32200 exec_prefix="$acl_final_exec_prefix"
32202 eval additional_includedir=\"$includedir\"
32203 eval additional_libdir=\"$libdir\"
32205 exec_prefix="$acl_save_exec_prefix"
32206 prefix="$acl_save_prefix"
32208 else
32209 additional_includedir="$withval/include"
32210 additional_libdir="$withval/lib"
32215 LIBICONV=
32216 LTLIBICONV=
32217 INCICONV=
32218 rpathdirs=
32219 ltrpathdirs=
32220 names_already_handled=
32221 names_next_round='iconv '
32222 while test -n "$names_next_round"; do
32223 names_this_round="$names_next_round"
32224 names_next_round=
32225 for name in $names_this_round; do
32226 already_handled=
32227 for n in $names_already_handled; do
32228 if test "$n" = "$name"; then
32229 already_handled=yes
32230 break
32232 done
32233 if test -z "$already_handled"; then
32234 names_already_handled="$names_already_handled $name"
32235 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
32236 eval value=\"\$HAVE_LIB$uppername\"
32237 if test -n "$value"; then
32238 if test "$value" = yes; then
32239 eval value=\"\$LIB$uppername\"
32240 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
32241 eval value=\"\$LTLIB$uppername\"
32242 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
32243 else
32246 else
32247 found_dir=
32248 found_la=
32249 found_so=
32250 found_a=
32251 if test $use_additional = yes; then
32252 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
32253 found_dir="$additional_libdir"
32254 found_so="$additional_libdir/lib$name.$shlibext"
32255 if test -f "$additional_libdir/lib$name.la"; then
32256 found_la="$additional_libdir/lib$name.la"
32258 else
32259 if test -f "$additional_libdir/lib$name.$libext"; then
32260 found_dir="$additional_libdir"
32261 found_a="$additional_libdir/lib$name.$libext"
32262 if test -f "$additional_libdir/lib$name.la"; then
32263 found_la="$additional_libdir/lib$name.la"
32268 if test "X$found_dir" = "X"; then
32269 for x in $LDFLAGS $LTLIBICONV; do
32271 acl_save_prefix="$prefix"
32272 prefix="$acl_final_prefix"
32273 acl_save_exec_prefix="$exec_prefix"
32274 exec_prefix="$acl_final_exec_prefix"
32275 eval x=\"$x\"
32276 exec_prefix="$acl_save_exec_prefix"
32277 prefix="$acl_save_prefix"
32279 case "$x" in
32280 -L*)
32281 dir=`echo "X$x" | sed -e 's/^X-L//'`
32282 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
32283 found_dir="$dir"
32284 found_so="$dir/lib$name.$shlibext"
32285 if test -f "$dir/lib$name.la"; then
32286 found_la="$dir/lib$name.la"
32288 else
32289 if test -f "$dir/lib$name.$libext"; then
32290 found_dir="$dir"
32291 found_a="$dir/lib$name.$libext"
32292 if test -f "$dir/lib$name.la"; then
32293 found_la="$dir/lib$name.la"
32298 esac
32299 if test "X$found_dir" != "X"; then
32300 break
32302 done
32304 if test "X$found_dir" != "X"; then
32305 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
32306 if test "X$found_so" != "X"; then
32307 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
32308 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
32309 else
32310 haveit=
32311 for x in $ltrpathdirs; do
32312 if test "X$x" = "X$found_dir"; then
32313 haveit=yes
32314 break
32316 done
32317 if test -z "$haveit"; then
32318 ltrpathdirs="$ltrpathdirs $found_dir"
32320 if test "$hardcode_direct" = yes; then
32321 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
32322 else
32323 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
32324 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
32325 haveit=
32326 for x in $rpathdirs; do
32327 if test "X$x" = "X$found_dir"; then
32328 haveit=yes
32329 break
32331 done
32332 if test -z "$haveit"; then
32333 rpathdirs="$rpathdirs $found_dir"
32335 else
32336 haveit=
32337 for x in $LDFLAGS $LIBICONV; do
32339 acl_save_prefix="$prefix"
32340 prefix="$acl_final_prefix"
32341 acl_save_exec_prefix="$exec_prefix"
32342 exec_prefix="$acl_final_exec_prefix"
32343 eval x=\"$x\"
32344 exec_prefix="$acl_save_exec_prefix"
32345 prefix="$acl_save_prefix"
32347 if test "X$x" = "X-L$found_dir"; then
32348 haveit=yes
32349 break
32351 done
32352 if test -z "$haveit"; then
32353 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
32355 if test "$hardcode_minus_L" != no; then
32356 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
32357 else
32358 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
32363 else
32364 if test "X$found_a" != "X"; then
32365 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
32366 else
32367 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
32370 additional_includedir=
32371 case "$found_dir" in
32372 */lib | */lib/)
32373 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
32374 additional_includedir="$basedir/include"
32376 esac
32377 if test "X$additional_includedir" != "X"; then
32378 if test "X$additional_includedir" != "X/usr/include"; then
32379 haveit=
32380 if test "X$additional_includedir" = "X/usr/local/include"; then
32381 if test -n "$GCC"; then
32382 case $host_os in
32383 linux*) haveit=yes;;
32384 esac
32387 if test -z "$haveit"; then
32388 for x in $CPPFLAGS $INCICONV; do
32390 acl_save_prefix="$prefix"
32391 prefix="$acl_final_prefix"
32392 acl_save_exec_prefix="$exec_prefix"
32393 exec_prefix="$acl_final_exec_prefix"
32394 eval x=\"$x\"
32395 exec_prefix="$acl_save_exec_prefix"
32396 prefix="$acl_save_prefix"
32398 if test "X$x" = "X-I$additional_includedir"; then
32399 haveit=yes
32400 break
32402 done
32403 if test -z "$haveit"; then
32404 if test -d "$additional_includedir"; then
32405 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
32411 if test -n "$found_la"; then
32412 save_libdir="$libdir"
32413 case "$found_la" in
32414 */* | *\\*) . "$found_la" ;;
32415 *) . "./$found_la" ;;
32416 esac
32417 libdir="$save_libdir"
32418 for dep in $dependency_libs; do
32419 case "$dep" in
32420 -L*)
32421 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
32422 if test "X$additional_libdir" != "X/usr/lib"; then
32423 haveit=
32424 if test "X$additional_libdir" = "X/usr/local/lib"; then
32425 if test -n "$GCC"; then
32426 case $host_os in
32427 linux*) haveit=yes;;
32428 esac
32431 if test -z "$haveit"; then
32432 haveit=
32433 for x in $LDFLAGS $LIBICONV; do
32435 acl_save_prefix="$prefix"
32436 prefix="$acl_final_prefix"
32437 acl_save_exec_prefix="$exec_prefix"
32438 exec_prefix="$acl_final_exec_prefix"
32439 eval x=\"$x\"
32440 exec_prefix="$acl_save_exec_prefix"
32441 prefix="$acl_save_prefix"
32443 if test "X$x" = "X-L$additional_libdir"; then
32444 haveit=yes
32445 break
32447 done
32448 if test -z "$haveit"; then
32449 if test -d "$additional_libdir"; then
32450 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
32453 haveit=
32454 for x in $LDFLAGS $LTLIBICONV; do
32456 acl_save_prefix="$prefix"
32457 prefix="$acl_final_prefix"
32458 acl_save_exec_prefix="$exec_prefix"
32459 exec_prefix="$acl_final_exec_prefix"
32460 eval x=\"$x\"
32461 exec_prefix="$acl_save_exec_prefix"
32462 prefix="$acl_save_prefix"
32464 if test "X$x" = "X-L$additional_libdir"; then
32465 haveit=yes
32466 break
32468 done
32469 if test -z "$haveit"; then
32470 if test -d "$additional_libdir"; then
32471 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
32477 -R*)
32478 dir=`echo "X$dep" | sed -e 's/^X-R//'`
32479 if test "$enable_rpath" != no; then
32480 haveit=
32481 for x in $rpathdirs; do
32482 if test "X$x" = "X$dir"; then
32483 haveit=yes
32484 break
32486 done
32487 if test -z "$haveit"; then
32488 rpathdirs="$rpathdirs $dir"
32490 haveit=
32491 for x in $ltrpathdirs; do
32492 if test "X$x" = "X$dir"; then
32493 haveit=yes
32494 break
32496 done
32497 if test -z "$haveit"; then
32498 ltrpathdirs="$ltrpathdirs $dir"
32502 -l*)
32503 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
32505 *.la)
32506 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
32509 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
32510 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
32512 esac
32513 done
32515 else
32516 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
32517 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
32521 done
32522 done
32523 if test "X$rpathdirs" != "X"; then
32524 if test -n "$hardcode_libdir_separator"; then
32525 alldirs=
32526 for found_dir in $rpathdirs; do
32527 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
32528 done
32529 acl_save_libdir="$libdir"
32530 libdir="$alldirs"
32531 eval flag=\"$hardcode_libdir_flag_spec\"
32532 libdir="$acl_save_libdir"
32533 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
32534 else
32535 for found_dir in $rpathdirs; do
32536 acl_save_libdir="$libdir"
32537 libdir="$found_dir"
32538 eval flag=\"$hardcode_libdir_flag_spec\"
32539 libdir="$acl_save_libdir"
32540 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
32541 done
32544 if test "X$ltrpathdirs" != "X"; then
32545 for found_dir in $ltrpathdirs; do
32546 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
32547 done
32556 am_save_CPPFLAGS="$CPPFLAGS"
32558 for element in $INCICONV; do
32559 haveit=
32560 for x in $CPPFLAGS; do
32562 acl_save_prefix="$prefix"
32563 prefix="$acl_final_prefix"
32564 acl_save_exec_prefix="$exec_prefix"
32565 exec_prefix="$acl_final_exec_prefix"
32566 eval x=\"$x\"
32567 exec_prefix="$acl_save_exec_prefix"
32568 prefix="$acl_save_prefix"
32570 if test "X$x" = "X$element"; then
32571 haveit=yes
32572 break
32574 done
32575 if test -z "$haveit"; then
32576 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
32578 done
32581 echo "$as_me:$LINENO: checking for iconv" >&5
32582 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
32583 if test "${am_cv_func_iconv+set}" = set; then
32584 echo $ECHO_N "(cached) $ECHO_C" >&6
32585 else
32587 am_cv_func_iconv="no, consider installing GNU libiconv"
32588 am_cv_lib_iconv=no
32589 if test x$gcc_no_link = xyes; then
32590 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32591 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32592 { (exit 1); exit 1; }; }
32594 cat >conftest.$ac_ext <<_ACEOF
32595 /* confdefs.h. */
32596 _ACEOF
32597 cat confdefs.h >>conftest.$ac_ext
32598 cat >>conftest.$ac_ext <<_ACEOF
32599 /* end confdefs.h. */
32600 #include <stdlib.h>
32601 #include <iconv.h>
32603 main ()
32605 iconv_t cd = iconv_open("","");
32606 iconv(cd,NULL,NULL,NULL,NULL);
32607 iconv_close(cd);
32609 return 0;
32611 _ACEOF
32612 rm -f conftest.$ac_objext conftest$ac_exeext
32613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32614 (eval $ac_link) 2>conftest.er1
32615 ac_status=$?
32616 grep -v '^ *+' conftest.er1 >conftest.err
32617 rm -f conftest.er1
32618 cat conftest.err >&5
32619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32620 (exit $ac_status); } &&
32621 { ac_try='test -z "$ac_c_werror_flag"
32622 || test ! -s conftest.err'
32623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32624 (eval $ac_try) 2>&5
32625 ac_status=$?
32626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32627 (exit $ac_status); }; } &&
32628 { ac_try='test -s conftest$ac_exeext'
32629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32630 (eval $ac_try) 2>&5
32631 ac_status=$?
32632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32633 (exit $ac_status); }; }; then
32634 am_cv_func_iconv=yes
32635 else
32636 echo "$as_me: failed program was:" >&5
32637 sed 's/^/| /' conftest.$ac_ext >&5
32640 rm -f conftest.err conftest.$ac_objext \
32641 conftest$ac_exeext conftest.$ac_ext
32642 if test "$am_cv_func_iconv" != yes; then
32643 am_save_LIBS="$LIBS"
32644 LIBS="$LIBS $LIBICONV"
32645 if test x$gcc_no_link = xyes; then
32646 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32647 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32648 { (exit 1); exit 1; }; }
32650 cat >conftest.$ac_ext <<_ACEOF
32651 /* confdefs.h. */
32652 _ACEOF
32653 cat confdefs.h >>conftest.$ac_ext
32654 cat >>conftest.$ac_ext <<_ACEOF
32655 /* end confdefs.h. */
32656 #include <stdlib.h>
32657 #include <iconv.h>
32659 main ()
32661 iconv_t cd = iconv_open("","");
32662 iconv(cd,NULL,NULL,NULL,NULL);
32663 iconv_close(cd);
32665 return 0;
32667 _ACEOF
32668 rm -f conftest.$ac_objext conftest$ac_exeext
32669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32670 (eval $ac_link) 2>conftest.er1
32671 ac_status=$?
32672 grep -v '^ *+' conftest.er1 >conftest.err
32673 rm -f conftest.er1
32674 cat conftest.err >&5
32675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32676 (exit $ac_status); } &&
32677 { ac_try='test -z "$ac_c_werror_flag"
32678 || test ! -s conftest.err'
32679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32680 (eval $ac_try) 2>&5
32681 ac_status=$?
32682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32683 (exit $ac_status); }; } &&
32684 { ac_try='test -s conftest$ac_exeext'
32685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32686 (eval $ac_try) 2>&5
32687 ac_status=$?
32688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32689 (exit $ac_status); }; }; then
32690 am_cv_lib_iconv=yes
32691 am_cv_func_iconv=yes
32692 else
32693 echo "$as_me: failed program was:" >&5
32694 sed 's/^/| /' conftest.$ac_ext >&5
32697 rm -f conftest.err conftest.$ac_objext \
32698 conftest$ac_exeext conftest.$ac_ext
32699 LIBS="$am_save_LIBS"
32703 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
32704 echo "${ECHO_T}$am_cv_func_iconv" >&6
32705 if test "$am_cv_func_iconv" = yes; then
32707 cat >>confdefs.h <<\_ACEOF
32708 #define HAVE_ICONV 1
32709 _ACEOF
32712 if test "$am_cv_lib_iconv" = yes; then
32713 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
32714 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
32715 echo "$as_me:$LINENO: result: $LIBICONV" >&5
32716 echo "${ECHO_T}$LIBICONV" >&6
32717 else
32718 CPPFLAGS="$am_save_CPPFLAGS"
32719 LIBICONV=
32720 LTLIBICONV=
32725 if test "$am_cv_func_iconv" = yes; then
32726 echo "$as_me:$LINENO: checking for iconv declaration" >&5
32727 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
32728 if test "${am_cv_proto_iconv+set}" = set; then
32729 echo $ECHO_N "(cached) $ECHO_C" >&6
32730 else
32732 cat >conftest.$ac_ext <<_ACEOF
32733 /* confdefs.h. */
32734 _ACEOF
32735 cat confdefs.h >>conftest.$ac_ext
32736 cat >>conftest.$ac_ext <<_ACEOF
32737 /* end confdefs.h. */
32739 #include <stdlib.h>
32740 #include <iconv.h>
32741 extern
32742 #ifdef __cplusplus
32744 #endif
32745 #if defined(__STDC__) || defined(__cplusplus)
32746 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
32747 #else
32748 size_t iconv();
32749 #endif
32752 main ()
32756 return 0;
32758 _ACEOF
32759 rm -f conftest.$ac_objext
32760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32761 (eval $ac_compile) 2>conftest.er1
32762 ac_status=$?
32763 grep -v '^ *+' conftest.er1 >conftest.err
32764 rm -f conftest.er1
32765 cat conftest.err >&5
32766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32767 (exit $ac_status); } &&
32768 { ac_try='test -z "$ac_c_werror_flag"
32769 || test ! -s conftest.err'
32770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32771 (eval $ac_try) 2>&5
32772 ac_status=$?
32773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32774 (exit $ac_status); }; } &&
32775 { ac_try='test -s conftest.$ac_objext'
32776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32777 (eval $ac_try) 2>&5
32778 ac_status=$?
32779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32780 (exit $ac_status); }; }; then
32781 am_cv_proto_iconv_arg1=""
32782 else
32783 echo "$as_me: failed program was:" >&5
32784 sed 's/^/| /' conftest.$ac_ext >&5
32786 am_cv_proto_iconv_arg1="const"
32788 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32789 am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
32792 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
32793 echo "$as_me:$LINENO: result: ${ac_t:-
32794 }$am_cv_proto_iconv" >&5
32795 echo "${ECHO_T}${ac_t:-
32796 }$am_cv_proto_iconv" >&6
32798 cat >>confdefs.h <<_ACEOF
32799 #define ICONV_CONST $am_cv_proto_iconv_arg1
32800 _ACEOF
32805 else
32807 # This lets us hard-code the functionality we know we'll have in the cross
32808 # target environment. "Let" is a sugar-coated word placed on an especially
32809 # dull and tedious hack, actually.
32811 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
32812 # that involve linking, can't be used:
32813 # "cannot open sim-crt0.o"
32814 # "cannot open crt0.o"
32815 # etc. All this is because there currently exists no unified, consistent
32816 # way for top level CC information to be passed down to target directories:
32817 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
32818 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
32819 # crosses can be removed.
32821 # If Canadian cross, then don't pick up tools from the build directory.
32822 # Used only in GLIBCXX_EXPORT_INCLUDES.
32823 if test -n "$with_cross_host" &&
32824 test x"$build_alias" != x"$with_cross_host" &&
32825 test x"$build" != x"$target";
32826 then
32827 CANADIAN=yes
32828 else
32829 CANADIAN=no
32832 # Construct crosses by hand, eliminating bits that need ld...
32833 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
32834 # GLIBCXX_CHECK_MATH_SUPPORT
32836 # First, test for "known" system libraries. We may be using newlib even
32837 # on a hosted environment.
32838 if test "x${with_newlib}" = "xyes"; then
32839 os_include_dir="os/newlib"
32840 cat >>confdefs.h <<\_ACEOF
32841 #define HAVE_HYPOT 1
32842 _ACEOF
32845 # GLIBCXX_CHECK_STDLIB_SUPPORT
32846 cat >>confdefs.h <<\_ACEOF
32847 #define HAVE_STRTOF 1
32848 _ACEOF
32850 # AC_FUNC_MMAP
32851 cat >>confdefs.h <<\_ACEOF
32852 #define HAVE_MMAP 1
32853 _ACEOF
32856 cat >>confdefs.h <<\_ACEOF
32857 #define HAVE_ACOSF 1
32858 _ACEOF
32860 cat >>confdefs.h <<\_ACEOF
32861 #define HAVE_ASINF 1
32862 _ACEOF
32864 cat >>confdefs.h <<\_ACEOF
32865 #define HAVE_ATAN2F 1
32866 _ACEOF
32868 cat >>confdefs.h <<\_ACEOF
32869 #define HAVE_ATANF 1
32870 _ACEOF
32872 cat >>confdefs.h <<\_ACEOF
32873 #define HAVE_CEILF 1
32874 _ACEOF
32876 cat >>confdefs.h <<\_ACEOF
32877 #define HAVE_COPYSIGN 1
32878 _ACEOF
32880 cat >>confdefs.h <<\_ACEOF
32881 #define HAVE_COPYSIGNF 1
32882 _ACEOF
32884 cat >>confdefs.h <<\_ACEOF
32885 #define HAVE_COSF 1
32886 _ACEOF
32888 cat >>confdefs.h <<\_ACEOF
32889 #define HAVE_COSHF 1
32890 _ACEOF
32892 cat >>confdefs.h <<\_ACEOF
32893 #define HAVE_EXPF 1
32894 _ACEOF
32896 cat >>confdefs.h <<\_ACEOF
32897 #define HAVE_FABSF 1
32898 _ACEOF
32900 cat >>confdefs.h <<\_ACEOF
32901 #define HAVE_FLOORF 1
32902 _ACEOF
32904 cat >>confdefs.h <<\_ACEOF
32905 #define HAVE_FMODF 1
32906 _ACEOF
32908 cat >>confdefs.h <<\_ACEOF
32909 #define HAVE_FREXPF 1
32910 _ACEOF
32912 cat >>confdefs.h <<\_ACEOF
32913 #define HAVE_LDEXPF 1
32914 _ACEOF
32916 cat >>confdefs.h <<\_ACEOF
32917 #define HAVE_LOG10F 1
32918 _ACEOF
32920 cat >>confdefs.h <<\_ACEOF
32921 #define HAVE_LOGF 1
32922 _ACEOF
32924 cat >>confdefs.h <<\_ACEOF
32925 #define HAVE_MODFF 1
32926 _ACEOF
32928 cat >>confdefs.h <<\_ACEOF
32929 #define HAVE_POWF 1
32930 _ACEOF
32932 cat >>confdefs.h <<\_ACEOF
32933 #define HAVE_SINF 1
32934 _ACEOF
32936 cat >>confdefs.h <<\_ACEOF
32937 #define HAVE_SINHF 1
32938 _ACEOF
32940 cat >>confdefs.h <<\_ACEOF
32941 #define HAVE_SQRTF 1
32942 _ACEOF
32944 cat >>confdefs.h <<\_ACEOF
32945 #define HAVE_TANF 1
32946 _ACEOF
32948 cat >>confdefs.h <<\_ACEOF
32949 #define HAVE_TANHF 1
32950 _ACEOF
32953 cat >>confdefs.h <<\_ACEOF
32954 #define HAVE_S_ISREG 1
32955 _ACEOF
32957 cat >>confdefs.h <<\_ACEOF
32958 #define HAVE_S_IFREG 1
32959 _ACEOF
32962 cat >>confdefs.h <<\_ACEOF
32963 #define HAVE_ICONV 1
32964 _ACEOF
32966 else
32968 # Base decisions on target environment.
32969 case "${host}" in
32970 arm*-*-symbianelf*)
32971 # This is a freestanding configuration; there is nothing to do here.
32974 *-darwin*)
32975 # Darwin versions vary, but the linker should work in a cross environment,
32976 # so we just check for all the features here.
32977 # Check for available headers.
32991 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
32992 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
32993 sys/types.h
32995 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32996 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32997 echo "$as_me:$LINENO: checking for $ac_header" >&5
32998 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32999 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33000 echo $ECHO_N "(cached) $ECHO_C" >&6
33002 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33003 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33004 else
33005 # Is the header compilable?
33006 echo "$as_me:$LINENO: checking $ac_header usability" >&5
33007 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
33008 cat >conftest.$ac_ext <<_ACEOF
33009 /* confdefs.h. */
33010 _ACEOF
33011 cat confdefs.h >>conftest.$ac_ext
33012 cat >>conftest.$ac_ext <<_ACEOF
33013 /* end confdefs.h. */
33014 $ac_includes_default
33015 #include <$ac_header>
33016 _ACEOF
33017 rm -f conftest.$ac_objext
33018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33019 (eval $ac_compile) 2>conftest.er1
33020 ac_status=$?
33021 grep -v '^ *+' conftest.er1 >conftest.err
33022 rm -f conftest.er1
33023 cat conftest.err >&5
33024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33025 (exit $ac_status); } &&
33026 { ac_try='test -z "$ac_c_werror_flag"
33027 || test ! -s conftest.err'
33028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33029 (eval $ac_try) 2>&5
33030 ac_status=$?
33031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33032 (exit $ac_status); }; } &&
33033 { ac_try='test -s conftest.$ac_objext'
33034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33035 (eval $ac_try) 2>&5
33036 ac_status=$?
33037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33038 (exit $ac_status); }; }; then
33039 ac_header_compiler=yes
33040 else
33041 echo "$as_me: failed program was:" >&5
33042 sed 's/^/| /' conftest.$ac_ext >&5
33044 ac_header_compiler=no
33046 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33047 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33048 echo "${ECHO_T}$ac_header_compiler" >&6
33050 # Is the header present?
33051 echo "$as_me:$LINENO: checking $ac_header presence" >&5
33052 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
33053 cat >conftest.$ac_ext <<_ACEOF
33054 /* confdefs.h. */
33055 _ACEOF
33056 cat confdefs.h >>conftest.$ac_ext
33057 cat >>conftest.$ac_ext <<_ACEOF
33058 /* end confdefs.h. */
33059 #include <$ac_header>
33060 _ACEOF
33061 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33062 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
33063 ac_status=$?
33064 grep -v '^ *+' conftest.er1 >conftest.err
33065 rm -f conftest.er1
33066 cat conftest.err >&5
33067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33068 (exit $ac_status); } >/dev/null; then
33069 if test -s conftest.err; then
33070 ac_cpp_err=$ac_c_preproc_warn_flag
33071 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
33072 else
33073 ac_cpp_err=
33075 else
33076 ac_cpp_err=yes
33078 if test -z "$ac_cpp_err"; then
33079 ac_header_preproc=yes
33080 else
33081 echo "$as_me: failed program was:" >&5
33082 sed 's/^/| /' conftest.$ac_ext >&5
33084 ac_header_preproc=no
33086 rm -f conftest.err conftest.$ac_ext
33087 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33088 echo "${ECHO_T}$ac_header_preproc" >&6
33090 # So? What about this header?
33091 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33092 yes:no: )
33093 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
33094 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
33095 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
33096 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
33097 ac_header_preproc=yes
33099 no:yes:* )
33100 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
33101 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
33102 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
33103 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
33104 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
33105 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
33106 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
33107 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
33108 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33109 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33110 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
33111 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
33113 cat <<\_ASBOX
33114 ## ----------------------------------------- ##
33115 ## Report this to the package-unused lists. ##
33116 ## ----------------------------------------- ##
33117 _ASBOX
33119 sed "s/^/$as_me: WARNING: /" >&2
33121 esac
33122 echo "$as_me:$LINENO: checking for $ac_header" >&5
33123 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33124 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33125 echo $ECHO_N "(cached) $ECHO_C" >&6
33126 else
33127 eval "$as_ac_Header=\$ac_header_preproc"
33129 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33130 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33133 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33134 cat >>confdefs.h <<_ACEOF
33135 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33136 _ACEOF
33140 done
33143 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
33145 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33146 ac_save_CXXFLAGS="$CXXFLAGS"
33147 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33149 echo "$as_me:$LINENO: checking for sin in -lm" >&5
33150 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
33151 if test "${ac_cv_lib_m_sin+set}" = set; then
33152 echo $ECHO_N "(cached) $ECHO_C" >&6
33153 else
33154 ac_check_lib_save_LIBS=$LIBS
33155 LIBS="-lm $LIBS"
33156 if test x$gcc_no_link = xyes; then
33157 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33158 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33159 { (exit 1); exit 1; }; }
33161 cat >conftest.$ac_ext <<_ACEOF
33162 /* confdefs.h. */
33163 _ACEOF
33164 cat confdefs.h >>conftest.$ac_ext
33165 cat >>conftest.$ac_ext <<_ACEOF
33166 /* end confdefs.h. */
33168 /* Override any gcc2 internal prototype to avoid an error. */
33169 #ifdef __cplusplus
33170 extern "C"
33171 #endif
33172 /* We use char because int might match the return type of a gcc2
33173 builtin and then its argument prototype would still apply. */
33174 char sin ();
33176 main ()
33178 sin ();
33180 return 0;
33182 _ACEOF
33183 rm -f conftest.$ac_objext conftest$ac_exeext
33184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33185 (eval $ac_link) 2>conftest.er1
33186 ac_status=$?
33187 grep -v '^ *+' conftest.er1 >conftest.err
33188 rm -f conftest.er1
33189 cat conftest.err >&5
33190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33191 (exit $ac_status); } &&
33192 { ac_try='test -z "$ac_c_werror_flag"
33193 || test ! -s conftest.err'
33194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33195 (eval $ac_try) 2>&5
33196 ac_status=$?
33197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33198 (exit $ac_status); }; } &&
33199 { ac_try='test -s conftest$ac_exeext'
33200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33201 (eval $ac_try) 2>&5
33202 ac_status=$?
33203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33204 (exit $ac_status); }; }; then
33205 ac_cv_lib_m_sin=yes
33206 else
33207 echo "$as_me: failed program was:" >&5
33208 sed 's/^/| /' conftest.$ac_ext >&5
33210 ac_cv_lib_m_sin=no
33212 rm -f conftest.err conftest.$ac_objext \
33213 conftest$ac_exeext conftest.$ac_ext
33214 LIBS=$ac_check_lib_save_LIBS
33216 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
33217 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
33218 if test $ac_cv_lib_m_sin = yes; then
33219 libm="-lm"
33222 ac_save_LIBS="$LIBS"
33223 LIBS="$LIBS $libm"
33227 echo "$as_me:$LINENO: checking for isinf declaration" >&5
33228 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
33229 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
33230 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
33231 echo $ECHO_N "(cached) $ECHO_C" >&6
33232 else
33236 ac_ext=cc
33237 ac_cpp='$CXXCPP $CPPFLAGS'
33238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33242 cat >conftest.$ac_ext <<_ACEOF
33243 /* confdefs.h. */
33244 _ACEOF
33245 cat confdefs.h >>conftest.$ac_ext
33246 cat >>conftest.$ac_ext <<_ACEOF
33247 /* end confdefs.h. */
33248 #include <math.h>
33249 #ifdef HAVE_IEEEFP_H
33250 #include <ieeefp.h>
33251 #endif
33254 main ()
33256 isinf(0);
33258 return 0;
33260 _ACEOF
33261 rm -f conftest.$ac_objext
33262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33263 (eval $ac_compile) 2>conftest.er1
33264 ac_status=$?
33265 grep -v '^ *+' conftest.er1 >conftest.err
33266 rm -f conftest.er1
33267 cat conftest.err >&5
33268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33269 (exit $ac_status); } &&
33270 { ac_try='test -z "$ac_cxx_werror_flag"
33271 || test ! -s conftest.err'
33272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33273 (eval $ac_try) 2>&5
33274 ac_status=$?
33275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33276 (exit $ac_status); }; } &&
33277 { ac_try='test -s conftest.$ac_objext'
33278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33279 (eval $ac_try) 2>&5
33280 ac_status=$?
33281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33282 (exit $ac_status); }; }; then
33283 glibcxx_cv_func_isinf_use=yes
33284 else
33285 echo "$as_me: failed program was:" >&5
33286 sed 's/^/| /' conftest.$ac_ext >&5
33288 glibcxx_cv_func_isinf_use=no
33290 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33291 ac_ext=c
33292 ac_cpp='$CPP $CPPFLAGS'
33293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33301 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
33302 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
33304 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
33306 for ac_func in isinf
33308 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33309 echo "$as_me:$LINENO: checking for $ac_func" >&5
33310 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33311 if eval "test \"\${$as_ac_var+set}\" = set"; then
33312 echo $ECHO_N "(cached) $ECHO_C" >&6
33313 else
33314 if test x$gcc_no_link = xyes; then
33315 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33316 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33317 { (exit 1); exit 1; }; }
33319 cat >conftest.$ac_ext <<_ACEOF
33320 /* confdefs.h. */
33321 _ACEOF
33322 cat confdefs.h >>conftest.$ac_ext
33323 cat >>conftest.$ac_ext <<_ACEOF
33324 /* end confdefs.h. */
33325 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33326 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33327 #define $ac_func innocuous_$ac_func
33329 /* System header to define __stub macros and hopefully few prototypes,
33330 which can conflict with char $ac_func (); below.
33331 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33332 <limits.h> exists even on freestanding compilers. */
33334 #ifdef __STDC__
33335 # include <limits.h>
33336 #else
33337 # include <assert.h>
33338 #endif
33340 #undef $ac_func
33342 /* Override any gcc2 internal prototype to avoid an error. */
33343 #ifdef __cplusplus
33344 extern "C"
33346 #endif
33347 /* We use char because int might match the return type of a gcc2
33348 builtin and then its argument prototype would still apply. */
33349 char $ac_func ();
33350 /* The GNU C library defines this for functions which it implements
33351 to always fail with ENOSYS. Some functions are actually named
33352 something starting with __ and the normal name is an alias. */
33353 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33354 choke me
33355 #else
33356 char (*f) () = $ac_func;
33357 #endif
33358 #ifdef __cplusplus
33360 #endif
33363 main ()
33365 return f != $ac_func;
33367 return 0;
33369 _ACEOF
33370 rm -f conftest.$ac_objext conftest$ac_exeext
33371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33372 (eval $ac_link) 2>conftest.er1
33373 ac_status=$?
33374 grep -v '^ *+' conftest.er1 >conftest.err
33375 rm -f conftest.er1
33376 cat conftest.err >&5
33377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33378 (exit $ac_status); } &&
33379 { ac_try='test -z "$ac_c_werror_flag"
33380 || test ! -s conftest.err'
33381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33382 (eval $ac_try) 2>&5
33383 ac_status=$?
33384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33385 (exit $ac_status); }; } &&
33386 { ac_try='test -s conftest$ac_exeext'
33387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33388 (eval $ac_try) 2>&5
33389 ac_status=$?
33390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33391 (exit $ac_status); }; }; then
33392 eval "$as_ac_var=yes"
33393 else
33394 echo "$as_me: failed program was:" >&5
33395 sed 's/^/| /' conftest.$ac_ext >&5
33397 eval "$as_ac_var=no"
33399 rm -f conftest.err conftest.$ac_objext \
33400 conftest$ac_exeext conftest.$ac_ext
33402 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33403 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33404 if test `eval echo '${'$as_ac_var'}'` = yes; then
33405 cat >>confdefs.h <<_ACEOF
33406 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33407 _ACEOF
33410 done
33412 else
33414 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
33415 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
33416 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
33417 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
33418 echo $ECHO_N "(cached) $ECHO_C" >&6
33419 else
33423 ac_ext=cc
33424 ac_cpp='$CXXCPP $CPPFLAGS'
33425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33429 cat >conftest.$ac_ext <<_ACEOF
33430 /* confdefs.h. */
33431 _ACEOF
33432 cat confdefs.h >>conftest.$ac_ext
33433 cat >>conftest.$ac_ext <<_ACEOF
33434 /* end confdefs.h. */
33435 #include <math.h>
33436 #ifdef HAVE_IEEEFP_H
33437 #include <ieeefp.h>
33438 #endif
33441 main ()
33443 _isinf(0);
33445 return 0;
33447 _ACEOF
33448 rm -f conftest.$ac_objext
33449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33450 (eval $ac_compile) 2>conftest.er1
33451 ac_status=$?
33452 grep -v '^ *+' conftest.er1 >conftest.err
33453 rm -f conftest.er1
33454 cat conftest.err >&5
33455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33456 (exit $ac_status); } &&
33457 { ac_try='test -z "$ac_cxx_werror_flag"
33458 || test ! -s conftest.err'
33459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33460 (eval $ac_try) 2>&5
33461 ac_status=$?
33462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33463 (exit $ac_status); }; } &&
33464 { ac_try='test -s conftest.$ac_objext'
33465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33466 (eval $ac_try) 2>&5
33467 ac_status=$?
33468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33469 (exit $ac_status); }; }; then
33470 glibcxx_cv_func__isinf_use=yes
33471 else
33472 echo "$as_me: failed program was:" >&5
33473 sed 's/^/| /' conftest.$ac_ext >&5
33475 glibcxx_cv_func__isinf_use=no
33477 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33478 ac_ext=c
33479 ac_cpp='$CPP $CPPFLAGS'
33480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33488 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
33489 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
33491 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
33493 for ac_func in _isinf
33495 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33496 echo "$as_me:$LINENO: checking for $ac_func" >&5
33497 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33498 if eval "test \"\${$as_ac_var+set}\" = set"; then
33499 echo $ECHO_N "(cached) $ECHO_C" >&6
33500 else
33501 if test x$gcc_no_link = xyes; then
33502 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33503 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33504 { (exit 1); exit 1; }; }
33506 cat >conftest.$ac_ext <<_ACEOF
33507 /* confdefs.h. */
33508 _ACEOF
33509 cat confdefs.h >>conftest.$ac_ext
33510 cat >>conftest.$ac_ext <<_ACEOF
33511 /* end confdefs.h. */
33512 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33513 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33514 #define $ac_func innocuous_$ac_func
33516 /* System header to define __stub macros and hopefully few prototypes,
33517 which can conflict with char $ac_func (); below.
33518 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33519 <limits.h> exists even on freestanding compilers. */
33521 #ifdef __STDC__
33522 # include <limits.h>
33523 #else
33524 # include <assert.h>
33525 #endif
33527 #undef $ac_func
33529 /* Override any gcc2 internal prototype to avoid an error. */
33530 #ifdef __cplusplus
33531 extern "C"
33533 #endif
33534 /* We use char because int might match the return type of a gcc2
33535 builtin and then its argument prototype would still apply. */
33536 char $ac_func ();
33537 /* The GNU C library defines this for functions which it implements
33538 to always fail with ENOSYS. Some functions are actually named
33539 something starting with __ and the normal name is an alias. */
33540 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33541 choke me
33542 #else
33543 char (*f) () = $ac_func;
33544 #endif
33545 #ifdef __cplusplus
33547 #endif
33550 main ()
33552 return f != $ac_func;
33554 return 0;
33556 _ACEOF
33557 rm -f conftest.$ac_objext conftest$ac_exeext
33558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33559 (eval $ac_link) 2>conftest.er1
33560 ac_status=$?
33561 grep -v '^ *+' conftest.er1 >conftest.err
33562 rm -f conftest.er1
33563 cat conftest.err >&5
33564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33565 (exit $ac_status); } &&
33566 { ac_try='test -z "$ac_c_werror_flag"
33567 || test ! -s conftest.err'
33568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33569 (eval $ac_try) 2>&5
33570 ac_status=$?
33571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33572 (exit $ac_status); }; } &&
33573 { ac_try='test -s conftest$ac_exeext'
33574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33575 (eval $ac_try) 2>&5
33576 ac_status=$?
33577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33578 (exit $ac_status); }; }; then
33579 eval "$as_ac_var=yes"
33580 else
33581 echo "$as_me: failed program was:" >&5
33582 sed 's/^/| /' conftest.$ac_ext >&5
33584 eval "$as_ac_var=no"
33586 rm -f conftest.err conftest.$ac_objext \
33587 conftest$ac_exeext conftest.$ac_ext
33589 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33590 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33591 if test `eval echo '${'$as_ac_var'}'` = yes; then
33592 cat >>confdefs.h <<_ACEOF
33593 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33594 _ACEOF
33597 done
33607 echo "$as_me:$LINENO: checking for isnan declaration" >&5
33608 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
33609 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
33610 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
33611 echo $ECHO_N "(cached) $ECHO_C" >&6
33612 else
33616 ac_ext=cc
33617 ac_cpp='$CXXCPP $CPPFLAGS'
33618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33622 cat >conftest.$ac_ext <<_ACEOF
33623 /* confdefs.h. */
33624 _ACEOF
33625 cat confdefs.h >>conftest.$ac_ext
33626 cat >>conftest.$ac_ext <<_ACEOF
33627 /* end confdefs.h. */
33628 #include <math.h>
33629 #ifdef HAVE_IEEEFP_H
33630 #include <ieeefp.h>
33631 #endif
33634 main ()
33636 isnan(0);
33638 return 0;
33640 _ACEOF
33641 rm -f conftest.$ac_objext
33642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33643 (eval $ac_compile) 2>conftest.er1
33644 ac_status=$?
33645 grep -v '^ *+' conftest.er1 >conftest.err
33646 rm -f conftest.er1
33647 cat conftest.err >&5
33648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33649 (exit $ac_status); } &&
33650 { ac_try='test -z "$ac_cxx_werror_flag"
33651 || test ! -s conftest.err'
33652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33653 (eval $ac_try) 2>&5
33654 ac_status=$?
33655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33656 (exit $ac_status); }; } &&
33657 { ac_try='test -s conftest.$ac_objext'
33658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33659 (eval $ac_try) 2>&5
33660 ac_status=$?
33661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33662 (exit $ac_status); }; }; then
33663 glibcxx_cv_func_isnan_use=yes
33664 else
33665 echo "$as_me: failed program was:" >&5
33666 sed 's/^/| /' conftest.$ac_ext >&5
33668 glibcxx_cv_func_isnan_use=no
33670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33671 ac_ext=c
33672 ac_cpp='$CPP $CPPFLAGS'
33673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33681 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
33682 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
33684 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
33686 for ac_func in isnan
33688 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33689 echo "$as_me:$LINENO: checking for $ac_func" >&5
33690 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33691 if eval "test \"\${$as_ac_var+set}\" = set"; then
33692 echo $ECHO_N "(cached) $ECHO_C" >&6
33693 else
33694 if test x$gcc_no_link = xyes; then
33695 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33696 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33697 { (exit 1); exit 1; }; }
33699 cat >conftest.$ac_ext <<_ACEOF
33700 /* confdefs.h. */
33701 _ACEOF
33702 cat confdefs.h >>conftest.$ac_ext
33703 cat >>conftest.$ac_ext <<_ACEOF
33704 /* end confdefs.h. */
33705 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33706 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33707 #define $ac_func innocuous_$ac_func
33709 /* System header to define __stub macros and hopefully few prototypes,
33710 which can conflict with char $ac_func (); below.
33711 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33712 <limits.h> exists even on freestanding compilers. */
33714 #ifdef __STDC__
33715 # include <limits.h>
33716 #else
33717 # include <assert.h>
33718 #endif
33720 #undef $ac_func
33722 /* Override any gcc2 internal prototype to avoid an error. */
33723 #ifdef __cplusplus
33724 extern "C"
33726 #endif
33727 /* We use char because int might match the return type of a gcc2
33728 builtin and then its argument prototype would still apply. */
33729 char $ac_func ();
33730 /* The GNU C library defines this for functions which it implements
33731 to always fail with ENOSYS. Some functions are actually named
33732 something starting with __ and the normal name is an alias. */
33733 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33734 choke me
33735 #else
33736 char (*f) () = $ac_func;
33737 #endif
33738 #ifdef __cplusplus
33740 #endif
33743 main ()
33745 return f != $ac_func;
33747 return 0;
33749 _ACEOF
33750 rm -f conftest.$ac_objext conftest$ac_exeext
33751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33752 (eval $ac_link) 2>conftest.er1
33753 ac_status=$?
33754 grep -v '^ *+' conftest.er1 >conftest.err
33755 rm -f conftest.er1
33756 cat conftest.err >&5
33757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33758 (exit $ac_status); } &&
33759 { ac_try='test -z "$ac_c_werror_flag"
33760 || test ! -s conftest.err'
33761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33762 (eval $ac_try) 2>&5
33763 ac_status=$?
33764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33765 (exit $ac_status); }; } &&
33766 { ac_try='test -s conftest$ac_exeext'
33767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33768 (eval $ac_try) 2>&5
33769 ac_status=$?
33770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33771 (exit $ac_status); }; }; then
33772 eval "$as_ac_var=yes"
33773 else
33774 echo "$as_me: failed program was:" >&5
33775 sed 's/^/| /' conftest.$ac_ext >&5
33777 eval "$as_ac_var=no"
33779 rm -f conftest.err conftest.$ac_objext \
33780 conftest$ac_exeext conftest.$ac_ext
33782 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33783 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33784 if test `eval echo '${'$as_ac_var'}'` = yes; then
33785 cat >>confdefs.h <<_ACEOF
33786 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33787 _ACEOF
33790 done
33792 else
33794 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
33795 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
33796 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
33797 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
33798 echo $ECHO_N "(cached) $ECHO_C" >&6
33799 else
33803 ac_ext=cc
33804 ac_cpp='$CXXCPP $CPPFLAGS'
33805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33809 cat >conftest.$ac_ext <<_ACEOF
33810 /* confdefs.h. */
33811 _ACEOF
33812 cat confdefs.h >>conftest.$ac_ext
33813 cat >>conftest.$ac_ext <<_ACEOF
33814 /* end confdefs.h. */
33815 #include <math.h>
33816 #ifdef HAVE_IEEEFP_H
33817 #include <ieeefp.h>
33818 #endif
33821 main ()
33823 _isnan(0);
33825 return 0;
33827 _ACEOF
33828 rm -f conftest.$ac_objext
33829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33830 (eval $ac_compile) 2>conftest.er1
33831 ac_status=$?
33832 grep -v '^ *+' conftest.er1 >conftest.err
33833 rm -f conftest.er1
33834 cat conftest.err >&5
33835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33836 (exit $ac_status); } &&
33837 { ac_try='test -z "$ac_cxx_werror_flag"
33838 || test ! -s conftest.err'
33839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33840 (eval $ac_try) 2>&5
33841 ac_status=$?
33842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33843 (exit $ac_status); }; } &&
33844 { ac_try='test -s conftest.$ac_objext'
33845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33846 (eval $ac_try) 2>&5
33847 ac_status=$?
33848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33849 (exit $ac_status); }; }; then
33850 glibcxx_cv_func__isnan_use=yes
33851 else
33852 echo "$as_me: failed program was:" >&5
33853 sed 's/^/| /' conftest.$ac_ext >&5
33855 glibcxx_cv_func__isnan_use=no
33857 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33858 ac_ext=c
33859 ac_cpp='$CPP $CPPFLAGS'
33860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33868 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
33869 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
33871 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
33873 for ac_func in _isnan
33875 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33876 echo "$as_me:$LINENO: checking for $ac_func" >&5
33877 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33878 if eval "test \"\${$as_ac_var+set}\" = set"; then
33879 echo $ECHO_N "(cached) $ECHO_C" >&6
33880 else
33881 if test x$gcc_no_link = xyes; then
33882 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33883 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33884 { (exit 1); exit 1; }; }
33886 cat >conftest.$ac_ext <<_ACEOF
33887 /* confdefs.h. */
33888 _ACEOF
33889 cat confdefs.h >>conftest.$ac_ext
33890 cat >>conftest.$ac_ext <<_ACEOF
33891 /* end confdefs.h. */
33892 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33893 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33894 #define $ac_func innocuous_$ac_func
33896 /* System header to define __stub macros and hopefully few prototypes,
33897 which can conflict with char $ac_func (); below.
33898 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33899 <limits.h> exists even on freestanding compilers. */
33901 #ifdef __STDC__
33902 # include <limits.h>
33903 #else
33904 # include <assert.h>
33905 #endif
33907 #undef $ac_func
33909 /* Override any gcc2 internal prototype to avoid an error. */
33910 #ifdef __cplusplus
33911 extern "C"
33913 #endif
33914 /* We use char because int might match the return type of a gcc2
33915 builtin and then its argument prototype would still apply. */
33916 char $ac_func ();
33917 /* The GNU C library defines this for functions which it implements
33918 to always fail with ENOSYS. Some functions are actually named
33919 something starting with __ and the normal name is an alias. */
33920 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33921 choke me
33922 #else
33923 char (*f) () = $ac_func;
33924 #endif
33925 #ifdef __cplusplus
33927 #endif
33930 main ()
33932 return f != $ac_func;
33934 return 0;
33936 _ACEOF
33937 rm -f conftest.$ac_objext conftest$ac_exeext
33938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33939 (eval $ac_link) 2>conftest.er1
33940 ac_status=$?
33941 grep -v '^ *+' conftest.er1 >conftest.err
33942 rm -f conftest.er1
33943 cat conftest.err >&5
33944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33945 (exit $ac_status); } &&
33946 { ac_try='test -z "$ac_c_werror_flag"
33947 || test ! -s conftest.err'
33948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33949 (eval $ac_try) 2>&5
33950 ac_status=$?
33951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33952 (exit $ac_status); }; } &&
33953 { ac_try='test -s conftest$ac_exeext'
33954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33955 (eval $ac_try) 2>&5
33956 ac_status=$?
33957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33958 (exit $ac_status); }; }; then
33959 eval "$as_ac_var=yes"
33960 else
33961 echo "$as_me: failed program was:" >&5
33962 sed 's/^/| /' conftest.$ac_ext >&5
33964 eval "$as_ac_var=no"
33966 rm -f conftest.err conftest.$ac_objext \
33967 conftest$ac_exeext conftest.$ac_ext
33969 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33970 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33971 if test `eval echo '${'$as_ac_var'}'` = yes; then
33972 cat >>confdefs.h <<_ACEOF
33973 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33974 _ACEOF
33977 done
33987 echo "$as_me:$LINENO: checking for finite declaration" >&5
33988 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
33989 if test x${glibcxx_cv_func_finite_use+set} != xset; then
33990 if test "${glibcxx_cv_func_finite_use+set}" = set; then
33991 echo $ECHO_N "(cached) $ECHO_C" >&6
33992 else
33996 ac_ext=cc
33997 ac_cpp='$CXXCPP $CPPFLAGS'
33998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34002 cat >conftest.$ac_ext <<_ACEOF
34003 /* confdefs.h. */
34004 _ACEOF
34005 cat confdefs.h >>conftest.$ac_ext
34006 cat >>conftest.$ac_ext <<_ACEOF
34007 /* end confdefs.h. */
34008 #include <math.h>
34009 #ifdef HAVE_IEEEFP_H
34010 #include <ieeefp.h>
34011 #endif
34014 main ()
34016 finite(0);
34018 return 0;
34020 _ACEOF
34021 rm -f conftest.$ac_objext
34022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34023 (eval $ac_compile) 2>conftest.er1
34024 ac_status=$?
34025 grep -v '^ *+' conftest.er1 >conftest.err
34026 rm -f conftest.er1
34027 cat conftest.err >&5
34028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34029 (exit $ac_status); } &&
34030 { ac_try='test -z "$ac_cxx_werror_flag"
34031 || test ! -s conftest.err'
34032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34033 (eval $ac_try) 2>&5
34034 ac_status=$?
34035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34036 (exit $ac_status); }; } &&
34037 { ac_try='test -s conftest.$ac_objext'
34038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34039 (eval $ac_try) 2>&5
34040 ac_status=$?
34041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34042 (exit $ac_status); }; }; then
34043 glibcxx_cv_func_finite_use=yes
34044 else
34045 echo "$as_me: failed program was:" >&5
34046 sed 's/^/| /' conftest.$ac_ext >&5
34048 glibcxx_cv_func_finite_use=no
34050 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34051 ac_ext=c
34052 ac_cpp='$CPP $CPPFLAGS'
34053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34061 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
34062 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
34064 if test x$glibcxx_cv_func_finite_use = x"yes"; then
34066 for ac_func in finite
34068 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34069 echo "$as_me:$LINENO: checking for $ac_func" >&5
34070 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34071 if eval "test \"\${$as_ac_var+set}\" = set"; then
34072 echo $ECHO_N "(cached) $ECHO_C" >&6
34073 else
34074 if test x$gcc_no_link = xyes; then
34075 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34076 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34077 { (exit 1); exit 1; }; }
34079 cat >conftest.$ac_ext <<_ACEOF
34080 /* confdefs.h. */
34081 _ACEOF
34082 cat confdefs.h >>conftest.$ac_ext
34083 cat >>conftest.$ac_ext <<_ACEOF
34084 /* end confdefs.h. */
34085 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34086 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34087 #define $ac_func innocuous_$ac_func
34089 /* System header to define __stub macros and hopefully few prototypes,
34090 which can conflict with char $ac_func (); below.
34091 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34092 <limits.h> exists even on freestanding compilers. */
34094 #ifdef __STDC__
34095 # include <limits.h>
34096 #else
34097 # include <assert.h>
34098 #endif
34100 #undef $ac_func
34102 /* Override any gcc2 internal prototype to avoid an error. */
34103 #ifdef __cplusplus
34104 extern "C"
34106 #endif
34107 /* We use char because int might match the return type of a gcc2
34108 builtin and then its argument prototype would still apply. */
34109 char $ac_func ();
34110 /* The GNU C library defines this for functions which it implements
34111 to always fail with ENOSYS. Some functions are actually named
34112 something starting with __ and the normal name is an alias. */
34113 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34114 choke me
34115 #else
34116 char (*f) () = $ac_func;
34117 #endif
34118 #ifdef __cplusplus
34120 #endif
34123 main ()
34125 return f != $ac_func;
34127 return 0;
34129 _ACEOF
34130 rm -f conftest.$ac_objext conftest$ac_exeext
34131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34132 (eval $ac_link) 2>conftest.er1
34133 ac_status=$?
34134 grep -v '^ *+' conftest.er1 >conftest.err
34135 rm -f conftest.er1
34136 cat conftest.err >&5
34137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34138 (exit $ac_status); } &&
34139 { ac_try='test -z "$ac_c_werror_flag"
34140 || test ! -s conftest.err'
34141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34142 (eval $ac_try) 2>&5
34143 ac_status=$?
34144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34145 (exit $ac_status); }; } &&
34146 { ac_try='test -s conftest$ac_exeext'
34147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34148 (eval $ac_try) 2>&5
34149 ac_status=$?
34150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34151 (exit $ac_status); }; }; then
34152 eval "$as_ac_var=yes"
34153 else
34154 echo "$as_me: failed program was:" >&5
34155 sed 's/^/| /' conftest.$ac_ext >&5
34157 eval "$as_ac_var=no"
34159 rm -f conftest.err conftest.$ac_objext \
34160 conftest$ac_exeext conftest.$ac_ext
34162 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34163 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34164 if test `eval echo '${'$as_ac_var'}'` = yes; then
34165 cat >>confdefs.h <<_ACEOF
34166 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34167 _ACEOF
34170 done
34172 else
34174 echo "$as_me:$LINENO: checking for _finite declaration" >&5
34175 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
34176 if test x${glibcxx_cv_func__finite_use+set} != xset; then
34177 if test "${glibcxx_cv_func__finite_use+set}" = set; then
34178 echo $ECHO_N "(cached) $ECHO_C" >&6
34179 else
34183 ac_ext=cc
34184 ac_cpp='$CXXCPP $CPPFLAGS'
34185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34189 cat >conftest.$ac_ext <<_ACEOF
34190 /* confdefs.h. */
34191 _ACEOF
34192 cat confdefs.h >>conftest.$ac_ext
34193 cat >>conftest.$ac_ext <<_ACEOF
34194 /* end confdefs.h. */
34195 #include <math.h>
34196 #ifdef HAVE_IEEEFP_H
34197 #include <ieeefp.h>
34198 #endif
34201 main ()
34203 _finite(0);
34205 return 0;
34207 _ACEOF
34208 rm -f conftest.$ac_objext
34209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34210 (eval $ac_compile) 2>conftest.er1
34211 ac_status=$?
34212 grep -v '^ *+' conftest.er1 >conftest.err
34213 rm -f conftest.er1
34214 cat conftest.err >&5
34215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34216 (exit $ac_status); } &&
34217 { ac_try='test -z "$ac_cxx_werror_flag"
34218 || test ! -s conftest.err'
34219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34220 (eval $ac_try) 2>&5
34221 ac_status=$?
34222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34223 (exit $ac_status); }; } &&
34224 { ac_try='test -s conftest.$ac_objext'
34225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34226 (eval $ac_try) 2>&5
34227 ac_status=$?
34228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34229 (exit $ac_status); }; }; then
34230 glibcxx_cv_func__finite_use=yes
34231 else
34232 echo "$as_me: failed program was:" >&5
34233 sed 's/^/| /' conftest.$ac_ext >&5
34235 glibcxx_cv_func__finite_use=no
34237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34238 ac_ext=c
34239 ac_cpp='$CPP $CPPFLAGS'
34240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34248 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
34249 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
34251 if test x$glibcxx_cv_func__finite_use = x"yes"; then
34253 for ac_func in _finite
34255 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34256 echo "$as_me:$LINENO: checking for $ac_func" >&5
34257 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34258 if eval "test \"\${$as_ac_var+set}\" = set"; then
34259 echo $ECHO_N "(cached) $ECHO_C" >&6
34260 else
34261 if test x$gcc_no_link = xyes; then
34262 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34263 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34264 { (exit 1); exit 1; }; }
34266 cat >conftest.$ac_ext <<_ACEOF
34267 /* confdefs.h. */
34268 _ACEOF
34269 cat confdefs.h >>conftest.$ac_ext
34270 cat >>conftest.$ac_ext <<_ACEOF
34271 /* end confdefs.h. */
34272 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34273 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34274 #define $ac_func innocuous_$ac_func
34276 /* System header to define __stub macros and hopefully few prototypes,
34277 which can conflict with char $ac_func (); below.
34278 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34279 <limits.h> exists even on freestanding compilers. */
34281 #ifdef __STDC__
34282 # include <limits.h>
34283 #else
34284 # include <assert.h>
34285 #endif
34287 #undef $ac_func
34289 /* Override any gcc2 internal prototype to avoid an error. */
34290 #ifdef __cplusplus
34291 extern "C"
34293 #endif
34294 /* We use char because int might match the return type of a gcc2
34295 builtin and then its argument prototype would still apply. */
34296 char $ac_func ();
34297 /* The GNU C library defines this for functions which it implements
34298 to always fail with ENOSYS. Some functions are actually named
34299 something starting with __ and the normal name is an alias. */
34300 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34301 choke me
34302 #else
34303 char (*f) () = $ac_func;
34304 #endif
34305 #ifdef __cplusplus
34307 #endif
34310 main ()
34312 return f != $ac_func;
34314 return 0;
34316 _ACEOF
34317 rm -f conftest.$ac_objext conftest$ac_exeext
34318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34319 (eval $ac_link) 2>conftest.er1
34320 ac_status=$?
34321 grep -v '^ *+' conftest.er1 >conftest.err
34322 rm -f conftest.er1
34323 cat conftest.err >&5
34324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34325 (exit $ac_status); } &&
34326 { ac_try='test -z "$ac_c_werror_flag"
34327 || test ! -s conftest.err'
34328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34329 (eval $ac_try) 2>&5
34330 ac_status=$?
34331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34332 (exit $ac_status); }; } &&
34333 { ac_try='test -s conftest$ac_exeext'
34334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34335 (eval $ac_try) 2>&5
34336 ac_status=$?
34337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34338 (exit $ac_status); }; }; then
34339 eval "$as_ac_var=yes"
34340 else
34341 echo "$as_me: failed program was:" >&5
34342 sed 's/^/| /' conftest.$ac_ext >&5
34344 eval "$as_ac_var=no"
34346 rm -f conftest.err conftest.$ac_objext \
34347 conftest$ac_exeext conftest.$ac_ext
34349 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34350 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34351 if test `eval echo '${'$as_ac_var'}'` = yes; then
34352 cat >>confdefs.h <<_ACEOF
34353 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34354 _ACEOF
34357 done
34367 echo "$as_me:$LINENO: checking for copysign declaration" >&5
34368 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
34369 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
34370 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
34371 echo $ECHO_N "(cached) $ECHO_C" >&6
34372 else
34376 ac_ext=cc
34377 ac_cpp='$CXXCPP $CPPFLAGS'
34378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34382 cat >conftest.$ac_ext <<_ACEOF
34383 /* confdefs.h. */
34384 _ACEOF
34385 cat confdefs.h >>conftest.$ac_ext
34386 cat >>conftest.$ac_ext <<_ACEOF
34387 /* end confdefs.h. */
34388 #include <math.h>
34390 main ()
34392 copysign(0, 0);
34394 return 0;
34396 _ACEOF
34397 rm -f conftest.$ac_objext
34398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34399 (eval $ac_compile) 2>conftest.er1
34400 ac_status=$?
34401 grep -v '^ *+' conftest.er1 >conftest.err
34402 rm -f conftest.er1
34403 cat conftest.err >&5
34404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34405 (exit $ac_status); } &&
34406 { ac_try='test -z "$ac_cxx_werror_flag"
34407 || test ! -s conftest.err'
34408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34409 (eval $ac_try) 2>&5
34410 ac_status=$?
34411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34412 (exit $ac_status); }; } &&
34413 { ac_try='test -s conftest.$ac_objext'
34414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34415 (eval $ac_try) 2>&5
34416 ac_status=$?
34417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34418 (exit $ac_status); }; }; then
34419 glibcxx_cv_func_copysign_use=yes
34420 else
34421 echo "$as_me: failed program was:" >&5
34422 sed 's/^/| /' conftest.$ac_ext >&5
34424 glibcxx_cv_func_copysign_use=no
34426 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34427 ac_ext=c
34428 ac_cpp='$CPP $CPPFLAGS'
34429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34437 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
34438 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
34440 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
34442 for ac_func in copysign
34444 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34445 echo "$as_me:$LINENO: checking for $ac_func" >&5
34446 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34447 if eval "test \"\${$as_ac_var+set}\" = set"; then
34448 echo $ECHO_N "(cached) $ECHO_C" >&6
34449 else
34450 if test x$gcc_no_link = xyes; then
34451 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34452 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34453 { (exit 1); exit 1; }; }
34455 cat >conftest.$ac_ext <<_ACEOF
34456 /* confdefs.h. */
34457 _ACEOF
34458 cat confdefs.h >>conftest.$ac_ext
34459 cat >>conftest.$ac_ext <<_ACEOF
34460 /* end confdefs.h. */
34461 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34462 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34463 #define $ac_func innocuous_$ac_func
34465 /* System header to define __stub macros and hopefully few prototypes,
34466 which can conflict with char $ac_func (); below.
34467 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34468 <limits.h> exists even on freestanding compilers. */
34470 #ifdef __STDC__
34471 # include <limits.h>
34472 #else
34473 # include <assert.h>
34474 #endif
34476 #undef $ac_func
34478 /* Override any gcc2 internal prototype to avoid an error. */
34479 #ifdef __cplusplus
34480 extern "C"
34482 #endif
34483 /* We use char because int might match the return type of a gcc2
34484 builtin and then its argument prototype would still apply. */
34485 char $ac_func ();
34486 /* The GNU C library defines this for functions which it implements
34487 to always fail with ENOSYS. Some functions are actually named
34488 something starting with __ and the normal name is an alias. */
34489 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34490 choke me
34491 #else
34492 char (*f) () = $ac_func;
34493 #endif
34494 #ifdef __cplusplus
34496 #endif
34499 main ()
34501 return f != $ac_func;
34503 return 0;
34505 _ACEOF
34506 rm -f conftest.$ac_objext conftest$ac_exeext
34507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34508 (eval $ac_link) 2>conftest.er1
34509 ac_status=$?
34510 grep -v '^ *+' conftest.er1 >conftest.err
34511 rm -f conftest.er1
34512 cat conftest.err >&5
34513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34514 (exit $ac_status); } &&
34515 { ac_try='test -z "$ac_c_werror_flag"
34516 || test ! -s conftest.err'
34517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34518 (eval $ac_try) 2>&5
34519 ac_status=$?
34520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34521 (exit $ac_status); }; } &&
34522 { ac_try='test -s conftest$ac_exeext'
34523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34524 (eval $ac_try) 2>&5
34525 ac_status=$?
34526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34527 (exit $ac_status); }; }; then
34528 eval "$as_ac_var=yes"
34529 else
34530 echo "$as_me: failed program was:" >&5
34531 sed 's/^/| /' conftest.$ac_ext >&5
34533 eval "$as_ac_var=no"
34535 rm -f conftest.err conftest.$ac_objext \
34536 conftest$ac_exeext conftest.$ac_ext
34538 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34539 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34540 if test `eval echo '${'$as_ac_var'}'` = yes; then
34541 cat >>confdefs.h <<_ACEOF
34542 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34543 _ACEOF
34546 done
34548 else
34550 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
34551 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
34552 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
34553 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
34554 echo $ECHO_N "(cached) $ECHO_C" >&6
34555 else
34559 ac_ext=cc
34560 ac_cpp='$CXXCPP $CPPFLAGS'
34561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34565 cat >conftest.$ac_ext <<_ACEOF
34566 /* confdefs.h. */
34567 _ACEOF
34568 cat confdefs.h >>conftest.$ac_ext
34569 cat >>conftest.$ac_ext <<_ACEOF
34570 /* end confdefs.h. */
34571 #include <math.h>
34573 main ()
34575 _copysign(0, 0);
34577 return 0;
34579 _ACEOF
34580 rm -f conftest.$ac_objext
34581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34582 (eval $ac_compile) 2>conftest.er1
34583 ac_status=$?
34584 grep -v '^ *+' conftest.er1 >conftest.err
34585 rm -f conftest.er1
34586 cat conftest.err >&5
34587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34588 (exit $ac_status); } &&
34589 { ac_try='test -z "$ac_cxx_werror_flag"
34590 || test ! -s conftest.err'
34591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34592 (eval $ac_try) 2>&5
34593 ac_status=$?
34594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34595 (exit $ac_status); }; } &&
34596 { ac_try='test -s conftest.$ac_objext'
34597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34598 (eval $ac_try) 2>&5
34599 ac_status=$?
34600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34601 (exit $ac_status); }; }; then
34602 glibcxx_cv_func__copysign_use=yes
34603 else
34604 echo "$as_me: failed program was:" >&5
34605 sed 's/^/| /' conftest.$ac_ext >&5
34607 glibcxx_cv_func__copysign_use=no
34609 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34610 ac_ext=c
34611 ac_cpp='$CPP $CPPFLAGS'
34612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34620 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
34621 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
34623 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
34625 for ac_func in _copysign
34627 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34628 echo "$as_me:$LINENO: checking for $ac_func" >&5
34629 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34630 if eval "test \"\${$as_ac_var+set}\" = set"; then
34631 echo $ECHO_N "(cached) $ECHO_C" >&6
34632 else
34633 if test x$gcc_no_link = xyes; then
34634 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34635 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34636 { (exit 1); exit 1; }; }
34638 cat >conftest.$ac_ext <<_ACEOF
34639 /* confdefs.h. */
34640 _ACEOF
34641 cat confdefs.h >>conftest.$ac_ext
34642 cat >>conftest.$ac_ext <<_ACEOF
34643 /* end confdefs.h. */
34644 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34645 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34646 #define $ac_func innocuous_$ac_func
34648 /* System header to define __stub macros and hopefully few prototypes,
34649 which can conflict with char $ac_func (); below.
34650 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34651 <limits.h> exists even on freestanding compilers. */
34653 #ifdef __STDC__
34654 # include <limits.h>
34655 #else
34656 # include <assert.h>
34657 #endif
34659 #undef $ac_func
34661 /* Override any gcc2 internal prototype to avoid an error. */
34662 #ifdef __cplusplus
34663 extern "C"
34665 #endif
34666 /* We use char because int might match the return type of a gcc2
34667 builtin and then its argument prototype would still apply. */
34668 char $ac_func ();
34669 /* The GNU C library defines this for functions which it implements
34670 to always fail with ENOSYS. Some functions are actually named
34671 something starting with __ and the normal name is an alias. */
34672 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34673 choke me
34674 #else
34675 char (*f) () = $ac_func;
34676 #endif
34677 #ifdef __cplusplus
34679 #endif
34682 main ()
34684 return f != $ac_func;
34686 return 0;
34688 _ACEOF
34689 rm -f conftest.$ac_objext conftest$ac_exeext
34690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34691 (eval $ac_link) 2>conftest.er1
34692 ac_status=$?
34693 grep -v '^ *+' conftest.er1 >conftest.err
34694 rm -f conftest.er1
34695 cat conftest.err >&5
34696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34697 (exit $ac_status); } &&
34698 { ac_try='test -z "$ac_c_werror_flag"
34699 || test ! -s conftest.err'
34700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34701 (eval $ac_try) 2>&5
34702 ac_status=$?
34703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34704 (exit $ac_status); }; } &&
34705 { ac_try='test -s conftest$ac_exeext'
34706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34707 (eval $ac_try) 2>&5
34708 ac_status=$?
34709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34710 (exit $ac_status); }; }; then
34711 eval "$as_ac_var=yes"
34712 else
34713 echo "$as_me: failed program was:" >&5
34714 sed 's/^/| /' conftest.$ac_ext >&5
34716 eval "$as_ac_var=no"
34718 rm -f conftest.err conftest.$ac_objext \
34719 conftest$ac_exeext conftest.$ac_ext
34721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34722 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34723 if test `eval echo '${'$as_ac_var'}'` = yes; then
34724 cat >>confdefs.h <<_ACEOF
34725 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34726 _ACEOF
34729 done
34739 echo "$as_me:$LINENO: checking for sincos declaration" >&5
34740 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
34741 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
34742 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
34743 echo $ECHO_N "(cached) $ECHO_C" >&6
34744 else
34748 ac_ext=cc
34749 ac_cpp='$CXXCPP $CPPFLAGS'
34750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34754 cat >conftest.$ac_ext <<_ACEOF
34755 /* confdefs.h. */
34756 _ACEOF
34757 cat confdefs.h >>conftest.$ac_ext
34758 cat >>conftest.$ac_ext <<_ACEOF
34759 /* end confdefs.h. */
34760 #include <math.h>
34762 main ()
34764 sincos(0, 0, 0);
34766 return 0;
34768 _ACEOF
34769 rm -f conftest.$ac_objext
34770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34771 (eval $ac_compile) 2>conftest.er1
34772 ac_status=$?
34773 grep -v '^ *+' conftest.er1 >conftest.err
34774 rm -f conftest.er1
34775 cat conftest.err >&5
34776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34777 (exit $ac_status); } &&
34778 { ac_try='test -z "$ac_cxx_werror_flag"
34779 || test ! -s conftest.err'
34780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34781 (eval $ac_try) 2>&5
34782 ac_status=$?
34783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34784 (exit $ac_status); }; } &&
34785 { ac_try='test -s conftest.$ac_objext'
34786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34787 (eval $ac_try) 2>&5
34788 ac_status=$?
34789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34790 (exit $ac_status); }; }; then
34791 glibcxx_cv_func_sincos_use=yes
34792 else
34793 echo "$as_me: failed program was:" >&5
34794 sed 's/^/| /' conftest.$ac_ext >&5
34796 glibcxx_cv_func_sincos_use=no
34798 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34799 ac_ext=c
34800 ac_cpp='$CPP $CPPFLAGS'
34801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34809 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
34810 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
34812 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
34814 for ac_func in sincos
34816 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34817 echo "$as_me:$LINENO: checking for $ac_func" >&5
34818 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34819 if eval "test \"\${$as_ac_var+set}\" = set"; then
34820 echo $ECHO_N "(cached) $ECHO_C" >&6
34821 else
34822 if test x$gcc_no_link = xyes; then
34823 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34824 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34825 { (exit 1); exit 1; }; }
34827 cat >conftest.$ac_ext <<_ACEOF
34828 /* confdefs.h. */
34829 _ACEOF
34830 cat confdefs.h >>conftest.$ac_ext
34831 cat >>conftest.$ac_ext <<_ACEOF
34832 /* end confdefs.h. */
34833 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34834 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34835 #define $ac_func innocuous_$ac_func
34837 /* System header to define __stub macros and hopefully few prototypes,
34838 which can conflict with char $ac_func (); below.
34839 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34840 <limits.h> exists even on freestanding compilers. */
34842 #ifdef __STDC__
34843 # include <limits.h>
34844 #else
34845 # include <assert.h>
34846 #endif
34848 #undef $ac_func
34850 /* Override any gcc2 internal prototype to avoid an error. */
34851 #ifdef __cplusplus
34852 extern "C"
34854 #endif
34855 /* We use char because int might match the return type of a gcc2
34856 builtin and then its argument prototype would still apply. */
34857 char $ac_func ();
34858 /* The GNU C library defines this for functions which it implements
34859 to always fail with ENOSYS. Some functions are actually named
34860 something starting with __ and the normal name is an alias. */
34861 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34862 choke me
34863 #else
34864 char (*f) () = $ac_func;
34865 #endif
34866 #ifdef __cplusplus
34868 #endif
34871 main ()
34873 return f != $ac_func;
34875 return 0;
34877 _ACEOF
34878 rm -f conftest.$ac_objext conftest$ac_exeext
34879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34880 (eval $ac_link) 2>conftest.er1
34881 ac_status=$?
34882 grep -v '^ *+' conftest.er1 >conftest.err
34883 rm -f conftest.er1
34884 cat conftest.err >&5
34885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34886 (exit $ac_status); } &&
34887 { ac_try='test -z "$ac_c_werror_flag"
34888 || test ! -s conftest.err'
34889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34890 (eval $ac_try) 2>&5
34891 ac_status=$?
34892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34893 (exit $ac_status); }; } &&
34894 { ac_try='test -s conftest$ac_exeext'
34895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34896 (eval $ac_try) 2>&5
34897 ac_status=$?
34898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34899 (exit $ac_status); }; }; then
34900 eval "$as_ac_var=yes"
34901 else
34902 echo "$as_me: failed program was:" >&5
34903 sed 's/^/| /' conftest.$ac_ext >&5
34905 eval "$as_ac_var=no"
34907 rm -f conftest.err conftest.$ac_objext \
34908 conftest$ac_exeext conftest.$ac_ext
34910 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34911 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34912 if test `eval echo '${'$as_ac_var'}'` = yes; then
34913 cat >>confdefs.h <<_ACEOF
34914 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34915 _ACEOF
34918 done
34920 else
34922 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
34923 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
34924 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
34925 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
34926 echo $ECHO_N "(cached) $ECHO_C" >&6
34927 else
34931 ac_ext=cc
34932 ac_cpp='$CXXCPP $CPPFLAGS'
34933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34937 cat >conftest.$ac_ext <<_ACEOF
34938 /* confdefs.h. */
34939 _ACEOF
34940 cat confdefs.h >>conftest.$ac_ext
34941 cat >>conftest.$ac_ext <<_ACEOF
34942 /* end confdefs.h. */
34943 #include <math.h>
34945 main ()
34947 _sincos(0, 0, 0);
34949 return 0;
34951 _ACEOF
34952 rm -f conftest.$ac_objext
34953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34954 (eval $ac_compile) 2>conftest.er1
34955 ac_status=$?
34956 grep -v '^ *+' conftest.er1 >conftest.err
34957 rm -f conftest.er1
34958 cat conftest.err >&5
34959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34960 (exit $ac_status); } &&
34961 { ac_try='test -z "$ac_cxx_werror_flag"
34962 || test ! -s conftest.err'
34963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34964 (eval $ac_try) 2>&5
34965 ac_status=$?
34966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34967 (exit $ac_status); }; } &&
34968 { ac_try='test -s conftest.$ac_objext'
34969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34970 (eval $ac_try) 2>&5
34971 ac_status=$?
34972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34973 (exit $ac_status); }; }; then
34974 glibcxx_cv_func__sincos_use=yes
34975 else
34976 echo "$as_me: failed program was:" >&5
34977 sed 's/^/| /' conftest.$ac_ext >&5
34979 glibcxx_cv_func__sincos_use=no
34981 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34982 ac_ext=c
34983 ac_cpp='$CPP $CPPFLAGS'
34984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34992 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
34993 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
34995 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
34997 for ac_func in _sincos
34999 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35000 echo "$as_me:$LINENO: checking for $ac_func" >&5
35001 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35002 if eval "test \"\${$as_ac_var+set}\" = set"; then
35003 echo $ECHO_N "(cached) $ECHO_C" >&6
35004 else
35005 if test x$gcc_no_link = xyes; then
35006 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35007 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35008 { (exit 1); exit 1; }; }
35010 cat >conftest.$ac_ext <<_ACEOF
35011 /* confdefs.h. */
35012 _ACEOF
35013 cat confdefs.h >>conftest.$ac_ext
35014 cat >>conftest.$ac_ext <<_ACEOF
35015 /* end confdefs.h. */
35016 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35017 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35018 #define $ac_func innocuous_$ac_func
35020 /* System header to define __stub macros and hopefully few prototypes,
35021 which can conflict with char $ac_func (); below.
35022 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35023 <limits.h> exists even on freestanding compilers. */
35025 #ifdef __STDC__
35026 # include <limits.h>
35027 #else
35028 # include <assert.h>
35029 #endif
35031 #undef $ac_func
35033 /* Override any gcc2 internal prototype to avoid an error. */
35034 #ifdef __cplusplus
35035 extern "C"
35037 #endif
35038 /* We use char because int might match the return type of a gcc2
35039 builtin and then its argument prototype would still apply. */
35040 char $ac_func ();
35041 /* The GNU C library defines this for functions which it implements
35042 to always fail with ENOSYS. Some functions are actually named
35043 something starting with __ and the normal name is an alias. */
35044 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35045 choke me
35046 #else
35047 char (*f) () = $ac_func;
35048 #endif
35049 #ifdef __cplusplus
35051 #endif
35054 main ()
35056 return f != $ac_func;
35058 return 0;
35060 _ACEOF
35061 rm -f conftest.$ac_objext conftest$ac_exeext
35062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35063 (eval $ac_link) 2>conftest.er1
35064 ac_status=$?
35065 grep -v '^ *+' conftest.er1 >conftest.err
35066 rm -f conftest.er1
35067 cat conftest.err >&5
35068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35069 (exit $ac_status); } &&
35070 { ac_try='test -z "$ac_c_werror_flag"
35071 || test ! -s conftest.err'
35072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35073 (eval $ac_try) 2>&5
35074 ac_status=$?
35075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35076 (exit $ac_status); }; } &&
35077 { ac_try='test -s conftest$ac_exeext'
35078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35079 (eval $ac_try) 2>&5
35080 ac_status=$?
35081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35082 (exit $ac_status); }; }; then
35083 eval "$as_ac_var=yes"
35084 else
35085 echo "$as_me: failed program was:" >&5
35086 sed 's/^/| /' conftest.$ac_ext >&5
35088 eval "$as_ac_var=no"
35090 rm -f conftest.err conftest.$ac_objext \
35091 conftest$ac_exeext conftest.$ac_ext
35093 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35094 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35095 if test `eval echo '${'$as_ac_var'}'` = yes; then
35096 cat >>confdefs.h <<_ACEOF
35097 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35098 _ACEOF
35101 done
35111 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
35112 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
35113 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
35114 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
35115 echo $ECHO_N "(cached) $ECHO_C" >&6
35116 else
35120 ac_ext=cc
35121 ac_cpp='$CXXCPP $CPPFLAGS'
35122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35126 cat >conftest.$ac_ext <<_ACEOF
35127 /* confdefs.h. */
35128 _ACEOF
35129 cat confdefs.h >>conftest.$ac_ext
35130 cat >>conftest.$ac_ext <<_ACEOF
35131 /* end confdefs.h. */
35132 #include <math.h>
35133 #ifdef HAVE_IEEEFP_H
35134 #include <ieeefp.h>
35135 #endif
35138 main ()
35140 fpclass(0);
35142 return 0;
35144 _ACEOF
35145 rm -f conftest.$ac_objext
35146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35147 (eval $ac_compile) 2>conftest.er1
35148 ac_status=$?
35149 grep -v '^ *+' conftest.er1 >conftest.err
35150 rm -f conftest.er1
35151 cat conftest.err >&5
35152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35153 (exit $ac_status); } &&
35154 { ac_try='test -z "$ac_cxx_werror_flag"
35155 || test ! -s conftest.err'
35156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35157 (eval $ac_try) 2>&5
35158 ac_status=$?
35159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35160 (exit $ac_status); }; } &&
35161 { ac_try='test -s conftest.$ac_objext'
35162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35163 (eval $ac_try) 2>&5
35164 ac_status=$?
35165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35166 (exit $ac_status); }; }; then
35167 glibcxx_cv_func_fpclass_use=yes
35168 else
35169 echo "$as_me: failed program was:" >&5
35170 sed 's/^/| /' conftest.$ac_ext >&5
35172 glibcxx_cv_func_fpclass_use=no
35174 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35175 ac_ext=c
35176 ac_cpp='$CPP $CPPFLAGS'
35177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35185 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
35186 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
35188 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
35190 for ac_func in fpclass
35192 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35193 echo "$as_me:$LINENO: checking for $ac_func" >&5
35194 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35195 if eval "test \"\${$as_ac_var+set}\" = set"; then
35196 echo $ECHO_N "(cached) $ECHO_C" >&6
35197 else
35198 if test x$gcc_no_link = xyes; then
35199 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35200 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35201 { (exit 1); exit 1; }; }
35203 cat >conftest.$ac_ext <<_ACEOF
35204 /* confdefs.h. */
35205 _ACEOF
35206 cat confdefs.h >>conftest.$ac_ext
35207 cat >>conftest.$ac_ext <<_ACEOF
35208 /* end confdefs.h. */
35209 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35210 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35211 #define $ac_func innocuous_$ac_func
35213 /* System header to define __stub macros and hopefully few prototypes,
35214 which can conflict with char $ac_func (); below.
35215 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35216 <limits.h> exists even on freestanding compilers. */
35218 #ifdef __STDC__
35219 # include <limits.h>
35220 #else
35221 # include <assert.h>
35222 #endif
35224 #undef $ac_func
35226 /* Override any gcc2 internal prototype to avoid an error. */
35227 #ifdef __cplusplus
35228 extern "C"
35230 #endif
35231 /* We use char because int might match the return type of a gcc2
35232 builtin and then its argument prototype would still apply. */
35233 char $ac_func ();
35234 /* The GNU C library defines this for functions which it implements
35235 to always fail with ENOSYS. Some functions are actually named
35236 something starting with __ and the normal name is an alias. */
35237 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35238 choke me
35239 #else
35240 char (*f) () = $ac_func;
35241 #endif
35242 #ifdef __cplusplus
35244 #endif
35247 main ()
35249 return f != $ac_func;
35251 return 0;
35253 _ACEOF
35254 rm -f conftest.$ac_objext conftest$ac_exeext
35255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35256 (eval $ac_link) 2>conftest.er1
35257 ac_status=$?
35258 grep -v '^ *+' conftest.er1 >conftest.err
35259 rm -f conftest.er1
35260 cat conftest.err >&5
35261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35262 (exit $ac_status); } &&
35263 { ac_try='test -z "$ac_c_werror_flag"
35264 || test ! -s conftest.err'
35265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35266 (eval $ac_try) 2>&5
35267 ac_status=$?
35268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35269 (exit $ac_status); }; } &&
35270 { ac_try='test -s conftest$ac_exeext'
35271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35272 (eval $ac_try) 2>&5
35273 ac_status=$?
35274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35275 (exit $ac_status); }; }; then
35276 eval "$as_ac_var=yes"
35277 else
35278 echo "$as_me: failed program was:" >&5
35279 sed 's/^/| /' conftest.$ac_ext >&5
35281 eval "$as_ac_var=no"
35283 rm -f conftest.err conftest.$ac_objext \
35284 conftest$ac_exeext conftest.$ac_ext
35286 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35287 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35288 if test `eval echo '${'$as_ac_var'}'` = yes; then
35289 cat >>confdefs.h <<_ACEOF
35290 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35291 _ACEOF
35294 done
35296 else
35298 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
35299 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
35300 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
35301 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
35302 echo $ECHO_N "(cached) $ECHO_C" >&6
35303 else
35307 ac_ext=cc
35308 ac_cpp='$CXXCPP $CPPFLAGS'
35309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35313 cat >conftest.$ac_ext <<_ACEOF
35314 /* confdefs.h. */
35315 _ACEOF
35316 cat confdefs.h >>conftest.$ac_ext
35317 cat >>conftest.$ac_ext <<_ACEOF
35318 /* end confdefs.h. */
35319 #include <math.h>
35320 #ifdef HAVE_IEEEFP_H
35321 #include <ieeefp.h>
35322 #endif
35325 main ()
35327 _fpclass(0);
35329 return 0;
35331 _ACEOF
35332 rm -f conftest.$ac_objext
35333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35334 (eval $ac_compile) 2>conftest.er1
35335 ac_status=$?
35336 grep -v '^ *+' conftest.er1 >conftest.err
35337 rm -f conftest.er1
35338 cat conftest.err >&5
35339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35340 (exit $ac_status); } &&
35341 { ac_try='test -z "$ac_cxx_werror_flag"
35342 || test ! -s conftest.err'
35343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35344 (eval $ac_try) 2>&5
35345 ac_status=$?
35346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35347 (exit $ac_status); }; } &&
35348 { ac_try='test -s conftest.$ac_objext'
35349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35350 (eval $ac_try) 2>&5
35351 ac_status=$?
35352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35353 (exit $ac_status); }; }; then
35354 glibcxx_cv_func__fpclass_use=yes
35355 else
35356 echo "$as_me: failed program was:" >&5
35357 sed 's/^/| /' conftest.$ac_ext >&5
35359 glibcxx_cv_func__fpclass_use=no
35361 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35362 ac_ext=c
35363 ac_cpp='$CPP $CPPFLAGS'
35364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35372 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
35373 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
35375 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
35377 for ac_func in _fpclass
35379 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35380 echo "$as_me:$LINENO: checking for $ac_func" >&5
35381 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35382 if eval "test \"\${$as_ac_var+set}\" = set"; then
35383 echo $ECHO_N "(cached) $ECHO_C" >&6
35384 else
35385 if test x$gcc_no_link = xyes; then
35386 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35387 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35388 { (exit 1); exit 1; }; }
35390 cat >conftest.$ac_ext <<_ACEOF
35391 /* confdefs.h. */
35392 _ACEOF
35393 cat confdefs.h >>conftest.$ac_ext
35394 cat >>conftest.$ac_ext <<_ACEOF
35395 /* end confdefs.h. */
35396 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35397 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35398 #define $ac_func innocuous_$ac_func
35400 /* System header to define __stub macros and hopefully few prototypes,
35401 which can conflict with char $ac_func (); below.
35402 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35403 <limits.h> exists even on freestanding compilers. */
35405 #ifdef __STDC__
35406 # include <limits.h>
35407 #else
35408 # include <assert.h>
35409 #endif
35411 #undef $ac_func
35413 /* Override any gcc2 internal prototype to avoid an error. */
35414 #ifdef __cplusplus
35415 extern "C"
35417 #endif
35418 /* We use char because int might match the return type of a gcc2
35419 builtin and then its argument prototype would still apply. */
35420 char $ac_func ();
35421 /* The GNU C library defines this for functions which it implements
35422 to always fail with ENOSYS. Some functions are actually named
35423 something starting with __ and the normal name is an alias. */
35424 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35425 choke me
35426 #else
35427 char (*f) () = $ac_func;
35428 #endif
35429 #ifdef __cplusplus
35431 #endif
35434 main ()
35436 return f != $ac_func;
35438 return 0;
35440 _ACEOF
35441 rm -f conftest.$ac_objext conftest$ac_exeext
35442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35443 (eval $ac_link) 2>conftest.er1
35444 ac_status=$?
35445 grep -v '^ *+' conftest.er1 >conftest.err
35446 rm -f conftest.er1
35447 cat conftest.err >&5
35448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35449 (exit $ac_status); } &&
35450 { ac_try='test -z "$ac_c_werror_flag"
35451 || test ! -s conftest.err'
35452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35453 (eval $ac_try) 2>&5
35454 ac_status=$?
35455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35456 (exit $ac_status); }; } &&
35457 { ac_try='test -s conftest$ac_exeext'
35458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35459 (eval $ac_try) 2>&5
35460 ac_status=$?
35461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35462 (exit $ac_status); }; }; then
35463 eval "$as_ac_var=yes"
35464 else
35465 echo "$as_me: failed program was:" >&5
35466 sed 's/^/| /' conftest.$ac_ext >&5
35468 eval "$as_ac_var=no"
35470 rm -f conftest.err conftest.$ac_objext \
35471 conftest$ac_exeext conftest.$ac_ext
35473 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35474 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35475 if test `eval echo '${'$as_ac_var'}'` = yes; then
35476 cat >>confdefs.h <<_ACEOF
35477 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35478 _ACEOF
35481 done
35491 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
35492 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
35493 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
35494 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
35495 echo $ECHO_N "(cached) $ECHO_C" >&6
35496 else
35500 ac_ext=cc
35501 ac_cpp='$CXXCPP $CPPFLAGS'
35502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35506 cat >conftest.$ac_ext <<_ACEOF
35507 /* confdefs.h. */
35508 _ACEOF
35509 cat confdefs.h >>conftest.$ac_ext
35510 cat >>conftest.$ac_ext <<_ACEOF
35511 /* end confdefs.h. */
35512 #include <math.h>
35513 #ifdef HAVE_IEEEFP_H
35514 #include <ieeefp.h>
35515 #endif
35518 main ()
35520 qfpclass(0);
35522 return 0;
35524 _ACEOF
35525 rm -f conftest.$ac_objext
35526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35527 (eval $ac_compile) 2>conftest.er1
35528 ac_status=$?
35529 grep -v '^ *+' conftest.er1 >conftest.err
35530 rm -f conftest.er1
35531 cat conftest.err >&5
35532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35533 (exit $ac_status); } &&
35534 { ac_try='test -z "$ac_cxx_werror_flag"
35535 || test ! -s conftest.err'
35536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35537 (eval $ac_try) 2>&5
35538 ac_status=$?
35539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35540 (exit $ac_status); }; } &&
35541 { ac_try='test -s conftest.$ac_objext'
35542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35543 (eval $ac_try) 2>&5
35544 ac_status=$?
35545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35546 (exit $ac_status); }; }; then
35547 glibcxx_cv_func_qfpclass_use=yes
35548 else
35549 echo "$as_me: failed program was:" >&5
35550 sed 's/^/| /' conftest.$ac_ext >&5
35552 glibcxx_cv_func_qfpclass_use=no
35554 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35555 ac_ext=c
35556 ac_cpp='$CPP $CPPFLAGS'
35557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35565 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
35566 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
35568 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
35570 for ac_func in qfpclass
35572 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35573 echo "$as_me:$LINENO: checking for $ac_func" >&5
35574 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35575 if eval "test \"\${$as_ac_var+set}\" = set"; then
35576 echo $ECHO_N "(cached) $ECHO_C" >&6
35577 else
35578 if test x$gcc_no_link = xyes; then
35579 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35580 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35581 { (exit 1); exit 1; }; }
35583 cat >conftest.$ac_ext <<_ACEOF
35584 /* confdefs.h. */
35585 _ACEOF
35586 cat confdefs.h >>conftest.$ac_ext
35587 cat >>conftest.$ac_ext <<_ACEOF
35588 /* end confdefs.h. */
35589 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35590 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35591 #define $ac_func innocuous_$ac_func
35593 /* System header to define __stub macros and hopefully few prototypes,
35594 which can conflict with char $ac_func (); below.
35595 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35596 <limits.h> exists even on freestanding compilers. */
35598 #ifdef __STDC__
35599 # include <limits.h>
35600 #else
35601 # include <assert.h>
35602 #endif
35604 #undef $ac_func
35606 /* Override any gcc2 internal prototype to avoid an error. */
35607 #ifdef __cplusplus
35608 extern "C"
35610 #endif
35611 /* We use char because int might match the return type of a gcc2
35612 builtin and then its argument prototype would still apply. */
35613 char $ac_func ();
35614 /* The GNU C library defines this for functions which it implements
35615 to always fail with ENOSYS. Some functions are actually named
35616 something starting with __ and the normal name is an alias. */
35617 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35618 choke me
35619 #else
35620 char (*f) () = $ac_func;
35621 #endif
35622 #ifdef __cplusplus
35624 #endif
35627 main ()
35629 return f != $ac_func;
35631 return 0;
35633 _ACEOF
35634 rm -f conftest.$ac_objext conftest$ac_exeext
35635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35636 (eval $ac_link) 2>conftest.er1
35637 ac_status=$?
35638 grep -v '^ *+' conftest.er1 >conftest.err
35639 rm -f conftest.er1
35640 cat conftest.err >&5
35641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35642 (exit $ac_status); } &&
35643 { ac_try='test -z "$ac_c_werror_flag"
35644 || test ! -s conftest.err'
35645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35646 (eval $ac_try) 2>&5
35647 ac_status=$?
35648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35649 (exit $ac_status); }; } &&
35650 { ac_try='test -s conftest$ac_exeext'
35651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35652 (eval $ac_try) 2>&5
35653 ac_status=$?
35654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35655 (exit $ac_status); }; }; then
35656 eval "$as_ac_var=yes"
35657 else
35658 echo "$as_me: failed program was:" >&5
35659 sed 's/^/| /' conftest.$ac_ext >&5
35661 eval "$as_ac_var=no"
35663 rm -f conftest.err conftest.$ac_objext \
35664 conftest$ac_exeext conftest.$ac_ext
35666 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35667 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35668 if test `eval echo '${'$as_ac_var'}'` = yes; then
35669 cat >>confdefs.h <<_ACEOF
35670 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35671 _ACEOF
35674 done
35676 else
35678 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
35679 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
35680 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
35681 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
35682 echo $ECHO_N "(cached) $ECHO_C" >&6
35683 else
35687 ac_ext=cc
35688 ac_cpp='$CXXCPP $CPPFLAGS'
35689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35693 cat >conftest.$ac_ext <<_ACEOF
35694 /* confdefs.h. */
35695 _ACEOF
35696 cat confdefs.h >>conftest.$ac_ext
35697 cat >>conftest.$ac_ext <<_ACEOF
35698 /* end confdefs.h. */
35699 #include <math.h>
35700 #ifdef HAVE_IEEEFP_H
35701 #include <ieeefp.h>
35702 #endif
35705 main ()
35707 _qfpclass(0);
35709 return 0;
35711 _ACEOF
35712 rm -f conftest.$ac_objext
35713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35714 (eval $ac_compile) 2>conftest.er1
35715 ac_status=$?
35716 grep -v '^ *+' conftest.er1 >conftest.err
35717 rm -f conftest.er1
35718 cat conftest.err >&5
35719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35720 (exit $ac_status); } &&
35721 { ac_try='test -z "$ac_cxx_werror_flag"
35722 || test ! -s conftest.err'
35723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35724 (eval $ac_try) 2>&5
35725 ac_status=$?
35726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35727 (exit $ac_status); }; } &&
35728 { ac_try='test -s conftest.$ac_objext'
35729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35730 (eval $ac_try) 2>&5
35731 ac_status=$?
35732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35733 (exit $ac_status); }; }; then
35734 glibcxx_cv_func__qfpclass_use=yes
35735 else
35736 echo "$as_me: failed program was:" >&5
35737 sed 's/^/| /' conftest.$ac_ext >&5
35739 glibcxx_cv_func__qfpclass_use=no
35741 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35742 ac_ext=c
35743 ac_cpp='$CPP $CPPFLAGS'
35744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35752 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
35753 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
35755 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
35757 for ac_func in _qfpclass
35759 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35760 echo "$as_me:$LINENO: checking for $ac_func" >&5
35761 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35762 if eval "test \"\${$as_ac_var+set}\" = set"; then
35763 echo $ECHO_N "(cached) $ECHO_C" >&6
35764 else
35765 if test x$gcc_no_link = xyes; then
35766 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35767 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35768 { (exit 1); exit 1; }; }
35770 cat >conftest.$ac_ext <<_ACEOF
35771 /* confdefs.h. */
35772 _ACEOF
35773 cat confdefs.h >>conftest.$ac_ext
35774 cat >>conftest.$ac_ext <<_ACEOF
35775 /* end confdefs.h. */
35776 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35777 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35778 #define $ac_func innocuous_$ac_func
35780 /* System header to define __stub macros and hopefully few prototypes,
35781 which can conflict with char $ac_func (); below.
35782 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35783 <limits.h> exists even on freestanding compilers. */
35785 #ifdef __STDC__
35786 # include <limits.h>
35787 #else
35788 # include <assert.h>
35789 #endif
35791 #undef $ac_func
35793 /* Override any gcc2 internal prototype to avoid an error. */
35794 #ifdef __cplusplus
35795 extern "C"
35797 #endif
35798 /* We use char because int might match the return type of a gcc2
35799 builtin and then its argument prototype would still apply. */
35800 char $ac_func ();
35801 /* The GNU C library defines this for functions which it implements
35802 to always fail with ENOSYS. Some functions are actually named
35803 something starting with __ and the normal name is an alias. */
35804 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35805 choke me
35806 #else
35807 char (*f) () = $ac_func;
35808 #endif
35809 #ifdef __cplusplus
35811 #endif
35814 main ()
35816 return f != $ac_func;
35818 return 0;
35820 _ACEOF
35821 rm -f conftest.$ac_objext conftest$ac_exeext
35822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35823 (eval $ac_link) 2>conftest.er1
35824 ac_status=$?
35825 grep -v '^ *+' conftest.er1 >conftest.err
35826 rm -f conftest.er1
35827 cat conftest.err >&5
35828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35829 (exit $ac_status); } &&
35830 { ac_try='test -z "$ac_c_werror_flag"
35831 || test ! -s conftest.err'
35832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35833 (eval $ac_try) 2>&5
35834 ac_status=$?
35835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35836 (exit $ac_status); }; } &&
35837 { ac_try='test -s conftest$ac_exeext'
35838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35839 (eval $ac_try) 2>&5
35840 ac_status=$?
35841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35842 (exit $ac_status); }; }; then
35843 eval "$as_ac_var=yes"
35844 else
35845 echo "$as_me: failed program was:" >&5
35846 sed 's/^/| /' conftest.$ac_ext >&5
35848 eval "$as_ac_var=no"
35850 rm -f conftest.err conftest.$ac_objext \
35851 conftest$ac_exeext conftest.$ac_ext
35853 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35854 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35855 if test `eval echo '${'$as_ac_var'}'` = yes; then
35856 cat >>confdefs.h <<_ACEOF
35857 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35858 _ACEOF
35861 done
35871 echo "$as_me:$LINENO: checking for hypot declaration" >&5
35872 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
35873 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
35874 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
35875 echo $ECHO_N "(cached) $ECHO_C" >&6
35876 else
35880 ac_ext=cc
35881 ac_cpp='$CXXCPP $CPPFLAGS'
35882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35886 cat >conftest.$ac_ext <<_ACEOF
35887 /* confdefs.h. */
35888 _ACEOF
35889 cat confdefs.h >>conftest.$ac_ext
35890 cat >>conftest.$ac_ext <<_ACEOF
35891 /* end confdefs.h. */
35892 #include <math.h>
35894 main ()
35896 hypot(0, 0);
35898 return 0;
35900 _ACEOF
35901 rm -f conftest.$ac_objext
35902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35903 (eval $ac_compile) 2>conftest.er1
35904 ac_status=$?
35905 grep -v '^ *+' conftest.er1 >conftest.err
35906 rm -f conftest.er1
35907 cat conftest.err >&5
35908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35909 (exit $ac_status); } &&
35910 { ac_try='test -z "$ac_cxx_werror_flag"
35911 || test ! -s conftest.err'
35912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35913 (eval $ac_try) 2>&5
35914 ac_status=$?
35915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35916 (exit $ac_status); }; } &&
35917 { ac_try='test -s conftest.$ac_objext'
35918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35919 (eval $ac_try) 2>&5
35920 ac_status=$?
35921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35922 (exit $ac_status); }; }; then
35923 glibcxx_cv_func_hypot_use=yes
35924 else
35925 echo "$as_me: failed program was:" >&5
35926 sed 's/^/| /' conftest.$ac_ext >&5
35928 glibcxx_cv_func_hypot_use=no
35930 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35931 ac_ext=c
35932 ac_cpp='$CPP $CPPFLAGS'
35933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35941 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
35942 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
35944 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
35946 for ac_func in hypot
35948 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35949 echo "$as_me:$LINENO: checking for $ac_func" >&5
35950 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35951 if eval "test \"\${$as_ac_var+set}\" = set"; then
35952 echo $ECHO_N "(cached) $ECHO_C" >&6
35953 else
35954 if test x$gcc_no_link = xyes; then
35955 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35956 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35957 { (exit 1); exit 1; }; }
35959 cat >conftest.$ac_ext <<_ACEOF
35960 /* confdefs.h. */
35961 _ACEOF
35962 cat confdefs.h >>conftest.$ac_ext
35963 cat >>conftest.$ac_ext <<_ACEOF
35964 /* end confdefs.h. */
35965 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35966 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35967 #define $ac_func innocuous_$ac_func
35969 /* System header to define __stub macros and hopefully few prototypes,
35970 which can conflict with char $ac_func (); below.
35971 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35972 <limits.h> exists even on freestanding compilers. */
35974 #ifdef __STDC__
35975 # include <limits.h>
35976 #else
35977 # include <assert.h>
35978 #endif
35980 #undef $ac_func
35982 /* Override any gcc2 internal prototype to avoid an error. */
35983 #ifdef __cplusplus
35984 extern "C"
35986 #endif
35987 /* We use char because int might match the return type of a gcc2
35988 builtin and then its argument prototype would still apply. */
35989 char $ac_func ();
35990 /* The GNU C library defines this for functions which it implements
35991 to always fail with ENOSYS. Some functions are actually named
35992 something starting with __ and the normal name is an alias. */
35993 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35994 choke me
35995 #else
35996 char (*f) () = $ac_func;
35997 #endif
35998 #ifdef __cplusplus
36000 #endif
36003 main ()
36005 return f != $ac_func;
36007 return 0;
36009 _ACEOF
36010 rm -f conftest.$ac_objext conftest$ac_exeext
36011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36012 (eval $ac_link) 2>conftest.er1
36013 ac_status=$?
36014 grep -v '^ *+' conftest.er1 >conftest.err
36015 rm -f conftest.er1
36016 cat conftest.err >&5
36017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36018 (exit $ac_status); } &&
36019 { ac_try='test -z "$ac_c_werror_flag"
36020 || test ! -s conftest.err'
36021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36022 (eval $ac_try) 2>&5
36023 ac_status=$?
36024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36025 (exit $ac_status); }; } &&
36026 { ac_try='test -s conftest$ac_exeext'
36027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36028 (eval $ac_try) 2>&5
36029 ac_status=$?
36030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36031 (exit $ac_status); }; }; then
36032 eval "$as_ac_var=yes"
36033 else
36034 echo "$as_me: failed program was:" >&5
36035 sed 's/^/| /' conftest.$ac_ext >&5
36037 eval "$as_ac_var=no"
36039 rm -f conftest.err conftest.$ac_objext \
36040 conftest$ac_exeext conftest.$ac_ext
36042 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36043 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36044 if test `eval echo '${'$as_ac_var'}'` = yes; then
36045 cat >>confdefs.h <<_ACEOF
36046 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36047 _ACEOF
36050 done
36052 else
36054 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
36055 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
36056 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
36057 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
36058 echo $ECHO_N "(cached) $ECHO_C" >&6
36059 else
36063 ac_ext=cc
36064 ac_cpp='$CXXCPP $CPPFLAGS'
36065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36069 cat >conftest.$ac_ext <<_ACEOF
36070 /* confdefs.h. */
36071 _ACEOF
36072 cat confdefs.h >>conftest.$ac_ext
36073 cat >>conftest.$ac_ext <<_ACEOF
36074 /* end confdefs.h. */
36075 #include <math.h>
36077 main ()
36079 _hypot(0, 0);
36081 return 0;
36083 _ACEOF
36084 rm -f conftest.$ac_objext
36085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36086 (eval $ac_compile) 2>conftest.er1
36087 ac_status=$?
36088 grep -v '^ *+' conftest.er1 >conftest.err
36089 rm -f conftest.er1
36090 cat conftest.err >&5
36091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36092 (exit $ac_status); } &&
36093 { ac_try='test -z "$ac_cxx_werror_flag"
36094 || test ! -s conftest.err'
36095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36096 (eval $ac_try) 2>&5
36097 ac_status=$?
36098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36099 (exit $ac_status); }; } &&
36100 { ac_try='test -s conftest.$ac_objext'
36101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36102 (eval $ac_try) 2>&5
36103 ac_status=$?
36104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36105 (exit $ac_status); }; }; then
36106 glibcxx_cv_func__hypot_use=yes
36107 else
36108 echo "$as_me: failed program was:" >&5
36109 sed 's/^/| /' conftest.$ac_ext >&5
36111 glibcxx_cv_func__hypot_use=no
36113 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36114 ac_ext=c
36115 ac_cpp='$CPP $CPPFLAGS'
36116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36124 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
36125 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
36127 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
36129 for ac_func in _hypot
36131 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36132 echo "$as_me:$LINENO: checking for $ac_func" >&5
36133 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36134 if eval "test \"\${$as_ac_var+set}\" = set"; then
36135 echo $ECHO_N "(cached) $ECHO_C" >&6
36136 else
36137 if test x$gcc_no_link = xyes; then
36138 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36139 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36140 { (exit 1); exit 1; }; }
36142 cat >conftest.$ac_ext <<_ACEOF
36143 /* confdefs.h. */
36144 _ACEOF
36145 cat confdefs.h >>conftest.$ac_ext
36146 cat >>conftest.$ac_ext <<_ACEOF
36147 /* end confdefs.h. */
36148 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36149 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36150 #define $ac_func innocuous_$ac_func
36152 /* System header to define __stub macros and hopefully few prototypes,
36153 which can conflict with char $ac_func (); below.
36154 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36155 <limits.h> exists even on freestanding compilers. */
36157 #ifdef __STDC__
36158 # include <limits.h>
36159 #else
36160 # include <assert.h>
36161 #endif
36163 #undef $ac_func
36165 /* Override any gcc2 internal prototype to avoid an error. */
36166 #ifdef __cplusplus
36167 extern "C"
36169 #endif
36170 /* We use char because int might match the return type of a gcc2
36171 builtin and then its argument prototype would still apply. */
36172 char $ac_func ();
36173 /* The GNU C library defines this for functions which it implements
36174 to always fail with ENOSYS. Some functions are actually named
36175 something starting with __ and the normal name is an alias. */
36176 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36177 choke me
36178 #else
36179 char (*f) () = $ac_func;
36180 #endif
36181 #ifdef __cplusplus
36183 #endif
36186 main ()
36188 return f != $ac_func;
36190 return 0;
36192 _ACEOF
36193 rm -f conftest.$ac_objext conftest$ac_exeext
36194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36195 (eval $ac_link) 2>conftest.er1
36196 ac_status=$?
36197 grep -v '^ *+' conftest.er1 >conftest.err
36198 rm -f conftest.er1
36199 cat conftest.err >&5
36200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36201 (exit $ac_status); } &&
36202 { ac_try='test -z "$ac_c_werror_flag"
36203 || test ! -s conftest.err'
36204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36205 (eval $ac_try) 2>&5
36206 ac_status=$?
36207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36208 (exit $ac_status); }; } &&
36209 { ac_try='test -s conftest$ac_exeext'
36210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36211 (eval $ac_try) 2>&5
36212 ac_status=$?
36213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36214 (exit $ac_status); }; }; then
36215 eval "$as_ac_var=yes"
36216 else
36217 echo "$as_me: failed program was:" >&5
36218 sed 's/^/| /' conftest.$ac_ext >&5
36220 eval "$as_ac_var=no"
36222 rm -f conftest.err conftest.$ac_objext \
36223 conftest$ac_exeext conftest.$ac_ext
36225 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36226 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36227 if test `eval echo '${'$as_ac_var'}'` = yes; then
36228 cat >>confdefs.h <<_ACEOF
36229 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36230 _ACEOF
36233 done
36243 echo "$as_me:$LINENO: checking for float trig functions" >&5
36244 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
36245 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
36246 echo $ECHO_N "(cached) $ECHO_C" >&6
36247 else
36251 ac_ext=cc
36252 ac_cpp='$CXXCPP $CPPFLAGS'
36253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36257 cat >conftest.$ac_ext <<_ACEOF
36258 /* confdefs.h. */
36259 _ACEOF
36260 cat confdefs.h >>conftest.$ac_ext
36261 cat >>conftest.$ac_ext <<_ACEOF
36262 /* end confdefs.h. */
36263 #include <math.h>
36265 main ()
36267 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
36269 return 0;
36271 _ACEOF
36272 rm -f conftest.$ac_objext
36273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36274 (eval $ac_compile) 2>conftest.er1
36275 ac_status=$?
36276 grep -v '^ *+' conftest.er1 >conftest.err
36277 rm -f conftest.er1
36278 cat conftest.err >&5
36279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36280 (exit $ac_status); } &&
36281 { ac_try='test -z "$ac_cxx_werror_flag"
36282 || test ! -s conftest.err'
36283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36284 (eval $ac_try) 2>&5
36285 ac_status=$?
36286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36287 (exit $ac_status); }; } &&
36288 { ac_try='test -s conftest.$ac_objext'
36289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36290 (eval $ac_try) 2>&5
36291 ac_status=$?
36292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36293 (exit $ac_status); }; }; then
36294 glibcxx_cv_func_float_trig_use=yes
36295 else
36296 echo "$as_me: failed program was:" >&5
36297 sed 's/^/| /' conftest.$ac_ext >&5
36299 glibcxx_cv_func_float_trig_use=no
36301 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36302 ac_ext=c
36303 ac_cpp='$CPP $CPPFLAGS'
36304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36310 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
36311 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
36312 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
36322 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
36324 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36325 echo "$as_me:$LINENO: checking for $ac_func" >&5
36326 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36327 if eval "test \"\${$as_ac_var+set}\" = set"; then
36328 echo $ECHO_N "(cached) $ECHO_C" >&6
36329 else
36330 if test x$gcc_no_link = xyes; then
36331 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36332 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36333 { (exit 1); exit 1; }; }
36335 cat >conftest.$ac_ext <<_ACEOF
36336 /* confdefs.h. */
36337 _ACEOF
36338 cat confdefs.h >>conftest.$ac_ext
36339 cat >>conftest.$ac_ext <<_ACEOF
36340 /* end confdefs.h. */
36341 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36342 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36343 #define $ac_func innocuous_$ac_func
36345 /* System header to define __stub macros and hopefully few prototypes,
36346 which can conflict with char $ac_func (); below.
36347 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36348 <limits.h> exists even on freestanding compilers. */
36350 #ifdef __STDC__
36351 # include <limits.h>
36352 #else
36353 # include <assert.h>
36354 #endif
36356 #undef $ac_func
36358 /* Override any gcc2 internal prototype to avoid an error. */
36359 #ifdef __cplusplus
36360 extern "C"
36362 #endif
36363 /* We use char because int might match the return type of a gcc2
36364 builtin and then its argument prototype would still apply. */
36365 char $ac_func ();
36366 /* The GNU C library defines this for functions which it implements
36367 to always fail with ENOSYS. Some functions are actually named
36368 something starting with __ and the normal name is an alias. */
36369 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36370 choke me
36371 #else
36372 char (*f) () = $ac_func;
36373 #endif
36374 #ifdef __cplusplus
36376 #endif
36379 main ()
36381 return f != $ac_func;
36383 return 0;
36385 _ACEOF
36386 rm -f conftest.$ac_objext conftest$ac_exeext
36387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36388 (eval $ac_link) 2>conftest.er1
36389 ac_status=$?
36390 grep -v '^ *+' conftest.er1 >conftest.err
36391 rm -f conftest.er1
36392 cat conftest.err >&5
36393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36394 (exit $ac_status); } &&
36395 { ac_try='test -z "$ac_c_werror_flag"
36396 || test ! -s conftest.err'
36397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36398 (eval $ac_try) 2>&5
36399 ac_status=$?
36400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36401 (exit $ac_status); }; } &&
36402 { ac_try='test -s conftest$ac_exeext'
36403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36404 (eval $ac_try) 2>&5
36405 ac_status=$?
36406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36407 (exit $ac_status); }; }; then
36408 eval "$as_ac_var=yes"
36409 else
36410 echo "$as_me: failed program was:" >&5
36411 sed 's/^/| /' conftest.$ac_ext >&5
36413 eval "$as_ac_var=no"
36415 rm -f conftest.err conftest.$ac_objext \
36416 conftest$ac_exeext conftest.$ac_ext
36418 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36419 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36420 if test `eval echo '${'$as_ac_var'}'` = yes; then
36421 cat >>confdefs.h <<_ACEOF
36422 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36423 _ACEOF
36426 done
36428 else
36429 echo "$as_me:$LINENO: checking for _float trig functions" >&5
36430 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
36431 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
36432 echo $ECHO_N "(cached) $ECHO_C" >&6
36433 else
36437 ac_ext=cc
36438 ac_cpp='$CXXCPP $CPPFLAGS'
36439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36443 cat >conftest.$ac_ext <<_ACEOF
36444 /* confdefs.h. */
36445 _ACEOF
36446 cat confdefs.h >>conftest.$ac_ext
36447 cat >>conftest.$ac_ext <<_ACEOF
36448 /* end confdefs.h. */
36449 #include <math.h>
36451 main ()
36453 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
36455 return 0;
36457 _ACEOF
36458 rm -f conftest.$ac_objext
36459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36460 (eval $ac_compile) 2>conftest.er1
36461 ac_status=$?
36462 grep -v '^ *+' conftest.er1 >conftest.err
36463 rm -f conftest.er1
36464 cat conftest.err >&5
36465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36466 (exit $ac_status); } &&
36467 { ac_try='test -z "$ac_cxx_werror_flag"
36468 || test ! -s conftest.err'
36469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36470 (eval $ac_try) 2>&5
36471 ac_status=$?
36472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36473 (exit $ac_status); }; } &&
36474 { ac_try='test -s conftest.$ac_objext'
36475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36476 (eval $ac_try) 2>&5
36477 ac_status=$?
36478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36479 (exit $ac_status); }; }; then
36480 glibcxx_cv_func__float_trig_use=yes
36481 else
36482 echo "$as_me: failed program was:" >&5
36483 sed 's/^/| /' conftest.$ac_ext >&5
36485 glibcxx_cv_func__float_trig_use=no
36487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36488 ac_ext=c
36489 ac_cpp='$CPP $CPPFLAGS'
36490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36496 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
36497 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
36498 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
36508 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
36510 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36511 echo "$as_me:$LINENO: checking for $ac_func" >&5
36512 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36513 if eval "test \"\${$as_ac_var+set}\" = set"; then
36514 echo $ECHO_N "(cached) $ECHO_C" >&6
36515 else
36516 if test x$gcc_no_link = xyes; then
36517 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36518 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36519 { (exit 1); exit 1; }; }
36521 cat >conftest.$ac_ext <<_ACEOF
36522 /* confdefs.h. */
36523 _ACEOF
36524 cat confdefs.h >>conftest.$ac_ext
36525 cat >>conftest.$ac_ext <<_ACEOF
36526 /* end confdefs.h. */
36527 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36528 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36529 #define $ac_func innocuous_$ac_func
36531 /* System header to define __stub macros and hopefully few prototypes,
36532 which can conflict with char $ac_func (); below.
36533 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36534 <limits.h> exists even on freestanding compilers. */
36536 #ifdef __STDC__
36537 # include <limits.h>
36538 #else
36539 # include <assert.h>
36540 #endif
36542 #undef $ac_func
36544 /* Override any gcc2 internal prototype to avoid an error. */
36545 #ifdef __cplusplus
36546 extern "C"
36548 #endif
36549 /* We use char because int might match the return type of a gcc2
36550 builtin and then its argument prototype would still apply. */
36551 char $ac_func ();
36552 /* The GNU C library defines this for functions which it implements
36553 to always fail with ENOSYS. Some functions are actually named
36554 something starting with __ and the normal name is an alias. */
36555 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36556 choke me
36557 #else
36558 char (*f) () = $ac_func;
36559 #endif
36560 #ifdef __cplusplus
36562 #endif
36565 main ()
36567 return f != $ac_func;
36569 return 0;
36571 _ACEOF
36572 rm -f conftest.$ac_objext conftest$ac_exeext
36573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36574 (eval $ac_link) 2>conftest.er1
36575 ac_status=$?
36576 grep -v '^ *+' conftest.er1 >conftest.err
36577 rm -f conftest.er1
36578 cat conftest.err >&5
36579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36580 (exit $ac_status); } &&
36581 { ac_try='test -z "$ac_c_werror_flag"
36582 || test ! -s conftest.err'
36583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36584 (eval $ac_try) 2>&5
36585 ac_status=$?
36586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36587 (exit $ac_status); }; } &&
36588 { ac_try='test -s conftest$ac_exeext'
36589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36590 (eval $ac_try) 2>&5
36591 ac_status=$?
36592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36593 (exit $ac_status); }; }; then
36594 eval "$as_ac_var=yes"
36595 else
36596 echo "$as_me: failed program was:" >&5
36597 sed 's/^/| /' conftest.$ac_ext >&5
36599 eval "$as_ac_var=no"
36601 rm -f conftest.err conftest.$ac_objext \
36602 conftest$ac_exeext conftest.$ac_ext
36604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36605 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36606 if test `eval echo '${'$as_ac_var'}'` = yes; then
36607 cat >>confdefs.h <<_ACEOF
36608 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36609 _ACEOF
36612 done
36630 echo "$as_me:$LINENO: checking for float round functions" >&5
36631 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
36632 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
36633 echo $ECHO_N "(cached) $ECHO_C" >&6
36634 else
36638 ac_ext=cc
36639 ac_cpp='$CXXCPP $CPPFLAGS'
36640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36644 cat >conftest.$ac_ext <<_ACEOF
36645 /* confdefs.h. */
36646 _ACEOF
36647 cat confdefs.h >>conftest.$ac_ext
36648 cat >>conftest.$ac_ext <<_ACEOF
36649 /* end confdefs.h. */
36650 #include <math.h>
36652 main ()
36654 ceilf (0); floorf (0);
36656 return 0;
36658 _ACEOF
36659 rm -f conftest.$ac_objext
36660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36661 (eval $ac_compile) 2>conftest.er1
36662 ac_status=$?
36663 grep -v '^ *+' conftest.er1 >conftest.err
36664 rm -f conftest.er1
36665 cat conftest.err >&5
36666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36667 (exit $ac_status); } &&
36668 { ac_try='test -z "$ac_cxx_werror_flag"
36669 || test ! -s conftest.err'
36670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36671 (eval $ac_try) 2>&5
36672 ac_status=$?
36673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36674 (exit $ac_status); }; } &&
36675 { ac_try='test -s conftest.$ac_objext'
36676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36677 (eval $ac_try) 2>&5
36678 ac_status=$?
36679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36680 (exit $ac_status); }; }; then
36681 glibcxx_cv_func_float_round_use=yes
36682 else
36683 echo "$as_me: failed program was:" >&5
36684 sed 's/^/| /' conftest.$ac_ext >&5
36686 glibcxx_cv_func_float_round_use=no
36688 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36689 ac_ext=c
36690 ac_cpp='$CPP $CPPFLAGS'
36691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36697 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
36698 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
36699 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
36702 for ac_func in ceilf floorf
36704 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36705 echo "$as_me:$LINENO: checking for $ac_func" >&5
36706 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36707 if eval "test \"\${$as_ac_var+set}\" = set"; then
36708 echo $ECHO_N "(cached) $ECHO_C" >&6
36709 else
36710 if test x$gcc_no_link = xyes; then
36711 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36712 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36713 { (exit 1); exit 1; }; }
36715 cat >conftest.$ac_ext <<_ACEOF
36716 /* confdefs.h. */
36717 _ACEOF
36718 cat confdefs.h >>conftest.$ac_ext
36719 cat >>conftest.$ac_ext <<_ACEOF
36720 /* end confdefs.h. */
36721 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36722 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36723 #define $ac_func innocuous_$ac_func
36725 /* System header to define __stub macros and hopefully few prototypes,
36726 which can conflict with char $ac_func (); below.
36727 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36728 <limits.h> exists even on freestanding compilers. */
36730 #ifdef __STDC__
36731 # include <limits.h>
36732 #else
36733 # include <assert.h>
36734 #endif
36736 #undef $ac_func
36738 /* Override any gcc2 internal prototype to avoid an error. */
36739 #ifdef __cplusplus
36740 extern "C"
36742 #endif
36743 /* We use char because int might match the return type of a gcc2
36744 builtin and then its argument prototype would still apply. */
36745 char $ac_func ();
36746 /* The GNU C library defines this for functions which it implements
36747 to always fail with ENOSYS. Some functions are actually named
36748 something starting with __ and the normal name is an alias. */
36749 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36750 choke me
36751 #else
36752 char (*f) () = $ac_func;
36753 #endif
36754 #ifdef __cplusplus
36756 #endif
36759 main ()
36761 return f != $ac_func;
36763 return 0;
36765 _ACEOF
36766 rm -f conftest.$ac_objext conftest$ac_exeext
36767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36768 (eval $ac_link) 2>conftest.er1
36769 ac_status=$?
36770 grep -v '^ *+' conftest.er1 >conftest.err
36771 rm -f conftest.er1
36772 cat conftest.err >&5
36773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36774 (exit $ac_status); } &&
36775 { ac_try='test -z "$ac_c_werror_flag"
36776 || test ! -s conftest.err'
36777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36778 (eval $ac_try) 2>&5
36779 ac_status=$?
36780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36781 (exit $ac_status); }; } &&
36782 { ac_try='test -s conftest$ac_exeext'
36783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36784 (eval $ac_try) 2>&5
36785 ac_status=$?
36786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36787 (exit $ac_status); }; }; then
36788 eval "$as_ac_var=yes"
36789 else
36790 echo "$as_me: failed program was:" >&5
36791 sed 's/^/| /' conftest.$ac_ext >&5
36793 eval "$as_ac_var=no"
36795 rm -f conftest.err conftest.$ac_objext \
36796 conftest$ac_exeext conftest.$ac_ext
36798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36799 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36800 if test `eval echo '${'$as_ac_var'}'` = yes; then
36801 cat >>confdefs.h <<_ACEOF
36802 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36803 _ACEOF
36806 done
36808 else
36809 echo "$as_me:$LINENO: checking for _float round functions" >&5
36810 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
36811 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
36812 echo $ECHO_N "(cached) $ECHO_C" >&6
36813 else
36817 ac_ext=cc
36818 ac_cpp='$CXXCPP $CPPFLAGS'
36819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36823 cat >conftest.$ac_ext <<_ACEOF
36824 /* confdefs.h. */
36825 _ACEOF
36826 cat confdefs.h >>conftest.$ac_ext
36827 cat >>conftest.$ac_ext <<_ACEOF
36828 /* end confdefs.h. */
36829 #include <math.h>
36831 main ()
36833 _ceilf (0); _floorf (0);
36835 return 0;
36837 _ACEOF
36838 rm -f conftest.$ac_objext
36839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36840 (eval $ac_compile) 2>conftest.er1
36841 ac_status=$?
36842 grep -v '^ *+' conftest.er1 >conftest.err
36843 rm -f conftest.er1
36844 cat conftest.err >&5
36845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36846 (exit $ac_status); } &&
36847 { ac_try='test -z "$ac_cxx_werror_flag"
36848 || test ! -s conftest.err'
36849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36850 (eval $ac_try) 2>&5
36851 ac_status=$?
36852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36853 (exit $ac_status); }; } &&
36854 { ac_try='test -s conftest.$ac_objext'
36855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36856 (eval $ac_try) 2>&5
36857 ac_status=$?
36858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36859 (exit $ac_status); }; }; then
36860 glibcxx_cv_func__float_round_use=yes
36861 else
36862 echo "$as_me: failed program was:" >&5
36863 sed 's/^/| /' conftest.$ac_ext >&5
36865 glibcxx_cv_func__float_round_use=no
36867 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36868 ac_ext=c
36869 ac_cpp='$CPP $CPPFLAGS'
36870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36876 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
36877 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
36878 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
36881 for ac_func in _ceilf _floorf
36883 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36884 echo "$as_me:$LINENO: checking for $ac_func" >&5
36885 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36886 if eval "test \"\${$as_ac_var+set}\" = set"; then
36887 echo $ECHO_N "(cached) $ECHO_C" >&6
36888 else
36889 if test x$gcc_no_link = xyes; then
36890 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36891 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36892 { (exit 1); exit 1; }; }
36894 cat >conftest.$ac_ext <<_ACEOF
36895 /* confdefs.h. */
36896 _ACEOF
36897 cat confdefs.h >>conftest.$ac_ext
36898 cat >>conftest.$ac_ext <<_ACEOF
36899 /* end confdefs.h. */
36900 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36901 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36902 #define $ac_func innocuous_$ac_func
36904 /* System header to define __stub macros and hopefully few prototypes,
36905 which can conflict with char $ac_func (); below.
36906 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36907 <limits.h> exists even on freestanding compilers. */
36909 #ifdef __STDC__
36910 # include <limits.h>
36911 #else
36912 # include <assert.h>
36913 #endif
36915 #undef $ac_func
36917 /* Override any gcc2 internal prototype to avoid an error. */
36918 #ifdef __cplusplus
36919 extern "C"
36921 #endif
36922 /* We use char because int might match the return type of a gcc2
36923 builtin and then its argument prototype would still apply. */
36924 char $ac_func ();
36925 /* The GNU C library defines this for functions which it implements
36926 to always fail with ENOSYS. Some functions are actually named
36927 something starting with __ and the normal name is an alias. */
36928 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36929 choke me
36930 #else
36931 char (*f) () = $ac_func;
36932 #endif
36933 #ifdef __cplusplus
36935 #endif
36938 main ()
36940 return f != $ac_func;
36942 return 0;
36944 _ACEOF
36945 rm -f conftest.$ac_objext conftest$ac_exeext
36946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36947 (eval $ac_link) 2>conftest.er1
36948 ac_status=$?
36949 grep -v '^ *+' conftest.er1 >conftest.err
36950 rm -f conftest.er1
36951 cat conftest.err >&5
36952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36953 (exit $ac_status); } &&
36954 { ac_try='test -z "$ac_c_werror_flag"
36955 || test ! -s conftest.err'
36956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36957 (eval $ac_try) 2>&5
36958 ac_status=$?
36959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36960 (exit $ac_status); }; } &&
36961 { ac_try='test -s conftest$ac_exeext'
36962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36963 (eval $ac_try) 2>&5
36964 ac_status=$?
36965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36966 (exit $ac_status); }; }; then
36967 eval "$as_ac_var=yes"
36968 else
36969 echo "$as_me: failed program was:" >&5
36970 sed 's/^/| /' conftest.$ac_ext >&5
36972 eval "$as_ac_var=no"
36974 rm -f conftest.err conftest.$ac_objext \
36975 conftest$ac_exeext conftest.$ac_ext
36977 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36978 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36979 if test `eval echo '${'$as_ac_var'}'` = yes; then
36980 cat >>confdefs.h <<_ACEOF
36981 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36982 _ACEOF
36985 done
36997 echo "$as_me:$LINENO: checking for expf declaration" >&5
36998 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
36999 if test x${glibcxx_cv_func_expf_use+set} != xset; then
37000 if test "${glibcxx_cv_func_expf_use+set}" = set; then
37001 echo $ECHO_N "(cached) $ECHO_C" >&6
37002 else
37006 ac_ext=cc
37007 ac_cpp='$CXXCPP $CPPFLAGS'
37008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37012 cat >conftest.$ac_ext <<_ACEOF
37013 /* confdefs.h. */
37014 _ACEOF
37015 cat confdefs.h >>conftest.$ac_ext
37016 cat >>conftest.$ac_ext <<_ACEOF
37017 /* end confdefs.h. */
37018 #include <math.h>
37019 #ifdef HAVE_IEEEFP_H
37020 #include <ieeefp.h>
37021 #endif
37024 main ()
37026 expf(0);
37028 return 0;
37030 _ACEOF
37031 rm -f conftest.$ac_objext
37032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37033 (eval $ac_compile) 2>conftest.er1
37034 ac_status=$?
37035 grep -v '^ *+' conftest.er1 >conftest.err
37036 rm -f conftest.er1
37037 cat conftest.err >&5
37038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37039 (exit $ac_status); } &&
37040 { ac_try='test -z "$ac_cxx_werror_flag"
37041 || test ! -s conftest.err'
37042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37043 (eval $ac_try) 2>&5
37044 ac_status=$?
37045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37046 (exit $ac_status); }; } &&
37047 { ac_try='test -s conftest.$ac_objext'
37048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37049 (eval $ac_try) 2>&5
37050 ac_status=$?
37051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37052 (exit $ac_status); }; }; then
37053 glibcxx_cv_func_expf_use=yes
37054 else
37055 echo "$as_me: failed program was:" >&5
37056 sed 's/^/| /' conftest.$ac_ext >&5
37058 glibcxx_cv_func_expf_use=no
37060 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37061 ac_ext=c
37062 ac_cpp='$CPP $CPPFLAGS'
37063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37071 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
37072 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
37074 if test x$glibcxx_cv_func_expf_use = x"yes"; then
37076 for ac_func in expf
37078 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37079 echo "$as_me:$LINENO: checking for $ac_func" >&5
37080 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37081 if eval "test \"\${$as_ac_var+set}\" = set"; then
37082 echo $ECHO_N "(cached) $ECHO_C" >&6
37083 else
37084 if test x$gcc_no_link = xyes; then
37085 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37086 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37087 { (exit 1); exit 1; }; }
37089 cat >conftest.$ac_ext <<_ACEOF
37090 /* confdefs.h. */
37091 _ACEOF
37092 cat confdefs.h >>conftest.$ac_ext
37093 cat >>conftest.$ac_ext <<_ACEOF
37094 /* end confdefs.h. */
37095 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37096 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37097 #define $ac_func innocuous_$ac_func
37099 /* System header to define __stub macros and hopefully few prototypes,
37100 which can conflict with char $ac_func (); below.
37101 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37102 <limits.h> exists even on freestanding compilers. */
37104 #ifdef __STDC__
37105 # include <limits.h>
37106 #else
37107 # include <assert.h>
37108 #endif
37110 #undef $ac_func
37112 /* Override any gcc2 internal prototype to avoid an error. */
37113 #ifdef __cplusplus
37114 extern "C"
37116 #endif
37117 /* We use char because int might match the return type of a gcc2
37118 builtin and then its argument prototype would still apply. */
37119 char $ac_func ();
37120 /* The GNU C library defines this for functions which it implements
37121 to always fail with ENOSYS. Some functions are actually named
37122 something starting with __ and the normal name is an alias. */
37123 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37124 choke me
37125 #else
37126 char (*f) () = $ac_func;
37127 #endif
37128 #ifdef __cplusplus
37130 #endif
37133 main ()
37135 return f != $ac_func;
37137 return 0;
37139 _ACEOF
37140 rm -f conftest.$ac_objext conftest$ac_exeext
37141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37142 (eval $ac_link) 2>conftest.er1
37143 ac_status=$?
37144 grep -v '^ *+' conftest.er1 >conftest.err
37145 rm -f conftest.er1
37146 cat conftest.err >&5
37147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37148 (exit $ac_status); } &&
37149 { ac_try='test -z "$ac_c_werror_flag"
37150 || test ! -s conftest.err'
37151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37152 (eval $ac_try) 2>&5
37153 ac_status=$?
37154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37155 (exit $ac_status); }; } &&
37156 { ac_try='test -s conftest$ac_exeext'
37157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37158 (eval $ac_try) 2>&5
37159 ac_status=$?
37160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37161 (exit $ac_status); }; }; then
37162 eval "$as_ac_var=yes"
37163 else
37164 echo "$as_me: failed program was:" >&5
37165 sed 's/^/| /' conftest.$ac_ext >&5
37167 eval "$as_ac_var=no"
37169 rm -f conftest.err conftest.$ac_objext \
37170 conftest$ac_exeext conftest.$ac_ext
37172 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37173 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37174 if test `eval echo '${'$as_ac_var'}'` = yes; then
37175 cat >>confdefs.h <<_ACEOF
37176 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37177 _ACEOF
37180 done
37182 else
37184 echo "$as_me:$LINENO: checking for _expf declaration" >&5
37185 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
37186 if test x${glibcxx_cv_func__expf_use+set} != xset; then
37187 if test "${glibcxx_cv_func__expf_use+set}" = set; then
37188 echo $ECHO_N "(cached) $ECHO_C" >&6
37189 else
37193 ac_ext=cc
37194 ac_cpp='$CXXCPP $CPPFLAGS'
37195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37199 cat >conftest.$ac_ext <<_ACEOF
37200 /* confdefs.h. */
37201 _ACEOF
37202 cat confdefs.h >>conftest.$ac_ext
37203 cat >>conftest.$ac_ext <<_ACEOF
37204 /* end confdefs.h. */
37205 #include <math.h>
37206 #ifdef HAVE_IEEEFP_H
37207 #include <ieeefp.h>
37208 #endif
37211 main ()
37213 _expf(0);
37215 return 0;
37217 _ACEOF
37218 rm -f conftest.$ac_objext
37219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37220 (eval $ac_compile) 2>conftest.er1
37221 ac_status=$?
37222 grep -v '^ *+' conftest.er1 >conftest.err
37223 rm -f conftest.er1
37224 cat conftest.err >&5
37225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37226 (exit $ac_status); } &&
37227 { ac_try='test -z "$ac_cxx_werror_flag"
37228 || test ! -s conftest.err'
37229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37230 (eval $ac_try) 2>&5
37231 ac_status=$?
37232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37233 (exit $ac_status); }; } &&
37234 { ac_try='test -s conftest.$ac_objext'
37235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37236 (eval $ac_try) 2>&5
37237 ac_status=$?
37238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37239 (exit $ac_status); }; }; then
37240 glibcxx_cv_func__expf_use=yes
37241 else
37242 echo "$as_me: failed program was:" >&5
37243 sed 's/^/| /' conftest.$ac_ext >&5
37245 glibcxx_cv_func__expf_use=no
37247 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37248 ac_ext=c
37249 ac_cpp='$CPP $CPPFLAGS'
37250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37258 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
37259 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
37261 if test x$glibcxx_cv_func__expf_use = x"yes"; then
37263 for ac_func in _expf
37265 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37266 echo "$as_me:$LINENO: checking for $ac_func" >&5
37267 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37268 if eval "test \"\${$as_ac_var+set}\" = set"; then
37269 echo $ECHO_N "(cached) $ECHO_C" >&6
37270 else
37271 if test x$gcc_no_link = xyes; then
37272 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37273 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37274 { (exit 1); exit 1; }; }
37276 cat >conftest.$ac_ext <<_ACEOF
37277 /* confdefs.h. */
37278 _ACEOF
37279 cat confdefs.h >>conftest.$ac_ext
37280 cat >>conftest.$ac_ext <<_ACEOF
37281 /* end confdefs.h. */
37282 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37283 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37284 #define $ac_func innocuous_$ac_func
37286 /* System header to define __stub macros and hopefully few prototypes,
37287 which can conflict with char $ac_func (); below.
37288 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37289 <limits.h> exists even on freestanding compilers. */
37291 #ifdef __STDC__
37292 # include <limits.h>
37293 #else
37294 # include <assert.h>
37295 #endif
37297 #undef $ac_func
37299 /* Override any gcc2 internal prototype to avoid an error. */
37300 #ifdef __cplusplus
37301 extern "C"
37303 #endif
37304 /* We use char because int might match the return type of a gcc2
37305 builtin and then its argument prototype would still apply. */
37306 char $ac_func ();
37307 /* The GNU C library defines this for functions which it implements
37308 to always fail with ENOSYS. Some functions are actually named
37309 something starting with __ and the normal name is an alias. */
37310 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37311 choke me
37312 #else
37313 char (*f) () = $ac_func;
37314 #endif
37315 #ifdef __cplusplus
37317 #endif
37320 main ()
37322 return f != $ac_func;
37324 return 0;
37326 _ACEOF
37327 rm -f conftest.$ac_objext conftest$ac_exeext
37328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37329 (eval $ac_link) 2>conftest.er1
37330 ac_status=$?
37331 grep -v '^ *+' conftest.er1 >conftest.err
37332 rm -f conftest.er1
37333 cat conftest.err >&5
37334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37335 (exit $ac_status); } &&
37336 { ac_try='test -z "$ac_c_werror_flag"
37337 || test ! -s conftest.err'
37338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37339 (eval $ac_try) 2>&5
37340 ac_status=$?
37341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37342 (exit $ac_status); }; } &&
37343 { ac_try='test -s conftest$ac_exeext'
37344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37345 (eval $ac_try) 2>&5
37346 ac_status=$?
37347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37348 (exit $ac_status); }; }; then
37349 eval "$as_ac_var=yes"
37350 else
37351 echo "$as_me: failed program was:" >&5
37352 sed 's/^/| /' conftest.$ac_ext >&5
37354 eval "$as_ac_var=no"
37356 rm -f conftest.err conftest.$ac_objext \
37357 conftest$ac_exeext conftest.$ac_ext
37359 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37360 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37361 if test `eval echo '${'$as_ac_var'}'` = yes; then
37362 cat >>confdefs.h <<_ACEOF
37363 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37364 _ACEOF
37367 done
37377 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
37378 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
37379 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
37380 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
37381 echo $ECHO_N "(cached) $ECHO_C" >&6
37382 else
37386 ac_ext=cc
37387 ac_cpp='$CXXCPP $CPPFLAGS'
37388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37392 cat >conftest.$ac_ext <<_ACEOF
37393 /* confdefs.h. */
37394 _ACEOF
37395 cat confdefs.h >>conftest.$ac_ext
37396 cat >>conftest.$ac_ext <<_ACEOF
37397 /* end confdefs.h. */
37398 #include <math.h>
37399 #ifdef HAVE_IEEEFP_H
37400 #include <ieeefp.h>
37401 #endif
37404 main ()
37406 isnanf(0);
37408 return 0;
37410 _ACEOF
37411 rm -f conftest.$ac_objext
37412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37413 (eval $ac_compile) 2>conftest.er1
37414 ac_status=$?
37415 grep -v '^ *+' conftest.er1 >conftest.err
37416 rm -f conftest.er1
37417 cat conftest.err >&5
37418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37419 (exit $ac_status); } &&
37420 { ac_try='test -z "$ac_cxx_werror_flag"
37421 || test ! -s conftest.err'
37422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37423 (eval $ac_try) 2>&5
37424 ac_status=$?
37425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37426 (exit $ac_status); }; } &&
37427 { ac_try='test -s conftest.$ac_objext'
37428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37429 (eval $ac_try) 2>&5
37430 ac_status=$?
37431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37432 (exit $ac_status); }; }; then
37433 glibcxx_cv_func_isnanf_use=yes
37434 else
37435 echo "$as_me: failed program was:" >&5
37436 sed 's/^/| /' conftest.$ac_ext >&5
37438 glibcxx_cv_func_isnanf_use=no
37440 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37441 ac_ext=c
37442 ac_cpp='$CPP $CPPFLAGS'
37443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37451 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
37452 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
37454 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
37456 for ac_func in isnanf
37458 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37459 echo "$as_me:$LINENO: checking for $ac_func" >&5
37460 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37461 if eval "test \"\${$as_ac_var+set}\" = set"; then
37462 echo $ECHO_N "(cached) $ECHO_C" >&6
37463 else
37464 if test x$gcc_no_link = xyes; then
37465 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37466 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37467 { (exit 1); exit 1; }; }
37469 cat >conftest.$ac_ext <<_ACEOF
37470 /* confdefs.h. */
37471 _ACEOF
37472 cat confdefs.h >>conftest.$ac_ext
37473 cat >>conftest.$ac_ext <<_ACEOF
37474 /* end confdefs.h. */
37475 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37476 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37477 #define $ac_func innocuous_$ac_func
37479 /* System header to define __stub macros and hopefully few prototypes,
37480 which can conflict with char $ac_func (); below.
37481 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37482 <limits.h> exists even on freestanding compilers. */
37484 #ifdef __STDC__
37485 # include <limits.h>
37486 #else
37487 # include <assert.h>
37488 #endif
37490 #undef $ac_func
37492 /* Override any gcc2 internal prototype to avoid an error. */
37493 #ifdef __cplusplus
37494 extern "C"
37496 #endif
37497 /* We use char because int might match the return type of a gcc2
37498 builtin and then its argument prototype would still apply. */
37499 char $ac_func ();
37500 /* The GNU C library defines this for functions which it implements
37501 to always fail with ENOSYS. Some functions are actually named
37502 something starting with __ and the normal name is an alias. */
37503 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37504 choke me
37505 #else
37506 char (*f) () = $ac_func;
37507 #endif
37508 #ifdef __cplusplus
37510 #endif
37513 main ()
37515 return f != $ac_func;
37517 return 0;
37519 _ACEOF
37520 rm -f conftest.$ac_objext conftest$ac_exeext
37521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37522 (eval $ac_link) 2>conftest.er1
37523 ac_status=$?
37524 grep -v '^ *+' conftest.er1 >conftest.err
37525 rm -f conftest.er1
37526 cat conftest.err >&5
37527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37528 (exit $ac_status); } &&
37529 { ac_try='test -z "$ac_c_werror_flag"
37530 || test ! -s conftest.err'
37531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37532 (eval $ac_try) 2>&5
37533 ac_status=$?
37534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37535 (exit $ac_status); }; } &&
37536 { ac_try='test -s conftest$ac_exeext'
37537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37538 (eval $ac_try) 2>&5
37539 ac_status=$?
37540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37541 (exit $ac_status); }; }; then
37542 eval "$as_ac_var=yes"
37543 else
37544 echo "$as_me: failed program was:" >&5
37545 sed 's/^/| /' conftest.$ac_ext >&5
37547 eval "$as_ac_var=no"
37549 rm -f conftest.err conftest.$ac_objext \
37550 conftest$ac_exeext conftest.$ac_ext
37552 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37553 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37554 if test `eval echo '${'$as_ac_var'}'` = yes; then
37555 cat >>confdefs.h <<_ACEOF
37556 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37557 _ACEOF
37560 done
37562 else
37564 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
37565 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
37566 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
37567 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
37568 echo $ECHO_N "(cached) $ECHO_C" >&6
37569 else
37573 ac_ext=cc
37574 ac_cpp='$CXXCPP $CPPFLAGS'
37575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37579 cat >conftest.$ac_ext <<_ACEOF
37580 /* confdefs.h. */
37581 _ACEOF
37582 cat confdefs.h >>conftest.$ac_ext
37583 cat >>conftest.$ac_ext <<_ACEOF
37584 /* end confdefs.h. */
37585 #include <math.h>
37586 #ifdef HAVE_IEEEFP_H
37587 #include <ieeefp.h>
37588 #endif
37591 main ()
37593 _isnanf(0);
37595 return 0;
37597 _ACEOF
37598 rm -f conftest.$ac_objext
37599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37600 (eval $ac_compile) 2>conftest.er1
37601 ac_status=$?
37602 grep -v '^ *+' conftest.er1 >conftest.err
37603 rm -f conftest.er1
37604 cat conftest.err >&5
37605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37606 (exit $ac_status); } &&
37607 { ac_try='test -z "$ac_cxx_werror_flag"
37608 || test ! -s conftest.err'
37609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37610 (eval $ac_try) 2>&5
37611 ac_status=$?
37612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37613 (exit $ac_status); }; } &&
37614 { ac_try='test -s conftest.$ac_objext'
37615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37616 (eval $ac_try) 2>&5
37617 ac_status=$?
37618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37619 (exit $ac_status); }; }; then
37620 glibcxx_cv_func__isnanf_use=yes
37621 else
37622 echo "$as_me: failed program was:" >&5
37623 sed 's/^/| /' conftest.$ac_ext >&5
37625 glibcxx_cv_func__isnanf_use=no
37627 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37628 ac_ext=c
37629 ac_cpp='$CPP $CPPFLAGS'
37630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37638 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
37639 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
37641 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
37643 for ac_func in _isnanf
37645 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37646 echo "$as_me:$LINENO: checking for $ac_func" >&5
37647 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37648 if eval "test \"\${$as_ac_var+set}\" = set"; then
37649 echo $ECHO_N "(cached) $ECHO_C" >&6
37650 else
37651 if test x$gcc_no_link = xyes; then
37652 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37653 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37654 { (exit 1); exit 1; }; }
37656 cat >conftest.$ac_ext <<_ACEOF
37657 /* confdefs.h. */
37658 _ACEOF
37659 cat confdefs.h >>conftest.$ac_ext
37660 cat >>conftest.$ac_ext <<_ACEOF
37661 /* end confdefs.h. */
37662 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37663 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37664 #define $ac_func innocuous_$ac_func
37666 /* System header to define __stub macros and hopefully few prototypes,
37667 which can conflict with char $ac_func (); below.
37668 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37669 <limits.h> exists even on freestanding compilers. */
37671 #ifdef __STDC__
37672 # include <limits.h>
37673 #else
37674 # include <assert.h>
37675 #endif
37677 #undef $ac_func
37679 /* Override any gcc2 internal prototype to avoid an error. */
37680 #ifdef __cplusplus
37681 extern "C"
37683 #endif
37684 /* We use char because int might match the return type of a gcc2
37685 builtin and then its argument prototype would still apply. */
37686 char $ac_func ();
37687 /* The GNU C library defines this for functions which it implements
37688 to always fail with ENOSYS. Some functions are actually named
37689 something starting with __ and the normal name is an alias. */
37690 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37691 choke me
37692 #else
37693 char (*f) () = $ac_func;
37694 #endif
37695 #ifdef __cplusplus
37697 #endif
37700 main ()
37702 return f != $ac_func;
37704 return 0;
37706 _ACEOF
37707 rm -f conftest.$ac_objext conftest$ac_exeext
37708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37709 (eval $ac_link) 2>conftest.er1
37710 ac_status=$?
37711 grep -v '^ *+' conftest.er1 >conftest.err
37712 rm -f conftest.er1
37713 cat conftest.err >&5
37714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37715 (exit $ac_status); } &&
37716 { ac_try='test -z "$ac_c_werror_flag"
37717 || test ! -s conftest.err'
37718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37719 (eval $ac_try) 2>&5
37720 ac_status=$?
37721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37722 (exit $ac_status); }; } &&
37723 { ac_try='test -s conftest$ac_exeext'
37724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37725 (eval $ac_try) 2>&5
37726 ac_status=$?
37727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37728 (exit $ac_status); }; }; then
37729 eval "$as_ac_var=yes"
37730 else
37731 echo "$as_me: failed program was:" >&5
37732 sed 's/^/| /' conftest.$ac_ext >&5
37734 eval "$as_ac_var=no"
37736 rm -f conftest.err conftest.$ac_objext \
37737 conftest$ac_exeext conftest.$ac_ext
37739 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37740 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37741 if test `eval echo '${'$as_ac_var'}'` = yes; then
37742 cat >>confdefs.h <<_ACEOF
37743 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37744 _ACEOF
37747 done
37757 echo "$as_me:$LINENO: checking for isinff declaration" >&5
37758 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
37759 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
37760 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
37761 echo $ECHO_N "(cached) $ECHO_C" >&6
37762 else
37766 ac_ext=cc
37767 ac_cpp='$CXXCPP $CPPFLAGS'
37768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37772 cat >conftest.$ac_ext <<_ACEOF
37773 /* confdefs.h. */
37774 _ACEOF
37775 cat confdefs.h >>conftest.$ac_ext
37776 cat >>conftest.$ac_ext <<_ACEOF
37777 /* end confdefs.h. */
37778 #include <math.h>
37779 #ifdef HAVE_IEEEFP_H
37780 #include <ieeefp.h>
37781 #endif
37784 main ()
37786 isinff(0);
37788 return 0;
37790 _ACEOF
37791 rm -f conftest.$ac_objext
37792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37793 (eval $ac_compile) 2>conftest.er1
37794 ac_status=$?
37795 grep -v '^ *+' conftest.er1 >conftest.err
37796 rm -f conftest.er1
37797 cat conftest.err >&5
37798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37799 (exit $ac_status); } &&
37800 { ac_try='test -z "$ac_cxx_werror_flag"
37801 || test ! -s conftest.err'
37802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37803 (eval $ac_try) 2>&5
37804 ac_status=$?
37805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37806 (exit $ac_status); }; } &&
37807 { ac_try='test -s conftest.$ac_objext'
37808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37809 (eval $ac_try) 2>&5
37810 ac_status=$?
37811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37812 (exit $ac_status); }; }; then
37813 glibcxx_cv_func_isinff_use=yes
37814 else
37815 echo "$as_me: failed program was:" >&5
37816 sed 's/^/| /' conftest.$ac_ext >&5
37818 glibcxx_cv_func_isinff_use=no
37820 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37821 ac_ext=c
37822 ac_cpp='$CPP $CPPFLAGS'
37823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37831 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
37832 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
37834 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
37836 for ac_func in isinff
37838 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37839 echo "$as_me:$LINENO: checking for $ac_func" >&5
37840 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37841 if eval "test \"\${$as_ac_var+set}\" = set"; then
37842 echo $ECHO_N "(cached) $ECHO_C" >&6
37843 else
37844 if test x$gcc_no_link = xyes; then
37845 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37846 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37847 { (exit 1); exit 1; }; }
37849 cat >conftest.$ac_ext <<_ACEOF
37850 /* confdefs.h. */
37851 _ACEOF
37852 cat confdefs.h >>conftest.$ac_ext
37853 cat >>conftest.$ac_ext <<_ACEOF
37854 /* end confdefs.h. */
37855 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37856 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37857 #define $ac_func innocuous_$ac_func
37859 /* System header to define __stub macros and hopefully few prototypes,
37860 which can conflict with char $ac_func (); below.
37861 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37862 <limits.h> exists even on freestanding compilers. */
37864 #ifdef __STDC__
37865 # include <limits.h>
37866 #else
37867 # include <assert.h>
37868 #endif
37870 #undef $ac_func
37872 /* Override any gcc2 internal prototype to avoid an error. */
37873 #ifdef __cplusplus
37874 extern "C"
37876 #endif
37877 /* We use char because int might match the return type of a gcc2
37878 builtin and then its argument prototype would still apply. */
37879 char $ac_func ();
37880 /* The GNU C library defines this for functions which it implements
37881 to always fail with ENOSYS. Some functions are actually named
37882 something starting with __ and the normal name is an alias. */
37883 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37884 choke me
37885 #else
37886 char (*f) () = $ac_func;
37887 #endif
37888 #ifdef __cplusplus
37890 #endif
37893 main ()
37895 return f != $ac_func;
37897 return 0;
37899 _ACEOF
37900 rm -f conftest.$ac_objext conftest$ac_exeext
37901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37902 (eval $ac_link) 2>conftest.er1
37903 ac_status=$?
37904 grep -v '^ *+' conftest.er1 >conftest.err
37905 rm -f conftest.er1
37906 cat conftest.err >&5
37907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37908 (exit $ac_status); } &&
37909 { ac_try='test -z "$ac_c_werror_flag"
37910 || test ! -s conftest.err'
37911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37912 (eval $ac_try) 2>&5
37913 ac_status=$?
37914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37915 (exit $ac_status); }; } &&
37916 { ac_try='test -s conftest$ac_exeext'
37917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37918 (eval $ac_try) 2>&5
37919 ac_status=$?
37920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37921 (exit $ac_status); }; }; then
37922 eval "$as_ac_var=yes"
37923 else
37924 echo "$as_me: failed program was:" >&5
37925 sed 's/^/| /' conftest.$ac_ext >&5
37927 eval "$as_ac_var=no"
37929 rm -f conftest.err conftest.$ac_objext \
37930 conftest$ac_exeext conftest.$ac_ext
37932 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37933 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37934 if test `eval echo '${'$as_ac_var'}'` = yes; then
37935 cat >>confdefs.h <<_ACEOF
37936 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37937 _ACEOF
37940 done
37942 else
37944 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
37945 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
37946 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
37947 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
37948 echo $ECHO_N "(cached) $ECHO_C" >&6
37949 else
37953 ac_ext=cc
37954 ac_cpp='$CXXCPP $CPPFLAGS'
37955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37959 cat >conftest.$ac_ext <<_ACEOF
37960 /* confdefs.h. */
37961 _ACEOF
37962 cat confdefs.h >>conftest.$ac_ext
37963 cat >>conftest.$ac_ext <<_ACEOF
37964 /* end confdefs.h. */
37965 #include <math.h>
37966 #ifdef HAVE_IEEEFP_H
37967 #include <ieeefp.h>
37968 #endif
37971 main ()
37973 _isinff(0);
37975 return 0;
37977 _ACEOF
37978 rm -f conftest.$ac_objext
37979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37980 (eval $ac_compile) 2>conftest.er1
37981 ac_status=$?
37982 grep -v '^ *+' conftest.er1 >conftest.err
37983 rm -f conftest.er1
37984 cat conftest.err >&5
37985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37986 (exit $ac_status); } &&
37987 { ac_try='test -z "$ac_cxx_werror_flag"
37988 || test ! -s conftest.err'
37989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37990 (eval $ac_try) 2>&5
37991 ac_status=$?
37992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37993 (exit $ac_status); }; } &&
37994 { ac_try='test -s conftest.$ac_objext'
37995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37996 (eval $ac_try) 2>&5
37997 ac_status=$?
37998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37999 (exit $ac_status); }; }; then
38000 glibcxx_cv_func__isinff_use=yes
38001 else
38002 echo "$as_me: failed program was:" >&5
38003 sed 's/^/| /' conftest.$ac_ext >&5
38005 glibcxx_cv_func__isinff_use=no
38007 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38008 ac_ext=c
38009 ac_cpp='$CPP $CPPFLAGS'
38010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38018 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
38019 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
38021 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
38023 for ac_func in _isinff
38025 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38026 echo "$as_me:$LINENO: checking for $ac_func" >&5
38027 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38028 if eval "test \"\${$as_ac_var+set}\" = set"; then
38029 echo $ECHO_N "(cached) $ECHO_C" >&6
38030 else
38031 if test x$gcc_no_link = xyes; then
38032 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38033 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38034 { (exit 1); exit 1; }; }
38036 cat >conftest.$ac_ext <<_ACEOF
38037 /* confdefs.h. */
38038 _ACEOF
38039 cat confdefs.h >>conftest.$ac_ext
38040 cat >>conftest.$ac_ext <<_ACEOF
38041 /* end confdefs.h. */
38042 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38043 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38044 #define $ac_func innocuous_$ac_func
38046 /* System header to define __stub macros and hopefully few prototypes,
38047 which can conflict with char $ac_func (); below.
38048 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38049 <limits.h> exists even on freestanding compilers. */
38051 #ifdef __STDC__
38052 # include <limits.h>
38053 #else
38054 # include <assert.h>
38055 #endif
38057 #undef $ac_func
38059 /* Override any gcc2 internal prototype to avoid an error. */
38060 #ifdef __cplusplus
38061 extern "C"
38063 #endif
38064 /* We use char because int might match the return type of a gcc2
38065 builtin and then its argument prototype would still apply. */
38066 char $ac_func ();
38067 /* The GNU C library defines this for functions which it implements
38068 to always fail with ENOSYS. Some functions are actually named
38069 something starting with __ and the normal name is an alias. */
38070 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38071 choke me
38072 #else
38073 char (*f) () = $ac_func;
38074 #endif
38075 #ifdef __cplusplus
38077 #endif
38080 main ()
38082 return f != $ac_func;
38084 return 0;
38086 _ACEOF
38087 rm -f conftest.$ac_objext conftest$ac_exeext
38088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38089 (eval $ac_link) 2>conftest.er1
38090 ac_status=$?
38091 grep -v '^ *+' conftest.er1 >conftest.err
38092 rm -f conftest.er1
38093 cat conftest.err >&5
38094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38095 (exit $ac_status); } &&
38096 { ac_try='test -z "$ac_c_werror_flag"
38097 || test ! -s conftest.err'
38098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38099 (eval $ac_try) 2>&5
38100 ac_status=$?
38101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38102 (exit $ac_status); }; } &&
38103 { ac_try='test -s conftest$ac_exeext'
38104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38105 (eval $ac_try) 2>&5
38106 ac_status=$?
38107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38108 (exit $ac_status); }; }; then
38109 eval "$as_ac_var=yes"
38110 else
38111 echo "$as_me: failed program was:" >&5
38112 sed 's/^/| /' conftest.$ac_ext >&5
38114 eval "$as_ac_var=no"
38116 rm -f conftest.err conftest.$ac_objext \
38117 conftest$ac_exeext conftest.$ac_ext
38119 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38120 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38121 if test `eval echo '${'$as_ac_var'}'` = yes; then
38122 cat >>confdefs.h <<_ACEOF
38123 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38124 _ACEOF
38127 done
38137 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
38138 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
38139 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
38140 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
38141 echo $ECHO_N "(cached) $ECHO_C" >&6
38142 else
38146 ac_ext=cc
38147 ac_cpp='$CXXCPP $CPPFLAGS'
38148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38152 cat >conftest.$ac_ext <<_ACEOF
38153 /* confdefs.h. */
38154 _ACEOF
38155 cat confdefs.h >>conftest.$ac_ext
38156 cat >>conftest.$ac_ext <<_ACEOF
38157 /* end confdefs.h. */
38158 #include <math.h>
38160 main ()
38162 atan2f(0, 0);
38164 return 0;
38166 _ACEOF
38167 rm -f conftest.$ac_objext
38168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38169 (eval $ac_compile) 2>conftest.er1
38170 ac_status=$?
38171 grep -v '^ *+' conftest.er1 >conftest.err
38172 rm -f conftest.er1
38173 cat conftest.err >&5
38174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38175 (exit $ac_status); } &&
38176 { ac_try='test -z "$ac_cxx_werror_flag"
38177 || test ! -s conftest.err'
38178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38179 (eval $ac_try) 2>&5
38180 ac_status=$?
38181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38182 (exit $ac_status); }; } &&
38183 { ac_try='test -s conftest.$ac_objext'
38184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38185 (eval $ac_try) 2>&5
38186 ac_status=$?
38187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38188 (exit $ac_status); }; }; then
38189 glibcxx_cv_func_atan2f_use=yes
38190 else
38191 echo "$as_me: failed program was:" >&5
38192 sed 's/^/| /' conftest.$ac_ext >&5
38194 glibcxx_cv_func_atan2f_use=no
38196 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38197 ac_ext=c
38198 ac_cpp='$CPP $CPPFLAGS'
38199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38207 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
38208 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
38210 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
38212 for ac_func in atan2f
38214 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38215 echo "$as_me:$LINENO: checking for $ac_func" >&5
38216 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38217 if eval "test \"\${$as_ac_var+set}\" = set"; then
38218 echo $ECHO_N "(cached) $ECHO_C" >&6
38219 else
38220 if test x$gcc_no_link = xyes; then
38221 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38222 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38223 { (exit 1); exit 1; }; }
38225 cat >conftest.$ac_ext <<_ACEOF
38226 /* confdefs.h. */
38227 _ACEOF
38228 cat confdefs.h >>conftest.$ac_ext
38229 cat >>conftest.$ac_ext <<_ACEOF
38230 /* end confdefs.h. */
38231 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38232 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38233 #define $ac_func innocuous_$ac_func
38235 /* System header to define __stub macros and hopefully few prototypes,
38236 which can conflict with char $ac_func (); below.
38237 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38238 <limits.h> exists even on freestanding compilers. */
38240 #ifdef __STDC__
38241 # include <limits.h>
38242 #else
38243 # include <assert.h>
38244 #endif
38246 #undef $ac_func
38248 /* Override any gcc2 internal prototype to avoid an error. */
38249 #ifdef __cplusplus
38250 extern "C"
38252 #endif
38253 /* We use char because int might match the return type of a gcc2
38254 builtin and then its argument prototype would still apply. */
38255 char $ac_func ();
38256 /* The GNU C library defines this for functions which it implements
38257 to always fail with ENOSYS. Some functions are actually named
38258 something starting with __ and the normal name is an alias. */
38259 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38260 choke me
38261 #else
38262 char (*f) () = $ac_func;
38263 #endif
38264 #ifdef __cplusplus
38266 #endif
38269 main ()
38271 return f != $ac_func;
38273 return 0;
38275 _ACEOF
38276 rm -f conftest.$ac_objext conftest$ac_exeext
38277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38278 (eval $ac_link) 2>conftest.er1
38279 ac_status=$?
38280 grep -v '^ *+' conftest.er1 >conftest.err
38281 rm -f conftest.er1
38282 cat conftest.err >&5
38283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38284 (exit $ac_status); } &&
38285 { ac_try='test -z "$ac_c_werror_flag"
38286 || test ! -s conftest.err'
38287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38288 (eval $ac_try) 2>&5
38289 ac_status=$?
38290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38291 (exit $ac_status); }; } &&
38292 { ac_try='test -s conftest$ac_exeext'
38293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38294 (eval $ac_try) 2>&5
38295 ac_status=$?
38296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38297 (exit $ac_status); }; }; then
38298 eval "$as_ac_var=yes"
38299 else
38300 echo "$as_me: failed program was:" >&5
38301 sed 's/^/| /' conftest.$ac_ext >&5
38303 eval "$as_ac_var=no"
38305 rm -f conftest.err conftest.$ac_objext \
38306 conftest$ac_exeext conftest.$ac_ext
38308 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38309 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38310 if test `eval echo '${'$as_ac_var'}'` = yes; then
38311 cat >>confdefs.h <<_ACEOF
38312 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38313 _ACEOF
38316 done
38318 else
38320 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
38321 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
38322 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
38323 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
38324 echo $ECHO_N "(cached) $ECHO_C" >&6
38325 else
38329 ac_ext=cc
38330 ac_cpp='$CXXCPP $CPPFLAGS'
38331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38335 cat >conftest.$ac_ext <<_ACEOF
38336 /* confdefs.h. */
38337 _ACEOF
38338 cat confdefs.h >>conftest.$ac_ext
38339 cat >>conftest.$ac_ext <<_ACEOF
38340 /* end confdefs.h. */
38341 #include <math.h>
38343 main ()
38345 _atan2f(0, 0);
38347 return 0;
38349 _ACEOF
38350 rm -f conftest.$ac_objext
38351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38352 (eval $ac_compile) 2>conftest.er1
38353 ac_status=$?
38354 grep -v '^ *+' conftest.er1 >conftest.err
38355 rm -f conftest.er1
38356 cat conftest.err >&5
38357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38358 (exit $ac_status); } &&
38359 { ac_try='test -z "$ac_cxx_werror_flag"
38360 || test ! -s conftest.err'
38361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38362 (eval $ac_try) 2>&5
38363 ac_status=$?
38364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38365 (exit $ac_status); }; } &&
38366 { ac_try='test -s conftest.$ac_objext'
38367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38368 (eval $ac_try) 2>&5
38369 ac_status=$?
38370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38371 (exit $ac_status); }; }; then
38372 glibcxx_cv_func__atan2f_use=yes
38373 else
38374 echo "$as_me: failed program was:" >&5
38375 sed 's/^/| /' conftest.$ac_ext >&5
38377 glibcxx_cv_func__atan2f_use=no
38379 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38380 ac_ext=c
38381 ac_cpp='$CPP $CPPFLAGS'
38382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38390 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
38391 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
38393 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
38395 for ac_func in _atan2f
38397 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38398 echo "$as_me:$LINENO: checking for $ac_func" >&5
38399 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38400 if eval "test \"\${$as_ac_var+set}\" = set"; then
38401 echo $ECHO_N "(cached) $ECHO_C" >&6
38402 else
38403 if test x$gcc_no_link = xyes; then
38404 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38405 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38406 { (exit 1); exit 1; }; }
38408 cat >conftest.$ac_ext <<_ACEOF
38409 /* confdefs.h. */
38410 _ACEOF
38411 cat confdefs.h >>conftest.$ac_ext
38412 cat >>conftest.$ac_ext <<_ACEOF
38413 /* end confdefs.h. */
38414 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38415 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38416 #define $ac_func innocuous_$ac_func
38418 /* System header to define __stub macros and hopefully few prototypes,
38419 which can conflict with char $ac_func (); below.
38420 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38421 <limits.h> exists even on freestanding compilers. */
38423 #ifdef __STDC__
38424 # include <limits.h>
38425 #else
38426 # include <assert.h>
38427 #endif
38429 #undef $ac_func
38431 /* Override any gcc2 internal prototype to avoid an error. */
38432 #ifdef __cplusplus
38433 extern "C"
38435 #endif
38436 /* We use char because int might match the return type of a gcc2
38437 builtin and then its argument prototype would still apply. */
38438 char $ac_func ();
38439 /* The GNU C library defines this for functions which it implements
38440 to always fail with ENOSYS. Some functions are actually named
38441 something starting with __ and the normal name is an alias. */
38442 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38443 choke me
38444 #else
38445 char (*f) () = $ac_func;
38446 #endif
38447 #ifdef __cplusplus
38449 #endif
38452 main ()
38454 return f != $ac_func;
38456 return 0;
38458 _ACEOF
38459 rm -f conftest.$ac_objext conftest$ac_exeext
38460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38461 (eval $ac_link) 2>conftest.er1
38462 ac_status=$?
38463 grep -v '^ *+' conftest.er1 >conftest.err
38464 rm -f conftest.er1
38465 cat conftest.err >&5
38466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38467 (exit $ac_status); } &&
38468 { ac_try='test -z "$ac_c_werror_flag"
38469 || test ! -s conftest.err'
38470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38471 (eval $ac_try) 2>&5
38472 ac_status=$?
38473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38474 (exit $ac_status); }; } &&
38475 { ac_try='test -s conftest$ac_exeext'
38476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38477 (eval $ac_try) 2>&5
38478 ac_status=$?
38479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38480 (exit $ac_status); }; }; then
38481 eval "$as_ac_var=yes"
38482 else
38483 echo "$as_me: failed program was:" >&5
38484 sed 's/^/| /' conftest.$ac_ext >&5
38486 eval "$as_ac_var=no"
38488 rm -f conftest.err conftest.$ac_objext \
38489 conftest$ac_exeext conftest.$ac_ext
38491 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38492 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38493 if test `eval echo '${'$as_ac_var'}'` = yes; then
38494 cat >>confdefs.h <<_ACEOF
38495 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38496 _ACEOF
38499 done
38509 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
38510 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
38511 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
38512 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
38513 echo $ECHO_N "(cached) $ECHO_C" >&6
38514 else
38518 ac_ext=cc
38519 ac_cpp='$CXXCPP $CPPFLAGS'
38520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38524 cat >conftest.$ac_ext <<_ACEOF
38525 /* confdefs.h. */
38526 _ACEOF
38527 cat confdefs.h >>conftest.$ac_ext
38528 cat >>conftest.$ac_ext <<_ACEOF
38529 /* end confdefs.h. */
38530 #include <math.h>
38531 #ifdef HAVE_IEEEFP_H
38532 #include <ieeefp.h>
38533 #endif
38536 main ()
38538 fabsf(0);
38540 return 0;
38542 _ACEOF
38543 rm -f conftest.$ac_objext
38544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38545 (eval $ac_compile) 2>conftest.er1
38546 ac_status=$?
38547 grep -v '^ *+' conftest.er1 >conftest.err
38548 rm -f conftest.er1
38549 cat conftest.err >&5
38550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38551 (exit $ac_status); } &&
38552 { ac_try='test -z "$ac_cxx_werror_flag"
38553 || test ! -s conftest.err'
38554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38555 (eval $ac_try) 2>&5
38556 ac_status=$?
38557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38558 (exit $ac_status); }; } &&
38559 { ac_try='test -s conftest.$ac_objext'
38560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38561 (eval $ac_try) 2>&5
38562 ac_status=$?
38563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38564 (exit $ac_status); }; }; then
38565 glibcxx_cv_func_fabsf_use=yes
38566 else
38567 echo "$as_me: failed program was:" >&5
38568 sed 's/^/| /' conftest.$ac_ext >&5
38570 glibcxx_cv_func_fabsf_use=no
38572 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38573 ac_ext=c
38574 ac_cpp='$CPP $CPPFLAGS'
38575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38583 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
38584 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
38586 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
38588 for ac_func in fabsf
38590 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38591 echo "$as_me:$LINENO: checking for $ac_func" >&5
38592 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38593 if eval "test \"\${$as_ac_var+set}\" = set"; then
38594 echo $ECHO_N "(cached) $ECHO_C" >&6
38595 else
38596 if test x$gcc_no_link = xyes; then
38597 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38598 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38599 { (exit 1); exit 1; }; }
38601 cat >conftest.$ac_ext <<_ACEOF
38602 /* confdefs.h. */
38603 _ACEOF
38604 cat confdefs.h >>conftest.$ac_ext
38605 cat >>conftest.$ac_ext <<_ACEOF
38606 /* end confdefs.h. */
38607 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38608 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38609 #define $ac_func innocuous_$ac_func
38611 /* System header to define __stub macros and hopefully few prototypes,
38612 which can conflict with char $ac_func (); below.
38613 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38614 <limits.h> exists even on freestanding compilers. */
38616 #ifdef __STDC__
38617 # include <limits.h>
38618 #else
38619 # include <assert.h>
38620 #endif
38622 #undef $ac_func
38624 /* Override any gcc2 internal prototype to avoid an error. */
38625 #ifdef __cplusplus
38626 extern "C"
38628 #endif
38629 /* We use char because int might match the return type of a gcc2
38630 builtin and then its argument prototype would still apply. */
38631 char $ac_func ();
38632 /* The GNU C library defines this for functions which it implements
38633 to always fail with ENOSYS. Some functions are actually named
38634 something starting with __ and the normal name is an alias. */
38635 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38636 choke me
38637 #else
38638 char (*f) () = $ac_func;
38639 #endif
38640 #ifdef __cplusplus
38642 #endif
38645 main ()
38647 return f != $ac_func;
38649 return 0;
38651 _ACEOF
38652 rm -f conftest.$ac_objext conftest$ac_exeext
38653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38654 (eval $ac_link) 2>conftest.er1
38655 ac_status=$?
38656 grep -v '^ *+' conftest.er1 >conftest.err
38657 rm -f conftest.er1
38658 cat conftest.err >&5
38659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38660 (exit $ac_status); } &&
38661 { ac_try='test -z "$ac_c_werror_flag"
38662 || test ! -s conftest.err'
38663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38664 (eval $ac_try) 2>&5
38665 ac_status=$?
38666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38667 (exit $ac_status); }; } &&
38668 { ac_try='test -s conftest$ac_exeext'
38669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38670 (eval $ac_try) 2>&5
38671 ac_status=$?
38672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38673 (exit $ac_status); }; }; then
38674 eval "$as_ac_var=yes"
38675 else
38676 echo "$as_me: failed program was:" >&5
38677 sed 's/^/| /' conftest.$ac_ext >&5
38679 eval "$as_ac_var=no"
38681 rm -f conftest.err conftest.$ac_objext \
38682 conftest$ac_exeext conftest.$ac_ext
38684 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38685 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38686 if test `eval echo '${'$as_ac_var'}'` = yes; then
38687 cat >>confdefs.h <<_ACEOF
38688 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38689 _ACEOF
38692 done
38694 else
38696 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
38697 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
38698 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
38699 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
38700 echo $ECHO_N "(cached) $ECHO_C" >&6
38701 else
38705 ac_ext=cc
38706 ac_cpp='$CXXCPP $CPPFLAGS'
38707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38711 cat >conftest.$ac_ext <<_ACEOF
38712 /* confdefs.h. */
38713 _ACEOF
38714 cat confdefs.h >>conftest.$ac_ext
38715 cat >>conftest.$ac_ext <<_ACEOF
38716 /* end confdefs.h. */
38717 #include <math.h>
38718 #ifdef HAVE_IEEEFP_H
38719 #include <ieeefp.h>
38720 #endif
38723 main ()
38725 _fabsf(0);
38727 return 0;
38729 _ACEOF
38730 rm -f conftest.$ac_objext
38731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38732 (eval $ac_compile) 2>conftest.er1
38733 ac_status=$?
38734 grep -v '^ *+' conftest.er1 >conftest.err
38735 rm -f conftest.er1
38736 cat conftest.err >&5
38737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38738 (exit $ac_status); } &&
38739 { ac_try='test -z "$ac_cxx_werror_flag"
38740 || test ! -s conftest.err'
38741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38742 (eval $ac_try) 2>&5
38743 ac_status=$?
38744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38745 (exit $ac_status); }; } &&
38746 { ac_try='test -s conftest.$ac_objext'
38747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38748 (eval $ac_try) 2>&5
38749 ac_status=$?
38750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38751 (exit $ac_status); }; }; then
38752 glibcxx_cv_func__fabsf_use=yes
38753 else
38754 echo "$as_me: failed program was:" >&5
38755 sed 's/^/| /' conftest.$ac_ext >&5
38757 glibcxx_cv_func__fabsf_use=no
38759 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38760 ac_ext=c
38761 ac_cpp='$CPP $CPPFLAGS'
38762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38770 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
38771 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
38773 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
38775 for ac_func in _fabsf
38777 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38778 echo "$as_me:$LINENO: checking for $ac_func" >&5
38779 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38780 if eval "test \"\${$as_ac_var+set}\" = set"; then
38781 echo $ECHO_N "(cached) $ECHO_C" >&6
38782 else
38783 if test x$gcc_no_link = xyes; then
38784 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38785 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38786 { (exit 1); exit 1; }; }
38788 cat >conftest.$ac_ext <<_ACEOF
38789 /* confdefs.h. */
38790 _ACEOF
38791 cat confdefs.h >>conftest.$ac_ext
38792 cat >>conftest.$ac_ext <<_ACEOF
38793 /* end confdefs.h. */
38794 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38795 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38796 #define $ac_func innocuous_$ac_func
38798 /* System header to define __stub macros and hopefully few prototypes,
38799 which can conflict with char $ac_func (); below.
38800 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38801 <limits.h> exists even on freestanding compilers. */
38803 #ifdef __STDC__
38804 # include <limits.h>
38805 #else
38806 # include <assert.h>
38807 #endif
38809 #undef $ac_func
38811 /* Override any gcc2 internal prototype to avoid an error. */
38812 #ifdef __cplusplus
38813 extern "C"
38815 #endif
38816 /* We use char because int might match the return type of a gcc2
38817 builtin and then its argument prototype would still apply. */
38818 char $ac_func ();
38819 /* The GNU C library defines this for functions which it implements
38820 to always fail with ENOSYS. Some functions are actually named
38821 something starting with __ and the normal name is an alias. */
38822 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38823 choke me
38824 #else
38825 char (*f) () = $ac_func;
38826 #endif
38827 #ifdef __cplusplus
38829 #endif
38832 main ()
38834 return f != $ac_func;
38836 return 0;
38838 _ACEOF
38839 rm -f conftest.$ac_objext conftest$ac_exeext
38840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38841 (eval $ac_link) 2>conftest.er1
38842 ac_status=$?
38843 grep -v '^ *+' conftest.er1 >conftest.err
38844 rm -f conftest.er1
38845 cat conftest.err >&5
38846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38847 (exit $ac_status); } &&
38848 { ac_try='test -z "$ac_c_werror_flag"
38849 || test ! -s conftest.err'
38850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38851 (eval $ac_try) 2>&5
38852 ac_status=$?
38853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38854 (exit $ac_status); }; } &&
38855 { ac_try='test -s conftest$ac_exeext'
38856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38857 (eval $ac_try) 2>&5
38858 ac_status=$?
38859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38860 (exit $ac_status); }; }; then
38861 eval "$as_ac_var=yes"
38862 else
38863 echo "$as_me: failed program was:" >&5
38864 sed 's/^/| /' conftest.$ac_ext >&5
38866 eval "$as_ac_var=no"
38868 rm -f conftest.err conftest.$ac_objext \
38869 conftest$ac_exeext conftest.$ac_ext
38871 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38872 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38873 if test `eval echo '${'$as_ac_var'}'` = yes; then
38874 cat >>confdefs.h <<_ACEOF
38875 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38876 _ACEOF
38879 done
38889 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
38890 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
38891 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
38892 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
38893 echo $ECHO_N "(cached) $ECHO_C" >&6
38894 else
38898 ac_ext=cc
38899 ac_cpp='$CXXCPP $CPPFLAGS'
38900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38904 cat >conftest.$ac_ext <<_ACEOF
38905 /* confdefs.h. */
38906 _ACEOF
38907 cat confdefs.h >>conftest.$ac_ext
38908 cat >>conftest.$ac_ext <<_ACEOF
38909 /* end confdefs.h. */
38910 #include <math.h>
38912 main ()
38914 fmodf(0, 0);
38916 return 0;
38918 _ACEOF
38919 rm -f conftest.$ac_objext
38920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38921 (eval $ac_compile) 2>conftest.er1
38922 ac_status=$?
38923 grep -v '^ *+' conftest.er1 >conftest.err
38924 rm -f conftest.er1
38925 cat conftest.err >&5
38926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38927 (exit $ac_status); } &&
38928 { ac_try='test -z "$ac_cxx_werror_flag"
38929 || test ! -s conftest.err'
38930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38931 (eval $ac_try) 2>&5
38932 ac_status=$?
38933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38934 (exit $ac_status); }; } &&
38935 { ac_try='test -s conftest.$ac_objext'
38936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38937 (eval $ac_try) 2>&5
38938 ac_status=$?
38939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38940 (exit $ac_status); }; }; then
38941 glibcxx_cv_func_fmodf_use=yes
38942 else
38943 echo "$as_me: failed program was:" >&5
38944 sed 's/^/| /' conftest.$ac_ext >&5
38946 glibcxx_cv_func_fmodf_use=no
38948 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38949 ac_ext=c
38950 ac_cpp='$CPP $CPPFLAGS'
38951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38959 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
38960 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
38962 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
38964 for ac_func in fmodf
38966 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38967 echo "$as_me:$LINENO: checking for $ac_func" >&5
38968 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38969 if eval "test \"\${$as_ac_var+set}\" = set"; then
38970 echo $ECHO_N "(cached) $ECHO_C" >&6
38971 else
38972 if test x$gcc_no_link = xyes; then
38973 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38974 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38975 { (exit 1); exit 1; }; }
38977 cat >conftest.$ac_ext <<_ACEOF
38978 /* confdefs.h. */
38979 _ACEOF
38980 cat confdefs.h >>conftest.$ac_ext
38981 cat >>conftest.$ac_ext <<_ACEOF
38982 /* end confdefs.h. */
38983 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38984 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38985 #define $ac_func innocuous_$ac_func
38987 /* System header to define __stub macros and hopefully few prototypes,
38988 which can conflict with char $ac_func (); below.
38989 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38990 <limits.h> exists even on freestanding compilers. */
38992 #ifdef __STDC__
38993 # include <limits.h>
38994 #else
38995 # include <assert.h>
38996 #endif
38998 #undef $ac_func
39000 /* Override any gcc2 internal prototype to avoid an error. */
39001 #ifdef __cplusplus
39002 extern "C"
39004 #endif
39005 /* We use char because int might match the return type of a gcc2
39006 builtin and then its argument prototype would still apply. */
39007 char $ac_func ();
39008 /* The GNU C library defines this for functions which it implements
39009 to always fail with ENOSYS. Some functions are actually named
39010 something starting with __ and the normal name is an alias. */
39011 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39012 choke me
39013 #else
39014 char (*f) () = $ac_func;
39015 #endif
39016 #ifdef __cplusplus
39018 #endif
39021 main ()
39023 return f != $ac_func;
39025 return 0;
39027 _ACEOF
39028 rm -f conftest.$ac_objext conftest$ac_exeext
39029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39030 (eval $ac_link) 2>conftest.er1
39031 ac_status=$?
39032 grep -v '^ *+' conftest.er1 >conftest.err
39033 rm -f conftest.er1
39034 cat conftest.err >&5
39035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39036 (exit $ac_status); } &&
39037 { ac_try='test -z "$ac_c_werror_flag"
39038 || test ! -s conftest.err'
39039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39040 (eval $ac_try) 2>&5
39041 ac_status=$?
39042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39043 (exit $ac_status); }; } &&
39044 { ac_try='test -s conftest$ac_exeext'
39045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39046 (eval $ac_try) 2>&5
39047 ac_status=$?
39048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39049 (exit $ac_status); }; }; then
39050 eval "$as_ac_var=yes"
39051 else
39052 echo "$as_me: failed program was:" >&5
39053 sed 's/^/| /' conftest.$ac_ext >&5
39055 eval "$as_ac_var=no"
39057 rm -f conftest.err conftest.$ac_objext \
39058 conftest$ac_exeext conftest.$ac_ext
39060 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39061 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39062 if test `eval echo '${'$as_ac_var'}'` = yes; then
39063 cat >>confdefs.h <<_ACEOF
39064 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39065 _ACEOF
39068 done
39070 else
39072 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
39073 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
39074 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
39075 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
39076 echo $ECHO_N "(cached) $ECHO_C" >&6
39077 else
39081 ac_ext=cc
39082 ac_cpp='$CXXCPP $CPPFLAGS'
39083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39087 cat >conftest.$ac_ext <<_ACEOF
39088 /* confdefs.h. */
39089 _ACEOF
39090 cat confdefs.h >>conftest.$ac_ext
39091 cat >>conftest.$ac_ext <<_ACEOF
39092 /* end confdefs.h. */
39093 #include <math.h>
39095 main ()
39097 _fmodf(0, 0);
39099 return 0;
39101 _ACEOF
39102 rm -f conftest.$ac_objext
39103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39104 (eval $ac_compile) 2>conftest.er1
39105 ac_status=$?
39106 grep -v '^ *+' conftest.er1 >conftest.err
39107 rm -f conftest.er1
39108 cat conftest.err >&5
39109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39110 (exit $ac_status); } &&
39111 { ac_try='test -z "$ac_cxx_werror_flag"
39112 || test ! -s conftest.err'
39113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39114 (eval $ac_try) 2>&5
39115 ac_status=$?
39116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39117 (exit $ac_status); }; } &&
39118 { ac_try='test -s conftest.$ac_objext'
39119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39120 (eval $ac_try) 2>&5
39121 ac_status=$?
39122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39123 (exit $ac_status); }; }; then
39124 glibcxx_cv_func__fmodf_use=yes
39125 else
39126 echo "$as_me: failed program was:" >&5
39127 sed 's/^/| /' conftest.$ac_ext >&5
39129 glibcxx_cv_func__fmodf_use=no
39131 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39132 ac_ext=c
39133 ac_cpp='$CPP $CPPFLAGS'
39134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39142 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
39143 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
39145 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
39147 for ac_func in _fmodf
39149 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39150 echo "$as_me:$LINENO: checking for $ac_func" >&5
39151 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39152 if eval "test \"\${$as_ac_var+set}\" = set"; then
39153 echo $ECHO_N "(cached) $ECHO_C" >&6
39154 else
39155 if test x$gcc_no_link = xyes; then
39156 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39157 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39158 { (exit 1); exit 1; }; }
39160 cat >conftest.$ac_ext <<_ACEOF
39161 /* confdefs.h. */
39162 _ACEOF
39163 cat confdefs.h >>conftest.$ac_ext
39164 cat >>conftest.$ac_ext <<_ACEOF
39165 /* end confdefs.h. */
39166 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39167 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39168 #define $ac_func innocuous_$ac_func
39170 /* System header to define __stub macros and hopefully few prototypes,
39171 which can conflict with char $ac_func (); below.
39172 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39173 <limits.h> exists even on freestanding compilers. */
39175 #ifdef __STDC__
39176 # include <limits.h>
39177 #else
39178 # include <assert.h>
39179 #endif
39181 #undef $ac_func
39183 /* Override any gcc2 internal prototype to avoid an error. */
39184 #ifdef __cplusplus
39185 extern "C"
39187 #endif
39188 /* We use char because int might match the return type of a gcc2
39189 builtin and then its argument prototype would still apply. */
39190 char $ac_func ();
39191 /* The GNU C library defines this for functions which it implements
39192 to always fail with ENOSYS. Some functions are actually named
39193 something starting with __ and the normal name is an alias. */
39194 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39195 choke me
39196 #else
39197 char (*f) () = $ac_func;
39198 #endif
39199 #ifdef __cplusplus
39201 #endif
39204 main ()
39206 return f != $ac_func;
39208 return 0;
39210 _ACEOF
39211 rm -f conftest.$ac_objext conftest$ac_exeext
39212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39213 (eval $ac_link) 2>conftest.er1
39214 ac_status=$?
39215 grep -v '^ *+' conftest.er1 >conftest.err
39216 rm -f conftest.er1
39217 cat conftest.err >&5
39218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39219 (exit $ac_status); } &&
39220 { ac_try='test -z "$ac_c_werror_flag"
39221 || test ! -s conftest.err'
39222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39223 (eval $ac_try) 2>&5
39224 ac_status=$?
39225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39226 (exit $ac_status); }; } &&
39227 { ac_try='test -s conftest$ac_exeext'
39228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39229 (eval $ac_try) 2>&5
39230 ac_status=$?
39231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39232 (exit $ac_status); }; }; then
39233 eval "$as_ac_var=yes"
39234 else
39235 echo "$as_me: failed program was:" >&5
39236 sed 's/^/| /' conftest.$ac_ext >&5
39238 eval "$as_ac_var=no"
39240 rm -f conftest.err conftest.$ac_objext \
39241 conftest$ac_exeext conftest.$ac_ext
39243 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39244 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39245 if test `eval echo '${'$as_ac_var'}'` = yes; then
39246 cat >>confdefs.h <<_ACEOF
39247 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39248 _ACEOF
39251 done
39261 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
39262 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
39263 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
39264 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
39265 echo $ECHO_N "(cached) $ECHO_C" >&6
39266 else
39270 ac_ext=cc
39271 ac_cpp='$CXXCPP $CPPFLAGS'
39272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39276 cat >conftest.$ac_ext <<_ACEOF
39277 /* confdefs.h. */
39278 _ACEOF
39279 cat confdefs.h >>conftest.$ac_ext
39280 cat >>conftest.$ac_ext <<_ACEOF
39281 /* end confdefs.h. */
39282 #include <math.h>
39284 main ()
39286 frexpf(0, 0);
39288 return 0;
39290 _ACEOF
39291 rm -f conftest.$ac_objext
39292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39293 (eval $ac_compile) 2>conftest.er1
39294 ac_status=$?
39295 grep -v '^ *+' conftest.er1 >conftest.err
39296 rm -f conftest.er1
39297 cat conftest.err >&5
39298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39299 (exit $ac_status); } &&
39300 { ac_try='test -z "$ac_cxx_werror_flag"
39301 || test ! -s conftest.err'
39302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39303 (eval $ac_try) 2>&5
39304 ac_status=$?
39305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39306 (exit $ac_status); }; } &&
39307 { ac_try='test -s conftest.$ac_objext'
39308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39309 (eval $ac_try) 2>&5
39310 ac_status=$?
39311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39312 (exit $ac_status); }; }; then
39313 glibcxx_cv_func_frexpf_use=yes
39314 else
39315 echo "$as_me: failed program was:" >&5
39316 sed 's/^/| /' conftest.$ac_ext >&5
39318 glibcxx_cv_func_frexpf_use=no
39320 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39321 ac_ext=c
39322 ac_cpp='$CPP $CPPFLAGS'
39323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39331 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
39332 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
39334 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
39336 for ac_func in frexpf
39338 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39339 echo "$as_me:$LINENO: checking for $ac_func" >&5
39340 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39341 if eval "test \"\${$as_ac_var+set}\" = set"; then
39342 echo $ECHO_N "(cached) $ECHO_C" >&6
39343 else
39344 if test x$gcc_no_link = xyes; then
39345 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39346 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39347 { (exit 1); exit 1; }; }
39349 cat >conftest.$ac_ext <<_ACEOF
39350 /* confdefs.h. */
39351 _ACEOF
39352 cat confdefs.h >>conftest.$ac_ext
39353 cat >>conftest.$ac_ext <<_ACEOF
39354 /* end confdefs.h. */
39355 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39356 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39357 #define $ac_func innocuous_$ac_func
39359 /* System header to define __stub macros and hopefully few prototypes,
39360 which can conflict with char $ac_func (); below.
39361 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39362 <limits.h> exists even on freestanding compilers. */
39364 #ifdef __STDC__
39365 # include <limits.h>
39366 #else
39367 # include <assert.h>
39368 #endif
39370 #undef $ac_func
39372 /* Override any gcc2 internal prototype to avoid an error. */
39373 #ifdef __cplusplus
39374 extern "C"
39376 #endif
39377 /* We use char because int might match the return type of a gcc2
39378 builtin and then its argument prototype would still apply. */
39379 char $ac_func ();
39380 /* The GNU C library defines this for functions which it implements
39381 to always fail with ENOSYS. Some functions are actually named
39382 something starting with __ and the normal name is an alias. */
39383 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39384 choke me
39385 #else
39386 char (*f) () = $ac_func;
39387 #endif
39388 #ifdef __cplusplus
39390 #endif
39393 main ()
39395 return f != $ac_func;
39397 return 0;
39399 _ACEOF
39400 rm -f conftest.$ac_objext conftest$ac_exeext
39401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39402 (eval $ac_link) 2>conftest.er1
39403 ac_status=$?
39404 grep -v '^ *+' conftest.er1 >conftest.err
39405 rm -f conftest.er1
39406 cat conftest.err >&5
39407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39408 (exit $ac_status); } &&
39409 { ac_try='test -z "$ac_c_werror_flag"
39410 || test ! -s conftest.err'
39411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39412 (eval $ac_try) 2>&5
39413 ac_status=$?
39414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39415 (exit $ac_status); }; } &&
39416 { ac_try='test -s conftest$ac_exeext'
39417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39418 (eval $ac_try) 2>&5
39419 ac_status=$?
39420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39421 (exit $ac_status); }; }; then
39422 eval "$as_ac_var=yes"
39423 else
39424 echo "$as_me: failed program was:" >&5
39425 sed 's/^/| /' conftest.$ac_ext >&5
39427 eval "$as_ac_var=no"
39429 rm -f conftest.err conftest.$ac_objext \
39430 conftest$ac_exeext conftest.$ac_ext
39432 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39433 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39434 if test `eval echo '${'$as_ac_var'}'` = yes; then
39435 cat >>confdefs.h <<_ACEOF
39436 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39437 _ACEOF
39440 done
39442 else
39444 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
39445 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
39446 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
39447 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
39448 echo $ECHO_N "(cached) $ECHO_C" >&6
39449 else
39453 ac_ext=cc
39454 ac_cpp='$CXXCPP $CPPFLAGS'
39455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39459 cat >conftest.$ac_ext <<_ACEOF
39460 /* confdefs.h. */
39461 _ACEOF
39462 cat confdefs.h >>conftest.$ac_ext
39463 cat >>conftest.$ac_ext <<_ACEOF
39464 /* end confdefs.h. */
39465 #include <math.h>
39467 main ()
39469 _frexpf(0, 0);
39471 return 0;
39473 _ACEOF
39474 rm -f conftest.$ac_objext
39475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39476 (eval $ac_compile) 2>conftest.er1
39477 ac_status=$?
39478 grep -v '^ *+' conftest.er1 >conftest.err
39479 rm -f conftest.er1
39480 cat conftest.err >&5
39481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39482 (exit $ac_status); } &&
39483 { ac_try='test -z "$ac_cxx_werror_flag"
39484 || test ! -s conftest.err'
39485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39486 (eval $ac_try) 2>&5
39487 ac_status=$?
39488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39489 (exit $ac_status); }; } &&
39490 { ac_try='test -s conftest.$ac_objext'
39491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39492 (eval $ac_try) 2>&5
39493 ac_status=$?
39494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39495 (exit $ac_status); }; }; then
39496 glibcxx_cv_func__frexpf_use=yes
39497 else
39498 echo "$as_me: failed program was:" >&5
39499 sed 's/^/| /' conftest.$ac_ext >&5
39501 glibcxx_cv_func__frexpf_use=no
39503 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39504 ac_ext=c
39505 ac_cpp='$CPP $CPPFLAGS'
39506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39514 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
39515 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
39517 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
39519 for ac_func in _frexpf
39521 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39522 echo "$as_me:$LINENO: checking for $ac_func" >&5
39523 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39524 if eval "test \"\${$as_ac_var+set}\" = set"; then
39525 echo $ECHO_N "(cached) $ECHO_C" >&6
39526 else
39527 if test x$gcc_no_link = xyes; then
39528 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39529 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39530 { (exit 1); exit 1; }; }
39532 cat >conftest.$ac_ext <<_ACEOF
39533 /* confdefs.h. */
39534 _ACEOF
39535 cat confdefs.h >>conftest.$ac_ext
39536 cat >>conftest.$ac_ext <<_ACEOF
39537 /* end confdefs.h. */
39538 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39539 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39540 #define $ac_func innocuous_$ac_func
39542 /* System header to define __stub macros and hopefully few prototypes,
39543 which can conflict with char $ac_func (); below.
39544 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39545 <limits.h> exists even on freestanding compilers. */
39547 #ifdef __STDC__
39548 # include <limits.h>
39549 #else
39550 # include <assert.h>
39551 #endif
39553 #undef $ac_func
39555 /* Override any gcc2 internal prototype to avoid an error. */
39556 #ifdef __cplusplus
39557 extern "C"
39559 #endif
39560 /* We use char because int might match the return type of a gcc2
39561 builtin and then its argument prototype would still apply. */
39562 char $ac_func ();
39563 /* The GNU C library defines this for functions which it implements
39564 to always fail with ENOSYS. Some functions are actually named
39565 something starting with __ and the normal name is an alias. */
39566 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39567 choke me
39568 #else
39569 char (*f) () = $ac_func;
39570 #endif
39571 #ifdef __cplusplus
39573 #endif
39576 main ()
39578 return f != $ac_func;
39580 return 0;
39582 _ACEOF
39583 rm -f conftest.$ac_objext conftest$ac_exeext
39584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39585 (eval $ac_link) 2>conftest.er1
39586 ac_status=$?
39587 grep -v '^ *+' conftest.er1 >conftest.err
39588 rm -f conftest.er1
39589 cat conftest.err >&5
39590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39591 (exit $ac_status); } &&
39592 { ac_try='test -z "$ac_c_werror_flag"
39593 || test ! -s conftest.err'
39594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39595 (eval $ac_try) 2>&5
39596 ac_status=$?
39597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39598 (exit $ac_status); }; } &&
39599 { ac_try='test -s conftest$ac_exeext'
39600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39601 (eval $ac_try) 2>&5
39602 ac_status=$?
39603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39604 (exit $ac_status); }; }; then
39605 eval "$as_ac_var=yes"
39606 else
39607 echo "$as_me: failed program was:" >&5
39608 sed 's/^/| /' conftest.$ac_ext >&5
39610 eval "$as_ac_var=no"
39612 rm -f conftest.err conftest.$ac_objext \
39613 conftest$ac_exeext conftest.$ac_ext
39615 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39616 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39617 if test `eval echo '${'$as_ac_var'}'` = yes; then
39618 cat >>confdefs.h <<_ACEOF
39619 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39620 _ACEOF
39623 done
39633 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
39634 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
39635 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
39636 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
39637 echo $ECHO_N "(cached) $ECHO_C" >&6
39638 else
39642 ac_ext=cc
39643 ac_cpp='$CXXCPP $CPPFLAGS'
39644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39648 cat >conftest.$ac_ext <<_ACEOF
39649 /* confdefs.h. */
39650 _ACEOF
39651 cat confdefs.h >>conftest.$ac_ext
39652 cat >>conftest.$ac_ext <<_ACEOF
39653 /* end confdefs.h. */
39654 #include <math.h>
39656 main ()
39658 hypotf(0, 0);
39660 return 0;
39662 _ACEOF
39663 rm -f conftest.$ac_objext
39664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39665 (eval $ac_compile) 2>conftest.er1
39666 ac_status=$?
39667 grep -v '^ *+' conftest.er1 >conftest.err
39668 rm -f conftest.er1
39669 cat conftest.err >&5
39670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39671 (exit $ac_status); } &&
39672 { ac_try='test -z "$ac_cxx_werror_flag"
39673 || test ! -s conftest.err'
39674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39675 (eval $ac_try) 2>&5
39676 ac_status=$?
39677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39678 (exit $ac_status); }; } &&
39679 { ac_try='test -s conftest.$ac_objext'
39680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39681 (eval $ac_try) 2>&5
39682 ac_status=$?
39683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39684 (exit $ac_status); }; }; then
39685 glibcxx_cv_func_hypotf_use=yes
39686 else
39687 echo "$as_me: failed program was:" >&5
39688 sed 's/^/| /' conftest.$ac_ext >&5
39690 glibcxx_cv_func_hypotf_use=no
39692 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39693 ac_ext=c
39694 ac_cpp='$CPP $CPPFLAGS'
39695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39703 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
39704 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
39706 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
39708 for ac_func in hypotf
39710 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39711 echo "$as_me:$LINENO: checking for $ac_func" >&5
39712 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39713 if eval "test \"\${$as_ac_var+set}\" = set"; then
39714 echo $ECHO_N "(cached) $ECHO_C" >&6
39715 else
39716 if test x$gcc_no_link = xyes; then
39717 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39718 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39719 { (exit 1); exit 1; }; }
39721 cat >conftest.$ac_ext <<_ACEOF
39722 /* confdefs.h. */
39723 _ACEOF
39724 cat confdefs.h >>conftest.$ac_ext
39725 cat >>conftest.$ac_ext <<_ACEOF
39726 /* end confdefs.h. */
39727 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39728 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39729 #define $ac_func innocuous_$ac_func
39731 /* System header to define __stub macros and hopefully few prototypes,
39732 which can conflict with char $ac_func (); below.
39733 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39734 <limits.h> exists even on freestanding compilers. */
39736 #ifdef __STDC__
39737 # include <limits.h>
39738 #else
39739 # include <assert.h>
39740 #endif
39742 #undef $ac_func
39744 /* Override any gcc2 internal prototype to avoid an error. */
39745 #ifdef __cplusplus
39746 extern "C"
39748 #endif
39749 /* We use char because int might match the return type of a gcc2
39750 builtin and then its argument prototype would still apply. */
39751 char $ac_func ();
39752 /* The GNU C library defines this for functions which it implements
39753 to always fail with ENOSYS. Some functions are actually named
39754 something starting with __ and the normal name is an alias. */
39755 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39756 choke me
39757 #else
39758 char (*f) () = $ac_func;
39759 #endif
39760 #ifdef __cplusplus
39762 #endif
39765 main ()
39767 return f != $ac_func;
39769 return 0;
39771 _ACEOF
39772 rm -f conftest.$ac_objext conftest$ac_exeext
39773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39774 (eval $ac_link) 2>conftest.er1
39775 ac_status=$?
39776 grep -v '^ *+' conftest.er1 >conftest.err
39777 rm -f conftest.er1
39778 cat conftest.err >&5
39779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39780 (exit $ac_status); } &&
39781 { ac_try='test -z "$ac_c_werror_flag"
39782 || test ! -s conftest.err'
39783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39784 (eval $ac_try) 2>&5
39785 ac_status=$?
39786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39787 (exit $ac_status); }; } &&
39788 { ac_try='test -s conftest$ac_exeext'
39789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39790 (eval $ac_try) 2>&5
39791 ac_status=$?
39792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39793 (exit $ac_status); }; }; then
39794 eval "$as_ac_var=yes"
39795 else
39796 echo "$as_me: failed program was:" >&5
39797 sed 's/^/| /' conftest.$ac_ext >&5
39799 eval "$as_ac_var=no"
39801 rm -f conftest.err conftest.$ac_objext \
39802 conftest$ac_exeext conftest.$ac_ext
39804 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39805 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39806 if test `eval echo '${'$as_ac_var'}'` = yes; then
39807 cat >>confdefs.h <<_ACEOF
39808 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39809 _ACEOF
39812 done
39814 else
39816 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
39817 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
39818 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
39819 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
39820 echo $ECHO_N "(cached) $ECHO_C" >&6
39821 else
39825 ac_ext=cc
39826 ac_cpp='$CXXCPP $CPPFLAGS'
39827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39831 cat >conftest.$ac_ext <<_ACEOF
39832 /* confdefs.h. */
39833 _ACEOF
39834 cat confdefs.h >>conftest.$ac_ext
39835 cat >>conftest.$ac_ext <<_ACEOF
39836 /* end confdefs.h. */
39837 #include <math.h>
39839 main ()
39841 _hypotf(0, 0);
39843 return 0;
39845 _ACEOF
39846 rm -f conftest.$ac_objext
39847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39848 (eval $ac_compile) 2>conftest.er1
39849 ac_status=$?
39850 grep -v '^ *+' conftest.er1 >conftest.err
39851 rm -f conftest.er1
39852 cat conftest.err >&5
39853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39854 (exit $ac_status); } &&
39855 { ac_try='test -z "$ac_cxx_werror_flag"
39856 || test ! -s conftest.err'
39857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39858 (eval $ac_try) 2>&5
39859 ac_status=$?
39860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39861 (exit $ac_status); }; } &&
39862 { ac_try='test -s conftest.$ac_objext'
39863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39864 (eval $ac_try) 2>&5
39865 ac_status=$?
39866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39867 (exit $ac_status); }; }; then
39868 glibcxx_cv_func__hypotf_use=yes
39869 else
39870 echo "$as_me: failed program was:" >&5
39871 sed 's/^/| /' conftest.$ac_ext >&5
39873 glibcxx_cv_func__hypotf_use=no
39875 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39876 ac_ext=c
39877 ac_cpp='$CPP $CPPFLAGS'
39878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39886 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
39887 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
39889 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
39891 for ac_func in _hypotf
39893 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39894 echo "$as_me:$LINENO: checking for $ac_func" >&5
39895 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39896 if eval "test \"\${$as_ac_var+set}\" = set"; then
39897 echo $ECHO_N "(cached) $ECHO_C" >&6
39898 else
39899 if test x$gcc_no_link = xyes; then
39900 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39901 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39902 { (exit 1); exit 1; }; }
39904 cat >conftest.$ac_ext <<_ACEOF
39905 /* confdefs.h. */
39906 _ACEOF
39907 cat confdefs.h >>conftest.$ac_ext
39908 cat >>conftest.$ac_ext <<_ACEOF
39909 /* end confdefs.h. */
39910 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39911 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39912 #define $ac_func innocuous_$ac_func
39914 /* System header to define __stub macros and hopefully few prototypes,
39915 which can conflict with char $ac_func (); below.
39916 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39917 <limits.h> exists even on freestanding compilers. */
39919 #ifdef __STDC__
39920 # include <limits.h>
39921 #else
39922 # include <assert.h>
39923 #endif
39925 #undef $ac_func
39927 /* Override any gcc2 internal prototype to avoid an error. */
39928 #ifdef __cplusplus
39929 extern "C"
39931 #endif
39932 /* We use char because int might match the return type of a gcc2
39933 builtin and then its argument prototype would still apply. */
39934 char $ac_func ();
39935 /* The GNU C library defines this for functions which it implements
39936 to always fail with ENOSYS. Some functions are actually named
39937 something starting with __ and the normal name is an alias. */
39938 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39939 choke me
39940 #else
39941 char (*f) () = $ac_func;
39942 #endif
39943 #ifdef __cplusplus
39945 #endif
39948 main ()
39950 return f != $ac_func;
39952 return 0;
39954 _ACEOF
39955 rm -f conftest.$ac_objext conftest$ac_exeext
39956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39957 (eval $ac_link) 2>conftest.er1
39958 ac_status=$?
39959 grep -v '^ *+' conftest.er1 >conftest.err
39960 rm -f conftest.er1
39961 cat conftest.err >&5
39962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39963 (exit $ac_status); } &&
39964 { ac_try='test -z "$ac_c_werror_flag"
39965 || test ! -s conftest.err'
39966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39967 (eval $ac_try) 2>&5
39968 ac_status=$?
39969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39970 (exit $ac_status); }; } &&
39971 { ac_try='test -s conftest$ac_exeext'
39972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39973 (eval $ac_try) 2>&5
39974 ac_status=$?
39975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39976 (exit $ac_status); }; }; then
39977 eval "$as_ac_var=yes"
39978 else
39979 echo "$as_me: failed program was:" >&5
39980 sed 's/^/| /' conftest.$ac_ext >&5
39982 eval "$as_ac_var=no"
39984 rm -f conftest.err conftest.$ac_objext \
39985 conftest$ac_exeext conftest.$ac_ext
39987 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39988 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39989 if test `eval echo '${'$as_ac_var'}'` = yes; then
39990 cat >>confdefs.h <<_ACEOF
39991 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39992 _ACEOF
39995 done
40005 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
40006 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
40007 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
40008 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
40009 echo $ECHO_N "(cached) $ECHO_C" >&6
40010 else
40014 ac_ext=cc
40015 ac_cpp='$CXXCPP $CPPFLAGS'
40016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40020 cat >conftest.$ac_ext <<_ACEOF
40021 /* confdefs.h. */
40022 _ACEOF
40023 cat confdefs.h >>conftest.$ac_ext
40024 cat >>conftest.$ac_ext <<_ACEOF
40025 /* end confdefs.h. */
40026 #include <math.h>
40028 main ()
40030 ldexpf(0, 0);
40032 return 0;
40034 _ACEOF
40035 rm -f conftest.$ac_objext
40036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40037 (eval $ac_compile) 2>conftest.er1
40038 ac_status=$?
40039 grep -v '^ *+' conftest.er1 >conftest.err
40040 rm -f conftest.er1
40041 cat conftest.err >&5
40042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40043 (exit $ac_status); } &&
40044 { ac_try='test -z "$ac_cxx_werror_flag"
40045 || test ! -s conftest.err'
40046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40047 (eval $ac_try) 2>&5
40048 ac_status=$?
40049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40050 (exit $ac_status); }; } &&
40051 { ac_try='test -s conftest.$ac_objext'
40052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40053 (eval $ac_try) 2>&5
40054 ac_status=$?
40055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056 (exit $ac_status); }; }; then
40057 glibcxx_cv_func_ldexpf_use=yes
40058 else
40059 echo "$as_me: failed program was:" >&5
40060 sed 's/^/| /' conftest.$ac_ext >&5
40062 glibcxx_cv_func_ldexpf_use=no
40064 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40065 ac_ext=c
40066 ac_cpp='$CPP $CPPFLAGS'
40067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40075 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
40076 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
40078 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
40080 for ac_func in ldexpf
40082 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40083 echo "$as_me:$LINENO: checking for $ac_func" >&5
40084 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40085 if eval "test \"\${$as_ac_var+set}\" = set"; then
40086 echo $ECHO_N "(cached) $ECHO_C" >&6
40087 else
40088 if test x$gcc_no_link = xyes; then
40089 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40090 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40091 { (exit 1); exit 1; }; }
40093 cat >conftest.$ac_ext <<_ACEOF
40094 /* confdefs.h. */
40095 _ACEOF
40096 cat confdefs.h >>conftest.$ac_ext
40097 cat >>conftest.$ac_ext <<_ACEOF
40098 /* end confdefs.h. */
40099 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40100 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40101 #define $ac_func innocuous_$ac_func
40103 /* System header to define __stub macros and hopefully few prototypes,
40104 which can conflict with char $ac_func (); below.
40105 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40106 <limits.h> exists even on freestanding compilers. */
40108 #ifdef __STDC__
40109 # include <limits.h>
40110 #else
40111 # include <assert.h>
40112 #endif
40114 #undef $ac_func
40116 /* Override any gcc2 internal prototype to avoid an error. */
40117 #ifdef __cplusplus
40118 extern "C"
40120 #endif
40121 /* We use char because int might match the return type of a gcc2
40122 builtin and then its argument prototype would still apply. */
40123 char $ac_func ();
40124 /* The GNU C library defines this for functions which it implements
40125 to always fail with ENOSYS. Some functions are actually named
40126 something starting with __ and the normal name is an alias. */
40127 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40128 choke me
40129 #else
40130 char (*f) () = $ac_func;
40131 #endif
40132 #ifdef __cplusplus
40134 #endif
40137 main ()
40139 return f != $ac_func;
40141 return 0;
40143 _ACEOF
40144 rm -f conftest.$ac_objext conftest$ac_exeext
40145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40146 (eval $ac_link) 2>conftest.er1
40147 ac_status=$?
40148 grep -v '^ *+' conftest.er1 >conftest.err
40149 rm -f conftest.er1
40150 cat conftest.err >&5
40151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40152 (exit $ac_status); } &&
40153 { ac_try='test -z "$ac_c_werror_flag"
40154 || test ! -s conftest.err'
40155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40156 (eval $ac_try) 2>&5
40157 ac_status=$?
40158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40159 (exit $ac_status); }; } &&
40160 { ac_try='test -s conftest$ac_exeext'
40161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40162 (eval $ac_try) 2>&5
40163 ac_status=$?
40164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40165 (exit $ac_status); }; }; then
40166 eval "$as_ac_var=yes"
40167 else
40168 echo "$as_me: failed program was:" >&5
40169 sed 's/^/| /' conftest.$ac_ext >&5
40171 eval "$as_ac_var=no"
40173 rm -f conftest.err conftest.$ac_objext \
40174 conftest$ac_exeext conftest.$ac_ext
40176 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40177 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40178 if test `eval echo '${'$as_ac_var'}'` = yes; then
40179 cat >>confdefs.h <<_ACEOF
40180 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40181 _ACEOF
40184 done
40186 else
40188 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
40189 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
40190 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
40191 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
40192 echo $ECHO_N "(cached) $ECHO_C" >&6
40193 else
40197 ac_ext=cc
40198 ac_cpp='$CXXCPP $CPPFLAGS'
40199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40203 cat >conftest.$ac_ext <<_ACEOF
40204 /* confdefs.h. */
40205 _ACEOF
40206 cat confdefs.h >>conftest.$ac_ext
40207 cat >>conftest.$ac_ext <<_ACEOF
40208 /* end confdefs.h. */
40209 #include <math.h>
40211 main ()
40213 _ldexpf(0, 0);
40215 return 0;
40217 _ACEOF
40218 rm -f conftest.$ac_objext
40219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40220 (eval $ac_compile) 2>conftest.er1
40221 ac_status=$?
40222 grep -v '^ *+' conftest.er1 >conftest.err
40223 rm -f conftest.er1
40224 cat conftest.err >&5
40225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40226 (exit $ac_status); } &&
40227 { ac_try='test -z "$ac_cxx_werror_flag"
40228 || test ! -s conftest.err'
40229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40230 (eval $ac_try) 2>&5
40231 ac_status=$?
40232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40233 (exit $ac_status); }; } &&
40234 { ac_try='test -s conftest.$ac_objext'
40235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40236 (eval $ac_try) 2>&5
40237 ac_status=$?
40238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40239 (exit $ac_status); }; }; then
40240 glibcxx_cv_func__ldexpf_use=yes
40241 else
40242 echo "$as_me: failed program was:" >&5
40243 sed 's/^/| /' conftest.$ac_ext >&5
40245 glibcxx_cv_func__ldexpf_use=no
40247 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40248 ac_ext=c
40249 ac_cpp='$CPP $CPPFLAGS'
40250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40258 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
40259 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
40261 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
40263 for ac_func in _ldexpf
40265 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40266 echo "$as_me:$LINENO: checking for $ac_func" >&5
40267 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40268 if eval "test \"\${$as_ac_var+set}\" = set"; then
40269 echo $ECHO_N "(cached) $ECHO_C" >&6
40270 else
40271 if test x$gcc_no_link = xyes; then
40272 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40273 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40274 { (exit 1); exit 1; }; }
40276 cat >conftest.$ac_ext <<_ACEOF
40277 /* confdefs.h. */
40278 _ACEOF
40279 cat confdefs.h >>conftest.$ac_ext
40280 cat >>conftest.$ac_ext <<_ACEOF
40281 /* end confdefs.h. */
40282 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40283 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40284 #define $ac_func innocuous_$ac_func
40286 /* System header to define __stub macros and hopefully few prototypes,
40287 which can conflict with char $ac_func (); below.
40288 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40289 <limits.h> exists even on freestanding compilers. */
40291 #ifdef __STDC__
40292 # include <limits.h>
40293 #else
40294 # include <assert.h>
40295 #endif
40297 #undef $ac_func
40299 /* Override any gcc2 internal prototype to avoid an error. */
40300 #ifdef __cplusplus
40301 extern "C"
40303 #endif
40304 /* We use char because int might match the return type of a gcc2
40305 builtin and then its argument prototype would still apply. */
40306 char $ac_func ();
40307 /* The GNU C library defines this for functions which it implements
40308 to always fail with ENOSYS. Some functions are actually named
40309 something starting with __ and the normal name is an alias. */
40310 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40311 choke me
40312 #else
40313 char (*f) () = $ac_func;
40314 #endif
40315 #ifdef __cplusplus
40317 #endif
40320 main ()
40322 return f != $ac_func;
40324 return 0;
40326 _ACEOF
40327 rm -f conftest.$ac_objext conftest$ac_exeext
40328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40329 (eval $ac_link) 2>conftest.er1
40330 ac_status=$?
40331 grep -v '^ *+' conftest.er1 >conftest.err
40332 rm -f conftest.er1
40333 cat conftest.err >&5
40334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40335 (exit $ac_status); } &&
40336 { ac_try='test -z "$ac_c_werror_flag"
40337 || test ! -s conftest.err'
40338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40339 (eval $ac_try) 2>&5
40340 ac_status=$?
40341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40342 (exit $ac_status); }; } &&
40343 { ac_try='test -s conftest$ac_exeext'
40344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40345 (eval $ac_try) 2>&5
40346 ac_status=$?
40347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40348 (exit $ac_status); }; }; then
40349 eval "$as_ac_var=yes"
40350 else
40351 echo "$as_me: failed program was:" >&5
40352 sed 's/^/| /' conftest.$ac_ext >&5
40354 eval "$as_ac_var=no"
40356 rm -f conftest.err conftest.$ac_objext \
40357 conftest$ac_exeext conftest.$ac_ext
40359 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40360 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40361 if test `eval echo '${'$as_ac_var'}'` = yes; then
40362 cat >>confdefs.h <<_ACEOF
40363 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40364 _ACEOF
40367 done
40377 echo "$as_me:$LINENO: checking for logf declaration" >&5
40378 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
40379 if test x${glibcxx_cv_func_logf_use+set} != xset; then
40380 if test "${glibcxx_cv_func_logf_use+set}" = set; then
40381 echo $ECHO_N "(cached) $ECHO_C" >&6
40382 else
40386 ac_ext=cc
40387 ac_cpp='$CXXCPP $CPPFLAGS'
40388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40392 cat >conftest.$ac_ext <<_ACEOF
40393 /* confdefs.h. */
40394 _ACEOF
40395 cat confdefs.h >>conftest.$ac_ext
40396 cat >>conftest.$ac_ext <<_ACEOF
40397 /* end confdefs.h. */
40398 #include <math.h>
40399 #ifdef HAVE_IEEEFP_H
40400 #include <ieeefp.h>
40401 #endif
40404 main ()
40406 logf(0);
40408 return 0;
40410 _ACEOF
40411 rm -f conftest.$ac_objext
40412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40413 (eval $ac_compile) 2>conftest.er1
40414 ac_status=$?
40415 grep -v '^ *+' conftest.er1 >conftest.err
40416 rm -f conftest.er1
40417 cat conftest.err >&5
40418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40419 (exit $ac_status); } &&
40420 { ac_try='test -z "$ac_cxx_werror_flag"
40421 || test ! -s conftest.err'
40422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40423 (eval $ac_try) 2>&5
40424 ac_status=$?
40425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40426 (exit $ac_status); }; } &&
40427 { ac_try='test -s conftest.$ac_objext'
40428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40429 (eval $ac_try) 2>&5
40430 ac_status=$?
40431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40432 (exit $ac_status); }; }; then
40433 glibcxx_cv_func_logf_use=yes
40434 else
40435 echo "$as_me: failed program was:" >&5
40436 sed 's/^/| /' conftest.$ac_ext >&5
40438 glibcxx_cv_func_logf_use=no
40440 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40441 ac_ext=c
40442 ac_cpp='$CPP $CPPFLAGS'
40443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40451 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
40452 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
40454 if test x$glibcxx_cv_func_logf_use = x"yes"; then
40456 for ac_func in logf
40458 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40459 echo "$as_me:$LINENO: checking for $ac_func" >&5
40460 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40461 if eval "test \"\${$as_ac_var+set}\" = set"; then
40462 echo $ECHO_N "(cached) $ECHO_C" >&6
40463 else
40464 if test x$gcc_no_link = xyes; then
40465 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40466 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40467 { (exit 1); exit 1; }; }
40469 cat >conftest.$ac_ext <<_ACEOF
40470 /* confdefs.h. */
40471 _ACEOF
40472 cat confdefs.h >>conftest.$ac_ext
40473 cat >>conftest.$ac_ext <<_ACEOF
40474 /* end confdefs.h. */
40475 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40476 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40477 #define $ac_func innocuous_$ac_func
40479 /* System header to define __stub macros and hopefully few prototypes,
40480 which can conflict with char $ac_func (); below.
40481 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40482 <limits.h> exists even on freestanding compilers. */
40484 #ifdef __STDC__
40485 # include <limits.h>
40486 #else
40487 # include <assert.h>
40488 #endif
40490 #undef $ac_func
40492 /* Override any gcc2 internal prototype to avoid an error. */
40493 #ifdef __cplusplus
40494 extern "C"
40496 #endif
40497 /* We use char because int might match the return type of a gcc2
40498 builtin and then its argument prototype would still apply. */
40499 char $ac_func ();
40500 /* The GNU C library defines this for functions which it implements
40501 to always fail with ENOSYS. Some functions are actually named
40502 something starting with __ and the normal name is an alias. */
40503 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40504 choke me
40505 #else
40506 char (*f) () = $ac_func;
40507 #endif
40508 #ifdef __cplusplus
40510 #endif
40513 main ()
40515 return f != $ac_func;
40517 return 0;
40519 _ACEOF
40520 rm -f conftest.$ac_objext conftest$ac_exeext
40521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40522 (eval $ac_link) 2>conftest.er1
40523 ac_status=$?
40524 grep -v '^ *+' conftest.er1 >conftest.err
40525 rm -f conftest.er1
40526 cat conftest.err >&5
40527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40528 (exit $ac_status); } &&
40529 { ac_try='test -z "$ac_c_werror_flag"
40530 || test ! -s conftest.err'
40531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40532 (eval $ac_try) 2>&5
40533 ac_status=$?
40534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40535 (exit $ac_status); }; } &&
40536 { ac_try='test -s conftest$ac_exeext'
40537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40538 (eval $ac_try) 2>&5
40539 ac_status=$?
40540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40541 (exit $ac_status); }; }; then
40542 eval "$as_ac_var=yes"
40543 else
40544 echo "$as_me: failed program was:" >&5
40545 sed 's/^/| /' conftest.$ac_ext >&5
40547 eval "$as_ac_var=no"
40549 rm -f conftest.err conftest.$ac_objext \
40550 conftest$ac_exeext conftest.$ac_ext
40552 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40553 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40554 if test `eval echo '${'$as_ac_var'}'` = yes; then
40555 cat >>confdefs.h <<_ACEOF
40556 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40557 _ACEOF
40560 done
40562 else
40564 echo "$as_me:$LINENO: checking for _logf declaration" >&5
40565 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
40566 if test x${glibcxx_cv_func__logf_use+set} != xset; then
40567 if test "${glibcxx_cv_func__logf_use+set}" = set; then
40568 echo $ECHO_N "(cached) $ECHO_C" >&6
40569 else
40573 ac_ext=cc
40574 ac_cpp='$CXXCPP $CPPFLAGS'
40575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40579 cat >conftest.$ac_ext <<_ACEOF
40580 /* confdefs.h. */
40581 _ACEOF
40582 cat confdefs.h >>conftest.$ac_ext
40583 cat >>conftest.$ac_ext <<_ACEOF
40584 /* end confdefs.h. */
40585 #include <math.h>
40586 #ifdef HAVE_IEEEFP_H
40587 #include <ieeefp.h>
40588 #endif
40591 main ()
40593 _logf(0);
40595 return 0;
40597 _ACEOF
40598 rm -f conftest.$ac_objext
40599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40600 (eval $ac_compile) 2>conftest.er1
40601 ac_status=$?
40602 grep -v '^ *+' conftest.er1 >conftest.err
40603 rm -f conftest.er1
40604 cat conftest.err >&5
40605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40606 (exit $ac_status); } &&
40607 { ac_try='test -z "$ac_cxx_werror_flag"
40608 || test ! -s conftest.err'
40609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40610 (eval $ac_try) 2>&5
40611 ac_status=$?
40612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40613 (exit $ac_status); }; } &&
40614 { ac_try='test -s conftest.$ac_objext'
40615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40616 (eval $ac_try) 2>&5
40617 ac_status=$?
40618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40619 (exit $ac_status); }; }; then
40620 glibcxx_cv_func__logf_use=yes
40621 else
40622 echo "$as_me: failed program was:" >&5
40623 sed 's/^/| /' conftest.$ac_ext >&5
40625 glibcxx_cv_func__logf_use=no
40627 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40628 ac_ext=c
40629 ac_cpp='$CPP $CPPFLAGS'
40630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40638 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
40639 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
40641 if test x$glibcxx_cv_func__logf_use = x"yes"; then
40643 for ac_func in _logf
40645 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40646 echo "$as_me:$LINENO: checking for $ac_func" >&5
40647 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40648 if eval "test \"\${$as_ac_var+set}\" = set"; then
40649 echo $ECHO_N "(cached) $ECHO_C" >&6
40650 else
40651 if test x$gcc_no_link = xyes; then
40652 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40653 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40654 { (exit 1); exit 1; }; }
40656 cat >conftest.$ac_ext <<_ACEOF
40657 /* confdefs.h. */
40658 _ACEOF
40659 cat confdefs.h >>conftest.$ac_ext
40660 cat >>conftest.$ac_ext <<_ACEOF
40661 /* end confdefs.h. */
40662 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40663 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40664 #define $ac_func innocuous_$ac_func
40666 /* System header to define __stub macros and hopefully few prototypes,
40667 which can conflict with char $ac_func (); below.
40668 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40669 <limits.h> exists even on freestanding compilers. */
40671 #ifdef __STDC__
40672 # include <limits.h>
40673 #else
40674 # include <assert.h>
40675 #endif
40677 #undef $ac_func
40679 /* Override any gcc2 internal prototype to avoid an error. */
40680 #ifdef __cplusplus
40681 extern "C"
40683 #endif
40684 /* We use char because int might match the return type of a gcc2
40685 builtin and then its argument prototype would still apply. */
40686 char $ac_func ();
40687 /* The GNU C library defines this for functions which it implements
40688 to always fail with ENOSYS. Some functions are actually named
40689 something starting with __ and the normal name is an alias. */
40690 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40691 choke me
40692 #else
40693 char (*f) () = $ac_func;
40694 #endif
40695 #ifdef __cplusplus
40697 #endif
40700 main ()
40702 return f != $ac_func;
40704 return 0;
40706 _ACEOF
40707 rm -f conftest.$ac_objext conftest$ac_exeext
40708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40709 (eval $ac_link) 2>conftest.er1
40710 ac_status=$?
40711 grep -v '^ *+' conftest.er1 >conftest.err
40712 rm -f conftest.er1
40713 cat conftest.err >&5
40714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40715 (exit $ac_status); } &&
40716 { ac_try='test -z "$ac_c_werror_flag"
40717 || test ! -s conftest.err'
40718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40719 (eval $ac_try) 2>&5
40720 ac_status=$?
40721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40722 (exit $ac_status); }; } &&
40723 { ac_try='test -s conftest$ac_exeext'
40724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40725 (eval $ac_try) 2>&5
40726 ac_status=$?
40727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40728 (exit $ac_status); }; }; then
40729 eval "$as_ac_var=yes"
40730 else
40731 echo "$as_me: failed program was:" >&5
40732 sed 's/^/| /' conftest.$ac_ext >&5
40734 eval "$as_ac_var=no"
40736 rm -f conftest.err conftest.$ac_objext \
40737 conftest$ac_exeext conftest.$ac_ext
40739 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40740 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40741 if test `eval echo '${'$as_ac_var'}'` = yes; then
40742 cat >>confdefs.h <<_ACEOF
40743 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40744 _ACEOF
40747 done
40757 echo "$as_me:$LINENO: checking for log10f declaration" >&5
40758 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
40759 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
40760 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
40761 echo $ECHO_N "(cached) $ECHO_C" >&6
40762 else
40766 ac_ext=cc
40767 ac_cpp='$CXXCPP $CPPFLAGS'
40768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40772 cat >conftest.$ac_ext <<_ACEOF
40773 /* confdefs.h. */
40774 _ACEOF
40775 cat confdefs.h >>conftest.$ac_ext
40776 cat >>conftest.$ac_ext <<_ACEOF
40777 /* end confdefs.h. */
40778 #include <math.h>
40779 #ifdef HAVE_IEEEFP_H
40780 #include <ieeefp.h>
40781 #endif
40784 main ()
40786 log10f(0);
40788 return 0;
40790 _ACEOF
40791 rm -f conftest.$ac_objext
40792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40793 (eval $ac_compile) 2>conftest.er1
40794 ac_status=$?
40795 grep -v '^ *+' conftest.er1 >conftest.err
40796 rm -f conftest.er1
40797 cat conftest.err >&5
40798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40799 (exit $ac_status); } &&
40800 { ac_try='test -z "$ac_cxx_werror_flag"
40801 || test ! -s conftest.err'
40802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40803 (eval $ac_try) 2>&5
40804 ac_status=$?
40805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40806 (exit $ac_status); }; } &&
40807 { ac_try='test -s conftest.$ac_objext'
40808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40809 (eval $ac_try) 2>&5
40810 ac_status=$?
40811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40812 (exit $ac_status); }; }; then
40813 glibcxx_cv_func_log10f_use=yes
40814 else
40815 echo "$as_me: failed program was:" >&5
40816 sed 's/^/| /' conftest.$ac_ext >&5
40818 glibcxx_cv_func_log10f_use=no
40820 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40821 ac_ext=c
40822 ac_cpp='$CPP $CPPFLAGS'
40823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40831 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
40832 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
40834 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
40836 for ac_func in log10f
40838 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40839 echo "$as_me:$LINENO: checking for $ac_func" >&5
40840 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40841 if eval "test \"\${$as_ac_var+set}\" = set"; then
40842 echo $ECHO_N "(cached) $ECHO_C" >&6
40843 else
40844 if test x$gcc_no_link = xyes; then
40845 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40846 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40847 { (exit 1); exit 1; }; }
40849 cat >conftest.$ac_ext <<_ACEOF
40850 /* confdefs.h. */
40851 _ACEOF
40852 cat confdefs.h >>conftest.$ac_ext
40853 cat >>conftest.$ac_ext <<_ACEOF
40854 /* end confdefs.h. */
40855 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40856 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40857 #define $ac_func innocuous_$ac_func
40859 /* System header to define __stub macros and hopefully few prototypes,
40860 which can conflict with char $ac_func (); below.
40861 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40862 <limits.h> exists even on freestanding compilers. */
40864 #ifdef __STDC__
40865 # include <limits.h>
40866 #else
40867 # include <assert.h>
40868 #endif
40870 #undef $ac_func
40872 /* Override any gcc2 internal prototype to avoid an error. */
40873 #ifdef __cplusplus
40874 extern "C"
40876 #endif
40877 /* We use char because int might match the return type of a gcc2
40878 builtin and then its argument prototype would still apply. */
40879 char $ac_func ();
40880 /* The GNU C library defines this for functions which it implements
40881 to always fail with ENOSYS. Some functions are actually named
40882 something starting with __ and the normal name is an alias. */
40883 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40884 choke me
40885 #else
40886 char (*f) () = $ac_func;
40887 #endif
40888 #ifdef __cplusplus
40890 #endif
40893 main ()
40895 return f != $ac_func;
40897 return 0;
40899 _ACEOF
40900 rm -f conftest.$ac_objext conftest$ac_exeext
40901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40902 (eval $ac_link) 2>conftest.er1
40903 ac_status=$?
40904 grep -v '^ *+' conftest.er1 >conftest.err
40905 rm -f conftest.er1
40906 cat conftest.err >&5
40907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40908 (exit $ac_status); } &&
40909 { ac_try='test -z "$ac_c_werror_flag"
40910 || test ! -s conftest.err'
40911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40912 (eval $ac_try) 2>&5
40913 ac_status=$?
40914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40915 (exit $ac_status); }; } &&
40916 { ac_try='test -s conftest$ac_exeext'
40917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40918 (eval $ac_try) 2>&5
40919 ac_status=$?
40920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40921 (exit $ac_status); }; }; then
40922 eval "$as_ac_var=yes"
40923 else
40924 echo "$as_me: failed program was:" >&5
40925 sed 's/^/| /' conftest.$ac_ext >&5
40927 eval "$as_ac_var=no"
40929 rm -f conftest.err conftest.$ac_objext \
40930 conftest$ac_exeext conftest.$ac_ext
40932 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40933 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40934 if test `eval echo '${'$as_ac_var'}'` = yes; then
40935 cat >>confdefs.h <<_ACEOF
40936 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40937 _ACEOF
40940 done
40942 else
40944 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
40945 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
40946 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
40947 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
40948 echo $ECHO_N "(cached) $ECHO_C" >&6
40949 else
40953 ac_ext=cc
40954 ac_cpp='$CXXCPP $CPPFLAGS'
40955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40959 cat >conftest.$ac_ext <<_ACEOF
40960 /* confdefs.h. */
40961 _ACEOF
40962 cat confdefs.h >>conftest.$ac_ext
40963 cat >>conftest.$ac_ext <<_ACEOF
40964 /* end confdefs.h. */
40965 #include <math.h>
40966 #ifdef HAVE_IEEEFP_H
40967 #include <ieeefp.h>
40968 #endif
40971 main ()
40973 _log10f(0);
40975 return 0;
40977 _ACEOF
40978 rm -f conftest.$ac_objext
40979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40980 (eval $ac_compile) 2>conftest.er1
40981 ac_status=$?
40982 grep -v '^ *+' conftest.er1 >conftest.err
40983 rm -f conftest.er1
40984 cat conftest.err >&5
40985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40986 (exit $ac_status); } &&
40987 { ac_try='test -z "$ac_cxx_werror_flag"
40988 || test ! -s conftest.err'
40989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40990 (eval $ac_try) 2>&5
40991 ac_status=$?
40992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40993 (exit $ac_status); }; } &&
40994 { ac_try='test -s conftest.$ac_objext'
40995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40996 (eval $ac_try) 2>&5
40997 ac_status=$?
40998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40999 (exit $ac_status); }; }; then
41000 glibcxx_cv_func__log10f_use=yes
41001 else
41002 echo "$as_me: failed program was:" >&5
41003 sed 's/^/| /' conftest.$ac_ext >&5
41005 glibcxx_cv_func__log10f_use=no
41007 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41008 ac_ext=c
41009 ac_cpp='$CPP $CPPFLAGS'
41010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41018 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
41019 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
41021 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
41023 for ac_func in _log10f
41025 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41026 echo "$as_me:$LINENO: checking for $ac_func" >&5
41027 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41028 if eval "test \"\${$as_ac_var+set}\" = set"; then
41029 echo $ECHO_N "(cached) $ECHO_C" >&6
41030 else
41031 if test x$gcc_no_link = xyes; then
41032 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41033 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41034 { (exit 1); exit 1; }; }
41036 cat >conftest.$ac_ext <<_ACEOF
41037 /* confdefs.h. */
41038 _ACEOF
41039 cat confdefs.h >>conftest.$ac_ext
41040 cat >>conftest.$ac_ext <<_ACEOF
41041 /* end confdefs.h. */
41042 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41043 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41044 #define $ac_func innocuous_$ac_func
41046 /* System header to define __stub macros and hopefully few prototypes,
41047 which can conflict with char $ac_func (); below.
41048 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41049 <limits.h> exists even on freestanding compilers. */
41051 #ifdef __STDC__
41052 # include <limits.h>
41053 #else
41054 # include <assert.h>
41055 #endif
41057 #undef $ac_func
41059 /* Override any gcc2 internal prototype to avoid an error. */
41060 #ifdef __cplusplus
41061 extern "C"
41063 #endif
41064 /* We use char because int might match the return type of a gcc2
41065 builtin and then its argument prototype would still apply. */
41066 char $ac_func ();
41067 /* The GNU C library defines this for functions which it implements
41068 to always fail with ENOSYS. Some functions are actually named
41069 something starting with __ and the normal name is an alias. */
41070 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41071 choke me
41072 #else
41073 char (*f) () = $ac_func;
41074 #endif
41075 #ifdef __cplusplus
41077 #endif
41080 main ()
41082 return f != $ac_func;
41084 return 0;
41086 _ACEOF
41087 rm -f conftest.$ac_objext conftest$ac_exeext
41088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41089 (eval $ac_link) 2>conftest.er1
41090 ac_status=$?
41091 grep -v '^ *+' conftest.er1 >conftest.err
41092 rm -f conftest.er1
41093 cat conftest.err >&5
41094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41095 (exit $ac_status); } &&
41096 { ac_try='test -z "$ac_c_werror_flag"
41097 || test ! -s conftest.err'
41098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41099 (eval $ac_try) 2>&5
41100 ac_status=$?
41101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41102 (exit $ac_status); }; } &&
41103 { ac_try='test -s conftest$ac_exeext'
41104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41105 (eval $ac_try) 2>&5
41106 ac_status=$?
41107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41108 (exit $ac_status); }; }; then
41109 eval "$as_ac_var=yes"
41110 else
41111 echo "$as_me: failed program was:" >&5
41112 sed 's/^/| /' conftest.$ac_ext >&5
41114 eval "$as_ac_var=no"
41116 rm -f conftest.err conftest.$ac_objext \
41117 conftest$ac_exeext conftest.$ac_ext
41119 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41120 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41121 if test `eval echo '${'$as_ac_var'}'` = yes; then
41122 cat >>confdefs.h <<_ACEOF
41123 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41124 _ACEOF
41127 done
41137 echo "$as_me:$LINENO: checking for modff declaration" >&5
41138 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
41139 if test x${glibcxx_cv_func_modff_use+set} != xset; then
41140 if test "${glibcxx_cv_func_modff_use+set}" = set; then
41141 echo $ECHO_N "(cached) $ECHO_C" >&6
41142 else
41146 ac_ext=cc
41147 ac_cpp='$CXXCPP $CPPFLAGS'
41148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41152 cat >conftest.$ac_ext <<_ACEOF
41153 /* confdefs.h. */
41154 _ACEOF
41155 cat confdefs.h >>conftest.$ac_ext
41156 cat >>conftest.$ac_ext <<_ACEOF
41157 /* end confdefs.h. */
41158 #include <math.h>
41160 main ()
41162 modff(0, 0);
41164 return 0;
41166 _ACEOF
41167 rm -f conftest.$ac_objext
41168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41169 (eval $ac_compile) 2>conftest.er1
41170 ac_status=$?
41171 grep -v '^ *+' conftest.er1 >conftest.err
41172 rm -f conftest.er1
41173 cat conftest.err >&5
41174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41175 (exit $ac_status); } &&
41176 { ac_try='test -z "$ac_cxx_werror_flag"
41177 || test ! -s conftest.err'
41178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41179 (eval $ac_try) 2>&5
41180 ac_status=$?
41181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41182 (exit $ac_status); }; } &&
41183 { ac_try='test -s conftest.$ac_objext'
41184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41185 (eval $ac_try) 2>&5
41186 ac_status=$?
41187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41188 (exit $ac_status); }; }; then
41189 glibcxx_cv_func_modff_use=yes
41190 else
41191 echo "$as_me: failed program was:" >&5
41192 sed 's/^/| /' conftest.$ac_ext >&5
41194 glibcxx_cv_func_modff_use=no
41196 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41197 ac_ext=c
41198 ac_cpp='$CPP $CPPFLAGS'
41199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41207 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
41208 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
41210 if test x$glibcxx_cv_func_modff_use = x"yes"; then
41212 for ac_func in modff
41214 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41215 echo "$as_me:$LINENO: checking for $ac_func" >&5
41216 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41217 if eval "test \"\${$as_ac_var+set}\" = set"; then
41218 echo $ECHO_N "(cached) $ECHO_C" >&6
41219 else
41220 if test x$gcc_no_link = xyes; then
41221 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41222 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41223 { (exit 1); exit 1; }; }
41225 cat >conftest.$ac_ext <<_ACEOF
41226 /* confdefs.h. */
41227 _ACEOF
41228 cat confdefs.h >>conftest.$ac_ext
41229 cat >>conftest.$ac_ext <<_ACEOF
41230 /* end confdefs.h. */
41231 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41232 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41233 #define $ac_func innocuous_$ac_func
41235 /* System header to define __stub macros and hopefully few prototypes,
41236 which can conflict with char $ac_func (); below.
41237 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41238 <limits.h> exists even on freestanding compilers. */
41240 #ifdef __STDC__
41241 # include <limits.h>
41242 #else
41243 # include <assert.h>
41244 #endif
41246 #undef $ac_func
41248 /* Override any gcc2 internal prototype to avoid an error. */
41249 #ifdef __cplusplus
41250 extern "C"
41252 #endif
41253 /* We use char because int might match the return type of a gcc2
41254 builtin and then its argument prototype would still apply. */
41255 char $ac_func ();
41256 /* The GNU C library defines this for functions which it implements
41257 to always fail with ENOSYS. Some functions are actually named
41258 something starting with __ and the normal name is an alias. */
41259 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41260 choke me
41261 #else
41262 char (*f) () = $ac_func;
41263 #endif
41264 #ifdef __cplusplus
41266 #endif
41269 main ()
41271 return f != $ac_func;
41273 return 0;
41275 _ACEOF
41276 rm -f conftest.$ac_objext conftest$ac_exeext
41277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41278 (eval $ac_link) 2>conftest.er1
41279 ac_status=$?
41280 grep -v '^ *+' conftest.er1 >conftest.err
41281 rm -f conftest.er1
41282 cat conftest.err >&5
41283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41284 (exit $ac_status); } &&
41285 { ac_try='test -z "$ac_c_werror_flag"
41286 || test ! -s conftest.err'
41287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41288 (eval $ac_try) 2>&5
41289 ac_status=$?
41290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41291 (exit $ac_status); }; } &&
41292 { ac_try='test -s conftest$ac_exeext'
41293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41294 (eval $ac_try) 2>&5
41295 ac_status=$?
41296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41297 (exit $ac_status); }; }; then
41298 eval "$as_ac_var=yes"
41299 else
41300 echo "$as_me: failed program was:" >&5
41301 sed 's/^/| /' conftest.$ac_ext >&5
41303 eval "$as_ac_var=no"
41305 rm -f conftest.err conftest.$ac_objext \
41306 conftest$ac_exeext conftest.$ac_ext
41308 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41309 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41310 if test `eval echo '${'$as_ac_var'}'` = yes; then
41311 cat >>confdefs.h <<_ACEOF
41312 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41313 _ACEOF
41316 done
41318 else
41320 echo "$as_me:$LINENO: checking for _modff declaration" >&5
41321 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
41322 if test x${glibcxx_cv_func__modff_use+set} != xset; then
41323 if test "${glibcxx_cv_func__modff_use+set}" = set; then
41324 echo $ECHO_N "(cached) $ECHO_C" >&6
41325 else
41329 ac_ext=cc
41330 ac_cpp='$CXXCPP $CPPFLAGS'
41331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41335 cat >conftest.$ac_ext <<_ACEOF
41336 /* confdefs.h. */
41337 _ACEOF
41338 cat confdefs.h >>conftest.$ac_ext
41339 cat >>conftest.$ac_ext <<_ACEOF
41340 /* end confdefs.h. */
41341 #include <math.h>
41343 main ()
41345 _modff(0, 0);
41347 return 0;
41349 _ACEOF
41350 rm -f conftest.$ac_objext
41351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41352 (eval $ac_compile) 2>conftest.er1
41353 ac_status=$?
41354 grep -v '^ *+' conftest.er1 >conftest.err
41355 rm -f conftest.er1
41356 cat conftest.err >&5
41357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41358 (exit $ac_status); } &&
41359 { ac_try='test -z "$ac_cxx_werror_flag"
41360 || test ! -s conftest.err'
41361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41362 (eval $ac_try) 2>&5
41363 ac_status=$?
41364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41365 (exit $ac_status); }; } &&
41366 { ac_try='test -s conftest.$ac_objext'
41367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41368 (eval $ac_try) 2>&5
41369 ac_status=$?
41370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41371 (exit $ac_status); }; }; then
41372 glibcxx_cv_func__modff_use=yes
41373 else
41374 echo "$as_me: failed program was:" >&5
41375 sed 's/^/| /' conftest.$ac_ext >&5
41377 glibcxx_cv_func__modff_use=no
41379 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41380 ac_ext=c
41381 ac_cpp='$CPP $CPPFLAGS'
41382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41390 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
41391 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
41393 if test x$glibcxx_cv_func__modff_use = x"yes"; then
41395 for ac_func in _modff
41397 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41398 echo "$as_me:$LINENO: checking for $ac_func" >&5
41399 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41400 if eval "test \"\${$as_ac_var+set}\" = set"; then
41401 echo $ECHO_N "(cached) $ECHO_C" >&6
41402 else
41403 if test x$gcc_no_link = xyes; then
41404 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41405 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41406 { (exit 1); exit 1; }; }
41408 cat >conftest.$ac_ext <<_ACEOF
41409 /* confdefs.h. */
41410 _ACEOF
41411 cat confdefs.h >>conftest.$ac_ext
41412 cat >>conftest.$ac_ext <<_ACEOF
41413 /* end confdefs.h. */
41414 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41415 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41416 #define $ac_func innocuous_$ac_func
41418 /* System header to define __stub macros and hopefully few prototypes,
41419 which can conflict with char $ac_func (); below.
41420 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41421 <limits.h> exists even on freestanding compilers. */
41423 #ifdef __STDC__
41424 # include <limits.h>
41425 #else
41426 # include <assert.h>
41427 #endif
41429 #undef $ac_func
41431 /* Override any gcc2 internal prototype to avoid an error. */
41432 #ifdef __cplusplus
41433 extern "C"
41435 #endif
41436 /* We use char because int might match the return type of a gcc2
41437 builtin and then its argument prototype would still apply. */
41438 char $ac_func ();
41439 /* The GNU C library defines this for functions which it implements
41440 to always fail with ENOSYS. Some functions are actually named
41441 something starting with __ and the normal name is an alias. */
41442 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41443 choke me
41444 #else
41445 char (*f) () = $ac_func;
41446 #endif
41447 #ifdef __cplusplus
41449 #endif
41452 main ()
41454 return f != $ac_func;
41456 return 0;
41458 _ACEOF
41459 rm -f conftest.$ac_objext conftest$ac_exeext
41460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41461 (eval $ac_link) 2>conftest.er1
41462 ac_status=$?
41463 grep -v '^ *+' conftest.er1 >conftest.err
41464 rm -f conftest.er1
41465 cat conftest.err >&5
41466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41467 (exit $ac_status); } &&
41468 { ac_try='test -z "$ac_c_werror_flag"
41469 || test ! -s conftest.err'
41470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41471 (eval $ac_try) 2>&5
41472 ac_status=$?
41473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41474 (exit $ac_status); }; } &&
41475 { ac_try='test -s conftest$ac_exeext'
41476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41477 (eval $ac_try) 2>&5
41478 ac_status=$?
41479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41480 (exit $ac_status); }; }; then
41481 eval "$as_ac_var=yes"
41482 else
41483 echo "$as_me: failed program was:" >&5
41484 sed 's/^/| /' conftest.$ac_ext >&5
41486 eval "$as_ac_var=no"
41488 rm -f conftest.err conftest.$ac_objext \
41489 conftest$ac_exeext conftest.$ac_ext
41491 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41492 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41493 if test `eval echo '${'$as_ac_var'}'` = yes; then
41494 cat >>confdefs.h <<_ACEOF
41495 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41496 _ACEOF
41499 done
41509 echo "$as_me:$LINENO: checking for modf declaration" >&5
41510 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
41511 if test x${glibcxx_cv_func_modf_use+set} != xset; then
41512 if test "${glibcxx_cv_func_modf_use+set}" = set; then
41513 echo $ECHO_N "(cached) $ECHO_C" >&6
41514 else
41518 ac_ext=cc
41519 ac_cpp='$CXXCPP $CPPFLAGS'
41520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41524 cat >conftest.$ac_ext <<_ACEOF
41525 /* confdefs.h. */
41526 _ACEOF
41527 cat confdefs.h >>conftest.$ac_ext
41528 cat >>conftest.$ac_ext <<_ACEOF
41529 /* end confdefs.h. */
41530 #include <math.h>
41532 main ()
41534 modf(0, 0);
41536 return 0;
41538 _ACEOF
41539 rm -f conftest.$ac_objext
41540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41541 (eval $ac_compile) 2>conftest.er1
41542 ac_status=$?
41543 grep -v '^ *+' conftest.er1 >conftest.err
41544 rm -f conftest.er1
41545 cat conftest.err >&5
41546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41547 (exit $ac_status); } &&
41548 { ac_try='test -z "$ac_cxx_werror_flag"
41549 || test ! -s conftest.err'
41550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41551 (eval $ac_try) 2>&5
41552 ac_status=$?
41553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41554 (exit $ac_status); }; } &&
41555 { ac_try='test -s conftest.$ac_objext'
41556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41557 (eval $ac_try) 2>&5
41558 ac_status=$?
41559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41560 (exit $ac_status); }; }; then
41561 glibcxx_cv_func_modf_use=yes
41562 else
41563 echo "$as_me: failed program was:" >&5
41564 sed 's/^/| /' conftest.$ac_ext >&5
41566 glibcxx_cv_func_modf_use=no
41568 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41569 ac_ext=c
41570 ac_cpp='$CPP $CPPFLAGS'
41571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41579 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
41580 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
41582 if test x$glibcxx_cv_func_modf_use = x"yes"; then
41584 for ac_func in modf
41586 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41587 echo "$as_me:$LINENO: checking for $ac_func" >&5
41588 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41589 if eval "test \"\${$as_ac_var+set}\" = set"; then
41590 echo $ECHO_N "(cached) $ECHO_C" >&6
41591 else
41592 if test x$gcc_no_link = xyes; then
41593 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41594 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41595 { (exit 1); exit 1; }; }
41597 cat >conftest.$ac_ext <<_ACEOF
41598 /* confdefs.h. */
41599 _ACEOF
41600 cat confdefs.h >>conftest.$ac_ext
41601 cat >>conftest.$ac_ext <<_ACEOF
41602 /* end confdefs.h. */
41603 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41604 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41605 #define $ac_func innocuous_$ac_func
41607 /* System header to define __stub macros and hopefully few prototypes,
41608 which can conflict with char $ac_func (); below.
41609 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41610 <limits.h> exists even on freestanding compilers. */
41612 #ifdef __STDC__
41613 # include <limits.h>
41614 #else
41615 # include <assert.h>
41616 #endif
41618 #undef $ac_func
41620 /* Override any gcc2 internal prototype to avoid an error. */
41621 #ifdef __cplusplus
41622 extern "C"
41624 #endif
41625 /* We use char because int might match the return type of a gcc2
41626 builtin and then its argument prototype would still apply. */
41627 char $ac_func ();
41628 /* The GNU C library defines this for functions which it implements
41629 to always fail with ENOSYS. Some functions are actually named
41630 something starting with __ and the normal name is an alias. */
41631 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41632 choke me
41633 #else
41634 char (*f) () = $ac_func;
41635 #endif
41636 #ifdef __cplusplus
41638 #endif
41641 main ()
41643 return f != $ac_func;
41645 return 0;
41647 _ACEOF
41648 rm -f conftest.$ac_objext conftest$ac_exeext
41649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41650 (eval $ac_link) 2>conftest.er1
41651 ac_status=$?
41652 grep -v '^ *+' conftest.er1 >conftest.err
41653 rm -f conftest.er1
41654 cat conftest.err >&5
41655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41656 (exit $ac_status); } &&
41657 { ac_try='test -z "$ac_c_werror_flag"
41658 || test ! -s conftest.err'
41659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41660 (eval $ac_try) 2>&5
41661 ac_status=$?
41662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41663 (exit $ac_status); }; } &&
41664 { ac_try='test -s conftest$ac_exeext'
41665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41666 (eval $ac_try) 2>&5
41667 ac_status=$?
41668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41669 (exit $ac_status); }; }; then
41670 eval "$as_ac_var=yes"
41671 else
41672 echo "$as_me: failed program was:" >&5
41673 sed 's/^/| /' conftest.$ac_ext >&5
41675 eval "$as_ac_var=no"
41677 rm -f conftest.err conftest.$ac_objext \
41678 conftest$ac_exeext conftest.$ac_ext
41680 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41681 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41682 if test `eval echo '${'$as_ac_var'}'` = yes; then
41683 cat >>confdefs.h <<_ACEOF
41684 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41685 _ACEOF
41688 done
41690 else
41692 echo "$as_me:$LINENO: checking for _modf declaration" >&5
41693 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
41694 if test x${glibcxx_cv_func__modf_use+set} != xset; then
41695 if test "${glibcxx_cv_func__modf_use+set}" = set; then
41696 echo $ECHO_N "(cached) $ECHO_C" >&6
41697 else
41701 ac_ext=cc
41702 ac_cpp='$CXXCPP $CPPFLAGS'
41703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41707 cat >conftest.$ac_ext <<_ACEOF
41708 /* confdefs.h. */
41709 _ACEOF
41710 cat confdefs.h >>conftest.$ac_ext
41711 cat >>conftest.$ac_ext <<_ACEOF
41712 /* end confdefs.h. */
41713 #include <math.h>
41715 main ()
41717 _modf(0, 0);
41719 return 0;
41721 _ACEOF
41722 rm -f conftest.$ac_objext
41723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41724 (eval $ac_compile) 2>conftest.er1
41725 ac_status=$?
41726 grep -v '^ *+' conftest.er1 >conftest.err
41727 rm -f conftest.er1
41728 cat conftest.err >&5
41729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41730 (exit $ac_status); } &&
41731 { ac_try='test -z "$ac_cxx_werror_flag"
41732 || test ! -s conftest.err'
41733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41734 (eval $ac_try) 2>&5
41735 ac_status=$?
41736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41737 (exit $ac_status); }; } &&
41738 { ac_try='test -s conftest.$ac_objext'
41739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41740 (eval $ac_try) 2>&5
41741 ac_status=$?
41742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41743 (exit $ac_status); }; }; then
41744 glibcxx_cv_func__modf_use=yes
41745 else
41746 echo "$as_me: failed program was:" >&5
41747 sed 's/^/| /' conftest.$ac_ext >&5
41749 glibcxx_cv_func__modf_use=no
41751 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41752 ac_ext=c
41753 ac_cpp='$CPP $CPPFLAGS'
41754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41762 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
41763 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
41765 if test x$glibcxx_cv_func__modf_use = x"yes"; then
41767 for ac_func in _modf
41769 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41770 echo "$as_me:$LINENO: checking for $ac_func" >&5
41771 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41772 if eval "test \"\${$as_ac_var+set}\" = set"; then
41773 echo $ECHO_N "(cached) $ECHO_C" >&6
41774 else
41775 if test x$gcc_no_link = xyes; then
41776 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41777 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41778 { (exit 1); exit 1; }; }
41780 cat >conftest.$ac_ext <<_ACEOF
41781 /* confdefs.h. */
41782 _ACEOF
41783 cat confdefs.h >>conftest.$ac_ext
41784 cat >>conftest.$ac_ext <<_ACEOF
41785 /* end confdefs.h. */
41786 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41787 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41788 #define $ac_func innocuous_$ac_func
41790 /* System header to define __stub macros and hopefully few prototypes,
41791 which can conflict with char $ac_func (); below.
41792 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41793 <limits.h> exists even on freestanding compilers. */
41795 #ifdef __STDC__
41796 # include <limits.h>
41797 #else
41798 # include <assert.h>
41799 #endif
41801 #undef $ac_func
41803 /* Override any gcc2 internal prototype to avoid an error. */
41804 #ifdef __cplusplus
41805 extern "C"
41807 #endif
41808 /* We use char because int might match the return type of a gcc2
41809 builtin and then its argument prototype would still apply. */
41810 char $ac_func ();
41811 /* The GNU C library defines this for functions which it implements
41812 to always fail with ENOSYS. Some functions are actually named
41813 something starting with __ and the normal name is an alias. */
41814 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41815 choke me
41816 #else
41817 char (*f) () = $ac_func;
41818 #endif
41819 #ifdef __cplusplus
41821 #endif
41824 main ()
41826 return f != $ac_func;
41828 return 0;
41830 _ACEOF
41831 rm -f conftest.$ac_objext conftest$ac_exeext
41832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41833 (eval $ac_link) 2>conftest.er1
41834 ac_status=$?
41835 grep -v '^ *+' conftest.er1 >conftest.err
41836 rm -f conftest.er1
41837 cat conftest.err >&5
41838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41839 (exit $ac_status); } &&
41840 { ac_try='test -z "$ac_c_werror_flag"
41841 || test ! -s conftest.err'
41842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41843 (eval $ac_try) 2>&5
41844 ac_status=$?
41845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41846 (exit $ac_status); }; } &&
41847 { ac_try='test -s conftest$ac_exeext'
41848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41849 (eval $ac_try) 2>&5
41850 ac_status=$?
41851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41852 (exit $ac_status); }; }; then
41853 eval "$as_ac_var=yes"
41854 else
41855 echo "$as_me: failed program was:" >&5
41856 sed 's/^/| /' conftest.$ac_ext >&5
41858 eval "$as_ac_var=no"
41860 rm -f conftest.err conftest.$ac_objext \
41861 conftest$ac_exeext conftest.$ac_ext
41863 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41864 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41865 if test `eval echo '${'$as_ac_var'}'` = yes; then
41866 cat >>confdefs.h <<_ACEOF
41867 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41868 _ACEOF
41871 done
41881 echo "$as_me:$LINENO: checking for powf declaration" >&5
41882 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
41883 if test x${glibcxx_cv_func_powf_use+set} != xset; then
41884 if test "${glibcxx_cv_func_powf_use+set}" = set; then
41885 echo $ECHO_N "(cached) $ECHO_C" >&6
41886 else
41890 ac_ext=cc
41891 ac_cpp='$CXXCPP $CPPFLAGS'
41892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41896 cat >conftest.$ac_ext <<_ACEOF
41897 /* confdefs.h. */
41898 _ACEOF
41899 cat confdefs.h >>conftest.$ac_ext
41900 cat >>conftest.$ac_ext <<_ACEOF
41901 /* end confdefs.h. */
41902 #include <math.h>
41904 main ()
41906 powf(0, 0);
41908 return 0;
41910 _ACEOF
41911 rm -f conftest.$ac_objext
41912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41913 (eval $ac_compile) 2>conftest.er1
41914 ac_status=$?
41915 grep -v '^ *+' conftest.er1 >conftest.err
41916 rm -f conftest.er1
41917 cat conftest.err >&5
41918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41919 (exit $ac_status); } &&
41920 { ac_try='test -z "$ac_cxx_werror_flag"
41921 || test ! -s conftest.err'
41922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41923 (eval $ac_try) 2>&5
41924 ac_status=$?
41925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41926 (exit $ac_status); }; } &&
41927 { ac_try='test -s conftest.$ac_objext'
41928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41929 (eval $ac_try) 2>&5
41930 ac_status=$?
41931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41932 (exit $ac_status); }; }; then
41933 glibcxx_cv_func_powf_use=yes
41934 else
41935 echo "$as_me: failed program was:" >&5
41936 sed 's/^/| /' conftest.$ac_ext >&5
41938 glibcxx_cv_func_powf_use=no
41940 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41941 ac_ext=c
41942 ac_cpp='$CPP $CPPFLAGS'
41943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41951 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
41952 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
41954 if test x$glibcxx_cv_func_powf_use = x"yes"; then
41956 for ac_func in powf
41958 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41959 echo "$as_me:$LINENO: checking for $ac_func" >&5
41960 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41961 if eval "test \"\${$as_ac_var+set}\" = set"; then
41962 echo $ECHO_N "(cached) $ECHO_C" >&6
41963 else
41964 if test x$gcc_no_link = xyes; then
41965 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41966 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41967 { (exit 1); exit 1; }; }
41969 cat >conftest.$ac_ext <<_ACEOF
41970 /* confdefs.h. */
41971 _ACEOF
41972 cat confdefs.h >>conftest.$ac_ext
41973 cat >>conftest.$ac_ext <<_ACEOF
41974 /* end confdefs.h. */
41975 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41976 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41977 #define $ac_func innocuous_$ac_func
41979 /* System header to define __stub macros and hopefully few prototypes,
41980 which can conflict with char $ac_func (); below.
41981 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41982 <limits.h> exists even on freestanding compilers. */
41984 #ifdef __STDC__
41985 # include <limits.h>
41986 #else
41987 # include <assert.h>
41988 #endif
41990 #undef $ac_func
41992 /* Override any gcc2 internal prototype to avoid an error. */
41993 #ifdef __cplusplus
41994 extern "C"
41996 #endif
41997 /* We use char because int might match the return type of a gcc2
41998 builtin and then its argument prototype would still apply. */
41999 char $ac_func ();
42000 /* The GNU C library defines this for functions which it implements
42001 to always fail with ENOSYS. Some functions are actually named
42002 something starting with __ and the normal name is an alias. */
42003 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42004 choke me
42005 #else
42006 char (*f) () = $ac_func;
42007 #endif
42008 #ifdef __cplusplus
42010 #endif
42013 main ()
42015 return f != $ac_func;
42017 return 0;
42019 _ACEOF
42020 rm -f conftest.$ac_objext conftest$ac_exeext
42021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42022 (eval $ac_link) 2>conftest.er1
42023 ac_status=$?
42024 grep -v '^ *+' conftest.er1 >conftest.err
42025 rm -f conftest.er1
42026 cat conftest.err >&5
42027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42028 (exit $ac_status); } &&
42029 { ac_try='test -z "$ac_c_werror_flag"
42030 || test ! -s conftest.err'
42031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42032 (eval $ac_try) 2>&5
42033 ac_status=$?
42034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42035 (exit $ac_status); }; } &&
42036 { ac_try='test -s conftest$ac_exeext'
42037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42038 (eval $ac_try) 2>&5
42039 ac_status=$?
42040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42041 (exit $ac_status); }; }; then
42042 eval "$as_ac_var=yes"
42043 else
42044 echo "$as_me: failed program was:" >&5
42045 sed 's/^/| /' conftest.$ac_ext >&5
42047 eval "$as_ac_var=no"
42049 rm -f conftest.err conftest.$ac_objext \
42050 conftest$ac_exeext conftest.$ac_ext
42052 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42053 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42054 if test `eval echo '${'$as_ac_var'}'` = yes; then
42055 cat >>confdefs.h <<_ACEOF
42056 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42057 _ACEOF
42060 done
42062 else
42064 echo "$as_me:$LINENO: checking for _powf declaration" >&5
42065 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
42066 if test x${glibcxx_cv_func__powf_use+set} != xset; then
42067 if test "${glibcxx_cv_func__powf_use+set}" = set; then
42068 echo $ECHO_N "(cached) $ECHO_C" >&6
42069 else
42073 ac_ext=cc
42074 ac_cpp='$CXXCPP $CPPFLAGS'
42075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42079 cat >conftest.$ac_ext <<_ACEOF
42080 /* confdefs.h. */
42081 _ACEOF
42082 cat confdefs.h >>conftest.$ac_ext
42083 cat >>conftest.$ac_ext <<_ACEOF
42084 /* end confdefs.h. */
42085 #include <math.h>
42087 main ()
42089 _powf(0, 0);
42091 return 0;
42093 _ACEOF
42094 rm -f conftest.$ac_objext
42095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42096 (eval $ac_compile) 2>conftest.er1
42097 ac_status=$?
42098 grep -v '^ *+' conftest.er1 >conftest.err
42099 rm -f conftest.er1
42100 cat conftest.err >&5
42101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42102 (exit $ac_status); } &&
42103 { ac_try='test -z "$ac_cxx_werror_flag"
42104 || test ! -s conftest.err'
42105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42106 (eval $ac_try) 2>&5
42107 ac_status=$?
42108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42109 (exit $ac_status); }; } &&
42110 { ac_try='test -s conftest.$ac_objext'
42111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42112 (eval $ac_try) 2>&5
42113 ac_status=$?
42114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42115 (exit $ac_status); }; }; then
42116 glibcxx_cv_func__powf_use=yes
42117 else
42118 echo "$as_me: failed program was:" >&5
42119 sed 's/^/| /' conftest.$ac_ext >&5
42121 glibcxx_cv_func__powf_use=no
42123 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42124 ac_ext=c
42125 ac_cpp='$CPP $CPPFLAGS'
42126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42134 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
42135 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
42137 if test x$glibcxx_cv_func__powf_use = x"yes"; then
42139 for ac_func in _powf
42141 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42142 echo "$as_me:$LINENO: checking for $ac_func" >&5
42143 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42144 if eval "test \"\${$as_ac_var+set}\" = set"; then
42145 echo $ECHO_N "(cached) $ECHO_C" >&6
42146 else
42147 if test x$gcc_no_link = xyes; then
42148 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42149 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42150 { (exit 1); exit 1; }; }
42152 cat >conftest.$ac_ext <<_ACEOF
42153 /* confdefs.h. */
42154 _ACEOF
42155 cat confdefs.h >>conftest.$ac_ext
42156 cat >>conftest.$ac_ext <<_ACEOF
42157 /* end confdefs.h. */
42158 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42159 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42160 #define $ac_func innocuous_$ac_func
42162 /* System header to define __stub macros and hopefully few prototypes,
42163 which can conflict with char $ac_func (); below.
42164 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42165 <limits.h> exists even on freestanding compilers. */
42167 #ifdef __STDC__
42168 # include <limits.h>
42169 #else
42170 # include <assert.h>
42171 #endif
42173 #undef $ac_func
42175 /* Override any gcc2 internal prototype to avoid an error. */
42176 #ifdef __cplusplus
42177 extern "C"
42179 #endif
42180 /* We use char because int might match the return type of a gcc2
42181 builtin and then its argument prototype would still apply. */
42182 char $ac_func ();
42183 /* The GNU C library defines this for functions which it implements
42184 to always fail with ENOSYS. Some functions are actually named
42185 something starting with __ and the normal name is an alias. */
42186 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42187 choke me
42188 #else
42189 char (*f) () = $ac_func;
42190 #endif
42191 #ifdef __cplusplus
42193 #endif
42196 main ()
42198 return f != $ac_func;
42200 return 0;
42202 _ACEOF
42203 rm -f conftest.$ac_objext conftest$ac_exeext
42204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42205 (eval $ac_link) 2>conftest.er1
42206 ac_status=$?
42207 grep -v '^ *+' conftest.er1 >conftest.err
42208 rm -f conftest.er1
42209 cat conftest.err >&5
42210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42211 (exit $ac_status); } &&
42212 { ac_try='test -z "$ac_c_werror_flag"
42213 || test ! -s conftest.err'
42214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42215 (eval $ac_try) 2>&5
42216 ac_status=$?
42217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42218 (exit $ac_status); }; } &&
42219 { ac_try='test -s conftest$ac_exeext'
42220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42221 (eval $ac_try) 2>&5
42222 ac_status=$?
42223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42224 (exit $ac_status); }; }; then
42225 eval "$as_ac_var=yes"
42226 else
42227 echo "$as_me: failed program was:" >&5
42228 sed 's/^/| /' conftest.$ac_ext >&5
42230 eval "$as_ac_var=no"
42232 rm -f conftest.err conftest.$ac_objext \
42233 conftest$ac_exeext conftest.$ac_ext
42235 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42236 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42237 if test `eval echo '${'$as_ac_var'}'` = yes; then
42238 cat >>confdefs.h <<_ACEOF
42239 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42240 _ACEOF
42243 done
42253 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
42254 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
42255 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
42256 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
42257 echo $ECHO_N "(cached) $ECHO_C" >&6
42258 else
42262 ac_ext=cc
42263 ac_cpp='$CXXCPP $CPPFLAGS'
42264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42268 cat >conftest.$ac_ext <<_ACEOF
42269 /* confdefs.h. */
42270 _ACEOF
42271 cat confdefs.h >>conftest.$ac_ext
42272 cat >>conftest.$ac_ext <<_ACEOF
42273 /* end confdefs.h. */
42274 #include <math.h>
42275 #ifdef HAVE_IEEEFP_H
42276 #include <ieeefp.h>
42277 #endif
42280 main ()
42282 sqrtf(0);
42284 return 0;
42286 _ACEOF
42287 rm -f conftest.$ac_objext
42288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42289 (eval $ac_compile) 2>conftest.er1
42290 ac_status=$?
42291 grep -v '^ *+' conftest.er1 >conftest.err
42292 rm -f conftest.er1
42293 cat conftest.err >&5
42294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42295 (exit $ac_status); } &&
42296 { ac_try='test -z "$ac_cxx_werror_flag"
42297 || test ! -s conftest.err'
42298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42299 (eval $ac_try) 2>&5
42300 ac_status=$?
42301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42302 (exit $ac_status); }; } &&
42303 { ac_try='test -s conftest.$ac_objext'
42304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42305 (eval $ac_try) 2>&5
42306 ac_status=$?
42307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42308 (exit $ac_status); }; }; then
42309 glibcxx_cv_func_sqrtf_use=yes
42310 else
42311 echo "$as_me: failed program was:" >&5
42312 sed 's/^/| /' conftest.$ac_ext >&5
42314 glibcxx_cv_func_sqrtf_use=no
42316 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42317 ac_ext=c
42318 ac_cpp='$CPP $CPPFLAGS'
42319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42327 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
42328 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
42330 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
42332 for ac_func in sqrtf
42334 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42335 echo "$as_me:$LINENO: checking for $ac_func" >&5
42336 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42337 if eval "test \"\${$as_ac_var+set}\" = set"; then
42338 echo $ECHO_N "(cached) $ECHO_C" >&6
42339 else
42340 if test x$gcc_no_link = xyes; then
42341 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42342 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42343 { (exit 1); exit 1; }; }
42345 cat >conftest.$ac_ext <<_ACEOF
42346 /* confdefs.h. */
42347 _ACEOF
42348 cat confdefs.h >>conftest.$ac_ext
42349 cat >>conftest.$ac_ext <<_ACEOF
42350 /* end confdefs.h. */
42351 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42352 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42353 #define $ac_func innocuous_$ac_func
42355 /* System header to define __stub macros and hopefully few prototypes,
42356 which can conflict with char $ac_func (); below.
42357 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42358 <limits.h> exists even on freestanding compilers. */
42360 #ifdef __STDC__
42361 # include <limits.h>
42362 #else
42363 # include <assert.h>
42364 #endif
42366 #undef $ac_func
42368 /* Override any gcc2 internal prototype to avoid an error. */
42369 #ifdef __cplusplus
42370 extern "C"
42372 #endif
42373 /* We use char because int might match the return type of a gcc2
42374 builtin and then its argument prototype would still apply. */
42375 char $ac_func ();
42376 /* The GNU C library defines this for functions which it implements
42377 to always fail with ENOSYS. Some functions are actually named
42378 something starting with __ and the normal name is an alias. */
42379 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42380 choke me
42381 #else
42382 char (*f) () = $ac_func;
42383 #endif
42384 #ifdef __cplusplus
42386 #endif
42389 main ()
42391 return f != $ac_func;
42393 return 0;
42395 _ACEOF
42396 rm -f conftest.$ac_objext conftest$ac_exeext
42397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42398 (eval $ac_link) 2>conftest.er1
42399 ac_status=$?
42400 grep -v '^ *+' conftest.er1 >conftest.err
42401 rm -f conftest.er1
42402 cat conftest.err >&5
42403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42404 (exit $ac_status); } &&
42405 { ac_try='test -z "$ac_c_werror_flag"
42406 || test ! -s conftest.err'
42407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42408 (eval $ac_try) 2>&5
42409 ac_status=$?
42410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42411 (exit $ac_status); }; } &&
42412 { ac_try='test -s conftest$ac_exeext'
42413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42414 (eval $ac_try) 2>&5
42415 ac_status=$?
42416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42417 (exit $ac_status); }; }; then
42418 eval "$as_ac_var=yes"
42419 else
42420 echo "$as_me: failed program was:" >&5
42421 sed 's/^/| /' conftest.$ac_ext >&5
42423 eval "$as_ac_var=no"
42425 rm -f conftest.err conftest.$ac_objext \
42426 conftest$ac_exeext conftest.$ac_ext
42428 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42429 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42430 if test `eval echo '${'$as_ac_var'}'` = yes; then
42431 cat >>confdefs.h <<_ACEOF
42432 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42433 _ACEOF
42436 done
42438 else
42440 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
42441 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
42442 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
42443 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
42444 echo $ECHO_N "(cached) $ECHO_C" >&6
42445 else
42449 ac_ext=cc
42450 ac_cpp='$CXXCPP $CPPFLAGS'
42451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42455 cat >conftest.$ac_ext <<_ACEOF
42456 /* confdefs.h. */
42457 _ACEOF
42458 cat confdefs.h >>conftest.$ac_ext
42459 cat >>conftest.$ac_ext <<_ACEOF
42460 /* end confdefs.h. */
42461 #include <math.h>
42462 #ifdef HAVE_IEEEFP_H
42463 #include <ieeefp.h>
42464 #endif
42467 main ()
42469 _sqrtf(0);
42471 return 0;
42473 _ACEOF
42474 rm -f conftest.$ac_objext
42475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42476 (eval $ac_compile) 2>conftest.er1
42477 ac_status=$?
42478 grep -v '^ *+' conftest.er1 >conftest.err
42479 rm -f conftest.er1
42480 cat conftest.err >&5
42481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42482 (exit $ac_status); } &&
42483 { ac_try='test -z "$ac_cxx_werror_flag"
42484 || test ! -s conftest.err'
42485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42486 (eval $ac_try) 2>&5
42487 ac_status=$?
42488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42489 (exit $ac_status); }; } &&
42490 { ac_try='test -s conftest.$ac_objext'
42491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42492 (eval $ac_try) 2>&5
42493 ac_status=$?
42494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42495 (exit $ac_status); }; }; then
42496 glibcxx_cv_func__sqrtf_use=yes
42497 else
42498 echo "$as_me: failed program was:" >&5
42499 sed 's/^/| /' conftest.$ac_ext >&5
42501 glibcxx_cv_func__sqrtf_use=no
42503 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42504 ac_ext=c
42505 ac_cpp='$CPP $CPPFLAGS'
42506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42514 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
42515 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
42517 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
42519 for ac_func in _sqrtf
42521 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42522 echo "$as_me:$LINENO: checking for $ac_func" >&5
42523 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42524 if eval "test \"\${$as_ac_var+set}\" = set"; then
42525 echo $ECHO_N "(cached) $ECHO_C" >&6
42526 else
42527 if test x$gcc_no_link = xyes; then
42528 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42529 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42530 { (exit 1); exit 1; }; }
42532 cat >conftest.$ac_ext <<_ACEOF
42533 /* confdefs.h. */
42534 _ACEOF
42535 cat confdefs.h >>conftest.$ac_ext
42536 cat >>conftest.$ac_ext <<_ACEOF
42537 /* end confdefs.h. */
42538 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42539 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42540 #define $ac_func innocuous_$ac_func
42542 /* System header to define __stub macros and hopefully few prototypes,
42543 which can conflict with char $ac_func (); below.
42544 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42545 <limits.h> exists even on freestanding compilers. */
42547 #ifdef __STDC__
42548 # include <limits.h>
42549 #else
42550 # include <assert.h>
42551 #endif
42553 #undef $ac_func
42555 /* Override any gcc2 internal prototype to avoid an error. */
42556 #ifdef __cplusplus
42557 extern "C"
42559 #endif
42560 /* We use char because int might match the return type of a gcc2
42561 builtin and then its argument prototype would still apply. */
42562 char $ac_func ();
42563 /* The GNU C library defines this for functions which it implements
42564 to always fail with ENOSYS. Some functions are actually named
42565 something starting with __ and the normal name is an alias. */
42566 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42567 choke me
42568 #else
42569 char (*f) () = $ac_func;
42570 #endif
42571 #ifdef __cplusplus
42573 #endif
42576 main ()
42578 return f != $ac_func;
42580 return 0;
42582 _ACEOF
42583 rm -f conftest.$ac_objext conftest$ac_exeext
42584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42585 (eval $ac_link) 2>conftest.er1
42586 ac_status=$?
42587 grep -v '^ *+' conftest.er1 >conftest.err
42588 rm -f conftest.er1
42589 cat conftest.err >&5
42590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42591 (exit $ac_status); } &&
42592 { ac_try='test -z "$ac_c_werror_flag"
42593 || test ! -s conftest.err'
42594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42595 (eval $ac_try) 2>&5
42596 ac_status=$?
42597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42598 (exit $ac_status); }; } &&
42599 { ac_try='test -s conftest$ac_exeext'
42600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42601 (eval $ac_try) 2>&5
42602 ac_status=$?
42603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42604 (exit $ac_status); }; }; then
42605 eval "$as_ac_var=yes"
42606 else
42607 echo "$as_me: failed program was:" >&5
42608 sed 's/^/| /' conftest.$ac_ext >&5
42610 eval "$as_ac_var=no"
42612 rm -f conftest.err conftest.$ac_objext \
42613 conftest$ac_exeext conftest.$ac_ext
42615 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42616 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42617 if test `eval echo '${'$as_ac_var'}'` = yes; then
42618 cat >>confdefs.h <<_ACEOF
42619 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42620 _ACEOF
42623 done
42633 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
42634 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
42635 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
42636 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
42637 echo $ECHO_N "(cached) $ECHO_C" >&6
42638 else
42642 ac_ext=cc
42643 ac_cpp='$CXXCPP $CPPFLAGS'
42644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42648 cat >conftest.$ac_ext <<_ACEOF
42649 /* confdefs.h. */
42650 _ACEOF
42651 cat confdefs.h >>conftest.$ac_ext
42652 cat >>conftest.$ac_ext <<_ACEOF
42653 /* end confdefs.h. */
42654 #include <math.h>
42656 main ()
42658 sincosf(0, 0, 0);
42660 return 0;
42662 _ACEOF
42663 rm -f conftest.$ac_objext
42664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42665 (eval $ac_compile) 2>conftest.er1
42666 ac_status=$?
42667 grep -v '^ *+' conftest.er1 >conftest.err
42668 rm -f conftest.er1
42669 cat conftest.err >&5
42670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42671 (exit $ac_status); } &&
42672 { ac_try='test -z "$ac_cxx_werror_flag"
42673 || test ! -s conftest.err'
42674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42675 (eval $ac_try) 2>&5
42676 ac_status=$?
42677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42678 (exit $ac_status); }; } &&
42679 { ac_try='test -s conftest.$ac_objext'
42680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42681 (eval $ac_try) 2>&5
42682 ac_status=$?
42683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42684 (exit $ac_status); }; }; then
42685 glibcxx_cv_func_sincosf_use=yes
42686 else
42687 echo "$as_me: failed program was:" >&5
42688 sed 's/^/| /' conftest.$ac_ext >&5
42690 glibcxx_cv_func_sincosf_use=no
42692 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42693 ac_ext=c
42694 ac_cpp='$CPP $CPPFLAGS'
42695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42703 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
42704 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
42706 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
42708 for ac_func in sincosf
42710 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42711 echo "$as_me:$LINENO: checking for $ac_func" >&5
42712 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42713 if eval "test \"\${$as_ac_var+set}\" = set"; then
42714 echo $ECHO_N "(cached) $ECHO_C" >&6
42715 else
42716 if test x$gcc_no_link = xyes; then
42717 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42718 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42719 { (exit 1); exit 1; }; }
42721 cat >conftest.$ac_ext <<_ACEOF
42722 /* confdefs.h. */
42723 _ACEOF
42724 cat confdefs.h >>conftest.$ac_ext
42725 cat >>conftest.$ac_ext <<_ACEOF
42726 /* end confdefs.h. */
42727 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42728 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42729 #define $ac_func innocuous_$ac_func
42731 /* System header to define __stub macros and hopefully few prototypes,
42732 which can conflict with char $ac_func (); below.
42733 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42734 <limits.h> exists even on freestanding compilers. */
42736 #ifdef __STDC__
42737 # include <limits.h>
42738 #else
42739 # include <assert.h>
42740 #endif
42742 #undef $ac_func
42744 /* Override any gcc2 internal prototype to avoid an error. */
42745 #ifdef __cplusplus
42746 extern "C"
42748 #endif
42749 /* We use char because int might match the return type of a gcc2
42750 builtin and then its argument prototype would still apply. */
42751 char $ac_func ();
42752 /* The GNU C library defines this for functions which it implements
42753 to always fail with ENOSYS. Some functions are actually named
42754 something starting with __ and the normal name is an alias. */
42755 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42756 choke me
42757 #else
42758 char (*f) () = $ac_func;
42759 #endif
42760 #ifdef __cplusplus
42762 #endif
42765 main ()
42767 return f != $ac_func;
42769 return 0;
42771 _ACEOF
42772 rm -f conftest.$ac_objext conftest$ac_exeext
42773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42774 (eval $ac_link) 2>conftest.er1
42775 ac_status=$?
42776 grep -v '^ *+' conftest.er1 >conftest.err
42777 rm -f conftest.er1
42778 cat conftest.err >&5
42779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42780 (exit $ac_status); } &&
42781 { ac_try='test -z "$ac_c_werror_flag"
42782 || test ! -s conftest.err'
42783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42784 (eval $ac_try) 2>&5
42785 ac_status=$?
42786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42787 (exit $ac_status); }; } &&
42788 { ac_try='test -s conftest$ac_exeext'
42789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42790 (eval $ac_try) 2>&5
42791 ac_status=$?
42792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42793 (exit $ac_status); }; }; then
42794 eval "$as_ac_var=yes"
42795 else
42796 echo "$as_me: failed program was:" >&5
42797 sed 's/^/| /' conftest.$ac_ext >&5
42799 eval "$as_ac_var=no"
42801 rm -f conftest.err conftest.$ac_objext \
42802 conftest$ac_exeext conftest.$ac_ext
42804 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42805 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42806 if test `eval echo '${'$as_ac_var'}'` = yes; then
42807 cat >>confdefs.h <<_ACEOF
42808 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42809 _ACEOF
42812 done
42814 else
42816 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
42817 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
42818 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
42819 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
42820 echo $ECHO_N "(cached) $ECHO_C" >&6
42821 else
42825 ac_ext=cc
42826 ac_cpp='$CXXCPP $CPPFLAGS'
42827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42831 cat >conftest.$ac_ext <<_ACEOF
42832 /* confdefs.h. */
42833 _ACEOF
42834 cat confdefs.h >>conftest.$ac_ext
42835 cat >>conftest.$ac_ext <<_ACEOF
42836 /* end confdefs.h. */
42837 #include <math.h>
42839 main ()
42841 _sincosf(0, 0, 0);
42843 return 0;
42845 _ACEOF
42846 rm -f conftest.$ac_objext
42847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42848 (eval $ac_compile) 2>conftest.er1
42849 ac_status=$?
42850 grep -v '^ *+' conftest.er1 >conftest.err
42851 rm -f conftest.er1
42852 cat conftest.err >&5
42853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42854 (exit $ac_status); } &&
42855 { ac_try='test -z "$ac_cxx_werror_flag"
42856 || test ! -s conftest.err'
42857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42858 (eval $ac_try) 2>&5
42859 ac_status=$?
42860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42861 (exit $ac_status); }; } &&
42862 { ac_try='test -s conftest.$ac_objext'
42863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42864 (eval $ac_try) 2>&5
42865 ac_status=$?
42866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42867 (exit $ac_status); }; }; then
42868 glibcxx_cv_func__sincosf_use=yes
42869 else
42870 echo "$as_me: failed program was:" >&5
42871 sed 's/^/| /' conftest.$ac_ext >&5
42873 glibcxx_cv_func__sincosf_use=no
42875 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42876 ac_ext=c
42877 ac_cpp='$CPP $CPPFLAGS'
42878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42886 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
42887 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
42889 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
42891 for ac_func in _sincosf
42893 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42894 echo "$as_me:$LINENO: checking for $ac_func" >&5
42895 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42896 if eval "test \"\${$as_ac_var+set}\" = set"; then
42897 echo $ECHO_N "(cached) $ECHO_C" >&6
42898 else
42899 if test x$gcc_no_link = xyes; then
42900 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42901 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42902 { (exit 1); exit 1; }; }
42904 cat >conftest.$ac_ext <<_ACEOF
42905 /* confdefs.h. */
42906 _ACEOF
42907 cat confdefs.h >>conftest.$ac_ext
42908 cat >>conftest.$ac_ext <<_ACEOF
42909 /* end confdefs.h. */
42910 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42911 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42912 #define $ac_func innocuous_$ac_func
42914 /* System header to define __stub macros and hopefully few prototypes,
42915 which can conflict with char $ac_func (); below.
42916 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42917 <limits.h> exists even on freestanding compilers. */
42919 #ifdef __STDC__
42920 # include <limits.h>
42921 #else
42922 # include <assert.h>
42923 #endif
42925 #undef $ac_func
42927 /* Override any gcc2 internal prototype to avoid an error. */
42928 #ifdef __cplusplus
42929 extern "C"
42931 #endif
42932 /* We use char because int might match the return type of a gcc2
42933 builtin and then its argument prototype would still apply. */
42934 char $ac_func ();
42935 /* The GNU C library defines this for functions which it implements
42936 to always fail with ENOSYS. Some functions are actually named
42937 something starting with __ and the normal name is an alias. */
42938 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42939 choke me
42940 #else
42941 char (*f) () = $ac_func;
42942 #endif
42943 #ifdef __cplusplus
42945 #endif
42948 main ()
42950 return f != $ac_func;
42952 return 0;
42954 _ACEOF
42955 rm -f conftest.$ac_objext conftest$ac_exeext
42956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42957 (eval $ac_link) 2>conftest.er1
42958 ac_status=$?
42959 grep -v '^ *+' conftest.er1 >conftest.err
42960 rm -f conftest.er1
42961 cat conftest.err >&5
42962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42963 (exit $ac_status); } &&
42964 { ac_try='test -z "$ac_c_werror_flag"
42965 || test ! -s conftest.err'
42966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42967 (eval $ac_try) 2>&5
42968 ac_status=$?
42969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42970 (exit $ac_status); }; } &&
42971 { ac_try='test -s conftest$ac_exeext'
42972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42973 (eval $ac_try) 2>&5
42974 ac_status=$?
42975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42976 (exit $ac_status); }; }; then
42977 eval "$as_ac_var=yes"
42978 else
42979 echo "$as_me: failed program was:" >&5
42980 sed 's/^/| /' conftest.$ac_ext >&5
42982 eval "$as_ac_var=no"
42984 rm -f conftest.err conftest.$ac_objext \
42985 conftest$ac_exeext conftest.$ac_ext
42987 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42988 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42989 if test `eval echo '${'$as_ac_var'}'` = yes; then
42990 cat >>confdefs.h <<_ACEOF
42991 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42992 _ACEOF
42995 done
43005 echo "$as_me:$LINENO: checking for finitef declaration" >&5
43006 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
43007 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
43008 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
43009 echo $ECHO_N "(cached) $ECHO_C" >&6
43010 else
43014 ac_ext=cc
43015 ac_cpp='$CXXCPP $CPPFLAGS'
43016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43020 cat >conftest.$ac_ext <<_ACEOF
43021 /* confdefs.h. */
43022 _ACEOF
43023 cat confdefs.h >>conftest.$ac_ext
43024 cat >>conftest.$ac_ext <<_ACEOF
43025 /* end confdefs.h. */
43026 #include <math.h>
43027 #ifdef HAVE_IEEEFP_H
43028 #include <ieeefp.h>
43029 #endif
43032 main ()
43034 finitef(0);
43036 return 0;
43038 _ACEOF
43039 rm -f conftest.$ac_objext
43040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43041 (eval $ac_compile) 2>conftest.er1
43042 ac_status=$?
43043 grep -v '^ *+' conftest.er1 >conftest.err
43044 rm -f conftest.er1
43045 cat conftest.err >&5
43046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43047 (exit $ac_status); } &&
43048 { ac_try='test -z "$ac_cxx_werror_flag"
43049 || test ! -s conftest.err'
43050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43051 (eval $ac_try) 2>&5
43052 ac_status=$?
43053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43054 (exit $ac_status); }; } &&
43055 { ac_try='test -s conftest.$ac_objext'
43056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43057 (eval $ac_try) 2>&5
43058 ac_status=$?
43059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43060 (exit $ac_status); }; }; then
43061 glibcxx_cv_func_finitef_use=yes
43062 else
43063 echo "$as_me: failed program was:" >&5
43064 sed 's/^/| /' conftest.$ac_ext >&5
43066 glibcxx_cv_func_finitef_use=no
43068 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43069 ac_ext=c
43070 ac_cpp='$CPP $CPPFLAGS'
43071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43079 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
43080 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
43082 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
43084 for ac_func in finitef
43086 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43087 echo "$as_me:$LINENO: checking for $ac_func" >&5
43088 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43089 if eval "test \"\${$as_ac_var+set}\" = set"; then
43090 echo $ECHO_N "(cached) $ECHO_C" >&6
43091 else
43092 if test x$gcc_no_link = xyes; then
43093 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43094 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43095 { (exit 1); exit 1; }; }
43097 cat >conftest.$ac_ext <<_ACEOF
43098 /* confdefs.h. */
43099 _ACEOF
43100 cat confdefs.h >>conftest.$ac_ext
43101 cat >>conftest.$ac_ext <<_ACEOF
43102 /* end confdefs.h. */
43103 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43104 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43105 #define $ac_func innocuous_$ac_func
43107 /* System header to define __stub macros and hopefully few prototypes,
43108 which can conflict with char $ac_func (); below.
43109 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43110 <limits.h> exists even on freestanding compilers. */
43112 #ifdef __STDC__
43113 # include <limits.h>
43114 #else
43115 # include <assert.h>
43116 #endif
43118 #undef $ac_func
43120 /* Override any gcc2 internal prototype to avoid an error. */
43121 #ifdef __cplusplus
43122 extern "C"
43124 #endif
43125 /* We use char because int might match the return type of a gcc2
43126 builtin and then its argument prototype would still apply. */
43127 char $ac_func ();
43128 /* The GNU C library defines this for functions which it implements
43129 to always fail with ENOSYS. Some functions are actually named
43130 something starting with __ and the normal name is an alias. */
43131 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43132 choke me
43133 #else
43134 char (*f) () = $ac_func;
43135 #endif
43136 #ifdef __cplusplus
43138 #endif
43141 main ()
43143 return f != $ac_func;
43145 return 0;
43147 _ACEOF
43148 rm -f conftest.$ac_objext conftest$ac_exeext
43149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43150 (eval $ac_link) 2>conftest.er1
43151 ac_status=$?
43152 grep -v '^ *+' conftest.er1 >conftest.err
43153 rm -f conftest.er1
43154 cat conftest.err >&5
43155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43156 (exit $ac_status); } &&
43157 { ac_try='test -z "$ac_c_werror_flag"
43158 || test ! -s conftest.err'
43159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43160 (eval $ac_try) 2>&5
43161 ac_status=$?
43162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43163 (exit $ac_status); }; } &&
43164 { ac_try='test -s conftest$ac_exeext'
43165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43166 (eval $ac_try) 2>&5
43167 ac_status=$?
43168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43169 (exit $ac_status); }; }; then
43170 eval "$as_ac_var=yes"
43171 else
43172 echo "$as_me: failed program was:" >&5
43173 sed 's/^/| /' conftest.$ac_ext >&5
43175 eval "$as_ac_var=no"
43177 rm -f conftest.err conftest.$ac_objext \
43178 conftest$ac_exeext conftest.$ac_ext
43180 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43181 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43182 if test `eval echo '${'$as_ac_var'}'` = yes; then
43183 cat >>confdefs.h <<_ACEOF
43184 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43185 _ACEOF
43188 done
43190 else
43192 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
43193 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
43194 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
43195 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
43196 echo $ECHO_N "(cached) $ECHO_C" >&6
43197 else
43201 ac_ext=cc
43202 ac_cpp='$CXXCPP $CPPFLAGS'
43203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43207 cat >conftest.$ac_ext <<_ACEOF
43208 /* confdefs.h. */
43209 _ACEOF
43210 cat confdefs.h >>conftest.$ac_ext
43211 cat >>conftest.$ac_ext <<_ACEOF
43212 /* end confdefs.h. */
43213 #include <math.h>
43214 #ifdef HAVE_IEEEFP_H
43215 #include <ieeefp.h>
43216 #endif
43219 main ()
43221 _finitef(0);
43223 return 0;
43225 _ACEOF
43226 rm -f conftest.$ac_objext
43227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43228 (eval $ac_compile) 2>conftest.er1
43229 ac_status=$?
43230 grep -v '^ *+' conftest.er1 >conftest.err
43231 rm -f conftest.er1
43232 cat conftest.err >&5
43233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43234 (exit $ac_status); } &&
43235 { ac_try='test -z "$ac_cxx_werror_flag"
43236 || test ! -s conftest.err'
43237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43238 (eval $ac_try) 2>&5
43239 ac_status=$?
43240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43241 (exit $ac_status); }; } &&
43242 { ac_try='test -s conftest.$ac_objext'
43243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43244 (eval $ac_try) 2>&5
43245 ac_status=$?
43246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43247 (exit $ac_status); }; }; then
43248 glibcxx_cv_func__finitef_use=yes
43249 else
43250 echo "$as_me: failed program was:" >&5
43251 sed 's/^/| /' conftest.$ac_ext >&5
43253 glibcxx_cv_func__finitef_use=no
43255 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43256 ac_ext=c
43257 ac_cpp='$CPP $CPPFLAGS'
43258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43266 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
43267 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
43269 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
43271 for ac_func in _finitef
43273 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43274 echo "$as_me:$LINENO: checking for $ac_func" >&5
43275 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43276 if eval "test \"\${$as_ac_var+set}\" = set"; then
43277 echo $ECHO_N "(cached) $ECHO_C" >&6
43278 else
43279 if test x$gcc_no_link = xyes; then
43280 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43281 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43282 { (exit 1); exit 1; }; }
43284 cat >conftest.$ac_ext <<_ACEOF
43285 /* confdefs.h. */
43286 _ACEOF
43287 cat confdefs.h >>conftest.$ac_ext
43288 cat >>conftest.$ac_ext <<_ACEOF
43289 /* end confdefs.h. */
43290 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43291 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43292 #define $ac_func innocuous_$ac_func
43294 /* System header to define __stub macros and hopefully few prototypes,
43295 which can conflict with char $ac_func (); below.
43296 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43297 <limits.h> exists even on freestanding compilers. */
43299 #ifdef __STDC__
43300 # include <limits.h>
43301 #else
43302 # include <assert.h>
43303 #endif
43305 #undef $ac_func
43307 /* Override any gcc2 internal prototype to avoid an error. */
43308 #ifdef __cplusplus
43309 extern "C"
43311 #endif
43312 /* We use char because int might match the return type of a gcc2
43313 builtin and then its argument prototype would still apply. */
43314 char $ac_func ();
43315 /* The GNU C library defines this for functions which it implements
43316 to always fail with ENOSYS. Some functions are actually named
43317 something starting with __ and the normal name is an alias. */
43318 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43319 choke me
43320 #else
43321 char (*f) () = $ac_func;
43322 #endif
43323 #ifdef __cplusplus
43325 #endif
43328 main ()
43330 return f != $ac_func;
43332 return 0;
43334 _ACEOF
43335 rm -f conftest.$ac_objext conftest$ac_exeext
43336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43337 (eval $ac_link) 2>conftest.er1
43338 ac_status=$?
43339 grep -v '^ *+' conftest.er1 >conftest.err
43340 rm -f conftest.er1
43341 cat conftest.err >&5
43342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43343 (exit $ac_status); } &&
43344 { ac_try='test -z "$ac_c_werror_flag"
43345 || test ! -s conftest.err'
43346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43347 (eval $ac_try) 2>&5
43348 ac_status=$?
43349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43350 (exit $ac_status); }; } &&
43351 { ac_try='test -s conftest$ac_exeext'
43352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43353 (eval $ac_try) 2>&5
43354 ac_status=$?
43355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43356 (exit $ac_status); }; }; then
43357 eval "$as_ac_var=yes"
43358 else
43359 echo "$as_me: failed program was:" >&5
43360 sed 's/^/| /' conftest.$ac_ext >&5
43362 eval "$as_ac_var=no"
43364 rm -f conftest.err conftest.$ac_objext \
43365 conftest$ac_exeext conftest.$ac_ext
43367 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43368 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43369 if test `eval echo '${'$as_ac_var'}'` = yes; then
43370 cat >>confdefs.h <<_ACEOF
43371 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43372 _ACEOF
43375 done
43385 echo "$as_me:$LINENO: checking for long double trig functions" >&5
43386 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
43387 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
43388 echo $ECHO_N "(cached) $ECHO_C" >&6
43389 else
43393 ac_ext=cc
43394 ac_cpp='$CXXCPP $CPPFLAGS'
43395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43399 cat >conftest.$ac_ext <<_ACEOF
43400 /* confdefs.h. */
43401 _ACEOF
43402 cat confdefs.h >>conftest.$ac_ext
43403 cat >>conftest.$ac_ext <<_ACEOF
43404 /* end confdefs.h. */
43405 #include <math.h>
43407 main ()
43409 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
43411 return 0;
43413 _ACEOF
43414 rm -f conftest.$ac_objext
43415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43416 (eval $ac_compile) 2>conftest.er1
43417 ac_status=$?
43418 grep -v '^ *+' conftest.er1 >conftest.err
43419 rm -f conftest.er1
43420 cat conftest.err >&5
43421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43422 (exit $ac_status); } &&
43423 { ac_try='test -z "$ac_cxx_werror_flag"
43424 || test ! -s conftest.err'
43425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43426 (eval $ac_try) 2>&5
43427 ac_status=$?
43428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43429 (exit $ac_status); }; } &&
43430 { ac_try='test -s conftest.$ac_objext'
43431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43432 (eval $ac_try) 2>&5
43433 ac_status=$?
43434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43435 (exit $ac_status); }; }; then
43436 glibcxx_cv_func_long_double_trig_use=yes
43437 else
43438 echo "$as_me: failed program was:" >&5
43439 sed 's/^/| /' conftest.$ac_ext >&5
43441 glibcxx_cv_func_long_double_trig_use=no
43443 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43444 ac_ext=c
43445 ac_cpp='$CPP $CPPFLAGS'
43446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43452 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
43453 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
43454 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
43464 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
43466 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43467 echo "$as_me:$LINENO: checking for $ac_func" >&5
43468 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43469 if eval "test \"\${$as_ac_var+set}\" = set"; then
43470 echo $ECHO_N "(cached) $ECHO_C" >&6
43471 else
43472 if test x$gcc_no_link = xyes; then
43473 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43474 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43475 { (exit 1); exit 1; }; }
43477 cat >conftest.$ac_ext <<_ACEOF
43478 /* confdefs.h. */
43479 _ACEOF
43480 cat confdefs.h >>conftest.$ac_ext
43481 cat >>conftest.$ac_ext <<_ACEOF
43482 /* end confdefs.h. */
43483 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43484 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43485 #define $ac_func innocuous_$ac_func
43487 /* System header to define __stub macros and hopefully few prototypes,
43488 which can conflict with char $ac_func (); below.
43489 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43490 <limits.h> exists even on freestanding compilers. */
43492 #ifdef __STDC__
43493 # include <limits.h>
43494 #else
43495 # include <assert.h>
43496 #endif
43498 #undef $ac_func
43500 /* Override any gcc2 internal prototype to avoid an error. */
43501 #ifdef __cplusplus
43502 extern "C"
43504 #endif
43505 /* We use char because int might match the return type of a gcc2
43506 builtin and then its argument prototype would still apply. */
43507 char $ac_func ();
43508 /* The GNU C library defines this for functions which it implements
43509 to always fail with ENOSYS. Some functions are actually named
43510 something starting with __ and the normal name is an alias. */
43511 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43512 choke me
43513 #else
43514 char (*f) () = $ac_func;
43515 #endif
43516 #ifdef __cplusplus
43518 #endif
43521 main ()
43523 return f != $ac_func;
43525 return 0;
43527 _ACEOF
43528 rm -f conftest.$ac_objext conftest$ac_exeext
43529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43530 (eval $ac_link) 2>conftest.er1
43531 ac_status=$?
43532 grep -v '^ *+' conftest.er1 >conftest.err
43533 rm -f conftest.er1
43534 cat conftest.err >&5
43535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43536 (exit $ac_status); } &&
43537 { ac_try='test -z "$ac_c_werror_flag"
43538 || test ! -s conftest.err'
43539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43540 (eval $ac_try) 2>&5
43541 ac_status=$?
43542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43543 (exit $ac_status); }; } &&
43544 { ac_try='test -s conftest$ac_exeext'
43545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43546 (eval $ac_try) 2>&5
43547 ac_status=$?
43548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43549 (exit $ac_status); }; }; then
43550 eval "$as_ac_var=yes"
43551 else
43552 echo "$as_me: failed program was:" >&5
43553 sed 's/^/| /' conftest.$ac_ext >&5
43555 eval "$as_ac_var=no"
43557 rm -f conftest.err conftest.$ac_objext \
43558 conftest$ac_exeext conftest.$ac_ext
43560 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43561 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43562 if test `eval echo '${'$as_ac_var'}'` = yes; then
43563 cat >>confdefs.h <<_ACEOF
43564 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43565 _ACEOF
43568 done
43570 else
43571 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
43572 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
43573 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
43574 echo $ECHO_N "(cached) $ECHO_C" >&6
43575 else
43579 ac_ext=cc
43580 ac_cpp='$CXXCPP $CPPFLAGS'
43581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43585 cat >conftest.$ac_ext <<_ACEOF
43586 /* confdefs.h. */
43587 _ACEOF
43588 cat confdefs.h >>conftest.$ac_ext
43589 cat >>conftest.$ac_ext <<_ACEOF
43590 /* end confdefs.h. */
43591 #include <math.h>
43593 main ()
43595 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
43597 return 0;
43599 _ACEOF
43600 rm -f conftest.$ac_objext
43601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43602 (eval $ac_compile) 2>conftest.er1
43603 ac_status=$?
43604 grep -v '^ *+' conftest.er1 >conftest.err
43605 rm -f conftest.er1
43606 cat conftest.err >&5
43607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43608 (exit $ac_status); } &&
43609 { ac_try='test -z "$ac_cxx_werror_flag"
43610 || test ! -s conftest.err'
43611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43612 (eval $ac_try) 2>&5
43613 ac_status=$?
43614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43615 (exit $ac_status); }; } &&
43616 { ac_try='test -s conftest.$ac_objext'
43617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43618 (eval $ac_try) 2>&5
43619 ac_status=$?
43620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43621 (exit $ac_status); }; }; then
43622 glibcxx_cv_func__long_double_trig_use=yes
43623 else
43624 echo "$as_me: failed program was:" >&5
43625 sed 's/^/| /' conftest.$ac_ext >&5
43627 glibcxx_cv_func__long_double_trig_use=no
43629 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43630 ac_ext=c
43631 ac_cpp='$CPP $CPPFLAGS'
43632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43638 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
43639 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
43640 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
43650 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
43652 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43653 echo "$as_me:$LINENO: checking for $ac_func" >&5
43654 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43655 if eval "test \"\${$as_ac_var+set}\" = set"; then
43656 echo $ECHO_N "(cached) $ECHO_C" >&6
43657 else
43658 if test x$gcc_no_link = xyes; then
43659 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43660 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43661 { (exit 1); exit 1; }; }
43663 cat >conftest.$ac_ext <<_ACEOF
43664 /* confdefs.h. */
43665 _ACEOF
43666 cat confdefs.h >>conftest.$ac_ext
43667 cat >>conftest.$ac_ext <<_ACEOF
43668 /* end confdefs.h. */
43669 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43670 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43671 #define $ac_func innocuous_$ac_func
43673 /* System header to define __stub macros and hopefully few prototypes,
43674 which can conflict with char $ac_func (); below.
43675 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43676 <limits.h> exists even on freestanding compilers. */
43678 #ifdef __STDC__
43679 # include <limits.h>
43680 #else
43681 # include <assert.h>
43682 #endif
43684 #undef $ac_func
43686 /* Override any gcc2 internal prototype to avoid an error. */
43687 #ifdef __cplusplus
43688 extern "C"
43690 #endif
43691 /* We use char because int might match the return type of a gcc2
43692 builtin and then its argument prototype would still apply. */
43693 char $ac_func ();
43694 /* The GNU C library defines this for functions which it implements
43695 to always fail with ENOSYS. Some functions are actually named
43696 something starting with __ and the normal name is an alias. */
43697 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43698 choke me
43699 #else
43700 char (*f) () = $ac_func;
43701 #endif
43702 #ifdef __cplusplus
43704 #endif
43707 main ()
43709 return f != $ac_func;
43711 return 0;
43713 _ACEOF
43714 rm -f conftest.$ac_objext conftest$ac_exeext
43715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43716 (eval $ac_link) 2>conftest.er1
43717 ac_status=$?
43718 grep -v '^ *+' conftest.er1 >conftest.err
43719 rm -f conftest.er1
43720 cat conftest.err >&5
43721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43722 (exit $ac_status); } &&
43723 { ac_try='test -z "$ac_c_werror_flag"
43724 || test ! -s conftest.err'
43725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43726 (eval $ac_try) 2>&5
43727 ac_status=$?
43728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43729 (exit $ac_status); }; } &&
43730 { ac_try='test -s conftest$ac_exeext'
43731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43732 (eval $ac_try) 2>&5
43733 ac_status=$?
43734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43735 (exit $ac_status); }; }; then
43736 eval "$as_ac_var=yes"
43737 else
43738 echo "$as_me: failed program was:" >&5
43739 sed 's/^/| /' conftest.$ac_ext >&5
43741 eval "$as_ac_var=no"
43743 rm -f conftest.err conftest.$ac_objext \
43744 conftest$ac_exeext conftest.$ac_ext
43746 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43747 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43748 if test `eval echo '${'$as_ac_var'}'` = yes; then
43749 cat >>confdefs.h <<_ACEOF
43750 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43751 _ACEOF
43754 done
43772 echo "$as_me:$LINENO: checking for long double round functions" >&5
43773 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
43774 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
43775 echo $ECHO_N "(cached) $ECHO_C" >&6
43776 else
43780 ac_ext=cc
43781 ac_cpp='$CXXCPP $CPPFLAGS'
43782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43786 cat >conftest.$ac_ext <<_ACEOF
43787 /* confdefs.h. */
43788 _ACEOF
43789 cat confdefs.h >>conftest.$ac_ext
43790 cat >>conftest.$ac_ext <<_ACEOF
43791 /* end confdefs.h. */
43792 #include <math.h>
43794 main ()
43796 ceill (0); floorl (0);
43798 return 0;
43800 _ACEOF
43801 rm -f conftest.$ac_objext
43802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43803 (eval $ac_compile) 2>conftest.er1
43804 ac_status=$?
43805 grep -v '^ *+' conftest.er1 >conftest.err
43806 rm -f conftest.er1
43807 cat conftest.err >&5
43808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43809 (exit $ac_status); } &&
43810 { ac_try='test -z "$ac_cxx_werror_flag"
43811 || test ! -s conftest.err'
43812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43813 (eval $ac_try) 2>&5
43814 ac_status=$?
43815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43816 (exit $ac_status); }; } &&
43817 { ac_try='test -s conftest.$ac_objext'
43818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43819 (eval $ac_try) 2>&5
43820 ac_status=$?
43821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43822 (exit $ac_status); }; }; then
43823 glibcxx_cv_func_long_double_round_use=yes
43824 else
43825 echo "$as_me: failed program was:" >&5
43826 sed 's/^/| /' conftest.$ac_ext >&5
43828 glibcxx_cv_func_long_double_round_use=no
43830 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43831 ac_ext=c
43832 ac_cpp='$CPP $CPPFLAGS'
43833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43839 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
43840 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
43841 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
43844 for ac_func in ceill floorl
43846 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43847 echo "$as_me:$LINENO: checking for $ac_func" >&5
43848 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43849 if eval "test \"\${$as_ac_var+set}\" = set"; then
43850 echo $ECHO_N "(cached) $ECHO_C" >&6
43851 else
43852 if test x$gcc_no_link = xyes; then
43853 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43854 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43855 { (exit 1); exit 1; }; }
43857 cat >conftest.$ac_ext <<_ACEOF
43858 /* confdefs.h. */
43859 _ACEOF
43860 cat confdefs.h >>conftest.$ac_ext
43861 cat >>conftest.$ac_ext <<_ACEOF
43862 /* end confdefs.h. */
43863 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43864 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43865 #define $ac_func innocuous_$ac_func
43867 /* System header to define __stub macros and hopefully few prototypes,
43868 which can conflict with char $ac_func (); below.
43869 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43870 <limits.h> exists even on freestanding compilers. */
43872 #ifdef __STDC__
43873 # include <limits.h>
43874 #else
43875 # include <assert.h>
43876 #endif
43878 #undef $ac_func
43880 /* Override any gcc2 internal prototype to avoid an error. */
43881 #ifdef __cplusplus
43882 extern "C"
43884 #endif
43885 /* We use char because int might match the return type of a gcc2
43886 builtin and then its argument prototype would still apply. */
43887 char $ac_func ();
43888 /* The GNU C library defines this for functions which it implements
43889 to always fail with ENOSYS. Some functions are actually named
43890 something starting with __ and the normal name is an alias. */
43891 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43892 choke me
43893 #else
43894 char (*f) () = $ac_func;
43895 #endif
43896 #ifdef __cplusplus
43898 #endif
43901 main ()
43903 return f != $ac_func;
43905 return 0;
43907 _ACEOF
43908 rm -f conftest.$ac_objext conftest$ac_exeext
43909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43910 (eval $ac_link) 2>conftest.er1
43911 ac_status=$?
43912 grep -v '^ *+' conftest.er1 >conftest.err
43913 rm -f conftest.er1
43914 cat conftest.err >&5
43915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43916 (exit $ac_status); } &&
43917 { ac_try='test -z "$ac_c_werror_flag"
43918 || test ! -s conftest.err'
43919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43920 (eval $ac_try) 2>&5
43921 ac_status=$?
43922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43923 (exit $ac_status); }; } &&
43924 { ac_try='test -s conftest$ac_exeext'
43925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43926 (eval $ac_try) 2>&5
43927 ac_status=$?
43928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43929 (exit $ac_status); }; }; then
43930 eval "$as_ac_var=yes"
43931 else
43932 echo "$as_me: failed program was:" >&5
43933 sed 's/^/| /' conftest.$ac_ext >&5
43935 eval "$as_ac_var=no"
43937 rm -f conftest.err conftest.$ac_objext \
43938 conftest$ac_exeext conftest.$ac_ext
43940 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43941 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43942 if test `eval echo '${'$as_ac_var'}'` = yes; then
43943 cat >>confdefs.h <<_ACEOF
43944 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43945 _ACEOF
43948 done
43950 else
43951 echo "$as_me:$LINENO: checking for _long double round functions" >&5
43952 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
43953 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
43954 echo $ECHO_N "(cached) $ECHO_C" >&6
43955 else
43959 ac_ext=cc
43960 ac_cpp='$CXXCPP $CPPFLAGS'
43961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43965 cat >conftest.$ac_ext <<_ACEOF
43966 /* confdefs.h. */
43967 _ACEOF
43968 cat confdefs.h >>conftest.$ac_ext
43969 cat >>conftest.$ac_ext <<_ACEOF
43970 /* end confdefs.h. */
43971 #include <math.h>
43973 main ()
43975 _ceill (0); _floorl (0);
43977 return 0;
43979 _ACEOF
43980 rm -f conftest.$ac_objext
43981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43982 (eval $ac_compile) 2>conftest.er1
43983 ac_status=$?
43984 grep -v '^ *+' conftest.er1 >conftest.err
43985 rm -f conftest.er1
43986 cat conftest.err >&5
43987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43988 (exit $ac_status); } &&
43989 { ac_try='test -z "$ac_cxx_werror_flag"
43990 || test ! -s conftest.err'
43991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43992 (eval $ac_try) 2>&5
43993 ac_status=$?
43994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43995 (exit $ac_status); }; } &&
43996 { ac_try='test -s conftest.$ac_objext'
43997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43998 (eval $ac_try) 2>&5
43999 ac_status=$?
44000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44001 (exit $ac_status); }; }; then
44002 glibcxx_cv_func__long_double_round_use=yes
44003 else
44004 echo "$as_me: failed program was:" >&5
44005 sed 's/^/| /' conftest.$ac_ext >&5
44007 glibcxx_cv_func__long_double_round_use=no
44009 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44010 ac_ext=c
44011 ac_cpp='$CPP $CPPFLAGS'
44012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44018 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
44019 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
44020 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
44023 for ac_func in _ceill _floorl
44025 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44026 echo "$as_me:$LINENO: checking for $ac_func" >&5
44027 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44028 if eval "test \"\${$as_ac_var+set}\" = set"; then
44029 echo $ECHO_N "(cached) $ECHO_C" >&6
44030 else
44031 if test x$gcc_no_link = xyes; then
44032 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44033 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44034 { (exit 1); exit 1; }; }
44036 cat >conftest.$ac_ext <<_ACEOF
44037 /* confdefs.h. */
44038 _ACEOF
44039 cat confdefs.h >>conftest.$ac_ext
44040 cat >>conftest.$ac_ext <<_ACEOF
44041 /* end confdefs.h. */
44042 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44043 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44044 #define $ac_func innocuous_$ac_func
44046 /* System header to define __stub macros and hopefully few prototypes,
44047 which can conflict with char $ac_func (); below.
44048 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44049 <limits.h> exists even on freestanding compilers. */
44051 #ifdef __STDC__
44052 # include <limits.h>
44053 #else
44054 # include <assert.h>
44055 #endif
44057 #undef $ac_func
44059 /* Override any gcc2 internal prototype to avoid an error. */
44060 #ifdef __cplusplus
44061 extern "C"
44063 #endif
44064 /* We use char because int might match the return type of a gcc2
44065 builtin and then its argument prototype would still apply. */
44066 char $ac_func ();
44067 /* The GNU C library defines this for functions which it implements
44068 to always fail with ENOSYS. Some functions are actually named
44069 something starting with __ and the normal name is an alias. */
44070 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44071 choke me
44072 #else
44073 char (*f) () = $ac_func;
44074 #endif
44075 #ifdef __cplusplus
44077 #endif
44080 main ()
44082 return f != $ac_func;
44084 return 0;
44086 _ACEOF
44087 rm -f conftest.$ac_objext conftest$ac_exeext
44088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44089 (eval $ac_link) 2>conftest.er1
44090 ac_status=$?
44091 grep -v '^ *+' conftest.er1 >conftest.err
44092 rm -f conftest.er1
44093 cat conftest.err >&5
44094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44095 (exit $ac_status); } &&
44096 { ac_try='test -z "$ac_c_werror_flag"
44097 || test ! -s conftest.err'
44098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44099 (eval $ac_try) 2>&5
44100 ac_status=$?
44101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44102 (exit $ac_status); }; } &&
44103 { ac_try='test -s conftest$ac_exeext'
44104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44105 (eval $ac_try) 2>&5
44106 ac_status=$?
44107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44108 (exit $ac_status); }; }; then
44109 eval "$as_ac_var=yes"
44110 else
44111 echo "$as_me: failed program was:" >&5
44112 sed 's/^/| /' conftest.$ac_ext >&5
44114 eval "$as_ac_var=no"
44116 rm -f conftest.err conftest.$ac_objext \
44117 conftest$ac_exeext conftest.$ac_ext
44119 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44120 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44121 if test `eval echo '${'$as_ac_var'}'` = yes; then
44122 cat >>confdefs.h <<_ACEOF
44123 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44124 _ACEOF
44127 done
44139 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
44140 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
44141 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
44142 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
44143 echo $ECHO_N "(cached) $ECHO_C" >&6
44144 else
44148 ac_ext=cc
44149 ac_cpp='$CXXCPP $CPPFLAGS'
44150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44154 cat >conftest.$ac_ext <<_ACEOF
44155 /* confdefs.h. */
44156 _ACEOF
44157 cat confdefs.h >>conftest.$ac_ext
44158 cat >>conftest.$ac_ext <<_ACEOF
44159 /* end confdefs.h. */
44160 #include <math.h>
44161 #ifdef HAVE_IEEEFP_H
44162 #include <ieeefp.h>
44163 #endif
44166 main ()
44168 isnanl(0);
44170 return 0;
44172 _ACEOF
44173 rm -f conftest.$ac_objext
44174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44175 (eval $ac_compile) 2>conftest.er1
44176 ac_status=$?
44177 grep -v '^ *+' conftest.er1 >conftest.err
44178 rm -f conftest.er1
44179 cat conftest.err >&5
44180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44181 (exit $ac_status); } &&
44182 { ac_try='test -z "$ac_cxx_werror_flag"
44183 || test ! -s conftest.err'
44184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44185 (eval $ac_try) 2>&5
44186 ac_status=$?
44187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44188 (exit $ac_status); }; } &&
44189 { ac_try='test -s conftest.$ac_objext'
44190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44191 (eval $ac_try) 2>&5
44192 ac_status=$?
44193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44194 (exit $ac_status); }; }; then
44195 glibcxx_cv_func_isnanl_use=yes
44196 else
44197 echo "$as_me: failed program was:" >&5
44198 sed 's/^/| /' conftest.$ac_ext >&5
44200 glibcxx_cv_func_isnanl_use=no
44202 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44203 ac_ext=c
44204 ac_cpp='$CPP $CPPFLAGS'
44205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44213 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
44214 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
44216 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
44218 for ac_func in isnanl
44220 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44221 echo "$as_me:$LINENO: checking for $ac_func" >&5
44222 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44223 if eval "test \"\${$as_ac_var+set}\" = set"; then
44224 echo $ECHO_N "(cached) $ECHO_C" >&6
44225 else
44226 if test x$gcc_no_link = xyes; then
44227 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44228 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44229 { (exit 1); exit 1; }; }
44231 cat >conftest.$ac_ext <<_ACEOF
44232 /* confdefs.h. */
44233 _ACEOF
44234 cat confdefs.h >>conftest.$ac_ext
44235 cat >>conftest.$ac_ext <<_ACEOF
44236 /* end confdefs.h. */
44237 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44238 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44239 #define $ac_func innocuous_$ac_func
44241 /* System header to define __stub macros and hopefully few prototypes,
44242 which can conflict with char $ac_func (); below.
44243 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44244 <limits.h> exists even on freestanding compilers. */
44246 #ifdef __STDC__
44247 # include <limits.h>
44248 #else
44249 # include <assert.h>
44250 #endif
44252 #undef $ac_func
44254 /* Override any gcc2 internal prototype to avoid an error. */
44255 #ifdef __cplusplus
44256 extern "C"
44258 #endif
44259 /* We use char because int might match the return type of a gcc2
44260 builtin and then its argument prototype would still apply. */
44261 char $ac_func ();
44262 /* The GNU C library defines this for functions which it implements
44263 to always fail with ENOSYS. Some functions are actually named
44264 something starting with __ and the normal name is an alias. */
44265 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44266 choke me
44267 #else
44268 char (*f) () = $ac_func;
44269 #endif
44270 #ifdef __cplusplus
44272 #endif
44275 main ()
44277 return f != $ac_func;
44279 return 0;
44281 _ACEOF
44282 rm -f conftest.$ac_objext conftest$ac_exeext
44283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44284 (eval $ac_link) 2>conftest.er1
44285 ac_status=$?
44286 grep -v '^ *+' conftest.er1 >conftest.err
44287 rm -f conftest.er1
44288 cat conftest.err >&5
44289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44290 (exit $ac_status); } &&
44291 { ac_try='test -z "$ac_c_werror_flag"
44292 || test ! -s conftest.err'
44293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44294 (eval $ac_try) 2>&5
44295 ac_status=$?
44296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44297 (exit $ac_status); }; } &&
44298 { ac_try='test -s conftest$ac_exeext'
44299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44300 (eval $ac_try) 2>&5
44301 ac_status=$?
44302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44303 (exit $ac_status); }; }; then
44304 eval "$as_ac_var=yes"
44305 else
44306 echo "$as_me: failed program was:" >&5
44307 sed 's/^/| /' conftest.$ac_ext >&5
44309 eval "$as_ac_var=no"
44311 rm -f conftest.err conftest.$ac_objext \
44312 conftest$ac_exeext conftest.$ac_ext
44314 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44315 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44316 if test `eval echo '${'$as_ac_var'}'` = yes; then
44317 cat >>confdefs.h <<_ACEOF
44318 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44319 _ACEOF
44322 done
44324 else
44326 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
44327 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
44328 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
44329 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
44330 echo $ECHO_N "(cached) $ECHO_C" >&6
44331 else
44335 ac_ext=cc
44336 ac_cpp='$CXXCPP $CPPFLAGS'
44337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44341 cat >conftest.$ac_ext <<_ACEOF
44342 /* confdefs.h. */
44343 _ACEOF
44344 cat confdefs.h >>conftest.$ac_ext
44345 cat >>conftest.$ac_ext <<_ACEOF
44346 /* end confdefs.h. */
44347 #include <math.h>
44348 #ifdef HAVE_IEEEFP_H
44349 #include <ieeefp.h>
44350 #endif
44353 main ()
44355 _isnanl(0);
44357 return 0;
44359 _ACEOF
44360 rm -f conftest.$ac_objext
44361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44362 (eval $ac_compile) 2>conftest.er1
44363 ac_status=$?
44364 grep -v '^ *+' conftest.er1 >conftest.err
44365 rm -f conftest.er1
44366 cat conftest.err >&5
44367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44368 (exit $ac_status); } &&
44369 { ac_try='test -z "$ac_cxx_werror_flag"
44370 || test ! -s conftest.err'
44371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44372 (eval $ac_try) 2>&5
44373 ac_status=$?
44374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44375 (exit $ac_status); }; } &&
44376 { ac_try='test -s conftest.$ac_objext'
44377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44378 (eval $ac_try) 2>&5
44379 ac_status=$?
44380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44381 (exit $ac_status); }; }; then
44382 glibcxx_cv_func__isnanl_use=yes
44383 else
44384 echo "$as_me: failed program was:" >&5
44385 sed 's/^/| /' conftest.$ac_ext >&5
44387 glibcxx_cv_func__isnanl_use=no
44389 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44390 ac_ext=c
44391 ac_cpp='$CPP $CPPFLAGS'
44392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44400 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
44401 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
44403 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
44405 for ac_func in _isnanl
44407 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44408 echo "$as_me:$LINENO: checking for $ac_func" >&5
44409 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44410 if eval "test \"\${$as_ac_var+set}\" = set"; then
44411 echo $ECHO_N "(cached) $ECHO_C" >&6
44412 else
44413 if test x$gcc_no_link = xyes; then
44414 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44415 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44416 { (exit 1); exit 1; }; }
44418 cat >conftest.$ac_ext <<_ACEOF
44419 /* confdefs.h. */
44420 _ACEOF
44421 cat confdefs.h >>conftest.$ac_ext
44422 cat >>conftest.$ac_ext <<_ACEOF
44423 /* end confdefs.h. */
44424 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44425 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44426 #define $ac_func innocuous_$ac_func
44428 /* System header to define __stub macros and hopefully few prototypes,
44429 which can conflict with char $ac_func (); below.
44430 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44431 <limits.h> exists even on freestanding compilers. */
44433 #ifdef __STDC__
44434 # include <limits.h>
44435 #else
44436 # include <assert.h>
44437 #endif
44439 #undef $ac_func
44441 /* Override any gcc2 internal prototype to avoid an error. */
44442 #ifdef __cplusplus
44443 extern "C"
44445 #endif
44446 /* We use char because int might match the return type of a gcc2
44447 builtin and then its argument prototype would still apply. */
44448 char $ac_func ();
44449 /* The GNU C library defines this for functions which it implements
44450 to always fail with ENOSYS. Some functions are actually named
44451 something starting with __ and the normal name is an alias. */
44452 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44453 choke me
44454 #else
44455 char (*f) () = $ac_func;
44456 #endif
44457 #ifdef __cplusplus
44459 #endif
44462 main ()
44464 return f != $ac_func;
44466 return 0;
44468 _ACEOF
44469 rm -f conftest.$ac_objext conftest$ac_exeext
44470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44471 (eval $ac_link) 2>conftest.er1
44472 ac_status=$?
44473 grep -v '^ *+' conftest.er1 >conftest.err
44474 rm -f conftest.er1
44475 cat conftest.err >&5
44476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44477 (exit $ac_status); } &&
44478 { ac_try='test -z "$ac_c_werror_flag"
44479 || test ! -s conftest.err'
44480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44481 (eval $ac_try) 2>&5
44482 ac_status=$?
44483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44484 (exit $ac_status); }; } &&
44485 { ac_try='test -s conftest$ac_exeext'
44486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44487 (eval $ac_try) 2>&5
44488 ac_status=$?
44489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44490 (exit $ac_status); }; }; then
44491 eval "$as_ac_var=yes"
44492 else
44493 echo "$as_me: failed program was:" >&5
44494 sed 's/^/| /' conftest.$ac_ext >&5
44496 eval "$as_ac_var=no"
44498 rm -f conftest.err conftest.$ac_objext \
44499 conftest$ac_exeext conftest.$ac_ext
44501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44502 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44503 if test `eval echo '${'$as_ac_var'}'` = yes; then
44504 cat >>confdefs.h <<_ACEOF
44505 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44506 _ACEOF
44509 done
44519 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
44520 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
44521 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
44522 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
44523 echo $ECHO_N "(cached) $ECHO_C" >&6
44524 else
44528 ac_ext=cc
44529 ac_cpp='$CXXCPP $CPPFLAGS'
44530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44534 cat >conftest.$ac_ext <<_ACEOF
44535 /* confdefs.h. */
44536 _ACEOF
44537 cat confdefs.h >>conftest.$ac_ext
44538 cat >>conftest.$ac_ext <<_ACEOF
44539 /* end confdefs.h. */
44540 #include <math.h>
44541 #ifdef HAVE_IEEEFP_H
44542 #include <ieeefp.h>
44543 #endif
44546 main ()
44548 isinfl(0);
44550 return 0;
44552 _ACEOF
44553 rm -f conftest.$ac_objext
44554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44555 (eval $ac_compile) 2>conftest.er1
44556 ac_status=$?
44557 grep -v '^ *+' conftest.er1 >conftest.err
44558 rm -f conftest.er1
44559 cat conftest.err >&5
44560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44561 (exit $ac_status); } &&
44562 { ac_try='test -z "$ac_cxx_werror_flag"
44563 || test ! -s conftest.err'
44564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44565 (eval $ac_try) 2>&5
44566 ac_status=$?
44567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44568 (exit $ac_status); }; } &&
44569 { ac_try='test -s conftest.$ac_objext'
44570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44571 (eval $ac_try) 2>&5
44572 ac_status=$?
44573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44574 (exit $ac_status); }; }; then
44575 glibcxx_cv_func_isinfl_use=yes
44576 else
44577 echo "$as_me: failed program was:" >&5
44578 sed 's/^/| /' conftest.$ac_ext >&5
44580 glibcxx_cv_func_isinfl_use=no
44582 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44583 ac_ext=c
44584 ac_cpp='$CPP $CPPFLAGS'
44585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44593 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
44594 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
44596 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
44598 for ac_func in isinfl
44600 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44601 echo "$as_me:$LINENO: checking for $ac_func" >&5
44602 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44603 if eval "test \"\${$as_ac_var+set}\" = set"; then
44604 echo $ECHO_N "(cached) $ECHO_C" >&6
44605 else
44606 if test x$gcc_no_link = xyes; then
44607 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44608 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44609 { (exit 1); exit 1; }; }
44611 cat >conftest.$ac_ext <<_ACEOF
44612 /* confdefs.h. */
44613 _ACEOF
44614 cat confdefs.h >>conftest.$ac_ext
44615 cat >>conftest.$ac_ext <<_ACEOF
44616 /* end confdefs.h. */
44617 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44618 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44619 #define $ac_func innocuous_$ac_func
44621 /* System header to define __stub macros and hopefully few prototypes,
44622 which can conflict with char $ac_func (); below.
44623 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44624 <limits.h> exists even on freestanding compilers. */
44626 #ifdef __STDC__
44627 # include <limits.h>
44628 #else
44629 # include <assert.h>
44630 #endif
44632 #undef $ac_func
44634 /* Override any gcc2 internal prototype to avoid an error. */
44635 #ifdef __cplusplus
44636 extern "C"
44638 #endif
44639 /* We use char because int might match the return type of a gcc2
44640 builtin and then its argument prototype would still apply. */
44641 char $ac_func ();
44642 /* The GNU C library defines this for functions which it implements
44643 to always fail with ENOSYS. Some functions are actually named
44644 something starting with __ and the normal name is an alias. */
44645 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44646 choke me
44647 #else
44648 char (*f) () = $ac_func;
44649 #endif
44650 #ifdef __cplusplus
44652 #endif
44655 main ()
44657 return f != $ac_func;
44659 return 0;
44661 _ACEOF
44662 rm -f conftest.$ac_objext conftest$ac_exeext
44663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44664 (eval $ac_link) 2>conftest.er1
44665 ac_status=$?
44666 grep -v '^ *+' conftest.er1 >conftest.err
44667 rm -f conftest.er1
44668 cat conftest.err >&5
44669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44670 (exit $ac_status); } &&
44671 { ac_try='test -z "$ac_c_werror_flag"
44672 || test ! -s conftest.err'
44673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44674 (eval $ac_try) 2>&5
44675 ac_status=$?
44676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44677 (exit $ac_status); }; } &&
44678 { ac_try='test -s conftest$ac_exeext'
44679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44680 (eval $ac_try) 2>&5
44681 ac_status=$?
44682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44683 (exit $ac_status); }; }; then
44684 eval "$as_ac_var=yes"
44685 else
44686 echo "$as_me: failed program was:" >&5
44687 sed 's/^/| /' conftest.$ac_ext >&5
44689 eval "$as_ac_var=no"
44691 rm -f conftest.err conftest.$ac_objext \
44692 conftest$ac_exeext conftest.$ac_ext
44694 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44695 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44696 if test `eval echo '${'$as_ac_var'}'` = yes; then
44697 cat >>confdefs.h <<_ACEOF
44698 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44699 _ACEOF
44702 done
44704 else
44706 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
44707 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
44708 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
44709 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
44710 echo $ECHO_N "(cached) $ECHO_C" >&6
44711 else
44715 ac_ext=cc
44716 ac_cpp='$CXXCPP $CPPFLAGS'
44717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44721 cat >conftest.$ac_ext <<_ACEOF
44722 /* confdefs.h. */
44723 _ACEOF
44724 cat confdefs.h >>conftest.$ac_ext
44725 cat >>conftest.$ac_ext <<_ACEOF
44726 /* end confdefs.h. */
44727 #include <math.h>
44728 #ifdef HAVE_IEEEFP_H
44729 #include <ieeefp.h>
44730 #endif
44733 main ()
44735 _isinfl(0);
44737 return 0;
44739 _ACEOF
44740 rm -f conftest.$ac_objext
44741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44742 (eval $ac_compile) 2>conftest.er1
44743 ac_status=$?
44744 grep -v '^ *+' conftest.er1 >conftest.err
44745 rm -f conftest.er1
44746 cat conftest.err >&5
44747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44748 (exit $ac_status); } &&
44749 { ac_try='test -z "$ac_cxx_werror_flag"
44750 || test ! -s conftest.err'
44751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44752 (eval $ac_try) 2>&5
44753 ac_status=$?
44754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44755 (exit $ac_status); }; } &&
44756 { ac_try='test -s conftest.$ac_objext'
44757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44758 (eval $ac_try) 2>&5
44759 ac_status=$?
44760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44761 (exit $ac_status); }; }; then
44762 glibcxx_cv_func__isinfl_use=yes
44763 else
44764 echo "$as_me: failed program was:" >&5
44765 sed 's/^/| /' conftest.$ac_ext >&5
44767 glibcxx_cv_func__isinfl_use=no
44769 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44770 ac_ext=c
44771 ac_cpp='$CPP $CPPFLAGS'
44772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44780 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
44781 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
44783 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
44785 for ac_func in _isinfl
44787 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44788 echo "$as_me:$LINENO: checking for $ac_func" >&5
44789 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44790 if eval "test \"\${$as_ac_var+set}\" = set"; then
44791 echo $ECHO_N "(cached) $ECHO_C" >&6
44792 else
44793 if test x$gcc_no_link = xyes; then
44794 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44795 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44796 { (exit 1); exit 1; }; }
44798 cat >conftest.$ac_ext <<_ACEOF
44799 /* confdefs.h. */
44800 _ACEOF
44801 cat confdefs.h >>conftest.$ac_ext
44802 cat >>conftest.$ac_ext <<_ACEOF
44803 /* end confdefs.h. */
44804 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44805 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44806 #define $ac_func innocuous_$ac_func
44808 /* System header to define __stub macros and hopefully few prototypes,
44809 which can conflict with char $ac_func (); below.
44810 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44811 <limits.h> exists even on freestanding compilers. */
44813 #ifdef __STDC__
44814 # include <limits.h>
44815 #else
44816 # include <assert.h>
44817 #endif
44819 #undef $ac_func
44821 /* Override any gcc2 internal prototype to avoid an error. */
44822 #ifdef __cplusplus
44823 extern "C"
44825 #endif
44826 /* We use char because int might match the return type of a gcc2
44827 builtin and then its argument prototype would still apply. */
44828 char $ac_func ();
44829 /* The GNU C library defines this for functions which it implements
44830 to always fail with ENOSYS. Some functions are actually named
44831 something starting with __ and the normal name is an alias. */
44832 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44833 choke me
44834 #else
44835 char (*f) () = $ac_func;
44836 #endif
44837 #ifdef __cplusplus
44839 #endif
44842 main ()
44844 return f != $ac_func;
44846 return 0;
44848 _ACEOF
44849 rm -f conftest.$ac_objext conftest$ac_exeext
44850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44851 (eval $ac_link) 2>conftest.er1
44852 ac_status=$?
44853 grep -v '^ *+' conftest.er1 >conftest.err
44854 rm -f conftest.er1
44855 cat conftest.err >&5
44856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44857 (exit $ac_status); } &&
44858 { ac_try='test -z "$ac_c_werror_flag"
44859 || test ! -s conftest.err'
44860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44861 (eval $ac_try) 2>&5
44862 ac_status=$?
44863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44864 (exit $ac_status); }; } &&
44865 { ac_try='test -s conftest$ac_exeext'
44866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44867 (eval $ac_try) 2>&5
44868 ac_status=$?
44869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44870 (exit $ac_status); }; }; then
44871 eval "$as_ac_var=yes"
44872 else
44873 echo "$as_me: failed program was:" >&5
44874 sed 's/^/| /' conftest.$ac_ext >&5
44876 eval "$as_ac_var=no"
44878 rm -f conftest.err conftest.$ac_objext \
44879 conftest$ac_exeext conftest.$ac_ext
44881 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44882 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44883 if test `eval echo '${'$as_ac_var'}'` = yes; then
44884 cat >>confdefs.h <<_ACEOF
44885 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44886 _ACEOF
44889 done
44899 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
44900 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
44901 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
44902 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
44903 echo $ECHO_N "(cached) $ECHO_C" >&6
44904 else
44908 ac_ext=cc
44909 ac_cpp='$CXXCPP $CPPFLAGS'
44910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44914 cat >conftest.$ac_ext <<_ACEOF
44915 /* confdefs.h. */
44916 _ACEOF
44917 cat confdefs.h >>conftest.$ac_ext
44918 cat >>conftest.$ac_ext <<_ACEOF
44919 /* end confdefs.h. */
44920 #include <math.h>
44922 main ()
44924 copysignl(0, 0);
44926 return 0;
44928 _ACEOF
44929 rm -f conftest.$ac_objext
44930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44931 (eval $ac_compile) 2>conftest.er1
44932 ac_status=$?
44933 grep -v '^ *+' conftest.er1 >conftest.err
44934 rm -f conftest.er1
44935 cat conftest.err >&5
44936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44937 (exit $ac_status); } &&
44938 { ac_try='test -z "$ac_cxx_werror_flag"
44939 || test ! -s conftest.err'
44940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44941 (eval $ac_try) 2>&5
44942 ac_status=$?
44943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44944 (exit $ac_status); }; } &&
44945 { ac_try='test -s conftest.$ac_objext'
44946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44947 (eval $ac_try) 2>&5
44948 ac_status=$?
44949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44950 (exit $ac_status); }; }; then
44951 glibcxx_cv_func_copysignl_use=yes
44952 else
44953 echo "$as_me: failed program was:" >&5
44954 sed 's/^/| /' conftest.$ac_ext >&5
44956 glibcxx_cv_func_copysignl_use=no
44958 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44959 ac_ext=c
44960 ac_cpp='$CPP $CPPFLAGS'
44961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44969 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
44970 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
44972 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
44974 for ac_func in copysignl
44976 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44977 echo "$as_me:$LINENO: checking for $ac_func" >&5
44978 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44979 if eval "test \"\${$as_ac_var+set}\" = set"; then
44980 echo $ECHO_N "(cached) $ECHO_C" >&6
44981 else
44982 if test x$gcc_no_link = xyes; then
44983 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44984 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44985 { (exit 1); exit 1; }; }
44987 cat >conftest.$ac_ext <<_ACEOF
44988 /* confdefs.h. */
44989 _ACEOF
44990 cat confdefs.h >>conftest.$ac_ext
44991 cat >>conftest.$ac_ext <<_ACEOF
44992 /* end confdefs.h. */
44993 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44994 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44995 #define $ac_func innocuous_$ac_func
44997 /* System header to define __stub macros and hopefully few prototypes,
44998 which can conflict with char $ac_func (); below.
44999 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45000 <limits.h> exists even on freestanding compilers. */
45002 #ifdef __STDC__
45003 # include <limits.h>
45004 #else
45005 # include <assert.h>
45006 #endif
45008 #undef $ac_func
45010 /* Override any gcc2 internal prototype to avoid an error. */
45011 #ifdef __cplusplus
45012 extern "C"
45014 #endif
45015 /* We use char because int might match the return type of a gcc2
45016 builtin and then its argument prototype would still apply. */
45017 char $ac_func ();
45018 /* The GNU C library defines this for functions which it implements
45019 to always fail with ENOSYS. Some functions are actually named
45020 something starting with __ and the normal name is an alias. */
45021 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45022 choke me
45023 #else
45024 char (*f) () = $ac_func;
45025 #endif
45026 #ifdef __cplusplus
45028 #endif
45031 main ()
45033 return f != $ac_func;
45035 return 0;
45037 _ACEOF
45038 rm -f conftest.$ac_objext conftest$ac_exeext
45039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45040 (eval $ac_link) 2>conftest.er1
45041 ac_status=$?
45042 grep -v '^ *+' conftest.er1 >conftest.err
45043 rm -f conftest.er1
45044 cat conftest.err >&5
45045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45046 (exit $ac_status); } &&
45047 { ac_try='test -z "$ac_c_werror_flag"
45048 || test ! -s conftest.err'
45049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45050 (eval $ac_try) 2>&5
45051 ac_status=$?
45052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45053 (exit $ac_status); }; } &&
45054 { ac_try='test -s conftest$ac_exeext'
45055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45056 (eval $ac_try) 2>&5
45057 ac_status=$?
45058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45059 (exit $ac_status); }; }; then
45060 eval "$as_ac_var=yes"
45061 else
45062 echo "$as_me: failed program was:" >&5
45063 sed 's/^/| /' conftest.$ac_ext >&5
45065 eval "$as_ac_var=no"
45067 rm -f conftest.err conftest.$ac_objext \
45068 conftest$ac_exeext conftest.$ac_ext
45070 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45071 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45072 if test `eval echo '${'$as_ac_var'}'` = yes; then
45073 cat >>confdefs.h <<_ACEOF
45074 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45075 _ACEOF
45078 done
45080 else
45082 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
45083 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
45084 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
45085 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
45086 echo $ECHO_N "(cached) $ECHO_C" >&6
45087 else
45091 ac_ext=cc
45092 ac_cpp='$CXXCPP $CPPFLAGS'
45093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45097 cat >conftest.$ac_ext <<_ACEOF
45098 /* confdefs.h. */
45099 _ACEOF
45100 cat confdefs.h >>conftest.$ac_ext
45101 cat >>conftest.$ac_ext <<_ACEOF
45102 /* end confdefs.h. */
45103 #include <math.h>
45105 main ()
45107 _copysignl(0, 0);
45109 return 0;
45111 _ACEOF
45112 rm -f conftest.$ac_objext
45113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45114 (eval $ac_compile) 2>conftest.er1
45115 ac_status=$?
45116 grep -v '^ *+' conftest.er1 >conftest.err
45117 rm -f conftest.er1
45118 cat conftest.err >&5
45119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45120 (exit $ac_status); } &&
45121 { ac_try='test -z "$ac_cxx_werror_flag"
45122 || test ! -s conftest.err'
45123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45124 (eval $ac_try) 2>&5
45125 ac_status=$?
45126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45127 (exit $ac_status); }; } &&
45128 { ac_try='test -s conftest.$ac_objext'
45129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45130 (eval $ac_try) 2>&5
45131 ac_status=$?
45132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45133 (exit $ac_status); }; }; then
45134 glibcxx_cv_func__copysignl_use=yes
45135 else
45136 echo "$as_me: failed program was:" >&5
45137 sed 's/^/| /' conftest.$ac_ext >&5
45139 glibcxx_cv_func__copysignl_use=no
45141 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45142 ac_ext=c
45143 ac_cpp='$CPP $CPPFLAGS'
45144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45152 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
45153 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
45155 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
45157 for ac_func in _copysignl
45159 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45160 echo "$as_me:$LINENO: checking for $ac_func" >&5
45161 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45162 if eval "test \"\${$as_ac_var+set}\" = set"; then
45163 echo $ECHO_N "(cached) $ECHO_C" >&6
45164 else
45165 if test x$gcc_no_link = xyes; then
45166 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45167 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45168 { (exit 1); exit 1; }; }
45170 cat >conftest.$ac_ext <<_ACEOF
45171 /* confdefs.h. */
45172 _ACEOF
45173 cat confdefs.h >>conftest.$ac_ext
45174 cat >>conftest.$ac_ext <<_ACEOF
45175 /* end confdefs.h. */
45176 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45177 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45178 #define $ac_func innocuous_$ac_func
45180 /* System header to define __stub macros and hopefully few prototypes,
45181 which can conflict with char $ac_func (); below.
45182 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45183 <limits.h> exists even on freestanding compilers. */
45185 #ifdef __STDC__
45186 # include <limits.h>
45187 #else
45188 # include <assert.h>
45189 #endif
45191 #undef $ac_func
45193 /* Override any gcc2 internal prototype to avoid an error. */
45194 #ifdef __cplusplus
45195 extern "C"
45197 #endif
45198 /* We use char because int might match the return type of a gcc2
45199 builtin and then its argument prototype would still apply. */
45200 char $ac_func ();
45201 /* The GNU C library defines this for functions which it implements
45202 to always fail with ENOSYS. Some functions are actually named
45203 something starting with __ and the normal name is an alias. */
45204 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45205 choke me
45206 #else
45207 char (*f) () = $ac_func;
45208 #endif
45209 #ifdef __cplusplus
45211 #endif
45214 main ()
45216 return f != $ac_func;
45218 return 0;
45220 _ACEOF
45221 rm -f conftest.$ac_objext conftest$ac_exeext
45222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45223 (eval $ac_link) 2>conftest.er1
45224 ac_status=$?
45225 grep -v '^ *+' conftest.er1 >conftest.err
45226 rm -f conftest.er1
45227 cat conftest.err >&5
45228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45229 (exit $ac_status); } &&
45230 { ac_try='test -z "$ac_c_werror_flag"
45231 || test ! -s conftest.err'
45232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45233 (eval $ac_try) 2>&5
45234 ac_status=$?
45235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45236 (exit $ac_status); }; } &&
45237 { ac_try='test -s conftest$ac_exeext'
45238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45239 (eval $ac_try) 2>&5
45240 ac_status=$?
45241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45242 (exit $ac_status); }; }; then
45243 eval "$as_ac_var=yes"
45244 else
45245 echo "$as_me: failed program was:" >&5
45246 sed 's/^/| /' conftest.$ac_ext >&5
45248 eval "$as_ac_var=no"
45250 rm -f conftest.err conftest.$ac_objext \
45251 conftest$ac_exeext conftest.$ac_ext
45253 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45254 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45255 if test `eval echo '${'$as_ac_var'}'` = yes; then
45256 cat >>confdefs.h <<_ACEOF
45257 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45258 _ACEOF
45261 done
45271 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
45272 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
45273 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
45274 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
45275 echo $ECHO_N "(cached) $ECHO_C" >&6
45276 else
45280 ac_ext=cc
45281 ac_cpp='$CXXCPP $CPPFLAGS'
45282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45286 cat >conftest.$ac_ext <<_ACEOF
45287 /* confdefs.h. */
45288 _ACEOF
45289 cat confdefs.h >>conftest.$ac_ext
45290 cat >>conftest.$ac_ext <<_ACEOF
45291 /* end confdefs.h. */
45292 #include <math.h>
45294 main ()
45296 atan2l(0, 0);
45298 return 0;
45300 _ACEOF
45301 rm -f conftest.$ac_objext
45302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45303 (eval $ac_compile) 2>conftest.er1
45304 ac_status=$?
45305 grep -v '^ *+' conftest.er1 >conftest.err
45306 rm -f conftest.er1
45307 cat conftest.err >&5
45308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45309 (exit $ac_status); } &&
45310 { ac_try='test -z "$ac_cxx_werror_flag"
45311 || test ! -s conftest.err'
45312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45313 (eval $ac_try) 2>&5
45314 ac_status=$?
45315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45316 (exit $ac_status); }; } &&
45317 { ac_try='test -s conftest.$ac_objext'
45318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45319 (eval $ac_try) 2>&5
45320 ac_status=$?
45321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45322 (exit $ac_status); }; }; then
45323 glibcxx_cv_func_atan2l_use=yes
45324 else
45325 echo "$as_me: failed program was:" >&5
45326 sed 's/^/| /' conftest.$ac_ext >&5
45328 glibcxx_cv_func_atan2l_use=no
45330 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45331 ac_ext=c
45332 ac_cpp='$CPP $CPPFLAGS'
45333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45341 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
45342 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
45344 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
45346 for ac_func in atan2l
45348 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45349 echo "$as_me:$LINENO: checking for $ac_func" >&5
45350 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45351 if eval "test \"\${$as_ac_var+set}\" = set"; then
45352 echo $ECHO_N "(cached) $ECHO_C" >&6
45353 else
45354 if test x$gcc_no_link = xyes; then
45355 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45356 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45357 { (exit 1); exit 1; }; }
45359 cat >conftest.$ac_ext <<_ACEOF
45360 /* confdefs.h. */
45361 _ACEOF
45362 cat confdefs.h >>conftest.$ac_ext
45363 cat >>conftest.$ac_ext <<_ACEOF
45364 /* end confdefs.h. */
45365 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45366 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45367 #define $ac_func innocuous_$ac_func
45369 /* System header to define __stub macros and hopefully few prototypes,
45370 which can conflict with char $ac_func (); below.
45371 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45372 <limits.h> exists even on freestanding compilers. */
45374 #ifdef __STDC__
45375 # include <limits.h>
45376 #else
45377 # include <assert.h>
45378 #endif
45380 #undef $ac_func
45382 /* Override any gcc2 internal prototype to avoid an error. */
45383 #ifdef __cplusplus
45384 extern "C"
45386 #endif
45387 /* We use char because int might match the return type of a gcc2
45388 builtin and then its argument prototype would still apply. */
45389 char $ac_func ();
45390 /* The GNU C library defines this for functions which it implements
45391 to always fail with ENOSYS. Some functions are actually named
45392 something starting with __ and the normal name is an alias. */
45393 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45394 choke me
45395 #else
45396 char (*f) () = $ac_func;
45397 #endif
45398 #ifdef __cplusplus
45400 #endif
45403 main ()
45405 return f != $ac_func;
45407 return 0;
45409 _ACEOF
45410 rm -f conftest.$ac_objext conftest$ac_exeext
45411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45412 (eval $ac_link) 2>conftest.er1
45413 ac_status=$?
45414 grep -v '^ *+' conftest.er1 >conftest.err
45415 rm -f conftest.er1
45416 cat conftest.err >&5
45417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45418 (exit $ac_status); } &&
45419 { ac_try='test -z "$ac_c_werror_flag"
45420 || test ! -s conftest.err'
45421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45422 (eval $ac_try) 2>&5
45423 ac_status=$?
45424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45425 (exit $ac_status); }; } &&
45426 { ac_try='test -s conftest$ac_exeext'
45427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45428 (eval $ac_try) 2>&5
45429 ac_status=$?
45430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45431 (exit $ac_status); }; }; then
45432 eval "$as_ac_var=yes"
45433 else
45434 echo "$as_me: failed program was:" >&5
45435 sed 's/^/| /' conftest.$ac_ext >&5
45437 eval "$as_ac_var=no"
45439 rm -f conftest.err conftest.$ac_objext \
45440 conftest$ac_exeext conftest.$ac_ext
45442 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45443 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45444 if test `eval echo '${'$as_ac_var'}'` = yes; then
45445 cat >>confdefs.h <<_ACEOF
45446 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45447 _ACEOF
45450 done
45452 else
45454 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
45455 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
45456 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
45457 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
45458 echo $ECHO_N "(cached) $ECHO_C" >&6
45459 else
45463 ac_ext=cc
45464 ac_cpp='$CXXCPP $CPPFLAGS'
45465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45469 cat >conftest.$ac_ext <<_ACEOF
45470 /* confdefs.h. */
45471 _ACEOF
45472 cat confdefs.h >>conftest.$ac_ext
45473 cat >>conftest.$ac_ext <<_ACEOF
45474 /* end confdefs.h. */
45475 #include <math.h>
45477 main ()
45479 _atan2l(0, 0);
45481 return 0;
45483 _ACEOF
45484 rm -f conftest.$ac_objext
45485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45486 (eval $ac_compile) 2>conftest.er1
45487 ac_status=$?
45488 grep -v '^ *+' conftest.er1 >conftest.err
45489 rm -f conftest.er1
45490 cat conftest.err >&5
45491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45492 (exit $ac_status); } &&
45493 { ac_try='test -z "$ac_cxx_werror_flag"
45494 || test ! -s conftest.err'
45495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45496 (eval $ac_try) 2>&5
45497 ac_status=$?
45498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45499 (exit $ac_status); }; } &&
45500 { ac_try='test -s conftest.$ac_objext'
45501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45502 (eval $ac_try) 2>&5
45503 ac_status=$?
45504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45505 (exit $ac_status); }; }; then
45506 glibcxx_cv_func__atan2l_use=yes
45507 else
45508 echo "$as_me: failed program was:" >&5
45509 sed 's/^/| /' conftest.$ac_ext >&5
45511 glibcxx_cv_func__atan2l_use=no
45513 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45514 ac_ext=c
45515 ac_cpp='$CPP $CPPFLAGS'
45516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45524 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
45525 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
45527 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
45529 for ac_func in _atan2l
45531 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45532 echo "$as_me:$LINENO: checking for $ac_func" >&5
45533 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45534 if eval "test \"\${$as_ac_var+set}\" = set"; then
45535 echo $ECHO_N "(cached) $ECHO_C" >&6
45536 else
45537 if test x$gcc_no_link = xyes; then
45538 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45539 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45540 { (exit 1); exit 1; }; }
45542 cat >conftest.$ac_ext <<_ACEOF
45543 /* confdefs.h. */
45544 _ACEOF
45545 cat confdefs.h >>conftest.$ac_ext
45546 cat >>conftest.$ac_ext <<_ACEOF
45547 /* end confdefs.h. */
45548 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45549 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45550 #define $ac_func innocuous_$ac_func
45552 /* System header to define __stub macros and hopefully few prototypes,
45553 which can conflict with char $ac_func (); below.
45554 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45555 <limits.h> exists even on freestanding compilers. */
45557 #ifdef __STDC__
45558 # include <limits.h>
45559 #else
45560 # include <assert.h>
45561 #endif
45563 #undef $ac_func
45565 /* Override any gcc2 internal prototype to avoid an error. */
45566 #ifdef __cplusplus
45567 extern "C"
45569 #endif
45570 /* We use char because int might match the return type of a gcc2
45571 builtin and then its argument prototype would still apply. */
45572 char $ac_func ();
45573 /* The GNU C library defines this for functions which it implements
45574 to always fail with ENOSYS. Some functions are actually named
45575 something starting with __ and the normal name is an alias. */
45576 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45577 choke me
45578 #else
45579 char (*f) () = $ac_func;
45580 #endif
45581 #ifdef __cplusplus
45583 #endif
45586 main ()
45588 return f != $ac_func;
45590 return 0;
45592 _ACEOF
45593 rm -f conftest.$ac_objext conftest$ac_exeext
45594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45595 (eval $ac_link) 2>conftest.er1
45596 ac_status=$?
45597 grep -v '^ *+' conftest.er1 >conftest.err
45598 rm -f conftest.er1
45599 cat conftest.err >&5
45600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45601 (exit $ac_status); } &&
45602 { ac_try='test -z "$ac_c_werror_flag"
45603 || test ! -s conftest.err'
45604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45605 (eval $ac_try) 2>&5
45606 ac_status=$?
45607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45608 (exit $ac_status); }; } &&
45609 { ac_try='test -s conftest$ac_exeext'
45610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45611 (eval $ac_try) 2>&5
45612 ac_status=$?
45613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45614 (exit $ac_status); }; }; then
45615 eval "$as_ac_var=yes"
45616 else
45617 echo "$as_me: failed program was:" >&5
45618 sed 's/^/| /' conftest.$ac_ext >&5
45620 eval "$as_ac_var=no"
45622 rm -f conftest.err conftest.$ac_objext \
45623 conftest$ac_exeext conftest.$ac_ext
45625 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45626 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45627 if test `eval echo '${'$as_ac_var'}'` = yes; then
45628 cat >>confdefs.h <<_ACEOF
45629 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45630 _ACEOF
45633 done
45643 echo "$as_me:$LINENO: checking for expl declaration" >&5
45644 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
45645 if test x${glibcxx_cv_func_expl_use+set} != xset; then
45646 if test "${glibcxx_cv_func_expl_use+set}" = set; then
45647 echo $ECHO_N "(cached) $ECHO_C" >&6
45648 else
45652 ac_ext=cc
45653 ac_cpp='$CXXCPP $CPPFLAGS'
45654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45658 cat >conftest.$ac_ext <<_ACEOF
45659 /* confdefs.h. */
45660 _ACEOF
45661 cat confdefs.h >>conftest.$ac_ext
45662 cat >>conftest.$ac_ext <<_ACEOF
45663 /* end confdefs.h. */
45664 #include <math.h>
45665 #ifdef HAVE_IEEEFP_H
45666 #include <ieeefp.h>
45667 #endif
45670 main ()
45672 expl(0);
45674 return 0;
45676 _ACEOF
45677 rm -f conftest.$ac_objext
45678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45679 (eval $ac_compile) 2>conftest.er1
45680 ac_status=$?
45681 grep -v '^ *+' conftest.er1 >conftest.err
45682 rm -f conftest.er1
45683 cat conftest.err >&5
45684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45685 (exit $ac_status); } &&
45686 { ac_try='test -z "$ac_cxx_werror_flag"
45687 || test ! -s conftest.err'
45688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45689 (eval $ac_try) 2>&5
45690 ac_status=$?
45691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45692 (exit $ac_status); }; } &&
45693 { ac_try='test -s conftest.$ac_objext'
45694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45695 (eval $ac_try) 2>&5
45696 ac_status=$?
45697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45698 (exit $ac_status); }; }; then
45699 glibcxx_cv_func_expl_use=yes
45700 else
45701 echo "$as_me: failed program was:" >&5
45702 sed 's/^/| /' conftest.$ac_ext >&5
45704 glibcxx_cv_func_expl_use=no
45706 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45707 ac_ext=c
45708 ac_cpp='$CPP $CPPFLAGS'
45709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45717 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
45718 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
45720 if test x$glibcxx_cv_func_expl_use = x"yes"; then
45722 for ac_func in expl
45724 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45725 echo "$as_me:$LINENO: checking for $ac_func" >&5
45726 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45727 if eval "test \"\${$as_ac_var+set}\" = set"; then
45728 echo $ECHO_N "(cached) $ECHO_C" >&6
45729 else
45730 if test x$gcc_no_link = xyes; then
45731 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45732 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45733 { (exit 1); exit 1; }; }
45735 cat >conftest.$ac_ext <<_ACEOF
45736 /* confdefs.h. */
45737 _ACEOF
45738 cat confdefs.h >>conftest.$ac_ext
45739 cat >>conftest.$ac_ext <<_ACEOF
45740 /* end confdefs.h. */
45741 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45742 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45743 #define $ac_func innocuous_$ac_func
45745 /* System header to define __stub macros and hopefully few prototypes,
45746 which can conflict with char $ac_func (); below.
45747 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45748 <limits.h> exists even on freestanding compilers. */
45750 #ifdef __STDC__
45751 # include <limits.h>
45752 #else
45753 # include <assert.h>
45754 #endif
45756 #undef $ac_func
45758 /* Override any gcc2 internal prototype to avoid an error. */
45759 #ifdef __cplusplus
45760 extern "C"
45762 #endif
45763 /* We use char because int might match the return type of a gcc2
45764 builtin and then its argument prototype would still apply. */
45765 char $ac_func ();
45766 /* The GNU C library defines this for functions which it implements
45767 to always fail with ENOSYS. Some functions are actually named
45768 something starting with __ and the normal name is an alias. */
45769 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45770 choke me
45771 #else
45772 char (*f) () = $ac_func;
45773 #endif
45774 #ifdef __cplusplus
45776 #endif
45779 main ()
45781 return f != $ac_func;
45783 return 0;
45785 _ACEOF
45786 rm -f conftest.$ac_objext conftest$ac_exeext
45787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45788 (eval $ac_link) 2>conftest.er1
45789 ac_status=$?
45790 grep -v '^ *+' conftest.er1 >conftest.err
45791 rm -f conftest.er1
45792 cat conftest.err >&5
45793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45794 (exit $ac_status); } &&
45795 { ac_try='test -z "$ac_c_werror_flag"
45796 || test ! -s conftest.err'
45797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45798 (eval $ac_try) 2>&5
45799 ac_status=$?
45800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45801 (exit $ac_status); }; } &&
45802 { ac_try='test -s conftest$ac_exeext'
45803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45804 (eval $ac_try) 2>&5
45805 ac_status=$?
45806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45807 (exit $ac_status); }; }; then
45808 eval "$as_ac_var=yes"
45809 else
45810 echo "$as_me: failed program was:" >&5
45811 sed 's/^/| /' conftest.$ac_ext >&5
45813 eval "$as_ac_var=no"
45815 rm -f conftest.err conftest.$ac_objext \
45816 conftest$ac_exeext conftest.$ac_ext
45818 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45819 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45820 if test `eval echo '${'$as_ac_var'}'` = yes; then
45821 cat >>confdefs.h <<_ACEOF
45822 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45823 _ACEOF
45826 done
45828 else
45830 echo "$as_me:$LINENO: checking for _expl declaration" >&5
45831 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
45832 if test x${glibcxx_cv_func__expl_use+set} != xset; then
45833 if test "${glibcxx_cv_func__expl_use+set}" = set; then
45834 echo $ECHO_N "(cached) $ECHO_C" >&6
45835 else
45839 ac_ext=cc
45840 ac_cpp='$CXXCPP $CPPFLAGS'
45841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45845 cat >conftest.$ac_ext <<_ACEOF
45846 /* confdefs.h. */
45847 _ACEOF
45848 cat confdefs.h >>conftest.$ac_ext
45849 cat >>conftest.$ac_ext <<_ACEOF
45850 /* end confdefs.h. */
45851 #include <math.h>
45852 #ifdef HAVE_IEEEFP_H
45853 #include <ieeefp.h>
45854 #endif
45857 main ()
45859 _expl(0);
45861 return 0;
45863 _ACEOF
45864 rm -f conftest.$ac_objext
45865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45866 (eval $ac_compile) 2>conftest.er1
45867 ac_status=$?
45868 grep -v '^ *+' conftest.er1 >conftest.err
45869 rm -f conftest.er1
45870 cat conftest.err >&5
45871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45872 (exit $ac_status); } &&
45873 { ac_try='test -z "$ac_cxx_werror_flag"
45874 || test ! -s conftest.err'
45875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45876 (eval $ac_try) 2>&5
45877 ac_status=$?
45878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45879 (exit $ac_status); }; } &&
45880 { ac_try='test -s conftest.$ac_objext'
45881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45882 (eval $ac_try) 2>&5
45883 ac_status=$?
45884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45885 (exit $ac_status); }; }; then
45886 glibcxx_cv_func__expl_use=yes
45887 else
45888 echo "$as_me: failed program was:" >&5
45889 sed 's/^/| /' conftest.$ac_ext >&5
45891 glibcxx_cv_func__expl_use=no
45893 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45894 ac_ext=c
45895 ac_cpp='$CPP $CPPFLAGS'
45896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45904 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
45905 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
45907 if test x$glibcxx_cv_func__expl_use = x"yes"; then
45909 for ac_func in _expl
45911 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45912 echo "$as_me:$LINENO: checking for $ac_func" >&5
45913 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45914 if eval "test \"\${$as_ac_var+set}\" = set"; then
45915 echo $ECHO_N "(cached) $ECHO_C" >&6
45916 else
45917 if test x$gcc_no_link = xyes; then
45918 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45919 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45920 { (exit 1); exit 1; }; }
45922 cat >conftest.$ac_ext <<_ACEOF
45923 /* confdefs.h. */
45924 _ACEOF
45925 cat confdefs.h >>conftest.$ac_ext
45926 cat >>conftest.$ac_ext <<_ACEOF
45927 /* end confdefs.h. */
45928 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45929 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45930 #define $ac_func innocuous_$ac_func
45932 /* System header to define __stub macros and hopefully few prototypes,
45933 which can conflict with char $ac_func (); below.
45934 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45935 <limits.h> exists even on freestanding compilers. */
45937 #ifdef __STDC__
45938 # include <limits.h>
45939 #else
45940 # include <assert.h>
45941 #endif
45943 #undef $ac_func
45945 /* Override any gcc2 internal prototype to avoid an error. */
45946 #ifdef __cplusplus
45947 extern "C"
45949 #endif
45950 /* We use char because int might match the return type of a gcc2
45951 builtin and then its argument prototype would still apply. */
45952 char $ac_func ();
45953 /* The GNU C library defines this for functions which it implements
45954 to always fail with ENOSYS. Some functions are actually named
45955 something starting with __ and the normal name is an alias. */
45956 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45957 choke me
45958 #else
45959 char (*f) () = $ac_func;
45960 #endif
45961 #ifdef __cplusplus
45963 #endif
45966 main ()
45968 return f != $ac_func;
45970 return 0;
45972 _ACEOF
45973 rm -f conftest.$ac_objext conftest$ac_exeext
45974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45975 (eval $ac_link) 2>conftest.er1
45976 ac_status=$?
45977 grep -v '^ *+' conftest.er1 >conftest.err
45978 rm -f conftest.er1
45979 cat conftest.err >&5
45980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45981 (exit $ac_status); } &&
45982 { ac_try='test -z "$ac_c_werror_flag"
45983 || test ! -s conftest.err'
45984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45985 (eval $ac_try) 2>&5
45986 ac_status=$?
45987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45988 (exit $ac_status); }; } &&
45989 { ac_try='test -s conftest$ac_exeext'
45990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45991 (eval $ac_try) 2>&5
45992 ac_status=$?
45993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45994 (exit $ac_status); }; }; then
45995 eval "$as_ac_var=yes"
45996 else
45997 echo "$as_me: failed program was:" >&5
45998 sed 's/^/| /' conftest.$ac_ext >&5
46000 eval "$as_ac_var=no"
46002 rm -f conftest.err conftest.$ac_objext \
46003 conftest$ac_exeext conftest.$ac_ext
46005 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46006 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46007 if test `eval echo '${'$as_ac_var'}'` = yes; then
46008 cat >>confdefs.h <<_ACEOF
46009 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46010 _ACEOF
46013 done
46023 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
46024 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
46025 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
46026 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
46027 echo $ECHO_N "(cached) $ECHO_C" >&6
46028 else
46032 ac_ext=cc
46033 ac_cpp='$CXXCPP $CPPFLAGS'
46034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46038 cat >conftest.$ac_ext <<_ACEOF
46039 /* confdefs.h. */
46040 _ACEOF
46041 cat confdefs.h >>conftest.$ac_ext
46042 cat >>conftest.$ac_ext <<_ACEOF
46043 /* end confdefs.h. */
46044 #include <math.h>
46045 #ifdef HAVE_IEEEFP_H
46046 #include <ieeefp.h>
46047 #endif
46050 main ()
46052 fabsl(0);
46054 return 0;
46056 _ACEOF
46057 rm -f conftest.$ac_objext
46058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46059 (eval $ac_compile) 2>conftest.er1
46060 ac_status=$?
46061 grep -v '^ *+' conftest.er1 >conftest.err
46062 rm -f conftest.er1
46063 cat conftest.err >&5
46064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46065 (exit $ac_status); } &&
46066 { ac_try='test -z "$ac_cxx_werror_flag"
46067 || test ! -s conftest.err'
46068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46069 (eval $ac_try) 2>&5
46070 ac_status=$?
46071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46072 (exit $ac_status); }; } &&
46073 { ac_try='test -s conftest.$ac_objext'
46074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46075 (eval $ac_try) 2>&5
46076 ac_status=$?
46077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46078 (exit $ac_status); }; }; then
46079 glibcxx_cv_func_fabsl_use=yes
46080 else
46081 echo "$as_me: failed program was:" >&5
46082 sed 's/^/| /' conftest.$ac_ext >&5
46084 glibcxx_cv_func_fabsl_use=no
46086 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46087 ac_ext=c
46088 ac_cpp='$CPP $CPPFLAGS'
46089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46097 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
46098 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
46100 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
46102 for ac_func in fabsl
46104 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46105 echo "$as_me:$LINENO: checking for $ac_func" >&5
46106 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46107 if eval "test \"\${$as_ac_var+set}\" = set"; then
46108 echo $ECHO_N "(cached) $ECHO_C" >&6
46109 else
46110 if test x$gcc_no_link = xyes; then
46111 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46112 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46113 { (exit 1); exit 1; }; }
46115 cat >conftest.$ac_ext <<_ACEOF
46116 /* confdefs.h. */
46117 _ACEOF
46118 cat confdefs.h >>conftest.$ac_ext
46119 cat >>conftest.$ac_ext <<_ACEOF
46120 /* end confdefs.h. */
46121 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46122 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46123 #define $ac_func innocuous_$ac_func
46125 /* System header to define __stub macros and hopefully few prototypes,
46126 which can conflict with char $ac_func (); below.
46127 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46128 <limits.h> exists even on freestanding compilers. */
46130 #ifdef __STDC__
46131 # include <limits.h>
46132 #else
46133 # include <assert.h>
46134 #endif
46136 #undef $ac_func
46138 /* Override any gcc2 internal prototype to avoid an error. */
46139 #ifdef __cplusplus
46140 extern "C"
46142 #endif
46143 /* We use char because int might match the return type of a gcc2
46144 builtin and then its argument prototype would still apply. */
46145 char $ac_func ();
46146 /* The GNU C library defines this for functions which it implements
46147 to always fail with ENOSYS. Some functions are actually named
46148 something starting with __ and the normal name is an alias. */
46149 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46150 choke me
46151 #else
46152 char (*f) () = $ac_func;
46153 #endif
46154 #ifdef __cplusplus
46156 #endif
46159 main ()
46161 return f != $ac_func;
46163 return 0;
46165 _ACEOF
46166 rm -f conftest.$ac_objext conftest$ac_exeext
46167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46168 (eval $ac_link) 2>conftest.er1
46169 ac_status=$?
46170 grep -v '^ *+' conftest.er1 >conftest.err
46171 rm -f conftest.er1
46172 cat conftest.err >&5
46173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46174 (exit $ac_status); } &&
46175 { ac_try='test -z "$ac_c_werror_flag"
46176 || test ! -s conftest.err'
46177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46178 (eval $ac_try) 2>&5
46179 ac_status=$?
46180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46181 (exit $ac_status); }; } &&
46182 { ac_try='test -s conftest$ac_exeext'
46183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46184 (eval $ac_try) 2>&5
46185 ac_status=$?
46186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46187 (exit $ac_status); }; }; then
46188 eval "$as_ac_var=yes"
46189 else
46190 echo "$as_me: failed program was:" >&5
46191 sed 's/^/| /' conftest.$ac_ext >&5
46193 eval "$as_ac_var=no"
46195 rm -f conftest.err conftest.$ac_objext \
46196 conftest$ac_exeext conftest.$ac_ext
46198 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46199 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46200 if test `eval echo '${'$as_ac_var'}'` = yes; then
46201 cat >>confdefs.h <<_ACEOF
46202 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46203 _ACEOF
46206 done
46208 else
46210 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
46211 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
46212 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
46213 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
46214 echo $ECHO_N "(cached) $ECHO_C" >&6
46215 else
46219 ac_ext=cc
46220 ac_cpp='$CXXCPP $CPPFLAGS'
46221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46225 cat >conftest.$ac_ext <<_ACEOF
46226 /* confdefs.h. */
46227 _ACEOF
46228 cat confdefs.h >>conftest.$ac_ext
46229 cat >>conftest.$ac_ext <<_ACEOF
46230 /* end confdefs.h. */
46231 #include <math.h>
46232 #ifdef HAVE_IEEEFP_H
46233 #include <ieeefp.h>
46234 #endif
46237 main ()
46239 _fabsl(0);
46241 return 0;
46243 _ACEOF
46244 rm -f conftest.$ac_objext
46245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46246 (eval $ac_compile) 2>conftest.er1
46247 ac_status=$?
46248 grep -v '^ *+' conftest.er1 >conftest.err
46249 rm -f conftest.er1
46250 cat conftest.err >&5
46251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46252 (exit $ac_status); } &&
46253 { ac_try='test -z "$ac_cxx_werror_flag"
46254 || test ! -s conftest.err'
46255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46256 (eval $ac_try) 2>&5
46257 ac_status=$?
46258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46259 (exit $ac_status); }; } &&
46260 { ac_try='test -s conftest.$ac_objext'
46261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46262 (eval $ac_try) 2>&5
46263 ac_status=$?
46264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46265 (exit $ac_status); }; }; then
46266 glibcxx_cv_func__fabsl_use=yes
46267 else
46268 echo "$as_me: failed program was:" >&5
46269 sed 's/^/| /' conftest.$ac_ext >&5
46271 glibcxx_cv_func__fabsl_use=no
46273 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46274 ac_ext=c
46275 ac_cpp='$CPP $CPPFLAGS'
46276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46284 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
46285 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
46287 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
46289 for ac_func in _fabsl
46291 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46292 echo "$as_me:$LINENO: checking for $ac_func" >&5
46293 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46294 if eval "test \"\${$as_ac_var+set}\" = set"; then
46295 echo $ECHO_N "(cached) $ECHO_C" >&6
46296 else
46297 if test x$gcc_no_link = xyes; then
46298 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46299 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46300 { (exit 1); exit 1; }; }
46302 cat >conftest.$ac_ext <<_ACEOF
46303 /* confdefs.h. */
46304 _ACEOF
46305 cat confdefs.h >>conftest.$ac_ext
46306 cat >>conftest.$ac_ext <<_ACEOF
46307 /* end confdefs.h. */
46308 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46309 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46310 #define $ac_func innocuous_$ac_func
46312 /* System header to define __stub macros and hopefully few prototypes,
46313 which can conflict with char $ac_func (); below.
46314 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46315 <limits.h> exists even on freestanding compilers. */
46317 #ifdef __STDC__
46318 # include <limits.h>
46319 #else
46320 # include <assert.h>
46321 #endif
46323 #undef $ac_func
46325 /* Override any gcc2 internal prototype to avoid an error. */
46326 #ifdef __cplusplus
46327 extern "C"
46329 #endif
46330 /* We use char because int might match the return type of a gcc2
46331 builtin and then its argument prototype would still apply. */
46332 char $ac_func ();
46333 /* The GNU C library defines this for functions which it implements
46334 to always fail with ENOSYS. Some functions are actually named
46335 something starting with __ and the normal name is an alias. */
46336 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46337 choke me
46338 #else
46339 char (*f) () = $ac_func;
46340 #endif
46341 #ifdef __cplusplus
46343 #endif
46346 main ()
46348 return f != $ac_func;
46350 return 0;
46352 _ACEOF
46353 rm -f conftest.$ac_objext conftest$ac_exeext
46354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46355 (eval $ac_link) 2>conftest.er1
46356 ac_status=$?
46357 grep -v '^ *+' conftest.er1 >conftest.err
46358 rm -f conftest.er1
46359 cat conftest.err >&5
46360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46361 (exit $ac_status); } &&
46362 { ac_try='test -z "$ac_c_werror_flag"
46363 || test ! -s conftest.err'
46364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46365 (eval $ac_try) 2>&5
46366 ac_status=$?
46367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46368 (exit $ac_status); }; } &&
46369 { ac_try='test -s conftest$ac_exeext'
46370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46371 (eval $ac_try) 2>&5
46372 ac_status=$?
46373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46374 (exit $ac_status); }; }; then
46375 eval "$as_ac_var=yes"
46376 else
46377 echo "$as_me: failed program was:" >&5
46378 sed 's/^/| /' conftest.$ac_ext >&5
46380 eval "$as_ac_var=no"
46382 rm -f conftest.err conftest.$ac_objext \
46383 conftest$ac_exeext conftest.$ac_ext
46385 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46386 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46387 if test `eval echo '${'$as_ac_var'}'` = yes; then
46388 cat >>confdefs.h <<_ACEOF
46389 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46390 _ACEOF
46393 done
46403 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
46404 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
46405 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
46406 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
46407 echo $ECHO_N "(cached) $ECHO_C" >&6
46408 else
46412 ac_ext=cc
46413 ac_cpp='$CXXCPP $CPPFLAGS'
46414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46418 cat >conftest.$ac_ext <<_ACEOF
46419 /* confdefs.h. */
46420 _ACEOF
46421 cat confdefs.h >>conftest.$ac_ext
46422 cat >>conftest.$ac_ext <<_ACEOF
46423 /* end confdefs.h. */
46424 #include <math.h>
46426 main ()
46428 fmodl(0, 0);
46430 return 0;
46432 _ACEOF
46433 rm -f conftest.$ac_objext
46434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46435 (eval $ac_compile) 2>conftest.er1
46436 ac_status=$?
46437 grep -v '^ *+' conftest.er1 >conftest.err
46438 rm -f conftest.er1
46439 cat conftest.err >&5
46440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46441 (exit $ac_status); } &&
46442 { ac_try='test -z "$ac_cxx_werror_flag"
46443 || test ! -s conftest.err'
46444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46445 (eval $ac_try) 2>&5
46446 ac_status=$?
46447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46448 (exit $ac_status); }; } &&
46449 { ac_try='test -s conftest.$ac_objext'
46450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46451 (eval $ac_try) 2>&5
46452 ac_status=$?
46453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46454 (exit $ac_status); }; }; then
46455 glibcxx_cv_func_fmodl_use=yes
46456 else
46457 echo "$as_me: failed program was:" >&5
46458 sed 's/^/| /' conftest.$ac_ext >&5
46460 glibcxx_cv_func_fmodl_use=no
46462 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46463 ac_ext=c
46464 ac_cpp='$CPP $CPPFLAGS'
46465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46473 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
46474 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
46476 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
46478 for ac_func in fmodl
46480 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46481 echo "$as_me:$LINENO: checking for $ac_func" >&5
46482 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46483 if eval "test \"\${$as_ac_var+set}\" = set"; then
46484 echo $ECHO_N "(cached) $ECHO_C" >&6
46485 else
46486 if test x$gcc_no_link = xyes; then
46487 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46488 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46489 { (exit 1); exit 1; }; }
46491 cat >conftest.$ac_ext <<_ACEOF
46492 /* confdefs.h. */
46493 _ACEOF
46494 cat confdefs.h >>conftest.$ac_ext
46495 cat >>conftest.$ac_ext <<_ACEOF
46496 /* end confdefs.h. */
46497 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46498 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46499 #define $ac_func innocuous_$ac_func
46501 /* System header to define __stub macros and hopefully few prototypes,
46502 which can conflict with char $ac_func (); below.
46503 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46504 <limits.h> exists even on freestanding compilers. */
46506 #ifdef __STDC__
46507 # include <limits.h>
46508 #else
46509 # include <assert.h>
46510 #endif
46512 #undef $ac_func
46514 /* Override any gcc2 internal prototype to avoid an error. */
46515 #ifdef __cplusplus
46516 extern "C"
46518 #endif
46519 /* We use char because int might match the return type of a gcc2
46520 builtin and then its argument prototype would still apply. */
46521 char $ac_func ();
46522 /* The GNU C library defines this for functions which it implements
46523 to always fail with ENOSYS. Some functions are actually named
46524 something starting with __ and the normal name is an alias. */
46525 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46526 choke me
46527 #else
46528 char (*f) () = $ac_func;
46529 #endif
46530 #ifdef __cplusplus
46532 #endif
46535 main ()
46537 return f != $ac_func;
46539 return 0;
46541 _ACEOF
46542 rm -f conftest.$ac_objext conftest$ac_exeext
46543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46544 (eval $ac_link) 2>conftest.er1
46545 ac_status=$?
46546 grep -v '^ *+' conftest.er1 >conftest.err
46547 rm -f conftest.er1
46548 cat conftest.err >&5
46549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46550 (exit $ac_status); } &&
46551 { ac_try='test -z "$ac_c_werror_flag"
46552 || test ! -s conftest.err'
46553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46554 (eval $ac_try) 2>&5
46555 ac_status=$?
46556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46557 (exit $ac_status); }; } &&
46558 { ac_try='test -s conftest$ac_exeext'
46559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46560 (eval $ac_try) 2>&5
46561 ac_status=$?
46562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46563 (exit $ac_status); }; }; then
46564 eval "$as_ac_var=yes"
46565 else
46566 echo "$as_me: failed program was:" >&5
46567 sed 's/^/| /' conftest.$ac_ext >&5
46569 eval "$as_ac_var=no"
46571 rm -f conftest.err conftest.$ac_objext \
46572 conftest$ac_exeext conftest.$ac_ext
46574 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46575 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46576 if test `eval echo '${'$as_ac_var'}'` = yes; then
46577 cat >>confdefs.h <<_ACEOF
46578 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46579 _ACEOF
46582 done
46584 else
46586 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
46587 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
46588 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
46589 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
46590 echo $ECHO_N "(cached) $ECHO_C" >&6
46591 else
46595 ac_ext=cc
46596 ac_cpp='$CXXCPP $CPPFLAGS'
46597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46601 cat >conftest.$ac_ext <<_ACEOF
46602 /* confdefs.h. */
46603 _ACEOF
46604 cat confdefs.h >>conftest.$ac_ext
46605 cat >>conftest.$ac_ext <<_ACEOF
46606 /* end confdefs.h. */
46607 #include <math.h>
46609 main ()
46611 _fmodl(0, 0);
46613 return 0;
46615 _ACEOF
46616 rm -f conftest.$ac_objext
46617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46618 (eval $ac_compile) 2>conftest.er1
46619 ac_status=$?
46620 grep -v '^ *+' conftest.er1 >conftest.err
46621 rm -f conftest.er1
46622 cat conftest.err >&5
46623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46624 (exit $ac_status); } &&
46625 { ac_try='test -z "$ac_cxx_werror_flag"
46626 || test ! -s conftest.err'
46627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46628 (eval $ac_try) 2>&5
46629 ac_status=$?
46630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46631 (exit $ac_status); }; } &&
46632 { ac_try='test -s conftest.$ac_objext'
46633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46634 (eval $ac_try) 2>&5
46635 ac_status=$?
46636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46637 (exit $ac_status); }; }; then
46638 glibcxx_cv_func__fmodl_use=yes
46639 else
46640 echo "$as_me: failed program was:" >&5
46641 sed 's/^/| /' conftest.$ac_ext >&5
46643 glibcxx_cv_func__fmodl_use=no
46645 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46646 ac_ext=c
46647 ac_cpp='$CPP $CPPFLAGS'
46648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46656 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
46657 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
46659 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
46661 for ac_func in _fmodl
46663 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46664 echo "$as_me:$LINENO: checking for $ac_func" >&5
46665 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46666 if eval "test \"\${$as_ac_var+set}\" = set"; then
46667 echo $ECHO_N "(cached) $ECHO_C" >&6
46668 else
46669 if test x$gcc_no_link = xyes; then
46670 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46671 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46672 { (exit 1); exit 1; }; }
46674 cat >conftest.$ac_ext <<_ACEOF
46675 /* confdefs.h. */
46676 _ACEOF
46677 cat confdefs.h >>conftest.$ac_ext
46678 cat >>conftest.$ac_ext <<_ACEOF
46679 /* end confdefs.h. */
46680 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46681 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46682 #define $ac_func innocuous_$ac_func
46684 /* System header to define __stub macros and hopefully few prototypes,
46685 which can conflict with char $ac_func (); below.
46686 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46687 <limits.h> exists even on freestanding compilers. */
46689 #ifdef __STDC__
46690 # include <limits.h>
46691 #else
46692 # include <assert.h>
46693 #endif
46695 #undef $ac_func
46697 /* Override any gcc2 internal prototype to avoid an error. */
46698 #ifdef __cplusplus
46699 extern "C"
46701 #endif
46702 /* We use char because int might match the return type of a gcc2
46703 builtin and then its argument prototype would still apply. */
46704 char $ac_func ();
46705 /* The GNU C library defines this for functions which it implements
46706 to always fail with ENOSYS. Some functions are actually named
46707 something starting with __ and the normal name is an alias. */
46708 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46709 choke me
46710 #else
46711 char (*f) () = $ac_func;
46712 #endif
46713 #ifdef __cplusplus
46715 #endif
46718 main ()
46720 return f != $ac_func;
46722 return 0;
46724 _ACEOF
46725 rm -f conftest.$ac_objext conftest$ac_exeext
46726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46727 (eval $ac_link) 2>conftest.er1
46728 ac_status=$?
46729 grep -v '^ *+' conftest.er1 >conftest.err
46730 rm -f conftest.er1
46731 cat conftest.err >&5
46732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46733 (exit $ac_status); } &&
46734 { ac_try='test -z "$ac_c_werror_flag"
46735 || test ! -s conftest.err'
46736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46737 (eval $ac_try) 2>&5
46738 ac_status=$?
46739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46740 (exit $ac_status); }; } &&
46741 { ac_try='test -s conftest$ac_exeext'
46742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46743 (eval $ac_try) 2>&5
46744 ac_status=$?
46745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46746 (exit $ac_status); }; }; then
46747 eval "$as_ac_var=yes"
46748 else
46749 echo "$as_me: failed program was:" >&5
46750 sed 's/^/| /' conftest.$ac_ext >&5
46752 eval "$as_ac_var=no"
46754 rm -f conftest.err conftest.$ac_objext \
46755 conftest$ac_exeext conftest.$ac_ext
46757 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46758 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46759 if test `eval echo '${'$as_ac_var'}'` = yes; then
46760 cat >>confdefs.h <<_ACEOF
46761 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46762 _ACEOF
46765 done
46775 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
46776 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
46777 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
46778 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
46779 echo $ECHO_N "(cached) $ECHO_C" >&6
46780 else
46784 ac_ext=cc
46785 ac_cpp='$CXXCPP $CPPFLAGS'
46786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46790 cat >conftest.$ac_ext <<_ACEOF
46791 /* confdefs.h. */
46792 _ACEOF
46793 cat confdefs.h >>conftest.$ac_ext
46794 cat >>conftest.$ac_ext <<_ACEOF
46795 /* end confdefs.h. */
46796 #include <math.h>
46798 main ()
46800 frexpl(0, 0);
46802 return 0;
46804 _ACEOF
46805 rm -f conftest.$ac_objext
46806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46807 (eval $ac_compile) 2>conftest.er1
46808 ac_status=$?
46809 grep -v '^ *+' conftest.er1 >conftest.err
46810 rm -f conftest.er1
46811 cat conftest.err >&5
46812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46813 (exit $ac_status); } &&
46814 { ac_try='test -z "$ac_cxx_werror_flag"
46815 || test ! -s conftest.err'
46816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46817 (eval $ac_try) 2>&5
46818 ac_status=$?
46819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46820 (exit $ac_status); }; } &&
46821 { ac_try='test -s conftest.$ac_objext'
46822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46823 (eval $ac_try) 2>&5
46824 ac_status=$?
46825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46826 (exit $ac_status); }; }; then
46827 glibcxx_cv_func_frexpl_use=yes
46828 else
46829 echo "$as_me: failed program was:" >&5
46830 sed 's/^/| /' conftest.$ac_ext >&5
46832 glibcxx_cv_func_frexpl_use=no
46834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46835 ac_ext=c
46836 ac_cpp='$CPP $CPPFLAGS'
46837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46845 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
46846 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
46848 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
46850 for ac_func in frexpl
46852 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46853 echo "$as_me:$LINENO: checking for $ac_func" >&5
46854 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46855 if eval "test \"\${$as_ac_var+set}\" = set"; then
46856 echo $ECHO_N "(cached) $ECHO_C" >&6
46857 else
46858 if test x$gcc_no_link = xyes; then
46859 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46860 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46861 { (exit 1); exit 1; }; }
46863 cat >conftest.$ac_ext <<_ACEOF
46864 /* confdefs.h. */
46865 _ACEOF
46866 cat confdefs.h >>conftest.$ac_ext
46867 cat >>conftest.$ac_ext <<_ACEOF
46868 /* end confdefs.h. */
46869 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46870 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46871 #define $ac_func innocuous_$ac_func
46873 /* System header to define __stub macros and hopefully few prototypes,
46874 which can conflict with char $ac_func (); below.
46875 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46876 <limits.h> exists even on freestanding compilers. */
46878 #ifdef __STDC__
46879 # include <limits.h>
46880 #else
46881 # include <assert.h>
46882 #endif
46884 #undef $ac_func
46886 /* Override any gcc2 internal prototype to avoid an error. */
46887 #ifdef __cplusplus
46888 extern "C"
46890 #endif
46891 /* We use char because int might match the return type of a gcc2
46892 builtin and then its argument prototype would still apply. */
46893 char $ac_func ();
46894 /* The GNU C library defines this for functions which it implements
46895 to always fail with ENOSYS. Some functions are actually named
46896 something starting with __ and the normal name is an alias. */
46897 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46898 choke me
46899 #else
46900 char (*f) () = $ac_func;
46901 #endif
46902 #ifdef __cplusplus
46904 #endif
46907 main ()
46909 return f != $ac_func;
46911 return 0;
46913 _ACEOF
46914 rm -f conftest.$ac_objext conftest$ac_exeext
46915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46916 (eval $ac_link) 2>conftest.er1
46917 ac_status=$?
46918 grep -v '^ *+' conftest.er1 >conftest.err
46919 rm -f conftest.er1
46920 cat conftest.err >&5
46921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46922 (exit $ac_status); } &&
46923 { ac_try='test -z "$ac_c_werror_flag"
46924 || test ! -s conftest.err'
46925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46926 (eval $ac_try) 2>&5
46927 ac_status=$?
46928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46929 (exit $ac_status); }; } &&
46930 { ac_try='test -s conftest$ac_exeext'
46931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46932 (eval $ac_try) 2>&5
46933 ac_status=$?
46934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46935 (exit $ac_status); }; }; then
46936 eval "$as_ac_var=yes"
46937 else
46938 echo "$as_me: failed program was:" >&5
46939 sed 's/^/| /' conftest.$ac_ext >&5
46941 eval "$as_ac_var=no"
46943 rm -f conftest.err conftest.$ac_objext \
46944 conftest$ac_exeext conftest.$ac_ext
46946 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46947 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46948 if test `eval echo '${'$as_ac_var'}'` = yes; then
46949 cat >>confdefs.h <<_ACEOF
46950 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46951 _ACEOF
46954 done
46956 else
46958 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
46959 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
46960 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
46961 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
46962 echo $ECHO_N "(cached) $ECHO_C" >&6
46963 else
46967 ac_ext=cc
46968 ac_cpp='$CXXCPP $CPPFLAGS'
46969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46973 cat >conftest.$ac_ext <<_ACEOF
46974 /* confdefs.h. */
46975 _ACEOF
46976 cat confdefs.h >>conftest.$ac_ext
46977 cat >>conftest.$ac_ext <<_ACEOF
46978 /* end confdefs.h. */
46979 #include <math.h>
46981 main ()
46983 _frexpl(0, 0);
46985 return 0;
46987 _ACEOF
46988 rm -f conftest.$ac_objext
46989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46990 (eval $ac_compile) 2>conftest.er1
46991 ac_status=$?
46992 grep -v '^ *+' conftest.er1 >conftest.err
46993 rm -f conftest.er1
46994 cat conftest.err >&5
46995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46996 (exit $ac_status); } &&
46997 { ac_try='test -z "$ac_cxx_werror_flag"
46998 || test ! -s conftest.err'
46999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47000 (eval $ac_try) 2>&5
47001 ac_status=$?
47002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47003 (exit $ac_status); }; } &&
47004 { ac_try='test -s conftest.$ac_objext'
47005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47006 (eval $ac_try) 2>&5
47007 ac_status=$?
47008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47009 (exit $ac_status); }; }; then
47010 glibcxx_cv_func__frexpl_use=yes
47011 else
47012 echo "$as_me: failed program was:" >&5
47013 sed 's/^/| /' conftest.$ac_ext >&5
47015 glibcxx_cv_func__frexpl_use=no
47017 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47018 ac_ext=c
47019 ac_cpp='$CPP $CPPFLAGS'
47020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47028 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
47029 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
47031 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
47033 for ac_func in _frexpl
47035 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47036 echo "$as_me:$LINENO: checking for $ac_func" >&5
47037 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47038 if eval "test \"\${$as_ac_var+set}\" = set"; then
47039 echo $ECHO_N "(cached) $ECHO_C" >&6
47040 else
47041 if test x$gcc_no_link = xyes; then
47042 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47043 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47044 { (exit 1); exit 1; }; }
47046 cat >conftest.$ac_ext <<_ACEOF
47047 /* confdefs.h. */
47048 _ACEOF
47049 cat confdefs.h >>conftest.$ac_ext
47050 cat >>conftest.$ac_ext <<_ACEOF
47051 /* end confdefs.h. */
47052 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47053 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47054 #define $ac_func innocuous_$ac_func
47056 /* System header to define __stub macros and hopefully few prototypes,
47057 which can conflict with char $ac_func (); below.
47058 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47059 <limits.h> exists even on freestanding compilers. */
47061 #ifdef __STDC__
47062 # include <limits.h>
47063 #else
47064 # include <assert.h>
47065 #endif
47067 #undef $ac_func
47069 /* Override any gcc2 internal prototype to avoid an error. */
47070 #ifdef __cplusplus
47071 extern "C"
47073 #endif
47074 /* We use char because int might match the return type of a gcc2
47075 builtin and then its argument prototype would still apply. */
47076 char $ac_func ();
47077 /* The GNU C library defines this for functions which it implements
47078 to always fail with ENOSYS. Some functions are actually named
47079 something starting with __ and the normal name is an alias. */
47080 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47081 choke me
47082 #else
47083 char (*f) () = $ac_func;
47084 #endif
47085 #ifdef __cplusplus
47087 #endif
47090 main ()
47092 return f != $ac_func;
47094 return 0;
47096 _ACEOF
47097 rm -f conftest.$ac_objext conftest$ac_exeext
47098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47099 (eval $ac_link) 2>conftest.er1
47100 ac_status=$?
47101 grep -v '^ *+' conftest.er1 >conftest.err
47102 rm -f conftest.er1
47103 cat conftest.err >&5
47104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47105 (exit $ac_status); } &&
47106 { ac_try='test -z "$ac_c_werror_flag"
47107 || test ! -s conftest.err'
47108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47109 (eval $ac_try) 2>&5
47110 ac_status=$?
47111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47112 (exit $ac_status); }; } &&
47113 { ac_try='test -s conftest$ac_exeext'
47114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47115 (eval $ac_try) 2>&5
47116 ac_status=$?
47117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47118 (exit $ac_status); }; }; then
47119 eval "$as_ac_var=yes"
47120 else
47121 echo "$as_me: failed program was:" >&5
47122 sed 's/^/| /' conftest.$ac_ext >&5
47124 eval "$as_ac_var=no"
47126 rm -f conftest.err conftest.$ac_objext \
47127 conftest$ac_exeext conftest.$ac_ext
47129 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47130 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47131 if test `eval echo '${'$as_ac_var'}'` = yes; then
47132 cat >>confdefs.h <<_ACEOF
47133 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47134 _ACEOF
47137 done
47147 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
47148 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
47149 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
47150 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
47151 echo $ECHO_N "(cached) $ECHO_C" >&6
47152 else
47156 ac_ext=cc
47157 ac_cpp='$CXXCPP $CPPFLAGS'
47158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47162 cat >conftest.$ac_ext <<_ACEOF
47163 /* confdefs.h. */
47164 _ACEOF
47165 cat confdefs.h >>conftest.$ac_ext
47166 cat >>conftest.$ac_ext <<_ACEOF
47167 /* end confdefs.h. */
47168 #include <math.h>
47170 main ()
47172 hypotl(0, 0);
47174 return 0;
47176 _ACEOF
47177 rm -f conftest.$ac_objext
47178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47179 (eval $ac_compile) 2>conftest.er1
47180 ac_status=$?
47181 grep -v '^ *+' conftest.er1 >conftest.err
47182 rm -f conftest.er1
47183 cat conftest.err >&5
47184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47185 (exit $ac_status); } &&
47186 { ac_try='test -z "$ac_cxx_werror_flag"
47187 || test ! -s conftest.err'
47188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47189 (eval $ac_try) 2>&5
47190 ac_status=$?
47191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47192 (exit $ac_status); }; } &&
47193 { ac_try='test -s conftest.$ac_objext'
47194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47195 (eval $ac_try) 2>&5
47196 ac_status=$?
47197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47198 (exit $ac_status); }; }; then
47199 glibcxx_cv_func_hypotl_use=yes
47200 else
47201 echo "$as_me: failed program was:" >&5
47202 sed 's/^/| /' conftest.$ac_ext >&5
47204 glibcxx_cv_func_hypotl_use=no
47206 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47207 ac_ext=c
47208 ac_cpp='$CPP $CPPFLAGS'
47209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47217 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
47218 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
47220 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
47222 for ac_func in hypotl
47224 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47225 echo "$as_me:$LINENO: checking for $ac_func" >&5
47226 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47227 if eval "test \"\${$as_ac_var+set}\" = set"; then
47228 echo $ECHO_N "(cached) $ECHO_C" >&6
47229 else
47230 if test x$gcc_no_link = xyes; then
47231 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47232 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47233 { (exit 1); exit 1; }; }
47235 cat >conftest.$ac_ext <<_ACEOF
47236 /* confdefs.h. */
47237 _ACEOF
47238 cat confdefs.h >>conftest.$ac_ext
47239 cat >>conftest.$ac_ext <<_ACEOF
47240 /* end confdefs.h. */
47241 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47242 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47243 #define $ac_func innocuous_$ac_func
47245 /* System header to define __stub macros and hopefully few prototypes,
47246 which can conflict with char $ac_func (); below.
47247 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47248 <limits.h> exists even on freestanding compilers. */
47250 #ifdef __STDC__
47251 # include <limits.h>
47252 #else
47253 # include <assert.h>
47254 #endif
47256 #undef $ac_func
47258 /* Override any gcc2 internal prototype to avoid an error. */
47259 #ifdef __cplusplus
47260 extern "C"
47262 #endif
47263 /* We use char because int might match the return type of a gcc2
47264 builtin and then its argument prototype would still apply. */
47265 char $ac_func ();
47266 /* The GNU C library defines this for functions which it implements
47267 to always fail with ENOSYS. Some functions are actually named
47268 something starting with __ and the normal name is an alias. */
47269 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47270 choke me
47271 #else
47272 char (*f) () = $ac_func;
47273 #endif
47274 #ifdef __cplusplus
47276 #endif
47279 main ()
47281 return f != $ac_func;
47283 return 0;
47285 _ACEOF
47286 rm -f conftest.$ac_objext conftest$ac_exeext
47287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47288 (eval $ac_link) 2>conftest.er1
47289 ac_status=$?
47290 grep -v '^ *+' conftest.er1 >conftest.err
47291 rm -f conftest.er1
47292 cat conftest.err >&5
47293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47294 (exit $ac_status); } &&
47295 { ac_try='test -z "$ac_c_werror_flag"
47296 || test ! -s conftest.err'
47297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47298 (eval $ac_try) 2>&5
47299 ac_status=$?
47300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47301 (exit $ac_status); }; } &&
47302 { ac_try='test -s conftest$ac_exeext'
47303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47304 (eval $ac_try) 2>&5
47305 ac_status=$?
47306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47307 (exit $ac_status); }; }; then
47308 eval "$as_ac_var=yes"
47309 else
47310 echo "$as_me: failed program was:" >&5
47311 sed 's/^/| /' conftest.$ac_ext >&5
47313 eval "$as_ac_var=no"
47315 rm -f conftest.err conftest.$ac_objext \
47316 conftest$ac_exeext conftest.$ac_ext
47318 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47319 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47320 if test `eval echo '${'$as_ac_var'}'` = yes; then
47321 cat >>confdefs.h <<_ACEOF
47322 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47323 _ACEOF
47326 done
47328 else
47330 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
47331 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
47332 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
47333 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
47334 echo $ECHO_N "(cached) $ECHO_C" >&6
47335 else
47339 ac_ext=cc
47340 ac_cpp='$CXXCPP $CPPFLAGS'
47341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47345 cat >conftest.$ac_ext <<_ACEOF
47346 /* confdefs.h. */
47347 _ACEOF
47348 cat confdefs.h >>conftest.$ac_ext
47349 cat >>conftest.$ac_ext <<_ACEOF
47350 /* end confdefs.h. */
47351 #include <math.h>
47353 main ()
47355 _hypotl(0, 0);
47357 return 0;
47359 _ACEOF
47360 rm -f conftest.$ac_objext
47361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47362 (eval $ac_compile) 2>conftest.er1
47363 ac_status=$?
47364 grep -v '^ *+' conftest.er1 >conftest.err
47365 rm -f conftest.er1
47366 cat conftest.err >&5
47367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47368 (exit $ac_status); } &&
47369 { ac_try='test -z "$ac_cxx_werror_flag"
47370 || test ! -s conftest.err'
47371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47372 (eval $ac_try) 2>&5
47373 ac_status=$?
47374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47375 (exit $ac_status); }; } &&
47376 { ac_try='test -s conftest.$ac_objext'
47377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47378 (eval $ac_try) 2>&5
47379 ac_status=$?
47380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47381 (exit $ac_status); }; }; then
47382 glibcxx_cv_func__hypotl_use=yes
47383 else
47384 echo "$as_me: failed program was:" >&5
47385 sed 's/^/| /' conftest.$ac_ext >&5
47387 glibcxx_cv_func__hypotl_use=no
47389 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47390 ac_ext=c
47391 ac_cpp='$CPP $CPPFLAGS'
47392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47400 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
47401 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
47403 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
47405 for ac_func in _hypotl
47407 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47408 echo "$as_me:$LINENO: checking for $ac_func" >&5
47409 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47410 if eval "test \"\${$as_ac_var+set}\" = set"; then
47411 echo $ECHO_N "(cached) $ECHO_C" >&6
47412 else
47413 if test x$gcc_no_link = xyes; then
47414 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47415 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47416 { (exit 1); exit 1; }; }
47418 cat >conftest.$ac_ext <<_ACEOF
47419 /* confdefs.h. */
47420 _ACEOF
47421 cat confdefs.h >>conftest.$ac_ext
47422 cat >>conftest.$ac_ext <<_ACEOF
47423 /* end confdefs.h. */
47424 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47425 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47426 #define $ac_func innocuous_$ac_func
47428 /* System header to define __stub macros and hopefully few prototypes,
47429 which can conflict with char $ac_func (); below.
47430 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47431 <limits.h> exists even on freestanding compilers. */
47433 #ifdef __STDC__
47434 # include <limits.h>
47435 #else
47436 # include <assert.h>
47437 #endif
47439 #undef $ac_func
47441 /* Override any gcc2 internal prototype to avoid an error. */
47442 #ifdef __cplusplus
47443 extern "C"
47445 #endif
47446 /* We use char because int might match the return type of a gcc2
47447 builtin and then its argument prototype would still apply. */
47448 char $ac_func ();
47449 /* The GNU C library defines this for functions which it implements
47450 to always fail with ENOSYS. Some functions are actually named
47451 something starting with __ and the normal name is an alias. */
47452 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47453 choke me
47454 #else
47455 char (*f) () = $ac_func;
47456 #endif
47457 #ifdef __cplusplus
47459 #endif
47462 main ()
47464 return f != $ac_func;
47466 return 0;
47468 _ACEOF
47469 rm -f conftest.$ac_objext conftest$ac_exeext
47470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47471 (eval $ac_link) 2>conftest.er1
47472 ac_status=$?
47473 grep -v '^ *+' conftest.er1 >conftest.err
47474 rm -f conftest.er1
47475 cat conftest.err >&5
47476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47477 (exit $ac_status); } &&
47478 { ac_try='test -z "$ac_c_werror_flag"
47479 || test ! -s conftest.err'
47480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47481 (eval $ac_try) 2>&5
47482 ac_status=$?
47483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47484 (exit $ac_status); }; } &&
47485 { ac_try='test -s conftest$ac_exeext'
47486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47487 (eval $ac_try) 2>&5
47488 ac_status=$?
47489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47490 (exit $ac_status); }; }; then
47491 eval "$as_ac_var=yes"
47492 else
47493 echo "$as_me: failed program was:" >&5
47494 sed 's/^/| /' conftest.$ac_ext >&5
47496 eval "$as_ac_var=no"
47498 rm -f conftest.err conftest.$ac_objext \
47499 conftest$ac_exeext conftest.$ac_ext
47501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47502 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47503 if test `eval echo '${'$as_ac_var'}'` = yes; then
47504 cat >>confdefs.h <<_ACEOF
47505 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47506 _ACEOF
47509 done
47519 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
47520 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
47521 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
47522 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
47523 echo $ECHO_N "(cached) $ECHO_C" >&6
47524 else
47528 ac_ext=cc
47529 ac_cpp='$CXXCPP $CPPFLAGS'
47530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47534 cat >conftest.$ac_ext <<_ACEOF
47535 /* confdefs.h. */
47536 _ACEOF
47537 cat confdefs.h >>conftest.$ac_ext
47538 cat >>conftest.$ac_ext <<_ACEOF
47539 /* end confdefs.h. */
47540 #include <math.h>
47542 main ()
47544 ldexpl(0, 0);
47546 return 0;
47548 _ACEOF
47549 rm -f conftest.$ac_objext
47550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47551 (eval $ac_compile) 2>conftest.er1
47552 ac_status=$?
47553 grep -v '^ *+' conftest.er1 >conftest.err
47554 rm -f conftest.er1
47555 cat conftest.err >&5
47556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47557 (exit $ac_status); } &&
47558 { ac_try='test -z "$ac_cxx_werror_flag"
47559 || test ! -s conftest.err'
47560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47561 (eval $ac_try) 2>&5
47562 ac_status=$?
47563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47564 (exit $ac_status); }; } &&
47565 { ac_try='test -s conftest.$ac_objext'
47566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47567 (eval $ac_try) 2>&5
47568 ac_status=$?
47569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47570 (exit $ac_status); }; }; then
47571 glibcxx_cv_func_ldexpl_use=yes
47572 else
47573 echo "$as_me: failed program was:" >&5
47574 sed 's/^/| /' conftest.$ac_ext >&5
47576 glibcxx_cv_func_ldexpl_use=no
47578 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47579 ac_ext=c
47580 ac_cpp='$CPP $CPPFLAGS'
47581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47589 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
47590 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
47592 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
47594 for ac_func in ldexpl
47596 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47597 echo "$as_me:$LINENO: checking for $ac_func" >&5
47598 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47599 if eval "test \"\${$as_ac_var+set}\" = set"; then
47600 echo $ECHO_N "(cached) $ECHO_C" >&6
47601 else
47602 if test x$gcc_no_link = xyes; then
47603 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47604 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47605 { (exit 1); exit 1; }; }
47607 cat >conftest.$ac_ext <<_ACEOF
47608 /* confdefs.h. */
47609 _ACEOF
47610 cat confdefs.h >>conftest.$ac_ext
47611 cat >>conftest.$ac_ext <<_ACEOF
47612 /* end confdefs.h. */
47613 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47614 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47615 #define $ac_func innocuous_$ac_func
47617 /* System header to define __stub macros and hopefully few prototypes,
47618 which can conflict with char $ac_func (); below.
47619 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47620 <limits.h> exists even on freestanding compilers. */
47622 #ifdef __STDC__
47623 # include <limits.h>
47624 #else
47625 # include <assert.h>
47626 #endif
47628 #undef $ac_func
47630 /* Override any gcc2 internal prototype to avoid an error. */
47631 #ifdef __cplusplus
47632 extern "C"
47634 #endif
47635 /* We use char because int might match the return type of a gcc2
47636 builtin and then its argument prototype would still apply. */
47637 char $ac_func ();
47638 /* The GNU C library defines this for functions which it implements
47639 to always fail with ENOSYS. Some functions are actually named
47640 something starting with __ and the normal name is an alias. */
47641 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47642 choke me
47643 #else
47644 char (*f) () = $ac_func;
47645 #endif
47646 #ifdef __cplusplus
47648 #endif
47651 main ()
47653 return f != $ac_func;
47655 return 0;
47657 _ACEOF
47658 rm -f conftest.$ac_objext conftest$ac_exeext
47659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47660 (eval $ac_link) 2>conftest.er1
47661 ac_status=$?
47662 grep -v '^ *+' conftest.er1 >conftest.err
47663 rm -f conftest.er1
47664 cat conftest.err >&5
47665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47666 (exit $ac_status); } &&
47667 { ac_try='test -z "$ac_c_werror_flag"
47668 || test ! -s conftest.err'
47669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47670 (eval $ac_try) 2>&5
47671 ac_status=$?
47672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47673 (exit $ac_status); }; } &&
47674 { ac_try='test -s conftest$ac_exeext'
47675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47676 (eval $ac_try) 2>&5
47677 ac_status=$?
47678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47679 (exit $ac_status); }; }; then
47680 eval "$as_ac_var=yes"
47681 else
47682 echo "$as_me: failed program was:" >&5
47683 sed 's/^/| /' conftest.$ac_ext >&5
47685 eval "$as_ac_var=no"
47687 rm -f conftest.err conftest.$ac_objext \
47688 conftest$ac_exeext conftest.$ac_ext
47690 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47691 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47692 if test `eval echo '${'$as_ac_var'}'` = yes; then
47693 cat >>confdefs.h <<_ACEOF
47694 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47695 _ACEOF
47698 done
47700 else
47702 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
47703 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
47704 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
47705 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
47706 echo $ECHO_N "(cached) $ECHO_C" >&6
47707 else
47711 ac_ext=cc
47712 ac_cpp='$CXXCPP $CPPFLAGS'
47713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47717 cat >conftest.$ac_ext <<_ACEOF
47718 /* confdefs.h. */
47719 _ACEOF
47720 cat confdefs.h >>conftest.$ac_ext
47721 cat >>conftest.$ac_ext <<_ACEOF
47722 /* end confdefs.h. */
47723 #include <math.h>
47725 main ()
47727 _ldexpl(0, 0);
47729 return 0;
47731 _ACEOF
47732 rm -f conftest.$ac_objext
47733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47734 (eval $ac_compile) 2>conftest.er1
47735 ac_status=$?
47736 grep -v '^ *+' conftest.er1 >conftest.err
47737 rm -f conftest.er1
47738 cat conftest.err >&5
47739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47740 (exit $ac_status); } &&
47741 { ac_try='test -z "$ac_cxx_werror_flag"
47742 || test ! -s conftest.err'
47743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47744 (eval $ac_try) 2>&5
47745 ac_status=$?
47746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47747 (exit $ac_status); }; } &&
47748 { ac_try='test -s conftest.$ac_objext'
47749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47750 (eval $ac_try) 2>&5
47751 ac_status=$?
47752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47753 (exit $ac_status); }; }; then
47754 glibcxx_cv_func__ldexpl_use=yes
47755 else
47756 echo "$as_me: failed program was:" >&5
47757 sed 's/^/| /' conftest.$ac_ext >&5
47759 glibcxx_cv_func__ldexpl_use=no
47761 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47762 ac_ext=c
47763 ac_cpp='$CPP $CPPFLAGS'
47764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47772 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
47773 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
47775 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
47777 for ac_func in _ldexpl
47779 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47780 echo "$as_me:$LINENO: checking for $ac_func" >&5
47781 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47782 if eval "test \"\${$as_ac_var+set}\" = set"; then
47783 echo $ECHO_N "(cached) $ECHO_C" >&6
47784 else
47785 if test x$gcc_no_link = xyes; then
47786 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47787 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47788 { (exit 1); exit 1; }; }
47790 cat >conftest.$ac_ext <<_ACEOF
47791 /* confdefs.h. */
47792 _ACEOF
47793 cat confdefs.h >>conftest.$ac_ext
47794 cat >>conftest.$ac_ext <<_ACEOF
47795 /* end confdefs.h. */
47796 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47797 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47798 #define $ac_func innocuous_$ac_func
47800 /* System header to define __stub macros and hopefully few prototypes,
47801 which can conflict with char $ac_func (); below.
47802 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47803 <limits.h> exists even on freestanding compilers. */
47805 #ifdef __STDC__
47806 # include <limits.h>
47807 #else
47808 # include <assert.h>
47809 #endif
47811 #undef $ac_func
47813 /* Override any gcc2 internal prototype to avoid an error. */
47814 #ifdef __cplusplus
47815 extern "C"
47817 #endif
47818 /* We use char because int might match the return type of a gcc2
47819 builtin and then its argument prototype would still apply. */
47820 char $ac_func ();
47821 /* The GNU C library defines this for functions which it implements
47822 to always fail with ENOSYS. Some functions are actually named
47823 something starting with __ and the normal name is an alias. */
47824 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47825 choke me
47826 #else
47827 char (*f) () = $ac_func;
47828 #endif
47829 #ifdef __cplusplus
47831 #endif
47834 main ()
47836 return f != $ac_func;
47838 return 0;
47840 _ACEOF
47841 rm -f conftest.$ac_objext conftest$ac_exeext
47842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47843 (eval $ac_link) 2>conftest.er1
47844 ac_status=$?
47845 grep -v '^ *+' conftest.er1 >conftest.err
47846 rm -f conftest.er1
47847 cat conftest.err >&5
47848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47849 (exit $ac_status); } &&
47850 { ac_try='test -z "$ac_c_werror_flag"
47851 || test ! -s conftest.err'
47852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47853 (eval $ac_try) 2>&5
47854 ac_status=$?
47855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47856 (exit $ac_status); }; } &&
47857 { ac_try='test -s conftest$ac_exeext'
47858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47859 (eval $ac_try) 2>&5
47860 ac_status=$?
47861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47862 (exit $ac_status); }; }; then
47863 eval "$as_ac_var=yes"
47864 else
47865 echo "$as_me: failed program was:" >&5
47866 sed 's/^/| /' conftest.$ac_ext >&5
47868 eval "$as_ac_var=no"
47870 rm -f conftest.err conftest.$ac_objext \
47871 conftest$ac_exeext conftest.$ac_ext
47873 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47874 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47875 if test `eval echo '${'$as_ac_var'}'` = yes; then
47876 cat >>confdefs.h <<_ACEOF
47877 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47878 _ACEOF
47881 done
47891 echo "$as_me:$LINENO: checking for logl declaration" >&5
47892 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
47893 if test x${glibcxx_cv_func_logl_use+set} != xset; then
47894 if test "${glibcxx_cv_func_logl_use+set}" = set; then
47895 echo $ECHO_N "(cached) $ECHO_C" >&6
47896 else
47900 ac_ext=cc
47901 ac_cpp='$CXXCPP $CPPFLAGS'
47902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47906 cat >conftest.$ac_ext <<_ACEOF
47907 /* confdefs.h. */
47908 _ACEOF
47909 cat confdefs.h >>conftest.$ac_ext
47910 cat >>conftest.$ac_ext <<_ACEOF
47911 /* end confdefs.h. */
47912 #include <math.h>
47913 #ifdef HAVE_IEEEFP_H
47914 #include <ieeefp.h>
47915 #endif
47918 main ()
47920 logl(0);
47922 return 0;
47924 _ACEOF
47925 rm -f conftest.$ac_objext
47926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47927 (eval $ac_compile) 2>conftest.er1
47928 ac_status=$?
47929 grep -v '^ *+' conftest.er1 >conftest.err
47930 rm -f conftest.er1
47931 cat conftest.err >&5
47932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47933 (exit $ac_status); } &&
47934 { ac_try='test -z "$ac_cxx_werror_flag"
47935 || test ! -s conftest.err'
47936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47937 (eval $ac_try) 2>&5
47938 ac_status=$?
47939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47940 (exit $ac_status); }; } &&
47941 { ac_try='test -s conftest.$ac_objext'
47942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47943 (eval $ac_try) 2>&5
47944 ac_status=$?
47945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47946 (exit $ac_status); }; }; then
47947 glibcxx_cv_func_logl_use=yes
47948 else
47949 echo "$as_me: failed program was:" >&5
47950 sed 's/^/| /' conftest.$ac_ext >&5
47952 glibcxx_cv_func_logl_use=no
47954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47955 ac_ext=c
47956 ac_cpp='$CPP $CPPFLAGS'
47957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47965 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
47966 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
47968 if test x$glibcxx_cv_func_logl_use = x"yes"; then
47970 for ac_func in logl
47972 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47973 echo "$as_me:$LINENO: checking for $ac_func" >&5
47974 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47975 if eval "test \"\${$as_ac_var+set}\" = set"; then
47976 echo $ECHO_N "(cached) $ECHO_C" >&6
47977 else
47978 if test x$gcc_no_link = xyes; then
47979 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47980 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47981 { (exit 1); exit 1; }; }
47983 cat >conftest.$ac_ext <<_ACEOF
47984 /* confdefs.h. */
47985 _ACEOF
47986 cat confdefs.h >>conftest.$ac_ext
47987 cat >>conftest.$ac_ext <<_ACEOF
47988 /* end confdefs.h. */
47989 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47990 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47991 #define $ac_func innocuous_$ac_func
47993 /* System header to define __stub macros and hopefully few prototypes,
47994 which can conflict with char $ac_func (); below.
47995 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47996 <limits.h> exists even on freestanding compilers. */
47998 #ifdef __STDC__
47999 # include <limits.h>
48000 #else
48001 # include <assert.h>
48002 #endif
48004 #undef $ac_func
48006 /* Override any gcc2 internal prototype to avoid an error. */
48007 #ifdef __cplusplus
48008 extern "C"
48010 #endif
48011 /* We use char because int might match the return type of a gcc2
48012 builtin and then its argument prototype would still apply. */
48013 char $ac_func ();
48014 /* The GNU C library defines this for functions which it implements
48015 to always fail with ENOSYS. Some functions are actually named
48016 something starting with __ and the normal name is an alias. */
48017 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48018 choke me
48019 #else
48020 char (*f) () = $ac_func;
48021 #endif
48022 #ifdef __cplusplus
48024 #endif
48027 main ()
48029 return f != $ac_func;
48031 return 0;
48033 _ACEOF
48034 rm -f conftest.$ac_objext conftest$ac_exeext
48035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48036 (eval $ac_link) 2>conftest.er1
48037 ac_status=$?
48038 grep -v '^ *+' conftest.er1 >conftest.err
48039 rm -f conftest.er1
48040 cat conftest.err >&5
48041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48042 (exit $ac_status); } &&
48043 { ac_try='test -z "$ac_c_werror_flag"
48044 || test ! -s conftest.err'
48045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48046 (eval $ac_try) 2>&5
48047 ac_status=$?
48048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48049 (exit $ac_status); }; } &&
48050 { ac_try='test -s conftest$ac_exeext'
48051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48052 (eval $ac_try) 2>&5
48053 ac_status=$?
48054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48055 (exit $ac_status); }; }; then
48056 eval "$as_ac_var=yes"
48057 else
48058 echo "$as_me: failed program was:" >&5
48059 sed 's/^/| /' conftest.$ac_ext >&5
48061 eval "$as_ac_var=no"
48063 rm -f conftest.err conftest.$ac_objext \
48064 conftest$ac_exeext conftest.$ac_ext
48066 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48067 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48068 if test `eval echo '${'$as_ac_var'}'` = yes; then
48069 cat >>confdefs.h <<_ACEOF
48070 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48071 _ACEOF
48074 done
48076 else
48078 echo "$as_me:$LINENO: checking for _logl declaration" >&5
48079 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
48080 if test x${glibcxx_cv_func__logl_use+set} != xset; then
48081 if test "${glibcxx_cv_func__logl_use+set}" = set; then
48082 echo $ECHO_N "(cached) $ECHO_C" >&6
48083 else
48087 ac_ext=cc
48088 ac_cpp='$CXXCPP $CPPFLAGS'
48089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48093 cat >conftest.$ac_ext <<_ACEOF
48094 /* confdefs.h. */
48095 _ACEOF
48096 cat confdefs.h >>conftest.$ac_ext
48097 cat >>conftest.$ac_ext <<_ACEOF
48098 /* end confdefs.h. */
48099 #include <math.h>
48100 #ifdef HAVE_IEEEFP_H
48101 #include <ieeefp.h>
48102 #endif
48105 main ()
48107 _logl(0);
48109 return 0;
48111 _ACEOF
48112 rm -f conftest.$ac_objext
48113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48114 (eval $ac_compile) 2>conftest.er1
48115 ac_status=$?
48116 grep -v '^ *+' conftest.er1 >conftest.err
48117 rm -f conftest.er1
48118 cat conftest.err >&5
48119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48120 (exit $ac_status); } &&
48121 { ac_try='test -z "$ac_cxx_werror_flag"
48122 || test ! -s conftest.err'
48123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48124 (eval $ac_try) 2>&5
48125 ac_status=$?
48126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48127 (exit $ac_status); }; } &&
48128 { ac_try='test -s conftest.$ac_objext'
48129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48130 (eval $ac_try) 2>&5
48131 ac_status=$?
48132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48133 (exit $ac_status); }; }; then
48134 glibcxx_cv_func__logl_use=yes
48135 else
48136 echo "$as_me: failed program was:" >&5
48137 sed 's/^/| /' conftest.$ac_ext >&5
48139 glibcxx_cv_func__logl_use=no
48141 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48142 ac_ext=c
48143 ac_cpp='$CPP $CPPFLAGS'
48144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48152 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
48153 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
48155 if test x$glibcxx_cv_func__logl_use = x"yes"; then
48157 for ac_func in _logl
48159 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48160 echo "$as_me:$LINENO: checking for $ac_func" >&5
48161 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48162 if eval "test \"\${$as_ac_var+set}\" = set"; then
48163 echo $ECHO_N "(cached) $ECHO_C" >&6
48164 else
48165 if test x$gcc_no_link = xyes; then
48166 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48167 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48168 { (exit 1); exit 1; }; }
48170 cat >conftest.$ac_ext <<_ACEOF
48171 /* confdefs.h. */
48172 _ACEOF
48173 cat confdefs.h >>conftest.$ac_ext
48174 cat >>conftest.$ac_ext <<_ACEOF
48175 /* end confdefs.h. */
48176 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48177 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48178 #define $ac_func innocuous_$ac_func
48180 /* System header to define __stub macros and hopefully few prototypes,
48181 which can conflict with char $ac_func (); below.
48182 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48183 <limits.h> exists even on freestanding compilers. */
48185 #ifdef __STDC__
48186 # include <limits.h>
48187 #else
48188 # include <assert.h>
48189 #endif
48191 #undef $ac_func
48193 /* Override any gcc2 internal prototype to avoid an error. */
48194 #ifdef __cplusplus
48195 extern "C"
48197 #endif
48198 /* We use char because int might match the return type of a gcc2
48199 builtin and then its argument prototype would still apply. */
48200 char $ac_func ();
48201 /* The GNU C library defines this for functions which it implements
48202 to always fail with ENOSYS. Some functions are actually named
48203 something starting with __ and the normal name is an alias. */
48204 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48205 choke me
48206 #else
48207 char (*f) () = $ac_func;
48208 #endif
48209 #ifdef __cplusplus
48211 #endif
48214 main ()
48216 return f != $ac_func;
48218 return 0;
48220 _ACEOF
48221 rm -f conftest.$ac_objext conftest$ac_exeext
48222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48223 (eval $ac_link) 2>conftest.er1
48224 ac_status=$?
48225 grep -v '^ *+' conftest.er1 >conftest.err
48226 rm -f conftest.er1
48227 cat conftest.err >&5
48228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48229 (exit $ac_status); } &&
48230 { ac_try='test -z "$ac_c_werror_flag"
48231 || test ! -s conftest.err'
48232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48233 (eval $ac_try) 2>&5
48234 ac_status=$?
48235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48236 (exit $ac_status); }; } &&
48237 { ac_try='test -s conftest$ac_exeext'
48238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48239 (eval $ac_try) 2>&5
48240 ac_status=$?
48241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48242 (exit $ac_status); }; }; then
48243 eval "$as_ac_var=yes"
48244 else
48245 echo "$as_me: failed program was:" >&5
48246 sed 's/^/| /' conftest.$ac_ext >&5
48248 eval "$as_ac_var=no"
48250 rm -f conftest.err conftest.$ac_objext \
48251 conftest$ac_exeext conftest.$ac_ext
48253 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48254 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48255 if test `eval echo '${'$as_ac_var'}'` = yes; then
48256 cat >>confdefs.h <<_ACEOF
48257 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48258 _ACEOF
48261 done
48271 echo "$as_me:$LINENO: checking for log10l declaration" >&5
48272 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
48273 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
48274 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
48275 echo $ECHO_N "(cached) $ECHO_C" >&6
48276 else
48280 ac_ext=cc
48281 ac_cpp='$CXXCPP $CPPFLAGS'
48282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48286 cat >conftest.$ac_ext <<_ACEOF
48287 /* confdefs.h. */
48288 _ACEOF
48289 cat confdefs.h >>conftest.$ac_ext
48290 cat >>conftest.$ac_ext <<_ACEOF
48291 /* end confdefs.h. */
48292 #include <math.h>
48293 #ifdef HAVE_IEEEFP_H
48294 #include <ieeefp.h>
48295 #endif
48298 main ()
48300 log10l(0);
48302 return 0;
48304 _ACEOF
48305 rm -f conftest.$ac_objext
48306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48307 (eval $ac_compile) 2>conftest.er1
48308 ac_status=$?
48309 grep -v '^ *+' conftest.er1 >conftest.err
48310 rm -f conftest.er1
48311 cat conftest.err >&5
48312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48313 (exit $ac_status); } &&
48314 { ac_try='test -z "$ac_cxx_werror_flag"
48315 || test ! -s conftest.err'
48316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48317 (eval $ac_try) 2>&5
48318 ac_status=$?
48319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48320 (exit $ac_status); }; } &&
48321 { ac_try='test -s conftest.$ac_objext'
48322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48323 (eval $ac_try) 2>&5
48324 ac_status=$?
48325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48326 (exit $ac_status); }; }; then
48327 glibcxx_cv_func_log10l_use=yes
48328 else
48329 echo "$as_me: failed program was:" >&5
48330 sed 's/^/| /' conftest.$ac_ext >&5
48332 glibcxx_cv_func_log10l_use=no
48334 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48335 ac_ext=c
48336 ac_cpp='$CPP $CPPFLAGS'
48337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48345 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
48346 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
48348 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
48350 for ac_func in log10l
48352 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48353 echo "$as_me:$LINENO: checking for $ac_func" >&5
48354 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48355 if eval "test \"\${$as_ac_var+set}\" = set"; then
48356 echo $ECHO_N "(cached) $ECHO_C" >&6
48357 else
48358 if test x$gcc_no_link = xyes; then
48359 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48360 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48361 { (exit 1); exit 1; }; }
48363 cat >conftest.$ac_ext <<_ACEOF
48364 /* confdefs.h. */
48365 _ACEOF
48366 cat confdefs.h >>conftest.$ac_ext
48367 cat >>conftest.$ac_ext <<_ACEOF
48368 /* end confdefs.h. */
48369 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48370 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48371 #define $ac_func innocuous_$ac_func
48373 /* System header to define __stub macros and hopefully few prototypes,
48374 which can conflict with char $ac_func (); below.
48375 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48376 <limits.h> exists even on freestanding compilers. */
48378 #ifdef __STDC__
48379 # include <limits.h>
48380 #else
48381 # include <assert.h>
48382 #endif
48384 #undef $ac_func
48386 /* Override any gcc2 internal prototype to avoid an error. */
48387 #ifdef __cplusplus
48388 extern "C"
48390 #endif
48391 /* We use char because int might match the return type of a gcc2
48392 builtin and then its argument prototype would still apply. */
48393 char $ac_func ();
48394 /* The GNU C library defines this for functions which it implements
48395 to always fail with ENOSYS. Some functions are actually named
48396 something starting with __ and the normal name is an alias. */
48397 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48398 choke me
48399 #else
48400 char (*f) () = $ac_func;
48401 #endif
48402 #ifdef __cplusplus
48404 #endif
48407 main ()
48409 return f != $ac_func;
48411 return 0;
48413 _ACEOF
48414 rm -f conftest.$ac_objext conftest$ac_exeext
48415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48416 (eval $ac_link) 2>conftest.er1
48417 ac_status=$?
48418 grep -v '^ *+' conftest.er1 >conftest.err
48419 rm -f conftest.er1
48420 cat conftest.err >&5
48421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48422 (exit $ac_status); } &&
48423 { ac_try='test -z "$ac_c_werror_flag"
48424 || test ! -s conftest.err'
48425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48426 (eval $ac_try) 2>&5
48427 ac_status=$?
48428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48429 (exit $ac_status); }; } &&
48430 { ac_try='test -s conftest$ac_exeext'
48431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48432 (eval $ac_try) 2>&5
48433 ac_status=$?
48434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48435 (exit $ac_status); }; }; then
48436 eval "$as_ac_var=yes"
48437 else
48438 echo "$as_me: failed program was:" >&5
48439 sed 's/^/| /' conftest.$ac_ext >&5
48441 eval "$as_ac_var=no"
48443 rm -f conftest.err conftest.$ac_objext \
48444 conftest$ac_exeext conftest.$ac_ext
48446 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48447 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48448 if test `eval echo '${'$as_ac_var'}'` = yes; then
48449 cat >>confdefs.h <<_ACEOF
48450 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48451 _ACEOF
48454 done
48456 else
48458 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
48459 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
48460 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
48461 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
48462 echo $ECHO_N "(cached) $ECHO_C" >&6
48463 else
48467 ac_ext=cc
48468 ac_cpp='$CXXCPP $CPPFLAGS'
48469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48473 cat >conftest.$ac_ext <<_ACEOF
48474 /* confdefs.h. */
48475 _ACEOF
48476 cat confdefs.h >>conftest.$ac_ext
48477 cat >>conftest.$ac_ext <<_ACEOF
48478 /* end confdefs.h. */
48479 #include <math.h>
48480 #ifdef HAVE_IEEEFP_H
48481 #include <ieeefp.h>
48482 #endif
48485 main ()
48487 _log10l(0);
48489 return 0;
48491 _ACEOF
48492 rm -f conftest.$ac_objext
48493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48494 (eval $ac_compile) 2>conftest.er1
48495 ac_status=$?
48496 grep -v '^ *+' conftest.er1 >conftest.err
48497 rm -f conftest.er1
48498 cat conftest.err >&5
48499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48500 (exit $ac_status); } &&
48501 { ac_try='test -z "$ac_cxx_werror_flag"
48502 || test ! -s conftest.err'
48503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48504 (eval $ac_try) 2>&5
48505 ac_status=$?
48506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48507 (exit $ac_status); }; } &&
48508 { ac_try='test -s conftest.$ac_objext'
48509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48510 (eval $ac_try) 2>&5
48511 ac_status=$?
48512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48513 (exit $ac_status); }; }; then
48514 glibcxx_cv_func__log10l_use=yes
48515 else
48516 echo "$as_me: failed program was:" >&5
48517 sed 's/^/| /' conftest.$ac_ext >&5
48519 glibcxx_cv_func__log10l_use=no
48521 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48522 ac_ext=c
48523 ac_cpp='$CPP $CPPFLAGS'
48524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48532 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
48533 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
48535 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
48537 for ac_func in _log10l
48539 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48540 echo "$as_me:$LINENO: checking for $ac_func" >&5
48541 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48542 if eval "test \"\${$as_ac_var+set}\" = set"; then
48543 echo $ECHO_N "(cached) $ECHO_C" >&6
48544 else
48545 if test x$gcc_no_link = xyes; then
48546 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48547 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48548 { (exit 1); exit 1; }; }
48550 cat >conftest.$ac_ext <<_ACEOF
48551 /* confdefs.h. */
48552 _ACEOF
48553 cat confdefs.h >>conftest.$ac_ext
48554 cat >>conftest.$ac_ext <<_ACEOF
48555 /* end confdefs.h. */
48556 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48557 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48558 #define $ac_func innocuous_$ac_func
48560 /* System header to define __stub macros and hopefully few prototypes,
48561 which can conflict with char $ac_func (); below.
48562 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48563 <limits.h> exists even on freestanding compilers. */
48565 #ifdef __STDC__
48566 # include <limits.h>
48567 #else
48568 # include <assert.h>
48569 #endif
48571 #undef $ac_func
48573 /* Override any gcc2 internal prototype to avoid an error. */
48574 #ifdef __cplusplus
48575 extern "C"
48577 #endif
48578 /* We use char because int might match the return type of a gcc2
48579 builtin and then its argument prototype would still apply. */
48580 char $ac_func ();
48581 /* The GNU C library defines this for functions which it implements
48582 to always fail with ENOSYS. Some functions are actually named
48583 something starting with __ and the normal name is an alias. */
48584 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48585 choke me
48586 #else
48587 char (*f) () = $ac_func;
48588 #endif
48589 #ifdef __cplusplus
48591 #endif
48594 main ()
48596 return f != $ac_func;
48598 return 0;
48600 _ACEOF
48601 rm -f conftest.$ac_objext conftest$ac_exeext
48602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48603 (eval $ac_link) 2>conftest.er1
48604 ac_status=$?
48605 grep -v '^ *+' conftest.er1 >conftest.err
48606 rm -f conftest.er1
48607 cat conftest.err >&5
48608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48609 (exit $ac_status); } &&
48610 { ac_try='test -z "$ac_c_werror_flag"
48611 || test ! -s conftest.err'
48612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48613 (eval $ac_try) 2>&5
48614 ac_status=$?
48615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48616 (exit $ac_status); }; } &&
48617 { ac_try='test -s conftest$ac_exeext'
48618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48619 (eval $ac_try) 2>&5
48620 ac_status=$?
48621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48622 (exit $ac_status); }; }; then
48623 eval "$as_ac_var=yes"
48624 else
48625 echo "$as_me: failed program was:" >&5
48626 sed 's/^/| /' conftest.$ac_ext >&5
48628 eval "$as_ac_var=no"
48630 rm -f conftest.err conftest.$ac_objext \
48631 conftest$ac_exeext conftest.$ac_ext
48633 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48634 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48635 if test `eval echo '${'$as_ac_var'}'` = yes; then
48636 cat >>confdefs.h <<_ACEOF
48637 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48638 _ACEOF
48641 done
48651 echo "$as_me:$LINENO: checking for modfl declaration" >&5
48652 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
48653 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
48654 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
48655 echo $ECHO_N "(cached) $ECHO_C" >&6
48656 else
48660 ac_ext=cc
48661 ac_cpp='$CXXCPP $CPPFLAGS'
48662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48666 cat >conftest.$ac_ext <<_ACEOF
48667 /* confdefs.h. */
48668 _ACEOF
48669 cat confdefs.h >>conftest.$ac_ext
48670 cat >>conftest.$ac_ext <<_ACEOF
48671 /* end confdefs.h. */
48672 #include <math.h>
48674 main ()
48676 modfl(0, 0);
48678 return 0;
48680 _ACEOF
48681 rm -f conftest.$ac_objext
48682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48683 (eval $ac_compile) 2>conftest.er1
48684 ac_status=$?
48685 grep -v '^ *+' conftest.er1 >conftest.err
48686 rm -f conftest.er1
48687 cat conftest.err >&5
48688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48689 (exit $ac_status); } &&
48690 { ac_try='test -z "$ac_cxx_werror_flag"
48691 || test ! -s conftest.err'
48692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48693 (eval $ac_try) 2>&5
48694 ac_status=$?
48695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48696 (exit $ac_status); }; } &&
48697 { ac_try='test -s conftest.$ac_objext'
48698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48699 (eval $ac_try) 2>&5
48700 ac_status=$?
48701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48702 (exit $ac_status); }; }; then
48703 glibcxx_cv_func_modfl_use=yes
48704 else
48705 echo "$as_me: failed program was:" >&5
48706 sed 's/^/| /' conftest.$ac_ext >&5
48708 glibcxx_cv_func_modfl_use=no
48710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48711 ac_ext=c
48712 ac_cpp='$CPP $CPPFLAGS'
48713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48721 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
48722 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
48724 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
48726 for ac_func in modfl
48728 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48729 echo "$as_me:$LINENO: checking for $ac_func" >&5
48730 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48731 if eval "test \"\${$as_ac_var+set}\" = set"; then
48732 echo $ECHO_N "(cached) $ECHO_C" >&6
48733 else
48734 if test x$gcc_no_link = xyes; then
48735 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48736 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48737 { (exit 1); exit 1; }; }
48739 cat >conftest.$ac_ext <<_ACEOF
48740 /* confdefs.h. */
48741 _ACEOF
48742 cat confdefs.h >>conftest.$ac_ext
48743 cat >>conftest.$ac_ext <<_ACEOF
48744 /* end confdefs.h. */
48745 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48746 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48747 #define $ac_func innocuous_$ac_func
48749 /* System header to define __stub macros and hopefully few prototypes,
48750 which can conflict with char $ac_func (); below.
48751 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48752 <limits.h> exists even on freestanding compilers. */
48754 #ifdef __STDC__
48755 # include <limits.h>
48756 #else
48757 # include <assert.h>
48758 #endif
48760 #undef $ac_func
48762 /* Override any gcc2 internal prototype to avoid an error. */
48763 #ifdef __cplusplus
48764 extern "C"
48766 #endif
48767 /* We use char because int might match the return type of a gcc2
48768 builtin and then its argument prototype would still apply. */
48769 char $ac_func ();
48770 /* The GNU C library defines this for functions which it implements
48771 to always fail with ENOSYS. Some functions are actually named
48772 something starting with __ and the normal name is an alias. */
48773 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48774 choke me
48775 #else
48776 char (*f) () = $ac_func;
48777 #endif
48778 #ifdef __cplusplus
48780 #endif
48783 main ()
48785 return f != $ac_func;
48787 return 0;
48789 _ACEOF
48790 rm -f conftest.$ac_objext conftest$ac_exeext
48791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48792 (eval $ac_link) 2>conftest.er1
48793 ac_status=$?
48794 grep -v '^ *+' conftest.er1 >conftest.err
48795 rm -f conftest.er1
48796 cat conftest.err >&5
48797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48798 (exit $ac_status); } &&
48799 { ac_try='test -z "$ac_c_werror_flag"
48800 || test ! -s conftest.err'
48801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48802 (eval $ac_try) 2>&5
48803 ac_status=$?
48804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48805 (exit $ac_status); }; } &&
48806 { ac_try='test -s conftest$ac_exeext'
48807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48808 (eval $ac_try) 2>&5
48809 ac_status=$?
48810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48811 (exit $ac_status); }; }; then
48812 eval "$as_ac_var=yes"
48813 else
48814 echo "$as_me: failed program was:" >&5
48815 sed 's/^/| /' conftest.$ac_ext >&5
48817 eval "$as_ac_var=no"
48819 rm -f conftest.err conftest.$ac_objext \
48820 conftest$ac_exeext conftest.$ac_ext
48822 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48823 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48824 if test `eval echo '${'$as_ac_var'}'` = yes; then
48825 cat >>confdefs.h <<_ACEOF
48826 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48827 _ACEOF
48830 done
48832 else
48834 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
48835 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
48836 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
48837 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
48838 echo $ECHO_N "(cached) $ECHO_C" >&6
48839 else
48843 ac_ext=cc
48844 ac_cpp='$CXXCPP $CPPFLAGS'
48845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48849 cat >conftest.$ac_ext <<_ACEOF
48850 /* confdefs.h. */
48851 _ACEOF
48852 cat confdefs.h >>conftest.$ac_ext
48853 cat >>conftest.$ac_ext <<_ACEOF
48854 /* end confdefs.h. */
48855 #include <math.h>
48857 main ()
48859 _modfl(0, 0);
48861 return 0;
48863 _ACEOF
48864 rm -f conftest.$ac_objext
48865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48866 (eval $ac_compile) 2>conftest.er1
48867 ac_status=$?
48868 grep -v '^ *+' conftest.er1 >conftest.err
48869 rm -f conftest.er1
48870 cat conftest.err >&5
48871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48872 (exit $ac_status); } &&
48873 { ac_try='test -z "$ac_cxx_werror_flag"
48874 || test ! -s conftest.err'
48875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48876 (eval $ac_try) 2>&5
48877 ac_status=$?
48878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48879 (exit $ac_status); }; } &&
48880 { ac_try='test -s conftest.$ac_objext'
48881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48882 (eval $ac_try) 2>&5
48883 ac_status=$?
48884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48885 (exit $ac_status); }; }; then
48886 glibcxx_cv_func__modfl_use=yes
48887 else
48888 echo "$as_me: failed program was:" >&5
48889 sed 's/^/| /' conftest.$ac_ext >&5
48891 glibcxx_cv_func__modfl_use=no
48893 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48894 ac_ext=c
48895 ac_cpp='$CPP $CPPFLAGS'
48896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48904 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
48905 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
48907 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
48909 for ac_func in _modfl
48911 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48912 echo "$as_me:$LINENO: checking for $ac_func" >&5
48913 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48914 if eval "test \"\${$as_ac_var+set}\" = set"; then
48915 echo $ECHO_N "(cached) $ECHO_C" >&6
48916 else
48917 if test x$gcc_no_link = xyes; then
48918 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48919 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48920 { (exit 1); exit 1; }; }
48922 cat >conftest.$ac_ext <<_ACEOF
48923 /* confdefs.h. */
48924 _ACEOF
48925 cat confdefs.h >>conftest.$ac_ext
48926 cat >>conftest.$ac_ext <<_ACEOF
48927 /* end confdefs.h. */
48928 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48929 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48930 #define $ac_func innocuous_$ac_func
48932 /* System header to define __stub macros and hopefully few prototypes,
48933 which can conflict with char $ac_func (); below.
48934 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48935 <limits.h> exists even on freestanding compilers. */
48937 #ifdef __STDC__
48938 # include <limits.h>
48939 #else
48940 # include <assert.h>
48941 #endif
48943 #undef $ac_func
48945 /* Override any gcc2 internal prototype to avoid an error. */
48946 #ifdef __cplusplus
48947 extern "C"
48949 #endif
48950 /* We use char because int might match the return type of a gcc2
48951 builtin and then its argument prototype would still apply. */
48952 char $ac_func ();
48953 /* The GNU C library defines this for functions which it implements
48954 to always fail with ENOSYS. Some functions are actually named
48955 something starting with __ and the normal name is an alias. */
48956 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48957 choke me
48958 #else
48959 char (*f) () = $ac_func;
48960 #endif
48961 #ifdef __cplusplus
48963 #endif
48966 main ()
48968 return f != $ac_func;
48970 return 0;
48972 _ACEOF
48973 rm -f conftest.$ac_objext conftest$ac_exeext
48974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48975 (eval $ac_link) 2>conftest.er1
48976 ac_status=$?
48977 grep -v '^ *+' conftest.er1 >conftest.err
48978 rm -f conftest.er1
48979 cat conftest.err >&5
48980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48981 (exit $ac_status); } &&
48982 { ac_try='test -z "$ac_c_werror_flag"
48983 || test ! -s conftest.err'
48984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48985 (eval $ac_try) 2>&5
48986 ac_status=$?
48987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48988 (exit $ac_status); }; } &&
48989 { ac_try='test -s conftest$ac_exeext'
48990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48991 (eval $ac_try) 2>&5
48992 ac_status=$?
48993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48994 (exit $ac_status); }; }; then
48995 eval "$as_ac_var=yes"
48996 else
48997 echo "$as_me: failed program was:" >&5
48998 sed 's/^/| /' conftest.$ac_ext >&5
49000 eval "$as_ac_var=no"
49002 rm -f conftest.err conftest.$ac_objext \
49003 conftest$ac_exeext conftest.$ac_ext
49005 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49006 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49007 if test `eval echo '${'$as_ac_var'}'` = yes; then
49008 cat >>confdefs.h <<_ACEOF
49009 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49010 _ACEOF
49013 done
49023 echo "$as_me:$LINENO: checking for powl declaration" >&5
49024 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
49025 if test x${glibcxx_cv_func_powl_use+set} != xset; then
49026 if test "${glibcxx_cv_func_powl_use+set}" = set; then
49027 echo $ECHO_N "(cached) $ECHO_C" >&6
49028 else
49032 ac_ext=cc
49033 ac_cpp='$CXXCPP $CPPFLAGS'
49034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49038 cat >conftest.$ac_ext <<_ACEOF
49039 /* confdefs.h. */
49040 _ACEOF
49041 cat confdefs.h >>conftest.$ac_ext
49042 cat >>conftest.$ac_ext <<_ACEOF
49043 /* end confdefs.h. */
49044 #include <math.h>
49046 main ()
49048 powl(0, 0);
49050 return 0;
49052 _ACEOF
49053 rm -f conftest.$ac_objext
49054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49055 (eval $ac_compile) 2>conftest.er1
49056 ac_status=$?
49057 grep -v '^ *+' conftest.er1 >conftest.err
49058 rm -f conftest.er1
49059 cat conftest.err >&5
49060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49061 (exit $ac_status); } &&
49062 { ac_try='test -z "$ac_cxx_werror_flag"
49063 || test ! -s conftest.err'
49064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49065 (eval $ac_try) 2>&5
49066 ac_status=$?
49067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49068 (exit $ac_status); }; } &&
49069 { ac_try='test -s conftest.$ac_objext'
49070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49071 (eval $ac_try) 2>&5
49072 ac_status=$?
49073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49074 (exit $ac_status); }; }; then
49075 glibcxx_cv_func_powl_use=yes
49076 else
49077 echo "$as_me: failed program was:" >&5
49078 sed 's/^/| /' conftest.$ac_ext >&5
49080 glibcxx_cv_func_powl_use=no
49082 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49083 ac_ext=c
49084 ac_cpp='$CPP $CPPFLAGS'
49085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49093 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
49094 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
49096 if test x$glibcxx_cv_func_powl_use = x"yes"; then
49098 for ac_func in powl
49100 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49101 echo "$as_me:$LINENO: checking for $ac_func" >&5
49102 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49103 if eval "test \"\${$as_ac_var+set}\" = set"; then
49104 echo $ECHO_N "(cached) $ECHO_C" >&6
49105 else
49106 if test x$gcc_no_link = xyes; then
49107 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49108 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49109 { (exit 1); exit 1; }; }
49111 cat >conftest.$ac_ext <<_ACEOF
49112 /* confdefs.h. */
49113 _ACEOF
49114 cat confdefs.h >>conftest.$ac_ext
49115 cat >>conftest.$ac_ext <<_ACEOF
49116 /* end confdefs.h. */
49117 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49118 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49119 #define $ac_func innocuous_$ac_func
49121 /* System header to define __stub macros and hopefully few prototypes,
49122 which can conflict with char $ac_func (); below.
49123 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49124 <limits.h> exists even on freestanding compilers. */
49126 #ifdef __STDC__
49127 # include <limits.h>
49128 #else
49129 # include <assert.h>
49130 #endif
49132 #undef $ac_func
49134 /* Override any gcc2 internal prototype to avoid an error. */
49135 #ifdef __cplusplus
49136 extern "C"
49138 #endif
49139 /* We use char because int might match the return type of a gcc2
49140 builtin and then its argument prototype would still apply. */
49141 char $ac_func ();
49142 /* The GNU C library defines this for functions which it implements
49143 to always fail with ENOSYS. Some functions are actually named
49144 something starting with __ and the normal name is an alias. */
49145 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49146 choke me
49147 #else
49148 char (*f) () = $ac_func;
49149 #endif
49150 #ifdef __cplusplus
49152 #endif
49155 main ()
49157 return f != $ac_func;
49159 return 0;
49161 _ACEOF
49162 rm -f conftest.$ac_objext conftest$ac_exeext
49163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49164 (eval $ac_link) 2>conftest.er1
49165 ac_status=$?
49166 grep -v '^ *+' conftest.er1 >conftest.err
49167 rm -f conftest.er1
49168 cat conftest.err >&5
49169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49170 (exit $ac_status); } &&
49171 { ac_try='test -z "$ac_c_werror_flag"
49172 || test ! -s conftest.err'
49173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49174 (eval $ac_try) 2>&5
49175 ac_status=$?
49176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49177 (exit $ac_status); }; } &&
49178 { ac_try='test -s conftest$ac_exeext'
49179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49180 (eval $ac_try) 2>&5
49181 ac_status=$?
49182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49183 (exit $ac_status); }; }; then
49184 eval "$as_ac_var=yes"
49185 else
49186 echo "$as_me: failed program was:" >&5
49187 sed 's/^/| /' conftest.$ac_ext >&5
49189 eval "$as_ac_var=no"
49191 rm -f conftest.err conftest.$ac_objext \
49192 conftest$ac_exeext conftest.$ac_ext
49194 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49195 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49196 if test `eval echo '${'$as_ac_var'}'` = yes; then
49197 cat >>confdefs.h <<_ACEOF
49198 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49199 _ACEOF
49202 done
49204 else
49206 echo "$as_me:$LINENO: checking for _powl declaration" >&5
49207 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
49208 if test x${glibcxx_cv_func__powl_use+set} != xset; then
49209 if test "${glibcxx_cv_func__powl_use+set}" = set; then
49210 echo $ECHO_N "(cached) $ECHO_C" >&6
49211 else
49215 ac_ext=cc
49216 ac_cpp='$CXXCPP $CPPFLAGS'
49217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49221 cat >conftest.$ac_ext <<_ACEOF
49222 /* confdefs.h. */
49223 _ACEOF
49224 cat confdefs.h >>conftest.$ac_ext
49225 cat >>conftest.$ac_ext <<_ACEOF
49226 /* end confdefs.h. */
49227 #include <math.h>
49229 main ()
49231 _powl(0, 0);
49233 return 0;
49235 _ACEOF
49236 rm -f conftest.$ac_objext
49237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49238 (eval $ac_compile) 2>conftest.er1
49239 ac_status=$?
49240 grep -v '^ *+' conftest.er1 >conftest.err
49241 rm -f conftest.er1
49242 cat conftest.err >&5
49243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49244 (exit $ac_status); } &&
49245 { ac_try='test -z "$ac_cxx_werror_flag"
49246 || test ! -s conftest.err'
49247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49248 (eval $ac_try) 2>&5
49249 ac_status=$?
49250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49251 (exit $ac_status); }; } &&
49252 { ac_try='test -s conftest.$ac_objext'
49253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49254 (eval $ac_try) 2>&5
49255 ac_status=$?
49256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49257 (exit $ac_status); }; }; then
49258 glibcxx_cv_func__powl_use=yes
49259 else
49260 echo "$as_me: failed program was:" >&5
49261 sed 's/^/| /' conftest.$ac_ext >&5
49263 glibcxx_cv_func__powl_use=no
49265 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49266 ac_ext=c
49267 ac_cpp='$CPP $CPPFLAGS'
49268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49276 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
49277 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
49279 if test x$glibcxx_cv_func__powl_use = x"yes"; then
49281 for ac_func in _powl
49283 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49284 echo "$as_me:$LINENO: checking for $ac_func" >&5
49285 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49286 if eval "test \"\${$as_ac_var+set}\" = set"; then
49287 echo $ECHO_N "(cached) $ECHO_C" >&6
49288 else
49289 if test x$gcc_no_link = xyes; then
49290 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49291 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49292 { (exit 1); exit 1; }; }
49294 cat >conftest.$ac_ext <<_ACEOF
49295 /* confdefs.h. */
49296 _ACEOF
49297 cat confdefs.h >>conftest.$ac_ext
49298 cat >>conftest.$ac_ext <<_ACEOF
49299 /* end confdefs.h. */
49300 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49301 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49302 #define $ac_func innocuous_$ac_func
49304 /* System header to define __stub macros and hopefully few prototypes,
49305 which can conflict with char $ac_func (); below.
49306 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49307 <limits.h> exists even on freestanding compilers. */
49309 #ifdef __STDC__
49310 # include <limits.h>
49311 #else
49312 # include <assert.h>
49313 #endif
49315 #undef $ac_func
49317 /* Override any gcc2 internal prototype to avoid an error. */
49318 #ifdef __cplusplus
49319 extern "C"
49321 #endif
49322 /* We use char because int might match the return type of a gcc2
49323 builtin and then its argument prototype would still apply. */
49324 char $ac_func ();
49325 /* The GNU C library defines this for functions which it implements
49326 to always fail with ENOSYS. Some functions are actually named
49327 something starting with __ and the normal name is an alias. */
49328 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49329 choke me
49330 #else
49331 char (*f) () = $ac_func;
49332 #endif
49333 #ifdef __cplusplus
49335 #endif
49338 main ()
49340 return f != $ac_func;
49342 return 0;
49344 _ACEOF
49345 rm -f conftest.$ac_objext conftest$ac_exeext
49346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49347 (eval $ac_link) 2>conftest.er1
49348 ac_status=$?
49349 grep -v '^ *+' conftest.er1 >conftest.err
49350 rm -f conftest.er1
49351 cat conftest.err >&5
49352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49353 (exit $ac_status); } &&
49354 { ac_try='test -z "$ac_c_werror_flag"
49355 || test ! -s conftest.err'
49356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49357 (eval $ac_try) 2>&5
49358 ac_status=$?
49359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49360 (exit $ac_status); }; } &&
49361 { ac_try='test -s conftest$ac_exeext'
49362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49363 (eval $ac_try) 2>&5
49364 ac_status=$?
49365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49366 (exit $ac_status); }; }; then
49367 eval "$as_ac_var=yes"
49368 else
49369 echo "$as_me: failed program was:" >&5
49370 sed 's/^/| /' conftest.$ac_ext >&5
49372 eval "$as_ac_var=no"
49374 rm -f conftest.err conftest.$ac_objext \
49375 conftest$ac_exeext conftest.$ac_ext
49377 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49378 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49379 if test `eval echo '${'$as_ac_var'}'` = yes; then
49380 cat >>confdefs.h <<_ACEOF
49381 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49382 _ACEOF
49385 done
49395 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
49396 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
49397 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
49398 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
49399 echo $ECHO_N "(cached) $ECHO_C" >&6
49400 else
49404 ac_ext=cc
49405 ac_cpp='$CXXCPP $CPPFLAGS'
49406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49410 cat >conftest.$ac_ext <<_ACEOF
49411 /* confdefs.h. */
49412 _ACEOF
49413 cat confdefs.h >>conftest.$ac_ext
49414 cat >>conftest.$ac_ext <<_ACEOF
49415 /* end confdefs.h. */
49416 #include <math.h>
49417 #ifdef HAVE_IEEEFP_H
49418 #include <ieeefp.h>
49419 #endif
49422 main ()
49424 sqrtl(0);
49426 return 0;
49428 _ACEOF
49429 rm -f conftest.$ac_objext
49430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49431 (eval $ac_compile) 2>conftest.er1
49432 ac_status=$?
49433 grep -v '^ *+' conftest.er1 >conftest.err
49434 rm -f conftest.er1
49435 cat conftest.err >&5
49436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49437 (exit $ac_status); } &&
49438 { ac_try='test -z "$ac_cxx_werror_flag"
49439 || test ! -s conftest.err'
49440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49441 (eval $ac_try) 2>&5
49442 ac_status=$?
49443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49444 (exit $ac_status); }; } &&
49445 { ac_try='test -s conftest.$ac_objext'
49446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49447 (eval $ac_try) 2>&5
49448 ac_status=$?
49449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49450 (exit $ac_status); }; }; then
49451 glibcxx_cv_func_sqrtl_use=yes
49452 else
49453 echo "$as_me: failed program was:" >&5
49454 sed 's/^/| /' conftest.$ac_ext >&5
49456 glibcxx_cv_func_sqrtl_use=no
49458 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49459 ac_ext=c
49460 ac_cpp='$CPP $CPPFLAGS'
49461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49469 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
49470 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
49472 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
49474 for ac_func in sqrtl
49476 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49477 echo "$as_me:$LINENO: checking for $ac_func" >&5
49478 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49479 if eval "test \"\${$as_ac_var+set}\" = set"; then
49480 echo $ECHO_N "(cached) $ECHO_C" >&6
49481 else
49482 if test x$gcc_no_link = xyes; then
49483 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49484 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49485 { (exit 1); exit 1; }; }
49487 cat >conftest.$ac_ext <<_ACEOF
49488 /* confdefs.h. */
49489 _ACEOF
49490 cat confdefs.h >>conftest.$ac_ext
49491 cat >>conftest.$ac_ext <<_ACEOF
49492 /* end confdefs.h. */
49493 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49494 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49495 #define $ac_func innocuous_$ac_func
49497 /* System header to define __stub macros and hopefully few prototypes,
49498 which can conflict with char $ac_func (); below.
49499 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49500 <limits.h> exists even on freestanding compilers. */
49502 #ifdef __STDC__
49503 # include <limits.h>
49504 #else
49505 # include <assert.h>
49506 #endif
49508 #undef $ac_func
49510 /* Override any gcc2 internal prototype to avoid an error. */
49511 #ifdef __cplusplus
49512 extern "C"
49514 #endif
49515 /* We use char because int might match the return type of a gcc2
49516 builtin and then its argument prototype would still apply. */
49517 char $ac_func ();
49518 /* The GNU C library defines this for functions which it implements
49519 to always fail with ENOSYS. Some functions are actually named
49520 something starting with __ and the normal name is an alias. */
49521 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49522 choke me
49523 #else
49524 char (*f) () = $ac_func;
49525 #endif
49526 #ifdef __cplusplus
49528 #endif
49531 main ()
49533 return f != $ac_func;
49535 return 0;
49537 _ACEOF
49538 rm -f conftest.$ac_objext conftest$ac_exeext
49539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49540 (eval $ac_link) 2>conftest.er1
49541 ac_status=$?
49542 grep -v '^ *+' conftest.er1 >conftest.err
49543 rm -f conftest.er1
49544 cat conftest.err >&5
49545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49546 (exit $ac_status); } &&
49547 { ac_try='test -z "$ac_c_werror_flag"
49548 || test ! -s conftest.err'
49549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49550 (eval $ac_try) 2>&5
49551 ac_status=$?
49552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49553 (exit $ac_status); }; } &&
49554 { ac_try='test -s conftest$ac_exeext'
49555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49556 (eval $ac_try) 2>&5
49557 ac_status=$?
49558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49559 (exit $ac_status); }; }; then
49560 eval "$as_ac_var=yes"
49561 else
49562 echo "$as_me: failed program was:" >&5
49563 sed 's/^/| /' conftest.$ac_ext >&5
49565 eval "$as_ac_var=no"
49567 rm -f conftest.err conftest.$ac_objext \
49568 conftest$ac_exeext conftest.$ac_ext
49570 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49571 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49572 if test `eval echo '${'$as_ac_var'}'` = yes; then
49573 cat >>confdefs.h <<_ACEOF
49574 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49575 _ACEOF
49578 done
49580 else
49582 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
49583 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
49584 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
49585 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
49586 echo $ECHO_N "(cached) $ECHO_C" >&6
49587 else
49591 ac_ext=cc
49592 ac_cpp='$CXXCPP $CPPFLAGS'
49593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49597 cat >conftest.$ac_ext <<_ACEOF
49598 /* confdefs.h. */
49599 _ACEOF
49600 cat confdefs.h >>conftest.$ac_ext
49601 cat >>conftest.$ac_ext <<_ACEOF
49602 /* end confdefs.h. */
49603 #include <math.h>
49604 #ifdef HAVE_IEEEFP_H
49605 #include <ieeefp.h>
49606 #endif
49609 main ()
49611 _sqrtl(0);
49613 return 0;
49615 _ACEOF
49616 rm -f conftest.$ac_objext
49617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49618 (eval $ac_compile) 2>conftest.er1
49619 ac_status=$?
49620 grep -v '^ *+' conftest.er1 >conftest.err
49621 rm -f conftest.er1
49622 cat conftest.err >&5
49623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49624 (exit $ac_status); } &&
49625 { ac_try='test -z "$ac_cxx_werror_flag"
49626 || test ! -s conftest.err'
49627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49628 (eval $ac_try) 2>&5
49629 ac_status=$?
49630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49631 (exit $ac_status); }; } &&
49632 { ac_try='test -s conftest.$ac_objext'
49633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49634 (eval $ac_try) 2>&5
49635 ac_status=$?
49636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49637 (exit $ac_status); }; }; then
49638 glibcxx_cv_func__sqrtl_use=yes
49639 else
49640 echo "$as_me: failed program was:" >&5
49641 sed 's/^/| /' conftest.$ac_ext >&5
49643 glibcxx_cv_func__sqrtl_use=no
49645 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49646 ac_ext=c
49647 ac_cpp='$CPP $CPPFLAGS'
49648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49656 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
49657 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
49659 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
49661 for ac_func in _sqrtl
49663 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49664 echo "$as_me:$LINENO: checking for $ac_func" >&5
49665 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49666 if eval "test \"\${$as_ac_var+set}\" = set"; then
49667 echo $ECHO_N "(cached) $ECHO_C" >&6
49668 else
49669 if test x$gcc_no_link = xyes; then
49670 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49671 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49672 { (exit 1); exit 1; }; }
49674 cat >conftest.$ac_ext <<_ACEOF
49675 /* confdefs.h. */
49676 _ACEOF
49677 cat confdefs.h >>conftest.$ac_ext
49678 cat >>conftest.$ac_ext <<_ACEOF
49679 /* end confdefs.h. */
49680 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49681 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49682 #define $ac_func innocuous_$ac_func
49684 /* System header to define __stub macros and hopefully few prototypes,
49685 which can conflict with char $ac_func (); below.
49686 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49687 <limits.h> exists even on freestanding compilers. */
49689 #ifdef __STDC__
49690 # include <limits.h>
49691 #else
49692 # include <assert.h>
49693 #endif
49695 #undef $ac_func
49697 /* Override any gcc2 internal prototype to avoid an error. */
49698 #ifdef __cplusplus
49699 extern "C"
49701 #endif
49702 /* We use char because int might match the return type of a gcc2
49703 builtin and then its argument prototype would still apply. */
49704 char $ac_func ();
49705 /* The GNU C library defines this for functions which it implements
49706 to always fail with ENOSYS. Some functions are actually named
49707 something starting with __ and the normal name is an alias. */
49708 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49709 choke me
49710 #else
49711 char (*f) () = $ac_func;
49712 #endif
49713 #ifdef __cplusplus
49715 #endif
49718 main ()
49720 return f != $ac_func;
49722 return 0;
49724 _ACEOF
49725 rm -f conftest.$ac_objext conftest$ac_exeext
49726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49727 (eval $ac_link) 2>conftest.er1
49728 ac_status=$?
49729 grep -v '^ *+' conftest.er1 >conftest.err
49730 rm -f conftest.er1
49731 cat conftest.err >&5
49732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49733 (exit $ac_status); } &&
49734 { ac_try='test -z "$ac_c_werror_flag"
49735 || test ! -s conftest.err'
49736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49737 (eval $ac_try) 2>&5
49738 ac_status=$?
49739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49740 (exit $ac_status); }; } &&
49741 { ac_try='test -s conftest$ac_exeext'
49742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49743 (eval $ac_try) 2>&5
49744 ac_status=$?
49745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49746 (exit $ac_status); }; }; then
49747 eval "$as_ac_var=yes"
49748 else
49749 echo "$as_me: failed program was:" >&5
49750 sed 's/^/| /' conftest.$ac_ext >&5
49752 eval "$as_ac_var=no"
49754 rm -f conftest.err conftest.$ac_objext \
49755 conftest$ac_exeext conftest.$ac_ext
49757 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49758 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49759 if test `eval echo '${'$as_ac_var'}'` = yes; then
49760 cat >>confdefs.h <<_ACEOF
49761 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49762 _ACEOF
49765 done
49775 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
49776 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
49777 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
49778 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
49779 echo $ECHO_N "(cached) $ECHO_C" >&6
49780 else
49784 ac_ext=cc
49785 ac_cpp='$CXXCPP $CPPFLAGS'
49786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49790 cat >conftest.$ac_ext <<_ACEOF
49791 /* confdefs.h. */
49792 _ACEOF
49793 cat confdefs.h >>conftest.$ac_ext
49794 cat >>conftest.$ac_ext <<_ACEOF
49795 /* end confdefs.h. */
49796 #include <math.h>
49798 main ()
49800 sincosl(0, 0, 0);
49802 return 0;
49804 _ACEOF
49805 rm -f conftest.$ac_objext
49806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49807 (eval $ac_compile) 2>conftest.er1
49808 ac_status=$?
49809 grep -v '^ *+' conftest.er1 >conftest.err
49810 rm -f conftest.er1
49811 cat conftest.err >&5
49812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49813 (exit $ac_status); } &&
49814 { ac_try='test -z "$ac_cxx_werror_flag"
49815 || test ! -s conftest.err'
49816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49817 (eval $ac_try) 2>&5
49818 ac_status=$?
49819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49820 (exit $ac_status); }; } &&
49821 { ac_try='test -s conftest.$ac_objext'
49822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49823 (eval $ac_try) 2>&5
49824 ac_status=$?
49825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49826 (exit $ac_status); }; }; then
49827 glibcxx_cv_func_sincosl_use=yes
49828 else
49829 echo "$as_me: failed program was:" >&5
49830 sed 's/^/| /' conftest.$ac_ext >&5
49832 glibcxx_cv_func_sincosl_use=no
49834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49835 ac_ext=c
49836 ac_cpp='$CPP $CPPFLAGS'
49837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49845 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
49846 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
49848 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
49850 for ac_func in sincosl
49852 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49853 echo "$as_me:$LINENO: checking for $ac_func" >&5
49854 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49855 if eval "test \"\${$as_ac_var+set}\" = set"; then
49856 echo $ECHO_N "(cached) $ECHO_C" >&6
49857 else
49858 if test x$gcc_no_link = xyes; then
49859 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49860 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49861 { (exit 1); exit 1; }; }
49863 cat >conftest.$ac_ext <<_ACEOF
49864 /* confdefs.h. */
49865 _ACEOF
49866 cat confdefs.h >>conftest.$ac_ext
49867 cat >>conftest.$ac_ext <<_ACEOF
49868 /* end confdefs.h. */
49869 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49870 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49871 #define $ac_func innocuous_$ac_func
49873 /* System header to define __stub macros and hopefully few prototypes,
49874 which can conflict with char $ac_func (); below.
49875 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49876 <limits.h> exists even on freestanding compilers. */
49878 #ifdef __STDC__
49879 # include <limits.h>
49880 #else
49881 # include <assert.h>
49882 #endif
49884 #undef $ac_func
49886 /* Override any gcc2 internal prototype to avoid an error. */
49887 #ifdef __cplusplus
49888 extern "C"
49890 #endif
49891 /* We use char because int might match the return type of a gcc2
49892 builtin and then its argument prototype would still apply. */
49893 char $ac_func ();
49894 /* The GNU C library defines this for functions which it implements
49895 to always fail with ENOSYS. Some functions are actually named
49896 something starting with __ and the normal name is an alias. */
49897 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49898 choke me
49899 #else
49900 char (*f) () = $ac_func;
49901 #endif
49902 #ifdef __cplusplus
49904 #endif
49907 main ()
49909 return f != $ac_func;
49911 return 0;
49913 _ACEOF
49914 rm -f conftest.$ac_objext conftest$ac_exeext
49915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49916 (eval $ac_link) 2>conftest.er1
49917 ac_status=$?
49918 grep -v '^ *+' conftest.er1 >conftest.err
49919 rm -f conftest.er1
49920 cat conftest.err >&5
49921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49922 (exit $ac_status); } &&
49923 { ac_try='test -z "$ac_c_werror_flag"
49924 || test ! -s conftest.err'
49925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49926 (eval $ac_try) 2>&5
49927 ac_status=$?
49928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49929 (exit $ac_status); }; } &&
49930 { ac_try='test -s conftest$ac_exeext'
49931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49932 (eval $ac_try) 2>&5
49933 ac_status=$?
49934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49935 (exit $ac_status); }; }; then
49936 eval "$as_ac_var=yes"
49937 else
49938 echo "$as_me: failed program was:" >&5
49939 sed 's/^/| /' conftest.$ac_ext >&5
49941 eval "$as_ac_var=no"
49943 rm -f conftest.err conftest.$ac_objext \
49944 conftest$ac_exeext conftest.$ac_ext
49946 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49947 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49948 if test `eval echo '${'$as_ac_var'}'` = yes; then
49949 cat >>confdefs.h <<_ACEOF
49950 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49951 _ACEOF
49954 done
49956 else
49958 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
49959 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
49960 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
49961 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
49962 echo $ECHO_N "(cached) $ECHO_C" >&6
49963 else
49967 ac_ext=cc
49968 ac_cpp='$CXXCPP $CPPFLAGS'
49969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49973 cat >conftest.$ac_ext <<_ACEOF
49974 /* confdefs.h. */
49975 _ACEOF
49976 cat confdefs.h >>conftest.$ac_ext
49977 cat >>conftest.$ac_ext <<_ACEOF
49978 /* end confdefs.h. */
49979 #include <math.h>
49981 main ()
49983 _sincosl(0, 0, 0);
49985 return 0;
49987 _ACEOF
49988 rm -f conftest.$ac_objext
49989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49990 (eval $ac_compile) 2>conftest.er1
49991 ac_status=$?
49992 grep -v '^ *+' conftest.er1 >conftest.err
49993 rm -f conftest.er1
49994 cat conftest.err >&5
49995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49996 (exit $ac_status); } &&
49997 { ac_try='test -z "$ac_cxx_werror_flag"
49998 || test ! -s conftest.err'
49999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50000 (eval $ac_try) 2>&5
50001 ac_status=$?
50002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50003 (exit $ac_status); }; } &&
50004 { ac_try='test -s conftest.$ac_objext'
50005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50006 (eval $ac_try) 2>&5
50007 ac_status=$?
50008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50009 (exit $ac_status); }; }; then
50010 glibcxx_cv_func__sincosl_use=yes
50011 else
50012 echo "$as_me: failed program was:" >&5
50013 sed 's/^/| /' conftest.$ac_ext >&5
50015 glibcxx_cv_func__sincosl_use=no
50017 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50018 ac_ext=c
50019 ac_cpp='$CPP $CPPFLAGS'
50020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50028 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
50029 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
50031 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
50033 for ac_func in _sincosl
50035 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50036 echo "$as_me:$LINENO: checking for $ac_func" >&5
50037 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50038 if eval "test \"\${$as_ac_var+set}\" = set"; then
50039 echo $ECHO_N "(cached) $ECHO_C" >&6
50040 else
50041 if test x$gcc_no_link = xyes; then
50042 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50043 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50044 { (exit 1); exit 1; }; }
50046 cat >conftest.$ac_ext <<_ACEOF
50047 /* confdefs.h. */
50048 _ACEOF
50049 cat confdefs.h >>conftest.$ac_ext
50050 cat >>conftest.$ac_ext <<_ACEOF
50051 /* end confdefs.h. */
50052 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50053 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50054 #define $ac_func innocuous_$ac_func
50056 /* System header to define __stub macros and hopefully few prototypes,
50057 which can conflict with char $ac_func (); below.
50058 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50059 <limits.h> exists even on freestanding compilers. */
50061 #ifdef __STDC__
50062 # include <limits.h>
50063 #else
50064 # include <assert.h>
50065 #endif
50067 #undef $ac_func
50069 /* Override any gcc2 internal prototype to avoid an error. */
50070 #ifdef __cplusplus
50071 extern "C"
50073 #endif
50074 /* We use char because int might match the return type of a gcc2
50075 builtin and then its argument prototype would still apply. */
50076 char $ac_func ();
50077 /* The GNU C library defines this for functions which it implements
50078 to always fail with ENOSYS. Some functions are actually named
50079 something starting with __ and the normal name is an alias. */
50080 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50081 choke me
50082 #else
50083 char (*f) () = $ac_func;
50084 #endif
50085 #ifdef __cplusplus
50087 #endif
50090 main ()
50092 return f != $ac_func;
50094 return 0;
50096 _ACEOF
50097 rm -f conftest.$ac_objext conftest$ac_exeext
50098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50099 (eval $ac_link) 2>conftest.er1
50100 ac_status=$?
50101 grep -v '^ *+' conftest.er1 >conftest.err
50102 rm -f conftest.er1
50103 cat conftest.err >&5
50104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50105 (exit $ac_status); } &&
50106 { ac_try='test -z "$ac_c_werror_flag"
50107 || test ! -s conftest.err'
50108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50109 (eval $ac_try) 2>&5
50110 ac_status=$?
50111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50112 (exit $ac_status); }; } &&
50113 { ac_try='test -s conftest$ac_exeext'
50114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50115 (eval $ac_try) 2>&5
50116 ac_status=$?
50117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50118 (exit $ac_status); }; }; then
50119 eval "$as_ac_var=yes"
50120 else
50121 echo "$as_me: failed program was:" >&5
50122 sed 's/^/| /' conftest.$ac_ext >&5
50124 eval "$as_ac_var=no"
50126 rm -f conftest.err conftest.$ac_objext \
50127 conftest$ac_exeext conftest.$ac_ext
50129 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50130 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50131 if test `eval echo '${'$as_ac_var'}'` = yes; then
50132 cat >>confdefs.h <<_ACEOF
50133 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50134 _ACEOF
50137 done
50147 echo "$as_me:$LINENO: checking for finitel declaration" >&5
50148 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
50149 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
50150 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
50151 echo $ECHO_N "(cached) $ECHO_C" >&6
50152 else
50156 ac_ext=cc
50157 ac_cpp='$CXXCPP $CPPFLAGS'
50158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50162 cat >conftest.$ac_ext <<_ACEOF
50163 /* confdefs.h. */
50164 _ACEOF
50165 cat confdefs.h >>conftest.$ac_ext
50166 cat >>conftest.$ac_ext <<_ACEOF
50167 /* end confdefs.h. */
50168 #include <math.h>
50169 #ifdef HAVE_IEEEFP_H
50170 #include <ieeefp.h>
50171 #endif
50174 main ()
50176 finitel(0);
50178 return 0;
50180 _ACEOF
50181 rm -f conftest.$ac_objext
50182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50183 (eval $ac_compile) 2>conftest.er1
50184 ac_status=$?
50185 grep -v '^ *+' conftest.er1 >conftest.err
50186 rm -f conftest.er1
50187 cat conftest.err >&5
50188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50189 (exit $ac_status); } &&
50190 { ac_try='test -z "$ac_cxx_werror_flag"
50191 || test ! -s conftest.err'
50192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50193 (eval $ac_try) 2>&5
50194 ac_status=$?
50195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50196 (exit $ac_status); }; } &&
50197 { ac_try='test -s conftest.$ac_objext'
50198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50199 (eval $ac_try) 2>&5
50200 ac_status=$?
50201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50202 (exit $ac_status); }; }; then
50203 glibcxx_cv_func_finitel_use=yes
50204 else
50205 echo "$as_me: failed program was:" >&5
50206 sed 's/^/| /' conftest.$ac_ext >&5
50208 glibcxx_cv_func_finitel_use=no
50210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50211 ac_ext=c
50212 ac_cpp='$CPP $CPPFLAGS'
50213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50221 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
50222 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
50224 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
50226 for ac_func in finitel
50228 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50229 echo "$as_me:$LINENO: checking for $ac_func" >&5
50230 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50231 if eval "test \"\${$as_ac_var+set}\" = set"; then
50232 echo $ECHO_N "(cached) $ECHO_C" >&6
50233 else
50234 if test x$gcc_no_link = xyes; then
50235 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50236 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50237 { (exit 1); exit 1; }; }
50239 cat >conftest.$ac_ext <<_ACEOF
50240 /* confdefs.h. */
50241 _ACEOF
50242 cat confdefs.h >>conftest.$ac_ext
50243 cat >>conftest.$ac_ext <<_ACEOF
50244 /* end confdefs.h. */
50245 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50246 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50247 #define $ac_func innocuous_$ac_func
50249 /* System header to define __stub macros and hopefully few prototypes,
50250 which can conflict with char $ac_func (); below.
50251 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50252 <limits.h> exists even on freestanding compilers. */
50254 #ifdef __STDC__
50255 # include <limits.h>
50256 #else
50257 # include <assert.h>
50258 #endif
50260 #undef $ac_func
50262 /* Override any gcc2 internal prototype to avoid an error. */
50263 #ifdef __cplusplus
50264 extern "C"
50266 #endif
50267 /* We use char because int might match the return type of a gcc2
50268 builtin and then its argument prototype would still apply. */
50269 char $ac_func ();
50270 /* The GNU C library defines this for functions which it implements
50271 to always fail with ENOSYS. Some functions are actually named
50272 something starting with __ and the normal name is an alias. */
50273 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50274 choke me
50275 #else
50276 char (*f) () = $ac_func;
50277 #endif
50278 #ifdef __cplusplus
50280 #endif
50283 main ()
50285 return f != $ac_func;
50287 return 0;
50289 _ACEOF
50290 rm -f conftest.$ac_objext conftest$ac_exeext
50291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50292 (eval $ac_link) 2>conftest.er1
50293 ac_status=$?
50294 grep -v '^ *+' conftest.er1 >conftest.err
50295 rm -f conftest.er1
50296 cat conftest.err >&5
50297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50298 (exit $ac_status); } &&
50299 { ac_try='test -z "$ac_c_werror_flag"
50300 || test ! -s conftest.err'
50301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50302 (eval $ac_try) 2>&5
50303 ac_status=$?
50304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50305 (exit $ac_status); }; } &&
50306 { ac_try='test -s conftest$ac_exeext'
50307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50308 (eval $ac_try) 2>&5
50309 ac_status=$?
50310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50311 (exit $ac_status); }; }; then
50312 eval "$as_ac_var=yes"
50313 else
50314 echo "$as_me: failed program was:" >&5
50315 sed 's/^/| /' conftest.$ac_ext >&5
50317 eval "$as_ac_var=no"
50319 rm -f conftest.err conftest.$ac_objext \
50320 conftest$ac_exeext conftest.$ac_ext
50322 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50323 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50324 if test `eval echo '${'$as_ac_var'}'` = yes; then
50325 cat >>confdefs.h <<_ACEOF
50326 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50327 _ACEOF
50330 done
50332 else
50334 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
50335 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
50336 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
50337 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
50338 echo $ECHO_N "(cached) $ECHO_C" >&6
50339 else
50343 ac_ext=cc
50344 ac_cpp='$CXXCPP $CPPFLAGS'
50345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50349 cat >conftest.$ac_ext <<_ACEOF
50350 /* confdefs.h. */
50351 _ACEOF
50352 cat confdefs.h >>conftest.$ac_ext
50353 cat >>conftest.$ac_ext <<_ACEOF
50354 /* end confdefs.h. */
50355 #include <math.h>
50356 #ifdef HAVE_IEEEFP_H
50357 #include <ieeefp.h>
50358 #endif
50361 main ()
50363 _finitel(0);
50365 return 0;
50367 _ACEOF
50368 rm -f conftest.$ac_objext
50369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50370 (eval $ac_compile) 2>conftest.er1
50371 ac_status=$?
50372 grep -v '^ *+' conftest.er1 >conftest.err
50373 rm -f conftest.er1
50374 cat conftest.err >&5
50375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50376 (exit $ac_status); } &&
50377 { ac_try='test -z "$ac_cxx_werror_flag"
50378 || test ! -s conftest.err'
50379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50380 (eval $ac_try) 2>&5
50381 ac_status=$?
50382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50383 (exit $ac_status); }; } &&
50384 { ac_try='test -s conftest.$ac_objext'
50385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50386 (eval $ac_try) 2>&5
50387 ac_status=$?
50388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50389 (exit $ac_status); }; }; then
50390 glibcxx_cv_func__finitel_use=yes
50391 else
50392 echo "$as_me: failed program was:" >&5
50393 sed 's/^/| /' conftest.$ac_ext >&5
50395 glibcxx_cv_func__finitel_use=no
50397 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50398 ac_ext=c
50399 ac_cpp='$CPP $CPPFLAGS'
50400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50408 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
50409 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
50411 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
50413 for ac_func in _finitel
50415 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50416 echo "$as_me:$LINENO: checking for $ac_func" >&5
50417 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50418 if eval "test \"\${$as_ac_var+set}\" = set"; then
50419 echo $ECHO_N "(cached) $ECHO_C" >&6
50420 else
50421 if test x$gcc_no_link = xyes; then
50422 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50423 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50424 { (exit 1); exit 1; }; }
50426 cat >conftest.$ac_ext <<_ACEOF
50427 /* confdefs.h. */
50428 _ACEOF
50429 cat confdefs.h >>conftest.$ac_ext
50430 cat >>conftest.$ac_ext <<_ACEOF
50431 /* end confdefs.h. */
50432 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50433 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50434 #define $ac_func innocuous_$ac_func
50436 /* System header to define __stub macros and hopefully few prototypes,
50437 which can conflict with char $ac_func (); below.
50438 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50439 <limits.h> exists even on freestanding compilers. */
50441 #ifdef __STDC__
50442 # include <limits.h>
50443 #else
50444 # include <assert.h>
50445 #endif
50447 #undef $ac_func
50449 /* Override any gcc2 internal prototype to avoid an error. */
50450 #ifdef __cplusplus
50451 extern "C"
50453 #endif
50454 /* We use char because int might match the return type of a gcc2
50455 builtin and then its argument prototype would still apply. */
50456 char $ac_func ();
50457 /* The GNU C library defines this for functions which it implements
50458 to always fail with ENOSYS. Some functions are actually named
50459 something starting with __ and the normal name is an alias. */
50460 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50461 choke me
50462 #else
50463 char (*f) () = $ac_func;
50464 #endif
50465 #ifdef __cplusplus
50467 #endif
50470 main ()
50472 return f != $ac_func;
50474 return 0;
50476 _ACEOF
50477 rm -f conftest.$ac_objext conftest$ac_exeext
50478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50479 (eval $ac_link) 2>conftest.er1
50480 ac_status=$?
50481 grep -v '^ *+' conftest.er1 >conftest.err
50482 rm -f conftest.er1
50483 cat conftest.err >&5
50484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50485 (exit $ac_status); } &&
50486 { ac_try='test -z "$ac_c_werror_flag"
50487 || test ! -s conftest.err'
50488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50489 (eval $ac_try) 2>&5
50490 ac_status=$?
50491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50492 (exit $ac_status); }; } &&
50493 { ac_try='test -s conftest$ac_exeext'
50494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50495 (eval $ac_try) 2>&5
50496 ac_status=$?
50497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50498 (exit $ac_status); }; }; then
50499 eval "$as_ac_var=yes"
50500 else
50501 echo "$as_me: failed program was:" >&5
50502 sed 's/^/| /' conftest.$ac_ext >&5
50504 eval "$as_ac_var=no"
50506 rm -f conftest.err conftest.$ac_objext \
50507 conftest$ac_exeext conftest.$ac_ext
50509 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50510 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50511 if test `eval echo '${'$as_ac_var'}'` = yes; then
50512 cat >>confdefs.h <<_ACEOF
50513 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50514 _ACEOF
50517 done
50526 LIBS="$ac_save_LIBS"
50527 CXXFLAGS="$ac_save_CXXFLAGS"
50531 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
50532 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
50533 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
50534 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
50535 echo $ECHO_N "(cached) $ECHO_C" >&6
50536 else
50540 ac_ext=cc
50541 ac_cpp='$CXXCPP $CPPFLAGS'
50542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50546 cat >conftest.$ac_ext <<_ACEOF
50547 /* confdefs.h. */
50548 _ACEOF
50549 cat confdefs.h >>conftest.$ac_ext
50550 cat >>conftest.$ac_ext <<_ACEOF
50551 /* end confdefs.h. */
50552 #include <math.h>
50554 main ()
50556 __builtin_abs(0);
50558 return 0;
50560 _ACEOF
50561 rm -f conftest.$ac_objext
50562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50563 (eval $ac_compile) 2>conftest.er1
50564 ac_status=$?
50565 grep -v '^ *+' conftest.er1 >conftest.err
50566 rm -f conftest.er1
50567 cat conftest.err >&5
50568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50569 (exit $ac_status); } &&
50570 { ac_try='test -z "$ac_cxx_werror_flag"
50571 || test ! -s conftest.err'
50572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50573 (eval $ac_try) 2>&5
50574 ac_status=$?
50575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50576 (exit $ac_status); }; } &&
50577 { ac_try='test -s conftest.$ac_objext'
50578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50579 (eval $ac_try) 2>&5
50580 ac_status=$?
50581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50582 (exit $ac_status); }; }; then
50583 glibcxx_cv_func___builtin_abs_use=yes
50584 else
50585 echo "$as_me: failed program was:" >&5
50586 sed 's/^/| /' conftest.$ac_ext >&5
50588 glibcxx_cv_func___builtin_abs_use=no
50590 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50591 ac_ext=c
50592 ac_cpp='$CPP $CPPFLAGS'
50593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50601 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
50602 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
50603 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
50604 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
50605 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
50606 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
50607 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
50608 echo $ECHO_N "(cached) $ECHO_C" >&6
50609 else
50611 if test x$gcc_no_link = xyes; then
50612 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50613 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50614 { (exit 1); exit 1; }; }
50616 cat >conftest.$ac_ext <<_ACEOF
50617 /* confdefs.h. */
50618 _ACEOF
50619 cat confdefs.h >>conftest.$ac_ext
50620 cat >>conftest.$ac_ext <<_ACEOF
50621 /* end confdefs.h. */
50622 #include <math.h>
50624 main ()
50626 __builtin_abs(0);
50628 return 0;
50630 _ACEOF
50631 rm -f conftest.$ac_objext conftest$ac_exeext
50632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50633 (eval $ac_link) 2>conftest.er1
50634 ac_status=$?
50635 grep -v '^ *+' conftest.er1 >conftest.err
50636 rm -f conftest.er1
50637 cat conftest.err >&5
50638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50639 (exit $ac_status); } &&
50640 { ac_try='test -z "$ac_c_werror_flag"
50641 || test ! -s conftest.err'
50642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50643 (eval $ac_try) 2>&5
50644 ac_status=$?
50645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50646 (exit $ac_status); }; } &&
50647 { ac_try='test -s conftest$ac_exeext'
50648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50649 (eval $ac_try) 2>&5
50650 ac_status=$?
50651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50652 (exit $ac_status); }; }; then
50653 glibcxx_cv_func___builtin_abs_link=yes
50654 else
50655 echo "$as_me: failed program was:" >&5
50656 sed 's/^/| /' conftest.$ac_ext >&5
50658 glibcxx_cv_func___builtin_abs_link=no
50660 rm -f conftest.err conftest.$ac_objext \
50661 conftest$ac_exeext conftest.$ac_ext
50666 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
50667 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
50669 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
50671 cat >>confdefs.h <<\_ACEOF
50672 #define HAVE___BUILTIN_ABS 1
50673 _ACEOF
50680 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
50681 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
50682 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
50683 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
50684 echo $ECHO_N "(cached) $ECHO_C" >&6
50685 else
50689 ac_ext=cc
50690 ac_cpp='$CXXCPP $CPPFLAGS'
50691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50695 cat >conftest.$ac_ext <<_ACEOF
50696 /* confdefs.h. */
50697 _ACEOF
50698 cat confdefs.h >>conftest.$ac_ext
50699 cat >>conftest.$ac_ext <<_ACEOF
50700 /* end confdefs.h. */
50701 #include <math.h>
50703 main ()
50705 __builtin_fabsf(0);
50707 return 0;
50709 _ACEOF
50710 rm -f conftest.$ac_objext
50711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50712 (eval $ac_compile) 2>conftest.er1
50713 ac_status=$?
50714 grep -v '^ *+' conftest.er1 >conftest.err
50715 rm -f conftest.er1
50716 cat conftest.err >&5
50717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50718 (exit $ac_status); } &&
50719 { ac_try='test -z "$ac_cxx_werror_flag"
50720 || test ! -s conftest.err'
50721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50722 (eval $ac_try) 2>&5
50723 ac_status=$?
50724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50725 (exit $ac_status); }; } &&
50726 { ac_try='test -s conftest.$ac_objext'
50727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50728 (eval $ac_try) 2>&5
50729 ac_status=$?
50730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50731 (exit $ac_status); }; }; then
50732 glibcxx_cv_func___builtin_fabsf_use=yes
50733 else
50734 echo "$as_me: failed program was:" >&5
50735 sed 's/^/| /' conftest.$ac_ext >&5
50737 glibcxx_cv_func___builtin_fabsf_use=no
50739 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50740 ac_ext=c
50741 ac_cpp='$CPP $CPPFLAGS'
50742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50750 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
50751 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
50752 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
50753 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
50754 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
50755 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
50756 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
50757 echo $ECHO_N "(cached) $ECHO_C" >&6
50758 else
50760 if test x$gcc_no_link = xyes; then
50761 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50762 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50763 { (exit 1); exit 1; }; }
50765 cat >conftest.$ac_ext <<_ACEOF
50766 /* confdefs.h. */
50767 _ACEOF
50768 cat confdefs.h >>conftest.$ac_ext
50769 cat >>conftest.$ac_ext <<_ACEOF
50770 /* end confdefs.h. */
50771 #include <math.h>
50773 main ()
50775 __builtin_fabsf(0);
50777 return 0;
50779 _ACEOF
50780 rm -f conftest.$ac_objext conftest$ac_exeext
50781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50782 (eval $ac_link) 2>conftest.er1
50783 ac_status=$?
50784 grep -v '^ *+' conftest.er1 >conftest.err
50785 rm -f conftest.er1
50786 cat conftest.err >&5
50787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50788 (exit $ac_status); } &&
50789 { ac_try='test -z "$ac_c_werror_flag"
50790 || test ! -s conftest.err'
50791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50792 (eval $ac_try) 2>&5
50793 ac_status=$?
50794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50795 (exit $ac_status); }; } &&
50796 { ac_try='test -s conftest$ac_exeext'
50797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50798 (eval $ac_try) 2>&5
50799 ac_status=$?
50800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50801 (exit $ac_status); }; }; then
50802 glibcxx_cv_func___builtin_fabsf_link=yes
50803 else
50804 echo "$as_me: failed program was:" >&5
50805 sed 's/^/| /' conftest.$ac_ext >&5
50807 glibcxx_cv_func___builtin_fabsf_link=no
50809 rm -f conftest.err conftest.$ac_objext \
50810 conftest$ac_exeext conftest.$ac_ext
50815 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
50816 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
50818 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
50820 cat >>confdefs.h <<\_ACEOF
50821 #define HAVE___BUILTIN_FABSF 1
50822 _ACEOF
50829 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
50830 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
50831 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
50832 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
50833 echo $ECHO_N "(cached) $ECHO_C" >&6
50834 else
50838 ac_ext=cc
50839 ac_cpp='$CXXCPP $CPPFLAGS'
50840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50844 cat >conftest.$ac_ext <<_ACEOF
50845 /* confdefs.h. */
50846 _ACEOF
50847 cat confdefs.h >>conftest.$ac_ext
50848 cat >>conftest.$ac_ext <<_ACEOF
50849 /* end confdefs.h. */
50850 #include <math.h>
50852 main ()
50854 __builtin_fabs(0);
50856 return 0;
50858 _ACEOF
50859 rm -f conftest.$ac_objext
50860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50861 (eval $ac_compile) 2>conftest.er1
50862 ac_status=$?
50863 grep -v '^ *+' conftest.er1 >conftest.err
50864 rm -f conftest.er1
50865 cat conftest.err >&5
50866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50867 (exit $ac_status); } &&
50868 { ac_try='test -z "$ac_cxx_werror_flag"
50869 || test ! -s conftest.err'
50870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50871 (eval $ac_try) 2>&5
50872 ac_status=$?
50873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50874 (exit $ac_status); }; } &&
50875 { ac_try='test -s conftest.$ac_objext'
50876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50877 (eval $ac_try) 2>&5
50878 ac_status=$?
50879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50880 (exit $ac_status); }; }; then
50881 glibcxx_cv_func___builtin_fabs_use=yes
50882 else
50883 echo "$as_me: failed program was:" >&5
50884 sed 's/^/| /' conftest.$ac_ext >&5
50886 glibcxx_cv_func___builtin_fabs_use=no
50888 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50889 ac_ext=c
50890 ac_cpp='$CPP $CPPFLAGS'
50891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50899 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
50900 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
50901 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
50902 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
50903 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
50904 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
50905 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
50906 echo $ECHO_N "(cached) $ECHO_C" >&6
50907 else
50909 if test x$gcc_no_link = xyes; then
50910 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50911 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50912 { (exit 1); exit 1; }; }
50914 cat >conftest.$ac_ext <<_ACEOF
50915 /* confdefs.h. */
50916 _ACEOF
50917 cat confdefs.h >>conftest.$ac_ext
50918 cat >>conftest.$ac_ext <<_ACEOF
50919 /* end confdefs.h. */
50920 #include <math.h>
50922 main ()
50924 __builtin_fabs(0);
50926 return 0;
50928 _ACEOF
50929 rm -f conftest.$ac_objext conftest$ac_exeext
50930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50931 (eval $ac_link) 2>conftest.er1
50932 ac_status=$?
50933 grep -v '^ *+' conftest.er1 >conftest.err
50934 rm -f conftest.er1
50935 cat conftest.err >&5
50936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50937 (exit $ac_status); } &&
50938 { ac_try='test -z "$ac_c_werror_flag"
50939 || test ! -s conftest.err'
50940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50941 (eval $ac_try) 2>&5
50942 ac_status=$?
50943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50944 (exit $ac_status); }; } &&
50945 { ac_try='test -s conftest$ac_exeext'
50946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50947 (eval $ac_try) 2>&5
50948 ac_status=$?
50949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50950 (exit $ac_status); }; }; then
50951 glibcxx_cv_func___builtin_fabs_link=yes
50952 else
50953 echo "$as_me: failed program was:" >&5
50954 sed 's/^/| /' conftest.$ac_ext >&5
50956 glibcxx_cv_func___builtin_fabs_link=no
50958 rm -f conftest.err conftest.$ac_objext \
50959 conftest$ac_exeext conftest.$ac_ext
50964 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
50965 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
50967 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
50969 cat >>confdefs.h <<\_ACEOF
50970 #define HAVE___BUILTIN_FABS 1
50971 _ACEOF
50978 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
50979 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
50980 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
50981 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
50982 echo $ECHO_N "(cached) $ECHO_C" >&6
50983 else
50987 ac_ext=cc
50988 ac_cpp='$CXXCPP $CPPFLAGS'
50989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50993 cat >conftest.$ac_ext <<_ACEOF
50994 /* confdefs.h. */
50995 _ACEOF
50996 cat confdefs.h >>conftest.$ac_ext
50997 cat >>conftest.$ac_ext <<_ACEOF
50998 /* end confdefs.h. */
50999 #include <math.h>
51001 main ()
51003 __builtin_fabsl(0);
51005 return 0;
51007 _ACEOF
51008 rm -f conftest.$ac_objext
51009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51010 (eval $ac_compile) 2>conftest.er1
51011 ac_status=$?
51012 grep -v '^ *+' conftest.er1 >conftest.err
51013 rm -f conftest.er1
51014 cat conftest.err >&5
51015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51016 (exit $ac_status); } &&
51017 { ac_try='test -z "$ac_cxx_werror_flag"
51018 || test ! -s conftest.err'
51019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51020 (eval $ac_try) 2>&5
51021 ac_status=$?
51022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51023 (exit $ac_status); }; } &&
51024 { ac_try='test -s conftest.$ac_objext'
51025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51026 (eval $ac_try) 2>&5
51027 ac_status=$?
51028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51029 (exit $ac_status); }; }; then
51030 glibcxx_cv_func___builtin_fabsl_use=yes
51031 else
51032 echo "$as_me: failed program was:" >&5
51033 sed 's/^/| /' conftest.$ac_ext >&5
51035 glibcxx_cv_func___builtin_fabsl_use=no
51037 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51038 ac_ext=c
51039 ac_cpp='$CPP $CPPFLAGS'
51040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51048 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
51049 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
51050 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
51051 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
51052 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
51053 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
51054 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
51055 echo $ECHO_N "(cached) $ECHO_C" >&6
51056 else
51058 if test x$gcc_no_link = xyes; then
51059 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51060 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51061 { (exit 1); exit 1; }; }
51063 cat >conftest.$ac_ext <<_ACEOF
51064 /* confdefs.h. */
51065 _ACEOF
51066 cat confdefs.h >>conftest.$ac_ext
51067 cat >>conftest.$ac_ext <<_ACEOF
51068 /* end confdefs.h. */
51069 #include <math.h>
51071 main ()
51073 __builtin_fabsl(0);
51075 return 0;
51077 _ACEOF
51078 rm -f conftest.$ac_objext conftest$ac_exeext
51079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51080 (eval $ac_link) 2>conftest.er1
51081 ac_status=$?
51082 grep -v '^ *+' conftest.er1 >conftest.err
51083 rm -f conftest.er1
51084 cat conftest.err >&5
51085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51086 (exit $ac_status); } &&
51087 { ac_try='test -z "$ac_c_werror_flag"
51088 || test ! -s conftest.err'
51089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51090 (eval $ac_try) 2>&5
51091 ac_status=$?
51092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51093 (exit $ac_status); }; } &&
51094 { ac_try='test -s conftest$ac_exeext'
51095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51096 (eval $ac_try) 2>&5
51097 ac_status=$?
51098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51099 (exit $ac_status); }; }; then
51100 glibcxx_cv_func___builtin_fabsl_link=yes
51101 else
51102 echo "$as_me: failed program was:" >&5
51103 sed 's/^/| /' conftest.$ac_ext >&5
51105 glibcxx_cv_func___builtin_fabsl_link=no
51107 rm -f conftest.err conftest.$ac_objext \
51108 conftest$ac_exeext conftest.$ac_ext
51113 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
51114 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
51116 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
51118 cat >>confdefs.h <<\_ACEOF
51119 #define HAVE___BUILTIN_FABSL 1
51120 _ACEOF
51127 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
51128 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
51129 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
51130 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
51131 echo $ECHO_N "(cached) $ECHO_C" >&6
51132 else
51136 ac_ext=cc
51137 ac_cpp='$CXXCPP $CPPFLAGS'
51138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51142 cat >conftest.$ac_ext <<_ACEOF
51143 /* confdefs.h. */
51144 _ACEOF
51145 cat confdefs.h >>conftest.$ac_ext
51146 cat >>conftest.$ac_ext <<_ACEOF
51147 /* end confdefs.h. */
51148 #include <math.h>
51150 main ()
51152 __builtin_labs(0);
51154 return 0;
51156 _ACEOF
51157 rm -f conftest.$ac_objext
51158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51159 (eval $ac_compile) 2>conftest.er1
51160 ac_status=$?
51161 grep -v '^ *+' conftest.er1 >conftest.err
51162 rm -f conftest.er1
51163 cat conftest.err >&5
51164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51165 (exit $ac_status); } &&
51166 { ac_try='test -z "$ac_cxx_werror_flag"
51167 || test ! -s conftest.err'
51168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51169 (eval $ac_try) 2>&5
51170 ac_status=$?
51171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51172 (exit $ac_status); }; } &&
51173 { ac_try='test -s conftest.$ac_objext'
51174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51175 (eval $ac_try) 2>&5
51176 ac_status=$?
51177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51178 (exit $ac_status); }; }; then
51179 glibcxx_cv_func___builtin_labs_use=yes
51180 else
51181 echo "$as_me: failed program was:" >&5
51182 sed 's/^/| /' conftest.$ac_ext >&5
51184 glibcxx_cv_func___builtin_labs_use=no
51186 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51187 ac_ext=c
51188 ac_cpp='$CPP $CPPFLAGS'
51189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51197 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
51198 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
51199 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
51200 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
51201 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
51202 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
51203 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
51204 echo $ECHO_N "(cached) $ECHO_C" >&6
51205 else
51207 if test x$gcc_no_link = xyes; then
51208 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51209 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51210 { (exit 1); exit 1; }; }
51212 cat >conftest.$ac_ext <<_ACEOF
51213 /* confdefs.h. */
51214 _ACEOF
51215 cat confdefs.h >>conftest.$ac_ext
51216 cat >>conftest.$ac_ext <<_ACEOF
51217 /* end confdefs.h. */
51218 #include <math.h>
51220 main ()
51222 __builtin_labs(0);
51224 return 0;
51226 _ACEOF
51227 rm -f conftest.$ac_objext conftest$ac_exeext
51228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51229 (eval $ac_link) 2>conftest.er1
51230 ac_status=$?
51231 grep -v '^ *+' conftest.er1 >conftest.err
51232 rm -f conftest.er1
51233 cat conftest.err >&5
51234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51235 (exit $ac_status); } &&
51236 { ac_try='test -z "$ac_c_werror_flag"
51237 || test ! -s conftest.err'
51238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51239 (eval $ac_try) 2>&5
51240 ac_status=$?
51241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51242 (exit $ac_status); }; } &&
51243 { ac_try='test -s conftest$ac_exeext'
51244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51245 (eval $ac_try) 2>&5
51246 ac_status=$?
51247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51248 (exit $ac_status); }; }; then
51249 glibcxx_cv_func___builtin_labs_link=yes
51250 else
51251 echo "$as_me: failed program was:" >&5
51252 sed 's/^/| /' conftest.$ac_ext >&5
51254 glibcxx_cv_func___builtin_labs_link=no
51256 rm -f conftest.err conftest.$ac_objext \
51257 conftest$ac_exeext conftest.$ac_ext
51262 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
51263 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
51265 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
51267 cat >>confdefs.h <<\_ACEOF
51268 #define HAVE___BUILTIN_LABS 1
51269 _ACEOF
51277 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
51278 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
51279 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
51280 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
51281 echo $ECHO_N "(cached) $ECHO_C" >&6
51282 else
51286 ac_ext=cc
51287 ac_cpp='$CXXCPP $CPPFLAGS'
51288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51292 cat >conftest.$ac_ext <<_ACEOF
51293 /* confdefs.h. */
51294 _ACEOF
51295 cat confdefs.h >>conftest.$ac_ext
51296 cat >>conftest.$ac_ext <<_ACEOF
51297 /* end confdefs.h. */
51298 #include <math.h>
51300 main ()
51302 __builtin_sqrtf(0);
51304 return 0;
51306 _ACEOF
51307 rm -f conftest.$ac_objext
51308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51309 (eval $ac_compile) 2>conftest.er1
51310 ac_status=$?
51311 grep -v '^ *+' conftest.er1 >conftest.err
51312 rm -f conftest.er1
51313 cat conftest.err >&5
51314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51315 (exit $ac_status); } &&
51316 { ac_try='test -z "$ac_cxx_werror_flag"
51317 || test ! -s conftest.err'
51318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51319 (eval $ac_try) 2>&5
51320 ac_status=$?
51321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51322 (exit $ac_status); }; } &&
51323 { ac_try='test -s conftest.$ac_objext'
51324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51325 (eval $ac_try) 2>&5
51326 ac_status=$?
51327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51328 (exit $ac_status); }; }; then
51329 glibcxx_cv_func___builtin_sqrtf_use=yes
51330 else
51331 echo "$as_me: failed program was:" >&5
51332 sed 's/^/| /' conftest.$ac_ext >&5
51334 glibcxx_cv_func___builtin_sqrtf_use=no
51336 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51337 ac_ext=c
51338 ac_cpp='$CPP $CPPFLAGS'
51339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51347 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
51348 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
51349 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
51350 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
51351 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
51352 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
51353 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
51354 echo $ECHO_N "(cached) $ECHO_C" >&6
51355 else
51357 if test x$gcc_no_link = xyes; then
51358 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51359 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51360 { (exit 1); exit 1; }; }
51362 cat >conftest.$ac_ext <<_ACEOF
51363 /* confdefs.h. */
51364 _ACEOF
51365 cat confdefs.h >>conftest.$ac_ext
51366 cat >>conftest.$ac_ext <<_ACEOF
51367 /* end confdefs.h. */
51368 #include <math.h>
51370 main ()
51372 __builtin_sqrtf(0);
51374 return 0;
51376 _ACEOF
51377 rm -f conftest.$ac_objext conftest$ac_exeext
51378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51379 (eval $ac_link) 2>conftest.er1
51380 ac_status=$?
51381 grep -v '^ *+' conftest.er1 >conftest.err
51382 rm -f conftest.er1
51383 cat conftest.err >&5
51384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51385 (exit $ac_status); } &&
51386 { ac_try='test -z "$ac_c_werror_flag"
51387 || test ! -s conftest.err'
51388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51389 (eval $ac_try) 2>&5
51390 ac_status=$?
51391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51392 (exit $ac_status); }; } &&
51393 { ac_try='test -s conftest$ac_exeext'
51394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51395 (eval $ac_try) 2>&5
51396 ac_status=$?
51397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51398 (exit $ac_status); }; }; then
51399 glibcxx_cv_func___builtin_sqrtf_link=yes
51400 else
51401 echo "$as_me: failed program was:" >&5
51402 sed 's/^/| /' conftest.$ac_ext >&5
51404 glibcxx_cv_func___builtin_sqrtf_link=no
51406 rm -f conftest.err conftest.$ac_objext \
51407 conftest$ac_exeext conftest.$ac_ext
51412 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
51413 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
51415 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
51417 cat >>confdefs.h <<\_ACEOF
51418 #define HAVE___BUILTIN_SQRTF 1
51419 _ACEOF
51426 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
51427 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
51428 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
51429 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
51430 echo $ECHO_N "(cached) $ECHO_C" >&6
51431 else
51435 ac_ext=cc
51436 ac_cpp='$CXXCPP $CPPFLAGS'
51437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51441 cat >conftest.$ac_ext <<_ACEOF
51442 /* confdefs.h. */
51443 _ACEOF
51444 cat confdefs.h >>conftest.$ac_ext
51445 cat >>conftest.$ac_ext <<_ACEOF
51446 /* end confdefs.h. */
51447 #include <math.h>
51449 main ()
51451 __builtin_sqrt(0);
51453 return 0;
51455 _ACEOF
51456 rm -f conftest.$ac_objext
51457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51458 (eval $ac_compile) 2>conftest.er1
51459 ac_status=$?
51460 grep -v '^ *+' conftest.er1 >conftest.err
51461 rm -f conftest.er1
51462 cat conftest.err >&5
51463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51464 (exit $ac_status); } &&
51465 { ac_try='test -z "$ac_cxx_werror_flag"
51466 || test ! -s conftest.err'
51467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51468 (eval $ac_try) 2>&5
51469 ac_status=$?
51470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51471 (exit $ac_status); }; } &&
51472 { ac_try='test -s conftest.$ac_objext'
51473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51474 (eval $ac_try) 2>&5
51475 ac_status=$?
51476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51477 (exit $ac_status); }; }; then
51478 glibcxx_cv_func___builtin_sqrt_use=yes
51479 else
51480 echo "$as_me: failed program was:" >&5
51481 sed 's/^/| /' conftest.$ac_ext >&5
51483 glibcxx_cv_func___builtin_sqrt_use=no
51485 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51486 ac_ext=c
51487 ac_cpp='$CPP $CPPFLAGS'
51488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51496 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
51497 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
51498 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
51499 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
51500 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
51501 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
51502 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
51503 echo $ECHO_N "(cached) $ECHO_C" >&6
51504 else
51506 if test x$gcc_no_link = xyes; then
51507 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51508 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51509 { (exit 1); exit 1; }; }
51511 cat >conftest.$ac_ext <<_ACEOF
51512 /* confdefs.h. */
51513 _ACEOF
51514 cat confdefs.h >>conftest.$ac_ext
51515 cat >>conftest.$ac_ext <<_ACEOF
51516 /* end confdefs.h. */
51517 #include <math.h>
51519 main ()
51521 __builtin_sqrt(0);
51523 return 0;
51525 _ACEOF
51526 rm -f conftest.$ac_objext conftest$ac_exeext
51527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51528 (eval $ac_link) 2>conftest.er1
51529 ac_status=$?
51530 grep -v '^ *+' conftest.er1 >conftest.err
51531 rm -f conftest.er1
51532 cat conftest.err >&5
51533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51534 (exit $ac_status); } &&
51535 { ac_try='test -z "$ac_c_werror_flag"
51536 || test ! -s conftest.err'
51537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51538 (eval $ac_try) 2>&5
51539 ac_status=$?
51540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51541 (exit $ac_status); }; } &&
51542 { ac_try='test -s conftest$ac_exeext'
51543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51544 (eval $ac_try) 2>&5
51545 ac_status=$?
51546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51547 (exit $ac_status); }; }; then
51548 glibcxx_cv_func___builtin_sqrt_link=yes
51549 else
51550 echo "$as_me: failed program was:" >&5
51551 sed 's/^/| /' conftest.$ac_ext >&5
51553 glibcxx_cv_func___builtin_sqrt_link=no
51555 rm -f conftest.err conftest.$ac_objext \
51556 conftest$ac_exeext conftest.$ac_ext
51561 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
51562 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
51564 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
51566 cat >>confdefs.h <<\_ACEOF
51567 #define HAVE___BUILTIN_SQRT 1
51568 _ACEOF
51575 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
51576 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
51577 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
51578 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
51579 echo $ECHO_N "(cached) $ECHO_C" >&6
51580 else
51584 ac_ext=cc
51585 ac_cpp='$CXXCPP $CPPFLAGS'
51586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51590 cat >conftest.$ac_ext <<_ACEOF
51591 /* confdefs.h. */
51592 _ACEOF
51593 cat confdefs.h >>conftest.$ac_ext
51594 cat >>conftest.$ac_ext <<_ACEOF
51595 /* end confdefs.h. */
51596 #include <math.h>
51598 main ()
51600 __builtin_sqrtl(0);
51602 return 0;
51604 _ACEOF
51605 rm -f conftest.$ac_objext
51606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51607 (eval $ac_compile) 2>conftest.er1
51608 ac_status=$?
51609 grep -v '^ *+' conftest.er1 >conftest.err
51610 rm -f conftest.er1
51611 cat conftest.err >&5
51612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51613 (exit $ac_status); } &&
51614 { ac_try='test -z "$ac_cxx_werror_flag"
51615 || test ! -s conftest.err'
51616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51617 (eval $ac_try) 2>&5
51618 ac_status=$?
51619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51620 (exit $ac_status); }; } &&
51621 { ac_try='test -s conftest.$ac_objext'
51622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51623 (eval $ac_try) 2>&5
51624 ac_status=$?
51625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51626 (exit $ac_status); }; }; then
51627 glibcxx_cv_func___builtin_sqrtl_use=yes
51628 else
51629 echo "$as_me: failed program was:" >&5
51630 sed 's/^/| /' conftest.$ac_ext >&5
51632 glibcxx_cv_func___builtin_sqrtl_use=no
51634 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51635 ac_ext=c
51636 ac_cpp='$CPP $CPPFLAGS'
51637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51645 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
51646 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
51647 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
51648 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
51649 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
51650 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
51651 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
51652 echo $ECHO_N "(cached) $ECHO_C" >&6
51653 else
51655 if test x$gcc_no_link = xyes; then
51656 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51657 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51658 { (exit 1); exit 1; }; }
51660 cat >conftest.$ac_ext <<_ACEOF
51661 /* confdefs.h. */
51662 _ACEOF
51663 cat confdefs.h >>conftest.$ac_ext
51664 cat >>conftest.$ac_ext <<_ACEOF
51665 /* end confdefs.h. */
51666 #include <math.h>
51668 main ()
51670 __builtin_sqrtl(0);
51672 return 0;
51674 _ACEOF
51675 rm -f conftest.$ac_objext conftest$ac_exeext
51676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51677 (eval $ac_link) 2>conftest.er1
51678 ac_status=$?
51679 grep -v '^ *+' conftest.er1 >conftest.err
51680 rm -f conftest.er1
51681 cat conftest.err >&5
51682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51683 (exit $ac_status); } &&
51684 { ac_try='test -z "$ac_c_werror_flag"
51685 || test ! -s conftest.err'
51686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51687 (eval $ac_try) 2>&5
51688 ac_status=$?
51689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51690 (exit $ac_status); }; } &&
51691 { ac_try='test -s conftest$ac_exeext'
51692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51693 (eval $ac_try) 2>&5
51694 ac_status=$?
51695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51696 (exit $ac_status); }; }; then
51697 glibcxx_cv_func___builtin_sqrtl_link=yes
51698 else
51699 echo "$as_me: failed program was:" >&5
51700 sed 's/^/| /' conftest.$ac_ext >&5
51702 glibcxx_cv_func___builtin_sqrtl_link=no
51704 rm -f conftest.err conftest.$ac_objext \
51705 conftest$ac_exeext conftest.$ac_ext
51710 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
51711 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
51713 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
51715 cat >>confdefs.h <<\_ACEOF
51716 #define HAVE___BUILTIN_SQRTL 1
51717 _ACEOF
51725 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
51726 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
51727 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
51728 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
51729 echo $ECHO_N "(cached) $ECHO_C" >&6
51730 else
51734 ac_ext=cc
51735 ac_cpp='$CXXCPP $CPPFLAGS'
51736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51740 cat >conftest.$ac_ext <<_ACEOF
51741 /* confdefs.h. */
51742 _ACEOF
51743 cat confdefs.h >>conftest.$ac_ext
51744 cat >>conftest.$ac_ext <<_ACEOF
51745 /* end confdefs.h. */
51746 #include <math.h>
51748 main ()
51750 __builtin_sinf(0);
51752 return 0;
51754 _ACEOF
51755 rm -f conftest.$ac_objext
51756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51757 (eval $ac_compile) 2>conftest.er1
51758 ac_status=$?
51759 grep -v '^ *+' conftest.er1 >conftest.err
51760 rm -f conftest.er1
51761 cat conftest.err >&5
51762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51763 (exit $ac_status); } &&
51764 { ac_try='test -z "$ac_cxx_werror_flag"
51765 || test ! -s conftest.err'
51766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51767 (eval $ac_try) 2>&5
51768 ac_status=$?
51769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51770 (exit $ac_status); }; } &&
51771 { ac_try='test -s conftest.$ac_objext'
51772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51773 (eval $ac_try) 2>&5
51774 ac_status=$?
51775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51776 (exit $ac_status); }; }; then
51777 glibcxx_cv_func___builtin_sinf_use=yes
51778 else
51779 echo "$as_me: failed program was:" >&5
51780 sed 's/^/| /' conftest.$ac_ext >&5
51782 glibcxx_cv_func___builtin_sinf_use=no
51784 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51785 ac_ext=c
51786 ac_cpp='$CPP $CPPFLAGS'
51787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51795 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
51796 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
51797 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
51798 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
51799 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
51800 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
51801 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
51802 echo $ECHO_N "(cached) $ECHO_C" >&6
51803 else
51805 if test x$gcc_no_link = xyes; then
51806 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51807 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51808 { (exit 1); exit 1; }; }
51810 cat >conftest.$ac_ext <<_ACEOF
51811 /* confdefs.h. */
51812 _ACEOF
51813 cat confdefs.h >>conftest.$ac_ext
51814 cat >>conftest.$ac_ext <<_ACEOF
51815 /* end confdefs.h. */
51816 #include <math.h>
51818 main ()
51820 __builtin_sinf(0);
51822 return 0;
51824 _ACEOF
51825 rm -f conftest.$ac_objext conftest$ac_exeext
51826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51827 (eval $ac_link) 2>conftest.er1
51828 ac_status=$?
51829 grep -v '^ *+' conftest.er1 >conftest.err
51830 rm -f conftest.er1
51831 cat conftest.err >&5
51832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51833 (exit $ac_status); } &&
51834 { ac_try='test -z "$ac_c_werror_flag"
51835 || test ! -s conftest.err'
51836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51837 (eval $ac_try) 2>&5
51838 ac_status=$?
51839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51840 (exit $ac_status); }; } &&
51841 { ac_try='test -s conftest$ac_exeext'
51842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51843 (eval $ac_try) 2>&5
51844 ac_status=$?
51845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51846 (exit $ac_status); }; }; then
51847 glibcxx_cv_func___builtin_sinf_link=yes
51848 else
51849 echo "$as_me: failed program was:" >&5
51850 sed 's/^/| /' conftest.$ac_ext >&5
51852 glibcxx_cv_func___builtin_sinf_link=no
51854 rm -f conftest.err conftest.$ac_objext \
51855 conftest$ac_exeext conftest.$ac_ext
51860 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
51861 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
51863 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
51865 cat >>confdefs.h <<\_ACEOF
51866 #define HAVE___BUILTIN_SINF 1
51867 _ACEOF
51874 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
51875 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
51876 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
51877 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
51878 echo $ECHO_N "(cached) $ECHO_C" >&6
51879 else
51883 ac_ext=cc
51884 ac_cpp='$CXXCPP $CPPFLAGS'
51885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51889 cat >conftest.$ac_ext <<_ACEOF
51890 /* confdefs.h. */
51891 _ACEOF
51892 cat confdefs.h >>conftest.$ac_ext
51893 cat >>conftest.$ac_ext <<_ACEOF
51894 /* end confdefs.h. */
51895 #include <math.h>
51897 main ()
51899 __builtin_sin(0);
51901 return 0;
51903 _ACEOF
51904 rm -f conftest.$ac_objext
51905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51906 (eval $ac_compile) 2>conftest.er1
51907 ac_status=$?
51908 grep -v '^ *+' conftest.er1 >conftest.err
51909 rm -f conftest.er1
51910 cat conftest.err >&5
51911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51912 (exit $ac_status); } &&
51913 { ac_try='test -z "$ac_cxx_werror_flag"
51914 || test ! -s conftest.err'
51915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51916 (eval $ac_try) 2>&5
51917 ac_status=$?
51918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51919 (exit $ac_status); }; } &&
51920 { ac_try='test -s conftest.$ac_objext'
51921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51922 (eval $ac_try) 2>&5
51923 ac_status=$?
51924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51925 (exit $ac_status); }; }; then
51926 glibcxx_cv_func___builtin_sin_use=yes
51927 else
51928 echo "$as_me: failed program was:" >&5
51929 sed 's/^/| /' conftest.$ac_ext >&5
51931 glibcxx_cv_func___builtin_sin_use=no
51933 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51934 ac_ext=c
51935 ac_cpp='$CPP $CPPFLAGS'
51936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51944 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
51945 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
51946 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
51947 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
51948 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
51949 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
51950 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
51951 echo $ECHO_N "(cached) $ECHO_C" >&6
51952 else
51954 if test x$gcc_no_link = xyes; then
51955 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51956 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51957 { (exit 1); exit 1; }; }
51959 cat >conftest.$ac_ext <<_ACEOF
51960 /* confdefs.h. */
51961 _ACEOF
51962 cat confdefs.h >>conftest.$ac_ext
51963 cat >>conftest.$ac_ext <<_ACEOF
51964 /* end confdefs.h. */
51965 #include <math.h>
51967 main ()
51969 __builtin_sin(0);
51971 return 0;
51973 _ACEOF
51974 rm -f conftest.$ac_objext conftest$ac_exeext
51975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51976 (eval $ac_link) 2>conftest.er1
51977 ac_status=$?
51978 grep -v '^ *+' conftest.er1 >conftest.err
51979 rm -f conftest.er1
51980 cat conftest.err >&5
51981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51982 (exit $ac_status); } &&
51983 { ac_try='test -z "$ac_c_werror_flag"
51984 || test ! -s conftest.err'
51985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51986 (eval $ac_try) 2>&5
51987 ac_status=$?
51988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51989 (exit $ac_status); }; } &&
51990 { ac_try='test -s conftest$ac_exeext'
51991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51992 (eval $ac_try) 2>&5
51993 ac_status=$?
51994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51995 (exit $ac_status); }; }; then
51996 glibcxx_cv_func___builtin_sin_link=yes
51997 else
51998 echo "$as_me: failed program was:" >&5
51999 sed 's/^/| /' conftest.$ac_ext >&5
52001 glibcxx_cv_func___builtin_sin_link=no
52003 rm -f conftest.err conftest.$ac_objext \
52004 conftest$ac_exeext conftest.$ac_ext
52009 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
52010 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
52012 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
52014 cat >>confdefs.h <<\_ACEOF
52015 #define HAVE___BUILTIN_SIN 1
52016 _ACEOF
52023 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
52024 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
52025 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
52026 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
52027 echo $ECHO_N "(cached) $ECHO_C" >&6
52028 else
52032 ac_ext=cc
52033 ac_cpp='$CXXCPP $CPPFLAGS'
52034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52038 cat >conftest.$ac_ext <<_ACEOF
52039 /* confdefs.h. */
52040 _ACEOF
52041 cat confdefs.h >>conftest.$ac_ext
52042 cat >>conftest.$ac_ext <<_ACEOF
52043 /* end confdefs.h. */
52044 #include <math.h>
52046 main ()
52048 __builtin_sinl(0);
52050 return 0;
52052 _ACEOF
52053 rm -f conftest.$ac_objext
52054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52055 (eval $ac_compile) 2>conftest.er1
52056 ac_status=$?
52057 grep -v '^ *+' conftest.er1 >conftest.err
52058 rm -f conftest.er1
52059 cat conftest.err >&5
52060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52061 (exit $ac_status); } &&
52062 { ac_try='test -z "$ac_cxx_werror_flag"
52063 || test ! -s conftest.err'
52064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52065 (eval $ac_try) 2>&5
52066 ac_status=$?
52067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52068 (exit $ac_status); }; } &&
52069 { ac_try='test -s conftest.$ac_objext'
52070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52071 (eval $ac_try) 2>&5
52072 ac_status=$?
52073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52074 (exit $ac_status); }; }; then
52075 glibcxx_cv_func___builtin_sinl_use=yes
52076 else
52077 echo "$as_me: failed program was:" >&5
52078 sed 's/^/| /' conftest.$ac_ext >&5
52080 glibcxx_cv_func___builtin_sinl_use=no
52082 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52083 ac_ext=c
52084 ac_cpp='$CPP $CPPFLAGS'
52085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52093 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
52094 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
52095 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
52096 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
52097 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
52098 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
52099 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
52100 echo $ECHO_N "(cached) $ECHO_C" >&6
52101 else
52103 if test x$gcc_no_link = xyes; then
52104 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52105 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52106 { (exit 1); exit 1; }; }
52108 cat >conftest.$ac_ext <<_ACEOF
52109 /* confdefs.h. */
52110 _ACEOF
52111 cat confdefs.h >>conftest.$ac_ext
52112 cat >>conftest.$ac_ext <<_ACEOF
52113 /* end confdefs.h. */
52114 #include <math.h>
52116 main ()
52118 __builtin_sinl(0);
52120 return 0;
52122 _ACEOF
52123 rm -f conftest.$ac_objext conftest$ac_exeext
52124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52125 (eval $ac_link) 2>conftest.er1
52126 ac_status=$?
52127 grep -v '^ *+' conftest.er1 >conftest.err
52128 rm -f conftest.er1
52129 cat conftest.err >&5
52130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52131 (exit $ac_status); } &&
52132 { ac_try='test -z "$ac_c_werror_flag"
52133 || test ! -s conftest.err'
52134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52135 (eval $ac_try) 2>&5
52136 ac_status=$?
52137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52138 (exit $ac_status); }; } &&
52139 { ac_try='test -s conftest$ac_exeext'
52140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52141 (eval $ac_try) 2>&5
52142 ac_status=$?
52143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52144 (exit $ac_status); }; }; then
52145 glibcxx_cv_func___builtin_sinl_link=yes
52146 else
52147 echo "$as_me: failed program was:" >&5
52148 sed 's/^/| /' conftest.$ac_ext >&5
52150 glibcxx_cv_func___builtin_sinl_link=no
52152 rm -f conftest.err conftest.$ac_objext \
52153 conftest$ac_exeext conftest.$ac_ext
52158 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
52159 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
52161 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
52163 cat >>confdefs.h <<\_ACEOF
52164 #define HAVE___BUILTIN_SINL 1
52165 _ACEOF
52173 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
52174 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
52175 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
52176 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
52177 echo $ECHO_N "(cached) $ECHO_C" >&6
52178 else
52182 ac_ext=cc
52183 ac_cpp='$CXXCPP $CPPFLAGS'
52184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52188 cat >conftest.$ac_ext <<_ACEOF
52189 /* confdefs.h. */
52190 _ACEOF
52191 cat confdefs.h >>conftest.$ac_ext
52192 cat >>conftest.$ac_ext <<_ACEOF
52193 /* end confdefs.h. */
52194 #include <math.h>
52196 main ()
52198 __builtin_cosf(0);
52200 return 0;
52202 _ACEOF
52203 rm -f conftest.$ac_objext
52204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52205 (eval $ac_compile) 2>conftest.er1
52206 ac_status=$?
52207 grep -v '^ *+' conftest.er1 >conftest.err
52208 rm -f conftest.er1
52209 cat conftest.err >&5
52210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52211 (exit $ac_status); } &&
52212 { ac_try='test -z "$ac_cxx_werror_flag"
52213 || test ! -s conftest.err'
52214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52215 (eval $ac_try) 2>&5
52216 ac_status=$?
52217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52218 (exit $ac_status); }; } &&
52219 { ac_try='test -s conftest.$ac_objext'
52220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52221 (eval $ac_try) 2>&5
52222 ac_status=$?
52223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52224 (exit $ac_status); }; }; then
52225 glibcxx_cv_func___builtin_cosf_use=yes
52226 else
52227 echo "$as_me: failed program was:" >&5
52228 sed 's/^/| /' conftest.$ac_ext >&5
52230 glibcxx_cv_func___builtin_cosf_use=no
52232 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52233 ac_ext=c
52234 ac_cpp='$CPP $CPPFLAGS'
52235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52243 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
52244 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
52245 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
52246 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
52247 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
52248 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
52249 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
52250 echo $ECHO_N "(cached) $ECHO_C" >&6
52251 else
52253 if test x$gcc_no_link = xyes; then
52254 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52255 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52256 { (exit 1); exit 1; }; }
52258 cat >conftest.$ac_ext <<_ACEOF
52259 /* confdefs.h. */
52260 _ACEOF
52261 cat confdefs.h >>conftest.$ac_ext
52262 cat >>conftest.$ac_ext <<_ACEOF
52263 /* end confdefs.h. */
52264 #include <math.h>
52266 main ()
52268 __builtin_cosf(0);
52270 return 0;
52272 _ACEOF
52273 rm -f conftest.$ac_objext conftest$ac_exeext
52274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52275 (eval $ac_link) 2>conftest.er1
52276 ac_status=$?
52277 grep -v '^ *+' conftest.er1 >conftest.err
52278 rm -f conftest.er1
52279 cat conftest.err >&5
52280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52281 (exit $ac_status); } &&
52282 { ac_try='test -z "$ac_c_werror_flag"
52283 || test ! -s conftest.err'
52284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52285 (eval $ac_try) 2>&5
52286 ac_status=$?
52287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52288 (exit $ac_status); }; } &&
52289 { ac_try='test -s conftest$ac_exeext'
52290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52291 (eval $ac_try) 2>&5
52292 ac_status=$?
52293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52294 (exit $ac_status); }; }; then
52295 glibcxx_cv_func___builtin_cosf_link=yes
52296 else
52297 echo "$as_me: failed program was:" >&5
52298 sed 's/^/| /' conftest.$ac_ext >&5
52300 glibcxx_cv_func___builtin_cosf_link=no
52302 rm -f conftest.err conftest.$ac_objext \
52303 conftest$ac_exeext conftest.$ac_ext
52308 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
52309 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
52311 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
52313 cat >>confdefs.h <<\_ACEOF
52314 #define HAVE___BUILTIN_COSF 1
52315 _ACEOF
52322 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
52323 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
52324 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
52325 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
52326 echo $ECHO_N "(cached) $ECHO_C" >&6
52327 else
52331 ac_ext=cc
52332 ac_cpp='$CXXCPP $CPPFLAGS'
52333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52337 cat >conftest.$ac_ext <<_ACEOF
52338 /* confdefs.h. */
52339 _ACEOF
52340 cat confdefs.h >>conftest.$ac_ext
52341 cat >>conftest.$ac_ext <<_ACEOF
52342 /* end confdefs.h. */
52343 #include <math.h>
52345 main ()
52347 __builtin_cos(0);
52349 return 0;
52351 _ACEOF
52352 rm -f conftest.$ac_objext
52353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52354 (eval $ac_compile) 2>conftest.er1
52355 ac_status=$?
52356 grep -v '^ *+' conftest.er1 >conftest.err
52357 rm -f conftest.er1
52358 cat conftest.err >&5
52359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52360 (exit $ac_status); } &&
52361 { ac_try='test -z "$ac_cxx_werror_flag"
52362 || test ! -s conftest.err'
52363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52364 (eval $ac_try) 2>&5
52365 ac_status=$?
52366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52367 (exit $ac_status); }; } &&
52368 { ac_try='test -s conftest.$ac_objext'
52369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52370 (eval $ac_try) 2>&5
52371 ac_status=$?
52372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52373 (exit $ac_status); }; }; then
52374 glibcxx_cv_func___builtin_cos_use=yes
52375 else
52376 echo "$as_me: failed program was:" >&5
52377 sed 's/^/| /' conftest.$ac_ext >&5
52379 glibcxx_cv_func___builtin_cos_use=no
52381 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52382 ac_ext=c
52383 ac_cpp='$CPP $CPPFLAGS'
52384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52392 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
52393 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
52394 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
52395 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
52396 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
52397 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
52398 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
52399 echo $ECHO_N "(cached) $ECHO_C" >&6
52400 else
52402 if test x$gcc_no_link = xyes; then
52403 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52404 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52405 { (exit 1); exit 1; }; }
52407 cat >conftest.$ac_ext <<_ACEOF
52408 /* confdefs.h. */
52409 _ACEOF
52410 cat confdefs.h >>conftest.$ac_ext
52411 cat >>conftest.$ac_ext <<_ACEOF
52412 /* end confdefs.h. */
52413 #include <math.h>
52415 main ()
52417 __builtin_cos(0);
52419 return 0;
52421 _ACEOF
52422 rm -f conftest.$ac_objext conftest$ac_exeext
52423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52424 (eval $ac_link) 2>conftest.er1
52425 ac_status=$?
52426 grep -v '^ *+' conftest.er1 >conftest.err
52427 rm -f conftest.er1
52428 cat conftest.err >&5
52429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52430 (exit $ac_status); } &&
52431 { ac_try='test -z "$ac_c_werror_flag"
52432 || test ! -s conftest.err'
52433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52434 (eval $ac_try) 2>&5
52435 ac_status=$?
52436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52437 (exit $ac_status); }; } &&
52438 { ac_try='test -s conftest$ac_exeext'
52439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52440 (eval $ac_try) 2>&5
52441 ac_status=$?
52442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52443 (exit $ac_status); }; }; then
52444 glibcxx_cv_func___builtin_cos_link=yes
52445 else
52446 echo "$as_me: failed program was:" >&5
52447 sed 's/^/| /' conftest.$ac_ext >&5
52449 glibcxx_cv_func___builtin_cos_link=no
52451 rm -f conftest.err conftest.$ac_objext \
52452 conftest$ac_exeext conftest.$ac_ext
52457 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
52458 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
52460 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
52462 cat >>confdefs.h <<\_ACEOF
52463 #define HAVE___BUILTIN_COS 1
52464 _ACEOF
52471 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
52472 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
52473 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
52474 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
52475 echo $ECHO_N "(cached) $ECHO_C" >&6
52476 else
52480 ac_ext=cc
52481 ac_cpp='$CXXCPP $CPPFLAGS'
52482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52486 cat >conftest.$ac_ext <<_ACEOF
52487 /* confdefs.h. */
52488 _ACEOF
52489 cat confdefs.h >>conftest.$ac_ext
52490 cat >>conftest.$ac_ext <<_ACEOF
52491 /* end confdefs.h. */
52492 #include <math.h>
52494 main ()
52496 __builtin_cosl(0);
52498 return 0;
52500 _ACEOF
52501 rm -f conftest.$ac_objext
52502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52503 (eval $ac_compile) 2>conftest.er1
52504 ac_status=$?
52505 grep -v '^ *+' conftest.er1 >conftest.err
52506 rm -f conftest.er1
52507 cat conftest.err >&5
52508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52509 (exit $ac_status); } &&
52510 { ac_try='test -z "$ac_cxx_werror_flag"
52511 || test ! -s conftest.err'
52512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52513 (eval $ac_try) 2>&5
52514 ac_status=$?
52515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52516 (exit $ac_status); }; } &&
52517 { ac_try='test -s conftest.$ac_objext'
52518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52519 (eval $ac_try) 2>&5
52520 ac_status=$?
52521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52522 (exit $ac_status); }; }; then
52523 glibcxx_cv_func___builtin_cosl_use=yes
52524 else
52525 echo "$as_me: failed program was:" >&5
52526 sed 's/^/| /' conftest.$ac_ext >&5
52528 glibcxx_cv_func___builtin_cosl_use=no
52530 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52531 ac_ext=c
52532 ac_cpp='$CPP $CPPFLAGS'
52533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52541 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
52542 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
52543 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
52544 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
52545 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
52546 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
52547 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
52548 echo $ECHO_N "(cached) $ECHO_C" >&6
52549 else
52551 if test x$gcc_no_link = xyes; then
52552 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52553 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52554 { (exit 1); exit 1; }; }
52556 cat >conftest.$ac_ext <<_ACEOF
52557 /* confdefs.h. */
52558 _ACEOF
52559 cat confdefs.h >>conftest.$ac_ext
52560 cat >>conftest.$ac_ext <<_ACEOF
52561 /* end confdefs.h. */
52562 #include <math.h>
52564 main ()
52566 __builtin_cosl(0);
52568 return 0;
52570 _ACEOF
52571 rm -f conftest.$ac_objext conftest$ac_exeext
52572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52573 (eval $ac_link) 2>conftest.er1
52574 ac_status=$?
52575 grep -v '^ *+' conftest.er1 >conftest.err
52576 rm -f conftest.er1
52577 cat conftest.err >&5
52578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52579 (exit $ac_status); } &&
52580 { ac_try='test -z "$ac_c_werror_flag"
52581 || test ! -s conftest.err'
52582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52583 (eval $ac_try) 2>&5
52584 ac_status=$?
52585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52586 (exit $ac_status); }; } &&
52587 { ac_try='test -s conftest$ac_exeext'
52588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52589 (eval $ac_try) 2>&5
52590 ac_status=$?
52591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52592 (exit $ac_status); }; }; then
52593 glibcxx_cv_func___builtin_cosl_link=yes
52594 else
52595 echo "$as_me: failed program was:" >&5
52596 sed 's/^/| /' conftest.$ac_ext >&5
52598 glibcxx_cv_func___builtin_cosl_link=no
52600 rm -f conftest.err conftest.$ac_objext \
52601 conftest$ac_exeext conftest.$ac_ext
52606 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
52607 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
52609 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
52611 cat >>confdefs.h <<\_ACEOF
52612 #define HAVE___BUILTIN_COSL 1
52613 _ACEOF
52622 echo "$as_me:$LINENO: checking for main in -lm" >&5
52623 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
52624 if test "${ac_cv_lib_m_main+set}" = set; then
52625 echo $ECHO_N "(cached) $ECHO_C" >&6
52626 else
52627 ac_check_lib_save_LIBS=$LIBS
52628 LIBS="-lm $LIBS"
52629 if test x$gcc_no_link = xyes; then
52630 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52631 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52632 { (exit 1); exit 1; }; }
52634 cat >conftest.$ac_ext <<_ACEOF
52635 /* confdefs.h. */
52636 _ACEOF
52637 cat confdefs.h >>conftest.$ac_ext
52638 cat >>conftest.$ac_ext <<_ACEOF
52639 /* end confdefs.h. */
52643 main ()
52645 main ();
52647 return 0;
52649 _ACEOF
52650 rm -f conftest.$ac_objext conftest$ac_exeext
52651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52652 (eval $ac_link) 2>conftest.er1
52653 ac_status=$?
52654 grep -v '^ *+' conftest.er1 >conftest.err
52655 rm -f conftest.er1
52656 cat conftest.err >&5
52657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52658 (exit $ac_status); } &&
52659 { ac_try='test -z "$ac_c_werror_flag"
52660 || test ! -s conftest.err'
52661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52662 (eval $ac_try) 2>&5
52663 ac_status=$?
52664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52665 (exit $ac_status); }; } &&
52666 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
52672 ac_cv_lib_m_main=yes
52673 else
52674 echo "$as_me: failed program was:" >&5
52675 sed 's/^/| /' conftest.$ac_ext >&5
52677 ac_cv_lib_m_main=no
52679 rm -f conftest.err conftest.$ac_objext \
52680 conftest$ac_exeext conftest.$ac_ext
52681 LIBS=$ac_check_lib_save_LIBS
52683 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
52684 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
52685 if test $ac_cv_lib_m_main = yes; then
52686 cat >>confdefs.h <<_ACEOF
52687 #define HAVE_LIBM 1
52688 _ACEOF
52690 LIBS="-lm $LIBS"
52695 for ac_func in copysignf
52697 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52698 echo "$as_me:$LINENO: checking for $ac_func" >&5
52699 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52700 if eval "test \"\${$as_ac_var+set}\" = set"; then
52701 echo $ECHO_N "(cached) $ECHO_C" >&6
52702 else
52703 if test x$gcc_no_link = xyes; then
52704 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52705 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52706 { (exit 1); exit 1; }; }
52708 cat >conftest.$ac_ext <<_ACEOF
52709 /* confdefs.h. */
52710 _ACEOF
52711 cat confdefs.h >>conftest.$ac_ext
52712 cat >>conftest.$ac_ext <<_ACEOF
52713 /* end confdefs.h. */
52714 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52715 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52716 #define $ac_func innocuous_$ac_func
52718 /* System header to define __stub macros and hopefully few prototypes,
52719 which can conflict with char $ac_func (); below.
52720 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52721 <limits.h> exists even on freestanding compilers. */
52723 #ifdef __STDC__
52724 # include <limits.h>
52725 #else
52726 # include <assert.h>
52727 #endif
52729 #undef $ac_func
52731 /* Override any gcc2 internal prototype to avoid an error. */
52732 #ifdef __cplusplus
52733 extern "C"
52735 #endif
52736 /* We use char because int might match the return type of a gcc2
52737 builtin and then its argument prototype would still apply. */
52738 char $ac_func ();
52739 /* The GNU C library defines this for functions which it implements
52740 to always fail with ENOSYS. Some functions are actually named
52741 something starting with __ and the normal name is an alias. */
52742 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52743 choke me
52744 #else
52745 char (*f) () = $ac_func;
52746 #endif
52747 #ifdef __cplusplus
52749 #endif
52752 main ()
52754 return f != $ac_func;
52756 return 0;
52758 _ACEOF
52759 rm -f conftest.$ac_objext conftest$ac_exeext
52760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52761 (eval $ac_link) 2>conftest.er1
52762 ac_status=$?
52763 grep -v '^ *+' conftest.er1 >conftest.err
52764 rm -f conftest.er1
52765 cat conftest.err >&5
52766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52767 (exit $ac_status); } &&
52768 { ac_try='test -z "$ac_c_werror_flag"
52769 || test ! -s conftest.err'
52770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52771 (eval $ac_try) 2>&5
52772 ac_status=$?
52773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52774 (exit $ac_status); }; } &&
52775 { ac_try='test -s conftest$ac_exeext'
52776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52777 (eval $ac_try) 2>&5
52778 ac_status=$?
52779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52780 (exit $ac_status); }; }; then
52781 eval "$as_ac_var=yes"
52782 else
52783 echo "$as_me: failed program was:" >&5
52784 sed 's/^/| /' conftest.$ac_ext >&5
52786 eval "$as_ac_var=no"
52788 rm -f conftest.err conftest.$ac_objext \
52789 conftest$ac_exeext conftest.$ac_ext
52791 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52792 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52793 if test `eval echo '${'$as_ac_var'}'` = yes; then
52794 cat >>confdefs.h <<_ACEOF
52795 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52796 _ACEOF
52798 else
52799 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
52801 done
52805 for ac_func in __signbit
52807 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52808 echo "$as_me:$LINENO: checking for $ac_func" >&5
52809 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52810 if eval "test \"\${$as_ac_var+set}\" = set"; then
52811 echo $ECHO_N "(cached) $ECHO_C" >&6
52812 else
52813 if test x$gcc_no_link = xyes; then
52814 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52815 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52816 { (exit 1); exit 1; }; }
52818 cat >conftest.$ac_ext <<_ACEOF
52819 /* confdefs.h. */
52820 _ACEOF
52821 cat confdefs.h >>conftest.$ac_ext
52822 cat >>conftest.$ac_ext <<_ACEOF
52823 /* end confdefs.h. */
52824 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52825 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52826 #define $ac_func innocuous_$ac_func
52828 /* System header to define __stub macros and hopefully few prototypes,
52829 which can conflict with char $ac_func (); below.
52830 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52831 <limits.h> exists even on freestanding compilers. */
52833 #ifdef __STDC__
52834 # include <limits.h>
52835 #else
52836 # include <assert.h>
52837 #endif
52839 #undef $ac_func
52841 /* Override any gcc2 internal prototype to avoid an error. */
52842 #ifdef __cplusplus
52843 extern "C"
52845 #endif
52846 /* We use char because int might match the return type of a gcc2
52847 builtin and then its argument prototype would still apply. */
52848 char $ac_func ();
52849 /* The GNU C library defines this for functions which it implements
52850 to always fail with ENOSYS. Some functions are actually named
52851 something starting with __ and the normal name is an alias. */
52852 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52853 choke me
52854 #else
52855 char (*f) () = $ac_func;
52856 #endif
52857 #ifdef __cplusplus
52859 #endif
52862 main ()
52864 return f != $ac_func;
52866 return 0;
52868 _ACEOF
52869 rm -f conftest.$ac_objext conftest$ac_exeext
52870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52871 (eval $ac_link) 2>conftest.er1
52872 ac_status=$?
52873 grep -v '^ *+' conftest.er1 >conftest.err
52874 rm -f conftest.er1
52875 cat conftest.err >&5
52876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52877 (exit $ac_status); } &&
52878 { ac_try='test -z "$ac_c_werror_flag"
52879 || test ! -s conftest.err'
52880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52881 (eval $ac_try) 2>&5
52882 ac_status=$?
52883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52884 (exit $ac_status); }; } &&
52885 { ac_try='test -s conftest$ac_exeext'
52886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52887 (eval $ac_try) 2>&5
52888 ac_status=$?
52889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52890 (exit $ac_status); }; }; then
52891 eval "$as_ac_var=yes"
52892 else
52893 echo "$as_me: failed program was:" >&5
52894 sed 's/^/| /' conftest.$ac_ext >&5
52896 eval "$as_ac_var=no"
52898 rm -f conftest.err conftest.$ac_objext \
52899 conftest$ac_exeext conftest.$ac_ext
52901 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52902 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52903 if test `eval echo '${'$as_ac_var'}'` = yes; then
52904 cat >>confdefs.h <<_ACEOF
52905 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52906 _ACEOF
52908 else
52909 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
52911 done
52915 for ac_func in __signbitf
52917 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52918 echo "$as_me:$LINENO: checking for $ac_func" >&5
52919 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52920 if eval "test \"\${$as_ac_var+set}\" = set"; then
52921 echo $ECHO_N "(cached) $ECHO_C" >&6
52922 else
52923 if test x$gcc_no_link = xyes; then
52924 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52925 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52926 { (exit 1); exit 1; }; }
52928 cat >conftest.$ac_ext <<_ACEOF
52929 /* confdefs.h. */
52930 _ACEOF
52931 cat confdefs.h >>conftest.$ac_ext
52932 cat >>conftest.$ac_ext <<_ACEOF
52933 /* end confdefs.h. */
52934 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52935 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52936 #define $ac_func innocuous_$ac_func
52938 /* System header to define __stub macros and hopefully few prototypes,
52939 which can conflict with char $ac_func (); below.
52940 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52941 <limits.h> exists even on freestanding compilers. */
52943 #ifdef __STDC__
52944 # include <limits.h>
52945 #else
52946 # include <assert.h>
52947 #endif
52949 #undef $ac_func
52951 /* Override any gcc2 internal prototype to avoid an error. */
52952 #ifdef __cplusplus
52953 extern "C"
52955 #endif
52956 /* We use char because int might match the return type of a gcc2
52957 builtin and then its argument prototype would still apply. */
52958 char $ac_func ();
52959 /* The GNU C library defines this for functions which it implements
52960 to always fail with ENOSYS. Some functions are actually named
52961 something starting with __ and the normal name is an alias. */
52962 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52963 choke me
52964 #else
52965 char (*f) () = $ac_func;
52966 #endif
52967 #ifdef __cplusplus
52969 #endif
52972 main ()
52974 return f != $ac_func;
52976 return 0;
52978 _ACEOF
52979 rm -f conftest.$ac_objext conftest$ac_exeext
52980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52981 (eval $ac_link) 2>conftest.er1
52982 ac_status=$?
52983 grep -v '^ *+' conftest.er1 >conftest.err
52984 rm -f conftest.er1
52985 cat conftest.err >&5
52986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52987 (exit $ac_status); } &&
52988 { ac_try='test -z "$ac_c_werror_flag"
52989 || test ! -s conftest.err'
52990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52991 (eval $ac_try) 2>&5
52992 ac_status=$?
52993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52994 (exit $ac_status); }; } &&
52995 { ac_try='test -s conftest$ac_exeext'
52996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52997 (eval $ac_try) 2>&5
52998 ac_status=$?
52999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53000 (exit $ac_status); }; }; then
53001 eval "$as_ac_var=yes"
53002 else
53003 echo "$as_me: failed program was:" >&5
53004 sed 's/^/| /' conftest.$ac_ext >&5
53006 eval "$as_ac_var=no"
53008 rm -f conftest.err conftest.$ac_objext \
53009 conftest$ac_exeext conftest.$ac_ext
53011 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53012 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53013 if test `eval echo '${'$as_ac_var'}'` = yes; then
53014 cat >>confdefs.h <<_ACEOF
53015 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53016 _ACEOF
53018 else
53019 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
53021 done
53024 if test x$ac_cv_func_copysignl = x"yes"; then
53026 for ac_func in __signbitl
53028 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53029 echo "$as_me:$LINENO: checking for $ac_func" >&5
53030 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53031 if eval "test \"\${$as_ac_var+set}\" = set"; then
53032 echo $ECHO_N "(cached) $ECHO_C" >&6
53033 else
53034 if test x$gcc_no_link = xyes; then
53035 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53036 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53037 { (exit 1); exit 1; }; }
53039 cat >conftest.$ac_ext <<_ACEOF
53040 /* confdefs.h. */
53041 _ACEOF
53042 cat confdefs.h >>conftest.$ac_ext
53043 cat >>conftest.$ac_ext <<_ACEOF
53044 /* end confdefs.h. */
53045 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53046 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53047 #define $ac_func innocuous_$ac_func
53049 /* System header to define __stub macros and hopefully few prototypes,
53050 which can conflict with char $ac_func (); below.
53051 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53052 <limits.h> exists even on freestanding compilers. */
53054 #ifdef __STDC__
53055 # include <limits.h>
53056 #else
53057 # include <assert.h>
53058 #endif
53060 #undef $ac_func
53062 /* Override any gcc2 internal prototype to avoid an error. */
53063 #ifdef __cplusplus
53064 extern "C"
53066 #endif
53067 /* We use char because int might match the return type of a gcc2
53068 builtin and then its argument prototype would still apply. */
53069 char $ac_func ();
53070 /* The GNU C library defines this for functions which it implements
53071 to always fail with ENOSYS. Some functions are actually named
53072 something starting with __ and the normal name is an alias. */
53073 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53074 choke me
53075 #else
53076 char (*f) () = $ac_func;
53077 #endif
53078 #ifdef __cplusplus
53080 #endif
53083 main ()
53085 return f != $ac_func;
53087 return 0;
53089 _ACEOF
53090 rm -f conftest.$ac_objext conftest$ac_exeext
53091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53092 (eval $ac_link) 2>conftest.er1
53093 ac_status=$?
53094 grep -v '^ *+' conftest.er1 >conftest.err
53095 rm -f conftest.er1
53096 cat conftest.err >&5
53097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53098 (exit $ac_status); } &&
53099 { ac_try='test -z "$ac_c_werror_flag"
53100 || test ! -s conftest.err'
53101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53102 (eval $ac_try) 2>&5
53103 ac_status=$?
53104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53105 (exit $ac_status); }; } &&
53106 { ac_try='test -s conftest$ac_exeext'
53107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53108 (eval $ac_try) 2>&5
53109 ac_status=$?
53110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53111 (exit $ac_status); }; }; then
53112 eval "$as_ac_var=yes"
53113 else
53114 echo "$as_me: failed program was:" >&5
53115 sed 's/^/| /' conftest.$ac_ext >&5
53117 eval "$as_ac_var=no"
53119 rm -f conftest.err conftest.$ac_objext \
53120 conftest$ac_exeext conftest.$ac_ext
53122 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53123 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53124 if test `eval echo '${'$as_ac_var'}'` = yes; then
53125 cat >>confdefs.h <<_ACEOF
53126 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53127 _ACEOF
53129 else
53130 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
53132 done
53136 # Used in libmath/Makefile.am.
53137 if test -n "$LIBMATHOBJS"; then
53138 need_libmath=yes
53143 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53144 ac_save_CXXFLAGS="$CXXFLAGS"
53145 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
53148 echo "$as_me:$LINENO: checking for strtold declaration" >&5
53149 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
53150 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
53151 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
53152 echo $ECHO_N "(cached) $ECHO_C" >&6
53153 else
53157 ac_ext=cc
53158 ac_cpp='$CXXCPP $CPPFLAGS'
53159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53163 cat >conftest.$ac_ext <<_ACEOF
53164 /* confdefs.h. */
53165 _ACEOF
53166 cat confdefs.h >>conftest.$ac_ext
53167 cat >>conftest.$ac_ext <<_ACEOF
53168 /* end confdefs.h. */
53169 #include <stdlib.h>
53171 main ()
53173 strtold(0, 0);
53175 return 0;
53177 _ACEOF
53178 rm -f conftest.$ac_objext
53179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53180 (eval $ac_compile) 2>conftest.er1
53181 ac_status=$?
53182 grep -v '^ *+' conftest.er1 >conftest.err
53183 rm -f conftest.er1
53184 cat conftest.err >&5
53185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53186 (exit $ac_status); } &&
53187 { ac_try='test -z "$ac_cxx_werror_flag"
53188 || test ! -s conftest.err'
53189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53190 (eval $ac_try) 2>&5
53191 ac_status=$?
53192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53193 (exit $ac_status); }; } &&
53194 { ac_try='test -s conftest.$ac_objext'
53195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53196 (eval $ac_try) 2>&5
53197 ac_status=$?
53198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53199 (exit $ac_status); }; }; then
53200 glibcxx_cv_func_strtold_use=yes
53201 else
53202 echo "$as_me: failed program was:" >&5
53203 sed 's/^/| /' conftest.$ac_ext >&5
53205 glibcxx_cv_func_strtold_use=no
53207 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53208 ac_ext=c
53209 ac_cpp='$CPP $CPPFLAGS'
53210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53218 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
53219 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
53220 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
53222 for ac_func in strtold
53224 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53225 echo "$as_me:$LINENO: checking for $ac_func" >&5
53226 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53227 if eval "test \"\${$as_ac_var+set}\" = set"; then
53228 echo $ECHO_N "(cached) $ECHO_C" >&6
53229 else
53230 if test x$gcc_no_link = xyes; then
53231 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53232 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53233 { (exit 1); exit 1; }; }
53235 cat >conftest.$ac_ext <<_ACEOF
53236 /* confdefs.h. */
53237 _ACEOF
53238 cat confdefs.h >>conftest.$ac_ext
53239 cat >>conftest.$ac_ext <<_ACEOF
53240 /* end confdefs.h. */
53241 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53242 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53243 #define $ac_func innocuous_$ac_func
53245 /* System header to define __stub macros and hopefully few prototypes,
53246 which can conflict with char $ac_func (); below.
53247 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53248 <limits.h> exists even on freestanding compilers. */
53250 #ifdef __STDC__
53251 # include <limits.h>
53252 #else
53253 # include <assert.h>
53254 #endif
53256 #undef $ac_func
53258 /* Override any gcc2 internal prototype to avoid an error. */
53259 #ifdef __cplusplus
53260 extern "C"
53262 #endif
53263 /* We use char because int might match the return type of a gcc2
53264 builtin and then its argument prototype would still apply. */
53265 char $ac_func ();
53266 /* The GNU C library defines this for functions which it implements
53267 to always fail with ENOSYS. Some functions are actually named
53268 something starting with __ and the normal name is an alias. */
53269 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53270 choke me
53271 #else
53272 char (*f) () = $ac_func;
53273 #endif
53274 #ifdef __cplusplus
53276 #endif
53279 main ()
53281 return f != $ac_func;
53283 return 0;
53285 _ACEOF
53286 rm -f conftest.$ac_objext conftest$ac_exeext
53287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53288 (eval $ac_link) 2>conftest.er1
53289 ac_status=$?
53290 grep -v '^ *+' conftest.er1 >conftest.err
53291 rm -f conftest.er1
53292 cat conftest.err >&5
53293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53294 (exit $ac_status); } &&
53295 { ac_try='test -z "$ac_c_werror_flag"
53296 || test ! -s conftest.err'
53297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53298 (eval $ac_try) 2>&5
53299 ac_status=$?
53300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53301 (exit $ac_status); }; } &&
53302 { ac_try='test -s conftest$ac_exeext'
53303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53304 (eval $ac_try) 2>&5
53305 ac_status=$?
53306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53307 (exit $ac_status); }; }; then
53308 eval "$as_ac_var=yes"
53309 else
53310 echo "$as_me: failed program was:" >&5
53311 sed 's/^/| /' conftest.$ac_ext >&5
53313 eval "$as_ac_var=no"
53315 rm -f conftest.err conftest.$ac_objext \
53316 conftest$ac_exeext conftest.$ac_ext
53318 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53319 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53320 if test `eval echo '${'$as_ac_var'}'` = yes; then
53321 cat >>confdefs.h <<_ACEOF
53322 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53323 _ACEOF
53326 done
53334 echo "$as_me:$LINENO: checking for strtof declaration" >&5
53335 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
53336 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
53337 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
53338 echo $ECHO_N "(cached) $ECHO_C" >&6
53339 else
53343 ac_ext=cc
53344 ac_cpp='$CXXCPP $CPPFLAGS'
53345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53349 cat >conftest.$ac_ext <<_ACEOF
53350 /* confdefs.h. */
53351 _ACEOF
53352 cat confdefs.h >>conftest.$ac_ext
53353 cat >>conftest.$ac_ext <<_ACEOF
53354 /* end confdefs.h. */
53355 #include <stdlib.h>
53357 main ()
53359 strtof(0, 0);
53361 return 0;
53363 _ACEOF
53364 rm -f conftest.$ac_objext
53365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53366 (eval $ac_compile) 2>conftest.er1
53367 ac_status=$?
53368 grep -v '^ *+' conftest.er1 >conftest.err
53369 rm -f conftest.er1
53370 cat conftest.err >&5
53371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53372 (exit $ac_status); } &&
53373 { ac_try='test -z "$ac_cxx_werror_flag"
53374 || test ! -s conftest.err'
53375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53376 (eval $ac_try) 2>&5
53377 ac_status=$?
53378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53379 (exit $ac_status); }; } &&
53380 { ac_try='test -s conftest.$ac_objext'
53381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53382 (eval $ac_try) 2>&5
53383 ac_status=$?
53384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53385 (exit $ac_status); }; }; then
53386 glibcxx_cv_func_strtof_use=yes
53387 else
53388 echo "$as_me: failed program was:" >&5
53389 sed 's/^/| /' conftest.$ac_ext >&5
53391 glibcxx_cv_func_strtof_use=no
53393 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53394 ac_ext=c
53395 ac_cpp='$CPP $CPPFLAGS'
53396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53404 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
53405 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
53406 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
53408 for ac_func in strtof
53410 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53411 echo "$as_me:$LINENO: checking for $ac_func" >&5
53412 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53413 if eval "test \"\${$as_ac_var+set}\" = set"; then
53414 echo $ECHO_N "(cached) $ECHO_C" >&6
53415 else
53416 if test x$gcc_no_link = xyes; then
53417 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53418 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53419 { (exit 1); exit 1; }; }
53421 cat >conftest.$ac_ext <<_ACEOF
53422 /* confdefs.h. */
53423 _ACEOF
53424 cat confdefs.h >>conftest.$ac_ext
53425 cat >>conftest.$ac_ext <<_ACEOF
53426 /* end confdefs.h. */
53427 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53428 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53429 #define $ac_func innocuous_$ac_func
53431 /* System header to define __stub macros and hopefully few prototypes,
53432 which can conflict with char $ac_func (); below.
53433 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53434 <limits.h> exists even on freestanding compilers. */
53436 #ifdef __STDC__
53437 # include <limits.h>
53438 #else
53439 # include <assert.h>
53440 #endif
53442 #undef $ac_func
53444 /* Override any gcc2 internal prototype to avoid an error. */
53445 #ifdef __cplusplus
53446 extern "C"
53448 #endif
53449 /* We use char because int might match the return type of a gcc2
53450 builtin and then its argument prototype would still apply. */
53451 char $ac_func ();
53452 /* The GNU C library defines this for functions which it implements
53453 to always fail with ENOSYS. Some functions are actually named
53454 something starting with __ and the normal name is an alias. */
53455 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53456 choke me
53457 #else
53458 char (*f) () = $ac_func;
53459 #endif
53460 #ifdef __cplusplus
53462 #endif
53465 main ()
53467 return f != $ac_func;
53469 return 0;
53471 _ACEOF
53472 rm -f conftest.$ac_objext conftest$ac_exeext
53473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53474 (eval $ac_link) 2>conftest.er1
53475 ac_status=$?
53476 grep -v '^ *+' conftest.er1 >conftest.err
53477 rm -f conftest.er1
53478 cat conftest.err >&5
53479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53480 (exit $ac_status); } &&
53481 { ac_try='test -z "$ac_c_werror_flag"
53482 || test ! -s conftest.err'
53483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53484 (eval $ac_try) 2>&5
53485 ac_status=$?
53486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53487 (exit $ac_status); }; } &&
53488 { ac_try='test -s conftest$ac_exeext'
53489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53490 (eval $ac_try) 2>&5
53491 ac_status=$?
53492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53493 (exit $ac_status); }; }; then
53494 eval "$as_ac_var=yes"
53495 else
53496 echo "$as_me: failed program was:" >&5
53497 sed 's/^/| /' conftest.$ac_ext >&5
53499 eval "$as_ac_var=no"
53501 rm -f conftest.err conftest.$ac_objext \
53502 conftest$ac_exeext conftest.$ac_ext
53504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53505 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53506 if test `eval echo '${'$as_ac_var'}'` = yes; then
53507 cat >>confdefs.h <<_ACEOF
53508 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53509 _ACEOF
53512 done
53520 CXXFLAGS="$ac_save_CXXFLAGS"
53523 # For showmanyc_helper().
53526 for ac_header in sys/ioctl.h sys/filio.h
53528 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
53529 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53530 echo "$as_me:$LINENO: checking for $ac_header" >&5
53531 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53532 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53533 echo $ECHO_N "(cached) $ECHO_C" >&6
53535 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53536 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53537 else
53538 # Is the header compilable?
53539 echo "$as_me:$LINENO: checking $ac_header usability" >&5
53540 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
53541 cat >conftest.$ac_ext <<_ACEOF
53542 /* confdefs.h. */
53543 _ACEOF
53544 cat confdefs.h >>conftest.$ac_ext
53545 cat >>conftest.$ac_ext <<_ACEOF
53546 /* end confdefs.h. */
53547 $ac_includes_default
53548 #include <$ac_header>
53549 _ACEOF
53550 rm -f conftest.$ac_objext
53551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53552 (eval $ac_compile) 2>conftest.er1
53553 ac_status=$?
53554 grep -v '^ *+' conftest.er1 >conftest.err
53555 rm -f conftest.er1
53556 cat conftest.err >&5
53557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53558 (exit $ac_status); } &&
53559 { ac_try='test -z "$ac_c_werror_flag"
53560 || test ! -s conftest.err'
53561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53562 (eval $ac_try) 2>&5
53563 ac_status=$?
53564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53565 (exit $ac_status); }; } &&
53566 { ac_try='test -s conftest.$ac_objext'
53567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53568 (eval $ac_try) 2>&5
53569 ac_status=$?
53570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53571 (exit $ac_status); }; }; then
53572 ac_header_compiler=yes
53573 else
53574 echo "$as_me: failed program was:" >&5
53575 sed 's/^/| /' conftest.$ac_ext >&5
53577 ac_header_compiler=no
53579 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53580 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53581 echo "${ECHO_T}$ac_header_compiler" >&6
53583 # Is the header present?
53584 echo "$as_me:$LINENO: checking $ac_header presence" >&5
53585 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
53586 cat >conftest.$ac_ext <<_ACEOF
53587 /* confdefs.h. */
53588 _ACEOF
53589 cat confdefs.h >>conftest.$ac_ext
53590 cat >>conftest.$ac_ext <<_ACEOF
53591 /* end confdefs.h. */
53592 #include <$ac_header>
53593 _ACEOF
53594 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53595 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53596 ac_status=$?
53597 grep -v '^ *+' conftest.er1 >conftest.err
53598 rm -f conftest.er1
53599 cat conftest.err >&5
53600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53601 (exit $ac_status); } >/dev/null; then
53602 if test -s conftest.err; then
53603 ac_cpp_err=$ac_c_preproc_warn_flag
53604 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
53605 else
53606 ac_cpp_err=
53608 else
53609 ac_cpp_err=yes
53611 if test -z "$ac_cpp_err"; then
53612 ac_header_preproc=yes
53613 else
53614 echo "$as_me: failed program was:" >&5
53615 sed 's/^/| /' conftest.$ac_ext >&5
53617 ac_header_preproc=no
53619 rm -f conftest.err conftest.$ac_ext
53620 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53621 echo "${ECHO_T}$ac_header_preproc" >&6
53623 # So? What about this header?
53624 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
53625 yes:no: )
53626 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
53627 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
53628 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
53629 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
53630 ac_header_preproc=yes
53632 no:yes:* )
53633 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
53634 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
53635 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
53636 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
53637 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
53638 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
53639 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
53640 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
53641 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53642 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53643 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
53644 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
53646 cat <<\_ASBOX
53647 ## ----------------------------------------- ##
53648 ## Report this to the package-unused lists. ##
53649 ## ----------------------------------------- ##
53650 _ASBOX
53652 sed "s/^/$as_me: WARNING: /" >&2
53654 esac
53655 echo "$as_me:$LINENO: checking for $ac_header" >&5
53656 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53657 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53658 echo $ECHO_N "(cached) $ECHO_C" >&6
53659 else
53660 eval "$as_ac_Header=\$ac_header_preproc"
53662 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53663 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53666 if test `eval echo '${'$as_ac_Header'}'` = yes; then
53667 cat >>confdefs.h <<_ACEOF
53668 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
53669 _ACEOF
53673 done
53676 echo "$as_me:$LINENO: checking for poll" >&5
53677 echo $ECHO_N "checking for poll... $ECHO_C" >&6
53678 if test "${glibcxx_cv_POLL+set}" = set; then
53679 echo $ECHO_N "(cached) $ECHO_C" >&6
53680 else
53682 if test x$gcc_no_link = xyes; then
53683 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53684 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53685 { (exit 1); exit 1; }; }
53687 cat >conftest.$ac_ext <<_ACEOF
53688 /* confdefs.h. */
53689 _ACEOF
53690 cat confdefs.h >>conftest.$ac_ext
53691 cat >>conftest.$ac_ext <<_ACEOF
53692 /* end confdefs.h. */
53693 #include <poll.h>
53695 main ()
53697 struct pollfd pfd[1];
53698 pfd[0].events = POLLIN;
53699 poll(pfd, 1, 0);
53701 return 0;
53703 _ACEOF
53704 rm -f conftest.$ac_objext conftest$ac_exeext
53705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53706 (eval $ac_link) 2>conftest.er1
53707 ac_status=$?
53708 grep -v '^ *+' conftest.er1 >conftest.err
53709 rm -f conftest.er1
53710 cat conftest.err >&5
53711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53712 (exit $ac_status); } &&
53713 { ac_try='test -z "$ac_c_werror_flag"
53714 || test ! -s conftest.err'
53715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53716 (eval $ac_try) 2>&5
53717 ac_status=$?
53718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53719 (exit $ac_status); }; } &&
53720 { ac_try='test -s conftest$ac_exeext'
53721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53722 (eval $ac_try) 2>&5
53723 ac_status=$?
53724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53725 (exit $ac_status); }; }; then
53726 glibcxx_cv_POLL=yes
53727 else
53728 echo "$as_me: failed program was:" >&5
53729 sed 's/^/| /' conftest.$ac_ext >&5
53731 glibcxx_cv_POLL=no
53733 rm -f conftest.err conftest.$ac_objext \
53734 conftest$ac_exeext conftest.$ac_ext
53738 if test $glibcxx_cv_POLL = yes; then
53740 cat >>confdefs.h <<\_ACEOF
53741 #define HAVE_POLL 1
53742 _ACEOF
53745 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
53746 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
53749 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
53750 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
53751 if test "${glibcxx_cv_S_ISREG+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 <sys/stat.h>
53768 main ()
53770 struct stat buffer;
53771 fstat(0, &buffer);
53772 S_ISREG(buffer.st_mode);
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_S_ISREG=yes
53800 else
53801 echo "$as_me: failed program was:" >&5
53802 sed 's/^/| /' conftest.$ac_ext >&5
53804 glibcxx_cv_S_ISREG=no
53806 rm -f conftest.err conftest.$ac_objext \
53807 conftest$ac_exeext conftest.$ac_ext
53811 if test "${glibcxx_cv_S_IFREG+set}" = set; then
53812 echo $ECHO_N "(cached) $ECHO_C" >&6
53813 else
53815 if test x$gcc_no_link = xyes; then
53816 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53817 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53818 { (exit 1); exit 1; }; }
53820 cat >conftest.$ac_ext <<_ACEOF
53821 /* confdefs.h. */
53822 _ACEOF
53823 cat confdefs.h >>conftest.$ac_ext
53824 cat >>conftest.$ac_ext <<_ACEOF
53825 /* end confdefs.h. */
53826 #include <sys/stat.h>
53828 main ()
53830 struct stat buffer;
53831 fstat(0, &buffer);
53832 S_IFREG & buffer.st_mode;
53834 return 0;
53836 _ACEOF
53837 rm -f conftest.$ac_objext conftest$ac_exeext
53838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53839 (eval $ac_link) 2>conftest.er1
53840 ac_status=$?
53841 grep -v '^ *+' conftest.er1 >conftest.err
53842 rm -f conftest.er1
53843 cat conftest.err >&5
53844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53845 (exit $ac_status); } &&
53846 { ac_try='test -z "$ac_c_werror_flag"
53847 || test ! -s conftest.err'
53848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53849 (eval $ac_try) 2>&5
53850 ac_status=$?
53851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53852 (exit $ac_status); }; } &&
53853 { ac_try='test -s conftest$ac_exeext'
53854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53855 (eval $ac_try) 2>&5
53856 ac_status=$?
53857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53858 (exit $ac_status); }; }; then
53859 glibcxx_cv_S_IFREG=yes
53860 else
53861 echo "$as_me: failed program was:" >&5
53862 sed 's/^/| /' conftest.$ac_ext >&5
53864 glibcxx_cv_S_IFREG=no
53866 rm -f conftest.err conftest.$ac_objext \
53867 conftest$ac_exeext conftest.$ac_ext
53871 res=no
53872 if test $glibcxx_cv_S_ISREG = yes; then
53874 cat >>confdefs.h <<\_ACEOF
53875 #define HAVE_S_ISREG 1
53876 _ACEOF
53878 res=S_ISREG
53879 elif test $glibcxx_cv_S_IFREG = yes; then
53881 cat >>confdefs.h <<\_ACEOF
53882 #define HAVE_S_IFREG 1
53883 _ACEOF
53885 res=S_IFREG
53887 echo "$as_me:$LINENO: result: $res" >&5
53888 echo "${ECHO_T}$res" >&6
53891 # For xsputn_2().
53893 for ac_header in sys/uio.h
53895 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
53896 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53897 echo "$as_me:$LINENO: checking for $ac_header" >&5
53898 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53899 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53900 echo $ECHO_N "(cached) $ECHO_C" >&6
53902 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53903 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53904 else
53905 # Is the header compilable?
53906 echo "$as_me:$LINENO: checking $ac_header usability" >&5
53907 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
53908 cat >conftest.$ac_ext <<_ACEOF
53909 /* confdefs.h. */
53910 _ACEOF
53911 cat confdefs.h >>conftest.$ac_ext
53912 cat >>conftest.$ac_ext <<_ACEOF
53913 /* end confdefs.h. */
53914 $ac_includes_default
53915 #include <$ac_header>
53916 _ACEOF
53917 rm -f conftest.$ac_objext
53918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53919 (eval $ac_compile) 2>conftest.er1
53920 ac_status=$?
53921 grep -v '^ *+' conftest.er1 >conftest.err
53922 rm -f conftest.er1
53923 cat conftest.err >&5
53924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53925 (exit $ac_status); } &&
53926 { ac_try='test -z "$ac_c_werror_flag"
53927 || test ! -s conftest.err'
53928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53929 (eval $ac_try) 2>&5
53930 ac_status=$?
53931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53932 (exit $ac_status); }; } &&
53933 { ac_try='test -s conftest.$ac_objext'
53934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53935 (eval $ac_try) 2>&5
53936 ac_status=$?
53937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53938 (exit $ac_status); }; }; then
53939 ac_header_compiler=yes
53940 else
53941 echo "$as_me: failed program was:" >&5
53942 sed 's/^/| /' conftest.$ac_ext >&5
53944 ac_header_compiler=no
53946 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53947 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53948 echo "${ECHO_T}$ac_header_compiler" >&6
53950 # Is the header present?
53951 echo "$as_me:$LINENO: checking $ac_header presence" >&5
53952 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
53953 cat >conftest.$ac_ext <<_ACEOF
53954 /* confdefs.h. */
53955 _ACEOF
53956 cat confdefs.h >>conftest.$ac_ext
53957 cat >>conftest.$ac_ext <<_ACEOF
53958 /* end confdefs.h. */
53959 #include <$ac_header>
53960 _ACEOF
53961 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53962 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53963 ac_status=$?
53964 grep -v '^ *+' conftest.er1 >conftest.err
53965 rm -f conftest.er1
53966 cat conftest.err >&5
53967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53968 (exit $ac_status); } >/dev/null; then
53969 if test -s conftest.err; then
53970 ac_cpp_err=$ac_c_preproc_warn_flag
53971 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
53972 else
53973 ac_cpp_err=
53975 else
53976 ac_cpp_err=yes
53978 if test -z "$ac_cpp_err"; then
53979 ac_header_preproc=yes
53980 else
53981 echo "$as_me: failed program was:" >&5
53982 sed 's/^/| /' conftest.$ac_ext >&5
53984 ac_header_preproc=no
53986 rm -f conftest.err conftest.$ac_ext
53987 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53988 echo "${ECHO_T}$ac_header_preproc" >&6
53990 # So? What about this header?
53991 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
53992 yes:no: )
53993 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
53994 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
53995 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
53996 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
53997 ac_header_preproc=yes
53999 no:yes:* )
54000 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
54001 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
54002 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
54003 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
54004 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
54005 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
54006 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
54007 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
54008 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
54009 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
54010 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
54011 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
54013 cat <<\_ASBOX
54014 ## ----------------------------------------- ##
54015 ## Report this to the package-unused lists. ##
54016 ## ----------------------------------------- ##
54017 _ASBOX
54019 sed "s/^/$as_me: WARNING: /" >&2
54021 esac
54022 echo "$as_me:$LINENO: checking for $ac_header" >&5
54023 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
54024 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54025 echo $ECHO_N "(cached) $ECHO_C" >&6
54026 else
54027 eval "$as_ac_Header=\$ac_header_preproc"
54029 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
54030 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
54033 if test `eval echo '${'$as_ac_Header'}'` = yes; then
54034 cat >>confdefs.h <<_ACEOF
54035 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
54036 _ACEOF
54040 done
54043 echo "$as_me:$LINENO: checking for writev" >&5
54044 echo $ECHO_N "checking for writev... $ECHO_C" >&6
54045 if test "${glibcxx_cv_WRITEV+set}" = set; then
54046 echo $ECHO_N "(cached) $ECHO_C" >&6
54047 else
54049 if test x$gcc_no_link = xyes; then
54050 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54051 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54052 { (exit 1); exit 1; }; }
54054 cat >conftest.$ac_ext <<_ACEOF
54055 /* confdefs.h. */
54056 _ACEOF
54057 cat confdefs.h >>conftest.$ac_ext
54058 cat >>conftest.$ac_ext <<_ACEOF
54059 /* end confdefs.h. */
54060 #include <sys/uio.h>
54062 main ()
54064 struct iovec iov[2];
54065 writev(0, iov, 0);
54067 return 0;
54069 _ACEOF
54070 rm -f conftest.$ac_objext conftest$ac_exeext
54071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54072 (eval $ac_link) 2>conftest.er1
54073 ac_status=$?
54074 grep -v '^ *+' conftest.er1 >conftest.err
54075 rm -f conftest.er1
54076 cat conftest.err >&5
54077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54078 (exit $ac_status); } &&
54079 { ac_try='test -z "$ac_c_werror_flag"
54080 || test ! -s conftest.err'
54081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54082 (eval $ac_try) 2>&5
54083 ac_status=$?
54084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54085 (exit $ac_status); }; } &&
54086 { ac_try='test -s conftest$ac_exeext'
54087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54088 (eval $ac_try) 2>&5
54089 ac_status=$?
54090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54091 (exit $ac_status); }; }; then
54092 glibcxx_cv_WRITEV=yes
54093 else
54094 echo "$as_me: failed program was:" >&5
54095 sed 's/^/| /' conftest.$ac_ext >&5
54097 glibcxx_cv_WRITEV=no
54099 rm -f conftest.err conftest.$ac_objext \
54100 conftest$ac_exeext conftest.$ac_ext
54104 if test $glibcxx_cv_WRITEV = yes; then
54106 cat >>confdefs.h <<\_ACEOF
54107 #define HAVE_WRITEV 1
54108 _ACEOF
54111 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
54112 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
54115 cat >>confdefs.h <<\_ACEOF
54116 #define HAVE_LC_MESSAGES 1
54117 _ACEOF
54120 cat >conftest.$ac_ext <<_ACEOF
54121 /* confdefs.h. */
54122 _ACEOF
54123 cat confdefs.h >>conftest.$ac_ext
54124 cat >>conftest.$ac_ext <<_ACEOF
54125 /* end confdefs.h. */
54126 #include <setjmp.h>
54128 main ()
54130 sigjmp_buf env;
54131 while (! sigsetjmp (env, 1))
54132 siglongjmp (env, 1);
54135 return 0;
54137 _ACEOF
54138 rm -f conftest.$ac_objext
54139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54140 (eval $ac_compile) 2>conftest.er1
54141 ac_status=$?
54142 grep -v '^ *+' conftest.er1 >conftest.err
54143 rm -f conftest.er1
54144 cat conftest.err >&5
54145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54146 (exit $ac_status); } &&
54147 { ac_try='test -z "$ac_c_werror_flag"
54148 || test ! -s conftest.err'
54149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54150 (eval $ac_try) 2>&5
54151 ac_status=$?
54152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54153 (exit $ac_status); }; } &&
54154 { ac_try='test -s conftest.$ac_objext'
54155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54156 (eval $ac_try) 2>&5
54157 ac_status=$?
54158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54159 (exit $ac_status); }; }; then
54161 cat >>confdefs.h <<\_ACEOF
54162 #define HAVE_SIGSETJMP 1
54163 _ACEOF
54165 else
54166 echo "$as_me: failed program was:" >&5
54167 sed 's/^/| /' conftest.$ac_ext >&5
54170 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54172 cat >>confdefs.h <<\_ACEOF
54173 #define HAVE_MMAP 1
54174 _ACEOF
54178 *djgpp)
54199 for ac_header in float.h ieeefp.h inttypes.h locale.h \
54200 memory.h stdint.h stdlib.h strings.h string.h unistd.h \
54201 wchar.h wctype.h machine/endian.h sys/ioctl.h sys/param.h \
54202 sys/resource.h sys/stat.h sys/time.h sys/types.h sys/uio.h
54204 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
54205 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54206 echo "$as_me:$LINENO: checking for $ac_header" >&5
54207 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
54208 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54209 echo $ECHO_N "(cached) $ECHO_C" >&6
54211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
54212 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
54213 else
54214 # Is the header compilable?
54215 echo "$as_me:$LINENO: checking $ac_header usability" >&5
54216 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
54217 cat >conftest.$ac_ext <<_ACEOF
54218 /* confdefs.h. */
54219 _ACEOF
54220 cat confdefs.h >>conftest.$ac_ext
54221 cat >>conftest.$ac_ext <<_ACEOF
54222 /* end confdefs.h. */
54223 $ac_includes_default
54224 #include <$ac_header>
54225 _ACEOF
54226 rm -f conftest.$ac_objext
54227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54228 (eval $ac_compile) 2>conftest.er1
54229 ac_status=$?
54230 grep -v '^ *+' conftest.er1 >conftest.err
54231 rm -f conftest.er1
54232 cat conftest.err >&5
54233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54234 (exit $ac_status); } &&
54235 { ac_try='test -z "$ac_c_werror_flag"
54236 || test ! -s conftest.err'
54237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54238 (eval $ac_try) 2>&5
54239 ac_status=$?
54240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54241 (exit $ac_status); }; } &&
54242 { ac_try='test -s conftest.$ac_objext'
54243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54244 (eval $ac_try) 2>&5
54245 ac_status=$?
54246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54247 (exit $ac_status); }; }; then
54248 ac_header_compiler=yes
54249 else
54250 echo "$as_me: failed program was:" >&5
54251 sed 's/^/| /' conftest.$ac_ext >&5
54253 ac_header_compiler=no
54255 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54256 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
54257 echo "${ECHO_T}$ac_header_compiler" >&6
54259 # Is the header present?
54260 echo "$as_me:$LINENO: checking $ac_header presence" >&5
54261 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
54262 cat >conftest.$ac_ext <<_ACEOF
54263 /* confdefs.h. */
54264 _ACEOF
54265 cat confdefs.h >>conftest.$ac_ext
54266 cat >>conftest.$ac_ext <<_ACEOF
54267 /* end confdefs.h. */
54268 #include <$ac_header>
54269 _ACEOF
54270 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
54271 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
54272 ac_status=$?
54273 grep -v '^ *+' conftest.er1 >conftest.err
54274 rm -f conftest.er1
54275 cat conftest.err >&5
54276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54277 (exit $ac_status); } >/dev/null; then
54278 if test -s conftest.err; then
54279 ac_cpp_err=$ac_c_preproc_warn_flag
54280 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
54281 else
54282 ac_cpp_err=
54284 else
54285 ac_cpp_err=yes
54287 if test -z "$ac_cpp_err"; then
54288 ac_header_preproc=yes
54289 else
54290 echo "$as_me: failed program was:" >&5
54291 sed 's/^/| /' conftest.$ac_ext >&5
54293 ac_header_preproc=no
54295 rm -f conftest.err conftest.$ac_ext
54296 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
54297 echo "${ECHO_T}$ac_header_preproc" >&6
54299 # So? What about this header?
54300 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
54301 yes:no: )
54302 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
54303 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
54304 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
54305 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
54306 ac_header_preproc=yes
54308 no:yes:* )
54309 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
54310 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
54311 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
54312 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
54313 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
54314 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
54315 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
54316 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
54317 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
54318 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
54319 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
54320 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
54322 cat <<\_ASBOX
54323 ## ----------------------------------------- ##
54324 ## Report this to the package-unused lists. ##
54325 ## ----------------------------------------- ##
54326 _ASBOX
54328 sed "s/^/$as_me: WARNING: /" >&2
54330 esac
54331 echo "$as_me:$LINENO: checking for $ac_header" >&5
54332 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
54333 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54334 echo $ECHO_N "(cached) $ECHO_C" >&6
54335 else
54336 eval "$as_ac_Header=\$ac_header_preproc"
54338 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
54339 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
54342 if test `eval echo '${'$as_ac_Header'}'` = yes; then
54343 cat >>confdefs.h <<_ACEOF
54344 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
54345 _ACEOF
54349 done
54351 # GLIBCXX_CHECK_MATH_SUPPORT
54352 cat >>confdefs.h <<\_ACEOF
54353 #define HAVE_LIBM 1
54354 _ACEOF
54356 cat >>confdefs.h <<\_ACEOF
54357 #define HAVE_ISINF 1
54358 _ACEOF
54360 cat >>confdefs.h <<\_ACEOF
54361 #define HAVE_ISNAN 1
54362 _ACEOF
54364 cat >>confdefs.h <<\_ACEOF
54365 #define HAVE_FINITE 1
54366 _ACEOF
54368 cat >>confdefs.h <<\_ACEOF
54369 #define HAVE_COPYSIGN 1
54370 _ACEOF
54372 cat >>confdefs.h <<\_ACEOF
54373 #define HAVE_SINCOS 1
54374 _ACEOF
54376 cat >>confdefs.h <<\_ACEOF
54377 #define HAVE_HYPOT 1
54378 _ACEOF
54380 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
54381 cat >>confdefs.h <<\_ACEOF
54382 #define HAVE___BUILTIN_ABS 1
54383 _ACEOF
54385 cat >>confdefs.h <<\_ACEOF
54386 #define HAVE___BUILTIN_FABSF 1
54387 _ACEOF
54389 cat >>confdefs.h <<\_ACEOF
54390 #define HAVE___BUILTIN_FABS 1
54391 _ACEOF
54393 cat >>confdefs.h <<\_ACEOF
54394 #define HAVE___BUILTIN_FABSL 1
54395 _ACEOF
54397 cat >>confdefs.h <<\_ACEOF
54398 #define HAVE___BUILTIN_LABS 1
54399 _ACEOF
54401 cat >>confdefs.h <<\_ACEOF
54402 #define HAVE___BUILTIN_SQRTF 1
54403 _ACEOF
54405 cat >>confdefs.h <<\_ACEOF
54406 #define HAVE___BUILTIN_SQRT 1
54407 _ACEOF
54409 cat >>confdefs.h <<\_ACEOF
54410 #define HAVE___BUILTIN_SQRTL 1
54411 _ACEOF
54413 cat >>confdefs.h <<\_ACEOF
54414 #define HAVE___BUILTIN_SINF 1
54415 _ACEOF
54417 cat >>confdefs.h <<\_ACEOF
54418 #define HAVE___BUILTIN_SIN 1
54419 _ACEOF
54421 cat >>confdefs.h <<\_ACEOF
54422 #define HAVE___BUILTIN_SINL 1
54423 _ACEOF
54425 cat >>confdefs.h <<\_ACEOF
54426 #define HAVE___BUILTIN_COSF 1
54427 _ACEOF
54429 cat >>confdefs.h <<\_ACEOF
54430 #define HAVE___BUILTIN_COS 1
54431 _ACEOF
54433 cat >>confdefs.h <<\_ACEOF
54434 #define HAVE___BUILTIN_COSL 1
54435 _ACEOF
54437 # GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT
54438 # GLIBCXX_CHECK_STDLIB_SUPPORT
54439 cat >>confdefs.h <<\_ACEOF
54440 #define HAVE_COPYSIGN 1
54441 _ACEOF
54443 cat >>confdefs.h <<\_ACEOF
54444 #define HAVE_COPYSIGNF 1
54445 _ACEOF
54447 # GLIBCXX_CHECK_S_ISREG_OR_S_IFREG
54448 cat >>confdefs.h <<\_ACEOF
54449 #define HAVE_S_ISREG 1
54450 _ACEOF
54452 cat >>confdefs.h <<\_ACEOF
54453 #define HAVE_S_IFREG 1
54454 _ACEOF
54456 cat >>confdefs.h <<\_ACEOF
54457 #define HAVE_WRITEV 1
54458 _ACEOF
54462 *-freebsd*)
54479 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
54480 machine/endian.h machine/param.h sys/machine.h sys/types.h \
54481 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
54482 sys/time.h unistd.h
54484 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
54485 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54486 echo "$as_me:$LINENO: checking for $ac_header" >&5
54487 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
54488 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54489 echo $ECHO_N "(cached) $ECHO_C" >&6
54491 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
54492 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
54493 else
54494 # Is the header compilable?
54495 echo "$as_me:$LINENO: checking $ac_header usability" >&5
54496 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
54497 cat >conftest.$ac_ext <<_ACEOF
54498 /* confdefs.h. */
54499 _ACEOF
54500 cat confdefs.h >>conftest.$ac_ext
54501 cat >>conftest.$ac_ext <<_ACEOF
54502 /* end confdefs.h. */
54503 $ac_includes_default
54504 #include <$ac_header>
54505 _ACEOF
54506 rm -f conftest.$ac_objext
54507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54508 (eval $ac_compile) 2>conftest.er1
54509 ac_status=$?
54510 grep -v '^ *+' conftest.er1 >conftest.err
54511 rm -f conftest.er1
54512 cat conftest.err >&5
54513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54514 (exit $ac_status); } &&
54515 { ac_try='test -z "$ac_c_werror_flag"
54516 || test ! -s conftest.err'
54517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54518 (eval $ac_try) 2>&5
54519 ac_status=$?
54520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54521 (exit $ac_status); }; } &&
54522 { ac_try='test -s conftest.$ac_objext'
54523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54524 (eval $ac_try) 2>&5
54525 ac_status=$?
54526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54527 (exit $ac_status); }; }; then
54528 ac_header_compiler=yes
54529 else
54530 echo "$as_me: failed program was:" >&5
54531 sed 's/^/| /' conftest.$ac_ext >&5
54533 ac_header_compiler=no
54535 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54536 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
54537 echo "${ECHO_T}$ac_header_compiler" >&6
54539 # Is the header present?
54540 echo "$as_me:$LINENO: checking $ac_header presence" >&5
54541 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
54542 cat >conftest.$ac_ext <<_ACEOF
54543 /* confdefs.h. */
54544 _ACEOF
54545 cat confdefs.h >>conftest.$ac_ext
54546 cat >>conftest.$ac_ext <<_ACEOF
54547 /* end confdefs.h. */
54548 #include <$ac_header>
54549 _ACEOF
54550 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
54551 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
54552 ac_status=$?
54553 grep -v '^ *+' conftest.er1 >conftest.err
54554 rm -f conftest.er1
54555 cat conftest.err >&5
54556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54557 (exit $ac_status); } >/dev/null; then
54558 if test -s conftest.err; then
54559 ac_cpp_err=$ac_c_preproc_warn_flag
54560 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
54561 else
54562 ac_cpp_err=
54564 else
54565 ac_cpp_err=yes
54567 if test -z "$ac_cpp_err"; then
54568 ac_header_preproc=yes
54569 else
54570 echo "$as_me: failed program was:" >&5
54571 sed 's/^/| /' conftest.$ac_ext >&5
54573 ac_header_preproc=no
54575 rm -f conftest.err conftest.$ac_ext
54576 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
54577 echo "${ECHO_T}$ac_header_preproc" >&6
54579 # So? What about this header?
54580 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
54581 yes:no: )
54582 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
54583 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
54584 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
54585 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
54586 ac_header_preproc=yes
54588 no:yes:* )
54589 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
54590 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
54591 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
54592 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
54593 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
54594 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
54595 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
54596 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
54597 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
54598 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
54599 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
54600 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
54602 cat <<\_ASBOX
54603 ## ----------------------------------------- ##
54604 ## Report this to the package-unused lists. ##
54605 ## ----------------------------------------- ##
54606 _ASBOX
54608 sed "s/^/$as_me: WARNING: /" >&2
54610 esac
54611 echo "$as_me:$LINENO: checking for $ac_header" >&5
54612 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
54613 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54614 echo $ECHO_N "(cached) $ECHO_C" >&6
54615 else
54616 eval "$as_ac_Header=\$ac_header_preproc"
54618 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
54619 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
54622 if test `eval echo '${'$as_ac_Header'}'` = yes; then
54623 cat >>confdefs.h <<_ACEOF
54624 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
54625 _ACEOF
54629 done
54631 SECTION_FLAGS='-ffunction-sections -fdata-sections'
54634 # If we're not using GNU ld, then there's no point in even trying these
54635 # tests. Check for that first. We should have already tested for gld
54636 # by now (in libtool), but require it now just to be safe...
54637 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
54638 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
54642 # The name set by libtool depends on the version of libtool. Shame on us
54643 # for depending on an impl detail, but c'est la vie. Older versions used
54644 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
54645 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
54646 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
54647 # set (hence we're using an older libtool), then set it.
54648 if test x${with_gnu_ld+set} != xset; then
54649 if test x${ac_cv_prog_gnu_ld+set} != xset; then
54650 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
54651 with_gnu_ld=no
54652 else
54653 with_gnu_ld=$ac_cv_prog_gnu_ld
54657 # Start by getting the version number. I think the libtool test already
54658 # does some of this, but throws away the result.
54659 if test x"$with_gnu_ld" = x"yes"; then
54660 echo "$as_me:$LINENO: checking for ld version" >&5
54661 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
54663 ldver=`$LD --version 2>/dev/null | head -1 | \
54664 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
54666 glibcxx_gnu_ld_version=`echo $ldver | \
54667 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
54668 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
54669 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
54672 # Set --gc-sections.
54673 glibcxx_gcsections_min_ld=21602
54674 if test x"$with_gnu_ld" = x"yes" &&
54675 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
54677 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
54678 # NB: This flag only works reliably after 2.16.1. Configure tests
54679 # for this are difficult, so hard wire a value that should work.
54681 # All these tests are for C++, but run with the "C" compiler driver.
54682 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
54683 ac_test_CFLAGS="${CFLAGS+set}"
54684 ac_save_CFLAGS="$CFLAGS"
54685 CFLAGS='-x c++ -Wl,--gc-sections'
54687 # Check for -Wl,--gc-sections
54688 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
54689 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
54690 if test x$gcc_no_link = xyes; then
54691 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54692 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54693 { (exit 1); exit 1; }; }
54695 cat >conftest.$ac_ext <<_ACEOF
54696 /* confdefs.h. */
54697 _ACEOF
54698 cat confdefs.h >>conftest.$ac_ext
54699 cat >>conftest.$ac_ext <<_ACEOF
54700 /* end confdefs.h. */
54701 int one(void) { return 1; }
54702 int two(void) { return 2; }
54705 main ()
54707 two();
54709 return 0;
54711 _ACEOF
54712 rm -f conftest.$ac_objext conftest$ac_exeext
54713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54714 (eval $ac_link) 2>conftest.er1
54715 ac_status=$?
54716 grep -v '^ *+' conftest.er1 >conftest.err
54717 rm -f conftest.er1
54718 cat conftest.err >&5
54719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54720 (exit $ac_status); } &&
54721 { ac_try='test -z "$ac_c_werror_flag"
54722 || test ! -s conftest.err'
54723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54724 (eval $ac_try) 2>&5
54725 ac_status=$?
54726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54727 (exit $ac_status); }; } &&
54728 { ac_try='test -s conftest$ac_exeext'
54729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54730 (eval $ac_try) 2>&5
54731 ac_status=$?
54732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54733 (exit $ac_status); }; }; then
54734 ac_gcsections=yes
54735 else
54736 echo "$as_me: failed program was:" >&5
54737 sed 's/^/| /' conftest.$ac_ext >&5
54739 ac_gcsections=no
54741 rm -f conftest.err conftest.$ac_objext \
54742 conftest$ac_exeext conftest.$ac_ext
54743 if test "$ac_gcsections" = "yes"; then
54744 rm -f conftest.c
54745 touch conftest.c
54746 if $CC -c conftest.c; then
54747 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
54748 grep "Warning: gc-sections option ignored" > /dev/null; then
54749 ac_gcsections=no
54752 rm -f conftest.c conftest.o conftest
54754 if test "$ac_gcsections" = "yes"; then
54755 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
54757 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
54758 echo "${ECHO_T}$ac_gcsections" >&6
54760 if test "$ac_test_CFLAGS" = set; then
54761 CFLAGS="$ac_save_CFLAGS"
54762 else
54763 # this is the suspicious part
54764 CFLAGS=''
54768 # Set -z,relro.
54769 # Note this is only for shared objects.
54770 ac_ld_relro=no
54771 if test x"$with_gnu_ld" = x"yes"; then
54772 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
54773 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
54774 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
54775 if test -n "$cxx_z_relo"; then
54776 OPT_LDFLAGS="-Wl,-z,relro"
54777 ac_ld_relro=yes
54779 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
54780 echo "${ECHO_T}$ac_ld_relro" >&6
54783 # Set linker optimization flags.
54784 if test x"$with_gnu_ld" = x"yes"; then
54785 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
54793 echo "$as_me:$LINENO: checking for main in -lm" >&5
54794 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
54795 if test "${ac_cv_lib_m_main+set}" = set; then
54796 echo $ECHO_N "(cached) $ECHO_C" >&6
54797 else
54798 ac_check_lib_save_LIBS=$LIBS
54799 LIBS="-lm $LIBS"
54800 if test x$gcc_no_link = xyes; then
54801 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54802 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54803 { (exit 1); exit 1; }; }
54805 cat >conftest.$ac_ext <<_ACEOF
54806 /* confdefs.h. */
54807 _ACEOF
54808 cat confdefs.h >>conftest.$ac_ext
54809 cat >>conftest.$ac_ext <<_ACEOF
54810 /* end confdefs.h. */
54814 main ()
54816 main ();
54818 return 0;
54820 _ACEOF
54821 rm -f conftest.$ac_objext conftest$ac_exeext
54822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54823 (eval $ac_link) 2>conftest.er1
54824 ac_status=$?
54825 grep -v '^ *+' conftest.er1 >conftest.err
54826 rm -f conftest.er1
54827 cat conftest.err >&5
54828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54829 (exit $ac_status); } &&
54830 { ac_try='test -z "$ac_c_werror_flag"
54831 || test ! -s conftest.err'
54832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54833 (eval $ac_try) 2>&5
54834 ac_status=$?
54835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54836 (exit $ac_status); }; } &&
54837 { ac_try='test -s conftest$ac_exeext'
54838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54839 (eval $ac_try) 2>&5
54840 ac_status=$?
54841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54842 (exit $ac_status); }; }; then
54843 ac_cv_lib_m_main=yes
54844 else
54845 echo "$as_me: failed program was:" >&5
54846 sed 's/^/| /' conftest.$ac_ext >&5
54848 ac_cv_lib_m_main=no
54850 rm -f conftest.err conftest.$ac_objext \
54851 conftest$ac_exeext conftest.$ac_ext
54852 LIBS=$ac_check_lib_save_LIBS
54854 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
54855 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
54856 if test $ac_cv_lib_m_main = yes; then
54857 cat >>confdefs.h <<_ACEOF
54858 #define HAVE_LIBM 1
54859 _ACEOF
54861 LIBS="-lm $LIBS"
54866 for ac_func in copysignf
54868 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54869 echo "$as_me:$LINENO: checking for $ac_func" >&5
54870 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54871 if eval "test \"\${$as_ac_var+set}\" = set"; then
54872 echo $ECHO_N "(cached) $ECHO_C" >&6
54873 else
54874 if test x$gcc_no_link = xyes; then
54875 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54876 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54877 { (exit 1); exit 1; }; }
54879 cat >conftest.$ac_ext <<_ACEOF
54880 /* confdefs.h. */
54881 _ACEOF
54882 cat confdefs.h >>conftest.$ac_ext
54883 cat >>conftest.$ac_ext <<_ACEOF
54884 /* end confdefs.h. */
54885 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54886 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54887 #define $ac_func innocuous_$ac_func
54889 /* System header to define __stub macros and hopefully few prototypes,
54890 which can conflict with char $ac_func (); below.
54891 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54892 <limits.h> exists even on freestanding compilers. */
54894 #ifdef __STDC__
54895 # include <limits.h>
54896 #else
54897 # include <assert.h>
54898 #endif
54900 #undef $ac_func
54902 /* Override any gcc2 internal prototype to avoid an error. */
54903 #ifdef __cplusplus
54904 extern "C"
54906 #endif
54907 /* We use char because int might match the return type of a gcc2
54908 builtin and then its argument prototype would still apply. */
54909 char $ac_func ();
54910 /* The GNU C library defines this for functions which it implements
54911 to always fail with ENOSYS. Some functions are actually named
54912 something starting with __ and the normal name is an alias. */
54913 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54914 choke me
54915 #else
54916 char (*f) () = $ac_func;
54917 #endif
54918 #ifdef __cplusplus
54920 #endif
54923 main ()
54925 return f != $ac_func;
54927 return 0;
54929 _ACEOF
54930 rm -f conftest.$ac_objext conftest$ac_exeext
54931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54932 (eval $ac_link) 2>conftest.er1
54933 ac_status=$?
54934 grep -v '^ *+' conftest.er1 >conftest.err
54935 rm -f conftest.er1
54936 cat conftest.err >&5
54937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54938 (exit $ac_status); } &&
54939 { ac_try='test -z "$ac_c_werror_flag"
54940 || test ! -s conftest.err'
54941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54942 (eval $ac_try) 2>&5
54943 ac_status=$?
54944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54945 (exit $ac_status); }; } &&
54946 { ac_try='test -s conftest$ac_exeext'
54947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54948 (eval $ac_try) 2>&5
54949 ac_status=$?
54950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54951 (exit $ac_status); }; }; then
54952 eval "$as_ac_var=yes"
54953 else
54954 echo "$as_me: failed program was:" >&5
54955 sed 's/^/| /' conftest.$ac_ext >&5
54957 eval "$as_ac_var=no"
54959 rm -f conftest.err conftest.$ac_objext \
54960 conftest$ac_exeext conftest.$ac_ext
54962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54963 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54964 if test `eval echo '${'$as_ac_var'}'` = yes; then
54965 cat >>confdefs.h <<_ACEOF
54966 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54967 _ACEOF
54969 else
54970 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
54972 done
54976 for ac_func in __signbit
54978 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54979 echo "$as_me:$LINENO: checking for $ac_func" >&5
54980 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54981 if eval "test \"\${$as_ac_var+set}\" = set"; then
54982 echo $ECHO_N "(cached) $ECHO_C" >&6
54983 else
54984 if test x$gcc_no_link = xyes; then
54985 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54986 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54987 { (exit 1); exit 1; }; }
54989 cat >conftest.$ac_ext <<_ACEOF
54990 /* confdefs.h. */
54991 _ACEOF
54992 cat confdefs.h >>conftest.$ac_ext
54993 cat >>conftest.$ac_ext <<_ACEOF
54994 /* end confdefs.h. */
54995 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54996 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54997 #define $ac_func innocuous_$ac_func
54999 /* System header to define __stub macros and hopefully few prototypes,
55000 which can conflict with char $ac_func (); below.
55001 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55002 <limits.h> exists even on freestanding compilers. */
55004 #ifdef __STDC__
55005 # include <limits.h>
55006 #else
55007 # include <assert.h>
55008 #endif
55010 #undef $ac_func
55012 /* Override any gcc2 internal prototype to avoid an error. */
55013 #ifdef __cplusplus
55014 extern "C"
55016 #endif
55017 /* We use char because int might match the return type of a gcc2
55018 builtin and then its argument prototype would still apply. */
55019 char $ac_func ();
55020 /* The GNU C library defines this for functions which it implements
55021 to always fail with ENOSYS. Some functions are actually named
55022 something starting with __ and the normal name is an alias. */
55023 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55024 choke me
55025 #else
55026 char (*f) () = $ac_func;
55027 #endif
55028 #ifdef __cplusplus
55030 #endif
55033 main ()
55035 return f != $ac_func;
55037 return 0;
55039 _ACEOF
55040 rm -f conftest.$ac_objext conftest$ac_exeext
55041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55042 (eval $ac_link) 2>conftest.er1
55043 ac_status=$?
55044 grep -v '^ *+' conftest.er1 >conftest.err
55045 rm -f conftest.er1
55046 cat conftest.err >&5
55047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55048 (exit $ac_status); } &&
55049 { ac_try='test -z "$ac_c_werror_flag"
55050 || test ! -s conftest.err'
55051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55052 (eval $ac_try) 2>&5
55053 ac_status=$?
55054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55055 (exit $ac_status); }; } &&
55056 { ac_try='test -s conftest$ac_exeext'
55057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55058 (eval $ac_try) 2>&5
55059 ac_status=$?
55060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55061 (exit $ac_status); }; }; then
55062 eval "$as_ac_var=yes"
55063 else
55064 echo "$as_me: failed program was:" >&5
55065 sed 's/^/| /' conftest.$ac_ext >&5
55067 eval "$as_ac_var=no"
55069 rm -f conftest.err conftest.$ac_objext \
55070 conftest$ac_exeext conftest.$ac_ext
55072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55073 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55074 if test `eval echo '${'$as_ac_var'}'` = yes; then
55075 cat >>confdefs.h <<_ACEOF
55076 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55077 _ACEOF
55079 else
55080 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
55082 done
55086 for ac_func in __signbitf
55088 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55089 echo "$as_me:$LINENO: checking for $ac_func" >&5
55090 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55091 if eval "test \"\${$as_ac_var+set}\" = set"; then
55092 echo $ECHO_N "(cached) $ECHO_C" >&6
55093 else
55094 if test x$gcc_no_link = xyes; then
55095 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55096 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55097 { (exit 1); exit 1; }; }
55099 cat >conftest.$ac_ext <<_ACEOF
55100 /* confdefs.h. */
55101 _ACEOF
55102 cat confdefs.h >>conftest.$ac_ext
55103 cat >>conftest.$ac_ext <<_ACEOF
55104 /* end confdefs.h. */
55105 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55106 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55107 #define $ac_func innocuous_$ac_func
55109 /* System header to define __stub macros and hopefully few prototypes,
55110 which can conflict with char $ac_func (); below.
55111 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55112 <limits.h> exists even on freestanding compilers. */
55114 #ifdef __STDC__
55115 # include <limits.h>
55116 #else
55117 # include <assert.h>
55118 #endif
55120 #undef $ac_func
55122 /* Override any gcc2 internal prototype to avoid an error. */
55123 #ifdef __cplusplus
55124 extern "C"
55126 #endif
55127 /* We use char because int might match the return type of a gcc2
55128 builtin and then its argument prototype would still apply. */
55129 char $ac_func ();
55130 /* The GNU C library defines this for functions which it implements
55131 to always fail with ENOSYS. Some functions are actually named
55132 something starting with __ and the normal name is an alias. */
55133 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55134 choke me
55135 #else
55136 char (*f) () = $ac_func;
55137 #endif
55138 #ifdef __cplusplus
55140 #endif
55143 main ()
55145 return f != $ac_func;
55147 return 0;
55149 _ACEOF
55150 rm -f conftest.$ac_objext conftest$ac_exeext
55151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55152 (eval $ac_link) 2>conftest.er1
55153 ac_status=$?
55154 grep -v '^ *+' conftest.er1 >conftest.err
55155 rm -f conftest.er1
55156 cat conftest.err >&5
55157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55158 (exit $ac_status); } &&
55159 { ac_try='test -z "$ac_c_werror_flag"
55160 || test ! -s conftest.err'
55161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55162 (eval $ac_try) 2>&5
55163 ac_status=$?
55164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55165 (exit $ac_status); }; } &&
55166 { ac_try='test -s conftest$ac_exeext'
55167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55168 (eval $ac_try) 2>&5
55169 ac_status=$?
55170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55171 (exit $ac_status); }; }; then
55172 eval "$as_ac_var=yes"
55173 else
55174 echo "$as_me: failed program was:" >&5
55175 sed 's/^/| /' conftest.$ac_ext >&5
55177 eval "$as_ac_var=no"
55179 rm -f conftest.err conftest.$ac_objext \
55180 conftest$ac_exeext conftest.$ac_ext
55182 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55183 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55184 if test `eval echo '${'$as_ac_var'}'` = yes; then
55185 cat >>confdefs.h <<_ACEOF
55186 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55187 _ACEOF
55189 else
55190 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
55192 done
55195 if test x$ac_cv_func_copysignl = x"yes"; then
55197 for ac_func in __signbitl
55199 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55200 echo "$as_me:$LINENO: checking for $ac_func" >&5
55201 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55202 if eval "test \"\${$as_ac_var+set}\" = set"; then
55203 echo $ECHO_N "(cached) $ECHO_C" >&6
55204 else
55205 if test x$gcc_no_link = xyes; then
55206 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55207 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55208 { (exit 1); exit 1; }; }
55210 cat >conftest.$ac_ext <<_ACEOF
55211 /* confdefs.h. */
55212 _ACEOF
55213 cat confdefs.h >>conftest.$ac_ext
55214 cat >>conftest.$ac_ext <<_ACEOF
55215 /* end confdefs.h. */
55216 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55217 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55218 #define $ac_func innocuous_$ac_func
55220 /* System header to define __stub macros and hopefully few prototypes,
55221 which can conflict with char $ac_func (); below.
55222 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55223 <limits.h> exists even on freestanding compilers. */
55225 #ifdef __STDC__
55226 # include <limits.h>
55227 #else
55228 # include <assert.h>
55229 #endif
55231 #undef $ac_func
55233 /* Override any gcc2 internal prototype to avoid an error. */
55234 #ifdef __cplusplus
55235 extern "C"
55237 #endif
55238 /* We use char because int might match the return type of a gcc2
55239 builtin and then its argument prototype would still apply. */
55240 char $ac_func ();
55241 /* The GNU C library defines this for functions which it implements
55242 to always fail with ENOSYS. Some functions are actually named
55243 something starting with __ and the normal name is an alias. */
55244 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55245 choke me
55246 #else
55247 char (*f) () = $ac_func;
55248 #endif
55249 #ifdef __cplusplus
55251 #endif
55254 main ()
55256 return f != $ac_func;
55258 return 0;
55260 _ACEOF
55261 rm -f conftest.$ac_objext conftest$ac_exeext
55262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55263 (eval $ac_link) 2>conftest.er1
55264 ac_status=$?
55265 grep -v '^ *+' conftest.er1 >conftest.err
55266 rm -f conftest.er1
55267 cat conftest.err >&5
55268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55269 (exit $ac_status); } &&
55270 { ac_try='test -z "$ac_c_werror_flag"
55271 || test ! -s conftest.err'
55272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55273 (eval $ac_try) 2>&5
55274 ac_status=$?
55275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55276 (exit $ac_status); }; } &&
55277 { ac_try='test -s conftest$ac_exeext'
55278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55279 (eval $ac_try) 2>&5
55280 ac_status=$?
55281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55282 (exit $ac_status); }; }; then
55283 eval "$as_ac_var=yes"
55284 else
55285 echo "$as_me: failed program was:" >&5
55286 sed 's/^/| /' conftest.$ac_ext >&5
55288 eval "$as_ac_var=no"
55290 rm -f conftest.err conftest.$ac_objext \
55291 conftest$ac_exeext conftest.$ac_ext
55293 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55294 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55295 if test `eval echo '${'$as_ac_var'}'` = yes; then
55296 cat >>confdefs.h <<_ACEOF
55297 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55298 _ACEOF
55300 else
55301 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
55303 done
55307 # Used in libmath/Makefile.am.
55308 if test -n "$LIBMATHOBJS"; then
55309 need_libmath=yes
55313 cat >>confdefs.h <<\_ACEOF
55314 #define HAVE_LC_MESSAGES 1
55315 _ACEOF
55317 cat >>confdefs.h <<\_ACEOF
55318 #define HAVE_GETPAGESIZE 1
55319 _ACEOF
55321 cat >>confdefs.h <<\_ACEOF
55322 #define HAVE_SETENV 1
55323 _ACEOF
55325 cat >>confdefs.h <<\_ACEOF
55326 #define HAVE_SIGSETJMP 1
55327 _ACEOF
55329 cat >>confdefs.h <<\_ACEOF
55330 #define HAVE_COPYSIGN 1
55331 _ACEOF
55333 cat >>confdefs.h <<\_ACEOF
55334 #define HAVE_COPYSIGNF 1
55335 _ACEOF
55337 cat >>confdefs.h <<\_ACEOF
55338 #define HAVE_FINITEF 1
55339 _ACEOF
55341 cat >>confdefs.h <<\_ACEOF
55342 #define HAVE_FINITE 1
55343 _ACEOF
55345 cat >>confdefs.h <<\_ACEOF
55346 #define HAVE_FREXPF 1
55347 _ACEOF
55349 cat >>confdefs.h <<\_ACEOF
55350 #define HAVE_HYPOT 1
55351 _ACEOF
55353 cat >>confdefs.h <<\_ACEOF
55354 #define HAVE_HYPOTF 1
55355 _ACEOF
55357 cat >>confdefs.h <<\_ACEOF
55358 #define HAVE_ISINF 1
55359 _ACEOF
55361 cat >>confdefs.h <<\_ACEOF
55362 #define HAVE_ISNAN 1
55363 _ACEOF
55365 cat >>confdefs.h <<\_ACEOF
55366 #define HAVE_ISNANF 1
55367 _ACEOF
55370 cat >>confdefs.h <<\_ACEOF
55371 #define HAVE_MMAP 1
55372 _ACEOF
55374 cat >>confdefs.h <<\_ACEOF
55375 #define HAVE_ACOSF 1
55376 _ACEOF
55378 cat >>confdefs.h <<\_ACEOF
55379 #define HAVE_ASINF 1
55380 _ACEOF
55382 cat >>confdefs.h <<\_ACEOF
55383 #define HAVE_ATAN2F 1
55384 _ACEOF
55386 cat >>confdefs.h <<\_ACEOF
55387 #define HAVE_ATANF 1
55388 _ACEOF
55390 cat >>confdefs.h <<\_ACEOF
55391 #define HAVE_CEILF 1
55392 _ACEOF
55394 cat >>confdefs.h <<\_ACEOF
55395 #define HAVE_COPYSIGN 1
55396 _ACEOF
55398 cat >>confdefs.h <<\_ACEOF
55399 #define HAVE_COPYSIGNF 1
55400 _ACEOF
55402 cat >>confdefs.h <<\_ACEOF
55403 #define HAVE_COSF 1
55404 _ACEOF
55406 cat >>confdefs.h <<\_ACEOF
55407 #define HAVE_COSHF 1
55408 _ACEOF
55410 cat >>confdefs.h <<\_ACEOF
55411 #define HAVE_EXPF 1
55412 _ACEOF
55414 cat >>confdefs.h <<\_ACEOF
55415 #define HAVE_FABSF 1
55416 _ACEOF
55418 cat >>confdefs.h <<\_ACEOF
55419 #define HAVE_FLOORF 1
55420 _ACEOF
55422 cat >>confdefs.h <<\_ACEOF
55423 #define HAVE_FMODF 1
55424 _ACEOF
55426 cat >>confdefs.h <<\_ACEOF
55427 #define HAVE_FREXPF 1
55428 _ACEOF
55430 cat >>confdefs.h <<\_ACEOF
55431 #define HAVE_LDEXPF 1
55432 _ACEOF
55434 cat >>confdefs.h <<\_ACEOF
55435 #define HAVE_LOG10F 1
55436 _ACEOF
55438 cat >>confdefs.h <<\_ACEOF
55439 #define HAVE_LOGF 1
55440 _ACEOF
55442 cat >>confdefs.h <<\_ACEOF
55443 #define HAVE_MODFF 1
55444 _ACEOF
55446 cat >>confdefs.h <<\_ACEOF
55447 #define HAVE_POWF 1
55448 _ACEOF
55450 cat >>confdefs.h <<\_ACEOF
55451 #define HAVE_SINF 1
55452 _ACEOF
55454 cat >>confdefs.h <<\_ACEOF
55455 #define HAVE_SINHF 1
55456 _ACEOF
55458 cat >>confdefs.h <<\_ACEOF
55459 #define HAVE_SQRTF 1
55460 _ACEOF
55462 cat >>confdefs.h <<\_ACEOF
55463 #define HAVE_TANF 1
55464 _ACEOF
55466 cat >>confdefs.h <<\_ACEOF
55467 #define HAVE_TANHF 1
55468 _ACEOF
55470 if test x"long_double_math_on_this_cpu" = x"yes"; then
55471 cat >>confdefs.h <<\_ACEOF
55472 #define HAVE_FINITEL 1
55473 _ACEOF
55475 cat >>confdefs.h <<\_ACEOF
55476 #define HAVE_ISINFL 1
55477 _ACEOF
55479 cat >>confdefs.h <<\_ACEOF
55480 #define HAVE_ISNANL 1
55481 _ACEOF
55485 *-hpux*)
55498 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
55499 machine/endian.h machine/param.h sys/machine.h sys/types.h \
55500 fp.h locale.h float.h inttypes.h
55502 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
55503 if eval "test \"\${$as_ac_Header+set}\" = set"; then
55504 echo "$as_me:$LINENO: checking for $ac_header" >&5
55505 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
55506 if eval "test \"\${$as_ac_Header+set}\" = set"; then
55507 echo $ECHO_N "(cached) $ECHO_C" >&6
55509 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
55510 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
55511 else
55512 # Is the header compilable?
55513 echo "$as_me:$LINENO: checking $ac_header usability" >&5
55514 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
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 $ac_includes_default
55522 #include <$ac_header>
55523 _ACEOF
55524 rm -f conftest.$ac_objext
55525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55526 (eval $ac_compile) 2>conftest.er1
55527 ac_status=$?
55528 grep -v '^ *+' conftest.er1 >conftest.err
55529 rm -f conftest.er1
55530 cat conftest.err >&5
55531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55532 (exit $ac_status); } &&
55533 { ac_try='test -z "$ac_c_werror_flag"
55534 || test ! -s conftest.err'
55535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55536 (eval $ac_try) 2>&5
55537 ac_status=$?
55538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55539 (exit $ac_status); }; } &&
55540 { ac_try='test -s conftest.$ac_objext'
55541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55542 (eval $ac_try) 2>&5
55543 ac_status=$?
55544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55545 (exit $ac_status); }; }; then
55546 ac_header_compiler=yes
55547 else
55548 echo "$as_me: failed program was:" >&5
55549 sed 's/^/| /' conftest.$ac_ext >&5
55551 ac_header_compiler=no
55553 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55554 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
55555 echo "${ECHO_T}$ac_header_compiler" >&6
55557 # Is the header present?
55558 echo "$as_me:$LINENO: checking $ac_header presence" >&5
55559 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
55560 cat >conftest.$ac_ext <<_ACEOF
55561 /* confdefs.h. */
55562 _ACEOF
55563 cat confdefs.h >>conftest.$ac_ext
55564 cat >>conftest.$ac_ext <<_ACEOF
55565 /* end confdefs.h. */
55566 #include <$ac_header>
55567 _ACEOF
55568 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
55569 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
55570 ac_status=$?
55571 grep -v '^ *+' conftest.er1 >conftest.err
55572 rm -f conftest.er1
55573 cat conftest.err >&5
55574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55575 (exit $ac_status); } >/dev/null; then
55576 if test -s conftest.err; then
55577 ac_cpp_err=$ac_c_preproc_warn_flag
55578 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
55579 else
55580 ac_cpp_err=
55582 else
55583 ac_cpp_err=yes
55585 if test -z "$ac_cpp_err"; then
55586 ac_header_preproc=yes
55587 else
55588 echo "$as_me: failed program was:" >&5
55589 sed 's/^/| /' conftest.$ac_ext >&5
55591 ac_header_preproc=no
55593 rm -f conftest.err conftest.$ac_ext
55594 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
55595 echo "${ECHO_T}$ac_header_preproc" >&6
55597 # So? What about this header?
55598 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
55599 yes:no: )
55600 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
55601 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
55602 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
55603 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
55604 ac_header_preproc=yes
55606 no:yes:* )
55607 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
55608 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
55609 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
55610 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
55611 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
55612 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
55613 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
55614 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
55615 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
55616 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
55617 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
55618 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
55620 cat <<\_ASBOX
55621 ## ----------------------------------------- ##
55622 ## Report this to the package-unused lists. ##
55623 ## ----------------------------------------- ##
55624 _ASBOX
55626 sed "s/^/$as_me: WARNING: /" >&2
55628 esac
55629 echo "$as_me:$LINENO: checking for $ac_header" >&5
55630 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
55631 if eval "test \"\${$as_ac_Header+set}\" = set"; then
55632 echo $ECHO_N "(cached) $ECHO_C" >&6
55633 else
55634 eval "$as_ac_Header=\$ac_header_preproc"
55636 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
55637 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
55640 if test `eval echo '${'$as_ac_Header'}'` = yes; then
55641 cat >>confdefs.h <<_ACEOF
55642 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
55643 _ACEOF
55647 done
55649 SECTION_FLAGS='-ffunction-sections -fdata-sections'
55652 # If we're not using GNU ld, then there's no point in even trying these
55653 # tests. Check for that first. We should have already tested for gld
55654 # by now (in libtool), but require it now just to be safe...
55655 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
55656 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
55660 # The name set by libtool depends on the version of libtool. Shame on us
55661 # for depending on an impl detail, but c'est la vie. Older versions used
55662 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
55663 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
55664 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
55665 # set (hence we're using an older libtool), then set it.
55666 if test x${with_gnu_ld+set} != xset; then
55667 if test x${ac_cv_prog_gnu_ld+set} != xset; then
55668 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
55669 with_gnu_ld=no
55670 else
55671 with_gnu_ld=$ac_cv_prog_gnu_ld
55675 # Start by getting the version number. I think the libtool test already
55676 # does some of this, but throws away the result.
55677 if test x"$with_gnu_ld" = x"yes"; then
55678 echo "$as_me:$LINENO: checking for ld version" >&5
55679 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
55681 ldver=`$LD --version 2>/dev/null | head -1 | \
55682 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
55684 glibcxx_gnu_ld_version=`echo $ldver | \
55685 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
55686 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
55687 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
55690 # Set --gc-sections.
55691 glibcxx_gcsections_min_ld=21602
55692 if test x"$with_gnu_ld" = x"yes" &&
55693 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
55695 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
55696 # NB: This flag only works reliably after 2.16.1. Configure tests
55697 # for this are difficult, so hard wire a value that should work.
55699 # All these tests are for C++, but run with the "C" compiler driver.
55700 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
55701 ac_test_CFLAGS="${CFLAGS+set}"
55702 ac_save_CFLAGS="$CFLAGS"
55703 CFLAGS='-x c++ -Wl,--gc-sections'
55705 # Check for -Wl,--gc-sections
55706 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
55707 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
55708 if test x$gcc_no_link = xyes; then
55709 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55710 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55711 { (exit 1); exit 1; }; }
55713 cat >conftest.$ac_ext <<_ACEOF
55714 /* confdefs.h. */
55715 _ACEOF
55716 cat confdefs.h >>conftest.$ac_ext
55717 cat >>conftest.$ac_ext <<_ACEOF
55718 /* end confdefs.h. */
55719 int one(void) { return 1; }
55720 int two(void) { return 2; }
55723 main ()
55725 two();
55727 return 0;
55729 _ACEOF
55730 rm -f conftest.$ac_objext conftest$ac_exeext
55731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55732 (eval $ac_link) 2>conftest.er1
55733 ac_status=$?
55734 grep -v '^ *+' conftest.er1 >conftest.err
55735 rm -f conftest.er1
55736 cat conftest.err >&5
55737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55738 (exit $ac_status); } &&
55739 { ac_try='test -z "$ac_c_werror_flag"
55740 || test ! -s conftest.err'
55741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55742 (eval $ac_try) 2>&5
55743 ac_status=$?
55744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55745 (exit $ac_status); }; } &&
55746 { ac_try='test -s conftest$ac_exeext'
55747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55748 (eval $ac_try) 2>&5
55749 ac_status=$?
55750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55751 (exit $ac_status); }; }; then
55752 ac_gcsections=yes
55753 else
55754 echo "$as_me: failed program was:" >&5
55755 sed 's/^/| /' conftest.$ac_ext >&5
55757 ac_gcsections=no
55759 rm -f conftest.err conftest.$ac_objext \
55760 conftest$ac_exeext conftest.$ac_ext
55761 if test "$ac_gcsections" = "yes"; then
55762 rm -f conftest.c
55763 touch conftest.c
55764 if $CC -c conftest.c; then
55765 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
55766 grep "Warning: gc-sections option ignored" > /dev/null; then
55767 ac_gcsections=no
55770 rm -f conftest.c conftest.o conftest
55772 if test "$ac_gcsections" = "yes"; then
55773 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
55775 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
55776 echo "${ECHO_T}$ac_gcsections" >&6
55778 if test "$ac_test_CFLAGS" = set; then
55779 CFLAGS="$ac_save_CFLAGS"
55780 else
55781 # this is the suspicious part
55782 CFLAGS=''
55786 # Set -z,relro.
55787 # Note this is only for shared objects.
55788 ac_ld_relro=no
55789 if test x"$with_gnu_ld" = x"yes"; then
55790 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
55791 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
55792 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
55793 if test -n "$cxx_z_relo"; then
55794 OPT_LDFLAGS="-Wl,-z,relro"
55795 ac_ld_relro=yes
55797 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
55798 echo "${ECHO_T}$ac_ld_relro" >&6
55801 # Set linker optimization flags.
55802 if test x"$with_gnu_ld" = x"yes"; then
55803 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
55811 echo "$as_me:$LINENO: checking for main in -lm" >&5
55812 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
55813 if test "${ac_cv_lib_m_main+set}" = set; then
55814 echo $ECHO_N "(cached) $ECHO_C" >&6
55815 else
55816 ac_check_lib_save_LIBS=$LIBS
55817 LIBS="-lm $LIBS"
55818 if test x$gcc_no_link = xyes; then
55819 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55820 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55821 { (exit 1); exit 1; }; }
55823 cat >conftest.$ac_ext <<_ACEOF
55824 /* confdefs.h. */
55825 _ACEOF
55826 cat confdefs.h >>conftest.$ac_ext
55827 cat >>conftest.$ac_ext <<_ACEOF
55828 /* end confdefs.h. */
55832 main ()
55834 main ();
55836 return 0;
55838 _ACEOF
55839 rm -f conftest.$ac_objext conftest$ac_exeext
55840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55841 (eval $ac_link) 2>conftest.er1
55842 ac_status=$?
55843 grep -v '^ *+' conftest.er1 >conftest.err
55844 rm -f conftest.er1
55845 cat conftest.err >&5
55846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55847 (exit $ac_status); } &&
55848 { ac_try='test -z "$ac_c_werror_flag"
55849 || test ! -s conftest.err'
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); }; } &&
55855 { ac_try='test -s conftest$ac_exeext'
55856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55857 (eval $ac_try) 2>&5
55858 ac_status=$?
55859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55860 (exit $ac_status); }; }; then
55861 ac_cv_lib_m_main=yes
55862 else
55863 echo "$as_me: failed program was:" >&5
55864 sed 's/^/| /' conftest.$ac_ext >&5
55866 ac_cv_lib_m_main=no
55868 rm -f conftest.err conftest.$ac_objext \
55869 conftest$ac_exeext conftest.$ac_ext
55870 LIBS=$ac_check_lib_save_LIBS
55872 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
55873 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
55874 if test $ac_cv_lib_m_main = yes; then
55875 cat >>confdefs.h <<_ACEOF
55876 #define HAVE_LIBM 1
55877 _ACEOF
55879 LIBS="-lm $LIBS"
55884 for ac_func in copysignf
55886 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55887 echo "$as_me:$LINENO: checking for $ac_func" >&5
55888 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55889 if eval "test \"\${$as_ac_var+set}\" = set"; then
55890 echo $ECHO_N "(cached) $ECHO_C" >&6
55891 else
55892 if test x$gcc_no_link = xyes; then
55893 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55894 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55895 { (exit 1); exit 1; }; }
55897 cat >conftest.$ac_ext <<_ACEOF
55898 /* confdefs.h. */
55899 _ACEOF
55900 cat confdefs.h >>conftest.$ac_ext
55901 cat >>conftest.$ac_ext <<_ACEOF
55902 /* end confdefs.h. */
55903 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55904 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55905 #define $ac_func innocuous_$ac_func
55907 /* System header to define __stub macros and hopefully few prototypes,
55908 which can conflict with char $ac_func (); below.
55909 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55910 <limits.h> exists even on freestanding compilers. */
55912 #ifdef __STDC__
55913 # include <limits.h>
55914 #else
55915 # include <assert.h>
55916 #endif
55918 #undef $ac_func
55920 /* Override any gcc2 internal prototype to avoid an error. */
55921 #ifdef __cplusplus
55922 extern "C"
55924 #endif
55925 /* We use char because int might match the return type of a gcc2
55926 builtin and then its argument prototype would still apply. */
55927 char $ac_func ();
55928 /* The GNU C library defines this for functions which it implements
55929 to always fail with ENOSYS. Some functions are actually named
55930 something starting with __ and the normal name is an alias. */
55931 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55932 choke me
55933 #else
55934 char (*f) () = $ac_func;
55935 #endif
55936 #ifdef __cplusplus
55938 #endif
55941 main ()
55943 return f != $ac_func;
55945 return 0;
55947 _ACEOF
55948 rm -f conftest.$ac_objext conftest$ac_exeext
55949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55950 (eval $ac_link) 2>conftest.er1
55951 ac_status=$?
55952 grep -v '^ *+' conftest.er1 >conftest.err
55953 rm -f conftest.er1
55954 cat conftest.err >&5
55955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55956 (exit $ac_status); } &&
55957 { ac_try='test -z "$ac_c_werror_flag"
55958 || test ! -s conftest.err'
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); }; } &&
55964 { ac_try='test -s conftest$ac_exeext'
55965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55966 (eval $ac_try) 2>&5
55967 ac_status=$?
55968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55969 (exit $ac_status); }; }; then
55970 eval "$as_ac_var=yes"
55971 else
55972 echo "$as_me: failed program was:" >&5
55973 sed 's/^/| /' conftest.$ac_ext >&5
55975 eval "$as_ac_var=no"
55977 rm -f conftest.err conftest.$ac_objext \
55978 conftest$ac_exeext conftest.$ac_ext
55980 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55981 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55982 if test `eval echo '${'$as_ac_var'}'` = yes; then
55983 cat >>confdefs.h <<_ACEOF
55984 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55985 _ACEOF
55987 else
55988 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
55990 done
55994 for ac_func in __signbit
55996 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55997 echo "$as_me:$LINENO: checking for $ac_func" >&5
55998 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55999 if eval "test \"\${$as_ac_var+set}\" = set"; then
56000 echo $ECHO_N "(cached) $ECHO_C" >&6
56001 else
56002 if test x$gcc_no_link = xyes; then
56003 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56004 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56005 { (exit 1); exit 1; }; }
56007 cat >conftest.$ac_ext <<_ACEOF
56008 /* confdefs.h. */
56009 _ACEOF
56010 cat confdefs.h >>conftest.$ac_ext
56011 cat >>conftest.$ac_ext <<_ACEOF
56012 /* end confdefs.h. */
56013 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56014 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56015 #define $ac_func innocuous_$ac_func
56017 /* System header to define __stub macros and hopefully few prototypes,
56018 which can conflict with char $ac_func (); below.
56019 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56020 <limits.h> exists even on freestanding compilers. */
56022 #ifdef __STDC__
56023 # include <limits.h>
56024 #else
56025 # include <assert.h>
56026 #endif
56028 #undef $ac_func
56030 /* Override any gcc2 internal prototype to avoid an error. */
56031 #ifdef __cplusplus
56032 extern "C"
56034 #endif
56035 /* We use char because int might match the return type of a gcc2
56036 builtin and then its argument prototype would still apply. */
56037 char $ac_func ();
56038 /* The GNU C library defines this for functions which it implements
56039 to always fail with ENOSYS. Some functions are actually named
56040 something starting with __ and the normal name is an alias. */
56041 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56042 choke me
56043 #else
56044 char (*f) () = $ac_func;
56045 #endif
56046 #ifdef __cplusplus
56048 #endif
56051 main ()
56053 return f != $ac_func;
56055 return 0;
56057 _ACEOF
56058 rm -f conftest.$ac_objext conftest$ac_exeext
56059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56060 (eval $ac_link) 2>conftest.er1
56061 ac_status=$?
56062 grep -v '^ *+' conftest.er1 >conftest.err
56063 rm -f conftest.er1
56064 cat conftest.err >&5
56065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56066 (exit $ac_status); } &&
56067 { ac_try='test -z "$ac_c_werror_flag"
56068 || test ! -s conftest.err'
56069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56070 (eval $ac_try) 2>&5
56071 ac_status=$?
56072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56073 (exit $ac_status); }; } &&
56074 { ac_try='test -s conftest$ac_exeext'
56075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56076 (eval $ac_try) 2>&5
56077 ac_status=$?
56078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56079 (exit $ac_status); }; }; then
56080 eval "$as_ac_var=yes"
56081 else
56082 echo "$as_me: failed program was:" >&5
56083 sed 's/^/| /' conftest.$ac_ext >&5
56085 eval "$as_ac_var=no"
56087 rm -f conftest.err conftest.$ac_objext \
56088 conftest$ac_exeext conftest.$ac_ext
56090 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56091 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56092 if test `eval echo '${'$as_ac_var'}'` = yes; then
56093 cat >>confdefs.h <<_ACEOF
56094 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56095 _ACEOF
56097 else
56098 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
56100 done
56104 for ac_func in __signbitf
56106 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56107 echo "$as_me:$LINENO: checking for $ac_func" >&5
56108 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56109 if eval "test \"\${$as_ac_var+set}\" = set"; then
56110 echo $ECHO_N "(cached) $ECHO_C" >&6
56111 else
56112 if test x$gcc_no_link = xyes; then
56113 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56114 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56115 { (exit 1); exit 1; }; }
56117 cat >conftest.$ac_ext <<_ACEOF
56118 /* confdefs.h. */
56119 _ACEOF
56120 cat confdefs.h >>conftest.$ac_ext
56121 cat >>conftest.$ac_ext <<_ACEOF
56122 /* end confdefs.h. */
56123 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56124 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56125 #define $ac_func innocuous_$ac_func
56127 /* System header to define __stub macros and hopefully few prototypes,
56128 which can conflict with char $ac_func (); below.
56129 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56130 <limits.h> exists even on freestanding compilers. */
56132 #ifdef __STDC__
56133 # include <limits.h>
56134 #else
56135 # include <assert.h>
56136 #endif
56138 #undef $ac_func
56140 /* Override any gcc2 internal prototype to avoid an error. */
56141 #ifdef __cplusplus
56142 extern "C"
56144 #endif
56145 /* We use char because int might match the return type of a gcc2
56146 builtin and then its argument prototype would still apply. */
56147 char $ac_func ();
56148 /* The GNU C library defines this for functions which it implements
56149 to always fail with ENOSYS. Some functions are actually named
56150 something starting with __ and the normal name is an alias. */
56151 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56152 choke me
56153 #else
56154 char (*f) () = $ac_func;
56155 #endif
56156 #ifdef __cplusplus
56158 #endif
56161 main ()
56163 return f != $ac_func;
56165 return 0;
56167 _ACEOF
56168 rm -f conftest.$ac_objext conftest$ac_exeext
56169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56170 (eval $ac_link) 2>conftest.er1
56171 ac_status=$?
56172 grep -v '^ *+' conftest.er1 >conftest.err
56173 rm -f conftest.er1
56174 cat conftest.err >&5
56175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56176 (exit $ac_status); } &&
56177 { ac_try='test -z "$ac_c_werror_flag"
56178 || test ! -s conftest.err'
56179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56180 (eval $ac_try) 2>&5
56181 ac_status=$?
56182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56183 (exit $ac_status); }; } &&
56184 { ac_try='test -s conftest$ac_exeext'
56185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56186 (eval $ac_try) 2>&5
56187 ac_status=$?
56188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56189 (exit $ac_status); }; }; then
56190 eval "$as_ac_var=yes"
56191 else
56192 echo "$as_me: failed program was:" >&5
56193 sed 's/^/| /' conftest.$ac_ext >&5
56195 eval "$as_ac_var=no"
56197 rm -f conftest.err conftest.$ac_objext \
56198 conftest$ac_exeext conftest.$ac_ext
56200 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56201 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56202 if test `eval echo '${'$as_ac_var'}'` = yes; then
56203 cat >>confdefs.h <<_ACEOF
56204 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56205 _ACEOF
56207 else
56208 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
56210 done
56213 if test x$ac_cv_func_copysignl = x"yes"; then
56215 for ac_func in __signbitl
56217 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56218 echo "$as_me:$LINENO: checking for $ac_func" >&5
56219 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56220 if eval "test \"\${$as_ac_var+set}\" = set"; then
56221 echo $ECHO_N "(cached) $ECHO_C" >&6
56222 else
56223 if test x$gcc_no_link = xyes; then
56224 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56225 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56226 { (exit 1); exit 1; }; }
56228 cat >conftest.$ac_ext <<_ACEOF
56229 /* confdefs.h. */
56230 _ACEOF
56231 cat confdefs.h >>conftest.$ac_ext
56232 cat >>conftest.$ac_ext <<_ACEOF
56233 /* end confdefs.h. */
56234 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56235 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56236 #define $ac_func innocuous_$ac_func
56238 /* System header to define __stub macros and hopefully few prototypes,
56239 which can conflict with char $ac_func (); below.
56240 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56241 <limits.h> exists even on freestanding compilers. */
56243 #ifdef __STDC__
56244 # include <limits.h>
56245 #else
56246 # include <assert.h>
56247 #endif
56249 #undef $ac_func
56251 /* Override any gcc2 internal prototype to avoid an error. */
56252 #ifdef __cplusplus
56253 extern "C"
56255 #endif
56256 /* We use char because int might match the return type of a gcc2
56257 builtin and then its argument prototype would still apply. */
56258 char $ac_func ();
56259 /* The GNU C library defines this for functions which it implements
56260 to always fail with ENOSYS. Some functions are actually named
56261 something starting with __ and the normal name is an alias. */
56262 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56263 choke me
56264 #else
56265 char (*f) () = $ac_func;
56266 #endif
56267 #ifdef __cplusplus
56269 #endif
56272 main ()
56274 return f != $ac_func;
56276 return 0;
56278 _ACEOF
56279 rm -f conftest.$ac_objext conftest$ac_exeext
56280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56281 (eval $ac_link) 2>conftest.er1
56282 ac_status=$?
56283 grep -v '^ *+' conftest.er1 >conftest.err
56284 rm -f conftest.er1
56285 cat conftest.err >&5
56286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56287 (exit $ac_status); } &&
56288 { ac_try='test -z "$ac_c_werror_flag"
56289 || test ! -s conftest.err'
56290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56291 (eval $ac_try) 2>&5
56292 ac_status=$?
56293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56294 (exit $ac_status); }; } &&
56295 { ac_try='test -s conftest$ac_exeext'
56296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56297 (eval $ac_try) 2>&5
56298 ac_status=$?
56299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56300 (exit $ac_status); }; }; then
56301 eval "$as_ac_var=yes"
56302 else
56303 echo "$as_me: failed program was:" >&5
56304 sed 's/^/| /' conftest.$ac_ext >&5
56306 eval "$as_ac_var=no"
56308 rm -f conftest.err conftest.$ac_objext \
56309 conftest$ac_exeext conftest.$ac_ext
56311 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56312 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56313 if test `eval echo '${'$as_ac_var'}'` = yes; then
56314 cat >>confdefs.h <<_ACEOF
56315 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56316 _ACEOF
56318 else
56319 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
56321 done
56325 # Used in libmath/Makefile.am.
56326 if test -n "$LIBMATHOBJS"; then
56327 need_libmath=yes
56331 cat >>confdefs.h <<\_ACEOF
56332 #define HAVE_COPYSIGN 1
56333 _ACEOF
56335 cat >>confdefs.h <<\_ACEOF
56336 #define HAVE_COPYSIGNF 1
56337 _ACEOF
56339 cat >>confdefs.h <<\_ACEOF
56340 #define HAVE_FREXPF 1
56341 _ACEOF
56343 cat >>confdefs.h <<\_ACEOF
56344 #define HAVE_HYPOT 1
56345 _ACEOF
56347 case "$target" in
56348 *-hpux10*)
56349 cat >>confdefs.h <<\_ACEOF
56350 #define HAVE_FINITE 1
56351 _ACEOF
56353 cat >>confdefs.h <<\_ACEOF
56354 #define HAVE_FINITEF 1
56355 _ACEOF
56357 cat >>confdefs.h <<\_ACEOF
56358 #define HAVE_ISINF 1
56359 _ACEOF
56361 cat >>confdefs.h <<\_ACEOF
56362 #define HAVE_ISINFF 1
56363 _ACEOF
56365 cat >>confdefs.h <<\_ACEOF
56366 #define HAVE_ISNAN 1
56367 _ACEOF
56369 cat >>confdefs.h <<\_ACEOF
56370 #define HAVE_ISNANF 1
56371 _ACEOF
56374 esac
56376 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
56392 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
56393 machine/endian.h machine/param.h sys/machine.h sys/types.h \
56394 fp.h float.h endian.h inttypes.h locale.h float.h stdint.h
56396 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
56397 if eval "test \"\${$as_ac_Header+set}\" = set"; then
56398 echo "$as_me:$LINENO: checking for $ac_header" >&5
56399 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
56400 if eval "test \"\${$as_ac_Header+set}\" = set"; then
56401 echo $ECHO_N "(cached) $ECHO_C" >&6
56403 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
56404 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
56405 else
56406 # Is the header compilable?
56407 echo "$as_me:$LINENO: checking $ac_header usability" >&5
56408 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
56409 cat >conftest.$ac_ext <<_ACEOF
56410 /* confdefs.h. */
56411 _ACEOF
56412 cat confdefs.h >>conftest.$ac_ext
56413 cat >>conftest.$ac_ext <<_ACEOF
56414 /* end confdefs.h. */
56415 $ac_includes_default
56416 #include <$ac_header>
56417 _ACEOF
56418 rm -f conftest.$ac_objext
56419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56420 (eval $ac_compile) 2>conftest.er1
56421 ac_status=$?
56422 grep -v '^ *+' conftest.er1 >conftest.err
56423 rm -f conftest.er1
56424 cat conftest.err >&5
56425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56426 (exit $ac_status); } &&
56427 { ac_try='test -z "$ac_c_werror_flag"
56428 || test ! -s conftest.err'
56429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56430 (eval $ac_try) 2>&5
56431 ac_status=$?
56432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56433 (exit $ac_status); }; } &&
56434 { ac_try='test -s conftest.$ac_objext'
56435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56436 (eval $ac_try) 2>&5
56437 ac_status=$?
56438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56439 (exit $ac_status); }; }; then
56440 ac_header_compiler=yes
56441 else
56442 echo "$as_me: failed program was:" >&5
56443 sed 's/^/| /' conftest.$ac_ext >&5
56445 ac_header_compiler=no
56447 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56448 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
56449 echo "${ECHO_T}$ac_header_compiler" >&6
56451 # Is the header present?
56452 echo "$as_me:$LINENO: checking $ac_header presence" >&5
56453 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
56454 cat >conftest.$ac_ext <<_ACEOF
56455 /* confdefs.h. */
56456 _ACEOF
56457 cat confdefs.h >>conftest.$ac_ext
56458 cat >>conftest.$ac_ext <<_ACEOF
56459 /* end confdefs.h. */
56460 #include <$ac_header>
56461 _ACEOF
56462 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
56463 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
56464 ac_status=$?
56465 grep -v '^ *+' conftest.er1 >conftest.err
56466 rm -f conftest.er1
56467 cat conftest.err >&5
56468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56469 (exit $ac_status); } >/dev/null; then
56470 if test -s conftest.err; then
56471 ac_cpp_err=$ac_c_preproc_warn_flag
56472 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
56473 else
56474 ac_cpp_err=
56476 else
56477 ac_cpp_err=yes
56479 if test -z "$ac_cpp_err"; then
56480 ac_header_preproc=yes
56481 else
56482 echo "$as_me: failed program was:" >&5
56483 sed 's/^/| /' conftest.$ac_ext >&5
56485 ac_header_preproc=no
56487 rm -f conftest.err conftest.$ac_ext
56488 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
56489 echo "${ECHO_T}$ac_header_preproc" >&6
56491 # So? What about this header?
56492 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
56493 yes:no: )
56494 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
56495 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
56496 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
56497 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
56498 ac_header_preproc=yes
56500 no:yes:* )
56501 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
56502 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
56503 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
56504 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
56505 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
56506 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
56507 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
56508 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
56509 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
56510 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
56511 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
56512 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
56514 cat <<\_ASBOX
56515 ## ----------------------------------------- ##
56516 ## Report this to the package-unused lists. ##
56517 ## ----------------------------------------- ##
56518 _ASBOX
56520 sed "s/^/$as_me: WARNING: /" >&2
56522 esac
56523 echo "$as_me:$LINENO: checking for $ac_header" >&5
56524 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
56525 if eval "test \"\${$as_ac_Header+set}\" = set"; then
56526 echo $ECHO_N "(cached) $ECHO_C" >&6
56527 else
56528 eval "$as_ac_Header=\$ac_header_preproc"
56530 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
56531 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
56534 if test `eval echo '${'$as_ac_Header'}'` = yes; then
56535 cat >>confdefs.h <<_ACEOF
56536 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
56537 _ACEOF
56541 done
56543 SECTION_FLAGS='-ffunction-sections -fdata-sections'
56546 # All these tests are for C++; save the language and the compiler flags.
56547 # The CXXFLAGS thing is suspicious, but based on similar bits previously
56548 # found in GLIBCXX_CONFIGURE.
56551 ac_ext=cc
56552 ac_cpp='$CXXCPP $CPPFLAGS'
56553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56557 ac_test_CXXFLAGS="${CXXFLAGS+set}"
56558 ac_save_CXXFLAGS="$CXXFLAGS"
56560 # Check for maintainer-mode bits.
56561 if test x"$USE_MAINTAINER_MODE" = xno; then
56562 WERROR=''
56563 else
56564 WERROR='-Werror'
56567 # Check for -ffunction-sections -fdata-sections
56568 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
56569 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
56570 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
56571 cat >conftest.$ac_ext <<_ACEOF
56572 /* confdefs.h. */
56573 _ACEOF
56574 cat confdefs.h >>conftest.$ac_ext
56575 cat >>conftest.$ac_ext <<_ACEOF
56576 /* end confdefs.h. */
56579 main ()
56581 int foo;
56583 return 0;
56585 _ACEOF
56586 rm -f conftest.$ac_objext
56587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56588 (eval $ac_compile) 2>conftest.er1
56589 ac_status=$?
56590 grep -v '^ *+' conftest.er1 >conftest.err
56591 rm -f conftest.er1
56592 cat conftest.err >&5
56593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56594 (exit $ac_status); } &&
56595 { ac_try='test -z "$ac_cxx_werror_flag"
56596 || test ! -s conftest.err'
56597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56598 (eval $ac_try) 2>&5
56599 ac_status=$?
56600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56601 (exit $ac_status); }; } &&
56602 { ac_try='test -s conftest.$ac_objext'
56603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56604 (eval $ac_try) 2>&5
56605 ac_status=$?
56606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56607 (exit $ac_status); }; }; then
56608 ac_fdsections=yes
56609 else
56610 echo "$as_me: failed program was:" >&5
56611 sed 's/^/| /' conftest.$ac_ext >&5
56613 ac_fdsections=no
56615 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56616 if test "$ac_test_CXXFLAGS" = set; then
56617 CXXFLAGS="$ac_save_CXXFLAGS"
56618 else
56619 # this is the suspicious part
56620 CXXFLAGS=''
56622 if test x"$ac_fdsections" = x"yes"; then
56623 SECTION_FLAGS='-ffunction-sections -fdata-sections'
56625 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
56626 echo "${ECHO_T}$ac_fdsections" >&6
56628 ac_ext=c
56629 ac_cpp='$CPP $CPPFLAGS'
56630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56638 # If we're not using GNU ld, then there's no point in even trying these
56639 # tests. Check for that first. We should have already tested for gld
56640 # by now (in libtool), but require it now just to be safe...
56641 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56642 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56646 # The name set by libtool depends on the version of libtool. Shame on us
56647 # for depending on an impl detail, but c'est la vie. Older versions used
56648 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56649 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56650 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
56651 # set (hence we're using an older libtool), then set it.
56652 if test x${with_gnu_ld+set} != xset; then
56653 if test x${ac_cv_prog_gnu_ld+set} != xset; then
56654 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
56655 with_gnu_ld=no
56656 else
56657 with_gnu_ld=$ac_cv_prog_gnu_ld
56661 # Start by getting the version number. I think the libtool test already
56662 # does some of this, but throws away the result.
56663 if test x"$with_gnu_ld" = x"yes"; then
56664 echo "$as_me:$LINENO: checking for ld version" >&5
56665 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
56667 ldver=`$LD --version 2>/dev/null | head -1 | \
56668 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
56670 glibcxx_gnu_ld_version=`echo $ldver | \
56671 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56672 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
56673 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
56676 # Set --gc-sections.
56677 glibcxx_gcsections_min_ld=21602
56678 if test x"$with_gnu_ld" = x"yes" &&
56679 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56681 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
56682 # NB: This flag only works reliably after 2.16.1. Configure tests
56683 # for this are difficult, so hard wire a value that should work.
56685 # All these tests are for C++, but run with the "C" compiler driver.
56686 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
56687 ac_test_CFLAGS="${CFLAGS+set}"
56688 ac_save_CFLAGS="$CFLAGS"
56689 CFLAGS='-x c++ -Wl,--gc-sections'
56691 # Check for -Wl,--gc-sections
56692 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
56693 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
56694 if test x$gcc_no_link = xyes; then
56695 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56696 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56697 { (exit 1); exit 1; }; }
56699 cat >conftest.$ac_ext <<_ACEOF
56700 /* confdefs.h. */
56701 _ACEOF
56702 cat confdefs.h >>conftest.$ac_ext
56703 cat >>conftest.$ac_ext <<_ACEOF
56704 /* end confdefs.h. */
56705 int one(void) { return 1; }
56706 int two(void) { return 2; }
56709 main ()
56711 two();
56713 return 0;
56715 _ACEOF
56716 rm -f conftest.$ac_objext conftest$ac_exeext
56717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56718 (eval $ac_link) 2>conftest.er1
56719 ac_status=$?
56720 grep -v '^ *+' conftest.er1 >conftest.err
56721 rm -f conftest.er1
56722 cat conftest.err >&5
56723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56724 (exit $ac_status); } &&
56725 { ac_try='test -z "$ac_c_werror_flag"
56726 || test ! -s conftest.err'
56727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56728 (eval $ac_try) 2>&5
56729 ac_status=$?
56730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56731 (exit $ac_status); }; } &&
56732 { ac_try='test -s conftest$ac_exeext'
56733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56734 (eval $ac_try) 2>&5
56735 ac_status=$?
56736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56737 (exit $ac_status); }; }; then
56738 ac_gcsections=yes
56739 else
56740 echo "$as_me: failed program was:" >&5
56741 sed 's/^/| /' conftest.$ac_ext >&5
56743 ac_gcsections=no
56745 rm -f conftest.err conftest.$ac_objext \
56746 conftest$ac_exeext conftest.$ac_ext
56747 if test "$ac_gcsections" = "yes"; then
56748 rm -f conftest.c
56749 touch conftest.c
56750 if $CC -c conftest.c; then
56751 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
56752 grep "Warning: gc-sections option ignored" > /dev/null; then
56753 ac_gcsections=no
56756 rm -f conftest.c conftest.o conftest
56758 if test "$ac_gcsections" = "yes"; then
56759 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
56761 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
56762 echo "${ECHO_T}$ac_gcsections" >&6
56764 if test "$ac_test_CFLAGS" = set; then
56765 CFLAGS="$ac_save_CFLAGS"
56766 else
56767 # this is the suspicious part
56768 CFLAGS=''
56772 # Set -z,relro.
56773 # Note this is only for shared objects.
56774 ac_ld_relro=no
56775 if test x"$with_gnu_ld" = x"yes"; then
56776 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
56777 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
56778 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
56779 if test -n "$cxx_z_relo"; then
56780 OPT_LDFLAGS="-Wl,-z,relro"
56781 ac_ld_relro=yes
56783 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
56784 echo "${ECHO_T}$ac_ld_relro" >&6
56787 # Set linker optimization flags.
56788 if test x"$with_gnu_ld" = x"yes"; then
56789 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
56796 ac_test_CXXFLAGS="${CXXFLAGS+set}"
56797 ac_save_CXXFLAGS="$CXXFLAGS"
56798 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
56800 echo "$as_me:$LINENO: checking for sin in -lm" >&5
56801 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
56802 if test "${ac_cv_lib_m_sin+set}" = set; then
56803 echo $ECHO_N "(cached) $ECHO_C" >&6
56804 else
56805 ac_check_lib_save_LIBS=$LIBS
56806 LIBS="-lm $LIBS"
56807 if test x$gcc_no_link = xyes; then
56808 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56809 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56810 { (exit 1); exit 1; }; }
56812 cat >conftest.$ac_ext <<_ACEOF
56813 /* confdefs.h. */
56814 _ACEOF
56815 cat confdefs.h >>conftest.$ac_ext
56816 cat >>conftest.$ac_ext <<_ACEOF
56817 /* end confdefs.h. */
56819 /* Override any gcc2 internal prototype to avoid an error. */
56820 #ifdef __cplusplus
56821 extern "C"
56822 #endif
56823 /* We use char because int might match the return type of a gcc2
56824 builtin and then its argument prototype would still apply. */
56825 char sin ();
56827 main ()
56829 sin ();
56831 return 0;
56833 _ACEOF
56834 rm -f conftest.$ac_objext conftest$ac_exeext
56835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56836 (eval $ac_link) 2>conftest.er1
56837 ac_status=$?
56838 grep -v '^ *+' conftest.er1 >conftest.err
56839 rm -f conftest.er1
56840 cat conftest.err >&5
56841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56842 (exit $ac_status); } &&
56843 { ac_try='test -z "$ac_c_werror_flag"
56844 || test ! -s conftest.err'
56845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56846 (eval $ac_try) 2>&5
56847 ac_status=$?
56848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56849 (exit $ac_status); }; } &&
56850 { ac_try='test -s conftest$ac_exeext'
56851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56852 (eval $ac_try) 2>&5
56853 ac_status=$?
56854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56855 (exit $ac_status); }; }; then
56856 ac_cv_lib_m_sin=yes
56857 else
56858 echo "$as_me: failed program was:" >&5
56859 sed 's/^/| /' conftest.$ac_ext >&5
56861 ac_cv_lib_m_sin=no
56863 rm -f conftest.err conftest.$ac_objext \
56864 conftest$ac_exeext conftest.$ac_ext
56865 LIBS=$ac_check_lib_save_LIBS
56867 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
56868 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
56869 if test $ac_cv_lib_m_sin = yes; then
56870 libm="-lm"
56873 ac_save_LIBS="$LIBS"
56874 LIBS="$LIBS $libm"
56878 echo "$as_me:$LINENO: checking for isinf declaration" >&5
56879 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
56880 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
56881 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
56882 echo $ECHO_N "(cached) $ECHO_C" >&6
56883 else
56887 ac_ext=cc
56888 ac_cpp='$CXXCPP $CPPFLAGS'
56889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56893 cat >conftest.$ac_ext <<_ACEOF
56894 /* confdefs.h. */
56895 _ACEOF
56896 cat confdefs.h >>conftest.$ac_ext
56897 cat >>conftest.$ac_ext <<_ACEOF
56898 /* end confdefs.h. */
56899 #include <math.h>
56900 #ifdef HAVE_IEEEFP_H
56901 #include <ieeefp.h>
56902 #endif
56905 main ()
56907 isinf(0);
56909 return 0;
56911 _ACEOF
56912 rm -f conftest.$ac_objext
56913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56914 (eval $ac_compile) 2>conftest.er1
56915 ac_status=$?
56916 grep -v '^ *+' conftest.er1 >conftest.err
56917 rm -f conftest.er1
56918 cat conftest.err >&5
56919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56920 (exit $ac_status); } &&
56921 { ac_try='test -z "$ac_cxx_werror_flag"
56922 || test ! -s conftest.err'
56923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56924 (eval $ac_try) 2>&5
56925 ac_status=$?
56926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56927 (exit $ac_status); }; } &&
56928 { ac_try='test -s conftest.$ac_objext'
56929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56930 (eval $ac_try) 2>&5
56931 ac_status=$?
56932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56933 (exit $ac_status); }; }; then
56934 glibcxx_cv_func_isinf_use=yes
56935 else
56936 echo "$as_me: failed program was:" >&5
56937 sed 's/^/| /' conftest.$ac_ext >&5
56939 glibcxx_cv_func_isinf_use=no
56941 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56942 ac_ext=c
56943 ac_cpp='$CPP $CPPFLAGS'
56944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56952 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
56953 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
56955 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
56957 for ac_func in isinf
56959 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56960 echo "$as_me:$LINENO: checking for $ac_func" >&5
56961 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56962 if eval "test \"\${$as_ac_var+set}\" = set"; then
56963 echo $ECHO_N "(cached) $ECHO_C" >&6
56964 else
56965 if test x$gcc_no_link = xyes; then
56966 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56967 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56968 { (exit 1); exit 1; }; }
56970 cat >conftest.$ac_ext <<_ACEOF
56971 /* confdefs.h. */
56972 _ACEOF
56973 cat confdefs.h >>conftest.$ac_ext
56974 cat >>conftest.$ac_ext <<_ACEOF
56975 /* end confdefs.h. */
56976 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56977 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56978 #define $ac_func innocuous_$ac_func
56980 /* System header to define __stub macros and hopefully few prototypes,
56981 which can conflict with char $ac_func (); below.
56982 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56983 <limits.h> exists even on freestanding compilers. */
56985 #ifdef __STDC__
56986 # include <limits.h>
56987 #else
56988 # include <assert.h>
56989 #endif
56991 #undef $ac_func
56993 /* Override any gcc2 internal prototype to avoid an error. */
56994 #ifdef __cplusplus
56995 extern "C"
56997 #endif
56998 /* We use char because int might match the return type of a gcc2
56999 builtin and then its argument prototype would still apply. */
57000 char $ac_func ();
57001 /* The GNU C library defines this for functions which it implements
57002 to always fail with ENOSYS. Some functions are actually named
57003 something starting with __ and the normal name is an alias. */
57004 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57005 choke me
57006 #else
57007 char (*f) () = $ac_func;
57008 #endif
57009 #ifdef __cplusplus
57011 #endif
57014 main ()
57016 return f != $ac_func;
57018 return 0;
57020 _ACEOF
57021 rm -f conftest.$ac_objext conftest$ac_exeext
57022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57023 (eval $ac_link) 2>conftest.er1
57024 ac_status=$?
57025 grep -v '^ *+' conftest.er1 >conftest.err
57026 rm -f conftest.er1
57027 cat conftest.err >&5
57028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57029 (exit $ac_status); } &&
57030 { ac_try='test -z "$ac_c_werror_flag"
57031 || test ! -s conftest.err'
57032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57033 (eval $ac_try) 2>&5
57034 ac_status=$?
57035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57036 (exit $ac_status); }; } &&
57037 { ac_try='test -s conftest$ac_exeext'
57038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57039 (eval $ac_try) 2>&5
57040 ac_status=$?
57041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57042 (exit $ac_status); }; }; then
57043 eval "$as_ac_var=yes"
57044 else
57045 echo "$as_me: failed program was:" >&5
57046 sed 's/^/| /' conftest.$ac_ext >&5
57048 eval "$as_ac_var=no"
57050 rm -f conftest.err conftest.$ac_objext \
57051 conftest$ac_exeext conftest.$ac_ext
57053 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57054 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57055 if test `eval echo '${'$as_ac_var'}'` = yes; then
57056 cat >>confdefs.h <<_ACEOF
57057 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57058 _ACEOF
57061 done
57063 else
57065 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
57066 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
57067 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
57068 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
57069 echo $ECHO_N "(cached) $ECHO_C" >&6
57070 else
57074 ac_ext=cc
57075 ac_cpp='$CXXCPP $CPPFLAGS'
57076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57080 cat >conftest.$ac_ext <<_ACEOF
57081 /* confdefs.h. */
57082 _ACEOF
57083 cat confdefs.h >>conftest.$ac_ext
57084 cat >>conftest.$ac_ext <<_ACEOF
57085 /* end confdefs.h. */
57086 #include <math.h>
57087 #ifdef HAVE_IEEEFP_H
57088 #include <ieeefp.h>
57089 #endif
57092 main ()
57094 _isinf(0);
57096 return 0;
57098 _ACEOF
57099 rm -f conftest.$ac_objext
57100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57101 (eval $ac_compile) 2>conftest.er1
57102 ac_status=$?
57103 grep -v '^ *+' conftest.er1 >conftest.err
57104 rm -f conftest.er1
57105 cat conftest.err >&5
57106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57107 (exit $ac_status); } &&
57108 { ac_try='test -z "$ac_cxx_werror_flag"
57109 || test ! -s conftest.err'
57110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57111 (eval $ac_try) 2>&5
57112 ac_status=$?
57113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57114 (exit $ac_status); }; } &&
57115 { ac_try='test -s conftest.$ac_objext'
57116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57117 (eval $ac_try) 2>&5
57118 ac_status=$?
57119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57120 (exit $ac_status); }; }; then
57121 glibcxx_cv_func__isinf_use=yes
57122 else
57123 echo "$as_me: failed program was:" >&5
57124 sed 's/^/| /' conftest.$ac_ext >&5
57126 glibcxx_cv_func__isinf_use=no
57128 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57129 ac_ext=c
57130 ac_cpp='$CPP $CPPFLAGS'
57131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57139 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
57140 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
57142 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
57144 for ac_func in _isinf
57146 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57147 echo "$as_me:$LINENO: checking for $ac_func" >&5
57148 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57149 if eval "test \"\${$as_ac_var+set}\" = set"; then
57150 echo $ECHO_N "(cached) $ECHO_C" >&6
57151 else
57152 if test x$gcc_no_link = xyes; then
57153 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57154 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57155 { (exit 1); exit 1; }; }
57157 cat >conftest.$ac_ext <<_ACEOF
57158 /* confdefs.h. */
57159 _ACEOF
57160 cat confdefs.h >>conftest.$ac_ext
57161 cat >>conftest.$ac_ext <<_ACEOF
57162 /* end confdefs.h. */
57163 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57164 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57165 #define $ac_func innocuous_$ac_func
57167 /* System header to define __stub macros and hopefully few prototypes,
57168 which can conflict with char $ac_func (); below.
57169 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57170 <limits.h> exists even on freestanding compilers. */
57172 #ifdef __STDC__
57173 # include <limits.h>
57174 #else
57175 # include <assert.h>
57176 #endif
57178 #undef $ac_func
57180 /* Override any gcc2 internal prototype to avoid an error. */
57181 #ifdef __cplusplus
57182 extern "C"
57184 #endif
57185 /* We use char because int might match the return type of a gcc2
57186 builtin and then its argument prototype would still apply. */
57187 char $ac_func ();
57188 /* The GNU C library defines this for functions which it implements
57189 to always fail with ENOSYS. Some functions are actually named
57190 something starting with __ and the normal name is an alias. */
57191 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57192 choke me
57193 #else
57194 char (*f) () = $ac_func;
57195 #endif
57196 #ifdef __cplusplus
57198 #endif
57201 main ()
57203 return f != $ac_func;
57205 return 0;
57207 _ACEOF
57208 rm -f conftest.$ac_objext conftest$ac_exeext
57209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57210 (eval $ac_link) 2>conftest.er1
57211 ac_status=$?
57212 grep -v '^ *+' conftest.er1 >conftest.err
57213 rm -f conftest.er1
57214 cat conftest.err >&5
57215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57216 (exit $ac_status); } &&
57217 { ac_try='test -z "$ac_c_werror_flag"
57218 || test ! -s conftest.err'
57219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57220 (eval $ac_try) 2>&5
57221 ac_status=$?
57222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57223 (exit $ac_status); }; } &&
57224 { ac_try='test -s conftest$ac_exeext'
57225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57226 (eval $ac_try) 2>&5
57227 ac_status=$?
57228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57229 (exit $ac_status); }; }; then
57230 eval "$as_ac_var=yes"
57231 else
57232 echo "$as_me: failed program was:" >&5
57233 sed 's/^/| /' conftest.$ac_ext >&5
57235 eval "$as_ac_var=no"
57237 rm -f conftest.err conftest.$ac_objext \
57238 conftest$ac_exeext conftest.$ac_ext
57240 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57241 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57242 if test `eval echo '${'$as_ac_var'}'` = yes; then
57243 cat >>confdefs.h <<_ACEOF
57244 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57245 _ACEOF
57248 done
57258 echo "$as_me:$LINENO: checking for isnan declaration" >&5
57259 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
57260 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
57261 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
57262 echo $ECHO_N "(cached) $ECHO_C" >&6
57263 else
57267 ac_ext=cc
57268 ac_cpp='$CXXCPP $CPPFLAGS'
57269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57273 cat >conftest.$ac_ext <<_ACEOF
57274 /* confdefs.h. */
57275 _ACEOF
57276 cat confdefs.h >>conftest.$ac_ext
57277 cat >>conftest.$ac_ext <<_ACEOF
57278 /* end confdefs.h. */
57279 #include <math.h>
57280 #ifdef HAVE_IEEEFP_H
57281 #include <ieeefp.h>
57282 #endif
57285 main ()
57287 isnan(0);
57289 return 0;
57291 _ACEOF
57292 rm -f conftest.$ac_objext
57293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57294 (eval $ac_compile) 2>conftest.er1
57295 ac_status=$?
57296 grep -v '^ *+' conftest.er1 >conftest.err
57297 rm -f conftest.er1
57298 cat conftest.err >&5
57299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57300 (exit $ac_status); } &&
57301 { ac_try='test -z "$ac_cxx_werror_flag"
57302 || test ! -s conftest.err'
57303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57304 (eval $ac_try) 2>&5
57305 ac_status=$?
57306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57307 (exit $ac_status); }; } &&
57308 { ac_try='test -s conftest.$ac_objext'
57309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57310 (eval $ac_try) 2>&5
57311 ac_status=$?
57312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57313 (exit $ac_status); }; }; then
57314 glibcxx_cv_func_isnan_use=yes
57315 else
57316 echo "$as_me: failed program was:" >&5
57317 sed 's/^/| /' conftest.$ac_ext >&5
57319 glibcxx_cv_func_isnan_use=no
57321 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57322 ac_ext=c
57323 ac_cpp='$CPP $CPPFLAGS'
57324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57332 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
57333 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
57335 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
57337 for ac_func in isnan
57339 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57340 echo "$as_me:$LINENO: checking for $ac_func" >&5
57341 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57342 if eval "test \"\${$as_ac_var+set}\" = set"; then
57343 echo $ECHO_N "(cached) $ECHO_C" >&6
57344 else
57345 if test x$gcc_no_link = xyes; then
57346 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57347 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57348 { (exit 1); exit 1; }; }
57350 cat >conftest.$ac_ext <<_ACEOF
57351 /* confdefs.h. */
57352 _ACEOF
57353 cat confdefs.h >>conftest.$ac_ext
57354 cat >>conftest.$ac_ext <<_ACEOF
57355 /* end confdefs.h. */
57356 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57357 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57358 #define $ac_func innocuous_$ac_func
57360 /* System header to define __stub macros and hopefully few prototypes,
57361 which can conflict with char $ac_func (); below.
57362 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57363 <limits.h> exists even on freestanding compilers. */
57365 #ifdef __STDC__
57366 # include <limits.h>
57367 #else
57368 # include <assert.h>
57369 #endif
57371 #undef $ac_func
57373 /* Override any gcc2 internal prototype to avoid an error. */
57374 #ifdef __cplusplus
57375 extern "C"
57377 #endif
57378 /* We use char because int might match the return type of a gcc2
57379 builtin and then its argument prototype would still apply. */
57380 char $ac_func ();
57381 /* The GNU C library defines this for functions which it implements
57382 to always fail with ENOSYS. Some functions are actually named
57383 something starting with __ and the normal name is an alias. */
57384 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57385 choke me
57386 #else
57387 char (*f) () = $ac_func;
57388 #endif
57389 #ifdef __cplusplus
57391 #endif
57394 main ()
57396 return f != $ac_func;
57398 return 0;
57400 _ACEOF
57401 rm -f conftest.$ac_objext conftest$ac_exeext
57402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57403 (eval $ac_link) 2>conftest.er1
57404 ac_status=$?
57405 grep -v '^ *+' conftest.er1 >conftest.err
57406 rm -f conftest.er1
57407 cat conftest.err >&5
57408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57409 (exit $ac_status); } &&
57410 { ac_try='test -z "$ac_c_werror_flag"
57411 || test ! -s conftest.err'
57412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57413 (eval $ac_try) 2>&5
57414 ac_status=$?
57415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57416 (exit $ac_status); }; } &&
57417 { ac_try='test -s conftest$ac_exeext'
57418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57419 (eval $ac_try) 2>&5
57420 ac_status=$?
57421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57422 (exit $ac_status); }; }; then
57423 eval "$as_ac_var=yes"
57424 else
57425 echo "$as_me: failed program was:" >&5
57426 sed 's/^/| /' conftest.$ac_ext >&5
57428 eval "$as_ac_var=no"
57430 rm -f conftest.err conftest.$ac_objext \
57431 conftest$ac_exeext conftest.$ac_ext
57433 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57434 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57435 if test `eval echo '${'$as_ac_var'}'` = yes; then
57436 cat >>confdefs.h <<_ACEOF
57437 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57438 _ACEOF
57441 done
57443 else
57445 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
57446 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
57447 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
57448 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
57449 echo $ECHO_N "(cached) $ECHO_C" >&6
57450 else
57454 ac_ext=cc
57455 ac_cpp='$CXXCPP $CPPFLAGS'
57456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57460 cat >conftest.$ac_ext <<_ACEOF
57461 /* confdefs.h. */
57462 _ACEOF
57463 cat confdefs.h >>conftest.$ac_ext
57464 cat >>conftest.$ac_ext <<_ACEOF
57465 /* end confdefs.h. */
57466 #include <math.h>
57467 #ifdef HAVE_IEEEFP_H
57468 #include <ieeefp.h>
57469 #endif
57472 main ()
57474 _isnan(0);
57476 return 0;
57478 _ACEOF
57479 rm -f conftest.$ac_objext
57480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57481 (eval $ac_compile) 2>conftest.er1
57482 ac_status=$?
57483 grep -v '^ *+' conftest.er1 >conftest.err
57484 rm -f conftest.er1
57485 cat conftest.err >&5
57486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57487 (exit $ac_status); } &&
57488 { ac_try='test -z "$ac_cxx_werror_flag"
57489 || test ! -s conftest.err'
57490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57491 (eval $ac_try) 2>&5
57492 ac_status=$?
57493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57494 (exit $ac_status); }; } &&
57495 { ac_try='test -s conftest.$ac_objext'
57496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57497 (eval $ac_try) 2>&5
57498 ac_status=$?
57499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57500 (exit $ac_status); }; }; then
57501 glibcxx_cv_func__isnan_use=yes
57502 else
57503 echo "$as_me: failed program was:" >&5
57504 sed 's/^/| /' conftest.$ac_ext >&5
57506 glibcxx_cv_func__isnan_use=no
57508 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57509 ac_ext=c
57510 ac_cpp='$CPP $CPPFLAGS'
57511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57519 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
57520 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
57522 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
57524 for ac_func in _isnan
57526 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57527 echo "$as_me:$LINENO: checking for $ac_func" >&5
57528 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57529 if eval "test \"\${$as_ac_var+set}\" = set"; then
57530 echo $ECHO_N "(cached) $ECHO_C" >&6
57531 else
57532 if test x$gcc_no_link = xyes; then
57533 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57534 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57535 { (exit 1); exit 1; }; }
57537 cat >conftest.$ac_ext <<_ACEOF
57538 /* confdefs.h. */
57539 _ACEOF
57540 cat confdefs.h >>conftest.$ac_ext
57541 cat >>conftest.$ac_ext <<_ACEOF
57542 /* end confdefs.h. */
57543 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57544 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57545 #define $ac_func innocuous_$ac_func
57547 /* System header to define __stub macros and hopefully few prototypes,
57548 which can conflict with char $ac_func (); below.
57549 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57550 <limits.h> exists even on freestanding compilers. */
57552 #ifdef __STDC__
57553 # include <limits.h>
57554 #else
57555 # include <assert.h>
57556 #endif
57558 #undef $ac_func
57560 /* Override any gcc2 internal prototype to avoid an error. */
57561 #ifdef __cplusplus
57562 extern "C"
57564 #endif
57565 /* We use char because int might match the return type of a gcc2
57566 builtin and then its argument prototype would still apply. */
57567 char $ac_func ();
57568 /* The GNU C library defines this for functions which it implements
57569 to always fail with ENOSYS. Some functions are actually named
57570 something starting with __ and the normal name is an alias. */
57571 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57572 choke me
57573 #else
57574 char (*f) () = $ac_func;
57575 #endif
57576 #ifdef __cplusplus
57578 #endif
57581 main ()
57583 return f != $ac_func;
57585 return 0;
57587 _ACEOF
57588 rm -f conftest.$ac_objext conftest$ac_exeext
57589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57590 (eval $ac_link) 2>conftest.er1
57591 ac_status=$?
57592 grep -v '^ *+' conftest.er1 >conftest.err
57593 rm -f conftest.er1
57594 cat conftest.err >&5
57595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57596 (exit $ac_status); } &&
57597 { ac_try='test -z "$ac_c_werror_flag"
57598 || test ! -s conftest.err'
57599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57600 (eval $ac_try) 2>&5
57601 ac_status=$?
57602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57603 (exit $ac_status); }; } &&
57604 { ac_try='test -s conftest$ac_exeext'
57605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57606 (eval $ac_try) 2>&5
57607 ac_status=$?
57608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57609 (exit $ac_status); }; }; then
57610 eval "$as_ac_var=yes"
57611 else
57612 echo "$as_me: failed program was:" >&5
57613 sed 's/^/| /' conftest.$ac_ext >&5
57615 eval "$as_ac_var=no"
57617 rm -f conftest.err conftest.$ac_objext \
57618 conftest$ac_exeext conftest.$ac_ext
57620 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57621 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57622 if test `eval echo '${'$as_ac_var'}'` = yes; then
57623 cat >>confdefs.h <<_ACEOF
57624 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57625 _ACEOF
57628 done
57638 echo "$as_me:$LINENO: checking for finite declaration" >&5
57639 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
57640 if test x${glibcxx_cv_func_finite_use+set} != xset; then
57641 if test "${glibcxx_cv_func_finite_use+set}" = set; then
57642 echo $ECHO_N "(cached) $ECHO_C" >&6
57643 else
57647 ac_ext=cc
57648 ac_cpp='$CXXCPP $CPPFLAGS'
57649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57653 cat >conftest.$ac_ext <<_ACEOF
57654 /* confdefs.h. */
57655 _ACEOF
57656 cat confdefs.h >>conftest.$ac_ext
57657 cat >>conftest.$ac_ext <<_ACEOF
57658 /* end confdefs.h. */
57659 #include <math.h>
57660 #ifdef HAVE_IEEEFP_H
57661 #include <ieeefp.h>
57662 #endif
57665 main ()
57667 finite(0);
57669 return 0;
57671 _ACEOF
57672 rm -f conftest.$ac_objext
57673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57674 (eval $ac_compile) 2>conftest.er1
57675 ac_status=$?
57676 grep -v '^ *+' conftest.er1 >conftest.err
57677 rm -f conftest.er1
57678 cat conftest.err >&5
57679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57680 (exit $ac_status); } &&
57681 { ac_try='test -z "$ac_cxx_werror_flag"
57682 || test ! -s conftest.err'
57683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57684 (eval $ac_try) 2>&5
57685 ac_status=$?
57686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57687 (exit $ac_status); }; } &&
57688 { ac_try='test -s conftest.$ac_objext'
57689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57690 (eval $ac_try) 2>&5
57691 ac_status=$?
57692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57693 (exit $ac_status); }; }; then
57694 glibcxx_cv_func_finite_use=yes
57695 else
57696 echo "$as_me: failed program was:" >&5
57697 sed 's/^/| /' conftest.$ac_ext >&5
57699 glibcxx_cv_func_finite_use=no
57701 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57702 ac_ext=c
57703 ac_cpp='$CPP $CPPFLAGS'
57704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57712 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
57713 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
57715 if test x$glibcxx_cv_func_finite_use = x"yes"; then
57717 for ac_func in finite
57719 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57720 echo "$as_me:$LINENO: checking for $ac_func" >&5
57721 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57722 if eval "test \"\${$as_ac_var+set}\" = set"; then
57723 echo $ECHO_N "(cached) $ECHO_C" >&6
57724 else
57725 if test x$gcc_no_link = xyes; then
57726 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57727 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57728 { (exit 1); exit 1; }; }
57730 cat >conftest.$ac_ext <<_ACEOF
57731 /* confdefs.h. */
57732 _ACEOF
57733 cat confdefs.h >>conftest.$ac_ext
57734 cat >>conftest.$ac_ext <<_ACEOF
57735 /* end confdefs.h. */
57736 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57737 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57738 #define $ac_func innocuous_$ac_func
57740 /* System header to define __stub macros and hopefully few prototypes,
57741 which can conflict with char $ac_func (); below.
57742 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57743 <limits.h> exists even on freestanding compilers. */
57745 #ifdef __STDC__
57746 # include <limits.h>
57747 #else
57748 # include <assert.h>
57749 #endif
57751 #undef $ac_func
57753 /* Override any gcc2 internal prototype to avoid an error. */
57754 #ifdef __cplusplus
57755 extern "C"
57757 #endif
57758 /* We use char because int might match the return type of a gcc2
57759 builtin and then its argument prototype would still apply. */
57760 char $ac_func ();
57761 /* The GNU C library defines this for functions which it implements
57762 to always fail with ENOSYS. Some functions are actually named
57763 something starting with __ and the normal name is an alias. */
57764 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57765 choke me
57766 #else
57767 char (*f) () = $ac_func;
57768 #endif
57769 #ifdef __cplusplus
57771 #endif
57774 main ()
57776 return f != $ac_func;
57778 return 0;
57780 _ACEOF
57781 rm -f conftest.$ac_objext conftest$ac_exeext
57782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57783 (eval $ac_link) 2>conftest.er1
57784 ac_status=$?
57785 grep -v '^ *+' conftest.er1 >conftest.err
57786 rm -f conftest.er1
57787 cat conftest.err >&5
57788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57789 (exit $ac_status); } &&
57790 { ac_try='test -z "$ac_c_werror_flag"
57791 || test ! -s conftest.err'
57792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57793 (eval $ac_try) 2>&5
57794 ac_status=$?
57795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57796 (exit $ac_status); }; } &&
57797 { ac_try='test -s conftest$ac_exeext'
57798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57799 (eval $ac_try) 2>&5
57800 ac_status=$?
57801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57802 (exit $ac_status); }; }; then
57803 eval "$as_ac_var=yes"
57804 else
57805 echo "$as_me: failed program was:" >&5
57806 sed 's/^/| /' conftest.$ac_ext >&5
57808 eval "$as_ac_var=no"
57810 rm -f conftest.err conftest.$ac_objext \
57811 conftest$ac_exeext conftest.$ac_ext
57813 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57814 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57815 if test `eval echo '${'$as_ac_var'}'` = yes; then
57816 cat >>confdefs.h <<_ACEOF
57817 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57818 _ACEOF
57821 done
57823 else
57825 echo "$as_me:$LINENO: checking for _finite declaration" >&5
57826 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
57827 if test x${glibcxx_cv_func__finite_use+set} != xset; then
57828 if test "${glibcxx_cv_func__finite_use+set}" = set; then
57829 echo $ECHO_N "(cached) $ECHO_C" >&6
57830 else
57834 ac_ext=cc
57835 ac_cpp='$CXXCPP $CPPFLAGS'
57836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57840 cat >conftest.$ac_ext <<_ACEOF
57841 /* confdefs.h. */
57842 _ACEOF
57843 cat confdefs.h >>conftest.$ac_ext
57844 cat >>conftest.$ac_ext <<_ACEOF
57845 /* end confdefs.h. */
57846 #include <math.h>
57847 #ifdef HAVE_IEEEFP_H
57848 #include <ieeefp.h>
57849 #endif
57852 main ()
57854 _finite(0);
57856 return 0;
57858 _ACEOF
57859 rm -f conftest.$ac_objext
57860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57861 (eval $ac_compile) 2>conftest.er1
57862 ac_status=$?
57863 grep -v '^ *+' conftest.er1 >conftest.err
57864 rm -f conftest.er1
57865 cat conftest.err >&5
57866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57867 (exit $ac_status); } &&
57868 { ac_try='test -z "$ac_cxx_werror_flag"
57869 || test ! -s conftest.err'
57870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57871 (eval $ac_try) 2>&5
57872 ac_status=$?
57873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57874 (exit $ac_status); }; } &&
57875 { ac_try='test -s conftest.$ac_objext'
57876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57877 (eval $ac_try) 2>&5
57878 ac_status=$?
57879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57880 (exit $ac_status); }; }; then
57881 glibcxx_cv_func__finite_use=yes
57882 else
57883 echo "$as_me: failed program was:" >&5
57884 sed 's/^/| /' conftest.$ac_ext >&5
57886 glibcxx_cv_func__finite_use=no
57888 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57889 ac_ext=c
57890 ac_cpp='$CPP $CPPFLAGS'
57891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57899 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
57900 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
57902 if test x$glibcxx_cv_func__finite_use = x"yes"; then
57904 for ac_func in _finite
57906 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57907 echo "$as_me:$LINENO: checking for $ac_func" >&5
57908 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57909 if eval "test \"\${$as_ac_var+set}\" = set"; then
57910 echo $ECHO_N "(cached) $ECHO_C" >&6
57911 else
57912 if test x$gcc_no_link = xyes; then
57913 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57914 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57915 { (exit 1); exit 1; }; }
57917 cat >conftest.$ac_ext <<_ACEOF
57918 /* confdefs.h. */
57919 _ACEOF
57920 cat confdefs.h >>conftest.$ac_ext
57921 cat >>conftest.$ac_ext <<_ACEOF
57922 /* end confdefs.h. */
57923 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57924 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57925 #define $ac_func innocuous_$ac_func
57927 /* System header to define __stub macros and hopefully few prototypes,
57928 which can conflict with char $ac_func (); below.
57929 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57930 <limits.h> exists even on freestanding compilers. */
57932 #ifdef __STDC__
57933 # include <limits.h>
57934 #else
57935 # include <assert.h>
57936 #endif
57938 #undef $ac_func
57940 /* Override any gcc2 internal prototype to avoid an error. */
57941 #ifdef __cplusplus
57942 extern "C"
57944 #endif
57945 /* We use char because int might match the return type of a gcc2
57946 builtin and then its argument prototype would still apply. */
57947 char $ac_func ();
57948 /* The GNU C library defines this for functions which it implements
57949 to always fail with ENOSYS. Some functions are actually named
57950 something starting with __ and the normal name is an alias. */
57951 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57952 choke me
57953 #else
57954 char (*f) () = $ac_func;
57955 #endif
57956 #ifdef __cplusplus
57958 #endif
57961 main ()
57963 return f != $ac_func;
57965 return 0;
57967 _ACEOF
57968 rm -f conftest.$ac_objext conftest$ac_exeext
57969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57970 (eval $ac_link) 2>conftest.er1
57971 ac_status=$?
57972 grep -v '^ *+' conftest.er1 >conftest.err
57973 rm -f conftest.er1
57974 cat conftest.err >&5
57975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57976 (exit $ac_status); } &&
57977 { ac_try='test -z "$ac_c_werror_flag"
57978 || test ! -s conftest.err'
57979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57980 (eval $ac_try) 2>&5
57981 ac_status=$?
57982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57983 (exit $ac_status); }; } &&
57984 { ac_try='test -s conftest$ac_exeext'
57985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57986 (eval $ac_try) 2>&5
57987 ac_status=$?
57988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57989 (exit $ac_status); }; }; then
57990 eval "$as_ac_var=yes"
57991 else
57992 echo "$as_me: failed program was:" >&5
57993 sed 's/^/| /' conftest.$ac_ext >&5
57995 eval "$as_ac_var=no"
57997 rm -f conftest.err conftest.$ac_objext \
57998 conftest$ac_exeext conftest.$ac_ext
58000 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58001 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58002 if test `eval echo '${'$as_ac_var'}'` = yes; then
58003 cat >>confdefs.h <<_ACEOF
58004 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58005 _ACEOF
58008 done
58018 echo "$as_me:$LINENO: checking for copysign declaration" >&5
58019 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
58020 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
58021 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
58022 echo $ECHO_N "(cached) $ECHO_C" >&6
58023 else
58027 ac_ext=cc
58028 ac_cpp='$CXXCPP $CPPFLAGS'
58029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58033 cat >conftest.$ac_ext <<_ACEOF
58034 /* confdefs.h. */
58035 _ACEOF
58036 cat confdefs.h >>conftest.$ac_ext
58037 cat >>conftest.$ac_ext <<_ACEOF
58038 /* end confdefs.h. */
58039 #include <math.h>
58041 main ()
58043 copysign(0, 0);
58045 return 0;
58047 _ACEOF
58048 rm -f conftest.$ac_objext
58049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58050 (eval $ac_compile) 2>conftest.er1
58051 ac_status=$?
58052 grep -v '^ *+' conftest.er1 >conftest.err
58053 rm -f conftest.er1
58054 cat conftest.err >&5
58055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58056 (exit $ac_status); } &&
58057 { ac_try='test -z "$ac_cxx_werror_flag"
58058 || test ! -s conftest.err'
58059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58060 (eval $ac_try) 2>&5
58061 ac_status=$?
58062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58063 (exit $ac_status); }; } &&
58064 { ac_try='test -s conftest.$ac_objext'
58065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58066 (eval $ac_try) 2>&5
58067 ac_status=$?
58068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58069 (exit $ac_status); }; }; then
58070 glibcxx_cv_func_copysign_use=yes
58071 else
58072 echo "$as_me: failed program was:" >&5
58073 sed 's/^/| /' conftest.$ac_ext >&5
58075 glibcxx_cv_func_copysign_use=no
58077 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58078 ac_ext=c
58079 ac_cpp='$CPP $CPPFLAGS'
58080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58088 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
58089 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
58091 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
58093 for ac_func in copysign
58095 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58096 echo "$as_me:$LINENO: checking for $ac_func" >&5
58097 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58098 if eval "test \"\${$as_ac_var+set}\" = set"; then
58099 echo $ECHO_N "(cached) $ECHO_C" >&6
58100 else
58101 if test x$gcc_no_link = xyes; then
58102 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58103 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58104 { (exit 1); exit 1; }; }
58106 cat >conftest.$ac_ext <<_ACEOF
58107 /* confdefs.h. */
58108 _ACEOF
58109 cat confdefs.h >>conftest.$ac_ext
58110 cat >>conftest.$ac_ext <<_ACEOF
58111 /* end confdefs.h. */
58112 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58113 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58114 #define $ac_func innocuous_$ac_func
58116 /* System header to define __stub macros and hopefully few prototypes,
58117 which can conflict with char $ac_func (); below.
58118 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58119 <limits.h> exists even on freestanding compilers. */
58121 #ifdef __STDC__
58122 # include <limits.h>
58123 #else
58124 # include <assert.h>
58125 #endif
58127 #undef $ac_func
58129 /* Override any gcc2 internal prototype to avoid an error. */
58130 #ifdef __cplusplus
58131 extern "C"
58133 #endif
58134 /* We use char because int might match the return type of a gcc2
58135 builtin and then its argument prototype would still apply. */
58136 char $ac_func ();
58137 /* The GNU C library defines this for functions which it implements
58138 to always fail with ENOSYS. Some functions are actually named
58139 something starting with __ and the normal name is an alias. */
58140 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58141 choke me
58142 #else
58143 char (*f) () = $ac_func;
58144 #endif
58145 #ifdef __cplusplus
58147 #endif
58150 main ()
58152 return f != $ac_func;
58154 return 0;
58156 _ACEOF
58157 rm -f conftest.$ac_objext conftest$ac_exeext
58158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58159 (eval $ac_link) 2>conftest.er1
58160 ac_status=$?
58161 grep -v '^ *+' conftest.er1 >conftest.err
58162 rm -f conftest.er1
58163 cat conftest.err >&5
58164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58165 (exit $ac_status); } &&
58166 { ac_try='test -z "$ac_c_werror_flag"
58167 || test ! -s conftest.err'
58168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58169 (eval $ac_try) 2>&5
58170 ac_status=$?
58171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58172 (exit $ac_status); }; } &&
58173 { ac_try='test -s conftest$ac_exeext'
58174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58175 (eval $ac_try) 2>&5
58176 ac_status=$?
58177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58178 (exit $ac_status); }; }; then
58179 eval "$as_ac_var=yes"
58180 else
58181 echo "$as_me: failed program was:" >&5
58182 sed 's/^/| /' conftest.$ac_ext >&5
58184 eval "$as_ac_var=no"
58186 rm -f conftest.err conftest.$ac_objext \
58187 conftest$ac_exeext conftest.$ac_ext
58189 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58190 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58191 if test `eval echo '${'$as_ac_var'}'` = yes; then
58192 cat >>confdefs.h <<_ACEOF
58193 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58194 _ACEOF
58197 done
58199 else
58201 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
58202 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
58203 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
58204 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
58205 echo $ECHO_N "(cached) $ECHO_C" >&6
58206 else
58210 ac_ext=cc
58211 ac_cpp='$CXXCPP $CPPFLAGS'
58212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58216 cat >conftest.$ac_ext <<_ACEOF
58217 /* confdefs.h. */
58218 _ACEOF
58219 cat confdefs.h >>conftest.$ac_ext
58220 cat >>conftest.$ac_ext <<_ACEOF
58221 /* end confdefs.h. */
58222 #include <math.h>
58224 main ()
58226 _copysign(0, 0);
58228 return 0;
58230 _ACEOF
58231 rm -f conftest.$ac_objext
58232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58233 (eval $ac_compile) 2>conftest.er1
58234 ac_status=$?
58235 grep -v '^ *+' conftest.er1 >conftest.err
58236 rm -f conftest.er1
58237 cat conftest.err >&5
58238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58239 (exit $ac_status); } &&
58240 { ac_try='test -z "$ac_cxx_werror_flag"
58241 || test ! -s conftest.err'
58242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58243 (eval $ac_try) 2>&5
58244 ac_status=$?
58245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58246 (exit $ac_status); }; } &&
58247 { ac_try='test -s conftest.$ac_objext'
58248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58249 (eval $ac_try) 2>&5
58250 ac_status=$?
58251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58252 (exit $ac_status); }; }; then
58253 glibcxx_cv_func__copysign_use=yes
58254 else
58255 echo "$as_me: failed program was:" >&5
58256 sed 's/^/| /' conftest.$ac_ext >&5
58258 glibcxx_cv_func__copysign_use=no
58260 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58261 ac_ext=c
58262 ac_cpp='$CPP $CPPFLAGS'
58263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58271 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
58272 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
58274 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
58276 for ac_func in _copysign
58278 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58279 echo "$as_me:$LINENO: checking for $ac_func" >&5
58280 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58281 if eval "test \"\${$as_ac_var+set}\" = set"; then
58282 echo $ECHO_N "(cached) $ECHO_C" >&6
58283 else
58284 if test x$gcc_no_link = xyes; then
58285 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58286 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58287 { (exit 1); exit 1; }; }
58289 cat >conftest.$ac_ext <<_ACEOF
58290 /* confdefs.h. */
58291 _ACEOF
58292 cat confdefs.h >>conftest.$ac_ext
58293 cat >>conftest.$ac_ext <<_ACEOF
58294 /* end confdefs.h. */
58295 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58296 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58297 #define $ac_func innocuous_$ac_func
58299 /* System header to define __stub macros and hopefully few prototypes,
58300 which can conflict with char $ac_func (); below.
58301 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58302 <limits.h> exists even on freestanding compilers. */
58304 #ifdef __STDC__
58305 # include <limits.h>
58306 #else
58307 # include <assert.h>
58308 #endif
58310 #undef $ac_func
58312 /* Override any gcc2 internal prototype to avoid an error. */
58313 #ifdef __cplusplus
58314 extern "C"
58316 #endif
58317 /* We use char because int might match the return type of a gcc2
58318 builtin and then its argument prototype would still apply. */
58319 char $ac_func ();
58320 /* The GNU C library defines this for functions which it implements
58321 to always fail with ENOSYS. Some functions are actually named
58322 something starting with __ and the normal name is an alias. */
58323 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58324 choke me
58325 #else
58326 char (*f) () = $ac_func;
58327 #endif
58328 #ifdef __cplusplus
58330 #endif
58333 main ()
58335 return f != $ac_func;
58337 return 0;
58339 _ACEOF
58340 rm -f conftest.$ac_objext conftest$ac_exeext
58341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58342 (eval $ac_link) 2>conftest.er1
58343 ac_status=$?
58344 grep -v '^ *+' conftest.er1 >conftest.err
58345 rm -f conftest.er1
58346 cat conftest.err >&5
58347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58348 (exit $ac_status); } &&
58349 { ac_try='test -z "$ac_c_werror_flag"
58350 || test ! -s conftest.err'
58351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58352 (eval $ac_try) 2>&5
58353 ac_status=$?
58354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58355 (exit $ac_status); }; } &&
58356 { ac_try='test -s conftest$ac_exeext'
58357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58358 (eval $ac_try) 2>&5
58359 ac_status=$?
58360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58361 (exit $ac_status); }; }; then
58362 eval "$as_ac_var=yes"
58363 else
58364 echo "$as_me: failed program was:" >&5
58365 sed 's/^/| /' conftest.$ac_ext >&5
58367 eval "$as_ac_var=no"
58369 rm -f conftest.err conftest.$ac_objext \
58370 conftest$ac_exeext conftest.$ac_ext
58372 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58373 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58374 if test `eval echo '${'$as_ac_var'}'` = yes; then
58375 cat >>confdefs.h <<_ACEOF
58376 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58377 _ACEOF
58380 done
58390 echo "$as_me:$LINENO: checking for sincos declaration" >&5
58391 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
58392 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
58393 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
58394 echo $ECHO_N "(cached) $ECHO_C" >&6
58395 else
58399 ac_ext=cc
58400 ac_cpp='$CXXCPP $CPPFLAGS'
58401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58405 cat >conftest.$ac_ext <<_ACEOF
58406 /* confdefs.h. */
58407 _ACEOF
58408 cat confdefs.h >>conftest.$ac_ext
58409 cat >>conftest.$ac_ext <<_ACEOF
58410 /* end confdefs.h. */
58411 #include <math.h>
58413 main ()
58415 sincos(0, 0, 0);
58417 return 0;
58419 _ACEOF
58420 rm -f conftest.$ac_objext
58421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58422 (eval $ac_compile) 2>conftest.er1
58423 ac_status=$?
58424 grep -v '^ *+' conftest.er1 >conftest.err
58425 rm -f conftest.er1
58426 cat conftest.err >&5
58427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58428 (exit $ac_status); } &&
58429 { ac_try='test -z "$ac_cxx_werror_flag"
58430 || test ! -s conftest.err'
58431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58432 (eval $ac_try) 2>&5
58433 ac_status=$?
58434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58435 (exit $ac_status); }; } &&
58436 { ac_try='test -s conftest.$ac_objext'
58437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58438 (eval $ac_try) 2>&5
58439 ac_status=$?
58440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58441 (exit $ac_status); }; }; then
58442 glibcxx_cv_func_sincos_use=yes
58443 else
58444 echo "$as_me: failed program was:" >&5
58445 sed 's/^/| /' conftest.$ac_ext >&5
58447 glibcxx_cv_func_sincos_use=no
58449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58450 ac_ext=c
58451 ac_cpp='$CPP $CPPFLAGS'
58452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58460 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
58461 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
58463 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
58465 for ac_func in sincos
58467 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58468 echo "$as_me:$LINENO: checking for $ac_func" >&5
58469 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58470 if eval "test \"\${$as_ac_var+set}\" = set"; then
58471 echo $ECHO_N "(cached) $ECHO_C" >&6
58472 else
58473 if test x$gcc_no_link = xyes; then
58474 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58475 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58476 { (exit 1); exit 1; }; }
58478 cat >conftest.$ac_ext <<_ACEOF
58479 /* confdefs.h. */
58480 _ACEOF
58481 cat confdefs.h >>conftest.$ac_ext
58482 cat >>conftest.$ac_ext <<_ACEOF
58483 /* end confdefs.h. */
58484 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58485 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58486 #define $ac_func innocuous_$ac_func
58488 /* System header to define __stub macros and hopefully few prototypes,
58489 which can conflict with char $ac_func (); below.
58490 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58491 <limits.h> exists even on freestanding compilers. */
58493 #ifdef __STDC__
58494 # include <limits.h>
58495 #else
58496 # include <assert.h>
58497 #endif
58499 #undef $ac_func
58501 /* Override any gcc2 internal prototype to avoid an error. */
58502 #ifdef __cplusplus
58503 extern "C"
58505 #endif
58506 /* We use char because int might match the return type of a gcc2
58507 builtin and then its argument prototype would still apply. */
58508 char $ac_func ();
58509 /* The GNU C library defines this for functions which it implements
58510 to always fail with ENOSYS. Some functions are actually named
58511 something starting with __ and the normal name is an alias. */
58512 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58513 choke me
58514 #else
58515 char (*f) () = $ac_func;
58516 #endif
58517 #ifdef __cplusplus
58519 #endif
58522 main ()
58524 return f != $ac_func;
58526 return 0;
58528 _ACEOF
58529 rm -f conftest.$ac_objext conftest$ac_exeext
58530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58531 (eval $ac_link) 2>conftest.er1
58532 ac_status=$?
58533 grep -v '^ *+' conftest.er1 >conftest.err
58534 rm -f conftest.er1
58535 cat conftest.err >&5
58536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58537 (exit $ac_status); } &&
58538 { ac_try='test -z "$ac_c_werror_flag"
58539 || test ! -s conftest.err'
58540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58541 (eval $ac_try) 2>&5
58542 ac_status=$?
58543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58544 (exit $ac_status); }; } &&
58545 { ac_try='test -s conftest$ac_exeext'
58546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58547 (eval $ac_try) 2>&5
58548 ac_status=$?
58549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58550 (exit $ac_status); }; }; then
58551 eval "$as_ac_var=yes"
58552 else
58553 echo "$as_me: failed program was:" >&5
58554 sed 's/^/| /' conftest.$ac_ext >&5
58556 eval "$as_ac_var=no"
58558 rm -f conftest.err conftest.$ac_objext \
58559 conftest$ac_exeext conftest.$ac_ext
58561 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58562 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58563 if test `eval echo '${'$as_ac_var'}'` = yes; then
58564 cat >>confdefs.h <<_ACEOF
58565 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58566 _ACEOF
58569 done
58571 else
58573 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
58574 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
58575 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
58576 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
58577 echo $ECHO_N "(cached) $ECHO_C" >&6
58578 else
58582 ac_ext=cc
58583 ac_cpp='$CXXCPP $CPPFLAGS'
58584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58588 cat >conftest.$ac_ext <<_ACEOF
58589 /* confdefs.h. */
58590 _ACEOF
58591 cat confdefs.h >>conftest.$ac_ext
58592 cat >>conftest.$ac_ext <<_ACEOF
58593 /* end confdefs.h. */
58594 #include <math.h>
58596 main ()
58598 _sincos(0, 0, 0);
58600 return 0;
58602 _ACEOF
58603 rm -f conftest.$ac_objext
58604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58605 (eval $ac_compile) 2>conftest.er1
58606 ac_status=$?
58607 grep -v '^ *+' conftest.er1 >conftest.err
58608 rm -f conftest.er1
58609 cat conftest.err >&5
58610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58611 (exit $ac_status); } &&
58612 { ac_try='test -z "$ac_cxx_werror_flag"
58613 || test ! -s conftest.err'
58614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58615 (eval $ac_try) 2>&5
58616 ac_status=$?
58617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58618 (exit $ac_status); }; } &&
58619 { ac_try='test -s conftest.$ac_objext'
58620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58621 (eval $ac_try) 2>&5
58622 ac_status=$?
58623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58624 (exit $ac_status); }; }; then
58625 glibcxx_cv_func__sincos_use=yes
58626 else
58627 echo "$as_me: failed program was:" >&5
58628 sed 's/^/| /' conftest.$ac_ext >&5
58630 glibcxx_cv_func__sincos_use=no
58632 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58633 ac_ext=c
58634 ac_cpp='$CPP $CPPFLAGS'
58635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58643 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
58644 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
58646 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
58648 for ac_func in _sincos
58650 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58651 echo "$as_me:$LINENO: checking for $ac_func" >&5
58652 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58653 if eval "test \"\${$as_ac_var+set}\" = set"; then
58654 echo $ECHO_N "(cached) $ECHO_C" >&6
58655 else
58656 if test x$gcc_no_link = xyes; then
58657 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58658 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58659 { (exit 1); exit 1; }; }
58661 cat >conftest.$ac_ext <<_ACEOF
58662 /* confdefs.h. */
58663 _ACEOF
58664 cat confdefs.h >>conftest.$ac_ext
58665 cat >>conftest.$ac_ext <<_ACEOF
58666 /* end confdefs.h. */
58667 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58668 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58669 #define $ac_func innocuous_$ac_func
58671 /* System header to define __stub macros and hopefully few prototypes,
58672 which can conflict with char $ac_func (); below.
58673 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58674 <limits.h> exists even on freestanding compilers. */
58676 #ifdef __STDC__
58677 # include <limits.h>
58678 #else
58679 # include <assert.h>
58680 #endif
58682 #undef $ac_func
58684 /* Override any gcc2 internal prototype to avoid an error. */
58685 #ifdef __cplusplus
58686 extern "C"
58688 #endif
58689 /* We use char because int might match the return type of a gcc2
58690 builtin and then its argument prototype would still apply. */
58691 char $ac_func ();
58692 /* The GNU C library defines this for functions which it implements
58693 to always fail with ENOSYS. Some functions are actually named
58694 something starting with __ and the normal name is an alias. */
58695 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58696 choke me
58697 #else
58698 char (*f) () = $ac_func;
58699 #endif
58700 #ifdef __cplusplus
58702 #endif
58705 main ()
58707 return f != $ac_func;
58709 return 0;
58711 _ACEOF
58712 rm -f conftest.$ac_objext conftest$ac_exeext
58713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58714 (eval $ac_link) 2>conftest.er1
58715 ac_status=$?
58716 grep -v '^ *+' conftest.er1 >conftest.err
58717 rm -f conftest.er1
58718 cat conftest.err >&5
58719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58720 (exit $ac_status); } &&
58721 { ac_try='test -z "$ac_c_werror_flag"
58722 || test ! -s conftest.err'
58723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58724 (eval $ac_try) 2>&5
58725 ac_status=$?
58726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58727 (exit $ac_status); }; } &&
58728 { ac_try='test -s conftest$ac_exeext'
58729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58730 (eval $ac_try) 2>&5
58731 ac_status=$?
58732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58733 (exit $ac_status); }; }; then
58734 eval "$as_ac_var=yes"
58735 else
58736 echo "$as_me: failed program was:" >&5
58737 sed 's/^/| /' conftest.$ac_ext >&5
58739 eval "$as_ac_var=no"
58741 rm -f conftest.err conftest.$ac_objext \
58742 conftest$ac_exeext conftest.$ac_ext
58744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58745 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58746 if test `eval echo '${'$as_ac_var'}'` = yes; then
58747 cat >>confdefs.h <<_ACEOF
58748 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58749 _ACEOF
58752 done
58762 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
58763 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
58764 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
58765 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
58766 echo $ECHO_N "(cached) $ECHO_C" >&6
58767 else
58771 ac_ext=cc
58772 ac_cpp='$CXXCPP $CPPFLAGS'
58773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58777 cat >conftest.$ac_ext <<_ACEOF
58778 /* confdefs.h. */
58779 _ACEOF
58780 cat confdefs.h >>conftest.$ac_ext
58781 cat >>conftest.$ac_ext <<_ACEOF
58782 /* end confdefs.h. */
58783 #include <math.h>
58784 #ifdef HAVE_IEEEFP_H
58785 #include <ieeefp.h>
58786 #endif
58789 main ()
58791 fpclass(0);
58793 return 0;
58795 _ACEOF
58796 rm -f conftest.$ac_objext
58797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58798 (eval $ac_compile) 2>conftest.er1
58799 ac_status=$?
58800 grep -v '^ *+' conftest.er1 >conftest.err
58801 rm -f conftest.er1
58802 cat conftest.err >&5
58803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58804 (exit $ac_status); } &&
58805 { ac_try='test -z "$ac_cxx_werror_flag"
58806 || test ! -s conftest.err'
58807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58808 (eval $ac_try) 2>&5
58809 ac_status=$?
58810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58811 (exit $ac_status); }; } &&
58812 { ac_try='test -s conftest.$ac_objext'
58813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58814 (eval $ac_try) 2>&5
58815 ac_status=$?
58816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58817 (exit $ac_status); }; }; then
58818 glibcxx_cv_func_fpclass_use=yes
58819 else
58820 echo "$as_me: failed program was:" >&5
58821 sed 's/^/| /' conftest.$ac_ext >&5
58823 glibcxx_cv_func_fpclass_use=no
58825 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58826 ac_ext=c
58827 ac_cpp='$CPP $CPPFLAGS'
58828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58836 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
58837 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
58839 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
58841 for ac_func in fpclass
58843 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58844 echo "$as_me:$LINENO: checking for $ac_func" >&5
58845 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58846 if eval "test \"\${$as_ac_var+set}\" = set"; then
58847 echo $ECHO_N "(cached) $ECHO_C" >&6
58848 else
58849 if test x$gcc_no_link = xyes; then
58850 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58851 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58852 { (exit 1); exit 1; }; }
58854 cat >conftest.$ac_ext <<_ACEOF
58855 /* confdefs.h. */
58856 _ACEOF
58857 cat confdefs.h >>conftest.$ac_ext
58858 cat >>conftest.$ac_ext <<_ACEOF
58859 /* end confdefs.h. */
58860 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58861 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58862 #define $ac_func innocuous_$ac_func
58864 /* System header to define __stub macros and hopefully few prototypes,
58865 which can conflict with char $ac_func (); below.
58866 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58867 <limits.h> exists even on freestanding compilers. */
58869 #ifdef __STDC__
58870 # include <limits.h>
58871 #else
58872 # include <assert.h>
58873 #endif
58875 #undef $ac_func
58877 /* Override any gcc2 internal prototype to avoid an error. */
58878 #ifdef __cplusplus
58879 extern "C"
58881 #endif
58882 /* We use char because int might match the return type of a gcc2
58883 builtin and then its argument prototype would still apply. */
58884 char $ac_func ();
58885 /* The GNU C library defines this for functions which it implements
58886 to always fail with ENOSYS. Some functions are actually named
58887 something starting with __ and the normal name is an alias. */
58888 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58889 choke me
58890 #else
58891 char (*f) () = $ac_func;
58892 #endif
58893 #ifdef __cplusplus
58895 #endif
58898 main ()
58900 return f != $ac_func;
58902 return 0;
58904 _ACEOF
58905 rm -f conftest.$ac_objext conftest$ac_exeext
58906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58907 (eval $ac_link) 2>conftest.er1
58908 ac_status=$?
58909 grep -v '^ *+' conftest.er1 >conftest.err
58910 rm -f conftest.er1
58911 cat conftest.err >&5
58912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58913 (exit $ac_status); } &&
58914 { ac_try='test -z "$ac_c_werror_flag"
58915 || test ! -s conftest.err'
58916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58917 (eval $ac_try) 2>&5
58918 ac_status=$?
58919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58920 (exit $ac_status); }; } &&
58921 { ac_try='test -s conftest$ac_exeext'
58922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58923 (eval $ac_try) 2>&5
58924 ac_status=$?
58925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58926 (exit $ac_status); }; }; then
58927 eval "$as_ac_var=yes"
58928 else
58929 echo "$as_me: failed program was:" >&5
58930 sed 's/^/| /' conftest.$ac_ext >&5
58932 eval "$as_ac_var=no"
58934 rm -f conftest.err conftest.$ac_objext \
58935 conftest$ac_exeext conftest.$ac_ext
58937 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58938 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58939 if test `eval echo '${'$as_ac_var'}'` = yes; then
58940 cat >>confdefs.h <<_ACEOF
58941 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58942 _ACEOF
58945 done
58947 else
58949 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
58950 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
58951 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
58952 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
58953 echo $ECHO_N "(cached) $ECHO_C" >&6
58954 else
58958 ac_ext=cc
58959 ac_cpp='$CXXCPP $CPPFLAGS'
58960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58964 cat >conftest.$ac_ext <<_ACEOF
58965 /* confdefs.h. */
58966 _ACEOF
58967 cat confdefs.h >>conftest.$ac_ext
58968 cat >>conftest.$ac_ext <<_ACEOF
58969 /* end confdefs.h. */
58970 #include <math.h>
58971 #ifdef HAVE_IEEEFP_H
58972 #include <ieeefp.h>
58973 #endif
58976 main ()
58978 _fpclass(0);
58980 return 0;
58982 _ACEOF
58983 rm -f conftest.$ac_objext
58984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58985 (eval $ac_compile) 2>conftest.er1
58986 ac_status=$?
58987 grep -v '^ *+' conftest.er1 >conftest.err
58988 rm -f conftest.er1
58989 cat conftest.err >&5
58990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58991 (exit $ac_status); } &&
58992 { ac_try='test -z "$ac_cxx_werror_flag"
58993 || test ! -s conftest.err'
58994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58995 (eval $ac_try) 2>&5
58996 ac_status=$?
58997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58998 (exit $ac_status); }; } &&
58999 { ac_try='test -s conftest.$ac_objext'
59000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59001 (eval $ac_try) 2>&5
59002 ac_status=$?
59003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59004 (exit $ac_status); }; }; then
59005 glibcxx_cv_func__fpclass_use=yes
59006 else
59007 echo "$as_me: failed program was:" >&5
59008 sed 's/^/| /' conftest.$ac_ext >&5
59010 glibcxx_cv_func__fpclass_use=no
59012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59013 ac_ext=c
59014 ac_cpp='$CPP $CPPFLAGS'
59015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59023 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
59024 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
59026 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
59028 for ac_func in _fpclass
59030 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59031 echo "$as_me:$LINENO: checking for $ac_func" >&5
59032 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59033 if eval "test \"\${$as_ac_var+set}\" = set"; then
59034 echo $ECHO_N "(cached) $ECHO_C" >&6
59035 else
59036 if test x$gcc_no_link = xyes; then
59037 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59038 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59039 { (exit 1); exit 1; }; }
59041 cat >conftest.$ac_ext <<_ACEOF
59042 /* confdefs.h. */
59043 _ACEOF
59044 cat confdefs.h >>conftest.$ac_ext
59045 cat >>conftest.$ac_ext <<_ACEOF
59046 /* end confdefs.h. */
59047 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59048 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59049 #define $ac_func innocuous_$ac_func
59051 /* System header to define __stub macros and hopefully few prototypes,
59052 which can conflict with char $ac_func (); below.
59053 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59054 <limits.h> exists even on freestanding compilers. */
59056 #ifdef __STDC__
59057 # include <limits.h>
59058 #else
59059 # include <assert.h>
59060 #endif
59062 #undef $ac_func
59064 /* Override any gcc2 internal prototype to avoid an error. */
59065 #ifdef __cplusplus
59066 extern "C"
59068 #endif
59069 /* We use char because int might match the return type of a gcc2
59070 builtin and then its argument prototype would still apply. */
59071 char $ac_func ();
59072 /* The GNU C library defines this for functions which it implements
59073 to always fail with ENOSYS. Some functions are actually named
59074 something starting with __ and the normal name is an alias. */
59075 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59076 choke me
59077 #else
59078 char (*f) () = $ac_func;
59079 #endif
59080 #ifdef __cplusplus
59082 #endif
59085 main ()
59087 return f != $ac_func;
59089 return 0;
59091 _ACEOF
59092 rm -f conftest.$ac_objext conftest$ac_exeext
59093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59094 (eval $ac_link) 2>conftest.er1
59095 ac_status=$?
59096 grep -v '^ *+' conftest.er1 >conftest.err
59097 rm -f conftest.er1
59098 cat conftest.err >&5
59099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59100 (exit $ac_status); } &&
59101 { ac_try='test -z "$ac_c_werror_flag"
59102 || test ! -s conftest.err'
59103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59104 (eval $ac_try) 2>&5
59105 ac_status=$?
59106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59107 (exit $ac_status); }; } &&
59108 { ac_try='test -s conftest$ac_exeext'
59109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59110 (eval $ac_try) 2>&5
59111 ac_status=$?
59112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59113 (exit $ac_status); }; }; then
59114 eval "$as_ac_var=yes"
59115 else
59116 echo "$as_me: failed program was:" >&5
59117 sed 's/^/| /' conftest.$ac_ext >&5
59119 eval "$as_ac_var=no"
59121 rm -f conftest.err conftest.$ac_objext \
59122 conftest$ac_exeext conftest.$ac_ext
59124 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59125 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59126 if test `eval echo '${'$as_ac_var'}'` = yes; then
59127 cat >>confdefs.h <<_ACEOF
59128 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59129 _ACEOF
59132 done
59142 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
59143 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
59144 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
59145 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
59146 echo $ECHO_N "(cached) $ECHO_C" >&6
59147 else
59151 ac_ext=cc
59152 ac_cpp='$CXXCPP $CPPFLAGS'
59153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59157 cat >conftest.$ac_ext <<_ACEOF
59158 /* confdefs.h. */
59159 _ACEOF
59160 cat confdefs.h >>conftest.$ac_ext
59161 cat >>conftest.$ac_ext <<_ACEOF
59162 /* end confdefs.h. */
59163 #include <math.h>
59164 #ifdef HAVE_IEEEFP_H
59165 #include <ieeefp.h>
59166 #endif
59169 main ()
59171 qfpclass(0);
59173 return 0;
59175 _ACEOF
59176 rm -f conftest.$ac_objext
59177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59178 (eval $ac_compile) 2>conftest.er1
59179 ac_status=$?
59180 grep -v '^ *+' conftest.er1 >conftest.err
59181 rm -f conftest.er1
59182 cat conftest.err >&5
59183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59184 (exit $ac_status); } &&
59185 { ac_try='test -z "$ac_cxx_werror_flag"
59186 || test ! -s conftest.err'
59187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59188 (eval $ac_try) 2>&5
59189 ac_status=$?
59190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59191 (exit $ac_status); }; } &&
59192 { ac_try='test -s conftest.$ac_objext'
59193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59194 (eval $ac_try) 2>&5
59195 ac_status=$?
59196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59197 (exit $ac_status); }; }; then
59198 glibcxx_cv_func_qfpclass_use=yes
59199 else
59200 echo "$as_me: failed program was:" >&5
59201 sed 's/^/| /' conftest.$ac_ext >&5
59203 glibcxx_cv_func_qfpclass_use=no
59205 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59206 ac_ext=c
59207 ac_cpp='$CPP $CPPFLAGS'
59208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59216 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
59217 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
59219 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
59221 for ac_func in qfpclass
59223 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59224 echo "$as_me:$LINENO: checking for $ac_func" >&5
59225 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59226 if eval "test \"\${$as_ac_var+set}\" = set"; then
59227 echo $ECHO_N "(cached) $ECHO_C" >&6
59228 else
59229 if test x$gcc_no_link = xyes; then
59230 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59231 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59232 { (exit 1); exit 1; }; }
59234 cat >conftest.$ac_ext <<_ACEOF
59235 /* confdefs.h. */
59236 _ACEOF
59237 cat confdefs.h >>conftest.$ac_ext
59238 cat >>conftest.$ac_ext <<_ACEOF
59239 /* end confdefs.h. */
59240 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59241 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59242 #define $ac_func innocuous_$ac_func
59244 /* System header to define __stub macros and hopefully few prototypes,
59245 which can conflict with char $ac_func (); below.
59246 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59247 <limits.h> exists even on freestanding compilers. */
59249 #ifdef __STDC__
59250 # include <limits.h>
59251 #else
59252 # include <assert.h>
59253 #endif
59255 #undef $ac_func
59257 /* Override any gcc2 internal prototype to avoid an error. */
59258 #ifdef __cplusplus
59259 extern "C"
59261 #endif
59262 /* We use char because int might match the return type of a gcc2
59263 builtin and then its argument prototype would still apply. */
59264 char $ac_func ();
59265 /* The GNU C library defines this for functions which it implements
59266 to always fail with ENOSYS. Some functions are actually named
59267 something starting with __ and the normal name is an alias. */
59268 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59269 choke me
59270 #else
59271 char (*f) () = $ac_func;
59272 #endif
59273 #ifdef __cplusplus
59275 #endif
59278 main ()
59280 return f != $ac_func;
59282 return 0;
59284 _ACEOF
59285 rm -f conftest.$ac_objext conftest$ac_exeext
59286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59287 (eval $ac_link) 2>conftest.er1
59288 ac_status=$?
59289 grep -v '^ *+' conftest.er1 >conftest.err
59290 rm -f conftest.er1
59291 cat conftest.err >&5
59292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59293 (exit $ac_status); } &&
59294 { ac_try='test -z "$ac_c_werror_flag"
59295 || test ! -s conftest.err'
59296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59297 (eval $ac_try) 2>&5
59298 ac_status=$?
59299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59300 (exit $ac_status); }; } &&
59301 { ac_try='test -s conftest$ac_exeext'
59302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59303 (eval $ac_try) 2>&5
59304 ac_status=$?
59305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59306 (exit $ac_status); }; }; then
59307 eval "$as_ac_var=yes"
59308 else
59309 echo "$as_me: failed program was:" >&5
59310 sed 's/^/| /' conftest.$ac_ext >&5
59312 eval "$as_ac_var=no"
59314 rm -f conftest.err conftest.$ac_objext \
59315 conftest$ac_exeext conftest.$ac_ext
59317 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59318 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59319 if test `eval echo '${'$as_ac_var'}'` = yes; then
59320 cat >>confdefs.h <<_ACEOF
59321 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59322 _ACEOF
59325 done
59327 else
59329 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
59330 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
59331 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
59332 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
59333 echo $ECHO_N "(cached) $ECHO_C" >&6
59334 else
59338 ac_ext=cc
59339 ac_cpp='$CXXCPP $CPPFLAGS'
59340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59344 cat >conftest.$ac_ext <<_ACEOF
59345 /* confdefs.h. */
59346 _ACEOF
59347 cat confdefs.h >>conftest.$ac_ext
59348 cat >>conftest.$ac_ext <<_ACEOF
59349 /* end confdefs.h. */
59350 #include <math.h>
59351 #ifdef HAVE_IEEEFP_H
59352 #include <ieeefp.h>
59353 #endif
59356 main ()
59358 _qfpclass(0);
59360 return 0;
59362 _ACEOF
59363 rm -f conftest.$ac_objext
59364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59365 (eval $ac_compile) 2>conftest.er1
59366 ac_status=$?
59367 grep -v '^ *+' conftest.er1 >conftest.err
59368 rm -f conftest.er1
59369 cat conftest.err >&5
59370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59371 (exit $ac_status); } &&
59372 { ac_try='test -z "$ac_cxx_werror_flag"
59373 || test ! -s conftest.err'
59374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59375 (eval $ac_try) 2>&5
59376 ac_status=$?
59377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59378 (exit $ac_status); }; } &&
59379 { ac_try='test -s conftest.$ac_objext'
59380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59381 (eval $ac_try) 2>&5
59382 ac_status=$?
59383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59384 (exit $ac_status); }; }; then
59385 glibcxx_cv_func__qfpclass_use=yes
59386 else
59387 echo "$as_me: failed program was:" >&5
59388 sed 's/^/| /' conftest.$ac_ext >&5
59390 glibcxx_cv_func__qfpclass_use=no
59392 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59393 ac_ext=c
59394 ac_cpp='$CPP $CPPFLAGS'
59395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59403 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
59404 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
59406 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
59408 for ac_func in _qfpclass
59410 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59411 echo "$as_me:$LINENO: checking for $ac_func" >&5
59412 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59413 if eval "test \"\${$as_ac_var+set}\" = set"; then
59414 echo $ECHO_N "(cached) $ECHO_C" >&6
59415 else
59416 if test x$gcc_no_link = xyes; then
59417 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59418 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59419 { (exit 1); exit 1; }; }
59421 cat >conftest.$ac_ext <<_ACEOF
59422 /* confdefs.h. */
59423 _ACEOF
59424 cat confdefs.h >>conftest.$ac_ext
59425 cat >>conftest.$ac_ext <<_ACEOF
59426 /* end confdefs.h. */
59427 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59428 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59429 #define $ac_func innocuous_$ac_func
59431 /* System header to define __stub macros and hopefully few prototypes,
59432 which can conflict with char $ac_func (); below.
59433 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59434 <limits.h> exists even on freestanding compilers. */
59436 #ifdef __STDC__
59437 # include <limits.h>
59438 #else
59439 # include <assert.h>
59440 #endif
59442 #undef $ac_func
59444 /* Override any gcc2 internal prototype to avoid an error. */
59445 #ifdef __cplusplus
59446 extern "C"
59448 #endif
59449 /* We use char because int might match the return type of a gcc2
59450 builtin and then its argument prototype would still apply. */
59451 char $ac_func ();
59452 /* The GNU C library defines this for functions which it implements
59453 to always fail with ENOSYS. Some functions are actually named
59454 something starting with __ and the normal name is an alias. */
59455 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59456 choke me
59457 #else
59458 char (*f) () = $ac_func;
59459 #endif
59460 #ifdef __cplusplus
59462 #endif
59465 main ()
59467 return f != $ac_func;
59469 return 0;
59471 _ACEOF
59472 rm -f conftest.$ac_objext conftest$ac_exeext
59473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59474 (eval $ac_link) 2>conftest.er1
59475 ac_status=$?
59476 grep -v '^ *+' conftest.er1 >conftest.err
59477 rm -f conftest.er1
59478 cat conftest.err >&5
59479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59480 (exit $ac_status); } &&
59481 { ac_try='test -z "$ac_c_werror_flag"
59482 || test ! -s conftest.err'
59483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59484 (eval $ac_try) 2>&5
59485 ac_status=$?
59486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59487 (exit $ac_status); }; } &&
59488 { ac_try='test -s conftest$ac_exeext'
59489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59490 (eval $ac_try) 2>&5
59491 ac_status=$?
59492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59493 (exit $ac_status); }; }; then
59494 eval "$as_ac_var=yes"
59495 else
59496 echo "$as_me: failed program was:" >&5
59497 sed 's/^/| /' conftest.$ac_ext >&5
59499 eval "$as_ac_var=no"
59501 rm -f conftest.err conftest.$ac_objext \
59502 conftest$ac_exeext conftest.$ac_ext
59504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59505 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59506 if test `eval echo '${'$as_ac_var'}'` = yes; then
59507 cat >>confdefs.h <<_ACEOF
59508 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59509 _ACEOF
59512 done
59522 echo "$as_me:$LINENO: checking for hypot declaration" >&5
59523 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
59524 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
59525 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
59526 echo $ECHO_N "(cached) $ECHO_C" >&6
59527 else
59531 ac_ext=cc
59532 ac_cpp='$CXXCPP $CPPFLAGS'
59533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59537 cat >conftest.$ac_ext <<_ACEOF
59538 /* confdefs.h. */
59539 _ACEOF
59540 cat confdefs.h >>conftest.$ac_ext
59541 cat >>conftest.$ac_ext <<_ACEOF
59542 /* end confdefs.h. */
59543 #include <math.h>
59545 main ()
59547 hypot(0, 0);
59549 return 0;
59551 _ACEOF
59552 rm -f conftest.$ac_objext
59553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59554 (eval $ac_compile) 2>conftest.er1
59555 ac_status=$?
59556 grep -v '^ *+' conftest.er1 >conftest.err
59557 rm -f conftest.er1
59558 cat conftest.err >&5
59559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59560 (exit $ac_status); } &&
59561 { ac_try='test -z "$ac_cxx_werror_flag"
59562 || test ! -s conftest.err'
59563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59564 (eval $ac_try) 2>&5
59565 ac_status=$?
59566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59567 (exit $ac_status); }; } &&
59568 { ac_try='test -s conftest.$ac_objext'
59569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59570 (eval $ac_try) 2>&5
59571 ac_status=$?
59572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59573 (exit $ac_status); }; }; then
59574 glibcxx_cv_func_hypot_use=yes
59575 else
59576 echo "$as_me: failed program was:" >&5
59577 sed 's/^/| /' conftest.$ac_ext >&5
59579 glibcxx_cv_func_hypot_use=no
59581 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59582 ac_ext=c
59583 ac_cpp='$CPP $CPPFLAGS'
59584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59592 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
59593 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
59595 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
59597 for ac_func in hypot
59599 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59600 echo "$as_me:$LINENO: checking for $ac_func" >&5
59601 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59602 if eval "test \"\${$as_ac_var+set}\" = set"; then
59603 echo $ECHO_N "(cached) $ECHO_C" >&6
59604 else
59605 if test x$gcc_no_link = xyes; then
59606 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59607 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59608 { (exit 1); exit 1; }; }
59610 cat >conftest.$ac_ext <<_ACEOF
59611 /* confdefs.h. */
59612 _ACEOF
59613 cat confdefs.h >>conftest.$ac_ext
59614 cat >>conftest.$ac_ext <<_ACEOF
59615 /* end confdefs.h. */
59616 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59617 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59618 #define $ac_func innocuous_$ac_func
59620 /* System header to define __stub macros and hopefully few prototypes,
59621 which can conflict with char $ac_func (); below.
59622 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59623 <limits.h> exists even on freestanding compilers. */
59625 #ifdef __STDC__
59626 # include <limits.h>
59627 #else
59628 # include <assert.h>
59629 #endif
59631 #undef $ac_func
59633 /* Override any gcc2 internal prototype to avoid an error. */
59634 #ifdef __cplusplus
59635 extern "C"
59637 #endif
59638 /* We use char because int might match the return type of a gcc2
59639 builtin and then its argument prototype would still apply. */
59640 char $ac_func ();
59641 /* The GNU C library defines this for functions which it implements
59642 to always fail with ENOSYS. Some functions are actually named
59643 something starting with __ and the normal name is an alias. */
59644 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59645 choke me
59646 #else
59647 char (*f) () = $ac_func;
59648 #endif
59649 #ifdef __cplusplus
59651 #endif
59654 main ()
59656 return f != $ac_func;
59658 return 0;
59660 _ACEOF
59661 rm -f conftest.$ac_objext conftest$ac_exeext
59662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59663 (eval $ac_link) 2>conftest.er1
59664 ac_status=$?
59665 grep -v '^ *+' conftest.er1 >conftest.err
59666 rm -f conftest.er1
59667 cat conftest.err >&5
59668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59669 (exit $ac_status); } &&
59670 { ac_try='test -z "$ac_c_werror_flag"
59671 || test ! -s conftest.err'
59672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59673 (eval $ac_try) 2>&5
59674 ac_status=$?
59675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59676 (exit $ac_status); }; } &&
59677 { ac_try='test -s conftest$ac_exeext'
59678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59679 (eval $ac_try) 2>&5
59680 ac_status=$?
59681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59682 (exit $ac_status); }; }; then
59683 eval "$as_ac_var=yes"
59684 else
59685 echo "$as_me: failed program was:" >&5
59686 sed 's/^/| /' conftest.$ac_ext >&5
59688 eval "$as_ac_var=no"
59690 rm -f conftest.err conftest.$ac_objext \
59691 conftest$ac_exeext conftest.$ac_ext
59693 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59694 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59695 if test `eval echo '${'$as_ac_var'}'` = yes; then
59696 cat >>confdefs.h <<_ACEOF
59697 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59698 _ACEOF
59701 done
59703 else
59705 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
59706 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
59707 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
59708 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
59709 echo $ECHO_N "(cached) $ECHO_C" >&6
59710 else
59714 ac_ext=cc
59715 ac_cpp='$CXXCPP $CPPFLAGS'
59716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59720 cat >conftest.$ac_ext <<_ACEOF
59721 /* confdefs.h. */
59722 _ACEOF
59723 cat confdefs.h >>conftest.$ac_ext
59724 cat >>conftest.$ac_ext <<_ACEOF
59725 /* end confdefs.h. */
59726 #include <math.h>
59728 main ()
59730 _hypot(0, 0);
59732 return 0;
59734 _ACEOF
59735 rm -f conftest.$ac_objext
59736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59737 (eval $ac_compile) 2>conftest.er1
59738 ac_status=$?
59739 grep -v '^ *+' conftest.er1 >conftest.err
59740 rm -f conftest.er1
59741 cat conftest.err >&5
59742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59743 (exit $ac_status); } &&
59744 { ac_try='test -z "$ac_cxx_werror_flag"
59745 || test ! -s conftest.err'
59746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59747 (eval $ac_try) 2>&5
59748 ac_status=$?
59749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59750 (exit $ac_status); }; } &&
59751 { ac_try='test -s conftest.$ac_objext'
59752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59753 (eval $ac_try) 2>&5
59754 ac_status=$?
59755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59756 (exit $ac_status); }; }; then
59757 glibcxx_cv_func__hypot_use=yes
59758 else
59759 echo "$as_me: failed program was:" >&5
59760 sed 's/^/| /' conftest.$ac_ext >&5
59762 glibcxx_cv_func__hypot_use=no
59764 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59765 ac_ext=c
59766 ac_cpp='$CPP $CPPFLAGS'
59767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59775 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
59776 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
59778 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
59780 for ac_func in _hypot
59782 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59783 echo "$as_me:$LINENO: checking for $ac_func" >&5
59784 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59785 if eval "test \"\${$as_ac_var+set}\" = set"; then
59786 echo $ECHO_N "(cached) $ECHO_C" >&6
59787 else
59788 if test x$gcc_no_link = xyes; then
59789 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59790 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59791 { (exit 1); exit 1; }; }
59793 cat >conftest.$ac_ext <<_ACEOF
59794 /* confdefs.h. */
59795 _ACEOF
59796 cat confdefs.h >>conftest.$ac_ext
59797 cat >>conftest.$ac_ext <<_ACEOF
59798 /* end confdefs.h. */
59799 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59800 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59801 #define $ac_func innocuous_$ac_func
59803 /* System header to define __stub macros and hopefully few prototypes,
59804 which can conflict with char $ac_func (); below.
59805 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59806 <limits.h> exists even on freestanding compilers. */
59808 #ifdef __STDC__
59809 # include <limits.h>
59810 #else
59811 # include <assert.h>
59812 #endif
59814 #undef $ac_func
59816 /* Override any gcc2 internal prototype to avoid an error. */
59817 #ifdef __cplusplus
59818 extern "C"
59820 #endif
59821 /* We use char because int might match the return type of a gcc2
59822 builtin and then its argument prototype would still apply. */
59823 char $ac_func ();
59824 /* The GNU C library defines this for functions which it implements
59825 to always fail with ENOSYS. Some functions are actually named
59826 something starting with __ and the normal name is an alias. */
59827 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59828 choke me
59829 #else
59830 char (*f) () = $ac_func;
59831 #endif
59832 #ifdef __cplusplus
59834 #endif
59837 main ()
59839 return f != $ac_func;
59841 return 0;
59843 _ACEOF
59844 rm -f conftest.$ac_objext conftest$ac_exeext
59845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59846 (eval $ac_link) 2>conftest.er1
59847 ac_status=$?
59848 grep -v '^ *+' conftest.er1 >conftest.err
59849 rm -f conftest.er1
59850 cat conftest.err >&5
59851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59852 (exit $ac_status); } &&
59853 { ac_try='test -z "$ac_c_werror_flag"
59854 || test ! -s conftest.err'
59855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59856 (eval $ac_try) 2>&5
59857 ac_status=$?
59858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59859 (exit $ac_status); }; } &&
59860 { ac_try='test -s conftest$ac_exeext'
59861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59862 (eval $ac_try) 2>&5
59863 ac_status=$?
59864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59865 (exit $ac_status); }; }; then
59866 eval "$as_ac_var=yes"
59867 else
59868 echo "$as_me: failed program was:" >&5
59869 sed 's/^/| /' conftest.$ac_ext >&5
59871 eval "$as_ac_var=no"
59873 rm -f conftest.err conftest.$ac_objext \
59874 conftest$ac_exeext conftest.$ac_ext
59876 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59877 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59878 if test `eval echo '${'$as_ac_var'}'` = yes; then
59879 cat >>confdefs.h <<_ACEOF
59880 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59881 _ACEOF
59884 done
59894 echo "$as_me:$LINENO: checking for float trig functions" >&5
59895 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
59896 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
59897 echo $ECHO_N "(cached) $ECHO_C" >&6
59898 else
59902 ac_ext=cc
59903 ac_cpp='$CXXCPP $CPPFLAGS'
59904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59908 cat >conftest.$ac_ext <<_ACEOF
59909 /* confdefs.h. */
59910 _ACEOF
59911 cat confdefs.h >>conftest.$ac_ext
59912 cat >>conftest.$ac_ext <<_ACEOF
59913 /* end confdefs.h. */
59914 #include <math.h>
59916 main ()
59918 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
59920 return 0;
59922 _ACEOF
59923 rm -f conftest.$ac_objext
59924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59925 (eval $ac_compile) 2>conftest.er1
59926 ac_status=$?
59927 grep -v '^ *+' conftest.er1 >conftest.err
59928 rm -f conftest.er1
59929 cat conftest.err >&5
59930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59931 (exit $ac_status); } &&
59932 { ac_try='test -z "$ac_cxx_werror_flag"
59933 || test ! -s conftest.err'
59934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59935 (eval $ac_try) 2>&5
59936 ac_status=$?
59937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59938 (exit $ac_status); }; } &&
59939 { ac_try='test -s conftest.$ac_objext'
59940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59941 (eval $ac_try) 2>&5
59942 ac_status=$?
59943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59944 (exit $ac_status); }; }; then
59945 glibcxx_cv_func_float_trig_use=yes
59946 else
59947 echo "$as_me: failed program was:" >&5
59948 sed 's/^/| /' conftest.$ac_ext >&5
59950 glibcxx_cv_func_float_trig_use=no
59952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59953 ac_ext=c
59954 ac_cpp='$CPP $CPPFLAGS'
59955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59961 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
59962 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
59963 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
59973 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
59975 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59976 echo "$as_me:$LINENO: checking for $ac_func" >&5
59977 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59978 if eval "test \"\${$as_ac_var+set}\" = set"; then
59979 echo $ECHO_N "(cached) $ECHO_C" >&6
59980 else
59981 if test x$gcc_no_link = xyes; then
59982 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59983 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59984 { (exit 1); exit 1; }; }
59986 cat >conftest.$ac_ext <<_ACEOF
59987 /* confdefs.h. */
59988 _ACEOF
59989 cat confdefs.h >>conftest.$ac_ext
59990 cat >>conftest.$ac_ext <<_ACEOF
59991 /* end confdefs.h. */
59992 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59993 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59994 #define $ac_func innocuous_$ac_func
59996 /* System header to define __stub macros and hopefully few prototypes,
59997 which can conflict with char $ac_func (); below.
59998 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59999 <limits.h> exists even on freestanding compilers. */
60001 #ifdef __STDC__
60002 # include <limits.h>
60003 #else
60004 # include <assert.h>
60005 #endif
60007 #undef $ac_func
60009 /* Override any gcc2 internal prototype to avoid an error. */
60010 #ifdef __cplusplus
60011 extern "C"
60013 #endif
60014 /* We use char because int might match the return type of a gcc2
60015 builtin and then its argument prototype would still apply. */
60016 char $ac_func ();
60017 /* The GNU C library defines this for functions which it implements
60018 to always fail with ENOSYS. Some functions are actually named
60019 something starting with __ and the normal name is an alias. */
60020 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60021 choke me
60022 #else
60023 char (*f) () = $ac_func;
60024 #endif
60025 #ifdef __cplusplus
60027 #endif
60030 main ()
60032 return f != $ac_func;
60034 return 0;
60036 _ACEOF
60037 rm -f conftest.$ac_objext conftest$ac_exeext
60038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60039 (eval $ac_link) 2>conftest.er1
60040 ac_status=$?
60041 grep -v '^ *+' conftest.er1 >conftest.err
60042 rm -f conftest.er1
60043 cat conftest.err >&5
60044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60045 (exit $ac_status); } &&
60046 { ac_try='test -z "$ac_c_werror_flag"
60047 || test ! -s conftest.err'
60048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60049 (eval $ac_try) 2>&5
60050 ac_status=$?
60051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60052 (exit $ac_status); }; } &&
60053 { ac_try='test -s conftest$ac_exeext'
60054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60055 (eval $ac_try) 2>&5
60056 ac_status=$?
60057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60058 (exit $ac_status); }; }; then
60059 eval "$as_ac_var=yes"
60060 else
60061 echo "$as_me: failed program was:" >&5
60062 sed 's/^/| /' conftest.$ac_ext >&5
60064 eval "$as_ac_var=no"
60066 rm -f conftest.err conftest.$ac_objext \
60067 conftest$ac_exeext conftest.$ac_ext
60069 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60070 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60071 if test `eval echo '${'$as_ac_var'}'` = yes; then
60072 cat >>confdefs.h <<_ACEOF
60073 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60074 _ACEOF
60077 done
60079 else
60080 echo "$as_me:$LINENO: checking for _float trig functions" >&5
60081 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
60082 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
60083 echo $ECHO_N "(cached) $ECHO_C" >&6
60084 else
60088 ac_ext=cc
60089 ac_cpp='$CXXCPP $CPPFLAGS'
60090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60094 cat >conftest.$ac_ext <<_ACEOF
60095 /* confdefs.h. */
60096 _ACEOF
60097 cat confdefs.h >>conftest.$ac_ext
60098 cat >>conftest.$ac_ext <<_ACEOF
60099 /* end confdefs.h. */
60100 #include <math.h>
60102 main ()
60104 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
60106 return 0;
60108 _ACEOF
60109 rm -f conftest.$ac_objext
60110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60111 (eval $ac_compile) 2>conftest.er1
60112 ac_status=$?
60113 grep -v '^ *+' conftest.er1 >conftest.err
60114 rm -f conftest.er1
60115 cat conftest.err >&5
60116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60117 (exit $ac_status); } &&
60118 { ac_try='test -z "$ac_cxx_werror_flag"
60119 || test ! -s conftest.err'
60120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60121 (eval $ac_try) 2>&5
60122 ac_status=$?
60123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60124 (exit $ac_status); }; } &&
60125 { ac_try='test -s conftest.$ac_objext'
60126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60127 (eval $ac_try) 2>&5
60128 ac_status=$?
60129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60130 (exit $ac_status); }; }; then
60131 glibcxx_cv_func__float_trig_use=yes
60132 else
60133 echo "$as_me: failed program was:" >&5
60134 sed 's/^/| /' conftest.$ac_ext >&5
60136 glibcxx_cv_func__float_trig_use=no
60138 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60139 ac_ext=c
60140 ac_cpp='$CPP $CPPFLAGS'
60141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60147 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
60148 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
60149 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
60159 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
60161 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60162 echo "$as_me:$LINENO: checking for $ac_func" >&5
60163 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60164 if eval "test \"\${$as_ac_var+set}\" = set"; then
60165 echo $ECHO_N "(cached) $ECHO_C" >&6
60166 else
60167 if test x$gcc_no_link = xyes; then
60168 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60169 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60170 { (exit 1); exit 1; }; }
60172 cat >conftest.$ac_ext <<_ACEOF
60173 /* confdefs.h. */
60174 _ACEOF
60175 cat confdefs.h >>conftest.$ac_ext
60176 cat >>conftest.$ac_ext <<_ACEOF
60177 /* end confdefs.h. */
60178 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60179 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60180 #define $ac_func innocuous_$ac_func
60182 /* System header to define __stub macros and hopefully few prototypes,
60183 which can conflict with char $ac_func (); below.
60184 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60185 <limits.h> exists even on freestanding compilers. */
60187 #ifdef __STDC__
60188 # include <limits.h>
60189 #else
60190 # include <assert.h>
60191 #endif
60193 #undef $ac_func
60195 /* Override any gcc2 internal prototype to avoid an error. */
60196 #ifdef __cplusplus
60197 extern "C"
60199 #endif
60200 /* We use char because int might match the return type of a gcc2
60201 builtin and then its argument prototype would still apply. */
60202 char $ac_func ();
60203 /* The GNU C library defines this for functions which it implements
60204 to always fail with ENOSYS. Some functions are actually named
60205 something starting with __ and the normal name is an alias. */
60206 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60207 choke me
60208 #else
60209 char (*f) () = $ac_func;
60210 #endif
60211 #ifdef __cplusplus
60213 #endif
60216 main ()
60218 return f != $ac_func;
60220 return 0;
60222 _ACEOF
60223 rm -f conftest.$ac_objext conftest$ac_exeext
60224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60225 (eval $ac_link) 2>conftest.er1
60226 ac_status=$?
60227 grep -v '^ *+' conftest.er1 >conftest.err
60228 rm -f conftest.er1
60229 cat conftest.err >&5
60230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60231 (exit $ac_status); } &&
60232 { ac_try='test -z "$ac_c_werror_flag"
60233 || test ! -s conftest.err'
60234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60235 (eval $ac_try) 2>&5
60236 ac_status=$?
60237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60238 (exit $ac_status); }; } &&
60239 { ac_try='test -s conftest$ac_exeext'
60240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60241 (eval $ac_try) 2>&5
60242 ac_status=$?
60243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60244 (exit $ac_status); }; }; then
60245 eval "$as_ac_var=yes"
60246 else
60247 echo "$as_me: failed program was:" >&5
60248 sed 's/^/| /' conftest.$ac_ext >&5
60250 eval "$as_ac_var=no"
60252 rm -f conftest.err conftest.$ac_objext \
60253 conftest$ac_exeext conftest.$ac_ext
60255 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60256 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60257 if test `eval echo '${'$as_ac_var'}'` = yes; then
60258 cat >>confdefs.h <<_ACEOF
60259 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60260 _ACEOF
60263 done
60281 echo "$as_me:$LINENO: checking for float round functions" >&5
60282 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
60283 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
60284 echo $ECHO_N "(cached) $ECHO_C" >&6
60285 else
60289 ac_ext=cc
60290 ac_cpp='$CXXCPP $CPPFLAGS'
60291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60295 cat >conftest.$ac_ext <<_ACEOF
60296 /* confdefs.h. */
60297 _ACEOF
60298 cat confdefs.h >>conftest.$ac_ext
60299 cat >>conftest.$ac_ext <<_ACEOF
60300 /* end confdefs.h. */
60301 #include <math.h>
60303 main ()
60305 ceilf (0); floorf (0);
60307 return 0;
60309 _ACEOF
60310 rm -f conftest.$ac_objext
60311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60312 (eval $ac_compile) 2>conftest.er1
60313 ac_status=$?
60314 grep -v '^ *+' conftest.er1 >conftest.err
60315 rm -f conftest.er1
60316 cat conftest.err >&5
60317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60318 (exit $ac_status); } &&
60319 { ac_try='test -z "$ac_cxx_werror_flag"
60320 || test ! -s conftest.err'
60321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60322 (eval $ac_try) 2>&5
60323 ac_status=$?
60324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60325 (exit $ac_status); }; } &&
60326 { ac_try='test -s conftest.$ac_objext'
60327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60328 (eval $ac_try) 2>&5
60329 ac_status=$?
60330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60331 (exit $ac_status); }; }; then
60332 glibcxx_cv_func_float_round_use=yes
60333 else
60334 echo "$as_me: failed program was:" >&5
60335 sed 's/^/| /' conftest.$ac_ext >&5
60337 glibcxx_cv_func_float_round_use=no
60339 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60340 ac_ext=c
60341 ac_cpp='$CPP $CPPFLAGS'
60342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60348 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
60349 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
60350 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
60353 for ac_func in ceilf floorf
60355 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60356 echo "$as_me:$LINENO: checking for $ac_func" >&5
60357 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60358 if eval "test \"\${$as_ac_var+set}\" = set"; then
60359 echo $ECHO_N "(cached) $ECHO_C" >&6
60360 else
60361 if test x$gcc_no_link = xyes; then
60362 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60363 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60364 { (exit 1); exit 1; }; }
60366 cat >conftest.$ac_ext <<_ACEOF
60367 /* confdefs.h. */
60368 _ACEOF
60369 cat confdefs.h >>conftest.$ac_ext
60370 cat >>conftest.$ac_ext <<_ACEOF
60371 /* end confdefs.h. */
60372 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60373 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60374 #define $ac_func innocuous_$ac_func
60376 /* System header to define __stub macros and hopefully few prototypes,
60377 which can conflict with char $ac_func (); below.
60378 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60379 <limits.h> exists even on freestanding compilers. */
60381 #ifdef __STDC__
60382 # include <limits.h>
60383 #else
60384 # include <assert.h>
60385 #endif
60387 #undef $ac_func
60389 /* Override any gcc2 internal prototype to avoid an error. */
60390 #ifdef __cplusplus
60391 extern "C"
60393 #endif
60394 /* We use char because int might match the return type of a gcc2
60395 builtin and then its argument prototype would still apply. */
60396 char $ac_func ();
60397 /* The GNU C library defines this for functions which it implements
60398 to always fail with ENOSYS. Some functions are actually named
60399 something starting with __ and the normal name is an alias. */
60400 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60401 choke me
60402 #else
60403 char (*f) () = $ac_func;
60404 #endif
60405 #ifdef __cplusplus
60407 #endif
60410 main ()
60412 return f != $ac_func;
60414 return 0;
60416 _ACEOF
60417 rm -f conftest.$ac_objext conftest$ac_exeext
60418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60419 (eval $ac_link) 2>conftest.er1
60420 ac_status=$?
60421 grep -v '^ *+' conftest.er1 >conftest.err
60422 rm -f conftest.er1
60423 cat conftest.err >&5
60424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60425 (exit $ac_status); } &&
60426 { ac_try='test -z "$ac_c_werror_flag"
60427 || test ! -s conftest.err'
60428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60429 (eval $ac_try) 2>&5
60430 ac_status=$?
60431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60432 (exit $ac_status); }; } &&
60433 { ac_try='test -s conftest$ac_exeext'
60434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60435 (eval $ac_try) 2>&5
60436 ac_status=$?
60437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60438 (exit $ac_status); }; }; then
60439 eval "$as_ac_var=yes"
60440 else
60441 echo "$as_me: failed program was:" >&5
60442 sed 's/^/| /' conftest.$ac_ext >&5
60444 eval "$as_ac_var=no"
60446 rm -f conftest.err conftest.$ac_objext \
60447 conftest$ac_exeext conftest.$ac_ext
60449 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60450 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60451 if test `eval echo '${'$as_ac_var'}'` = yes; then
60452 cat >>confdefs.h <<_ACEOF
60453 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60454 _ACEOF
60457 done
60459 else
60460 echo "$as_me:$LINENO: checking for _float round functions" >&5
60461 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
60462 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
60463 echo $ECHO_N "(cached) $ECHO_C" >&6
60464 else
60468 ac_ext=cc
60469 ac_cpp='$CXXCPP $CPPFLAGS'
60470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60474 cat >conftest.$ac_ext <<_ACEOF
60475 /* confdefs.h. */
60476 _ACEOF
60477 cat confdefs.h >>conftest.$ac_ext
60478 cat >>conftest.$ac_ext <<_ACEOF
60479 /* end confdefs.h. */
60480 #include <math.h>
60482 main ()
60484 _ceilf (0); _floorf (0);
60486 return 0;
60488 _ACEOF
60489 rm -f conftest.$ac_objext
60490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60491 (eval $ac_compile) 2>conftest.er1
60492 ac_status=$?
60493 grep -v '^ *+' conftest.er1 >conftest.err
60494 rm -f conftest.er1
60495 cat conftest.err >&5
60496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60497 (exit $ac_status); } &&
60498 { ac_try='test -z "$ac_cxx_werror_flag"
60499 || test ! -s conftest.err'
60500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60501 (eval $ac_try) 2>&5
60502 ac_status=$?
60503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60504 (exit $ac_status); }; } &&
60505 { ac_try='test -s conftest.$ac_objext'
60506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60507 (eval $ac_try) 2>&5
60508 ac_status=$?
60509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60510 (exit $ac_status); }; }; then
60511 glibcxx_cv_func__float_round_use=yes
60512 else
60513 echo "$as_me: failed program was:" >&5
60514 sed 's/^/| /' conftest.$ac_ext >&5
60516 glibcxx_cv_func__float_round_use=no
60518 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60519 ac_ext=c
60520 ac_cpp='$CPP $CPPFLAGS'
60521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60527 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
60528 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
60529 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
60532 for ac_func in _ceilf _floorf
60534 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60535 echo "$as_me:$LINENO: checking for $ac_func" >&5
60536 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60537 if eval "test \"\${$as_ac_var+set}\" = set"; then
60538 echo $ECHO_N "(cached) $ECHO_C" >&6
60539 else
60540 if test x$gcc_no_link = xyes; then
60541 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60542 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60543 { (exit 1); exit 1; }; }
60545 cat >conftest.$ac_ext <<_ACEOF
60546 /* confdefs.h. */
60547 _ACEOF
60548 cat confdefs.h >>conftest.$ac_ext
60549 cat >>conftest.$ac_ext <<_ACEOF
60550 /* end confdefs.h. */
60551 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60552 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60553 #define $ac_func innocuous_$ac_func
60555 /* System header to define __stub macros and hopefully few prototypes,
60556 which can conflict with char $ac_func (); below.
60557 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60558 <limits.h> exists even on freestanding compilers. */
60560 #ifdef __STDC__
60561 # include <limits.h>
60562 #else
60563 # include <assert.h>
60564 #endif
60566 #undef $ac_func
60568 /* Override any gcc2 internal prototype to avoid an error. */
60569 #ifdef __cplusplus
60570 extern "C"
60572 #endif
60573 /* We use char because int might match the return type of a gcc2
60574 builtin and then its argument prototype would still apply. */
60575 char $ac_func ();
60576 /* The GNU C library defines this for functions which it implements
60577 to always fail with ENOSYS. Some functions are actually named
60578 something starting with __ and the normal name is an alias. */
60579 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60580 choke me
60581 #else
60582 char (*f) () = $ac_func;
60583 #endif
60584 #ifdef __cplusplus
60586 #endif
60589 main ()
60591 return f != $ac_func;
60593 return 0;
60595 _ACEOF
60596 rm -f conftest.$ac_objext conftest$ac_exeext
60597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60598 (eval $ac_link) 2>conftest.er1
60599 ac_status=$?
60600 grep -v '^ *+' conftest.er1 >conftest.err
60601 rm -f conftest.er1
60602 cat conftest.err >&5
60603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60604 (exit $ac_status); } &&
60605 { ac_try='test -z "$ac_c_werror_flag"
60606 || test ! -s conftest.err'
60607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60608 (eval $ac_try) 2>&5
60609 ac_status=$?
60610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60611 (exit $ac_status); }; } &&
60612 { ac_try='test -s conftest$ac_exeext'
60613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60614 (eval $ac_try) 2>&5
60615 ac_status=$?
60616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60617 (exit $ac_status); }; }; then
60618 eval "$as_ac_var=yes"
60619 else
60620 echo "$as_me: failed program was:" >&5
60621 sed 's/^/| /' conftest.$ac_ext >&5
60623 eval "$as_ac_var=no"
60625 rm -f conftest.err conftest.$ac_objext \
60626 conftest$ac_exeext conftest.$ac_ext
60628 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60629 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60630 if test `eval echo '${'$as_ac_var'}'` = yes; then
60631 cat >>confdefs.h <<_ACEOF
60632 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60633 _ACEOF
60636 done
60648 echo "$as_me:$LINENO: checking for expf declaration" >&5
60649 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
60650 if test x${glibcxx_cv_func_expf_use+set} != xset; then
60651 if test "${glibcxx_cv_func_expf_use+set}" = set; then
60652 echo $ECHO_N "(cached) $ECHO_C" >&6
60653 else
60657 ac_ext=cc
60658 ac_cpp='$CXXCPP $CPPFLAGS'
60659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60663 cat >conftest.$ac_ext <<_ACEOF
60664 /* confdefs.h. */
60665 _ACEOF
60666 cat confdefs.h >>conftest.$ac_ext
60667 cat >>conftest.$ac_ext <<_ACEOF
60668 /* end confdefs.h. */
60669 #include <math.h>
60670 #ifdef HAVE_IEEEFP_H
60671 #include <ieeefp.h>
60672 #endif
60675 main ()
60677 expf(0);
60679 return 0;
60681 _ACEOF
60682 rm -f conftest.$ac_objext
60683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60684 (eval $ac_compile) 2>conftest.er1
60685 ac_status=$?
60686 grep -v '^ *+' conftest.er1 >conftest.err
60687 rm -f conftest.er1
60688 cat conftest.err >&5
60689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60690 (exit $ac_status); } &&
60691 { ac_try='test -z "$ac_cxx_werror_flag"
60692 || test ! -s conftest.err'
60693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60694 (eval $ac_try) 2>&5
60695 ac_status=$?
60696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60697 (exit $ac_status); }; } &&
60698 { ac_try='test -s conftest.$ac_objext'
60699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60700 (eval $ac_try) 2>&5
60701 ac_status=$?
60702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60703 (exit $ac_status); }; }; then
60704 glibcxx_cv_func_expf_use=yes
60705 else
60706 echo "$as_me: failed program was:" >&5
60707 sed 's/^/| /' conftest.$ac_ext >&5
60709 glibcxx_cv_func_expf_use=no
60711 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60712 ac_ext=c
60713 ac_cpp='$CPP $CPPFLAGS'
60714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60722 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
60723 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
60725 if test x$glibcxx_cv_func_expf_use = x"yes"; then
60727 for ac_func in expf
60729 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60730 echo "$as_me:$LINENO: checking for $ac_func" >&5
60731 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60732 if eval "test \"\${$as_ac_var+set}\" = set"; then
60733 echo $ECHO_N "(cached) $ECHO_C" >&6
60734 else
60735 if test x$gcc_no_link = xyes; then
60736 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60737 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60738 { (exit 1); exit 1; }; }
60740 cat >conftest.$ac_ext <<_ACEOF
60741 /* confdefs.h. */
60742 _ACEOF
60743 cat confdefs.h >>conftest.$ac_ext
60744 cat >>conftest.$ac_ext <<_ACEOF
60745 /* end confdefs.h. */
60746 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60747 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60748 #define $ac_func innocuous_$ac_func
60750 /* System header to define __stub macros and hopefully few prototypes,
60751 which can conflict with char $ac_func (); below.
60752 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60753 <limits.h> exists even on freestanding compilers. */
60755 #ifdef __STDC__
60756 # include <limits.h>
60757 #else
60758 # include <assert.h>
60759 #endif
60761 #undef $ac_func
60763 /* Override any gcc2 internal prototype to avoid an error. */
60764 #ifdef __cplusplus
60765 extern "C"
60767 #endif
60768 /* We use char because int might match the return type of a gcc2
60769 builtin and then its argument prototype would still apply. */
60770 char $ac_func ();
60771 /* The GNU C library defines this for functions which it implements
60772 to always fail with ENOSYS. Some functions are actually named
60773 something starting with __ and the normal name is an alias. */
60774 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60775 choke me
60776 #else
60777 char (*f) () = $ac_func;
60778 #endif
60779 #ifdef __cplusplus
60781 #endif
60784 main ()
60786 return f != $ac_func;
60788 return 0;
60790 _ACEOF
60791 rm -f conftest.$ac_objext conftest$ac_exeext
60792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60793 (eval $ac_link) 2>conftest.er1
60794 ac_status=$?
60795 grep -v '^ *+' conftest.er1 >conftest.err
60796 rm -f conftest.er1
60797 cat conftest.err >&5
60798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60799 (exit $ac_status); } &&
60800 { ac_try='test -z "$ac_c_werror_flag"
60801 || test ! -s conftest.err'
60802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60803 (eval $ac_try) 2>&5
60804 ac_status=$?
60805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60806 (exit $ac_status); }; } &&
60807 { ac_try='test -s conftest$ac_exeext'
60808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60809 (eval $ac_try) 2>&5
60810 ac_status=$?
60811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60812 (exit $ac_status); }; }; then
60813 eval "$as_ac_var=yes"
60814 else
60815 echo "$as_me: failed program was:" >&5
60816 sed 's/^/| /' conftest.$ac_ext >&5
60818 eval "$as_ac_var=no"
60820 rm -f conftest.err conftest.$ac_objext \
60821 conftest$ac_exeext conftest.$ac_ext
60823 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60824 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60825 if test `eval echo '${'$as_ac_var'}'` = yes; then
60826 cat >>confdefs.h <<_ACEOF
60827 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60828 _ACEOF
60831 done
60833 else
60835 echo "$as_me:$LINENO: checking for _expf declaration" >&5
60836 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
60837 if test x${glibcxx_cv_func__expf_use+set} != xset; then
60838 if test "${glibcxx_cv_func__expf_use+set}" = set; then
60839 echo $ECHO_N "(cached) $ECHO_C" >&6
60840 else
60844 ac_ext=cc
60845 ac_cpp='$CXXCPP $CPPFLAGS'
60846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60850 cat >conftest.$ac_ext <<_ACEOF
60851 /* confdefs.h. */
60852 _ACEOF
60853 cat confdefs.h >>conftest.$ac_ext
60854 cat >>conftest.$ac_ext <<_ACEOF
60855 /* end confdefs.h. */
60856 #include <math.h>
60857 #ifdef HAVE_IEEEFP_H
60858 #include <ieeefp.h>
60859 #endif
60862 main ()
60864 _expf(0);
60866 return 0;
60868 _ACEOF
60869 rm -f conftest.$ac_objext
60870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60871 (eval $ac_compile) 2>conftest.er1
60872 ac_status=$?
60873 grep -v '^ *+' conftest.er1 >conftest.err
60874 rm -f conftest.er1
60875 cat conftest.err >&5
60876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60877 (exit $ac_status); } &&
60878 { ac_try='test -z "$ac_cxx_werror_flag"
60879 || test ! -s conftest.err'
60880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60881 (eval $ac_try) 2>&5
60882 ac_status=$?
60883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60884 (exit $ac_status); }; } &&
60885 { ac_try='test -s conftest.$ac_objext'
60886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60887 (eval $ac_try) 2>&5
60888 ac_status=$?
60889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60890 (exit $ac_status); }; }; then
60891 glibcxx_cv_func__expf_use=yes
60892 else
60893 echo "$as_me: failed program was:" >&5
60894 sed 's/^/| /' conftest.$ac_ext >&5
60896 glibcxx_cv_func__expf_use=no
60898 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60899 ac_ext=c
60900 ac_cpp='$CPP $CPPFLAGS'
60901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60909 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
60910 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
60912 if test x$glibcxx_cv_func__expf_use = x"yes"; then
60914 for ac_func in _expf
60916 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60917 echo "$as_me:$LINENO: checking for $ac_func" >&5
60918 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60919 if eval "test \"\${$as_ac_var+set}\" = set"; then
60920 echo $ECHO_N "(cached) $ECHO_C" >&6
60921 else
60922 if test x$gcc_no_link = xyes; then
60923 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60924 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60925 { (exit 1); exit 1; }; }
60927 cat >conftest.$ac_ext <<_ACEOF
60928 /* confdefs.h. */
60929 _ACEOF
60930 cat confdefs.h >>conftest.$ac_ext
60931 cat >>conftest.$ac_ext <<_ACEOF
60932 /* end confdefs.h. */
60933 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60934 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60935 #define $ac_func innocuous_$ac_func
60937 /* System header to define __stub macros and hopefully few prototypes,
60938 which can conflict with char $ac_func (); below.
60939 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60940 <limits.h> exists even on freestanding compilers. */
60942 #ifdef __STDC__
60943 # include <limits.h>
60944 #else
60945 # include <assert.h>
60946 #endif
60948 #undef $ac_func
60950 /* Override any gcc2 internal prototype to avoid an error. */
60951 #ifdef __cplusplus
60952 extern "C"
60954 #endif
60955 /* We use char because int might match the return type of a gcc2
60956 builtin and then its argument prototype would still apply. */
60957 char $ac_func ();
60958 /* The GNU C library defines this for functions which it implements
60959 to always fail with ENOSYS. Some functions are actually named
60960 something starting with __ and the normal name is an alias. */
60961 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60962 choke me
60963 #else
60964 char (*f) () = $ac_func;
60965 #endif
60966 #ifdef __cplusplus
60968 #endif
60971 main ()
60973 return f != $ac_func;
60975 return 0;
60977 _ACEOF
60978 rm -f conftest.$ac_objext conftest$ac_exeext
60979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60980 (eval $ac_link) 2>conftest.er1
60981 ac_status=$?
60982 grep -v '^ *+' conftest.er1 >conftest.err
60983 rm -f conftest.er1
60984 cat conftest.err >&5
60985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60986 (exit $ac_status); } &&
60987 { ac_try='test -z "$ac_c_werror_flag"
60988 || test ! -s conftest.err'
60989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60990 (eval $ac_try) 2>&5
60991 ac_status=$?
60992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60993 (exit $ac_status); }; } &&
60994 { ac_try='test -s conftest$ac_exeext'
60995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60996 (eval $ac_try) 2>&5
60997 ac_status=$?
60998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60999 (exit $ac_status); }; }; then
61000 eval "$as_ac_var=yes"
61001 else
61002 echo "$as_me: failed program was:" >&5
61003 sed 's/^/| /' conftest.$ac_ext >&5
61005 eval "$as_ac_var=no"
61007 rm -f conftest.err conftest.$ac_objext \
61008 conftest$ac_exeext conftest.$ac_ext
61010 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61011 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61012 if test `eval echo '${'$as_ac_var'}'` = yes; then
61013 cat >>confdefs.h <<_ACEOF
61014 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61015 _ACEOF
61018 done
61028 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
61029 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
61030 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
61031 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
61032 echo $ECHO_N "(cached) $ECHO_C" >&6
61033 else
61037 ac_ext=cc
61038 ac_cpp='$CXXCPP $CPPFLAGS'
61039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61043 cat >conftest.$ac_ext <<_ACEOF
61044 /* confdefs.h. */
61045 _ACEOF
61046 cat confdefs.h >>conftest.$ac_ext
61047 cat >>conftest.$ac_ext <<_ACEOF
61048 /* end confdefs.h. */
61049 #include <math.h>
61050 #ifdef HAVE_IEEEFP_H
61051 #include <ieeefp.h>
61052 #endif
61055 main ()
61057 isnanf(0);
61059 return 0;
61061 _ACEOF
61062 rm -f conftest.$ac_objext
61063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61064 (eval $ac_compile) 2>conftest.er1
61065 ac_status=$?
61066 grep -v '^ *+' conftest.er1 >conftest.err
61067 rm -f conftest.er1
61068 cat conftest.err >&5
61069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61070 (exit $ac_status); } &&
61071 { ac_try='test -z "$ac_cxx_werror_flag"
61072 || test ! -s conftest.err'
61073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61074 (eval $ac_try) 2>&5
61075 ac_status=$?
61076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61077 (exit $ac_status); }; } &&
61078 { ac_try='test -s conftest.$ac_objext'
61079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61080 (eval $ac_try) 2>&5
61081 ac_status=$?
61082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61083 (exit $ac_status); }; }; then
61084 glibcxx_cv_func_isnanf_use=yes
61085 else
61086 echo "$as_me: failed program was:" >&5
61087 sed 's/^/| /' conftest.$ac_ext >&5
61089 glibcxx_cv_func_isnanf_use=no
61091 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61092 ac_ext=c
61093 ac_cpp='$CPP $CPPFLAGS'
61094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61102 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
61103 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
61105 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
61107 for ac_func in isnanf
61109 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61110 echo "$as_me:$LINENO: checking for $ac_func" >&5
61111 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61112 if eval "test \"\${$as_ac_var+set}\" = set"; then
61113 echo $ECHO_N "(cached) $ECHO_C" >&6
61114 else
61115 if test x$gcc_no_link = xyes; then
61116 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61117 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61118 { (exit 1); exit 1; }; }
61120 cat >conftest.$ac_ext <<_ACEOF
61121 /* confdefs.h. */
61122 _ACEOF
61123 cat confdefs.h >>conftest.$ac_ext
61124 cat >>conftest.$ac_ext <<_ACEOF
61125 /* end confdefs.h. */
61126 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61127 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61128 #define $ac_func innocuous_$ac_func
61130 /* System header to define __stub macros and hopefully few prototypes,
61131 which can conflict with char $ac_func (); below.
61132 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61133 <limits.h> exists even on freestanding compilers. */
61135 #ifdef __STDC__
61136 # include <limits.h>
61137 #else
61138 # include <assert.h>
61139 #endif
61141 #undef $ac_func
61143 /* Override any gcc2 internal prototype to avoid an error. */
61144 #ifdef __cplusplus
61145 extern "C"
61147 #endif
61148 /* We use char because int might match the return type of a gcc2
61149 builtin and then its argument prototype would still apply. */
61150 char $ac_func ();
61151 /* The GNU C library defines this for functions which it implements
61152 to always fail with ENOSYS. Some functions are actually named
61153 something starting with __ and the normal name is an alias. */
61154 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61155 choke me
61156 #else
61157 char (*f) () = $ac_func;
61158 #endif
61159 #ifdef __cplusplus
61161 #endif
61164 main ()
61166 return f != $ac_func;
61168 return 0;
61170 _ACEOF
61171 rm -f conftest.$ac_objext conftest$ac_exeext
61172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61173 (eval $ac_link) 2>conftest.er1
61174 ac_status=$?
61175 grep -v '^ *+' conftest.er1 >conftest.err
61176 rm -f conftest.er1
61177 cat conftest.err >&5
61178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61179 (exit $ac_status); } &&
61180 { ac_try='test -z "$ac_c_werror_flag"
61181 || test ! -s conftest.err'
61182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61183 (eval $ac_try) 2>&5
61184 ac_status=$?
61185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61186 (exit $ac_status); }; } &&
61187 { ac_try='test -s conftest$ac_exeext'
61188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61189 (eval $ac_try) 2>&5
61190 ac_status=$?
61191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61192 (exit $ac_status); }; }; then
61193 eval "$as_ac_var=yes"
61194 else
61195 echo "$as_me: failed program was:" >&5
61196 sed 's/^/| /' conftest.$ac_ext >&5
61198 eval "$as_ac_var=no"
61200 rm -f conftest.err conftest.$ac_objext \
61201 conftest$ac_exeext conftest.$ac_ext
61203 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61204 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61205 if test `eval echo '${'$as_ac_var'}'` = yes; then
61206 cat >>confdefs.h <<_ACEOF
61207 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61208 _ACEOF
61211 done
61213 else
61215 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
61216 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
61217 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
61218 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
61219 echo $ECHO_N "(cached) $ECHO_C" >&6
61220 else
61224 ac_ext=cc
61225 ac_cpp='$CXXCPP $CPPFLAGS'
61226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61230 cat >conftest.$ac_ext <<_ACEOF
61231 /* confdefs.h. */
61232 _ACEOF
61233 cat confdefs.h >>conftest.$ac_ext
61234 cat >>conftest.$ac_ext <<_ACEOF
61235 /* end confdefs.h. */
61236 #include <math.h>
61237 #ifdef HAVE_IEEEFP_H
61238 #include <ieeefp.h>
61239 #endif
61242 main ()
61244 _isnanf(0);
61246 return 0;
61248 _ACEOF
61249 rm -f conftest.$ac_objext
61250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61251 (eval $ac_compile) 2>conftest.er1
61252 ac_status=$?
61253 grep -v '^ *+' conftest.er1 >conftest.err
61254 rm -f conftest.er1
61255 cat conftest.err >&5
61256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61257 (exit $ac_status); } &&
61258 { ac_try='test -z "$ac_cxx_werror_flag"
61259 || test ! -s conftest.err'
61260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61261 (eval $ac_try) 2>&5
61262 ac_status=$?
61263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61264 (exit $ac_status); }; } &&
61265 { ac_try='test -s conftest.$ac_objext'
61266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61267 (eval $ac_try) 2>&5
61268 ac_status=$?
61269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61270 (exit $ac_status); }; }; then
61271 glibcxx_cv_func__isnanf_use=yes
61272 else
61273 echo "$as_me: failed program was:" >&5
61274 sed 's/^/| /' conftest.$ac_ext >&5
61276 glibcxx_cv_func__isnanf_use=no
61278 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61279 ac_ext=c
61280 ac_cpp='$CPP $CPPFLAGS'
61281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61289 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
61290 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
61292 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
61294 for ac_func in _isnanf
61296 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61297 echo "$as_me:$LINENO: checking for $ac_func" >&5
61298 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61299 if eval "test \"\${$as_ac_var+set}\" = set"; then
61300 echo $ECHO_N "(cached) $ECHO_C" >&6
61301 else
61302 if test x$gcc_no_link = xyes; then
61303 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61304 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61305 { (exit 1); exit 1; }; }
61307 cat >conftest.$ac_ext <<_ACEOF
61308 /* confdefs.h. */
61309 _ACEOF
61310 cat confdefs.h >>conftest.$ac_ext
61311 cat >>conftest.$ac_ext <<_ACEOF
61312 /* end confdefs.h. */
61313 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61314 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61315 #define $ac_func innocuous_$ac_func
61317 /* System header to define __stub macros and hopefully few prototypes,
61318 which can conflict with char $ac_func (); below.
61319 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61320 <limits.h> exists even on freestanding compilers. */
61322 #ifdef __STDC__
61323 # include <limits.h>
61324 #else
61325 # include <assert.h>
61326 #endif
61328 #undef $ac_func
61330 /* Override any gcc2 internal prototype to avoid an error. */
61331 #ifdef __cplusplus
61332 extern "C"
61334 #endif
61335 /* We use char because int might match the return type of a gcc2
61336 builtin and then its argument prototype would still apply. */
61337 char $ac_func ();
61338 /* The GNU C library defines this for functions which it implements
61339 to always fail with ENOSYS. Some functions are actually named
61340 something starting with __ and the normal name is an alias. */
61341 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61342 choke me
61343 #else
61344 char (*f) () = $ac_func;
61345 #endif
61346 #ifdef __cplusplus
61348 #endif
61351 main ()
61353 return f != $ac_func;
61355 return 0;
61357 _ACEOF
61358 rm -f conftest.$ac_objext conftest$ac_exeext
61359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61360 (eval $ac_link) 2>conftest.er1
61361 ac_status=$?
61362 grep -v '^ *+' conftest.er1 >conftest.err
61363 rm -f conftest.er1
61364 cat conftest.err >&5
61365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61366 (exit $ac_status); } &&
61367 { ac_try='test -z "$ac_c_werror_flag"
61368 || test ! -s conftest.err'
61369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61370 (eval $ac_try) 2>&5
61371 ac_status=$?
61372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61373 (exit $ac_status); }; } &&
61374 { ac_try='test -s conftest$ac_exeext'
61375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61376 (eval $ac_try) 2>&5
61377 ac_status=$?
61378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61379 (exit $ac_status); }; }; then
61380 eval "$as_ac_var=yes"
61381 else
61382 echo "$as_me: failed program was:" >&5
61383 sed 's/^/| /' conftest.$ac_ext >&5
61385 eval "$as_ac_var=no"
61387 rm -f conftest.err conftest.$ac_objext \
61388 conftest$ac_exeext conftest.$ac_ext
61390 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61391 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61392 if test `eval echo '${'$as_ac_var'}'` = yes; then
61393 cat >>confdefs.h <<_ACEOF
61394 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61395 _ACEOF
61398 done
61408 echo "$as_me:$LINENO: checking for isinff declaration" >&5
61409 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
61410 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
61411 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
61412 echo $ECHO_N "(cached) $ECHO_C" >&6
61413 else
61417 ac_ext=cc
61418 ac_cpp='$CXXCPP $CPPFLAGS'
61419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61423 cat >conftest.$ac_ext <<_ACEOF
61424 /* confdefs.h. */
61425 _ACEOF
61426 cat confdefs.h >>conftest.$ac_ext
61427 cat >>conftest.$ac_ext <<_ACEOF
61428 /* end confdefs.h. */
61429 #include <math.h>
61430 #ifdef HAVE_IEEEFP_H
61431 #include <ieeefp.h>
61432 #endif
61435 main ()
61437 isinff(0);
61439 return 0;
61441 _ACEOF
61442 rm -f conftest.$ac_objext
61443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61444 (eval $ac_compile) 2>conftest.er1
61445 ac_status=$?
61446 grep -v '^ *+' conftest.er1 >conftest.err
61447 rm -f conftest.er1
61448 cat conftest.err >&5
61449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61450 (exit $ac_status); } &&
61451 { ac_try='test -z "$ac_cxx_werror_flag"
61452 || test ! -s conftest.err'
61453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61454 (eval $ac_try) 2>&5
61455 ac_status=$?
61456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61457 (exit $ac_status); }; } &&
61458 { ac_try='test -s conftest.$ac_objext'
61459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61460 (eval $ac_try) 2>&5
61461 ac_status=$?
61462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61463 (exit $ac_status); }; }; then
61464 glibcxx_cv_func_isinff_use=yes
61465 else
61466 echo "$as_me: failed program was:" >&5
61467 sed 's/^/| /' conftest.$ac_ext >&5
61469 glibcxx_cv_func_isinff_use=no
61471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61472 ac_ext=c
61473 ac_cpp='$CPP $CPPFLAGS'
61474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61482 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
61483 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
61485 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
61487 for ac_func in isinff
61489 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61490 echo "$as_me:$LINENO: checking for $ac_func" >&5
61491 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61492 if eval "test \"\${$as_ac_var+set}\" = set"; then
61493 echo $ECHO_N "(cached) $ECHO_C" >&6
61494 else
61495 if test x$gcc_no_link = xyes; then
61496 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61497 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61498 { (exit 1); exit 1; }; }
61500 cat >conftest.$ac_ext <<_ACEOF
61501 /* confdefs.h. */
61502 _ACEOF
61503 cat confdefs.h >>conftest.$ac_ext
61504 cat >>conftest.$ac_ext <<_ACEOF
61505 /* end confdefs.h. */
61506 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61507 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61508 #define $ac_func innocuous_$ac_func
61510 /* System header to define __stub macros and hopefully few prototypes,
61511 which can conflict with char $ac_func (); below.
61512 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61513 <limits.h> exists even on freestanding compilers. */
61515 #ifdef __STDC__
61516 # include <limits.h>
61517 #else
61518 # include <assert.h>
61519 #endif
61521 #undef $ac_func
61523 /* Override any gcc2 internal prototype to avoid an error. */
61524 #ifdef __cplusplus
61525 extern "C"
61527 #endif
61528 /* We use char because int might match the return type of a gcc2
61529 builtin and then its argument prototype would still apply. */
61530 char $ac_func ();
61531 /* The GNU C library defines this for functions which it implements
61532 to always fail with ENOSYS. Some functions are actually named
61533 something starting with __ and the normal name is an alias. */
61534 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61535 choke me
61536 #else
61537 char (*f) () = $ac_func;
61538 #endif
61539 #ifdef __cplusplus
61541 #endif
61544 main ()
61546 return f != $ac_func;
61548 return 0;
61550 _ACEOF
61551 rm -f conftest.$ac_objext conftest$ac_exeext
61552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61553 (eval $ac_link) 2>conftest.er1
61554 ac_status=$?
61555 grep -v '^ *+' conftest.er1 >conftest.err
61556 rm -f conftest.er1
61557 cat conftest.err >&5
61558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61559 (exit $ac_status); } &&
61560 { ac_try='test -z "$ac_c_werror_flag"
61561 || test ! -s conftest.err'
61562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61563 (eval $ac_try) 2>&5
61564 ac_status=$?
61565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61566 (exit $ac_status); }; } &&
61567 { ac_try='test -s conftest$ac_exeext'
61568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61569 (eval $ac_try) 2>&5
61570 ac_status=$?
61571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61572 (exit $ac_status); }; }; then
61573 eval "$as_ac_var=yes"
61574 else
61575 echo "$as_me: failed program was:" >&5
61576 sed 's/^/| /' conftest.$ac_ext >&5
61578 eval "$as_ac_var=no"
61580 rm -f conftest.err conftest.$ac_objext \
61581 conftest$ac_exeext conftest.$ac_ext
61583 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61584 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61585 if test `eval echo '${'$as_ac_var'}'` = yes; then
61586 cat >>confdefs.h <<_ACEOF
61587 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61588 _ACEOF
61591 done
61593 else
61595 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
61596 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
61597 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
61598 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
61599 echo $ECHO_N "(cached) $ECHO_C" >&6
61600 else
61604 ac_ext=cc
61605 ac_cpp='$CXXCPP $CPPFLAGS'
61606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61610 cat >conftest.$ac_ext <<_ACEOF
61611 /* confdefs.h. */
61612 _ACEOF
61613 cat confdefs.h >>conftest.$ac_ext
61614 cat >>conftest.$ac_ext <<_ACEOF
61615 /* end confdefs.h. */
61616 #include <math.h>
61617 #ifdef HAVE_IEEEFP_H
61618 #include <ieeefp.h>
61619 #endif
61622 main ()
61624 _isinff(0);
61626 return 0;
61628 _ACEOF
61629 rm -f conftest.$ac_objext
61630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61631 (eval $ac_compile) 2>conftest.er1
61632 ac_status=$?
61633 grep -v '^ *+' conftest.er1 >conftest.err
61634 rm -f conftest.er1
61635 cat conftest.err >&5
61636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61637 (exit $ac_status); } &&
61638 { ac_try='test -z "$ac_cxx_werror_flag"
61639 || test ! -s conftest.err'
61640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61641 (eval $ac_try) 2>&5
61642 ac_status=$?
61643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61644 (exit $ac_status); }; } &&
61645 { ac_try='test -s conftest.$ac_objext'
61646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61647 (eval $ac_try) 2>&5
61648 ac_status=$?
61649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61650 (exit $ac_status); }; }; then
61651 glibcxx_cv_func__isinff_use=yes
61652 else
61653 echo "$as_me: failed program was:" >&5
61654 sed 's/^/| /' conftest.$ac_ext >&5
61656 glibcxx_cv_func__isinff_use=no
61658 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61659 ac_ext=c
61660 ac_cpp='$CPP $CPPFLAGS'
61661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61669 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
61670 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
61672 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
61674 for ac_func in _isinff
61676 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61677 echo "$as_me:$LINENO: checking for $ac_func" >&5
61678 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61679 if eval "test \"\${$as_ac_var+set}\" = set"; then
61680 echo $ECHO_N "(cached) $ECHO_C" >&6
61681 else
61682 if test x$gcc_no_link = xyes; then
61683 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61684 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61685 { (exit 1); exit 1; }; }
61687 cat >conftest.$ac_ext <<_ACEOF
61688 /* confdefs.h. */
61689 _ACEOF
61690 cat confdefs.h >>conftest.$ac_ext
61691 cat >>conftest.$ac_ext <<_ACEOF
61692 /* end confdefs.h. */
61693 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61694 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61695 #define $ac_func innocuous_$ac_func
61697 /* System header to define __stub macros and hopefully few prototypes,
61698 which can conflict with char $ac_func (); below.
61699 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61700 <limits.h> exists even on freestanding compilers. */
61702 #ifdef __STDC__
61703 # include <limits.h>
61704 #else
61705 # include <assert.h>
61706 #endif
61708 #undef $ac_func
61710 /* Override any gcc2 internal prototype to avoid an error. */
61711 #ifdef __cplusplus
61712 extern "C"
61714 #endif
61715 /* We use char because int might match the return type of a gcc2
61716 builtin and then its argument prototype would still apply. */
61717 char $ac_func ();
61718 /* The GNU C library defines this for functions which it implements
61719 to always fail with ENOSYS. Some functions are actually named
61720 something starting with __ and the normal name is an alias. */
61721 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61722 choke me
61723 #else
61724 char (*f) () = $ac_func;
61725 #endif
61726 #ifdef __cplusplus
61728 #endif
61731 main ()
61733 return f != $ac_func;
61735 return 0;
61737 _ACEOF
61738 rm -f conftest.$ac_objext conftest$ac_exeext
61739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61740 (eval $ac_link) 2>conftest.er1
61741 ac_status=$?
61742 grep -v '^ *+' conftest.er1 >conftest.err
61743 rm -f conftest.er1
61744 cat conftest.err >&5
61745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61746 (exit $ac_status); } &&
61747 { ac_try='test -z "$ac_c_werror_flag"
61748 || test ! -s conftest.err'
61749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61750 (eval $ac_try) 2>&5
61751 ac_status=$?
61752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61753 (exit $ac_status); }; } &&
61754 { ac_try='test -s conftest$ac_exeext'
61755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61756 (eval $ac_try) 2>&5
61757 ac_status=$?
61758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61759 (exit $ac_status); }; }; then
61760 eval "$as_ac_var=yes"
61761 else
61762 echo "$as_me: failed program was:" >&5
61763 sed 's/^/| /' conftest.$ac_ext >&5
61765 eval "$as_ac_var=no"
61767 rm -f conftest.err conftest.$ac_objext \
61768 conftest$ac_exeext conftest.$ac_ext
61770 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61771 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61772 if test `eval echo '${'$as_ac_var'}'` = yes; then
61773 cat >>confdefs.h <<_ACEOF
61774 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61775 _ACEOF
61778 done
61788 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
61789 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
61790 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
61791 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
61792 echo $ECHO_N "(cached) $ECHO_C" >&6
61793 else
61797 ac_ext=cc
61798 ac_cpp='$CXXCPP $CPPFLAGS'
61799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61803 cat >conftest.$ac_ext <<_ACEOF
61804 /* confdefs.h. */
61805 _ACEOF
61806 cat confdefs.h >>conftest.$ac_ext
61807 cat >>conftest.$ac_ext <<_ACEOF
61808 /* end confdefs.h. */
61809 #include <math.h>
61811 main ()
61813 atan2f(0, 0);
61815 return 0;
61817 _ACEOF
61818 rm -f conftest.$ac_objext
61819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61820 (eval $ac_compile) 2>conftest.er1
61821 ac_status=$?
61822 grep -v '^ *+' conftest.er1 >conftest.err
61823 rm -f conftest.er1
61824 cat conftest.err >&5
61825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61826 (exit $ac_status); } &&
61827 { ac_try='test -z "$ac_cxx_werror_flag"
61828 || test ! -s conftest.err'
61829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61830 (eval $ac_try) 2>&5
61831 ac_status=$?
61832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61833 (exit $ac_status); }; } &&
61834 { ac_try='test -s conftest.$ac_objext'
61835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61836 (eval $ac_try) 2>&5
61837 ac_status=$?
61838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61839 (exit $ac_status); }; }; then
61840 glibcxx_cv_func_atan2f_use=yes
61841 else
61842 echo "$as_me: failed program was:" >&5
61843 sed 's/^/| /' conftest.$ac_ext >&5
61845 glibcxx_cv_func_atan2f_use=no
61847 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61848 ac_ext=c
61849 ac_cpp='$CPP $CPPFLAGS'
61850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61858 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
61859 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
61861 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
61863 for ac_func in atan2f
61865 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61866 echo "$as_me:$LINENO: checking for $ac_func" >&5
61867 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61868 if eval "test \"\${$as_ac_var+set}\" = set"; then
61869 echo $ECHO_N "(cached) $ECHO_C" >&6
61870 else
61871 if test x$gcc_no_link = xyes; then
61872 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61873 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61874 { (exit 1); exit 1; }; }
61876 cat >conftest.$ac_ext <<_ACEOF
61877 /* confdefs.h. */
61878 _ACEOF
61879 cat confdefs.h >>conftest.$ac_ext
61880 cat >>conftest.$ac_ext <<_ACEOF
61881 /* end confdefs.h. */
61882 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61883 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61884 #define $ac_func innocuous_$ac_func
61886 /* System header to define __stub macros and hopefully few prototypes,
61887 which can conflict with char $ac_func (); below.
61888 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61889 <limits.h> exists even on freestanding compilers. */
61891 #ifdef __STDC__
61892 # include <limits.h>
61893 #else
61894 # include <assert.h>
61895 #endif
61897 #undef $ac_func
61899 /* Override any gcc2 internal prototype to avoid an error. */
61900 #ifdef __cplusplus
61901 extern "C"
61903 #endif
61904 /* We use char because int might match the return type of a gcc2
61905 builtin and then its argument prototype would still apply. */
61906 char $ac_func ();
61907 /* The GNU C library defines this for functions which it implements
61908 to always fail with ENOSYS. Some functions are actually named
61909 something starting with __ and the normal name is an alias. */
61910 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61911 choke me
61912 #else
61913 char (*f) () = $ac_func;
61914 #endif
61915 #ifdef __cplusplus
61917 #endif
61920 main ()
61922 return f != $ac_func;
61924 return 0;
61926 _ACEOF
61927 rm -f conftest.$ac_objext conftest$ac_exeext
61928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61929 (eval $ac_link) 2>conftest.er1
61930 ac_status=$?
61931 grep -v '^ *+' conftest.er1 >conftest.err
61932 rm -f conftest.er1
61933 cat conftest.err >&5
61934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61935 (exit $ac_status); } &&
61936 { ac_try='test -z "$ac_c_werror_flag"
61937 || test ! -s conftest.err'
61938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61939 (eval $ac_try) 2>&5
61940 ac_status=$?
61941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61942 (exit $ac_status); }; } &&
61943 { ac_try='test -s conftest$ac_exeext'
61944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61945 (eval $ac_try) 2>&5
61946 ac_status=$?
61947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61948 (exit $ac_status); }; }; then
61949 eval "$as_ac_var=yes"
61950 else
61951 echo "$as_me: failed program was:" >&5
61952 sed 's/^/| /' conftest.$ac_ext >&5
61954 eval "$as_ac_var=no"
61956 rm -f conftest.err conftest.$ac_objext \
61957 conftest$ac_exeext conftest.$ac_ext
61959 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61960 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61961 if test `eval echo '${'$as_ac_var'}'` = yes; then
61962 cat >>confdefs.h <<_ACEOF
61963 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61964 _ACEOF
61967 done
61969 else
61971 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
61972 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
61973 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
61974 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
61975 echo $ECHO_N "(cached) $ECHO_C" >&6
61976 else
61980 ac_ext=cc
61981 ac_cpp='$CXXCPP $CPPFLAGS'
61982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61986 cat >conftest.$ac_ext <<_ACEOF
61987 /* confdefs.h. */
61988 _ACEOF
61989 cat confdefs.h >>conftest.$ac_ext
61990 cat >>conftest.$ac_ext <<_ACEOF
61991 /* end confdefs.h. */
61992 #include <math.h>
61994 main ()
61996 _atan2f(0, 0);
61998 return 0;
62000 _ACEOF
62001 rm -f conftest.$ac_objext
62002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62003 (eval $ac_compile) 2>conftest.er1
62004 ac_status=$?
62005 grep -v '^ *+' conftest.er1 >conftest.err
62006 rm -f conftest.er1
62007 cat conftest.err >&5
62008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62009 (exit $ac_status); } &&
62010 { ac_try='test -z "$ac_cxx_werror_flag"
62011 || test ! -s conftest.err'
62012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62013 (eval $ac_try) 2>&5
62014 ac_status=$?
62015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62016 (exit $ac_status); }; } &&
62017 { ac_try='test -s conftest.$ac_objext'
62018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62019 (eval $ac_try) 2>&5
62020 ac_status=$?
62021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62022 (exit $ac_status); }; }; then
62023 glibcxx_cv_func__atan2f_use=yes
62024 else
62025 echo "$as_me: failed program was:" >&5
62026 sed 's/^/| /' conftest.$ac_ext >&5
62028 glibcxx_cv_func__atan2f_use=no
62030 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62031 ac_ext=c
62032 ac_cpp='$CPP $CPPFLAGS'
62033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62041 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
62042 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
62044 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
62046 for ac_func in _atan2f
62048 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62049 echo "$as_me:$LINENO: checking for $ac_func" >&5
62050 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62051 if eval "test \"\${$as_ac_var+set}\" = set"; then
62052 echo $ECHO_N "(cached) $ECHO_C" >&6
62053 else
62054 if test x$gcc_no_link = xyes; then
62055 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62056 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62057 { (exit 1); exit 1; }; }
62059 cat >conftest.$ac_ext <<_ACEOF
62060 /* confdefs.h. */
62061 _ACEOF
62062 cat confdefs.h >>conftest.$ac_ext
62063 cat >>conftest.$ac_ext <<_ACEOF
62064 /* end confdefs.h. */
62065 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62066 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62067 #define $ac_func innocuous_$ac_func
62069 /* System header to define __stub macros and hopefully few prototypes,
62070 which can conflict with char $ac_func (); below.
62071 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62072 <limits.h> exists even on freestanding compilers. */
62074 #ifdef __STDC__
62075 # include <limits.h>
62076 #else
62077 # include <assert.h>
62078 #endif
62080 #undef $ac_func
62082 /* Override any gcc2 internal prototype to avoid an error. */
62083 #ifdef __cplusplus
62084 extern "C"
62086 #endif
62087 /* We use char because int might match the return type of a gcc2
62088 builtin and then its argument prototype would still apply. */
62089 char $ac_func ();
62090 /* The GNU C library defines this for functions which it implements
62091 to always fail with ENOSYS. Some functions are actually named
62092 something starting with __ and the normal name is an alias. */
62093 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62094 choke me
62095 #else
62096 char (*f) () = $ac_func;
62097 #endif
62098 #ifdef __cplusplus
62100 #endif
62103 main ()
62105 return f != $ac_func;
62107 return 0;
62109 _ACEOF
62110 rm -f conftest.$ac_objext conftest$ac_exeext
62111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62112 (eval $ac_link) 2>conftest.er1
62113 ac_status=$?
62114 grep -v '^ *+' conftest.er1 >conftest.err
62115 rm -f conftest.er1
62116 cat conftest.err >&5
62117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62118 (exit $ac_status); } &&
62119 { ac_try='test -z "$ac_c_werror_flag"
62120 || test ! -s conftest.err'
62121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62122 (eval $ac_try) 2>&5
62123 ac_status=$?
62124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62125 (exit $ac_status); }; } &&
62126 { ac_try='test -s conftest$ac_exeext'
62127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62128 (eval $ac_try) 2>&5
62129 ac_status=$?
62130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62131 (exit $ac_status); }; }; then
62132 eval "$as_ac_var=yes"
62133 else
62134 echo "$as_me: failed program was:" >&5
62135 sed 's/^/| /' conftest.$ac_ext >&5
62137 eval "$as_ac_var=no"
62139 rm -f conftest.err conftest.$ac_objext \
62140 conftest$ac_exeext conftest.$ac_ext
62142 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62143 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62144 if test `eval echo '${'$as_ac_var'}'` = yes; then
62145 cat >>confdefs.h <<_ACEOF
62146 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62147 _ACEOF
62150 done
62160 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
62161 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
62162 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
62163 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
62164 echo $ECHO_N "(cached) $ECHO_C" >&6
62165 else
62169 ac_ext=cc
62170 ac_cpp='$CXXCPP $CPPFLAGS'
62171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62175 cat >conftest.$ac_ext <<_ACEOF
62176 /* confdefs.h. */
62177 _ACEOF
62178 cat confdefs.h >>conftest.$ac_ext
62179 cat >>conftest.$ac_ext <<_ACEOF
62180 /* end confdefs.h. */
62181 #include <math.h>
62182 #ifdef HAVE_IEEEFP_H
62183 #include <ieeefp.h>
62184 #endif
62187 main ()
62189 fabsf(0);
62191 return 0;
62193 _ACEOF
62194 rm -f conftest.$ac_objext
62195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62196 (eval $ac_compile) 2>conftest.er1
62197 ac_status=$?
62198 grep -v '^ *+' conftest.er1 >conftest.err
62199 rm -f conftest.er1
62200 cat conftest.err >&5
62201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62202 (exit $ac_status); } &&
62203 { ac_try='test -z "$ac_cxx_werror_flag"
62204 || test ! -s conftest.err'
62205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62206 (eval $ac_try) 2>&5
62207 ac_status=$?
62208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62209 (exit $ac_status); }; } &&
62210 { ac_try='test -s conftest.$ac_objext'
62211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62212 (eval $ac_try) 2>&5
62213 ac_status=$?
62214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62215 (exit $ac_status); }; }; then
62216 glibcxx_cv_func_fabsf_use=yes
62217 else
62218 echo "$as_me: failed program was:" >&5
62219 sed 's/^/| /' conftest.$ac_ext >&5
62221 glibcxx_cv_func_fabsf_use=no
62223 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62224 ac_ext=c
62225 ac_cpp='$CPP $CPPFLAGS'
62226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62234 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
62235 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
62237 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
62239 for ac_func in fabsf
62241 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62242 echo "$as_me:$LINENO: checking for $ac_func" >&5
62243 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62244 if eval "test \"\${$as_ac_var+set}\" = set"; then
62245 echo $ECHO_N "(cached) $ECHO_C" >&6
62246 else
62247 if test x$gcc_no_link = xyes; then
62248 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62249 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62250 { (exit 1); exit 1; }; }
62252 cat >conftest.$ac_ext <<_ACEOF
62253 /* confdefs.h. */
62254 _ACEOF
62255 cat confdefs.h >>conftest.$ac_ext
62256 cat >>conftest.$ac_ext <<_ACEOF
62257 /* end confdefs.h. */
62258 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62259 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62260 #define $ac_func innocuous_$ac_func
62262 /* System header to define __stub macros and hopefully few prototypes,
62263 which can conflict with char $ac_func (); below.
62264 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62265 <limits.h> exists even on freestanding compilers. */
62267 #ifdef __STDC__
62268 # include <limits.h>
62269 #else
62270 # include <assert.h>
62271 #endif
62273 #undef $ac_func
62275 /* Override any gcc2 internal prototype to avoid an error. */
62276 #ifdef __cplusplus
62277 extern "C"
62279 #endif
62280 /* We use char because int might match the return type of a gcc2
62281 builtin and then its argument prototype would still apply. */
62282 char $ac_func ();
62283 /* The GNU C library defines this for functions which it implements
62284 to always fail with ENOSYS. Some functions are actually named
62285 something starting with __ and the normal name is an alias. */
62286 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62287 choke me
62288 #else
62289 char (*f) () = $ac_func;
62290 #endif
62291 #ifdef __cplusplus
62293 #endif
62296 main ()
62298 return f != $ac_func;
62300 return 0;
62302 _ACEOF
62303 rm -f conftest.$ac_objext conftest$ac_exeext
62304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62305 (eval $ac_link) 2>conftest.er1
62306 ac_status=$?
62307 grep -v '^ *+' conftest.er1 >conftest.err
62308 rm -f conftest.er1
62309 cat conftest.err >&5
62310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62311 (exit $ac_status); } &&
62312 { ac_try='test -z "$ac_c_werror_flag"
62313 || test ! -s conftest.err'
62314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62315 (eval $ac_try) 2>&5
62316 ac_status=$?
62317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62318 (exit $ac_status); }; } &&
62319 { ac_try='test -s conftest$ac_exeext'
62320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62321 (eval $ac_try) 2>&5
62322 ac_status=$?
62323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62324 (exit $ac_status); }; }; then
62325 eval "$as_ac_var=yes"
62326 else
62327 echo "$as_me: failed program was:" >&5
62328 sed 's/^/| /' conftest.$ac_ext >&5
62330 eval "$as_ac_var=no"
62332 rm -f conftest.err conftest.$ac_objext \
62333 conftest$ac_exeext conftest.$ac_ext
62335 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62336 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62337 if test `eval echo '${'$as_ac_var'}'` = yes; then
62338 cat >>confdefs.h <<_ACEOF
62339 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62340 _ACEOF
62343 done
62345 else
62347 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
62348 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
62349 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
62350 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
62351 echo $ECHO_N "(cached) $ECHO_C" >&6
62352 else
62356 ac_ext=cc
62357 ac_cpp='$CXXCPP $CPPFLAGS'
62358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62362 cat >conftest.$ac_ext <<_ACEOF
62363 /* confdefs.h. */
62364 _ACEOF
62365 cat confdefs.h >>conftest.$ac_ext
62366 cat >>conftest.$ac_ext <<_ACEOF
62367 /* end confdefs.h. */
62368 #include <math.h>
62369 #ifdef HAVE_IEEEFP_H
62370 #include <ieeefp.h>
62371 #endif
62374 main ()
62376 _fabsf(0);
62378 return 0;
62380 _ACEOF
62381 rm -f conftest.$ac_objext
62382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62383 (eval $ac_compile) 2>conftest.er1
62384 ac_status=$?
62385 grep -v '^ *+' conftest.er1 >conftest.err
62386 rm -f conftest.er1
62387 cat conftest.err >&5
62388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62389 (exit $ac_status); } &&
62390 { ac_try='test -z "$ac_cxx_werror_flag"
62391 || test ! -s conftest.err'
62392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62393 (eval $ac_try) 2>&5
62394 ac_status=$?
62395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62396 (exit $ac_status); }; } &&
62397 { ac_try='test -s conftest.$ac_objext'
62398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62399 (eval $ac_try) 2>&5
62400 ac_status=$?
62401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62402 (exit $ac_status); }; }; then
62403 glibcxx_cv_func__fabsf_use=yes
62404 else
62405 echo "$as_me: failed program was:" >&5
62406 sed 's/^/| /' conftest.$ac_ext >&5
62408 glibcxx_cv_func__fabsf_use=no
62410 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62411 ac_ext=c
62412 ac_cpp='$CPP $CPPFLAGS'
62413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62421 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
62422 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
62424 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
62426 for ac_func in _fabsf
62428 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62429 echo "$as_me:$LINENO: checking for $ac_func" >&5
62430 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62431 if eval "test \"\${$as_ac_var+set}\" = set"; then
62432 echo $ECHO_N "(cached) $ECHO_C" >&6
62433 else
62434 if test x$gcc_no_link = xyes; then
62435 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62436 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62437 { (exit 1); exit 1; }; }
62439 cat >conftest.$ac_ext <<_ACEOF
62440 /* confdefs.h. */
62441 _ACEOF
62442 cat confdefs.h >>conftest.$ac_ext
62443 cat >>conftest.$ac_ext <<_ACEOF
62444 /* end confdefs.h. */
62445 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62446 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62447 #define $ac_func innocuous_$ac_func
62449 /* System header to define __stub macros and hopefully few prototypes,
62450 which can conflict with char $ac_func (); below.
62451 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62452 <limits.h> exists even on freestanding compilers. */
62454 #ifdef __STDC__
62455 # include <limits.h>
62456 #else
62457 # include <assert.h>
62458 #endif
62460 #undef $ac_func
62462 /* Override any gcc2 internal prototype to avoid an error. */
62463 #ifdef __cplusplus
62464 extern "C"
62466 #endif
62467 /* We use char because int might match the return type of a gcc2
62468 builtin and then its argument prototype would still apply. */
62469 char $ac_func ();
62470 /* The GNU C library defines this for functions which it implements
62471 to always fail with ENOSYS. Some functions are actually named
62472 something starting with __ and the normal name is an alias. */
62473 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62474 choke me
62475 #else
62476 char (*f) () = $ac_func;
62477 #endif
62478 #ifdef __cplusplus
62480 #endif
62483 main ()
62485 return f != $ac_func;
62487 return 0;
62489 _ACEOF
62490 rm -f conftest.$ac_objext conftest$ac_exeext
62491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62492 (eval $ac_link) 2>conftest.er1
62493 ac_status=$?
62494 grep -v '^ *+' conftest.er1 >conftest.err
62495 rm -f conftest.er1
62496 cat conftest.err >&5
62497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62498 (exit $ac_status); } &&
62499 { ac_try='test -z "$ac_c_werror_flag"
62500 || test ! -s conftest.err'
62501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62502 (eval $ac_try) 2>&5
62503 ac_status=$?
62504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62505 (exit $ac_status); }; } &&
62506 { ac_try='test -s conftest$ac_exeext'
62507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62508 (eval $ac_try) 2>&5
62509 ac_status=$?
62510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62511 (exit $ac_status); }; }; then
62512 eval "$as_ac_var=yes"
62513 else
62514 echo "$as_me: failed program was:" >&5
62515 sed 's/^/| /' conftest.$ac_ext >&5
62517 eval "$as_ac_var=no"
62519 rm -f conftest.err conftest.$ac_objext \
62520 conftest$ac_exeext conftest.$ac_ext
62522 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62523 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62524 if test `eval echo '${'$as_ac_var'}'` = yes; then
62525 cat >>confdefs.h <<_ACEOF
62526 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62527 _ACEOF
62530 done
62540 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
62541 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
62542 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
62543 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
62544 echo $ECHO_N "(cached) $ECHO_C" >&6
62545 else
62549 ac_ext=cc
62550 ac_cpp='$CXXCPP $CPPFLAGS'
62551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62555 cat >conftest.$ac_ext <<_ACEOF
62556 /* confdefs.h. */
62557 _ACEOF
62558 cat confdefs.h >>conftest.$ac_ext
62559 cat >>conftest.$ac_ext <<_ACEOF
62560 /* end confdefs.h. */
62561 #include <math.h>
62563 main ()
62565 fmodf(0, 0);
62567 return 0;
62569 _ACEOF
62570 rm -f conftest.$ac_objext
62571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62572 (eval $ac_compile) 2>conftest.er1
62573 ac_status=$?
62574 grep -v '^ *+' conftest.er1 >conftest.err
62575 rm -f conftest.er1
62576 cat conftest.err >&5
62577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62578 (exit $ac_status); } &&
62579 { ac_try='test -z "$ac_cxx_werror_flag"
62580 || test ! -s conftest.err'
62581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62582 (eval $ac_try) 2>&5
62583 ac_status=$?
62584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62585 (exit $ac_status); }; } &&
62586 { ac_try='test -s conftest.$ac_objext'
62587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62588 (eval $ac_try) 2>&5
62589 ac_status=$?
62590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62591 (exit $ac_status); }; }; then
62592 glibcxx_cv_func_fmodf_use=yes
62593 else
62594 echo "$as_me: failed program was:" >&5
62595 sed 's/^/| /' conftest.$ac_ext >&5
62597 glibcxx_cv_func_fmodf_use=no
62599 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62600 ac_ext=c
62601 ac_cpp='$CPP $CPPFLAGS'
62602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62610 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
62611 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
62613 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
62615 for ac_func in fmodf
62617 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62618 echo "$as_me:$LINENO: checking for $ac_func" >&5
62619 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62620 if eval "test \"\${$as_ac_var+set}\" = set"; then
62621 echo $ECHO_N "(cached) $ECHO_C" >&6
62622 else
62623 if test x$gcc_no_link = xyes; then
62624 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62625 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62626 { (exit 1); exit 1; }; }
62628 cat >conftest.$ac_ext <<_ACEOF
62629 /* confdefs.h. */
62630 _ACEOF
62631 cat confdefs.h >>conftest.$ac_ext
62632 cat >>conftest.$ac_ext <<_ACEOF
62633 /* end confdefs.h. */
62634 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62635 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62636 #define $ac_func innocuous_$ac_func
62638 /* System header to define __stub macros and hopefully few prototypes,
62639 which can conflict with char $ac_func (); below.
62640 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62641 <limits.h> exists even on freestanding compilers. */
62643 #ifdef __STDC__
62644 # include <limits.h>
62645 #else
62646 # include <assert.h>
62647 #endif
62649 #undef $ac_func
62651 /* Override any gcc2 internal prototype to avoid an error. */
62652 #ifdef __cplusplus
62653 extern "C"
62655 #endif
62656 /* We use char because int might match the return type of a gcc2
62657 builtin and then its argument prototype would still apply. */
62658 char $ac_func ();
62659 /* The GNU C library defines this for functions which it implements
62660 to always fail with ENOSYS. Some functions are actually named
62661 something starting with __ and the normal name is an alias. */
62662 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62663 choke me
62664 #else
62665 char (*f) () = $ac_func;
62666 #endif
62667 #ifdef __cplusplus
62669 #endif
62672 main ()
62674 return f != $ac_func;
62676 return 0;
62678 _ACEOF
62679 rm -f conftest.$ac_objext conftest$ac_exeext
62680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62681 (eval $ac_link) 2>conftest.er1
62682 ac_status=$?
62683 grep -v '^ *+' conftest.er1 >conftest.err
62684 rm -f conftest.er1
62685 cat conftest.err >&5
62686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62687 (exit $ac_status); } &&
62688 { ac_try='test -z "$ac_c_werror_flag"
62689 || test ! -s conftest.err'
62690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62691 (eval $ac_try) 2>&5
62692 ac_status=$?
62693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62694 (exit $ac_status); }; } &&
62695 { ac_try='test -s conftest$ac_exeext'
62696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62697 (eval $ac_try) 2>&5
62698 ac_status=$?
62699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62700 (exit $ac_status); }; }; then
62701 eval "$as_ac_var=yes"
62702 else
62703 echo "$as_me: failed program was:" >&5
62704 sed 's/^/| /' conftest.$ac_ext >&5
62706 eval "$as_ac_var=no"
62708 rm -f conftest.err conftest.$ac_objext \
62709 conftest$ac_exeext conftest.$ac_ext
62711 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62712 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62713 if test `eval echo '${'$as_ac_var'}'` = yes; then
62714 cat >>confdefs.h <<_ACEOF
62715 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62716 _ACEOF
62719 done
62721 else
62723 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
62724 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
62725 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
62726 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
62727 echo $ECHO_N "(cached) $ECHO_C" >&6
62728 else
62732 ac_ext=cc
62733 ac_cpp='$CXXCPP $CPPFLAGS'
62734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62738 cat >conftest.$ac_ext <<_ACEOF
62739 /* confdefs.h. */
62740 _ACEOF
62741 cat confdefs.h >>conftest.$ac_ext
62742 cat >>conftest.$ac_ext <<_ACEOF
62743 /* end confdefs.h. */
62744 #include <math.h>
62746 main ()
62748 _fmodf(0, 0);
62750 return 0;
62752 _ACEOF
62753 rm -f conftest.$ac_objext
62754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62755 (eval $ac_compile) 2>conftest.er1
62756 ac_status=$?
62757 grep -v '^ *+' conftest.er1 >conftest.err
62758 rm -f conftest.er1
62759 cat conftest.err >&5
62760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62761 (exit $ac_status); } &&
62762 { ac_try='test -z "$ac_cxx_werror_flag"
62763 || test ! -s conftest.err'
62764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62765 (eval $ac_try) 2>&5
62766 ac_status=$?
62767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62768 (exit $ac_status); }; } &&
62769 { ac_try='test -s conftest.$ac_objext'
62770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62771 (eval $ac_try) 2>&5
62772 ac_status=$?
62773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62774 (exit $ac_status); }; }; then
62775 glibcxx_cv_func__fmodf_use=yes
62776 else
62777 echo "$as_me: failed program was:" >&5
62778 sed 's/^/| /' conftest.$ac_ext >&5
62780 glibcxx_cv_func__fmodf_use=no
62782 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62783 ac_ext=c
62784 ac_cpp='$CPP $CPPFLAGS'
62785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62793 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
62794 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
62796 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
62798 for ac_func in _fmodf
62800 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62801 echo "$as_me:$LINENO: checking for $ac_func" >&5
62802 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62803 if eval "test \"\${$as_ac_var+set}\" = set"; then
62804 echo $ECHO_N "(cached) $ECHO_C" >&6
62805 else
62806 if test x$gcc_no_link = xyes; then
62807 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62808 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62809 { (exit 1); exit 1; }; }
62811 cat >conftest.$ac_ext <<_ACEOF
62812 /* confdefs.h. */
62813 _ACEOF
62814 cat confdefs.h >>conftest.$ac_ext
62815 cat >>conftest.$ac_ext <<_ACEOF
62816 /* end confdefs.h. */
62817 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62818 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62819 #define $ac_func innocuous_$ac_func
62821 /* System header to define __stub macros and hopefully few prototypes,
62822 which can conflict with char $ac_func (); below.
62823 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62824 <limits.h> exists even on freestanding compilers. */
62826 #ifdef __STDC__
62827 # include <limits.h>
62828 #else
62829 # include <assert.h>
62830 #endif
62832 #undef $ac_func
62834 /* Override any gcc2 internal prototype to avoid an error. */
62835 #ifdef __cplusplus
62836 extern "C"
62838 #endif
62839 /* We use char because int might match the return type of a gcc2
62840 builtin and then its argument prototype would still apply. */
62841 char $ac_func ();
62842 /* The GNU C library defines this for functions which it implements
62843 to always fail with ENOSYS. Some functions are actually named
62844 something starting with __ and the normal name is an alias. */
62845 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62846 choke me
62847 #else
62848 char (*f) () = $ac_func;
62849 #endif
62850 #ifdef __cplusplus
62852 #endif
62855 main ()
62857 return f != $ac_func;
62859 return 0;
62861 _ACEOF
62862 rm -f conftest.$ac_objext conftest$ac_exeext
62863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62864 (eval $ac_link) 2>conftest.er1
62865 ac_status=$?
62866 grep -v '^ *+' conftest.er1 >conftest.err
62867 rm -f conftest.er1
62868 cat conftest.err >&5
62869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62870 (exit $ac_status); } &&
62871 { ac_try='test -z "$ac_c_werror_flag"
62872 || test ! -s conftest.err'
62873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62874 (eval $ac_try) 2>&5
62875 ac_status=$?
62876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62877 (exit $ac_status); }; } &&
62878 { ac_try='test -s conftest$ac_exeext'
62879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62880 (eval $ac_try) 2>&5
62881 ac_status=$?
62882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62883 (exit $ac_status); }; }; then
62884 eval "$as_ac_var=yes"
62885 else
62886 echo "$as_me: failed program was:" >&5
62887 sed 's/^/| /' conftest.$ac_ext >&5
62889 eval "$as_ac_var=no"
62891 rm -f conftest.err conftest.$ac_objext \
62892 conftest$ac_exeext conftest.$ac_ext
62894 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62895 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62896 if test `eval echo '${'$as_ac_var'}'` = yes; then
62897 cat >>confdefs.h <<_ACEOF
62898 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62899 _ACEOF
62902 done
62912 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
62913 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
62914 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
62915 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
62916 echo $ECHO_N "(cached) $ECHO_C" >&6
62917 else
62921 ac_ext=cc
62922 ac_cpp='$CXXCPP $CPPFLAGS'
62923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62927 cat >conftest.$ac_ext <<_ACEOF
62928 /* confdefs.h. */
62929 _ACEOF
62930 cat confdefs.h >>conftest.$ac_ext
62931 cat >>conftest.$ac_ext <<_ACEOF
62932 /* end confdefs.h. */
62933 #include <math.h>
62935 main ()
62937 frexpf(0, 0);
62939 return 0;
62941 _ACEOF
62942 rm -f conftest.$ac_objext
62943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62944 (eval $ac_compile) 2>conftest.er1
62945 ac_status=$?
62946 grep -v '^ *+' conftest.er1 >conftest.err
62947 rm -f conftest.er1
62948 cat conftest.err >&5
62949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62950 (exit $ac_status); } &&
62951 { ac_try='test -z "$ac_cxx_werror_flag"
62952 || test ! -s conftest.err'
62953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62954 (eval $ac_try) 2>&5
62955 ac_status=$?
62956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62957 (exit $ac_status); }; } &&
62958 { ac_try='test -s conftest.$ac_objext'
62959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62960 (eval $ac_try) 2>&5
62961 ac_status=$?
62962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62963 (exit $ac_status); }; }; then
62964 glibcxx_cv_func_frexpf_use=yes
62965 else
62966 echo "$as_me: failed program was:" >&5
62967 sed 's/^/| /' conftest.$ac_ext >&5
62969 glibcxx_cv_func_frexpf_use=no
62971 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62972 ac_ext=c
62973 ac_cpp='$CPP $CPPFLAGS'
62974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62982 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
62983 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
62985 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
62987 for ac_func in frexpf
62989 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62990 echo "$as_me:$LINENO: checking for $ac_func" >&5
62991 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62992 if eval "test \"\${$as_ac_var+set}\" = set"; then
62993 echo $ECHO_N "(cached) $ECHO_C" >&6
62994 else
62995 if test x$gcc_no_link = xyes; then
62996 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62997 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62998 { (exit 1); exit 1; }; }
63000 cat >conftest.$ac_ext <<_ACEOF
63001 /* confdefs.h. */
63002 _ACEOF
63003 cat confdefs.h >>conftest.$ac_ext
63004 cat >>conftest.$ac_ext <<_ACEOF
63005 /* end confdefs.h. */
63006 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63007 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63008 #define $ac_func innocuous_$ac_func
63010 /* System header to define __stub macros and hopefully few prototypes,
63011 which can conflict with char $ac_func (); below.
63012 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63013 <limits.h> exists even on freestanding compilers. */
63015 #ifdef __STDC__
63016 # include <limits.h>
63017 #else
63018 # include <assert.h>
63019 #endif
63021 #undef $ac_func
63023 /* Override any gcc2 internal prototype to avoid an error. */
63024 #ifdef __cplusplus
63025 extern "C"
63027 #endif
63028 /* We use char because int might match the return type of a gcc2
63029 builtin and then its argument prototype would still apply. */
63030 char $ac_func ();
63031 /* The GNU C library defines this for functions which it implements
63032 to always fail with ENOSYS. Some functions are actually named
63033 something starting with __ and the normal name is an alias. */
63034 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63035 choke me
63036 #else
63037 char (*f) () = $ac_func;
63038 #endif
63039 #ifdef __cplusplus
63041 #endif
63044 main ()
63046 return f != $ac_func;
63048 return 0;
63050 _ACEOF
63051 rm -f conftest.$ac_objext conftest$ac_exeext
63052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63053 (eval $ac_link) 2>conftest.er1
63054 ac_status=$?
63055 grep -v '^ *+' conftest.er1 >conftest.err
63056 rm -f conftest.er1
63057 cat conftest.err >&5
63058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63059 (exit $ac_status); } &&
63060 { ac_try='test -z "$ac_c_werror_flag"
63061 || test ! -s conftest.err'
63062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63063 (eval $ac_try) 2>&5
63064 ac_status=$?
63065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63066 (exit $ac_status); }; } &&
63067 { ac_try='test -s conftest$ac_exeext'
63068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63069 (eval $ac_try) 2>&5
63070 ac_status=$?
63071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63072 (exit $ac_status); }; }; then
63073 eval "$as_ac_var=yes"
63074 else
63075 echo "$as_me: failed program was:" >&5
63076 sed 's/^/| /' conftest.$ac_ext >&5
63078 eval "$as_ac_var=no"
63080 rm -f conftest.err conftest.$ac_objext \
63081 conftest$ac_exeext conftest.$ac_ext
63083 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63084 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63085 if test `eval echo '${'$as_ac_var'}'` = yes; then
63086 cat >>confdefs.h <<_ACEOF
63087 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63088 _ACEOF
63091 done
63093 else
63095 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
63096 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
63097 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
63098 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
63099 echo $ECHO_N "(cached) $ECHO_C" >&6
63100 else
63104 ac_ext=cc
63105 ac_cpp='$CXXCPP $CPPFLAGS'
63106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63110 cat >conftest.$ac_ext <<_ACEOF
63111 /* confdefs.h. */
63112 _ACEOF
63113 cat confdefs.h >>conftest.$ac_ext
63114 cat >>conftest.$ac_ext <<_ACEOF
63115 /* end confdefs.h. */
63116 #include <math.h>
63118 main ()
63120 _frexpf(0, 0);
63122 return 0;
63124 _ACEOF
63125 rm -f conftest.$ac_objext
63126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63127 (eval $ac_compile) 2>conftest.er1
63128 ac_status=$?
63129 grep -v '^ *+' conftest.er1 >conftest.err
63130 rm -f conftest.er1
63131 cat conftest.err >&5
63132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63133 (exit $ac_status); } &&
63134 { ac_try='test -z "$ac_cxx_werror_flag"
63135 || test ! -s conftest.err'
63136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63137 (eval $ac_try) 2>&5
63138 ac_status=$?
63139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63140 (exit $ac_status); }; } &&
63141 { ac_try='test -s conftest.$ac_objext'
63142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63143 (eval $ac_try) 2>&5
63144 ac_status=$?
63145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63146 (exit $ac_status); }; }; then
63147 glibcxx_cv_func__frexpf_use=yes
63148 else
63149 echo "$as_me: failed program was:" >&5
63150 sed 's/^/| /' conftest.$ac_ext >&5
63152 glibcxx_cv_func__frexpf_use=no
63154 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63155 ac_ext=c
63156 ac_cpp='$CPP $CPPFLAGS'
63157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63165 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
63166 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
63168 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
63170 for ac_func in _frexpf
63172 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63173 echo "$as_me:$LINENO: checking for $ac_func" >&5
63174 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63175 if eval "test \"\${$as_ac_var+set}\" = set"; then
63176 echo $ECHO_N "(cached) $ECHO_C" >&6
63177 else
63178 if test x$gcc_no_link = xyes; then
63179 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63180 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63181 { (exit 1); exit 1; }; }
63183 cat >conftest.$ac_ext <<_ACEOF
63184 /* confdefs.h. */
63185 _ACEOF
63186 cat confdefs.h >>conftest.$ac_ext
63187 cat >>conftest.$ac_ext <<_ACEOF
63188 /* end confdefs.h. */
63189 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63190 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63191 #define $ac_func innocuous_$ac_func
63193 /* System header to define __stub macros and hopefully few prototypes,
63194 which can conflict with char $ac_func (); below.
63195 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63196 <limits.h> exists even on freestanding compilers. */
63198 #ifdef __STDC__
63199 # include <limits.h>
63200 #else
63201 # include <assert.h>
63202 #endif
63204 #undef $ac_func
63206 /* Override any gcc2 internal prototype to avoid an error. */
63207 #ifdef __cplusplus
63208 extern "C"
63210 #endif
63211 /* We use char because int might match the return type of a gcc2
63212 builtin and then its argument prototype would still apply. */
63213 char $ac_func ();
63214 /* The GNU C library defines this for functions which it implements
63215 to always fail with ENOSYS. Some functions are actually named
63216 something starting with __ and the normal name is an alias. */
63217 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63218 choke me
63219 #else
63220 char (*f) () = $ac_func;
63221 #endif
63222 #ifdef __cplusplus
63224 #endif
63227 main ()
63229 return f != $ac_func;
63231 return 0;
63233 _ACEOF
63234 rm -f conftest.$ac_objext conftest$ac_exeext
63235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63236 (eval $ac_link) 2>conftest.er1
63237 ac_status=$?
63238 grep -v '^ *+' conftest.er1 >conftest.err
63239 rm -f conftest.er1
63240 cat conftest.err >&5
63241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63242 (exit $ac_status); } &&
63243 { ac_try='test -z "$ac_c_werror_flag"
63244 || test ! -s conftest.err'
63245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63246 (eval $ac_try) 2>&5
63247 ac_status=$?
63248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63249 (exit $ac_status); }; } &&
63250 { ac_try='test -s conftest$ac_exeext'
63251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63252 (eval $ac_try) 2>&5
63253 ac_status=$?
63254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63255 (exit $ac_status); }; }; then
63256 eval "$as_ac_var=yes"
63257 else
63258 echo "$as_me: failed program was:" >&5
63259 sed 's/^/| /' conftest.$ac_ext >&5
63261 eval "$as_ac_var=no"
63263 rm -f conftest.err conftest.$ac_objext \
63264 conftest$ac_exeext conftest.$ac_ext
63266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63267 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63268 if test `eval echo '${'$as_ac_var'}'` = yes; then
63269 cat >>confdefs.h <<_ACEOF
63270 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63271 _ACEOF
63274 done
63284 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
63285 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
63286 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
63287 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
63288 echo $ECHO_N "(cached) $ECHO_C" >&6
63289 else
63293 ac_ext=cc
63294 ac_cpp='$CXXCPP $CPPFLAGS'
63295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63299 cat >conftest.$ac_ext <<_ACEOF
63300 /* confdefs.h. */
63301 _ACEOF
63302 cat confdefs.h >>conftest.$ac_ext
63303 cat >>conftest.$ac_ext <<_ACEOF
63304 /* end confdefs.h. */
63305 #include <math.h>
63307 main ()
63309 hypotf(0, 0);
63311 return 0;
63313 _ACEOF
63314 rm -f conftest.$ac_objext
63315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63316 (eval $ac_compile) 2>conftest.er1
63317 ac_status=$?
63318 grep -v '^ *+' conftest.er1 >conftest.err
63319 rm -f conftest.er1
63320 cat conftest.err >&5
63321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63322 (exit $ac_status); } &&
63323 { ac_try='test -z "$ac_cxx_werror_flag"
63324 || test ! -s conftest.err'
63325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63326 (eval $ac_try) 2>&5
63327 ac_status=$?
63328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63329 (exit $ac_status); }; } &&
63330 { ac_try='test -s conftest.$ac_objext'
63331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63332 (eval $ac_try) 2>&5
63333 ac_status=$?
63334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63335 (exit $ac_status); }; }; then
63336 glibcxx_cv_func_hypotf_use=yes
63337 else
63338 echo "$as_me: failed program was:" >&5
63339 sed 's/^/| /' conftest.$ac_ext >&5
63341 glibcxx_cv_func_hypotf_use=no
63343 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63344 ac_ext=c
63345 ac_cpp='$CPP $CPPFLAGS'
63346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63354 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
63355 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
63357 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
63359 for ac_func in hypotf
63361 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63362 echo "$as_me:$LINENO: checking for $ac_func" >&5
63363 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63364 if eval "test \"\${$as_ac_var+set}\" = set"; then
63365 echo $ECHO_N "(cached) $ECHO_C" >&6
63366 else
63367 if test x$gcc_no_link = xyes; then
63368 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63369 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63370 { (exit 1); exit 1; }; }
63372 cat >conftest.$ac_ext <<_ACEOF
63373 /* confdefs.h. */
63374 _ACEOF
63375 cat confdefs.h >>conftest.$ac_ext
63376 cat >>conftest.$ac_ext <<_ACEOF
63377 /* end confdefs.h. */
63378 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63379 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63380 #define $ac_func innocuous_$ac_func
63382 /* System header to define __stub macros and hopefully few prototypes,
63383 which can conflict with char $ac_func (); below.
63384 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63385 <limits.h> exists even on freestanding compilers. */
63387 #ifdef __STDC__
63388 # include <limits.h>
63389 #else
63390 # include <assert.h>
63391 #endif
63393 #undef $ac_func
63395 /* Override any gcc2 internal prototype to avoid an error. */
63396 #ifdef __cplusplus
63397 extern "C"
63399 #endif
63400 /* We use char because int might match the return type of a gcc2
63401 builtin and then its argument prototype would still apply. */
63402 char $ac_func ();
63403 /* The GNU C library defines this for functions which it implements
63404 to always fail with ENOSYS. Some functions are actually named
63405 something starting with __ and the normal name is an alias. */
63406 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63407 choke me
63408 #else
63409 char (*f) () = $ac_func;
63410 #endif
63411 #ifdef __cplusplus
63413 #endif
63416 main ()
63418 return f != $ac_func;
63420 return 0;
63422 _ACEOF
63423 rm -f conftest.$ac_objext conftest$ac_exeext
63424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63425 (eval $ac_link) 2>conftest.er1
63426 ac_status=$?
63427 grep -v '^ *+' conftest.er1 >conftest.err
63428 rm -f conftest.er1
63429 cat conftest.err >&5
63430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63431 (exit $ac_status); } &&
63432 { ac_try='test -z "$ac_c_werror_flag"
63433 || test ! -s conftest.err'
63434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63435 (eval $ac_try) 2>&5
63436 ac_status=$?
63437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63438 (exit $ac_status); }; } &&
63439 { ac_try='test -s conftest$ac_exeext'
63440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63441 (eval $ac_try) 2>&5
63442 ac_status=$?
63443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63444 (exit $ac_status); }; }; then
63445 eval "$as_ac_var=yes"
63446 else
63447 echo "$as_me: failed program was:" >&5
63448 sed 's/^/| /' conftest.$ac_ext >&5
63450 eval "$as_ac_var=no"
63452 rm -f conftest.err conftest.$ac_objext \
63453 conftest$ac_exeext conftest.$ac_ext
63455 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63456 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63457 if test `eval echo '${'$as_ac_var'}'` = yes; then
63458 cat >>confdefs.h <<_ACEOF
63459 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63460 _ACEOF
63463 done
63465 else
63467 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
63468 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
63469 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
63470 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
63471 echo $ECHO_N "(cached) $ECHO_C" >&6
63472 else
63476 ac_ext=cc
63477 ac_cpp='$CXXCPP $CPPFLAGS'
63478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63482 cat >conftest.$ac_ext <<_ACEOF
63483 /* confdefs.h. */
63484 _ACEOF
63485 cat confdefs.h >>conftest.$ac_ext
63486 cat >>conftest.$ac_ext <<_ACEOF
63487 /* end confdefs.h. */
63488 #include <math.h>
63490 main ()
63492 _hypotf(0, 0);
63494 return 0;
63496 _ACEOF
63497 rm -f conftest.$ac_objext
63498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63499 (eval $ac_compile) 2>conftest.er1
63500 ac_status=$?
63501 grep -v '^ *+' conftest.er1 >conftest.err
63502 rm -f conftest.er1
63503 cat conftest.err >&5
63504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63505 (exit $ac_status); } &&
63506 { ac_try='test -z "$ac_cxx_werror_flag"
63507 || test ! -s conftest.err'
63508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63509 (eval $ac_try) 2>&5
63510 ac_status=$?
63511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63512 (exit $ac_status); }; } &&
63513 { ac_try='test -s conftest.$ac_objext'
63514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63515 (eval $ac_try) 2>&5
63516 ac_status=$?
63517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63518 (exit $ac_status); }; }; then
63519 glibcxx_cv_func__hypotf_use=yes
63520 else
63521 echo "$as_me: failed program was:" >&5
63522 sed 's/^/| /' conftest.$ac_ext >&5
63524 glibcxx_cv_func__hypotf_use=no
63526 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63527 ac_ext=c
63528 ac_cpp='$CPP $CPPFLAGS'
63529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63537 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
63538 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
63540 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
63542 for ac_func in _hypotf
63544 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63545 echo "$as_me:$LINENO: checking for $ac_func" >&5
63546 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63547 if eval "test \"\${$as_ac_var+set}\" = set"; then
63548 echo $ECHO_N "(cached) $ECHO_C" >&6
63549 else
63550 if test x$gcc_no_link = xyes; then
63551 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63552 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63553 { (exit 1); exit 1; }; }
63555 cat >conftest.$ac_ext <<_ACEOF
63556 /* confdefs.h. */
63557 _ACEOF
63558 cat confdefs.h >>conftest.$ac_ext
63559 cat >>conftest.$ac_ext <<_ACEOF
63560 /* end confdefs.h. */
63561 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63562 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63563 #define $ac_func innocuous_$ac_func
63565 /* System header to define __stub macros and hopefully few prototypes,
63566 which can conflict with char $ac_func (); below.
63567 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63568 <limits.h> exists even on freestanding compilers. */
63570 #ifdef __STDC__
63571 # include <limits.h>
63572 #else
63573 # include <assert.h>
63574 #endif
63576 #undef $ac_func
63578 /* Override any gcc2 internal prototype to avoid an error. */
63579 #ifdef __cplusplus
63580 extern "C"
63582 #endif
63583 /* We use char because int might match the return type of a gcc2
63584 builtin and then its argument prototype would still apply. */
63585 char $ac_func ();
63586 /* The GNU C library defines this for functions which it implements
63587 to always fail with ENOSYS. Some functions are actually named
63588 something starting with __ and the normal name is an alias. */
63589 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63590 choke me
63591 #else
63592 char (*f) () = $ac_func;
63593 #endif
63594 #ifdef __cplusplus
63596 #endif
63599 main ()
63601 return f != $ac_func;
63603 return 0;
63605 _ACEOF
63606 rm -f conftest.$ac_objext conftest$ac_exeext
63607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63608 (eval $ac_link) 2>conftest.er1
63609 ac_status=$?
63610 grep -v '^ *+' conftest.er1 >conftest.err
63611 rm -f conftest.er1
63612 cat conftest.err >&5
63613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63614 (exit $ac_status); } &&
63615 { ac_try='test -z "$ac_c_werror_flag"
63616 || test ! -s conftest.err'
63617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63618 (eval $ac_try) 2>&5
63619 ac_status=$?
63620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63621 (exit $ac_status); }; } &&
63622 { ac_try='test -s conftest$ac_exeext'
63623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63624 (eval $ac_try) 2>&5
63625 ac_status=$?
63626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63627 (exit $ac_status); }; }; then
63628 eval "$as_ac_var=yes"
63629 else
63630 echo "$as_me: failed program was:" >&5
63631 sed 's/^/| /' conftest.$ac_ext >&5
63633 eval "$as_ac_var=no"
63635 rm -f conftest.err conftest.$ac_objext \
63636 conftest$ac_exeext conftest.$ac_ext
63638 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63639 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63640 if test `eval echo '${'$as_ac_var'}'` = yes; then
63641 cat >>confdefs.h <<_ACEOF
63642 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63643 _ACEOF
63646 done
63656 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
63657 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
63658 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
63659 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
63660 echo $ECHO_N "(cached) $ECHO_C" >&6
63661 else
63665 ac_ext=cc
63666 ac_cpp='$CXXCPP $CPPFLAGS'
63667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63671 cat >conftest.$ac_ext <<_ACEOF
63672 /* confdefs.h. */
63673 _ACEOF
63674 cat confdefs.h >>conftest.$ac_ext
63675 cat >>conftest.$ac_ext <<_ACEOF
63676 /* end confdefs.h. */
63677 #include <math.h>
63679 main ()
63681 ldexpf(0, 0);
63683 return 0;
63685 _ACEOF
63686 rm -f conftest.$ac_objext
63687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63688 (eval $ac_compile) 2>conftest.er1
63689 ac_status=$?
63690 grep -v '^ *+' conftest.er1 >conftest.err
63691 rm -f conftest.er1
63692 cat conftest.err >&5
63693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63694 (exit $ac_status); } &&
63695 { ac_try='test -z "$ac_cxx_werror_flag"
63696 || test ! -s conftest.err'
63697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63698 (eval $ac_try) 2>&5
63699 ac_status=$?
63700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63701 (exit $ac_status); }; } &&
63702 { ac_try='test -s conftest.$ac_objext'
63703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63704 (eval $ac_try) 2>&5
63705 ac_status=$?
63706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63707 (exit $ac_status); }; }; then
63708 glibcxx_cv_func_ldexpf_use=yes
63709 else
63710 echo "$as_me: failed program was:" >&5
63711 sed 's/^/| /' conftest.$ac_ext >&5
63713 glibcxx_cv_func_ldexpf_use=no
63715 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63716 ac_ext=c
63717 ac_cpp='$CPP $CPPFLAGS'
63718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63726 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
63727 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
63729 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
63731 for ac_func in ldexpf
63733 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63734 echo "$as_me:$LINENO: checking for $ac_func" >&5
63735 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63736 if eval "test \"\${$as_ac_var+set}\" = set"; then
63737 echo $ECHO_N "(cached) $ECHO_C" >&6
63738 else
63739 if test x$gcc_no_link = xyes; then
63740 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63741 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63742 { (exit 1); exit 1; }; }
63744 cat >conftest.$ac_ext <<_ACEOF
63745 /* confdefs.h. */
63746 _ACEOF
63747 cat confdefs.h >>conftest.$ac_ext
63748 cat >>conftest.$ac_ext <<_ACEOF
63749 /* end confdefs.h. */
63750 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63751 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63752 #define $ac_func innocuous_$ac_func
63754 /* System header to define __stub macros and hopefully few prototypes,
63755 which can conflict with char $ac_func (); below.
63756 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63757 <limits.h> exists even on freestanding compilers. */
63759 #ifdef __STDC__
63760 # include <limits.h>
63761 #else
63762 # include <assert.h>
63763 #endif
63765 #undef $ac_func
63767 /* Override any gcc2 internal prototype to avoid an error. */
63768 #ifdef __cplusplus
63769 extern "C"
63771 #endif
63772 /* We use char because int might match the return type of a gcc2
63773 builtin and then its argument prototype would still apply. */
63774 char $ac_func ();
63775 /* The GNU C library defines this for functions which it implements
63776 to always fail with ENOSYS. Some functions are actually named
63777 something starting with __ and the normal name is an alias. */
63778 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63779 choke me
63780 #else
63781 char (*f) () = $ac_func;
63782 #endif
63783 #ifdef __cplusplus
63785 #endif
63788 main ()
63790 return f != $ac_func;
63792 return 0;
63794 _ACEOF
63795 rm -f conftest.$ac_objext conftest$ac_exeext
63796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63797 (eval $ac_link) 2>conftest.er1
63798 ac_status=$?
63799 grep -v '^ *+' conftest.er1 >conftest.err
63800 rm -f conftest.er1
63801 cat conftest.err >&5
63802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63803 (exit $ac_status); } &&
63804 { ac_try='test -z "$ac_c_werror_flag"
63805 || test ! -s conftest.err'
63806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63807 (eval $ac_try) 2>&5
63808 ac_status=$?
63809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63810 (exit $ac_status); }; } &&
63811 { ac_try='test -s conftest$ac_exeext'
63812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63813 (eval $ac_try) 2>&5
63814 ac_status=$?
63815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63816 (exit $ac_status); }; }; then
63817 eval "$as_ac_var=yes"
63818 else
63819 echo "$as_me: failed program was:" >&5
63820 sed 's/^/| /' conftest.$ac_ext >&5
63822 eval "$as_ac_var=no"
63824 rm -f conftest.err conftest.$ac_objext \
63825 conftest$ac_exeext conftest.$ac_ext
63827 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63828 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63829 if test `eval echo '${'$as_ac_var'}'` = yes; then
63830 cat >>confdefs.h <<_ACEOF
63831 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63832 _ACEOF
63835 done
63837 else
63839 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
63840 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
63841 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
63842 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
63843 echo $ECHO_N "(cached) $ECHO_C" >&6
63844 else
63848 ac_ext=cc
63849 ac_cpp='$CXXCPP $CPPFLAGS'
63850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63854 cat >conftest.$ac_ext <<_ACEOF
63855 /* confdefs.h. */
63856 _ACEOF
63857 cat confdefs.h >>conftest.$ac_ext
63858 cat >>conftest.$ac_ext <<_ACEOF
63859 /* end confdefs.h. */
63860 #include <math.h>
63862 main ()
63864 _ldexpf(0, 0);
63866 return 0;
63868 _ACEOF
63869 rm -f conftest.$ac_objext
63870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63871 (eval $ac_compile) 2>conftest.er1
63872 ac_status=$?
63873 grep -v '^ *+' conftest.er1 >conftest.err
63874 rm -f conftest.er1
63875 cat conftest.err >&5
63876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63877 (exit $ac_status); } &&
63878 { ac_try='test -z "$ac_cxx_werror_flag"
63879 || test ! -s conftest.err'
63880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63881 (eval $ac_try) 2>&5
63882 ac_status=$?
63883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63884 (exit $ac_status); }; } &&
63885 { ac_try='test -s conftest.$ac_objext'
63886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63887 (eval $ac_try) 2>&5
63888 ac_status=$?
63889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63890 (exit $ac_status); }; }; then
63891 glibcxx_cv_func__ldexpf_use=yes
63892 else
63893 echo "$as_me: failed program was:" >&5
63894 sed 's/^/| /' conftest.$ac_ext >&5
63896 glibcxx_cv_func__ldexpf_use=no
63898 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63899 ac_ext=c
63900 ac_cpp='$CPP $CPPFLAGS'
63901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63909 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
63910 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
63912 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
63914 for ac_func in _ldexpf
63916 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63917 echo "$as_me:$LINENO: checking for $ac_func" >&5
63918 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63919 if eval "test \"\${$as_ac_var+set}\" = set"; then
63920 echo $ECHO_N "(cached) $ECHO_C" >&6
63921 else
63922 if test x$gcc_no_link = xyes; then
63923 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63924 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63925 { (exit 1); exit 1; }; }
63927 cat >conftest.$ac_ext <<_ACEOF
63928 /* confdefs.h. */
63929 _ACEOF
63930 cat confdefs.h >>conftest.$ac_ext
63931 cat >>conftest.$ac_ext <<_ACEOF
63932 /* end confdefs.h. */
63933 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63934 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63935 #define $ac_func innocuous_$ac_func
63937 /* System header to define __stub macros and hopefully few prototypes,
63938 which can conflict with char $ac_func (); below.
63939 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63940 <limits.h> exists even on freestanding compilers. */
63942 #ifdef __STDC__
63943 # include <limits.h>
63944 #else
63945 # include <assert.h>
63946 #endif
63948 #undef $ac_func
63950 /* Override any gcc2 internal prototype to avoid an error. */
63951 #ifdef __cplusplus
63952 extern "C"
63954 #endif
63955 /* We use char because int might match the return type of a gcc2
63956 builtin and then its argument prototype would still apply. */
63957 char $ac_func ();
63958 /* The GNU C library defines this for functions which it implements
63959 to always fail with ENOSYS. Some functions are actually named
63960 something starting with __ and the normal name is an alias. */
63961 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63962 choke me
63963 #else
63964 char (*f) () = $ac_func;
63965 #endif
63966 #ifdef __cplusplus
63968 #endif
63971 main ()
63973 return f != $ac_func;
63975 return 0;
63977 _ACEOF
63978 rm -f conftest.$ac_objext conftest$ac_exeext
63979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63980 (eval $ac_link) 2>conftest.er1
63981 ac_status=$?
63982 grep -v '^ *+' conftest.er1 >conftest.err
63983 rm -f conftest.er1
63984 cat conftest.err >&5
63985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63986 (exit $ac_status); } &&
63987 { ac_try='test -z "$ac_c_werror_flag"
63988 || test ! -s conftest.err'
63989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63990 (eval $ac_try) 2>&5
63991 ac_status=$?
63992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63993 (exit $ac_status); }; } &&
63994 { ac_try='test -s conftest$ac_exeext'
63995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63996 (eval $ac_try) 2>&5
63997 ac_status=$?
63998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63999 (exit $ac_status); }; }; then
64000 eval "$as_ac_var=yes"
64001 else
64002 echo "$as_me: failed program was:" >&5
64003 sed 's/^/| /' conftest.$ac_ext >&5
64005 eval "$as_ac_var=no"
64007 rm -f conftest.err conftest.$ac_objext \
64008 conftest$ac_exeext conftest.$ac_ext
64010 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64011 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64012 if test `eval echo '${'$as_ac_var'}'` = yes; then
64013 cat >>confdefs.h <<_ACEOF
64014 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64015 _ACEOF
64018 done
64028 echo "$as_me:$LINENO: checking for logf declaration" >&5
64029 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
64030 if test x${glibcxx_cv_func_logf_use+set} != xset; then
64031 if test "${glibcxx_cv_func_logf_use+set}" = set; then
64032 echo $ECHO_N "(cached) $ECHO_C" >&6
64033 else
64037 ac_ext=cc
64038 ac_cpp='$CXXCPP $CPPFLAGS'
64039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64043 cat >conftest.$ac_ext <<_ACEOF
64044 /* confdefs.h. */
64045 _ACEOF
64046 cat confdefs.h >>conftest.$ac_ext
64047 cat >>conftest.$ac_ext <<_ACEOF
64048 /* end confdefs.h. */
64049 #include <math.h>
64050 #ifdef HAVE_IEEEFP_H
64051 #include <ieeefp.h>
64052 #endif
64055 main ()
64057 logf(0);
64059 return 0;
64061 _ACEOF
64062 rm -f conftest.$ac_objext
64063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64064 (eval $ac_compile) 2>conftest.er1
64065 ac_status=$?
64066 grep -v '^ *+' conftest.er1 >conftest.err
64067 rm -f conftest.er1
64068 cat conftest.err >&5
64069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64070 (exit $ac_status); } &&
64071 { ac_try='test -z "$ac_cxx_werror_flag"
64072 || test ! -s conftest.err'
64073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64074 (eval $ac_try) 2>&5
64075 ac_status=$?
64076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64077 (exit $ac_status); }; } &&
64078 { ac_try='test -s conftest.$ac_objext'
64079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64080 (eval $ac_try) 2>&5
64081 ac_status=$?
64082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64083 (exit $ac_status); }; }; then
64084 glibcxx_cv_func_logf_use=yes
64085 else
64086 echo "$as_me: failed program was:" >&5
64087 sed 's/^/| /' conftest.$ac_ext >&5
64089 glibcxx_cv_func_logf_use=no
64091 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64092 ac_ext=c
64093 ac_cpp='$CPP $CPPFLAGS'
64094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64102 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
64103 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
64105 if test x$glibcxx_cv_func_logf_use = x"yes"; then
64107 for ac_func in logf
64109 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64110 echo "$as_me:$LINENO: checking for $ac_func" >&5
64111 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64112 if eval "test \"\${$as_ac_var+set}\" = set"; then
64113 echo $ECHO_N "(cached) $ECHO_C" >&6
64114 else
64115 if test x$gcc_no_link = xyes; then
64116 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64117 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64118 { (exit 1); exit 1; }; }
64120 cat >conftest.$ac_ext <<_ACEOF
64121 /* confdefs.h. */
64122 _ACEOF
64123 cat confdefs.h >>conftest.$ac_ext
64124 cat >>conftest.$ac_ext <<_ACEOF
64125 /* end confdefs.h. */
64126 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64127 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64128 #define $ac_func innocuous_$ac_func
64130 /* System header to define __stub macros and hopefully few prototypes,
64131 which can conflict with char $ac_func (); below.
64132 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64133 <limits.h> exists even on freestanding compilers. */
64135 #ifdef __STDC__
64136 # include <limits.h>
64137 #else
64138 # include <assert.h>
64139 #endif
64141 #undef $ac_func
64143 /* Override any gcc2 internal prototype to avoid an error. */
64144 #ifdef __cplusplus
64145 extern "C"
64147 #endif
64148 /* We use char because int might match the return type of a gcc2
64149 builtin and then its argument prototype would still apply. */
64150 char $ac_func ();
64151 /* The GNU C library defines this for functions which it implements
64152 to always fail with ENOSYS. Some functions are actually named
64153 something starting with __ and the normal name is an alias. */
64154 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64155 choke me
64156 #else
64157 char (*f) () = $ac_func;
64158 #endif
64159 #ifdef __cplusplus
64161 #endif
64164 main ()
64166 return f != $ac_func;
64168 return 0;
64170 _ACEOF
64171 rm -f conftest.$ac_objext conftest$ac_exeext
64172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64173 (eval $ac_link) 2>conftest.er1
64174 ac_status=$?
64175 grep -v '^ *+' conftest.er1 >conftest.err
64176 rm -f conftest.er1
64177 cat conftest.err >&5
64178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64179 (exit $ac_status); } &&
64180 { ac_try='test -z "$ac_c_werror_flag"
64181 || test ! -s conftest.err'
64182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64183 (eval $ac_try) 2>&5
64184 ac_status=$?
64185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64186 (exit $ac_status); }; } &&
64187 { ac_try='test -s conftest$ac_exeext'
64188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64189 (eval $ac_try) 2>&5
64190 ac_status=$?
64191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64192 (exit $ac_status); }; }; then
64193 eval "$as_ac_var=yes"
64194 else
64195 echo "$as_me: failed program was:" >&5
64196 sed 's/^/| /' conftest.$ac_ext >&5
64198 eval "$as_ac_var=no"
64200 rm -f conftest.err conftest.$ac_objext \
64201 conftest$ac_exeext conftest.$ac_ext
64203 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64204 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64205 if test `eval echo '${'$as_ac_var'}'` = yes; then
64206 cat >>confdefs.h <<_ACEOF
64207 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64208 _ACEOF
64211 done
64213 else
64215 echo "$as_me:$LINENO: checking for _logf declaration" >&5
64216 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
64217 if test x${glibcxx_cv_func__logf_use+set} != xset; then
64218 if test "${glibcxx_cv_func__logf_use+set}" = set; then
64219 echo $ECHO_N "(cached) $ECHO_C" >&6
64220 else
64224 ac_ext=cc
64225 ac_cpp='$CXXCPP $CPPFLAGS'
64226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64230 cat >conftest.$ac_ext <<_ACEOF
64231 /* confdefs.h. */
64232 _ACEOF
64233 cat confdefs.h >>conftest.$ac_ext
64234 cat >>conftest.$ac_ext <<_ACEOF
64235 /* end confdefs.h. */
64236 #include <math.h>
64237 #ifdef HAVE_IEEEFP_H
64238 #include <ieeefp.h>
64239 #endif
64242 main ()
64244 _logf(0);
64246 return 0;
64248 _ACEOF
64249 rm -f conftest.$ac_objext
64250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64251 (eval $ac_compile) 2>conftest.er1
64252 ac_status=$?
64253 grep -v '^ *+' conftest.er1 >conftest.err
64254 rm -f conftest.er1
64255 cat conftest.err >&5
64256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64257 (exit $ac_status); } &&
64258 { ac_try='test -z "$ac_cxx_werror_flag"
64259 || test ! -s conftest.err'
64260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64261 (eval $ac_try) 2>&5
64262 ac_status=$?
64263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64264 (exit $ac_status); }; } &&
64265 { ac_try='test -s conftest.$ac_objext'
64266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64267 (eval $ac_try) 2>&5
64268 ac_status=$?
64269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64270 (exit $ac_status); }; }; then
64271 glibcxx_cv_func__logf_use=yes
64272 else
64273 echo "$as_me: failed program was:" >&5
64274 sed 's/^/| /' conftest.$ac_ext >&5
64276 glibcxx_cv_func__logf_use=no
64278 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64279 ac_ext=c
64280 ac_cpp='$CPP $CPPFLAGS'
64281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64289 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
64290 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
64292 if test x$glibcxx_cv_func__logf_use = x"yes"; then
64294 for ac_func in _logf
64296 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64297 echo "$as_me:$LINENO: checking for $ac_func" >&5
64298 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64299 if eval "test \"\${$as_ac_var+set}\" = set"; then
64300 echo $ECHO_N "(cached) $ECHO_C" >&6
64301 else
64302 if test x$gcc_no_link = xyes; then
64303 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64304 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64305 { (exit 1); exit 1; }; }
64307 cat >conftest.$ac_ext <<_ACEOF
64308 /* confdefs.h. */
64309 _ACEOF
64310 cat confdefs.h >>conftest.$ac_ext
64311 cat >>conftest.$ac_ext <<_ACEOF
64312 /* end confdefs.h. */
64313 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64314 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64315 #define $ac_func innocuous_$ac_func
64317 /* System header to define __stub macros and hopefully few prototypes,
64318 which can conflict with char $ac_func (); below.
64319 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64320 <limits.h> exists even on freestanding compilers. */
64322 #ifdef __STDC__
64323 # include <limits.h>
64324 #else
64325 # include <assert.h>
64326 #endif
64328 #undef $ac_func
64330 /* Override any gcc2 internal prototype to avoid an error. */
64331 #ifdef __cplusplus
64332 extern "C"
64334 #endif
64335 /* We use char because int might match the return type of a gcc2
64336 builtin and then its argument prototype would still apply. */
64337 char $ac_func ();
64338 /* The GNU C library defines this for functions which it implements
64339 to always fail with ENOSYS. Some functions are actually named
64340 something starting with __ and the normal name is an alias. */
64341 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64342 choke me
64343 #else
64344 char (*f) () = $ac_func;
64345 #endif
64346 #ifdef __cplusplus
64348 #endif
64351 main ()
64353 return f != $ac_func;
64355 return 0;
64357 _ACEOF
64358 rm -f conftest.$ac_objext conftest$ac_exeext
64359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64360 (eval $ac_link) 2>conftest.er1
64361 ac_status=$?
64362 grep -v '^ *+' conftest.er1 >conftest.err
64363 rm -f conftest.er1
64364 cat conftest.err >&5
64365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64366 (exit $ac_status); } &&
64367 { ac_try='test -z "$ac_c_werror_flag"
64368 || test ! -s conftest.err'
64369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64370 (eval $ac_try) 2>&5
64371 ac_status=$?
64372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64373 (exit $ac_status); }; } &&
64374 { ac_try='test -s conftest$ac_exeext'
64375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64376 (eval $ac_try) 2>&5
64377 ac_status=$?
64378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64379 (exit $ac_status); }; }; then
64380 eval "$as_ac_var=yes"
64381 else
64382 echo "$as_me: failed program was:" >&5
64383 sed 's/^/| /' conftest.$ac_ext >&5
64385 eval "$as_ac_var=no"
64387 rm -f conftest.err conftest.$ac_objext \
64388 conftest$ac_exeext conftest.$ac_ext
64390 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64391 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64392 if test `eval echo '${'$as_ac_var'}'` = yes; then
64393 cat >>confdefs.h <<_ACEOF
64394 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64395 _ACEOF
64398 done
64408 echo "$as_me:$LINENO: checking for log10f declaration" >&5
64409 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
64410 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
64411 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
64412 echo $ECHO_N "(cached) $ECHO_C" >&6
64413 else
64417 ac_ext=cc
64418 ac_cpp='$CXXCPP $CPPFLAGS'
64419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64423 cat >conftest.$ac_ext <<_ACEOF
64424 /* confdefs.h. */
64425 _ACEOF
64426 cat confdefs.h >>conftest.$ac_ext
64427 cat >>conftest.$ac_ext <<_ACEOF
64428 /* end confdefs.h. */
64429 #include <math.h>
64430 #ifdef HAVE_IEEEFP_H
64431 #include <ieeefp.h>
64432 #endif
64435 main ()
64437 log10f(0);
64439 return 0;
64441 _ACEOF
64442 rm -f conftest.$ac_objext
64443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64444 (eval $ac_compile) 2>conftest.er1
64445 ac_status=$?
64446 grep -v '^ *+' conftest.er1 >conftest.err
64447 rm -f conftest.er1
64448 cat conftest.err >&5
64449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64450 (exit $ac_status); } &&
64451 { ac_try='test -z "$ac_cxx_werror_flag"
64452 || test ! -s conftest.err'
64453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64454 (eval $ac_try) 2>&5
64455 ac_status=$?
64456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64457 (exit $ac_status); }; } &&
64458 { ac_try='test -s conftest.$ac_objext'
64459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64460 (eval $ac_try) 2>&5
64461 ac_status=$?
64462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64463 (exit $ac_status); }; }; then
64464 glibcxx_cv_func_log10f_use=yes
64465 else
64466 echo "$as_me: failed program was:" >&5
64467 sed 's/^/| /' conftest.$ac_ext >&5
64469 glibcxx_cv_func_log10f_use=no
64471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64472 ac_ext=c
64473 ac_cpp='$CPP $CPPFLAGS'
64474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64482 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
64483 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
64485 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
64487 for ac_func in log10f
64489 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64490 echo "$as_me:$LINENO: checking for $ac_func" >&5
64491 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64492 if eval "test \"\${$as_ac_var+set}\" = set"; then
64493 echo $ECHO_N "(cached) $ECHO_C" >&6
64494 else
64495 if test x$gcc_no_link = xyes; then
64496 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64497 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64498 { (exit 1); exit 1; }; }
64500 cat >conftest.$ac_ext <<_ACEOF
64501 /* confdefs.h. */
64502 _ACEOF
64503 cat confdefs.h >>conftest.$ac_ext
64504 cat >>conftest.$ac_ext <<_ACEOF
64505 /* end confdefs.h. */
64506 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64507 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64508 #define $ac_func innocuous_$ac_func
64510 /* System header to define __stub macros and hopefully few prototypes,
64511 which can conflict with char $ac_func (); below.
64512 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64513 <limits.h> exists even on freestanding compilers. */
64515 #ifdef __STDC__
64516 # include <limits.h>
64517 #else
64518 # include <assert.h>
64519 #endif
64521 #undef $ac_func
64523 /* Override any gcc2 internal prototype to avoid an error. */
64524 #ifdef __cplusplus
64525 extern "C"
64527 #endif
64528 /* We use char because int might match the return type of a gcc2
64529 builtin and then its argument prototype would still apply. */
64530 char $ac_func ();
64531 /* The GNU C library defines this for functions which it implements
64532 to always fail with ENOSYS. Some functions are actually named
64533 something starting with __ and the normal name is an alias. */
64534 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64535 choke me
64536 #else
64537 char (*f) () = $ac_func;
64538 #endif
64539 #ifdef __cplusplus
64541 #endif
64544 main ()
64546 return f != $ac_func;
64548 return 0;
64550 _ACEOF
64551 rm -f conftest.$ac_objext conftest$ac_exeext
64552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64553 (eval $ac_link) 2>conftest.er1
64554 ac_status=$?
64555 grep -v '^ *+' conftest.er1 >conftest.err
64556 rm -f conftest.er1
64557 cat conftest.err >&5
64558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64559 (exit $ac_status); } &&
64560 { ac_try='test -z "$ac_c_werror_flag"
64561 || test ! -s conftest.err'
64562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64563 (eval $ac_try) 2>&5
64564 ac_status=$?
64565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64566 (exit $ac_status); }; } &&
64567 { ac_try='test -s conftest$ac_exeext'
64568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64569 (eval $ac_try) 2>&5
64570 ac_status=$?
64571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64572 (exit $ac_status); }; }; then
64573 eval "$as_ac_var=yes"
64574 else
64575 echo "$as_me: failed program was:" >&5
64576 sed 's/^/| /' conftest.$ac_ext >&5
64578 eval "$as_ac_var=no"
64580 rm -f conftest.err conftest.$ac_objext \
64581 conftest$ac_exeext conftest.$ac_ext
64583 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64584 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64585 if test `eval echo '${'$as_ac_var'}'` = yes; then
64586 cat >>confdefs.h <<_ACEOF
64587 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64588 _ACEOF
64591 done
64593 else
64595 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
64596 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
64597 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
64598 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
64599 echo $ECHO_N "(cached) $ECHO_C" >&6
64600 else
64604 ac_ext=cc
64605 ac_cpp='$CXXCPP $CPPFLAGS'
64606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64610 cat >conftest.$ac_ext <<_ACEOF
64611 /* confdefs.h. */
64612 _ACEOF
64613 cat confdefs.h >>conftest.$ac_ext
64614 cat >>conftest.$ac_ext <<_ACEOF
64615 /* end confdefs.h. */
64616 #include <math.h>
64617 #ifdef HAVE_IEEEFP_H
64618 #include <ieeefp.h>
64619 #endif
64622 main ()
64624 _log10f(0);
64626 return 0;
64628 _ACEOF
64629 rm -f conftest.$ac_objext
64630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64631 (eval $ac_compile) 2>conftest.er1
64632 ac_status=$?
64633 grep -v '^ *+' conftest.er1 >conftest.err
64634 rm -f conftest.er1
64635 cat conftest.err >&5
64636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64637 (exit $ac_status); } &&
64638 { ac_try='test -z "$ac_cxx_werror_flag"
64639 || test ! -s conftest.err'
64640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64641 (eval $ac_try) 2>&5
64642 ac_status=$?
64643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64644 (exit $ac_status); }; } &&
64645 { ac_try='test -s conftest.$ac_objext'
64646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64647 (eval $ac_try) 2>&5
64648 ac_status=$?
64649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64650 (exit $ac_status); }; }; then
64651 glibcxx_cv_func__log10f_use=yes
64652 else
64653 echo "$as_me: failed program was:" >&5
64654 sed 's/^/| /' conftest.$ac_ext >&5
64656 glibcxx_cv_func__log10f_use=no
64658 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64659 ac_ext=c
64660 ac_cpp='$CPP $CPPFLAGS'
64661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64669 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
64670 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
64672 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
64674 for ac_func in _log10f
64676 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64677 echo "$as_me:$LINENO: checking for $ac_func" >&5
64678 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64679 if eval "test \"\${$as_ac_var+set}\" = set"; then
64680 echo $ECHO_N "(cached) $ECHO_C" >&6
64681 else
64682 if test x$gcc_no_link = xyes; then
64683 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64684 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64685 { (exit 1); exit 1; }; }
64687 cat >conftest.$ac_ext <<_ACEOF
64688 /* confdefs.h. */
64689 _ACEOF
64690 cat confdefs.h >>conftest.$ac_ext
64691 cat >>conftest.$ac_ext <<_ACEOF
64692 /* end confdefs.h. */
64693 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64694 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64695 #define $ac_func innocuous_$ac_func
64697 /* System header to define __stub macros and hopefully few prototypes,
64698 which can conflict with char $ac_func (); below.
64699 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64700 <limits.h> exists even on freestanding compilers. */
64702 #ifdef __STDC__
64703 # include <limits.h>
64704 #else
64705 # include <assert.h>
64706 #endif
64708 #undef $ac_func
64710 /* Override any gcc2 internal prototype to avoid an error. */
64711 #ifdef __cplusplus
64712 extern "C"
64714 #endif
64715 /* We use char because int might match the return type of a gcc2
64716 builtin and then its argument prototype would still apply. */
64717 char $ac_func ();
64718 /* The GNU C library defines this for functions which it implements
64719 to always fail with ENOSYS. Some functions are actually named
64720 something starting with __ and the normal name is an alias. */
64721 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64722 choke me
64723 #else
64724 char (*f) () = $ac_func;
64725 #endif
64726 #ifdef __cplusplus
64728 #endif
64731 main ()
64733 return f != $ac_func;
64735 return 0;
64737 _ACEOF
64738 rm -f conftest.$ac_objext conftest$ac_exeext
64739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64740 (eval $ac_link) 2>conftest.er1
64741 ac_status=$?
64742 grep -v '^ *+' conftest.er1 >conftest.err
64743 rm -f conftest.er1
64744 cat conftest.err >&5
64745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64746 (exit $ac_status); } &&
64747 { ac_try='test -z "$ac_c_werror_flag"
64748 || test ! -s conftest.err'
64749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64750 (eval $ac_try) 2>&5
64751 ac_status=$?
64752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64753 (exit $ac_status); }; } &&
64754 { ac_try='test -s conftest$ac_exeext'
64755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64756 (eval $ac_try) 2>&5
64757 ac_status=$?
64758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64759 (exit $ac_status); }; }; then
64760 eval "$as_ac_var=yes"
64761 else
64762 echo "$as_me: failed program was:" >&5
64763 sed 's/^/| /' conftest.$ac_ext >&5
64765 eval "$as_ac_var=no"
64767 rm -f conftest.err conftest.$ac_objext \
64768 conftest$ac_exeext conftest.$ac_ext
64770 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64771 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64772 if test `eval echo '${'$as_ac_var'}'` = yes; then
64773 cat >>confdefs.h <<_ACEOF
64774 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64775 _ACEOF
64778 done
64788 echo "$as_me:$LINENO: checking for modff declaration" >&5
64789 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
64790 if test x${glibcxx_cv_func_modff_use+set} != xset; then
64791 if test "${glibcxx_cv_func_modff_use+set}" = set; then
64792 echo $ECHO_N "(cached) $ECHO_C" >&6
64793 else
64797 ac_ext=cc
64798 ac_cpp='$CXXCPP $CPPFLAGS'
64799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64803 cat >conftest.$ac_ext <<_ACEOF
64804 /* confdefs.h. */
64805 _ACEOF
64806 cat confdefs.h >>conftest.$ac_ext
64807 cat >>conftest.$ac_ext <<_ACEOF
64808 /* end confdefs.h. */
64809 #include <math.h>
64811 main ()
64813 modff(0, 0);
64815 return 0;
64817 _ACEOF
64818 rm -f conftest.$ac_objext
64819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64820 (eval $ac_compile) 2>conftest.er1
64821 ac_status=$?
64822 grep -v '^ *+' conftest.er1 >conftest.err
64823 rm -f conftest.er1
64824 cat conftest.err >&5
64825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64826 (exit $ac_status); } &&
64827 { ac_try='test -z "$ac_cxx_werror_flag"
64828 || test ! -s conftest.err'
64829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64830 (eval $ac_try) 2>&5
64831 ac_status=$?
64832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64833 (exit $ac_status); }; } &&
64834 { ac_try='test -s conftest.$ac_objext'
64835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64836 (eval $ac_try) 2>&5
64837 ac_status=$?
64838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64839 (exit $ac_status); }; }; then
64840 glibcxx_cv_func_modff_use=yes
64841 else
64842 echo "$as_me: failed program was:" >&5
64843 sed 's/^/| /' conftest.$ac_ext >&5
64845 glibcxx_cv_func_modff_use=no
64847 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64848 ac_ext=c
64849 ac_cpp='$CPP $CPPFLAGS'
64850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64858 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
64859 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
64861 if test x$glibcxx_cv_func_modff_use = x"yes"; then
64863 for ac_func in modff
64865 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64866 echo "$as_me:$LINENO: checking for $ac_func" >&5
64867 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64868 if eval "test \"\${$as_ac_var+set}\" = set"; then
64869 echo $ECHO_N "(cached) $ECHO_C" >&6
64870 else
64871 if test x$gcc_no_link = xyes; then
64872 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64873 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64874 { (exit 1); exit 1; }; }
64876 cat >conftest.$ac_ext <<_ACEOF
64877 /* confdefs.h. */
64878 _ACEOF
64879 cat confdefs.h >>conftest.$ac_ext
64880 cat >>conftest.$ac_ext <<_ACEOF
64881 /* end confdefs.h. */
64882 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64883 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64884 #define $ac_func innocuous_$ac_func
64886 /* System header to define __stub macros and hopefully few prototypes,
64887 which can conflict with char $ac_func (); below.
64888 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64889 <limits.h> exists even on freestanding compilers. */
64891 #ifdef __STDC__
64892 # include <limits.h>
64893 #else
64894 # include <assert.h>
64895 #endif
64897 #undef $ac_func
64899 /* Override any gcc2 internal prototype to avoid an error. */
64900 #ifdef __cplusplus
64901 extern "C"
64903 #endif
64904 /* We use char because int might match the return type of a gcc2
64905 builtin and then its argument prototype would still apply. */
64906 char $ac_func ();
64907 /* The GNU C library defines this for functions which it implements
64908 to always fail with ENOSYS. Some functions are actually named
64909 something starting with __ and the normal name is an alias. */
64910 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64911 choke me
64912 #else
64913 char (*f) () = $ac_func;
64914 #endif
64915 #ifdef __cplusplus
64917 #endif
64920 main ()
64922 return f != $ac_func;
64924 return 0;
64926 _ACEOF
64927 rm -f conftest.$ac_objext conftest$ac_exeext
64928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64929 (eval $ac_link) 2>conftest.er1
64930 ac_status=$?
64931 grep -v '^ *+' conftest.er1 >conftest.err
64932 rm -f conftest.er1
64933 cat conftest.err >&5
64934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64935 (exit $ac_status); } &&
64936 { ac_try='test -z "$ac_c_werror_flag"
64937 || test ! -s conftest.err'
64938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64939 (eval $ac_try) 2>&5
64940 ac_status=$?
64941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64942 (exit $ac_status); }; } &&
64943 { ac_try='test -s conftest$ac_exeext'
64944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64945 (eval $ac_try) 2>&5
64946 ac_status=$?
64947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64948 (exit $ac_status); }; }; then
64949 eval "$as_ac_var=yes"
64950 else
64951 echo "$as_me: failed program was:" >&5
64952 sed 's/^/| /' conftest.$ac_ext >&5
64954 eval "$as_ac_var=no"
64956 rm -f conftest.err conftest.$ac_objext \
64957 conftest$ac_exeext conftest.$ac_ext
64959 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64960 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64961 if test `eval echo '${'$as_ac_var'}'` = yes; then
64962 cat >>confdefs.h <<_ACEOF
64963 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64964 _ACEOF
64967 done
64969 else
64971 echo "$as_me:$LINENO: checking for _modff declaration" >&5
64972 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
64973 if test x${glibcxx_cv_func__modff_use+set} != xset; then
64974 if test "${glibcxx_cv_func__modff_use+set}" = set; then
64975 echo $ECHO_N "(cached) $ECHO_C" >&6
64976 else
64980 ac_ext=cc
64981 ac_cpp='$CXXCPP $CPPFLAGS'
64982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64986 cat >conftest.$ac_ext <<_ACEOF
64987 /* confdefs.h. */
64988 _ACEOF
64989 cat confdefs.h >>conftest.$ac_ext
64990 cat >>conftest.$ac_ext <<_ACEOF
64991 /* end confdefs.h. */
64992 #include <math.h>
64994 main ()
64996 _modff(0, 0);
64998 return 0;
65000 _ACEOF
65001 rm -f conftest.$ac_objext
65002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65003 (eval $ac_compile) 2>conftest.er1
65004 ac_status=$?
65005 grep -v '^ *+' conftest.er1 >conftest.err
65006 rm -f conftest.er1
65007 cat conftest.err >&5
65008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65009 (exit $ac_status); } &&
65010 { ac_try='test -z "$ac_cxx_werror_flag"
65011 || test ! -s conftest.err'
65012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65013 (eval $ac_try) 2>&5
65014 ac_status=$?
65015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65016 (exit $ac_status); }; } &&
65017 { ac_try='test -s conftest.$ac_objext'
65018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65019 (eval $ac_try) 2>&5
65020 ac_status=$?
65021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65022 (exit $ac_status); }; }; then
65023 glibcxx_cv_func__modff_use=yes
65024 else
65025 echo "$as_me: failed program was:" >&5
65026 sed 's/^/| /' conftest.$ac_ext >&5
65028 glibcxx_cv_func__modff_use=no
65030 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65031 ac_ext=c
65032 ac_cpp='$CPP $CPPFLAGS'
65033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65041 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
65042 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
65044 if test x$glibcxx_cv_func__modff_use = x"yes"; then
65046 for ac_func in _modff
65048 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65049 echo "$as_me:$LINENO: checking for $ac_func" >&5
65050 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65051 if eval "test \"\${$as_ac_var+set}\" = set"; then
65052 echo $ECHO_N "(cached) $ECHO_C" >&6
65053 else
65054 if test x$gcc_no_link = xyes; then
65055 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65056 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65057 { (exit 1); exit 1; }; }
65059 cat >conftest.$ac_ext <<_ACEOF
65060 /* confdefs.h. */
65061 _ACEOF
65062 cat confdefs.h >>conftest.$ac_ext
65063 cat >>conftest.$ac_ext <<_ACEOF
65064 /* end confdefs.h. */
65065 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65066 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65067 #define $ac_func innocuous_$ac_func
65069 /* System header to define __stub macros and hopefully few prototypes,
65070 which can conflict with char $ac_func (); below.
65071 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65072 <limits.h> exists even on freestanding compilers. */
65074 #ifdef __STDC__
65075 # include <limits.h>
65076 #else
65077 # include <assert.h>
65078 #endif
65080 #undef $ac_func
65082 /* Override any gcc2 internal prototype to avoid an error. */
65083 #ifdef __cplusplus
65084 extern "C"
65086 #endif
65087 /* We use char because int might match the return type of a gcc2
65088 builtin and then its argument prototype would still apply. */
65089 char $ac_func ();
65090 /* The GNU C library defines this for functions which it implements
65091 to always fail with ENOSYS. Some functions are actually named
65092 something starting with __ and the normal name is an alias. */
65093 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65094 choke me
65095 #else
65096 char (*f) () = $ac_func;
65097 #endif
65098 #ifdef __cplusplus
65100 #endif
65103 main ()
65105 return f != $ac_func;
65107 return 0;
65109 _ACEOF
65110 rm -f conftest.$ac_objext conftest$ac_exeext
65111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65112 (eval $ac_link) 2>conftest.er1
65113 ac_status=$?
65114 grep -v '^ *+' conftest.er1 >conftest.err
65115 rm -f conftest.er1
65116 cat conftest.err >&5
65117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65118 (exit $ac_status); } &&
65119 { ac_try='test -z "$ac_c_werror_flag"
65120 || test ! -s conftest.err'
65121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65122 (eval $ac_try) 2>&5
65123 ac_status=$?
65124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65125 (exit $ac_status); }; } &&
65126 { ac_try='test -s conftest$ac_exeext'
65127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65128 (eval $ac_try) 2>&5
65129 ac_status=$?
65130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65131 (exit $ac_status); }; }; then
65132 eval "$as_ac_var=yes"
65133 else
65134 echo "$as_me: failed program was:" >&5
65135 sed 's/^/| /' conftest.$ac_ext >&5
65137 eval "$as_ac_var=no"
65139 rm -f conftest.err conftest.$ac_objext \
65140 conftest$ac_exeext conftest.$ac_ext
65142 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65143 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65144 if test `eval echo '${'$as_ac_var'}'` = yes; then
65145 cat >>confdefs.h <<_ACEOF
65146 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65147 _ACEOF
65150 done
65160 echo "$as_me:$LINENO: checking for modf declaration" >&5
65161 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
65162 if test x${glibcxx_cv_func_modf_use+set} != xset; then
65163 if test "${glibcxx_cv_func_modf_use+set}" = set; then
65164 echo $ECHO_N "(cached) $ECHO_C" >&6
65165 else
65169 ac_ext=cc
65170 ac_cpp='$CXXCPP $CPPFLAGS'
65171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65175 cat >conftest.$ac_ext <<_ACEOF
65176 /* confdefs.h. */
65177 _ACEOF
65178 cat confdefs.h >>conftest.$ac_ext
65179 cat >>conftest.$ac_ext <<_ACEOF
65180 /* end confdefs.h. */
65181 #include <math.h>
65183 main ()
65185 modf(0, 0);
65187 return 0;
65189 _ACEOF
65190 rm -f conftest.$ac_objext
65191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65192 (eval $ac_compile) 2>conftest.er1
65193 ac_status=$?
65194 grep -v '^ *+' conftest.er1 >conftest.err
65195 rm -f conftest.er1
65196 cat conftest.err >&5
65197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65198 (exit $ac_status); } &&
65199 { ac_try='test -z "$ac_cxx_werror_flag"
65200 || test ! -s conftest.err'
65201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65202 (eval $ac_try) 2>&5
65203 ac_status=$?
65204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65205 (exit $ac_status); }; } &&
65206 { ac_try='test -s conftest.$ac_objext'
65207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65208 (eval $ac_try) 2>&5
65209 ac_status=$?
65210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65211 (exit $ac_status); }; }; then
65212 glibcxx_cv_func_modf_use=yes
65213 else
65214 echo "$as_me: failed program was:" >&5
65215 sed 's/^/| /' conftest.$ac_ext >&5
65217 glibcxx_cv_func_modf_use=no
65219 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65220 ac_ext=c
65221 ac_cpp='$CPP $CPPFLAGS'
65222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65230 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
65231 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
65233 if test x$glibcxx_cv_func_modf_use = x"yes"; then
65235 for ac_func in modf
65237 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65238 echo "$as_me:$LINENO: checking for $ac_func" >&5
65239 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65240 if eval "test \"\${$as_ac_var+set}\" = set"; then
65241 echo $ECHO_N "(cached) $ECHO_C" >&6
65242 else
65243 if test x$gcc_no_link = xyes; then
65244 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65245 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65246 { (exit 1); exit 1; }; }
65248 cat >conftest.$ac_ext <<_ACEOF
65249 /* confdefs.h. */
65250 _ACEOF
65251 cat confdefs.h >>conftest.$ac_ext
65252 cat >>conftest.$ac_ext <<_ACEOF
65253 /* end confdefs.h. */
65254 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65255 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65256 #define $ac_func innocuous_$ac_func
65258 /* System header to define __stub macros and hopefully few prototypes,
65259 which can conflict with char $ac_func (); below.
65260 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65261 <limits.h> exists even on freestanding compilers. */
65263 #ifdef __STDC__
65264 # include <limits.h>
65265 #else
65266 # include <assert.h>
65267 #endif
65269 #undef $ac_func
65271 /* Override any gcc2 internal prototype to avoid an error. */
65272 #ifdef __cplusplus
65273 extern "C"
65275 #endif
65276 /* We use char because int might match the return type of a gcc2
65277 builtin and then its argument prototype would still apply. */
65278 char $ac_func ();
65279 /* The GNU C library defines this for functions which it implements
65280 to always fail with ENOSYS. Some functions are actually named
65281 something starting with __ and the normal name is an alias. */
65282 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65283 choke me
65284 #else
65285 char (*f) () = $ac_func;
65286 #endif
65287 #ifdef __cplusplus
65289 #endif
65292 main ()
65294 return f != $ac_func;
65296 return 0;
65298 _ACEOF
65299 rm -f conftest.$ac_objext conftest$ac_exeext
65300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65301 (eval $ac_link) 2>conftest.er1
65302 ac_status=$?
65303 grep -v '^ *+' conftest.er1 >conftest.err
65304 rm -f conftest.er1
65305 cat conftest.err >&5
65306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65307 (exit $ac_status); } &&
65308 { ac_try='test -z "$ac_c_werror_flag"
65309 || test ! -s conftest.err'
65310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65311 (eval $ac_try) 2>&5
65312 ac_status=$?
65313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65314 (exit $ac_status); }; } &&
65315 { ac_try='test -s conftest$ac_exeext'
65316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65317 (eval $ac_try) 2>&5
65318 ac_status=$?
65319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65320 (exit $ac_status); }; }; then
65321 eval "$as_ac_var=yes"
65322 else
65323 echo "$as_me: failed program was:" >&5
65324 sed 's/^/| /' conftest.$ac_ext >&5
65326 eval "$as_ac_var=no"
65328 rm -f conftest.err conftest.$ac_objext \
65329 conftest$ac_exeext conftest.$ac_ext
65331 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65332 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65333 if test `eval echo '${'$as_ac_var'}'` = yes; then
65334 cat >>confdefs.h <<_ACEOF
65335 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65336 _ACEOF
65339 done
65341 else
65343 echo "$as_me:$LINENO: checking for _modf declaration" >&5
65344 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
65345 if test x${glibcxx_cv_func__modf_use+set} != xset; then
65346 if test "${glibcxx_cv_func__modf_use+set}" = set; then
65347 echo $ECHO_N "(cached) $ECHO_C" >&6
65348 else
65352 ac_ext=cc
65353 ac_cpp='$CXXCPP $CPPFLAGS'
65354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65358 cat >conftest.$ac_ext <<_ACEOF
65359 /* confdefs.h. */
65360 _ACEOF
65361 cat confdefs.h >>conftest.$ac_ext
65362 cat >>conftest.$ac_ext <<_ACEOF
65363 /* end confdefs.h. */
65364 #include <math.h>
65366 main ()
65368 _modf(0, 0);
65370 return 0;
65372 _ACEOF
65373 rm -f conftest.$ac_objext
65374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65375 (eval $ac_compile) 2>conftest.er1
65376 ac_status=$?
65377 grep -v '^ *+' conftest.er1 >conftest.err
65378 rm -f conftest.er1
65379 cat conftest.err >&5
65380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65381 (exit $ac_status); } &&
65382 { ac_try='test -z "$ac_cxx_werror_flag"
65383 || test ! -s conftest.err'
65384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65385 (eval $ac_try) 2>&5
65386 ac_status=$?
65387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65388 (exit $ac_status); }; } &&
65389 { ac_try='test -s conftest.$ac_objext'
65390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65391 (eval $ac_try) 2>&5
65392 ac_status=$?
65393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65394 (exit $ac_status); }; }; then
65395 glibcxx_cv_func__modf_use=yes
65396 else
65397 echo "$as_me: failed program was:" >&5
65398 sed 's/^/| /' conftest.$ac_ext >&5
65400 glibcxx_cv_func__modf_use=no
65402 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65403 ac_ext=c
65404 ac_cpp='$CPP $CPPFLAGS'
65405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65413 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
65414 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
65416 if test x$glibcxx_cv_func__modf_use = x"yes"; then
65418 for ac_func in _modf
65420 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65421 echo "$as_me:$LINENO: checking for $ac_func" >&5
65422 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65423 if eval "test \"\${$as_ac_var+set}\" = set"; then
65424 echo $ECHO_N "(cached) $ECHO_C" >&6
65425 else
65426 if test x$gcc_no_link = xyes; then
65427 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65428 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65429 { (exit 1); exit 1; }; }
65431 cat >conftest.$ac_ext <<_ACEOF
65432 /* confdefs.h. */
65433 _ACEOF
65434 cat confdefs.h >>conftest.$ac_ext
65435 cat >>conftest.$ac_ext <<_ACEOF
65436 /* end confdefs.h. */
65437 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65438 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65439 #define $ac_func innocuous_$ac_func
65441 /* System header to define __stub macros and hopefully few prototypes,
65442 which can conflict with char $ac_func (); below.
65443 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65444 <limits.h> exists even on freestanding compilers. */
65446 #ifdef __STDC__
65447 # include <limits.h>
65448 #else
65449 # include <assert.h>
65450 #endif
65452 #undef $ac_func
65454 /* Override any gcc2 internal prototype to avoid an error. */
65455 #ifdef __cplusplus
65456 extern "C"
65458 #endif
65459 /* We use char because int might match the return type of a gcc2
65460 builtin and then its argument prototype would still apply. */
65461 char $ac_func ();
65462 /* The GNU C library defines this for functions which it implements
65463 to always fail with ENOSYS. Some functions are actually named
65464 something starting with __ and the normal name is an alias. */
65465 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65466 choke me
65467 #else
65468 char (*f) () = $ac_func;
65469 #endif
65470 #ifdef __cplusplus
65472 #endif
65475 main ()
65477 return f != $ac_func;
65479 return 0;
65481 _ACEOF
65482 rm -f conftest.$ac_objext conftest$ac_exeext
65483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65484 (eval $ac_link) 2>conftest.er1
65485 ac_status=$?
65486 grep -v '^ *+' conftest.er1 >conftest.err
65487 rm -f conftest.er1
65488 cat conftest.err >&5
65489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65490 (exit $ac_status); } &&
65491 { ac_try='test -z "$ac_c_werror_flag"
65492 || test ! -s conftest.err'
65493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65494 (eval $ac_try) 2>&5
65495 ac_status=$?
65496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65497 (exit $ac_status); }; } &&
65498 { ac_try='test -s conftest$ac_exeext'
65499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65500 (eval $ac_try) 2>&5
65501 ac_status=$?
65502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65503 (exit $ac_status); }; }; then
65504 eval "$as_ac_var=yes"
65505 else
65506 echo "$as_me: failed program was:" >&5
65507 sed 's/^/| /' conftest.$ac_ext >&5
65509 eval "$as_ac_var=no"
65511 rm -f conftest.err conftest.$ac_objext \
65512 conftest$ac_exeext conftest.$ac_ext
65514 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65515 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65516 if test `eval echo '${'$as_ac_var'}'` = yes; then
65517 cat >>confdefs.h <<_ACEOF
65518 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65519 _ACEOF
65522 done
65532 echo "$as_me:$LINENO: checking for powf declaration" >&5
65533 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
65534 if test x${glibcxx_cv_func_powf_use+set} != xset; then
65535 if test "${glibcxx_cv_func_powf_use+set}" = set; then
65536 echo $ECHO_N "(cached) $ECHO_C" >&6
65537 else
65541 ac_ext=cc
65542 ac_cpp='$CXXCPP $CPPFLAGS'
65543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65547 cat >conftest.$ac_ext <<_ACEOF
65548 /* confdefs.h. */
65549 _ACEOF
65550 cat confdefs.h >>conftest.$ac_ext
65551 cat >>conftest.$ac_ext <<_ACEOF
65552 /* end confdefs.h. */
65553 #include <math.h>
65555 main ()
65557 powf(0, 0);
65559 return 0;
65561 _ACEOF
65562 rm -f conftest.$ac_objext
65563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65564 (eval $ac_compile) 2>conftest.er1
65565 ac_status=$?
65566 grep -v '^ *+' conftest.er1 >conftest.err
65567 rm -f conftest.er1
65568 cat conftest.err >&5
65569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65570 (exit $ac_status); } &&
65571 { ac_try='test -z "$ac_cxx_werror_flag"
65572 || test ! -s conftest.err'
65573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65574 (eval $ac_try) 2>&5
65575 ac_status=$?
65576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65577 (exit $ac_status); }; } &&
65578 { ac_try='test -s conftest.$ac_objext'
65579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65580 (eval $ac_try) 2>&5
65581 ac_status=$?
65582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65583 (exit $ac_status); }; }; then
65584 glibcxx_cv_func_powf_use=yes
65585 else
65586 echo "$as_me: failed program was:" >&5
65587 sed 's/^/| /' conftest.$ac_ext >&5
65589 glibcxx_cv_func_powf_use=no
65591 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65592 ac_ext=c
65593 ac_cpp='$CPP $CPPFLAGS'
65594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65602 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
65603 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
65605 if test x$glibcxx_cv_func_powf_use = x"yes"; then
65607 for ac_func in powf
65609 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65610 echo "$as_me:$LINENO: checking for $ac_func" >&5
65611 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65612 if eval "test \"\${$as_ac_var+set}\" = set"; then
65613 echo $ECHO_N "(cached) $ECHO_C" >&6
65614 else
65615 if test x$gcc_no_link = xyes; then
65616 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65617 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65618 { (exit 1); exit 1; }; }
65620 cat >conftest.$ac_ext <<_ACEOF
65621 /* confdefs.h. */
65622 _ACEOF
65623 cat confdefs.h >>conftest.$ac_ext
65624 cat >>conftest.$ac_ext <<_ACEOF
65625 /* end confdefs.h. */
65626 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65627 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65628 #define $ac_func innocuous_$ac_func
65630 /* System header to define __stub macros and hopefully few prototypes,
65631 which can conflict with char $ac_func (); below.
65632 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65633 <limits.h> exists even on freestanding compilers. */
65635 #ifdef __STDC__
65636 # include <limits.h>
65637 #else
65638 # include <assert.h>
65639 #endif
65641 #undef $ac_func
65643 /* Override any gcc2 internal prototype to avoid an error. */
65644 #ifdef __cplusplus
65645 extern "C"
65647 #endif
65648 /* We use char because int might match the return type of a gcc2
65649 builtin and then its argument prototype would still apply. */
65650 char $ac_func ();
65651 /* The GNU C library defines this for functions which it implements
65652 to always fail with ENOSYS. Some functions are actually named
65653 something starting with __ and the normal name is an alias. */
65654 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65655 choke me
65656 #else
65657 char (*f) () = $ac_func;
65658 #endif
65659 #ifdef __cplusplus
65661 #endif
65664 main ()
65666 return f != $ac_func;
65668 return 0;
65670 _ACEOF
65671 rm -f conftest.$ac_objext conftest$ac_exeext
65672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65673 (eval $ac_link) 2>conftest.er1
65674 ac_status=$?
65675 grep -v '^ *+' conftest.er1 >conftest.err
65676 rm -f conftest.er1
65677 cat conftest.err >&5
65678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65679 (exit $ac_status); } &&
65680 { ac_try='test -z "$ac_c_werror_flag"
65681 || test ! -s conftest.err'
65682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65683 (eval $ac_try) 2>&5
65684 ac_status=$?
65685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65686 (exit $ac_status); }; } &&
65687 { ac_try='test -s conftest$ac_exeext'
65688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65689 (eval $ac_try) 2>&5
65690 ac_status=$?
65691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65692 (exit $ac_status); }; }; then
65693 eval "$as_ac_var=yes"
65694 else
65695 echo "$as_me: failed program was:" >&5
65696 sed 's/^/| /' conftest.$ac_ext >&5
65698 eval "$as_ac_var=no"
65700 rm -f conftest.err conftest.$ac_objext \
65701 conftest$ac_exeext conftest.$ac_ext
65703 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65704 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65705 if test `eval echo '${'$as_ac_var'}'` = yes; then
65706 cat >>confdefs.h <<_ACEOF
65707 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65708 _ACEOF
65711 done
65713 else
65715 echo "$as_me:$LINENO: checking for _powf declaration" >&5
65716 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
65717 if test x${glibcxx_cv_func__powf_use+set} != xset; then
65718 if test "${glibcxx_cv_func__powf_use+set}" = set; then
65719 echo $ECHO_N "(cached) $ECHO_C" >&6
65720 else
65724 ac_ext=cc
65725 ac_cpp='$CXXCPP $CPPFLAGS'
65726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65730 cat >conftest.$ac_ext <<_ACEOF
65731 /* confdefs.h. */
65732 _ACEOF
65733 cat confdefs.h >>conftest.$ac_ext
65734 cat >>conftest.$ac_ext <<_ACEOF
65735 /* end confdefs.h. */
65736 #include <math.h>
65738 main ()
65740 _powf(0, 0);
65742 return 0;
65744 _ACEOF
65745 rm -f conftest.$ac_objext
65746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65747 (eval $ac_compile) 2>conftest.er1
65748 ac_status=$?
65749 grep -v '^ *+' conftest.er1 >conftest.err
65750 rm -f conftest.er1
65751 cat conftest.err >&5
65752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65753 (exit $ac_status); } &&
65754 { ac_try='test -z "$ac_cxx_werror_flag"
65755 || test ! -s conftest.err'
65756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65757 (eval $ac_try) 2>&5
65758 ac_status=$?
65759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65760 (exit $ac_status); }; } &&
65761 { ac_try='test -s conftest.$ac_objext'
65762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65763 (eval $ac_try) 2>&5
65764 ac_status=$?
65765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65766 (exit $ac_status); }; }; then
65767 glibcxx_cv_func__powf_use=yes
65768 else
65769 echo "$as_me: failed program was:" >&5
65770 sed 's/^/| /' conftest.$ac_ext >&5
65772 glibcxx_cv_func__powf_use=no
65774 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65775 ac_ext=c
65776 ac_cpp='$CPP $CPPFLAGS'
65777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65785 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
65786 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
65788 if test x$glibcxx_cv_func__powf_use = x"yes"; then
65790 for ac_func in _powf
65792 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65793 echo "$as_me:$LINENO: checking for $ac_func" >&5
65794 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65795 if eval "test \"\${$as_ac_var+set}\" = set"; then
65796 echo $ECHO_N "(cached) $ECHO_C" >&6
65797 else
65798 if test x$gcc_no_link = xyes; then
65799 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65800 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65801 { (exit 1); exit 1; }; }
65803 cat >conftest.$ac_ext <<_ACEOF
65804 /* confdefs.h. */
65805 _ACEOF
65806 cat confdefs.h >>conftest.$ac_ext
65807 cat >>conftest.$ac_ext <<_ACEOF
65808 /* end confdefs.h. */
65809 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65810 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65811 #define $ac_func innocuous_$ac_func
65813 /* System header to define __stub macros and hopefully few prototypes,
65814 which can conflict with char $ac_func (); below.
65815 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65816 <limits.h> exists even on freestanding compilers. */
65818 #ifdef __STDC__
65819 # include <limits.h>
65820 #else
65821 # include <assert.h>
65822 #endif
65824 #undef $ac_func
65826 /* Override any gcc2 internal prototype to avoid an error. */
65827 #ifdef __cplusplus
65828 extern "C"
65830 #endif
65831 /* We use char because int might match the return type of a gcc2
65832 builtin and then its argument prototype would still apply. */
65833 char $ac_func ();
65834 /* The GNU C library defines this for functions which it implements
65835 to always fail with ENOSYS. Some functions are actually named
65836 something starting with __ and the normal name is an alias. */
65837 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65838 choke me
65839 #else
65840 char (*f) () = $ac_func;
65841 #endif
65842 #ifdef __cplusplus
65844 #endif
65847 main ()
65849 return f != $ac_func;
65851 return 0;
65853 _ACEOF
65854 rm -f conftest.$ac_objext conftest$ac_exeext
65855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65856 (eval $ac_link) 2>conftest.er1
65857 ac_status=$?
65858 grep -v '^ *+' conftest.er1 >conftest.err
65859 rm -f conftest.er1
65860 cat conftest.err >&5
65861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65862 (exit $ac_status); } &&
65863 { ac_try='test -z "$ac_c_werror_flag"
65864 || test ! -s conftest.err'
65865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65866 (eval $ac_try) 2>&5
65867 ac_status=$?
65868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65869 (exit $ac_status); }; } &&
65870 { ac_try='test -s conftest$ac_exeext'
65871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65872 (eval $ac_try) 2>&5
65873 ac_status=$?
65874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65875 (exit $ac_status); }; }; then
65876 eval "$as_ac_var=yes"
65877 else
65878 echo "$as_me: failed program was:" >&5
65879 sed 's/^/| /' conftest.$ac_ext >&5
65881 eval "$as_ac_var=no"
65883 rm -f conftest.err conftest.$ac_objext \
65884 conftest$ac_exeext conftest.$ac_ext
65886 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65887 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65888 if test `eval echo '${'$as_ac_var'}'` = yes; then
65889 cat >>confdefs.h <<_ACEOF
65890 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65891 _ACEOF
65894 done
65904 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
65905 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
65906 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
65907 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
65908 echo $ECHO_N "(cached) $ECHO_C" >&6
65909 else
65913 ac_ext=cc
65914 ac_cpp='$CXXCPP $CPPFLAGS'
65915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65919 cat >conftest.$ac_ext <<_ACEOF
65920 /* confdefs.h. */
65921 _ACEOF
65922 cat confdefs.h >>conftest.$ac_ext
65923 cat >>conftest.$ac_ext <<_ACEOF
65924 /* end confdefs.h. */
65925 #include <math.h>
65926 #ifdef HAVE_IEEEFP_H
65927 #include <ieeefp.h>
65928 #endif
65931 main ()
65933 sqrtf(0);
65935 return 0;
65937 _ACEOF
65938 rm -f conftest.$ac_objext
65939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65940 (eval $ac_compile) 2>conftest.er1
65941 ac_status=$?
65942 grep -v '^ *+' conftest.er1 >conftest.err
65943 rm -f conftest.er1
65944 cat conftest.err >&5
65945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65946 (exit $ac_status); } &&
65947 { ac_try='test -z "$ac_cxx_werror_flag"
65948 || test ! -s conftest.err'
65949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65950 (eval $ac_try) 2>&5
65951 ac_status=$?
65952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65953 (exit $ac_status); }; } &&
65954 { ac_try='test -s conftest.$ac_objext'
65955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65956 (eval $ac_try) 2>&5
65957 ac_status=$?
65958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65959 (exit $ac_status); }; }; then
65960 glibcxx_cv_func_sqrtf_use=yes
65961 else
65962 echo "$as_me: failed program was:" >&5
65963 sed 's/^/| /' conftest.$ac_ext >&5
65965 glibcxx_cv_func_sqrtf_use=no
65967 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65968 ac_ext=c
65969 ac_cpp='$CPP $CPPFLAGS'
65970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65978 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
65979 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
65981 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
65983 for ac_func in sqrtf
65985 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65986 echo "$as_me:$LINENO: checking for $ac_func" >&5
65987 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65988 if eval "test \"\${$as_ac_var+set}\" = set"; then
65989 echo $ECHO_N "(cached) $ECHO_C" >&6
65990 else
65991 if test x$gcc_no_link = xyes; then
65992 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65993 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65994 { (exit 1); exit 1; }; }
65996 cat >conftest.$ac_ext <<_ACEOF
65997 /* confdefs.h. */
65998 _ACEOF
65999 cat confdefs.h >>conftest.$ac_ext
66000 cat >>conftest.$ac_ext <<_ACEOF
66001 /* end confdefs.h. */
66002 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66003 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66004 #define $ac_func innocuous_$ac_func
66006 /* System header to define __stub macros and hopefully few prototypes,
66007 which can conflict with char $ac_func (); below.
66008 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66009 <limits.h> exists even on freestanding compilers. */
66011 #ifdef __STDC__
66012 # include <limits.h>
66013 #else
66014 # include <assert.h>
66015 #endif
66017 #undef $ac_func
66019 /* Override any gcc2 internal prototype to avoid an error. */
66020 #ifdef __cplusplus
66021 extern "C"
66023 #endif
66024 /* We use char because int might match the return type of a gcc2
66025 builtin and then its argument prototype would still apply. */
66026 char $ac_func ();
66027 /* The GNU C library defines this for functions which it implements
66028 to always fail with ENOSYS. Some functions are actually named
66029 something starting with __ and the normal name is an alias. */
66030 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66031 choke me
66032 #else
66033 char (*f) () = $ac_func;
66034 #endif
66035 #ifdef __cplusplus
66037 #endif
66040 main ()
66042 return f != $ac_func;
66044 return 0;
66046 _ACEOF
66047 rm -f conftest.$ac_objext conftest$ac_exeext
66048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66049 (eval $ac_link) 2>conftest.er1
66050 ac_status=$?
66051 grep -v '^ *+' conftest.er1 >conftest.err
66052 rm -f conftest.er1
66053 cat conftest.err >&5
66054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66055 (exit $ac_status); } &&
66056 { ac_try='test -z "$ac_c_werror_flag"
66057 || test ! -s conftest.err'
66058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66059 (eval $ac_try) 2>&5
66060 ac_status=$?
66061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66062 (exit $ac_status); }; } &&
66063 { ac_try='test -s conftest$ac_exeext'
66064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66065 (eval $ac_try) 2>&5
66066 ac_status=$?
66067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66068 (exit $ac_status); }; }; then
66069 eval "$as_ac_var=yes"
66070 else
66071 echo "$as_me: failed program was:" >&5
66072 sed 's/^/| /' conftest.$ac_ext >&5
66074 eval "$as_ac_var=no"
66076 rm -f conftest.err conftest.$ac_objext \
66077 conftest$ac_exeext conftest.$ac_ext
66079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66080 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66081 if test `eval echo '${'$as_ac_var'}'` = yes; then
66082 cat >>confdefs.h <<_ACEOF
66083 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66084 _ACEOF
66087 done
66089 else
66091 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
66092 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
66093 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
66094 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
66095 echo $ECHO_N "(cached) $ECHO_C" >&6
66096 else
66100 ac_ext=cc
66101 ac_cpp='$CXXCPP $CPPFLAGS'
66102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66106 cat >conftest.$ac_ext <<_ACEOF
66107 /* confdefs.h. */
66108 _ACEOF
66109 cat confdefs.h >>conftest.$ac_ext
66110 cat >>conftest.$ac_ext <<_ACEOF
66111 /* end confdefs.h. */
66112 #include <math.h>
66113 #ifdef HAVE_IEEEFP_H
66114 #include <ieeefp.h>
66115 #endif
66118 main ()
66120 _sqrtf(0);
66122 return 0;
66124 _ACEOF
66125 rm -f conftest.$ac_objext
66126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66127 (eval $ac_compile) 2>conftest.er1
66128 ac_status=$?
66129 grep -v '^ *+' conftest.er1 >conftest.err
66130 rm -f conftest.er1
66131 cat conftest.err >&5
66132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66133 (exit $ac_status); } &&
66134 { ac_try='test -z "$ac_cxx_werror_flag"
66135 || test ! -s conftest.err'
66136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66137 (eval $ac_try) 2>&5
66138 ac_status=$?
66139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66140 (exit $ac_status); }; } &&
66141 { ac_try='test -s conftest.$ac_objext'
66142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66143 (eval $ac_try) 2>&5
66144 ac_status=$?
66145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66146 (exit $ac_status); }; }; then
66147 glibcxx_cv_func__sqrtf_use=yes
66148 else
66149 echo "$as_me: failed program was:" >&5
66150 sed 's/^/| /' conftest.$ac_ext >&5
66152 glibcxx_cv_func__sqrtf_use=no
66154 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66155 ac_ext=c
66156 ac_cpp='$CPP $CPPFLAGS'
66157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66165 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
66166 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
66168 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
66170 for ac_func in _sqrtf
66172 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66173 echo "$as_me:$LINENO: checking for $ac_func" >&5
66174 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66175 if eval "test \"\${$as_ac_var+set}\" = set"; then
66176 echo $ECHO_N "(cached) $ECHO_C" >&6
66177 else
66178 if test x$gcc_no_link = xyes; then
66179 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66180 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66181 { (exit 1); exit 1; }; }
66183 cat >conftest.$ac_ext <<_ACEOF
66184 /* confdefs.h. */
66185 _ACEOF
66186 cat confdefs.h >>conftest.$ac_ext
66187 cat >>conftest.$ac_ext <<_ACEOF
66188 /* end confdefs.h. */
66189 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66190 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66191 #define $ac_func innocuous_$ac_func
66193 /* System header to define __stub macros and hopefully few prototypes,
66194 which can conflict with char $ac_func (); below.
66195 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66196 <limits.h> exists even on freestanding compilers. */
66198 #ifdef __STDC__
66199 # include <limits.h>
66200 #else
66201 # include <assert.h>
66202 #endif
66204 #undef $ac_func
66206 /* Override any gcc2 internal prototype to avoid an error. */
66207 #ifdef __cplusplus
66208 extern "C"
66210 #endif
66211 /* We use char because int might match the return type of a gcc2
66212 builtin and then its argument prototype would still apply. */
66213 char $ac_func ();
66214 /* The GNU C library defines this for functions which it implements
66215 to always fail with ENOSYS. Some functions are actually named
66216 something starting with __ and the normal name is an alias. */
66217 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66218 choke me
66219 #else
66220 char (*f) () = $ac_func;
66221 #endif
66222 #ifdef __cplusplus
66224 #endif
66227 main ()
66229 return f != $ac_func;
66231 return 0;
66233 _ACEOF
66234 rm -f conftest.$ac_objext conftest$ac_exeext
66235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66236 (eval $ac_link) 2>conftest.er1
66237 ac_status=$?
66238 grep -v '^ *+' conftest.er1 >conftest.err
66239 rm -f conftest.er1
66240 cat conftest.err >&5
66241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66242 (exit $ac_status); } &&
66243 { ac_try='test -z "$ac_c_werror_flag"
66244 || test ! -s conftest.err'
66245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66246 (eval $ac_try) 2>&5
66247 ac_status=$?
66248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66249 (exit $ac_status); }; } &&
66250 { ac_try='test -s conftest$ac_exeext'
66251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66252 (eval $ac_try) 2>&5
66253 ac_status=$?
66254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66255 (exit $ac_status); }; }; then
66256 eval "$as_ac_var=yes"
66257 else
66258 echo "$as_me: failed program was:" >&5
66259 sed 's/^/| /' conftest.$ac_ext >&5
66261 eval "$as_ac_var=no"
66263 rm -f conftest.err conftest.$ac_objext \
66264 conftest$ac_exeext conftest.$ac_ext
66266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66267 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66268 if test `eval echo '${'$as_ac_var'}'` = yes; then
66269 cat >>confdefs.h <<_ACEOF
66270 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66271 _ACEOF
66274 done
66284 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
66285 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
66286 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
66287 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
66288 echo $ECHO_N "(cached) $ECHO_C" >&6
66289 else
66293 ac_ext=cc
66294 ac_cpp='$CXXCPP $CPPFLAGS'
66295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66299 cat >conftest.$ac_ext <<_ACEOF
66300 /* confdefs.h. */
66301 _ACEOF
66302 cat confdefs.h >>conftest.$ac_ext
66303 cat >>conftest.$ac_ext <<_ACEOF
66304 /* end confdefs.h. */
66305 #include <math.h>
66307 main ()
66309 sincosf(0, 0, 0);
66311 return 0;
66313 _ACEOF
66314 rm -f conftest.$ac_objext
66315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66316 (eval $ac_compile) 2>conftest.er1
66317 ac_status=$?
66318 grep -v '^ *+' conftest.er1 >conftest.err
66319 rm -f conftest.er1
66320 cat conftest.err >&5
66321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66322 (exit $ac_status); } &&
66323 { ac_try='test -z "$ac_cxx_werror_flag"
66324 || test ! -s conftest.err'
66325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66326 (eval $ac_try) 2>&5
66327 ac_status=$?
66328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66329 (exit $ac_status); }; } &&
66330 { ac_try='test -s conftest.$ac_objext'
66331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66332 (eval $ac_try) 2>&5
66333 ac_status=$?
66334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66335 (exit $ac_status); }; }; then
66336 glibcxx_cv_func_sincosf_use=yes
66337 else
66338 echo "$as_me: failed program was:" >&5
66339 sed 's/^/| /' conftest.$ac_ext >&5
66341 glibcxx_cv_func_sincosf_use=no
66343 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66344 ac_ext=c
66345 ac_cpp='$CPP $CPPFLAGS'
66346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66354 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
66355 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
66357 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
66359 for ac_func in sincosf
66361 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66362 echo "$as_me:$LINENO: checking for $ac_func" >&5
66363 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66364 if eval "test \"\${$as_ac_var+set}\" = set"; then
66365 echo $ECHO_N "(cached) $ECHO_C" >&6
66366 else
66367 if test x$gcc_no_link = xyes; then
66368 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66369 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66370 { (exit 1); exit 1; }; }
66372 cat >conftest.$ac_ext <<_ACEOF
66373 /* confdefs.h. */
66374 _ACEOF
66375 cat confdefs.h >>conftest.$ac_ext
66376 cat >>conftest.$ac_ext <<_ACEOF
66377 /* end confdefs.h. */
66378 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66379 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66380 #define $ac_func innocuous_$ac_func
66382 /* System header to define __stub macros and hopefully few prototypes,
66383 which can conflict with char $ac_func (); below.
66384 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66385 <limits.h> exists even on freestanding compilers. */
66387 #ifdef __STDC__
66388 # include <limits.h>
66389 #else
66390 # include <assert.h>
66391 #endif
66393 #undef $ac_func
66395 /* Override any gcc2 internal prototype to avoid an error. */
66396 #ifdef __cplusplus
66397 extern "C"
66399 #endif
66400 /* We use char because int might match the return type of a gcc2
66401 builtin and then its argument prototype would still apply. */
66402 char $ac_func ();
66403 /* The GNU C library defines this for functions which it implements
66404 to always fail with ENOSYS. Some functions are actually named
66405 something starting with __ and the normal name is an alias. */
66406 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66407 choke me
66408 #else
66409 char (*f) () = $ac_func;
66410 #endif
66411 #ifdef __cplusplus
66413 #endif
66416 main ()
66418 return f != $ac_func;
66420 return 0;
66422 _ACEOF
66423 rm -f conftest.$ac_objext conftest$ac_exeext
66424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66425 (eval $ac_link) 2>conftest.er1
66426 ac_status=$?
66427 grep -v '^ *+' conftest.er1 >conftest.err
66428 rm -f conftest.er1
66429 cat conftest.err >&5
66430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66431 (exit $ac_status); } &&
66432 { ac_try='test -z "$ac_c_werror_flag"
66433 || test ! -s conftest.err'
66434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66435 (eval $ac_try) 2>&5
66436 ac_status=$?
66437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66438 (exit $ac_status); }; } &&
66439 { ac_try='test -s conftest$ac_exeext'
66440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66441 (eval $ac_try) 2>&5
66442 ac_status=$?
66443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66444 (exit $ac_status); }; }; then
66445 eval "$as_ac_var=yes"
66446 else
66447 echo "$as_me: failed program was:" >&5
66448 sed 's/^/| /' conftest.$ac_ext >&5
66450 eval "$as_ac_var=no"
66452 rm -f conftest.err conftest.$ac_objext \
66453 conftest$ac_exeext conftest.$ac_ext
66455 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66456 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66457 if test `eval echo '${'$as_ac_var'}'` = yes; then
66458 cat >>confdefs.h <<_ACEOF
66459 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66460 _ACEOF
66463 done
66465 else
66467 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
66468 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
66469 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
66470 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
66471 echo $ECHO_N "(cached) $ECHO_C" >&6
66472 else
66476 ac_ext=cc
66477 ac_cpp='$CXXCPP $CPPFLAGS'
66478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66482 cat >conftest.$ac_ext <<_ACEOF
66483 /* confdefs.h. */
66484 _ACEOF
66485 cat confdefs.h >>conftest.$ac_ext
66486 cat >>conftest.$ac_ext <<_ACEOF
66487 /* end confdefs.h. */
66488 #include <math.h>
66490 main ()
66492 _sincosf(0, 0, 0);
66494 return 0;
66496 _ACEOF
66497 rm -f conftest.$ac_objext
66498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66499 (eval $ac_compile) 2>conftest.er1
66500 ac_status=$?
66501 grep -v '^ *+' conftest.er1 >conftest.err
66502 rm -f conftest.er1
66503 cat conftest.err >&5
66504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66505 (exit $ac_status); } &&
66506 { ac_try='test -z "$ac_cxx_werror_flag"
66507 || test ! -s conftest.err'
66508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66509 (eval $ac_try) 2>&5
66510 ac_status=$?
66511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66512 (exit $ac_status); }; } &&
66513 { ac_try='test -s conftest.$ac_objext'
66514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66515 (eval $ac_try) 2>&5
66516 ac_status=$?
66517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66518 (exit $ac_status); }; }; then
66519 glibcxx_cv_func__sincosf_use=yes
66520 else
66521 echo "$as_me: failed program was:" >&5
66522 sed 's/^/| /' conftest.$ac_ext >&5
66524 glibcxx_cv_func__sincosf_use=no
66526 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66527 ac_ext=c
66528 ac_cpp='$CPP $CPPFLAGS'
66529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66537 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
66538 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
66540 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
66542 for ac_func in _sincosf
66544 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66545 echo "$as_me:$LINENO: checking for $ac_func" >&5
66546 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66547 if eval "test \"\${$as_ac_var+set}\" = set"; then
66548 echo $ECHO_N "(cached) $ECHO_C" >&6
66549 else
66550 if test x$gcc_no_link = xyes; then
66551 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66552 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66553 { (exit 1); exit 1; }; }
66555 cat >conftest.$ac_ext <<_ACEOF
66556 /* confdefs.h. */
66557 _ACEOF
66558 cat confdefs.h >>conftest.$ac_ext
66559 cat >>conftest.$ac_ext <<_ACEOF
66560 /* end confdefs.h. */
66561 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66562 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66563 #define $ac_func innocuous_$ac_func
66565 /* System header to define __stub macros and hopefully few prototypes,
66566 which can conflict with char $ac_func (); below.
66567 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66568 <limits.h> exists even on freestanding compilers. */
66570 #ifdef __STDC__
66571 # include <limits.h>
66572 #else
66573 # include <assert.h>
66574 #endif
66576 #undef $ac_func
66578 /* Override any gcc2 internal prototype to avoid an error. */
66579 #ifdef __cplusplus
66580 extern "C"
66582 #endif
66583 /* We use char because int might match the return type of a gcc2
66584 builtin and then its argument prototype would still apply. */
66585 char $ac_func ();
66586 /* The GNU C library defines this for functions which it implements
66587 to always fail with ENOSYS. Some functions are actually named
66588 something starting with __ and the normal name is an alias. */
66589 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66590 choke me
66591 #else
66592 char (*f) () = $ac_func;
66593 #endif
66594 #ifdef __cplusplus
66596 #endif
66599 main ()
66601 return f != $ac_func;
66603 return 0;
66605 _ACEOF
66606 rm -f conftest.$ac_objext conftest$ac_exeext
66607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66608 (eval $ac_link) 2>conftest.er1
66609 ac_status=$?
66610 grep -v '^ *+' conftest.er1 >conftest.err
66611 rm -f conftest.er1
66612 cat conftest.err >&5
66613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66614 (exit $ac_status); } &&
66615 { ac_try='test -z "$ac_c_werror_flag"
66616 || test ! -s conftest.err'
66617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66618 (eval $ac_try) 2>&5
66619 ac_status=$?
66620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66621 (exit $ac_status); }; } &&
66622 { ac_try='test -s conftest$ac_exeext'
66623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66624 (eval $ac_try) 2>&5
66625 ac_status=$?
66626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66627 (exit $ac_status); }; }; then
66628 eval "$as_ac_var=yes"
66629 else
66630 echo "$as_me: failed program was:" >&5
66631 sed 's/^/| /' conftest.$ac_ext >&5
66633 eval "$as_ac_var=no"
66635 rm -f conftest.err conftest.$ac_objext \
66636 conftest$ac_exeext conftest.$ac_ext
66638 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66639 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66640 if test `eval echo '${'$as_ac_var'}'` = yes; then
66641 cat >>confdefs.h <<_ACEOF
66642 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66643 _ACEOF
66646 done
66656 echo "$as_me:$LINENO: checking for finitef declaration" >&5
66657 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
66658 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
66659 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
66660 echo $ECHO_N "(cached) $ECHO_C" >&6
66661 else
66665 ac_ext=cc
66666 ac_cpp='$CXXCPP $CPPFLAGS'
66667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66671 cat >conftest.$ac_ext <<_ACEOF
66672 /* confdefs.h. */
66673 _ACEOF
66674 cat confdefs.h >>conftest.$ac_ext
66675 cat >>conftest.$ac_ext <<_ACEOF
66676 /* end confdefs.h. */
66677 #include <math.h>
66678 #ifdef HAVE_IEEEFP_H
66679 #include <ieeefp.h>
66680 #endif
66683 main ()
66685 finitef(0);
66687 return 0;
66689 _ACEOF
66690 rm -f conftest.$ac_objext
66691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66692 (eval $ac_compile) 2>conftest.er1
66693 ac_status=$?
66694 grep -v '^ *+' conftest.er1 >conftest.err
66695 rm -f conftest.er1
66696 cat conftest.err >&5
66697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66698 (exit $ac_status); } &&
66699 { ac_try='test -z "$ac_cxx_werror_flag"
66700 || test ! -s conftest.err'
66701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66702 (eval $ac_try) 2>&5
66703 ac_status=$?
66704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66705 (exit $ac_status); }; } &&
66706 { ac_try='test -s conftest.$ac_objext'
66707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66708 (eval $ac_try) 2>&5
66709 ac_status=$?
66710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66711 (exit $ac_status); }; }; then
66712 glibcxx_cv_func_finitef_use=yes
66713 else
66714 echo "$as_me: failed program was:" >&5
66715 sed 's/^/| /' conftest.$ac_ext >&5
66717 glibcxx_cv_func_finitef_use=no
66719 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66720 ac_ext=c
66721 ac_cpp='$CPP $CPPFLAGS'
66722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66730 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
66731 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
66733 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
66735 for ac_func in finitef
66737 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66738 echo "$as_me:$LINENO: checking for $ac_func" >&5
66739 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66740 if eval "test \"\${$as_ac_var+set}\" = set"; then
66741 echo $ECHO_N "(cached) $ECHO_C" >&6
66742 else
66743 if test x$gcc_no_link = xyes; then
66744 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66745 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66746 { (exit 1); exit 1; }; }
66748 cat >conftest.$ac_ext <<_ACEOF
66749 /* confdefs.h. */
66750 _ACEOF
66751 cat confdefs.h >>conftest.$ac_ext
66752 cat >>conftest.$ac_ext <<_ACEOF
66753 /* end confdefs.h. */
66754 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66755 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66756 #define $ac_func innocuous_$ac_func
66758 /* System header to define __stub macros and hopefully few prototypes,
66759 which can conflict with char $ac_func (); below.
66760 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66761 <limits.h> exists even on freestanding compilers. */
66763 #ifdef __STDC__
66764 # include <limits.h>
66765 #else
66766 # include <assert.h>
66767 #endif
66769 #undef $ac_func
66771 /* Override any gcc2 internal prototype to avoid an error. */
66772 #ifdef __cplusplus
66773 extern "C"
66775 #endif
66776 /* We use char because int might match the return type of a gcc2
66777 builtin and then its argument prototype would still apply. */
66778 char $ac_func ();
66779 /* The GNU C library defines this for functions which it implements
66780 to always fail with ENOSYS. Some functions are actually named
66781 something starting with __ and the normal name is an alias. */
66782 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66783 choke me
66784 #else
66785 char (*f) () = $ac_func;
66786 #endif
66787 #ifdef __cplusplus
66789 #endif
66792 main ()
66794 return f != $ac_func;
66796 return 0;
66798 _ACEOF
66799 rm -f conftest.$ac_objext conftest$ac_exeext
66800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66801 (eval $ac_link) 2>conftest.er1
66802 ac_status=$?
66803 grep -v '^ *+' conftest.er1 >conftest.err
66804 rm -f conftest.er1
66805 cat conftest.err >&5
66806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66807 (exit $ac_status); } &&
66808 { ac_try='test -z "$ac_c_werror_flag"
66809 || test ! -s conftest.err'
66810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66811 (eval $ac_try) 2>&5
66812 ac_status=$?
66813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66814 (exit $ac_status); }; } &&
66815 { ac_try='test -s conftest$ac_exeext'
66816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66817 (eval $ac_try) 2>&5
66818 ac_status=$?
66819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66820 (exit $ac_status); }; }; then
66821 eval "$as_ac_var=yes"
66822 else
66823 echo "$as_me: failed program was:" >&5
66824 sed 's/^/| /' conftest.$ac_ext >&5
66826 eval "$as_ac_var=no"
66828 rm -f conftest.err conftest.$ac_objext \
66829 conftest$ac_exeext conftest.$ac_ext
66831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66832 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66833 if test `eval echo '${'$as_ac_var'}'` = yes; then
66834 cat >>confdefs.h <<_ACEOF
66835 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66836 _ACEOF
66839 done
66841 else
66843 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
66844 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
66845 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
66846 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
66847 echo $ECHO_N "(cached) $ECHO_C" >&6
66848 else
66852 ac_ext=cc
66853 ac_cpp='$CXXCPP $CPPFLAGS'
66854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66858 cat >conftest.$ac_ext <<_ACEOF
66859 /* confdefs.h. */
66860 _ACEOF
66861 cat confdefs.h >>conftest.$ac_ext
66862 cat >>conftest.$ac_ext <<_ACEOF
66863 /* end confdefs.h. */
66864 #include <math.h>
66865 #ifdef HAVE_IEEEFP_H
66866 #include <ieeefp.h>
66867 #endif
66870 main ()
66872 _finitef(0);
66874 return 0;
66876 _ACEOF
66877 rm -f conftest.$ac_objext
66878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66879 (eval $ac_compile) 2>conftest.er1
66880 ac_status=$?
66881 grep -v '^ *+' conftest.er1 >conftest.err
66882 rm -f conftest.er1
66883 cat conftest.err >&5
66884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66885 (exit $ac_status); } &&
66886 { ac_try='test -z "$ac_cxx_werror_flag"
66887 || test ! -s conftest.err'
66888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66889 (eval $ac_try) 2>&5
66890 ac_status=$?
66891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66892 (exit $ac_status); }; } &&
66893 { ac_try='test -s conftest.$ac_objext'
66894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66895 (eval $ac_try) 2>&5
66896 ac_status=$?
66897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66898 (exit $ac_status); }; }; then
66899 glibcxx_cv_func__finitef_use=yes
66900 else
66901 echo "$as_me: failed program was:" >&5
66902 sed 's/^/| /' conftest.$ac_ext >&5
66904 glibcxx_cv_func__finitef_use=no
66906 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66907 ac_ext=c
66908 ac_cpp='$CPP $CPPFLAGS'
66909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66917 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
66918 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
66920 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
66922 for ac_func in _finitef
66924 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66925 echo "$as_me:$LINENO: checking for $ac_func" >&5
66926 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66927 if eval "test \"\${$as_ac_var+set}\" = set"; then
66928 echo $ECHO_N "(cached) $ECHO_C" >&6
66929 else
66930 if test x$gcc_no_link = xyes; then
66931 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66932 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66933 { (exit 1); exit 1; }; }
66935 cat >conftest.$ac_ext <<_ACEOF
66936 /* confdefs.h. */
66937 _ACEOF
66938 cat confdefs.h >>conftest.$ac_ext
66939 cat >>conftest.$ac_ext <<_ACEOF
66940 /* end confdefs.h. */
66941 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66942 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66943 #define $ac_func innocuous_$ac_func
66945 /* System header to define __stub macros and hopefully few prototypes,
66946 which can conflict with char $ac_func (); below.
66947 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66948 <limits.h> exists even on freestanding compilers. */
66950 #ifdef __STDC__
66951 # include <limits.h>
66952 #else
66953 # include <assert.h>
66954 #endif
66956 #undef $ac_func
66958 /* Override any gcc2 internal prototype to avoid an error. */
66959 #ifdef __cplusplus
66960 extern "C"
66962 #endif
66963 /* We use char because int might match the return type of a gcc2
66964 builtin and then its argument prototype would still apply. */
66965 char $ac_func ();
66966 /* The GNU C library defines this for functions which it implements
66967 to always fail with ENOSYS. Some functions are actually named
66968 something starting with __ and the normal name is an alias. */
66969 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66970 choke me
66971 #else
66972 char (*f) () = $ac_func;
66973 #endif
66974 #ifdef __cplusplus
66976 #endif
66979 main ()
66981 return f != $ac_func;
66983 return 0;
66985 _ACEOF
66986 rm -f conftest.$ac_objext conftest$ac_exeext
66987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66988 (eval $ac_link) 2>conftest.er1
66989 ac_status=$?
66990 grep -v '^ *+' conftest.er1 >conftest.err
66991 rm -f conftest.er1
66992 cat conftest.err >&5
66993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66994 (exit $ac_status); } &&
66995 { ac_try='test -z "$ac_c_werror_flag"
66996 || test ! -s conftest.err'
66997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66998 (eval $ac_try) 2>&5
66999 ac_status=$?
67000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67001 (exit $ac_status); }; } &&
67002 { ac_try='test -s conftest$ac_exeext'
67003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67004 (eval $ac_try) 2>&5
67005 ac_status=$?
67006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67007 (exit $ac_status); }; }; then
67008 eval "$as_ac_var=yes"
67009 else
67010 echo "$as_me: failed program was:" >&5
67011 sed 's/^/| /' conftest.$ac_ext >&5
67013 eval "$as_ac_var=no"
67015 rm -f conftest.err conftest.$ac_objext \
67016 conftest$ac_exeext conftest.$ac_ext
67018 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67019 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67020 if test `eval echo '${'$as_ac_var'}'` = yes; then
67021 cat >>confdefs.h <<_ACEOF
67022 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67023 _ACEOF
67026 done
67036 echo "$as_me:$LINENO: checking for long double trig functions" >&5
67037 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
67038 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
67039 echo $ECHO_N "(cached) $ECHO_C" >&6
67040 else
67044 ac_ext=cc
67045 ac_cpp='$CXXCPP $CPPFLAGS'
67046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67050 cat >conftest.$ac_ext <<_ACEOF
67051 /* confdefs.h. */
67052 _ACEOF
67053 cat confdefs.h >>conftest.$ac_ext
67054 cat >>conftest.$ac_ext <<_ACEOF
67055 /* end confdefs.h. */
67056 #include <math.h>
67058 main ()
67060 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
67062 return 0;
67064 _ACEOF
67065 rm -f conftest.$ac_objext
67066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67067 (eval $ac_compile) 2>conftest.er1
67068 ac_status=$?
67069 grep -v '^ *+' conftest.er1 >conftest.err
67070 rm -f conftest.er1
67071 cat conftest.err >&5
67072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67073 (exit $ac_status); } &&
67074 { ac_try='test -z "$ac_cxx_werror_flag"
67075 || test ! -s conftest.err'
67076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67077 (eval $ac_try) 2>&5
67078 ac_status=$?
67079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67080 (exit $ac_status); }; } &&
67081 { ac_try='test -s conftest.$ac_objext'
67082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67083 (eval $ac_try) 2>&5
67084 ac_status=$?
67085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67086 (exit $ac_status); }; }; then
67087 glibcxx_cv_func_long_double_trig_use=yes
67088 else
67089 echo "$as_me: failed program was:" >&5
67090 sed 's/^/| /' conftest.$ac_ext >&5
67092 glibcxx_cv_func_long_double_trig_use=no
67094 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67095 ac_ext=c
67096 ac_cpp='$CPP $CPPFLAGS'
67097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67103 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
67104 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
67105 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
67115 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
67117 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67118 echo "$as_me:$LINENO: checking for $ac_func" >&5
67119 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67120 if eval "test \"\${$as_ac_var+set}\" = set"; then
67121 echo $ECHO_N "(cached) $ECHO_C" >&6
67122 else
67123 if test x$gcc_no_link = xyes; then
67124 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67125 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67126 { (exit 1); exit 1; }; }
67128 cat >conftest.$ac_ext <<_ACEOF
67129 /* confdefs.h. */
67130 _ACEOF
67131 cat confdefs.h >>conftest.$ac_ext
67132 cat >>conftest.$ac_ext <<_ACEOF
67133 /* end confdefs.h. */
67134 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67135 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67136 #define $ac_func innocuous_$ac_func
67138 /* System header to define __stub macros and hopefully few prototypes,
67139 which can conflict with char $ac_func (); below.
67140 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67141 <limits.h> exists even on freestanding compilers. */
67143 #ifdef __STDC__
67144 # include <limits.h>
67145 #else
67146 # include <assert.h>
67147 #endif
67149 #undef $ac_func
67151 /* Override any gcc2 internal prototype to avoid an error. */
67152 #ifdef __cplusplus
67153 extern "C"
67155 #endif
67156 /* We use char because int might match the return type of a gcc2
67157 builtin and then its argument prototype would still apply. */
67158 char $ac_func ();
67159 /* The GNU C library defines this for functions which it implements
67160 to always fail with ENOSYS. Some functions are actually named
67161 something starting with __ and the normal name is an alias. */
67162 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67163 choke me
67164 #else
67165 char (*f) () = $ac_func;
67166 #endif
67167 #ifdef __cplusplus
67169 #endif
67172 main ()
67174 return f != $ac_func;
67176 return 0;
67178 _ACEOF
67179 rm -f conftest.$ac_objext conftest$ac_exeext
67180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67181 (eval $ac_link) 2>conftest.er1
67182 ac_status=$?
67183 grep -v '^ *+' conftest.er1 >conftest.err
67184 rm -f conftest.er1
67185 cat conftest.err >&5
67186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67187 (exit $ac_status); } &&
67188 { ac_try='test -z "$ac_c_werror_flag"
67189 || test ! -s conftest.err'
67190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67191 (eval $ac_try) 2>&5
67192 ac_status=$?
67193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67194 (exit $ac_status); }; } &&
67195 { ac_try='test -s conftest$ac_exeext'
67196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67197 (eval $ac_try) 2>&5
67198 ac_status=$?
67199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67200 (exit $ac_status); }; }; then
67201 eval "$as_ac_var=yes"
67202 else
67203 echo "$as_me: failed program was:" >&5
67204 sed 's/^/| /' conftest.$ac_ext >&5
67206 eval "$as_ac_var=no"
67208 rm -f conftest.err conftest.$ac_objext \
67209 conftest$ac_exeext conftest.$ac_ext
67211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67212 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67213 if test `eval echo '${'$as_ac_var'}'` = yes; then
67214 cat >>confdefs.h <<_ACEOF
67215 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67216 _ACEOF
67219 done
67221 else
67222 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
67223 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
67224 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
67225 echo $ECHO_N "(cached) $ECHO_C" >&6
67226 else
67230 ac_ext=cc
67231 ac_cpp='$CXXCPP $CPPFLAGS'
67232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67236 cat >conftest.$ac_ext <<_ACEOF
67237 /* confdefs.h. */
67238 _ACEOF
67239 cat confdefs.h >>conftest.$ac_ext
67240 cat >>conftest.$ac_ext <<_ACEOF
67241 /* end confdefs.h. */
67242 #include <math.h>
67244 main ()
67246 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
67248 return 0;
67250 _ACEOF
67251 rm -f conftest.$ac_objext
67252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67253 (eval $ac_compile) 2>conftest.er1
67254 ac_status=$?
67255 grep -v '^ *+' conftest.er1 >conftest.err
67256 rm -f conftest.er1
67257 cat conftest.err >&5
67258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67259 (exit $ac_status); } &&
67260 { ac_try='test -z "$ac_cxx_werror_flag"
67261 || test ! -s conftest.err'
67262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67263 (eval $ac_try) 2>&5
67264 ac_status=$?
67265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67266 (exit $ac_status); }; } &&
67267 { ac_try='test -s conftest.$ac_objext'
67268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67269 (eval $ac_try) 2>&5
67270 ac_status=$?
67271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67272 (exit $ac_status); }; }; then
67273 glibcxx_cv_func__long_double_trig_use=yes
67274 else
67275 echo "$as_me: failed program was:" >&5
67276 sed 's/^/| /' conftest.$ac_ext >&5
67278 glibcxx_cv_func__long_double_trig_use=no
67280 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67281 ac_ext=c
67282 ac_cpp='$CPP $CPPFLAGS'
67283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67289 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
67290 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
67291 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
67301 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
67303 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67304 echo "$as_me:$LINENO: checking for $ac_func" >&5
67305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67306 if eval "test \"\${$as_ac_var+set}\" = set"; then
67307 echo $ECHO_N "(cached) $ECHO_C" >&6
67308 else
67309 if test x$gcc_no_link = xyes; then
67310 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67311 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67312 { (exit 1); exit 1; }; }
67314 cat >conftest.$ac_ext <<_ACEOF
67315 /* confdefs.h. */
67316 _ACEOF
67317 cat confdefs.h >>conftest.$ac_ext
67318 cat >>conftest.$ac_ext <<_ACEOF
67319 /* end confdefs.h. */
67320 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67321 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67322 #define $ac_func innocuous_$ac_func
67324 /* System header to define __stub macros and hopefully few prototypes,
67325 which can conflict with char $ac_func (); below.
67326 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67327 <limits.h> exists even on freestanding compilers. */
67329 #ifdef __STDC__
67330 # include <limits.h>
67331 #else
67332 # include <assert.h>
67333 #endif
67335 #undef $ac_func
67337 /* Override any gcc2 internal prototype to avoid an error. */
67338 #ifdef __cplusplus
67339 extern "C"
67341 #endif
67342 /* We use char because int might match the return type of a gcc2
67343 builtin and then its argument prototype would still apply. */
67344 char $ac_func ();
67345 /* The GNU C library defines this for functions which it implements
67346 to always fail with ENOSYS. Some functions are actually named
67347 something starting with __ and the normal name is an alias. */
67348 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67349 choke me
67350 #else
67351 char (*f) () = $ac_func;
67352 #endif
67353 #ifdef __cplusplus
67355 #endif
67358 main ()
67360 return f != $ac_func;
67362 return 0;
67364 _ACEOF
67365 rm -f conftest.$ac_objext conftest$ac_exeext
67366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67367 (eval $ac_link) 2>conftest.er1
67368 ac_status=$?
67369 grep -v '^ *+' conftest.er1 >conftest.err
67370 rm -f conftest.er1
67371 cat conftest.err >&5
67372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67373 (exit $ac_status); } &&
67374 { ac_try='test -z "$ac_c_werror_flag"
67375 || test ! -s conftest.err'
67376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67377 (eval $ac_try) 2>&5
67378 ac_status=$?
67379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67380 (exit $ac_status); }; } &&
67381 { ac_try='test -s conftest$ac_exeext'
67382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67383 (eval $ac_try) 2>&5
67384 ac_status=$?
67385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67386 (exit $ac_status); }; }; then
67387 eval "$as_ac_var=yes"
67388 else
67389 echo "$as_me: failed program was:" >&5
67390 sed 's/^/| /' conftest.$ac_ext >&5
67392 eval "$as_ac_var=no"
67394 rm -f conftest.err conftest.$ac_objext \
67395 conftest$ac_exeext conftest.$ac_ext
67397 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67398 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67399 if test `eval echo '${'$as_ac_var'}'` = yes; then
67400 cat >>confdefs.h <<_ACEOF
67401 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67402 _ACEOF
67405 done
67423 echo "$as_me:$LINENO: checking for long double round functions" >&5
67424 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
67425 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
67426 echo $ECHO_N "(cached) $ECHO_C" >&6
67427 else
67431 ac_ext=cc
67432 ac_cpp='$CXXCPP $CPPFLAGS'
67433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67437 cat >conftest.$ac_ext <<_ACEOF
67438 /* confdefs.h. */
67439 _ACEOF
67440 cat confdefs.h >>conftest.$ac_ext
67441 cat >>conftest.$ac_ext <<_ACEOF
67442 /* end confdefs.h. */
67443 #include <math.h>
67445 main ()
67447 ceill (0); floorl (0);
67449 return 0;
67451 _ACEOF
67452 rm -f conftest.$ac_objext
67453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67454 (eval $ac_compile) 2>conftest.er1
67455 ac_status=$?
67456 grep -v '^ *+' conftest.er1 >conftest.err
67457 rm -f conftest.er1
67458 cat conftest.err >&5
67459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67460 (exit $ac_status); } &&
67461 { ac_try='test -z "$ac_cxx_werror_flag"
67462 || test ! -s conftest.err'
67463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67464 (eval $ac_try) 2>&5
67465 ac_status=$?
67466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67467 (exit $ac_status); }; } &&
67468 { ac_try='test -s conftest.$ac_objext'
67469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67470 (eval $ac_try) 2>&5
67471 ac_status=$?
67472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67473 (exit $ac_status); }; }; then
67474 glibcxx_cv_func_long_double_round_use=yes
67475 else
67476 echo "$as_me: failed program was:" >&5
67477 sed 's/^/| /' conftest.$ac_ext >&5
67479 glibcxx_cv_func_long_double_round_use=no
67481 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67482 ac_ext=c
67483 ac_cpp='$CPP $CPPFLAGS'
67484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67490 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
67491 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
67492 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
67495 for ac_func in ceill floorl
67497 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67498 echo "$as_me:$LINENO: checking for $ac_func" >&5
67499 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67500 if eval "test \"\${$as_ac_var+set}\" = set"; then
67501 echo $ECHO_N "(cached) $ECHO_C" >&6
67502 else
67503 if test x$gcc_no_link = xyes; then
67504 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67505 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67506 { (exit 1); exit 1; }; }
67508 cat >conftest.$ac_ext <<_ACEOF
67509 /* confdefs.h. */
67510 _ACEOF
67511 cat confdefs.h >>conftest.$ac_ext
67512 cat >>conftest.$ac_ext <<_ACEOF
67513 /* end confdefs.h. */
67514 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67515 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67516 #define $ac_func innocuous_$ac_func
67518 /* System header to define __stub macros and hopefully few prototypes,
67519 which can conflict with char $ac_func (); below.
67520 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67521 <limits.h> exists even on freestanding compilers. */
67523 #ifdef __STDC__
67524 # include <limits.h>
67525 #else
67526 # include <assert.h>
67527 #endif
67529 #undef $ac_func
67531 /* Override any gcc2 internal prototype to avoid an error. */
67532 #ifdef __cplusplus
67533 extern "C"
67535 #endif
67536 /* We use char because int might match the return type of a gcc2
67537 builtin and then its argument prototype would still apply. */
67538 char $ac_func ();
67539 /* The GNU C library defines this for functions which it implements
67540 to always fail with ENOSYS. Some functions are actually named
67541 something starting with __ and the normal name is an alias. */
67542 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67543 choke me
67544 #else
67545 char (*f) () = $ac_func;
67546 #endif
67547 #ifdef __cplusplus
67549 #endif
67552 main ()
67554 return f != $ac_func;
67556 return 0;
67558 _ACEOF
67559 rm -f conftest.$ac_objext conftest$ac_exeext
67560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67561 (eval $ac_link) 2>conftest.er1
67562 ac_status=$?
67563 grep -v '^ *+' conftest.er1 >conftest.err
67564 rm -f conftest.er1
67565 cat conftest.err >&5
67566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67567 (exit $ac_status); } &&
67568 { ac_try='test -z "$ac_c_werror_flag"
67569 || test ! -s conftest.err'
67570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67571 (eval $ac_try) 2>&5
67572 ac_status=$?
67573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67574 (exit $ac_status); }; } &&
67575 { ac_try='test -s conftest$ac_exeext'
67576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67577 (eval $ac_try) 2>&5
67578 ac_status=$?
67579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67580 (exit $ac_status); }; }; then
67581 eval "$as_ac_var=yes"
67582 else
67583 echo "$as_me: failed program was:" >&5
67584 sed 's/^/| /' conftest.$ac_ext >&5
67586 eval "$as_ac_var=no"
67588 rm -f conftest.err conftest.$ac_objext \
67589 conftest$ac_exeext conftest.$ac_ext
67591 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67592 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67593 if test `eval echo '${'$as_ac_var'}'` = yes; then
67594 cat >>confdefs.h <<_ACEOF
67595 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67596 _ACEOF
67599 done
67601 else
67602 echo "$as_me:$LINENO: checking for _long double round functions" >&5
67603 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
67604 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
67605 echo $ECHO_N "(cached) $ECHO_C" >&6
67606 else
67610 ac_ext=cc
67611 ac_cpp='$CXXCPP $CPPFLAGS'
67612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67616 cat >conftest.$ac_ext <<_ACEOF
67617 /* confdefs.h. */
67618 _ACEOF
67619 cat confdefs.h >>conftest.$ac_ext
67620 cat >>conftest.$ac_ext <<_ACEOF
67621 /* end confdefs.h. */
67622 #include <math.h>
67624 main ()
67626 _ceill (0); _floorl (0);
67628 return 0;
67630 _ACEOF
67631 rm -f conftest.$ac_objext
67632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67633 (eval $ac_compile) 2>conftest.er1
67634 ac_status=$?
67635 grep -v '^ *+' conftest.er1 >conftest.err
67636 rm -f conftest.er1
67637 cat conftest.err >&5
67638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67639 (exit $ac_status); } &&
67640 { ac_try='test -z "$ac_cxx_werror_flag"
67641 || test ! -s conftest.err'
67642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67643 (eval $ac_try) 2>&5
67644 ac_status=$?
67645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67646 (exit $ac_status); }; } &&
67647 { ac_try='test -s conftest.$ac_objext'
67648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67649 (eval $ac_try) 2>&5
67650 ac_status=$?
67651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67652 (exit $ac_status); }; }; then
67653 glibcxx_cv_func__long_double_round_use=yes
67654 else
67655 echo "$as_me: failed program was:" >&5
67656 sed 's/^/| /' conftest.$ac_ext >&5
67658 glibcxx_cv_func__long_double_round_use=no
67660 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67661 ac_ext=c
67662 ac_cpp='$CPP $CPPFLAGS'
67663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67669 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
67670 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
67671 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
67674 for ac_func in _ceill _floorl
67676 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67677 echo "$as_me:$LINENO: checking for $ac_func" >&5
67678 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67679 if eval "test \"\${$as_ac_var+set}\" = set"; then
67680 echo $ECHO_N "(cached) $ECHO_C" >&6
67681 else
67682 if test x$gcc_no_link = xyes; then
67683 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67684 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67685 { (exit 1); exit 1; }; }
67687 cat >conftest.$ac_ext <<_ACEOF
67688 /* confdefs.h. */
67689 _ACEOF
67690 cat confdefs.h >>conftest.$ac_ext
67691 cat >>conftest.$ac_ext <<_ACEOF
67692 /* end confdefs.h. */
67693 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67694 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67695 #define $ac_func innocuous_$ac_func
67697 /* System header to define __stub macros and hopefully few prototypes,
67698 which can conflict with char $ac_func (); below.
67699 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67700 <limits.h> exists even on freestanding compilers. */
67702 #ifdef __STDC__
67703 # include <limits.h>
67704 #else
67705 # include <assert.h>
67706 #endif
67708 #undef $ac_func
67710 /* Override any gcc2 internal prototype to avoid an error. */
67711 #ifdef __cplusplus
67712 extern "C"
67714 #endif
67715 /* We use char because int might match the return type of a gcc2
67716 builtin and then its argument prototype would still apply. */
67717 char $ac_func ();
67718 /* The GNU C library defines this for functions which it implements
67719 to always fail with ENOSYS. Some functions are actually named
67720 something starting with __ and the normal name is an alias. */
67721 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67722 choke me
67723 #else
67724 char (*f) () = $ac_func;
67725 #endif
67726 #ifdef __cplusplus
67728 #endif
67731 main ()
67733 return f != $ac_func;
67735 return 0;
67737 _ACEOF
67738 rm -f conftest.$ac_objext conftest$ac_exeext
67739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67740 (eval $ac_link) 2>conftest.er1
67741 ac_status=$?
67742 grep -v '^ *+' conftest.er1 >conftest.err
67743 rm -f conftest.er1
67744 cat conftest.err >&5
67745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67746 (exit $ac_status); } &&
67747 { ac_try='test -z "$ac_c_werror_flag"
67748 || test ! -s conftest.err'
67749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67750 (eval $ac_try) 2>&5
67751 ac_status=$?
67752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67753 (exit $ac_status); }; } &&
67754 { ac_try='test -s conftest$ac_exeext'
67755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67756 (eval $ac_try) 2>&5
67757 ac_status=$?
67758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67759 (exit $ac_status); }; }; then
67760 eval "$as_ac_var=yes"
67761 else
67762 echo "$as_me: failed program was:" >&5
67763 sed 's/^/| /' conftest.$ac_ext >&5
67765 eval "$as_ac_var=no"
67767 rm -f conftest.err conftest.$ac_objext \
67768 conftest$ac_exeext conftest.$ac_ext
67770 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67771 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67772 if test `eval echo '${'$as_ac_var'}'` = yes; then
67773 cat >>confdefs.h <<_ACEOF
67774 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67775 _ACEOF
67778 done
67790 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
67791 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
67792 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
67793 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
67794 echo $ECHO_N "(cached) $ECHO_C" >&6
67795 else
67799 ac_ext=cc
67800 ac_cpp='$CXXCPP $CPPFLAGS'
67801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67805 cat >conftest.$ac_ext <<_ACEOF
67806 /* confdefs.h. */
67807 _ACEOF
67808 cat confdefs.h >>conftest.$ac_ext
67809 cat >>conftest.$ac_ext <<_ACEOF
67810 /* end confdefs.h. */
67811 #include <math.h>
67812 #ifdef HAVE_IEEEFP_H
67813 #include <ieeefp.h>
67814 #endif
67817 main ()
67819 isnanl(0);
67821 return 0;
67823 _ACEOF
67824 rm -f conftest.$ac_objext
67825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67826 (eval $ac_compile) 2>conftest.er1
67827 ac_status=$?
67828 grep -v '^ *+' conftest.er1 >conftest.err
67829 rm -f conftest.er1
67830 cat conftest.err >&5
67831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67832 (exit $ac_status); } &&
67833 { ac_try='test -z "$ac_cxx_werror_flag"
67834 || test ! -s conftest.err'
67835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67836 (eval $ac_try) 2>&5
67837 ac_status=$?
67838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67839 (exit $ac_status); }; } &&
67840 { ac_try='test -s conftest.$ac_objext'
67841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67842 (eval $ac_try) 2>&5
67843 ac_status=$?
67844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67845 (exit $ac_status); }; }; then
67846 glibcxx_cv_func_isnanl_use=yes
67847 else
67848 echo "$as_me: failed program was:" >&5
67849 sed 's/^/| /' conftest.$ac_ext >&5
67851 glibcxx_cv_func_isnanl_use=no
67853 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67854 ac_ext=c
67855 ac_cpp='$CPP $CPPFLAGS'
67856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67864 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
67865 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
67867 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
67869 for ac_func in isnanl
67871 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67872 echo "$as_me:$LINENO: checking for $ac_func" >&5
67873 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67874 if eval "test \"\${$as_ac_var+set}\" = set"; then
67875 echo $ECHO_N "(cached) $ECHO_C" >&6
67876 else
67877 if test x$gcc_no_link = xyes; then
67878 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67879 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67880 { (exit 1); exit 1; }; }
67882 cat >conftest.$ac_ext <<_ACEOF
67883 /* confdefs.h. */
67884 _ACEOF
67885 cat confdefs.h >>conftest.$ac_ext
67886 cat >>conftest.$ac_ext <<_ACEOF
67887 /* end confdefs.h. */
67888 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67889 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67890 #define $ac_func innocuous_$ac_func
67892 /* System header to define __stub macros and hopefully few prototypes,
67893 which can conflict with char $ac_func (); below.
67894 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67895 <limits.h> exists even on freestanding compilers. */
67897 #ifdef __STDC__
67898 # include <limits.h>
67899 #else
67900 # include <assert.h>
67901 #endif
67903 #undef $ac_func
67905 /* Override any gcc2 internal prototype to avoid an error. */
67906 #ifdef __cplusplus
67907 extern "C"
67909 #endif
67910 /* We use char because int might match the return type of a gcc2
67911 builtin and then its argument prototype would still apply. */
67912 char $ac_func ();
67913 /* The GNU C library defines this for functions which it implements
67914 to always fail with ENOSYS. Some functions are actually named
67915 something starting with __ and the normal name is an alias. */
67916 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67917 choke me
67918 #else
67919 char (*f) () = $ac_func;
67920 #endif
67921 #ifdef __cplusplus
67923 #endif
67926 main ()
67928 return f != $ac_func;
67930 return 0;
67932 _ACEOF
67933 rm -f conftest.$ac_objext conftest$ac_exeext
67934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67935 (eval $ac_link) 2>conftest.er1
67936 ac_status=$?
67937 grep -v '^ *+' conftest.er1 >conftest.err
67938 rm -f conftest.er1
67939 cat conftest.err >&5
67940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67941 (exit $ac_status); } &&
67942 { ac_try='test -z "$ac_c_werror_flag"
67943 || test ! -s conftest.err'
67944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67945 (eval $ac_try) 2>&5
67946 ac_status=$?
67947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67948 (exit $ac_status); }; } &&
67949 { ac_try='test -s conftest$ac_exeext'
67950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67951 (eval $ac_try) 2>&5
67952 ac_status=$?
67953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67954 (exit $ac_status); }; }; then
67955 eval "$as_ac_var=yes"
67956 else
67957 echo "$as_me: failed program was:" >&5
67958 sed 's/^/| /' conftest.$ac_ext >&5
67960 eval "$as_ac_var=no"
67962 rm -f conftest.err conftest.$ac_objext \
67963 conftest$ac_exeext conftest.$ac_ext
67965 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67966 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67967 if test `eval echo '${'$as_ac_var'}'` = yes; then
67968 cat >>confdefs.h <<_ACEOF
67969 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67970 _ACEOF
67973 done
67975 else
67977 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
67978 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
67979 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
67980 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
67981 echo $ECHO_N "(cached) $ECHO_C" >&6
67982 else
67986 ac_ext=cc
67987 ac_cpp='$CXXCPP $CPPFLAGS'
67988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67992 cat >conftest.$ac_ext <<_ACEOF
67993 /* confdefs.h. */
67994 _ACEOF
67995 cat confdefs.h >>conftest.$ac_ext
67996 cat >>conftest.$ac_ext <<_ACEOF
67997 /* end confdefs.h. */
67998 #include <math.h>
67999 #ifdef HAVE_IEEEFP_H
68000 #include <ieeefp.h>
68001 #endif
68004 main ()
68006 _isnanl(0);
68008 return 0;
68010 _ACEOF
68011 rm -f conftest.$ac_objext
68012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68013 (eval $ac_compile) 2>conftest.er1
68014 ac_status=$?
68015 grep -v '^ *+' conftest.er1 >conftest.err
68016 rm -f conftest.er1
68017 cat conftest.err >&5
68018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68019 (exit $ac_status); } &&
68020 { ac_try='test -z "$ac_cxx_werror_flag"
68021 || test ! -s conftest.err'
68022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68023 (eval $ac_try) 2>&5
68024 ac_status=$?
68025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68026 (exit $ac_status); }; } &&
68027 { ac_try='test -s conftest.$ac_objext'
68028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68029 (eval $ac_try) 2>&5
68030 ac_status=$?
68031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68032 (exit $ac_status); }; }; then
68033 glibcxx_cv_func__isnanl_use=yes
68034 else
68035 echo "$as_me: failed program was:" >&5
68036 sed 's/^/| /' conftest.$ac_ext >&5
68038 glibcxx_cv_func__isnanl_use=no
68040 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68041 ac_ext=c
68042 ac_cpp='$CPP $CPPFLAGS'
68043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68051 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
68052 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
68054 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
68056 for ac_func in _isnanl
68058 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68059 echo "$as_me:$LINENO: checking for $ac_func" >&5
68060 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68061 if eval "test \"\${$as_ac_var+set}\" = set"; then
68062 echo $ECHO_N "(cached) $ECHO_C" >&6
68063 else
68064 if test x$gcc_no_link = xyes; then
68065 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68066 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68067 { (exit 1); exit 1; }; }
68069 cat >conftest.$ac_ext <<_ACEOF
68070 /* confdefs.h. */
68071 _ACEOF
68072 cat confdefs.h >>conftest.$ac_ext
68073 cat >>conftest.$ac_ext <<_ACEOF
68074 /* end confdefs.h. */
68075 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68076 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68077 #define $ac_func innocuous_$ac_func
68079 /* System header to define __stub macros and hopefully few prototypes,
68080 which can conflict with char $ac_func (); below.
68081 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68082 <limits.h> exists even on freestanding compilers. */
68084 #ifdef __STDC__
68085 # include <limits.h>
68086 #else
68087 # include <assert.h>
68088 #endif
68090 #undef $ac_func
68092 /* Override any gcc2 internal prototype to avoid an error. */
68093 #ifdef __cplusplus
68094 extern "C"
68096 #endif
68097 /* We use char because int might match the return type of a gcc2
68098 builtin and then its argument prototype would still apply. */
68099 char $ac_func ();
68100 /* The GNU C library defines this for functions which it implements
68101 to always fail with ENOSYS. Some functions are actually named
68102 something starting with __ and the normal name is an alias. */
68103 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68104 choke me
68105 #else
68106 char (*f) () = $ac_func;
68107 #endif
68108 #ifdef __cplusplus
68110 #endif
68113 main ()
68115 return f != $ac_func;
68117 return 0;
68119 _ACEOF
68120 rm -f conftest.$ac_objext conftest$ac_exeext
68121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68122 (eval $ac_link) 2>conftest.er1
68123 ac_status=$?
68124 grep -v '^ *+' conftest.er1 >conftest.err
68125 rm -f conftest.er1
68126 cat conftest.err >&5
68127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68128 (exit $ac_status); } &&
68129 { ac_try='test -z "$ac_c_werror_flag"
68130 || test ! -s conftest.err'
68131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68132 (eval $ac_try) 2>&5
68133 ac_status=$?
68134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68135 (exit $ac_status); }; } &&
68136 { ac_try='test -s conftest$ac_exeext'
68137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68138 (eval $ac_try) 2>&5
68139 ac_status=$?
68140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68141 (exit $ac_status); }; }; then
68142 eval "$as_ac_var=yes"
68143 else
68144 echo "$as_me: failed program was:" >&5
68145 sed 's/^/| /' conftest.$ac_ext >&5
68147 eval "$as_ac_var=no"
68149 rm -f conftest.err conftest.$ac_objext \
68150 conftest$ac_exeext conftest.$ac_ext
68152 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68153 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68154 if test `eval echo '${'$as_ac_var'}'` = yes; then
68155 cat >>confdefs.h <<_ACEOF
68156 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68157 _ACEOF
68160 done
68170 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
68171 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
68172 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
68173 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
68174 echo $ECHO_N "(cached) $ECHO_C" >&6
68175 else
68179 ac_ext=cc
68180 ac_cpp='$CXXCPP $CPPFLAGS'
68181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68185 cat >conftest.$ac_ext <<_ACEOF
68186 /* confdefs.h. */
68187 _ACEOF
68188 cat confdefs.h >>conftest.$ac_ext
68189 cat >>conftest.$ac_ext <<_ACEOF
68190 /* end confdefs.h. */
68191 #include <math.h>
68192 #ifdef HAVE_IEEEFP_H
68193 #include <ieeefp.h>
68194 #endif
68197 main ()
68199 isinfl(0);
68201 return 0;
68203 _ACEOF
68204 rm -f conftest.$ac_objext
68205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68206 (eval $ac_compile) 2>conftest.er1
68207 ac_status=$?
68208 grep -v '^ *+' conftest.er1 >conftest.err
68209 rm -f conftest.er1
68210 cat conftest.err >&5
68211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68212 (exit $ac_status); } &&
68213 { ac_try='test -z "$ac_cxx_werror_flag"
68214 || test ! -s conftest.err'
68215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68216 (eval $ac_try) 2>&5
68217 ac_status=$?
68218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68219 (exit $ac_status); }; } &&
68220 { ac_try='test -s conftest.$ac_objext'
68221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68222 (eval $ac_try) 2>&5
68223 ac_status=$?
68224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68225 (exit $ac_status); }; }; then
68226 glibcxx_cv_func_isinfl_use=yes
68227 else
68228 echo "$as_me: failed program was:" >&5
68229 sed 's/^/| /' conftest.$ac_ext >&5
68231 glibcxx_cv_func_isinfl_use=no
68233 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68234 ac_ext=c
68235 ac_cpp='$CPP $CPPFLAGS'
68236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68244 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
68245 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
68247 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
68249 for ac_func in isinfl
68251 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68252 echo "$as_me:$LINENO: checking for $ac_func" >&5
68253 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68254 if eval "test \"\${$as_ac_var+set}\" = set"; then
68255 echo $ECHO_N "(cached) $ECHO_C" >&6
68256 else
68257 if test x$gcc_no_link = xyes; then
68258 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68259 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68260 { (exit 1); exit 1; }; }
68262 cat >conftest.$ac_ext <<_ACEOF
68263 /* confdefs.h. */
68264 _ACEOF
68265 cat confdefs.h >>conftest.$ac_ext
68266 cat >>conftest.$ac_ext <<_ACEOF
68267 /* end confdefs.h. */
68268 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68269 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68270 #define $ac_func innocuous_$ac_func
68272 /* System header to define __stub macros and hopefully few prototypes,
68273 which can conflict with char $ac_func (); below.
68274 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68275 <limits.h> exists even on freestanding compilers. */
68277 #ifdef __STDC__
68278 # include <limits.h>
68279 #else
68280 # include <assert.h>
68281 #endif
68283 #undef $ac_func
68285 /* Override any gcc2 internal prototype to avoid an error. */
68286 #ifdef __cplusplus
68287 extern "C"
68289 #endif
68290 /* We use char because int might match the return type of a gcc2
68291 builtin and then its argument prototype would still apply. */
68292 char $ac_func ();
68293 /* The GNU C library defines this for functions which it implements
68294 to always fail with ENOSYS. Some functions are actually named
68295 something starting with __ and the normal name is an alias. */
68296 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68297 choke me
68298 #else
68299 char (*f) () = $ac_func;
68300 #endif
68301 #ifdef __cplusplus
68303 #endif
68306 main ()
68308 return f != $ac_func;
68310 return 0;
68312 _ACEOF
68313 rm -f conftest.$ac_objext conftest$ac_exeext
68314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68315 (eval $ac_link) 2>conftest.er1
68316 ac_status=$?
68317 grep -v '^ *+' conftest.er1 >conftest.err
68318 rm -f conftest.er1
68319 cat conftest.err >&5
68320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68321 (exit $ac_status); } &&
68322 { ac_try='test -z "$ac_c_werror_flag"
68323 || test ! -s conftest.err'
68324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68325 (eval $ac_try) 2>&5
68326 ac_status=$?
68327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68328 (exit $ac_status); }; } &&
68329 { ac_try='test -s conftest$ac_exeext'
68330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68331 (eval $ac_try) 2>&5
68332 ac_status=$?
68333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68334 (exit $ac_status); }; }; then
68335 eval "$as_ac_var=yes"
68336 else
68337 echo "$as_me: failed program was:" >&5
68338 sed 's/^/| /' conftest.$ac_ext >&5
68340 eval "$as_ac_var=no"
68342 rm -f conftest.err conftest.$ac_objext \
68343 conftest$ac_exeext conftest.$ac_ext
68345 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68346 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68347 if test `eval echo '${'$as_ac_var'}'` = yes; then
68348 cat >>confdefs.h <<_ACEOF
68349 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68350 _ACEOF
68353 done
68355 else
68357 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
68358 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
68359 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
68360 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
68361 echo $ECHO_N "(cached) $ECHO_C" >&6
68362 else
68366 ac_ext=cc
68367 ac_cpp='$CXXCPP $CPPFLAGS'
68368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68372 cat >conftest.$ac_ext <<_ACEOF
68373 /* confdefs.h. */
68374 _ACEOF
68375 cat confdefs.h >>conftest.$ac_ext
68376 cat >>conftest.$ac_ext <<_ACEOF
68377 /* end confdefs.h. */
68378 #include <math.h>
68379 #ifdef HAVE_IEEEFP_H
68380 #include <ieeefp.h>
68381 #endif
68384 main ()
68386 _isinfl(0);
68388 return 0;
68390 _ACEOF
68391 rm -f conftest.$ac_objext
68392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68393 (eval $ac_compile) 2>conftest.er1
68394 ac_status=$?
68395 grep -v '^ *+' conftest.er1 >conftest.err
68396 rm -f conftest.er1
68397 cat conftest.err >&5
68398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68399 (exit $ac_status); } &&
68400 { ac_try='test -z "$ac_cxx_werror_flag"
68401 || test ! -s conftest.err'
68402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68403 (eval $ac_try) 2>&5
68404 ac_status=$?
68405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68406 (exit $ac_status); }; } &&
68407 { ac_try='test -s conftest.$ac_objext'
68408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68409 (eval $ac_try) 2>&5
68410 ac_status=$?
68411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68412 (exit $ac_status); }; }; then
68413 glibcxx_cv_func__isinfl_use=yes
68414 else
68415 echo "$as_me: failed program was:" >&5
68416 sed 's/^/| /' conftest.$ac_ext >&5
68418 glibcxx_cv_func__isinfl_use=no
68420 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68421 ac_ext=c
68422 ac_cpp='$CPP $CPPFLAGS'
68423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68431 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
68432 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
68434 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
68436 for ac_func in _isinfl
68438 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68439 echo "$as_me:$LINENO: checking for $ac_func" >&5
68440 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68441 if eval "test \"\${$as_ac_var+set}\" = set"; then
68442 echo $ECHO_N "(cached) $ECHO_C" >&6
68443 else
68444 if test x$gcc_no_link = xyes; then
68445 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68446 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68447 { (exit 1); exit 1; }; }
68449 cat >conftest.$ac_ext <<_ACEOF
68450 /* confdefs.h. */
68451 _ACEOF
68452 cat confdefs.h >>conftest.$ac_ext
68453 cat >>conftest.$ac_ext <<_ACEOF
68454 /* end confdefs.h. */
68455 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68456 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68457 #define $ac_func innocuous_$ac_func
68459 /* System header to define __stub macros and hopefully few prototypes,
68460 which can conflict with char $ac_func (); below.
68461 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68462 <limits.h> exists even on freestanding compilers. */
68464 #ifdef __STDC__
68465 # include <limits.h>
68466 #else
68467 # include <assert.h>
68468 #endif
68470 #undef $ac_func
68472 /* Override any gcc2 internal prototype to avoid an error. */
68473 #ifdef __cplusplus
68474 extern "C"
68476 #endif
68477 /* We use char because int might match the return type of a gcc2
68478 builtin and then its argument prototype would still apply. */
68479 char $ac_func ();
68480 /* The GNU C library defines this for functions which it implements
68481 to always fail with ENOSYS. Some functions are actually named
68482 something starting with __ and the normal name is an alias. */
68483 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68484 choke me
68485 #else
68486 char (*f) () = $ac_func;
68487 #endif
68488 #ifdef __cplusplus
68490 #endif
68493 main ()
68495 return f != $ac_func;
68497 return 0;
68499 _ACEOF
68500 rm -f conftest.$ac_objext conftest$ac_exeext
68501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68502 (eval $ac_link) 2>conftest.er1
68503 ac_status=$?
68504 grep -v '^ *+' conftest.er1 >conftest.err
68505 rm -f conftest.er1
68506 cat conftest.err >&5
68507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68508 (exit $ac_status); } &&
68509 { ac_try='test -z "$ac_c_werror_flag"
68510 || test ! -s conftest.err'
68511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68512 (eval $ac_try) 2>&5
68513 ac_status=$?
68514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68515 (exit $ac_status); }; } &&
68516 { ac_try='test -s conftest$ac_exeext'
68517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68518 (eval $ac_try) 2>&5
68519 ac_status=$?
68520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68521 (exit $ac_status); }; }; then
68522 eval "$as_ac_var=yes"
68523 else
68524 echo "$as_me: failed program was:" >&5
68525 sed 's/^/| /' conftest.$ac_ext >&5
68527 eval "$as_ac_var=no"
68529 rm -f conftest.err conftest.$ac_objext \
68530 conftest$ac_exeext conftest.$ac_ext
68532 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68533 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68534 if test `eval echo '${'$as_ac_var'}'` = yes; then
68535 cat >>confdefs.h <<_ACEOF
68536 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68537 _ACEOF
68540 done
68550 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
68551 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
68552 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
68553 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
68554 echo $ECHO_N "(cached) $ECHO_C" >&6
68555 else
68559 ac_ext=cc
68560 ac_cpp='$CXXCPP $CPPFLAGS'
68561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68565 cat >conftest.$ac_ext <<_ACEOF
68566 /* confdefs.h. */
68567 _ACEOF
68568 cat confdefs.h >>conftest.$ac_ext
68569 cat >>conftest.$ac_ext <<_ACEOF
68570 /* end confdefs.h. */
68571 #include <math.h>
68573 main ()
68575 copysignl(0, 0);
68577 return 0;
68579 _ACEOF
68580 rm -f conftest.$ac_objext
68581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68582 (eval $ac_compile) 2>conftest.er1
68583 ac_status=$?
68584 grep -v '^ *+' conftest.er1 >conftest.err
68585 rm -f conftest.er1
68586 cat conftest.err >&5
68587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68588 (exit $ac_status); } &&
68589 { ac_try='test -z "$ac_cxx_werror_flag"
68590 || test ! -s conftest.err'
68591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68592 (eval $ac_try) 2>&5
68593 ac_status=$?
68594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68595 (exit $ac_status); }; } &&
68596 { ac_try='test -s conftest.$ac_objext'
68597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68598 (eval $ac_try) 2>&5
68599 ac_status=$?
68600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68601 (exit $ac_status); }; }; then
68602 glibcxx_cv_func_copysignl_use=yes
68603 else
68604 echo "$as_me: failed program was:" >&5
68605 sed 's/^/| /' conftest.$ac_ext >&5
68607 glibcxx_cv_func_copysignl_use=no
68609 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68610 ac_ext=c
68611 ac_cpp='$CPP $CPPFLAGS'
68612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68620 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
68621 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
68623 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
68625 for ac_func in copysignl
68627 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68628 echo "$as_me:$LINENO: checking for $ac_func" >&5
68629 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68630 if eval "test \"\${$as_ac_var+set}\" = set"; then
68631 echo $ECHO_N "(cached) $ECHO_C" >&6
68632 else
68633 if test x$gcc_no_link = xyes; then
68634 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68635 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68636 { (exit 1); exit 1; }; }
68638 cat >conftest.$ac_ext <<_ACEOF
68639 /* confdefs.h. */
68640 _ACEOF
68641 cat confdefs.h >>conftest.$ac_ext
68642 cat >>conftest.$ac_ext <<_ACEOF
68643 /* end confdefs.h. */
68644 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68645 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68646 #define $ac_func innocuous_$ac_func
68648 /* System header to define __stub macros and hopefully few prototypes,
68649 which can conflict with char $ac_func (); below.
68650 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68651 <limits.h> exists even on freestanding compilers. */
68653 #ifdef __STDC__
68654 # include <limits.h>
68655 #else
68656 # include <assert.h>
68657 #endif
68659 #undef $ac_func
68661 /* Override any gcc2 internal prototype to avoid an error. */
68662 #ifdef __cplusplus
68663 extern "C"
68665 #endif
68666 /* We use char because int might match the return type of a gcc2
68667 builtin and then its argument prototype would still apply. */
68668 char $ac_func ();
68669 /* The GNU C library defines this for functions which it implements
68670 to always fail with ENOSYS. Some functions are actually named
68671 something starting with __ and the normal name is an alias. */
68672 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68673 choke me
68674 #else
68675 char (*f) () = $ac_func;
68676 #endif
68677 #ifdef __cplusplus
68679 #endif
68682 main ()
68684 return f != $ac_func;
68686 return 0;
68688 _ACEOF
68689 rm -f conftest.$ac_objext conftest$ac_exeext
68690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68691 (eval $ac_link) 2>conftest.er1
68692 ac_status=$?
68693 grep -v '^ *+' conftest.er1 >conftest.err
68694 rm -f conftest.er1
68695 cat conftest.err >&5
68696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68697 (exit $ac_status); } &&
68698 { ac_try='test -z "$ac_c_werror_flag"
68699 || test ! -s conftest.err'
68700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68701 (eval $ac_try) 2>&5
68702 ac_status=$?
68703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68704 (exit $ac_status); }; } &&
68705 { ac_try='test -s conftest$ac_exeext'
68706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68707 (eval $ac_try) 2>&5
68708 ac_status=$?
68709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68710 (exit $ac_status); }; }; then
68711 eval "$as_ac_var=yes"
68712 else
68713 echo "$as_me: failed program was:" >&5
68714 sed 's/^/| /' conftest.$ac_ext >&5
68716 eval "$as_ac_var=no"
68718 rm -f conftest.err conftest.$ac_objext \
68719 conftest$ac_exeext conftest.$ac_ext
68721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68722 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68723 if test `eval echo '${'$as_ac_var'}'` = yes; then
68724 cat >>confdefs.h <<_ACEOF
68725 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68726 _ACEOF
68729 done
68731 else
68733 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
68734 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
68735 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
68736 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
68737 echo $ECHO_N "(cached) $ECHO_C" >&6
68738 else
68742 ac_ext=cc
68743 ac_cpp='$CXXCPP $CPPFLAGS'
68744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68748 cat >conftest.$ac_ext <<_ACEOF
68749 /* confdefs.h. */
68750 _ACEOF
68751 cat confdefs.h >>conftest.$ac_ext
68752 cat >>conftest.$ac_ext <<_ACEOF
68753 /* end confdefs.h. */
68754 #include <math.h>
68756 main ()
68758 _copysignl(0, 0);
68760 return 0;
68762 _ACEOF
68763 rm -f conftest.$ac_objext
68764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68765 (eval $ac_compile) 2>conftest.er1
68766 ac_status=$?
68767 grep -v '^ *+' conftest.er1 >conftest.err
68768 rm -f conftest.er1
68769 cat conftest.err >&5
68770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68771 (exit $ac_status); } &&
68772 { ac_try='test -z "$ac_cxx_werror_flag"
68773 || test ! -s conftest.err'
68774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68775 (eval $ac_try) 2>&5
68776 ac_status=$?
68777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68778 (exit $ac_status); }; } &&
68779 { ac_try='test -s conftest.$ac_objext'
68780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68781 (eval $ac_try) 2>&5
68782 ac_status=$?
68783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68784 (exit $ac_status); }; }; then
68785 glibcxx_cv_func__copysignl_use=yes
68786 else
68787 echo "$as_me: failed program was:" >&5
68788 sed 's/^/| /' conftest.$ac_ext >&5
68790 glibcxx_cv_func__copysignl_use=no
68792 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68793 ac_ext=c
68794 ac_cpp='$CPP $CPPFLAGS'
68795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68803 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
68804 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
68806 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
68808 for ac_func in _copysignl
68810 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68811 echo "$as_me:$LINENO: checking for $ac_func" >&5
68812 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68813 if eval "test \"\${$as_ac_var+set}\" = set"; then
68814 echo $ECHO_N "(cached) $ECHO_C" >&6
68815 else
68816 if test x$gcc_no_link = xyes; then
68817 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68818 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68819 { (exit 1); exit 1; }; }
68821 cat >conftest.$ac_ext <<_ACEOF
68822 /* confdefs.h. */
68823 _ACEOF
68824 cat confdefs.h >>conftest.$ac_ext
68825 cat >>conftest.$ac_ext <<_ACEOF
68826 /* end confdefs.h. */
68827 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68828 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68829 #define $ac_func innocuous_$ac_func
68831 /* System header to define __stub macros and hopefully few prototypes,
68832 which can conflict with char $ac_func (); below.
68833 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68834 <limits.h> exists even on freestanding compilers. */
68836 #ifdef __STDC__
68837 # include <limits.h>
68838 #else
68839 # include <assert.h>
68840 #endif
68842 #undef $ac_func
68844 /* Override any gcc2 internal prototype to avoid an error. */
68845 #ifdef __cplusplus
68846 extern "C"
68848 #endif
68849 /* We use char because int might match the return type of a gcc2
68850 builtin and then its argument prototype would still apply. */
68851 char $ac_func ();
68852 /* The GNU C library defines this for functions which it implements
68853 to always fail with ENOSYS. Some functions are actually named
68854 something starting with __ and the normal name is an alias. */
68855 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68856 choke me
68857 #else
68858 char (*f) () = $ac_func;
68859 #endif
68860 #ifdef __cplusplus
68862 #endif
68865 main ()
68867 return f != $ac_func;
68869 return 0;
68871 _ACEOF
68872 rm -f conftest.$ac_objext conftest$ac_exeext
68873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68874 (eval $ac_link) 2>conftest.er1
68875 ac_status=$?
68876 grep -v '^ *+' conftest.er1 >conftest.err
68877 rm -f conftest.er1
68878 cat conftest.err >&5
68879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68880 (exit $ac_status); } &&
68881 { ac_try='test -z "$ac_c_werror_flag"
68882 || test ! -s conftest.err'
68883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68884 (eval $ac_try) 2>&5
68885 ac_status=$?
68886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68887 (exit $ac_status); }; } &&
68888 { ac_try='test -s conftest$ac_exeext'
68889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68890 (eval $ac_try) 2>&5
68891 ac_status=$?
68892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68893 (exit $ac_status); }; }; then
68894 eval "$as_ac_var=yes"
68895 else
68896 echo "$as_me: failed program was:" >&5
68897 sed 's/^/| /' conftest.$ac_ext >&5
68899 eval "$as_ac_var=no"
68901 rm -f conftest.err conftest.$ac_objext \
68902 conftest$ac_exeext conftest.$ac_ext
68904 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68905 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68906 if test `eval echo '${'$as_ac_var'}'` = yes; then
68907 cat >>confdefs.h <<_ACEOF
68908 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68909 _ACEOF
68912 done
68922 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
68923 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
68924 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
68925 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
68926 echo $ECHO_N "(cached) $ECHO_C" >&6
68927 else
68931 ac_ext=cc
68932 ac_cpp='$CXXCPP $CPPFLAGS'
68933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68937 cat >conftest.$ac_ext <<_ACEOF
68938 /* confdefs.h. */
68939 _ACEOF
68940 cat confdefs.h >>conftest.$ac_ext
68941 cat >>conftest.$ac_ext <<_ACEOF
68942 /* end confdefs.h. */
68943 #include <math.h>
68945 main ()
68947 atan2l(0, 0);
68949 return 0;
68951 _ACEOF
68952 rm -f conftest.$ac_objext
68953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68954 (eval $ac_compile) 2>conftest.er1
68955 ac_status=$?
68956 grep -v '^ *+' conftest.er1 >conftest.err
68957 rm -f conftest.er1
68958 cat conftest.err >&5
68959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68960 (exit $ac_status); } &&
68961 { ac_try='test -z "$ac_cxx_werror_flag"
68962 || test ! -s conftest.err'
68963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68964 (eval $ac_try) 2>&5
68965 ac_status=$?
68966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68967 (exit $ac_status); }; } &&
68968 { ac_try='test -s conftest.$ac_objext'
68969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68970 (eval $ac_try) 2>&5
68971 ac_status=$?
68972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68973 (exit $ac_status); }; }; then
68974 glibcxx_cv_func_atan2l_use=yes
68975 else
68976 echo "$as_me: failed program was:" >&5
68977 sed 's/^/| /' conftest.$ac_ext >&5
68979 glibcxx_cv_func_atan2l_use=no
68981 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68982 ac_ext=c
68983 ac_cpp='$CPP $CPPFLAGS'
68984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68992 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
68993 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
68995 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
68997 for ac_func in atan2l
68999 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69000 echo "$as_me:$LINENO: checking for $ac_func" >&5
69001 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69002 if eval "test \"\${$as_ac_var+set}\" = set"; then
69003 echo $ECHO_N "(cached) $ECHO_C" >&6
69004 else
69005 if test x$gcc_no_link = xyes; then
69006 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69007 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69008 { (exit 1); exit 1; }; }
69010 cat >conftest.$ac_ext <<_ACEOF
69011 /* confdefs.h. */
69012 _ACEOF
69013 cat confdefs.h >>conftest.$ac_ext
69014 cat >>conftest.$ac_ext <<_ACEOF
69015 /* end confdefs.h. */
69016 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69017 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69018 #define $ac_func innocuous_$ac_func
69020 /* System header to define __stub macros and hopefully few prototypes,
69021 which can conflict with char $ac_func (); below.
69022 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69023 <limits.h> exists even on freestanding compilers. */
69025 #ifdef __STDC__
69026 # include <limits.h>
69027 #else
69028 # include <assert.h>
69029 #endif
69031 #undef $ac_func
69033 /* Override any gcc2 internal prototype to avoid an error. */
69034 #ifdef __cplusplus
69035 extern "C"
69037 #endif
69038 /* We use char because int might match the return type of a gcc2
69039 builtin and then its argument prototype would still apply. */
69040 char $ac_func ();
69041 /* The GNU C library defines this for functions which it implements
69042 to always fail with ENOSYS. Some functions are actually named
69043 something starting with __ and the normal name is an alias. */
69044 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69045 choke me
69046 #else
69047 char (*f) () = $ac_func;
69048 #endif
69049 #ifdef __cplusplus
69051 #endif
69054 main ()
69056 return f != $ac_func;
69058 return 0;
69060 _ACEOF
69061 rm -f conftest.$ac_objext conftest$ac_exeext
69062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69063 (eval $ac_link) 2>conftest.er1
69064 ac_status=$?
69065 grep -v '^ *+' conftest.er1 >conftest.err
69066 rm -f conftest.er1
69067 cat conftest.err >&5
69068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69069 (exit $ac_status); } &&
69070 { ac_try='test -z "$ac_c_werror_flag"
69071 || test ! -s conftest.err'
69072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69073 (eval $ac_try) 2>&5
69074 ac_status=$?
69075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69076 (exit $ac_status); }; } &&
69077 { ac_try='test -s conftest$ac_exeext'
69078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69079 (eval $ac_try) 2>&5
69080 ac_status=$?
69081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69082 (exit $ac_status); }; }; then
69083 eval "$as_ac_var=yes"
69084 else
69085 echo "$as_me: failed program was:" >&5
69086 sed 's/^/| /' conftest.$ac_ext >&5
69088 eval "$as_ac_var=no"
69090 rm -f conftest.err conftest.$ac_objext \
69091 conftest$ac_exeext conftest.$ac_ext
69093 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69094 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69095 if test `eval echo '${'$as_ac_var'}'` = yes; then
69096 cat >>confdefs.h <<_ACEOF
69097 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69098 _ACEOF
69101 done
69103 else
69105 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
69106 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
69107 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
69108 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
69109 echo $ECHO_N "(cached) $ECHO_C" >&6
69110 else
69114 ac_ext=cc
69115 ac_cpp='$CXXCPP $CPPFLAGS'
69116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69120 cat >conftest.$ac_ext <<_ACEOF
69121 /* confdefs.h. */
69122 _ACEOF
69123 cat confdefs.h >>conftest.$ac_ext
69124 cat >>conftest.$ac_ext <<_ACEOF
69125 /* end confdefs.h. */
69126 #include <math.h>
69128 main ()
69130 _atan2l(0, 0);
69132 return 0;
69134 _ACEOF
69135 rm -f conftest.$ac_objext
69136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69137 (eval $ac_compile) 2>conftest.er1
69138 ac_status=$?
69139 grep -v '^ *+' conftest.er1 >conftest.err
69140 rm -f conftest.er1
69141 cat conftest.err >&5
69142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69143 (exit $ac_status); } &&
69144 { ac_try='test -z "$ac_cxx_werror_flag"
69145 || test ! -s conftest.err'
69146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69147 (eval $ac_try) 2>&5
69148 ac_status=$?
69149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69150 (exit $ac_status); }; } &&
69151 { ac_try='test -s conftest.$ac_objext'
69152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69153 (eval $ac_try) 2>&5
69154 ac_status=$?
69155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69156 (exit $ac_status); }; }; then
69157 glibcxx_cv_func__atan2l_use=yes
69158 else
69159 echo "$as_me: failed program was:" >&5
69160 sed 's/^/| /' conftest.$ac_ext >&5
69162 glibcxx_cv_func__atan2l_use=no
69164 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69165 ac_ext=c
69166 ac_cpp='$CPP $CPPFLAGS'
69167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69175 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
69176 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
69178 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
69180 for ac_func in _atan2l
69182 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69183 echo "$as_me:$LINENO: checking for $ac_func" >&5
69184 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69185 if eval "test \"\${$as_ac_var+set}\" = set"; then
69186 echo $ECHO_N "(cached) $ECHO_C" >&6
69187 else
69188 if test x$gcc_no_link = xyes; then
69189 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69190 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69191 { (exit 1); exit 1; }; }
69193 cat >conftest.$ac_ext <<_ACEOF
69194 /* confdefs.h. */
69195 _ACEOF
69196 cat confdefs.h >>conftest.$ac_ext
69197 cat >>conftest.$ac_ext <<_ACEOF
69198 /* end confdefs.h. */
69199 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69200 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69201 #define $ac_func innocuous_$ac_func
69203 /* System header to define __stub macros and hopefully few prototypes,
69204 which can conflict with char $ac_func (); below.
69205 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69206 <limits.h> exists even on freestanding compilers. */
69208 #ifdef __STDC__
69209 # include <limits.h>
69210 #else
69211 # include <assert.h>
69212 #endif
69214 #undef $ac_func
69216 /* Override any gcc2 internal prototype to avoid an error. */
69217 #ifdef __cplusplus
69218 extern "C"
69220 #endif
69221 /* We use char because int might match the return type of a gcc2
69222 builtin and then its argument prototype would still apply. */
69223 char $ac_func ();
69224 /* The GNU C library defines this for functions which it implements
69225 to always fail with ENOSYS. Some functions are actually named
69226 something starting with __ and the normal name is an alias. */
69227 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69228 choke me
69229 #else
69230 char (*f) () = $ac_func;
69231 #endif
69232 #ifdef __cplusplus
69234 #endif
69237 main ()
69239 return f != $ac_func;
69241 return 0;
69243 _ACEOF
69244 rm -f conftest.$ac_objext conftest$ac_exeext
69245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69246 (eval $ac_link) 2>conftest.er1
69247 ac_status=$?
69248 grep -v '^ *+' conftest.er1 >conftest.err
69249 rm -f conftest.er1
69250 cat conftest.err >&5
69251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69252 (exit $ac_status); } &&
69253 { ac_try='test -z "$ac_c_werror_flag"
69254 || test ! -s conftest.err'
69255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69256 (eval $ac_try) 2>&5
69257 ac_status=$?
69258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69259 (exit $ac_status); }; } &&
69260 { ac_try='test -s conftest$ac_exeext'
69261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69262 (eval $ac_try) 2>&5
69263 ac_status=$?
69264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69265 (exit $ac_status); }; }; then
69266 eval "$as_ac_var=yes"
69267 else
69268 echo "$as_me: failed program was:" >&5
69269 sed 's/^/| /' conftest.$ac_ext >&5
69271 eval "$as_ac_var=no"
69273 rm -f conftest.err conftest.$ac_objext \
69274 conftest$ac_exeext conftest.$ac_ext
69276 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69277 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69278 if test `eval echo '${'$as_ac_var'}'` = yes; then
69279 cat >>confdefs.h <<_ACEOF
69280 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69281 _ACEOF
69284 done
69294 echo "$as_me:$LINENO: checking for expl declaration" >&5
69295 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
69296 if test x${glibcxx_cv_func_expl_use+set} != xset; then
69297 if test "${glibcxx_cv_func_expl_use+set}" = set; then
69298 echo $ECHO_N "(cached) $ECHO_C" >&6
69299 else
69303 ac_ext=cc
69304 ac_cpp='$CXXCPP $CPPFLAGS'
69305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69309 cat >conftest.$ac_ext <<_ACEOF
69310 /* confdefs.h. */
69311 _ACEOF
69312 cat confdefs.h >>conftest.$ac_ext
69313 cat >>conftest.$ac_ext <<_ACEOF
69314 /* end confdefs.h. */
69315 #include <math.h>
69316 #ifdef HAVE_IEEEFP_H
69317 #include <ieeefp.h>
69318 #endif
69321 main ()
69323 expl(0);
69325 return 0;
69327 _ACEOF
69328 rm -f conftest.$ac_objext
69329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69330 (eval $ac_compile) 2>conftest.er1
69331 ac_status=$?
69332 grep -v '^ *+' conftest.er1 >conftest.err
69333 rm -f conftest.er1
69334 cat conftest.err >&5
69335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69336 (exit $ac_status); } &&
69337 { ac_try='test -z "$ac_cxx_werror_flag"
69338 || test ! -s conftest.err'
69339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69340 (eval $ac_try) 2>&5
69341 ac_status=$?
69342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69343 (exit $ac_status); }; } &&
69344 { ac_try='test -s conftest.$ac_objext'
69345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69346 (eval $ac_try) 2>&5
69347 ac_status=$?
69348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69349 (exit $ac_status); }; }; then
69350 glibcxx_cv_func_expl_use=yes
69351 else
69352 echo "$as_me: failed program was:" >&5
69353 sed 's/^/| /' conftest.$ac_ext >&5
69355 glibcxx_cv_func_expl_use=no
69357 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69358 ac_ext=c
69359 ac_cpp='$CPP $CPPFLAGS'
69360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69368 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
69369 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
69371 if test x$glibcxx_cv_func_expl_use = x"yes"; then
69373 for ac_func in expl
69375 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69376 echo "$as_me:$LINENO: checking for $ac_func" >&5
69377 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69378 if eval "test \"\${$as_ac_var+set}\" = set"; then
69379 echo $ECHO_N "(cached) $ECHO_C" >&6
69380 else
69381 if test x$gcc_no_link = xyes; then
69382 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69383 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69384 { (exit 1); exit 1; }; }
69386 cat >conftest.$ac_ext <<_ACEOF
69387 /* confdefs.h. */
69388 _ACEOF
69389 cat confdefs.h >>conftest.$ac_ext
69390 cat >>conftest.$ac_ext <<_ACEOF
69391 /* end confdefs.h. */
69392 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69393 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69394 #define $ac_func innocuous_$ac_func
69396 /* System header to define __stub macros and hopefully few prototypes,
69397 which can conflict with char $ac_func (); below.
69398 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69399 <limits.h> exists even on freestanding compilers. */
69401 #ifdef __STDC__
69402 # include <limits.h>
69403 #else
69404 # include <assert.h>
69405 #endif
69407 #undef $ac_func
69409 /* Override any gcc2 internal prototype to avoid an error. */
69410 #ifdef __cplusplus
69411 extern "C"
69413 #endif
69414 /* We use char because int might match the return type of a gcc2
69415 builtin and then its argument prototype would still apply. */
69416 char $ac_func ();
69417 /* The GNU C library defines this for functions which it implements
69418 to always fail with ENOSYS. Some functions are actually named
69419 something starting with __ and the normal name is an alias. */
69420 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69421 choke me
69422 #else
69423 char (*f) () = $ac_func;
69424 #endif
69425 #ifdef __cplusplus
69427 #endif
69430 main ()
69432 return f != $ac_func;
69434 return 0;
69436 _ACEOF
69437 rm -f conftest.$ac_objext conftest$ac_exeext
69438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69439 (eval $ac_link) 2>conftest.er1
69440 ac_status=$?
69441 grep -v '^ *+' conftest.er1 >conftest.err
69442 rm -f conftest.er1
69443 cat conftest.err >&5
69444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69445 (exit $ac_status); } &&
69446 { ac_try='test -z "$ac_c_werror_flag"
69447 || test ! -s conftest.err'
69448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69449 (eval $ac_try) 2>&5
69450 ac_status=$?
69451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69452 (exit $ac_status); }; } &&
69453 { ac_try='test -s conftest$ac_exeext'
69454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69455 (eval $ac_try) 2>&5
69456 ac_status=$?
69457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69458 (exit $ac_status); }; }; then
69459 eval "$as_ac_var=yes"
69460 else
69461 echo "$as_me: failed program was:" >&5
69462 sed 's/^/| /' conftest.$ac_ext >&5
69464 eval "$as_ac_var=no"
69466 rm -f conftest.err conftest.$ac_objext \
69467 conftest$ac_exeext conftest.$ac_ext
69469 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69470 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69471 if test `eval echo '${'$as_ac_var'}'` = yes; then
69472 cat >>confdefs.h <<_ACEOF
69473 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69474 _ACEOF
69477 done
69479 else
69481 echo "$as_me:$LINENO: checking for _expl declaration" >&5
69482 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
69483 if test x${glibcxx_cv_func__expl_use+set} != xset; then
69484 if test "${glibcxx_cv_func__expl_use+set}" = set; then
69485 echo $ECHO_N "(cached) $ECHO_C" >&6
69486 else
69490 ac_ext=cc
69491 ac_cpp='$CXXCPP $CPPFLAGS'
69492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69496 cat >conftest.$ac_ext <<_ACEOF
69497 /* confdefs.h. */
69498 _ACEOF
69499 cat confdefs.h >>conftest.$ac_ext
69500 cat >>conftest.$ac_ext <<_ACEOF
69501 /* end confdefs.h. */
69502 #include <math.h>
69503 #ifdef HAVE_IEEEFP_H
69504 #include <ieeefp.h>
69505 #endif
69508 main ()
69510 _expl(0);
69512 return 0;
69514 _ACEOF
69515 rm -f conftest.$ac_objext
69516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69517 (eval $ac_compile) 2>conftest.er1
69518 ac_status=$?
69519 grep -v '^ *+' conftest.er1 >conftest.err
69520 rm -f conftest.er1
69521 cat conftest.err >&5
69522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69523 (exit $ac_status); } &&
69524 { ac_try='test -z "$ac_cxx_werror_flag"
69525 || test ! -s conftest.err'
69526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69527 (eval $ac_try) 2>&5
69528 ac_status=$?
69529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69530 (exit $ac_status); }; } &&
69531 { ac_try='test -s conftest.$ac_objext'
69532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69533 (eval $ac_try) 2>&5
69534 ac_status=$?
69535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69536 (exit $ac_status); }; }; then
69537 glibcxx_cv_func__expl_use=yes
69538 else
69539 echo "$as_me: failed program was:" >&5
69540 sed 's/^/| /' conftest.$ac_ext >&5
69542 glibcxx_cv_func__expl_use=no
69544 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69545 ac_ext=c
69546 ac_cpp='$CPP $CPPFLAGS'
69547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69555 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
69556 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
69558 if test x$glibcxx_cv_func__expl_use = x"yes"; then
69560 for ac_func in _expl
69562 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69563 echo "$as_me:$LINENO: checking for $ac_func" >&5
69564 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69565 if eval "test \"\${$as_ac_var+set}\" = set"; then
69566 echo $ECHO_N "(cached) $ECHO_C" >&6
69567 else
69568 if test x$gcc_no_link = xyes; then
69569 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69570 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69571 { (exit 1); exit 1; }; }
69573 cat >conftest.$ac_ext <<_ACEOF
69574 /* confdefs.h. */
69575 _ACEOF
69576 cat confdefs.h >>conftest.$ac_ext
69577 cat >>conftest.$ac_ext <<_ACEOF
69578 /* end confdefs.h. */
69579 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69580 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69581 #define $ac_func innocuous_$ac_func
69583 /* System header to define __stub macros and hopefully few prototypes,
69584 which can conflict with char $ac_func (); below.
69585 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69586 <limits.h> exists even on freestanding compilers. */
69588 #ifdef __STDC__
69589 # include <limits.h>
69590 #else
69591 # include <assert.h>
69592 #endif
69594 #undef $ac_func
69596 /* Override any gcc2 internal prototype to avoid an error. */
69597 #ifdef __cplusplus
69598 extern "C"
69600 #endif
69601 /* We use char because int might match the return type of a gcc2
69602 builtin and then its argument prototype would still apply. */
69603 char $ac_func ();
69604 /* The GNU C library defines this for functions which it implements
69605 to always fail with ENOSYS. Some functions are actually named
69606 something starting with __ and the normal name is an alias. */
69607 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69608 choke me
69609 #else
69610 char (*f) () = $ac_func;
69611 #endif
69612 #ifdef __cplusplus
69614 #endif
69617 main ()
69619 return f != $ac_func;
69621 return 0;
69623 _ACEOF
69624 rm -f conftest.$ac_objext conftest$ac_exeext
69625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69626 (eval $ac_link) 2>conftest.er1
69627 ac_status=$?
69628 grep -v '^ *+' conftest.er1 >conftest.err
69629 rm -f conftest.er1
69630 cat conftest.err >&5
69631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69632 (exit $ac_status); } &&
69633 { ac_try='test -z "$ac_c_werror_flag"
69634 || test ! -s conftest.err'
69635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69636 (eval $ac_try) 2>&5
69637 ac_status=$?
69638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69639 (exit $ac_status); }; } &&
69640 { ac_try='test -s conftest$ac_exeext'
69641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69642 (eval $ac_try) 2>&5
69643 ac_status=$?
69644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69645 (exit $ac_status); }; }; then
69646 eval "$as_ac_var=yes"
69647 else
69648 echo "$as_me: failed program was:" >&5
69649 sed 's/^/| /' conftest.$ac_ext >&5
69651 eval "$as_ac_var=no"
69653 rm -f conftest.err conftest.$ac_objext \
69654 conftest$ac_exeext conftest.$ac_ext
69656 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69657 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69658 if test `eval echo '${'$as_ac_var'}'` = yes; then
69659 cat >>confdefs.h <<_ACEOF
69660 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69661 _ACEOF
69664 done
69674 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
69675 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
69676 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
69677 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
69678 echo $ECHO_N "(cached) $ECHO_C" >&6
69679 else
69683 ac_ext=cc
69684 ac_cpp='$CXXCPP $CPPFLAGS'
69685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69689 cat >conftest.$ac_ext <<_ACEOF
69690 /* confdefs.h. */
69691 _ACEOF
69692 cat confdefs.h >>conftest.$ac_ext
69693 cat >>conftest.$ac_ext <<_ACEOF
69694 /* end confdefs.h. */
69695 #include <math.h>
69696 #ifdef HAVE_IEEEFP_H
69697 #include <ieeefp.h>
69698 #endif
69701 main ()
69703 fabsl(0);
69705 return 0;
69707 _ACEOF
69708 rm -f conftest.$ac_objext
69709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69710 (eval $ac_compile) 2>conftest.er1
69711 ac_status=$?
69712 grep -v '^ *+' conftest.er1 >conftest.err
69713 rm -f conftest.er1
69714 cat conftest.err >&5
69715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69716 (exit $ac_status); } &&
69717 { ac_try='test -z "$ac_cxx_werror_flag"
69718 || test ! -s conftest.err'
69719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69720 (eval $ac_try) 2>&5
69721 ac_status=$?
69722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69723 (exit $ac_status); }; } &&
69724 { ac_try='test -s conftest.$ac_objext'
69725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69726 (eval $ac_try) 2>&5
69727 ac_status=$?
69728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69729 (exit $ac_status); }; }; then
69730 glibcxx_cv_func_fabsl_use=yes
69731 else
69732 echo "$as_me: failed program was:" >&5
69733 sed 's/^/| /' conftest.$ac_ext >&5
69735 glibcxx_cv_func_fabsl_use=no
69737 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69738 ac_ext=c
69739 ac_cpp='$CPP $CPPFLAGS'
69740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69748 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
69749 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
69751 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
69753 for ac_func in fabsl
69755 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69756 echo "$as_me:$LINENO: checking for $ac_func" >&5
69757 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69758 if eval "test \"\${$as_ac_var+set}\" = set"; then
69759 echo $ECHO_N "(cached) $ECHO_C" >&6
69760 else
69761 if test x$gcc_no_link = xyes; then
69762 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69763 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69764 { (exit 1); exit 1; }; }
69766 cat >conftest.$ac_ext <<_ACEOF
69767 /* confdefs.h. */
69768 _ACEOF
69769 cat confdefs.h >>conftest.$ac_ext
69770 cat >>conftest.$ac_ext <<_ACEOF
69771 /* end confdefs.h. */
69772 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69773 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69774 #define $ac_func innocuous_$ac_func
69776 /* System header to define __stub macros and hopefully few prototypes,
69777 which can conflict with char $ac_func (); below.
69778 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69779 <limits.h> exists even on freestanding compilers. */
69781 #ifdef __STDC__
69782 # include <limits.h>
69783 #else
69784 # include <assert.h>
69785 #endif
69787 #undef $ac_func
69789 /* Override any gcc2 internal prototype to avoid an error. */
69790 #ifdef __cplusplus
69791 extern "C"
69793 #endif
69794 /* We use char because int might match the return type of a gcc2
69795 builtin and then its argument prototype would still apply. */
69796 char $ac_func ();
69797 /* The GNU C library defines this for functions which it implements
69798 to always fail with ENOSYS. Some functions are actually named
69799 something starting with __ and the normal name is an alias. */
69800 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69801 choke me
69802 #else
69803 char (*f) () = $ac_func;
69804 #endif
69805 #ifdef __cplusplus
69807 #endif
69810 main ()
69812 return f != $ac_func;
69814 return 0;
69816 _ACEOF
69817 rm -f conftest.$ac_objext conftest$ac_exeext
69818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69819 (eval $ac_link) 2>conftest.er1
69820 ac_status=$?
69821 grep -v '^ *+' conftest.er1 >conftest.err
69822 rm -f conftest.er1
69823 cat conftest.err >&5
69824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69825 (exit $ac_status); } &&
69826 { ac_try='test -z "$ac_c_werror_flag"
69827 || test ! -s conftest.err'
69828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69829 (eval $ac_try) 2>&5
69830 ac_status=$?
69831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69832 (exit $ac_status); }; } &&
69833 { ac_try='test -s conftest$ac_exeext'
69834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69835 (eval $ac_try) 2>&5
69836 ac_status=$?
69837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69838 (exit $ac_status); }; }; then
69839 eval "$as_ac_var=yes"
69840 else
69841 echo "$as_me: failed program was:" >&5
69842 sed 's/^/| /' conftest.$ac_ext >&5
69844 eval "$as_ac_var=no"
69846 rm -f conftest.err conftest.$ac_objext \
69847 conftest$ac_exeext conftest.$ac_ext
69849 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69850 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69851 if test `eval echo '${'$as_ac_var'}'` = yes; then
69852 cat >>confdefs.h <<_ACEOF
69853 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69854 _ACEOF
69857 done
69859 else
69861 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
69862 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
69863 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
69864 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
69865 echo $ECHO_N "(cached) $ECHO_C" >&6
69866 else
69870 ac_ext=cc
69871 ac_cpp='$CXXCPP $CPPFLAGS'
69872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69876 cat >conftest.$ac_ext <<_ACEOF
69877 /* confdefs.h. */
69878 _ACEOF
69879 cat confdefs.h >>conftest.$ac_ext
69880 cat >>conftest.$ac_ext <<_ACEOF
69881 /* end confdefs.h. */
69882 #include <math.h>
69883 #ifdef HAVE_IEEEFP_H
69884 #include <ieeefp.h>
69885 #endif
69888 main ()
69890 _fabsl(0);
69892 return 0;
69894 _ACEOF
69895 rm -f conftest.$ac_objext
69896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69897 (eval $ac_compile) 2>conftest.er1
69898 ac_status=$?
69899 grep -v '^ *+' conftest.er1 >conftest.err
69900 rm -f conftest.er1
69901 cat conftest.err >&5
69902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69903 (exit $ac_status); } &&
69904 { ac_try='test -z "$ac_cxx_werror_flag"
69905 || test ! -s conftest.err'
69906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69907 (eval $ac_try) 2>&5
69908 ac_status=$?
69909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69910 (exit $ac_status); }; } &&
69911 { ac_try='test -s conftest.$ac_objext'
69912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69913 (eval $ac_try) 2>&5
69914 ac_status=$?
69915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69916 (exit $ac_status); }; }; then
69917 glibcxx_cv_func__fabsl_use=yes
69918 else
69919 echo "$as_me: failed program was:" >&5
69920 sed 's/^/| /' conftest.$ac_ext >&5
69922 glibcxx_cv_func__fabsl_use=no
69924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69925 ac_ext=c
69926 ac_cpp='$CPP $CPPFLAGS'
69927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69935 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
69936 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
69938 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
69940 for ac_func in _fabsl
69942 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69943 echo "$as_me:$LINENO: checking for $ac_func" >&5
69944 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69945 if eval "test \"\${$as_ac_var+set}\" = set"; then
69946 echo $ECHO_N "(cached) $ECHO_C" >&6
69947 else
69948 if test x$gcc_no_link = xyes; then
69949 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69950 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69951 { (exit 1); exit 1; }; }
69953 cat >conftest.$ac_ext <<_ACEOF
69954 /* confdefs.h. */
69955 _ACEOF
69956 cat confdefs.h >>conftest.$ac_ext
69957 cat >>conftest.$ac_ext <<_ACEOF
69958 /* end confdefs.h. */
69959 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69960 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69961 #define $ac_func innocuous_$ac_func
69963 /* System header to define __stub macros and hopefully few prototypes,
69964 which can conflict with char $ac_func (); below.
69965 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69966 <limits.h> exists even on freestanding compilers. */
69968 #ifdef __STDC__
69969 # include <limits.h>
69970 #else
69971 # include <assert.h>
69972 #endif
69974 #undef $ac_func
69976 /* Override any gcc2 internal prototype to avoid an error. */
69977 #ifdef __cplusplus
69978 extern "C"
69980 #endif
69981 /* We use char because int might match the return type of a gcc2
69982 builtin and then its argument prototype would still apply. */
69983 char $ac_func ();
69984 /* The GNU C library defines this for functions which it implements
69985 to always fail with ENOSYS. Some functions are actually named
69986 something starting with __ and the normal name is an alias. */
69987 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69988 choke me
69989 #else
69990 char (*f) () = $ac_func;
69991 #endif
69992 #ifdef __cplusplus
69994 #endif
69997 main ()
69999 return f != $ac_func;
70001 return 0;
70003 _ACEOF
70004 rm -f conftest.$ac_objext conftest$ac_exeext
70005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70006 (eval $ac_link) 2>conftest.er1
70007 ac_status=$?
70008 grep -v '^ *+' conftest.er1 >conftest.err
70009 rm -f conftest.er1
70010 cat conftest.err >&5
70011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70012 (exit $ac_status); } &&
70013 { ac_try='test -z "$ac_c_werror_flag"
70014 || test ! -s conftest.err'
70015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70016 (eval $ac_try) 2>&5
70017 ac_status=$?
70018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70019 (exit $ac_status); }; } &&
70020 { ac_try='test -s conftest$ac_exeext'
70021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70022 (eval $ac_try) 2>&5
70023 ac_status=$?
70024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70025 (exit $ac_status); }; }; then
70026 eval "$as_ac_var=yes"
70027 else
70028 echo "$as_me: failed program was:" >&5
70029 sed 's/^/| /' conftest.$ac_ext >&5
70031 eval "$as_ac_var=no"
70033 rm -f conftest.err conftest.$ac_objext \
70034 conftest$ac_exeext conftest.$ac_ext
70036 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70037 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70038 if test `eval echo '${'$as_ac_var'}'` = yes; then
70039 cat >>confdefs.h <<_ACEOF
70040 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70041 _ACEOF
70044 done
70054 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
70055 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
70056 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
70057 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
70058 echo $ECHO_N "(cached) $ECHO_C" >&6
70059 else
70063 ac_ext=cc
70064 ac_cpp='$CXXCPP $CPPFLAGS'
70065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70069 cat >conftest.$ac_ext <<_ACEOF
70070 /* confdefs.h. */
70071 _ACEOF
70072 cat confdefs.h >>conftest.$ac_ext
70073 cat >>conftest.$ac_ext <<_ACEOF
70074 /* end confdefs.h. */
70075 #include <math.h>
70077 main ()
70079 fmodl(0, 0);
70081 return 0;
70083 _ACEOF
70084 rm -f conftest.$ac_objext
70085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70086 (eval $ac_compile) 2>conftest.er1
70087 ac_status=$?
70088 grep -v '^ *+' conftest.er1 >conftest.err
70089 rm -f conftest.er1
70090 cat conftest.err >&5
70091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70092 (exit $ac_status); } &&
70093 { ac_try='test -z "$ac_cxx_werror_flag"
70094 || test ! -s conftest.err'
70095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70096 (eval $ac_try) 2>&5
70097 ac_status=$?
70098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70099 (exit $ac_status); }; } &&
70100 { ac_try='test -s conftest.$ac_objext'
70101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70102 (eval $ac_try) 2>&5
70103 ac_status=$?
70104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70105 (exit $ac_status); }; }; then
70106 glibcxx_cv_func_fmodl_use=yes
70107 else
70108 echo "$as_me: failed program was:" >&5
70109 sed 's/^/| /' conftest.$ac_ext >&5
70111 glibcxx_cv_func_fmodl_use=no
70113 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70114 ac_ext=c
70115 ac_cpp='$CPP $CPPFLAGS'
70116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70124 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
70125 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
70127 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
70129 for ac_func in fmodl
70131 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70132 echo "$as_me:$LINENO: checking for $ac_func" >&5
70133 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70134 if eval "test \"\${$as_ac_var+set}\" = set"; then
70135 echo $ECHO_N "(cached) $ECHO_C" >&6
70136 else
70137 if test x$gcc_no_link = xyes; then
70138 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70139 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70140 { (exit 1); exit 1; }; }
70142 cat >conftest.$ac_ext <<_ACEOF
70143 /* confdefs.h. */
70144 _ACEOF
70145 cat confdefs.h >>conftest.$ac_ext
70146 cat >>conftest.$ac_ext <<_ACEOF
70147 /* end confdefs.h. */
70148 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70149 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70150 #define $ac_func innocuous_$ac_func
70152 /* System header to define __stub macros and hopefully few prototypes,
70153 which can conflict with char $ac_func (); below.
70154 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70155 <limits.h> exists even on freestanding compilers. */
70157 #ifdef __STDC__
70158 # include <limits.h>
70159 #else
70160 # include <assert.h>
70161 #endif
70163 #undef $ac_func
70165 /* Override any gcc2 internal prototype to avoid an error. */
70166 #ifdef __cplusplus
70167 extern "C"
70169 #endif
70170 /* We use char because int might match the return type of a gcc2
70171 builtin and then its argument prototype would still apply. */
70172 char $ac_func ();
70173 /* The GNU C library defines this for functions which it implements
70174 to always fail with ENOSYS. Some functions are actually named
70175 something starting with __ and the normal name is an alias. */
70176 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70177 choke me
70178 #else
70179 char (*f) () = $ac_func;
70180 #endif
70181 #ifdef __cplusplus
70183 #endif
70186 main ()
70188 return f != $ac_func;
70190 return 0;
70192 _ACEOF
70193 rm -f conftest.$ac_objext conftest$ac_exeext
70194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70195 (eval $ac_link) 2>conftest.er1
70196 ac_status=$?
70197 grep -v '^ *+' conftest.er1 >conftest.err
70198 rm -f conftest.er1
70199 cat conftest.err >&5
70200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70201 (exit $ac_status); } &&
70202 { ac_try='test -z "$ac_c_werror_flag"
70203 || test ! -s conftest.err'
70204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70205 (eval $ac_try) 2>&5
70206 ac_status=$?
70207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70208 (exit $ac_status); }; } &&
70209 { ac_try='test -s conftest$ac_exeext'
70210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70211 (eval $ac_try) 2>&5
70212 ac_status=$?
70213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70214 (exit $ac_status); }; }; then
70215 eval "$as_ac_var=yes"
70216 else
70217 echo "$as_me: failed program was:" >&5
70218 sed 's/^/| /' conftest.$ac_ext >&5
70220 eval "$as_ac_var=no"
70222 rm -f conftest.err conftest.$ac_objext \
70223 conftest$ac_exeext conftest.$ac_ext
70225 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70226 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70227 if test `eval echo '${'$as_ac_var'}'` = yes; then
70228 cat >>confdefs.h <<_ACEOF
70229 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70230 _ACEOF
70233 done
70235 else
70237 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
70238 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
70239 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
70240 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
70241 echo $ECHO_N "(cached) $ECHO_C" >&6
70242 else
70246 ac_ext=cc
70247 ac_cpp='$CXXCPP $CPPFLAGS'
70248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70252 cat >conftest.$ac_ext <<_ACEOF
70253 /* confdefs.h. */
70254 _ACEOF
70255 cat confdefs.h >>conftest.$ac_ext
70256 cat >>conftest.$ac_ext <<_ACEOF
70257 /* end confdefs.h. */
70258 #include <math.h>
70260 main ()
70262 _fmodl(0, 0);
70264 return 0;
70266 _ACEOF
70267 rm -f conftest.$ac_objext
70268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70269 (eval $ac_compile) 2>conftest.er1
70270 ac_status=$?
70271 grep -v '^ *+' conftest.er1 >conftest.err
70272 rm -f conftest.er1
70273 cat conftest.err >&5
70274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70275 (exit $ac_status); } &&
70276 { ac_try='test -z "$ac_cxx_werror_flag"
70277 || test ! -s conftest.err'
70278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70279 (eval $ac_try) 2>&5
70280 ac_status=$?
70281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70282 (exit $ac_status); }; } &&
70283 { ac_try='test -s conftest.$ac_objext'
70284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70285 (eval $ac_try) 2>&5
70286 ac_status=$?
70287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70288 (exit $ac_status); }; }; then
70289 glibcxx_cv_func__fmodl_use=yes
70290 else
70291 echo "$as_me: failed program was:" >&5
70292 sed 's/^/| /' conftest.$ac_ext >&5
70294 glibcxx_cv_func__fmodl_use=no
70296 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70297 ac_ext=c
70298 ac_cpp='$CPP $CPPFLAGS'
70299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70307 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
70308 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
70310 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
70312 for ac_func in _fmodl
70314 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70315 echo "$as_me:$LINENO: checking for $ac_func" >&5
70316 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70317 if eval "test \"\${$as_ac_var+set}\" = set"; then
70318 echo $ECHO_N "(cached) $ECHO_C" >&6
70319 else
70320 if test x$gcc_no_link = xyes; then
70321 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70322 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70323 { (exit 1); exit 1; }; }
70325 cat >conftest.$ac_ext <<_ACEOF
70326 /* confdefs.h. */
70327 _ACEOF
70328 cat confdefs.h >>conftest.$ac_ext
70329 cat >>conftest.$ac_ext <<_ACEOF
70330 /* end confdefs.h. */
70331 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70332 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70333 #define $ac_func innocuous_$ac_func
70335 /* System header to define __stub macros and hopefully few prototypes,
70336 which can conflict with char $ac_func (); below.
70337 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70338 <limits.h> exists even on freestanding compilers. */
70340 #ifdef __STDC__
70341 # include <limits.h>
70342 #else
70343 # include <assert.h>
70344 #endif
70346 #undef $ac_func
70348 /* Override any gcc2 internal prototype to avoid an error. */
70349 #ifdef __cplusplus
70350 extern "C"
70352 #endif
70353 /* We use char because int might match the return type of a gcc2
70354 builtin and then its argument prototype would still apply. */
70355 char $ac_func ();
70356 /* The GNU C library defines this for functions which it implements
70357 to always fail with ENOSYS. Some functions are actually named
70358 something starting with __ and the normal name is an alias. */
70359 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70360 choke me
70361 #else
70362 char (*f) () = $ac_func;
70363 #endif
70364 #ifdef __cplusplus
70366 #endif
70369 main ()
70371 return f != $ac_func;
70373 return 0;
70375 _ACEOF
70376 rm -f conftest.$ac_objext conftest$ac_exeext
70377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70378 (eval $ac_link) 2>conftest.er1
70379 ac_status=$?
70380 grep -v '^ *+' conftest.er1 >conftest.err
70381 rm -f conftest.er1
70382 cat conftest.err >&5
70383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70384 (exit $ac_status); } &&
70385 { ac_try='test -z "$ac_c_werror_flag"
70386 || test ! -s conftest.err'
70387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70388 (eval $ac_try) 2>&5
70389 ac_status=$?
70390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70391 (exit $ac_status); }; } &&
70392 { ac_try='test -s conftest$ac_exeext'
70393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70394 (eval $ac_try) 2>&5
70395 ac_status=$?
70396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70397 (exit $ac_status); }; }; then
70398 eval "$as_ac_var=yes"
70399 else
70400 echo "$as_me: failed program was:" >&5
70401 sed 's/^/| /' conftest.$ac_ext >&5
70403 eval "$as_ac_var=no"
70405 rm -f conftest.err conftest.$ac_objext \
70406 conftest$ac_exeext conftest.$ac_ext
70408 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70409 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70410 if test `eval echo '${'$as_ac_var'}'` = yes; then
70411 cat >>confdefs.h <<_ACEOF
70412 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70413 _ACEOF
70416 done
70426 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
70427 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
70428 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
70429 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
70430 echo $ECHO_N "(cached) $ECHO_C" >&6
70431 else
70435 ac_ext=cc
70436 ac_cpp='$CXXCPP $CPPFLAGS'
70437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70441 cat >conftest.$ac_ext <<_ACEOF
70442 /* confdefs.h. */
70443 _ACEOF
70444 cat confdefs.h >>conftest.$ac_ext
70445 cat >>conftest.$ac_ext <<_ACEOF
70446 /* end confdefs.h. */
70447 #include <math.h>
70449 main ()
70451 frexpl(0, 0);
70453 return 0;
70455 _ACEOF
70456 rm -f conftest.$ac_objext
70457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70458 (eval $ac_compile) 2>conftest.er1
70459 ac_status=$?
70460 grep -v '^ *+' conftest.er1 >conftest.err
70461 rm -f conftest.er1
70462 cat conftest.err >&5
70463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70464 (exit $ac_status); } &&
70465 { ac_try='test -z "$ac_cxx_werror_flag"
70466 || test ! -s conftest.err'
70467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70468 (eval $ac_try) 2>&5
70469 ac_status=$?
70470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70471 (exit $ac_status); }; } &&
70472 { ac_try='test -s conftest.$ac_objext'
70473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70474 (eval $ac_try) 2>&5
70475 ac_status=$?
70476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70477 (exit $ac_status); }; }; then
70478 glibcxx_cv_func_frexpl_use=yes
70479 else
70480 echo "$as_me: failed program was:" >&5
70481 sed 's/^/| /' conftest.$ac_ext >&5
70483 glibcxx_cv_func_frexpl_use=no
70485 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70486 ac_ext=c
70487 ac_cpp='$CPP $CPPFLAGS'
70488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70496 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
70497 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
70499 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
70501 for ac_func in frexpl
70503 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70504 echo "$as_me:$LINENO: checking for $ac_func" >&5
70505 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70506 if eval "test \"\${$as_ac_var+set}\" = set"; then
70507 echo $ECHO_N "(cached) $ECHO_C" >&6
70508 else
70509 if test x$gcc_no_link = xyes; then
70510 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70511 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70512 { (exit 1); exit 1; }; }
70514 cat >conftest.$ac_ext <<_ACEOF
70515 /* confdefs.h. */
70516 _ACEOF
70517 cat confdefs.h >>conftest.$ac_ext
70518 cat >>conftest.$ac_ext <<_ACEOF
70519 /* end confdefs.h. */
70520 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70521 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70522 #define $ac_func innocuous_$ac_func
70524 /* System header to define __stub macros and hopefully few prototypes,
70525 which can conflict with char $ac_func (); below.
70526 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70527 <limits.h> exists even on freestanding compilers. */
70529 #ifdef __STDC__
70530 # include <limits.h>
70531 #else
70532 # include <assert.h>
70533 #endif
70535 #undef $ac_func
70537 /* Override any gcc2 internal prototype to avoid an error. */
70538 #ifdef __cplusplus
70539 extern "C"
70541 #endif
70542 /* We use char because int might match the return type of a gcc2
70543 builtin and then its argument prototype would still apply. */
70544 char $ac_func ();
70545 /* The GNU C library defines this for functions which it implements
70546 to always fail with ENOSYS. Some functions are actually named
70547 something starting with __ and the normal name is an alias. */
70548 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70549 choke me
70550 #else
70551 char (*f) () = $ac_func;
70552 #endif
70553 #ifdef __cplusplus
70555 #endif
70558 main ()
70560 return f != $ac_func;
70562 return 0;
70564 _ACEOF
70565 rm -f conftest.$ac_objext conftest$ac_exeext
70566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70567 (eval $ac_link) 2>conftest.er1
70568 ac_status=$?
70569 grep -v '^ *+' conftest.er1 >conftest.err
70570 rm -f conftest.er1
70571 cat conftest.err >&5
70572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70573 (exit $ac_status); } &&
70574 { ac_try='test -z "$ac_c_werror_flag"
70575 || test ! -s conftest.err'
70576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70577 (eval $ac_try) 2>&5
70578 ac_status=$?
70579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70580 (exit $ac_status); }; } &&
70581 { ac_try='test -s conftest$ac_exeext'
70582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70583 (eval $ac_try) 2>&5
70584 ac_status=$?
70585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70586 (exit $ac_status); }; }; then
70587 eval "$as_ac_var=yes"
70588 else
70589 echo "$as_me: failed program was:" >&5
70590 sed 's/^/| /' conftest.$ac_ext >&5
70592 eval "$as_ac_var=no"
70594 rm -f conftest.err conftest.$ac_objext \
70595 conftest$ac_exeext conftest.$ac_ext
70597 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70598 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70599 if test `eval echo '${'$as_ac_var'}'` = yes; then
70600 cat >>confdefs.h <<_ACEOF
70601 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70602 _ACEOF
70605 done
70607 else
70609 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
70610 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
70611 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
70612 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
70613 echo $ECHO_N "(cached) $ECHO_C" >&6
70614 else
70618 ac_ext=cc
70619 ac_cpp='$CXXCPP $CPPFLAGS'
70620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70624 cat >conftest.$ac_ext <<_ACEOF
70625 /* confdefs.h. */
70626 _ACEOF
70627 cat confdefs.h >>conftest.$ac_ext
70628 cat >>conftest.$ac_ext <<_ACEOF
70629 /* end confdefs.h. */
70630 #include <math.h>
70632 main ()
70634 _frexpl(0, 0);
70636 return 0;
70638 _ACEOF
70639 rm -f conftest.$ac_objext
70640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70641 (eval $ac_compile) 2>conftest.er1
70642 ac_status=$?
70643 grep -v '^ *+' conftest.er1 >conftest.err
70644 rm -f conftest.er1
70645 cat conftest.err >&5
70646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70647 (exit $ac_status); } &&
70648 { ac_try='test -z "$ac_cxx_werror_flag"
70649 || test ! -s conftest.err'
70650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70651 (eval $ac_try) 2>&5
70652 ac_status=$?
70653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70654 (exit $ac_status); }; } &&
70655 { ac_try='test -s conftest.$ac_objext'
70656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70657 (eval $ac_try) 2>&5
70658 ac_status=$?
70659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70660 (exit $ac_status); }; }; then
70661 glibcxx_cv_func__frexpl_use=yes
70662 else
70663 echo "$as_me: failed program was:" >&5
70664 sed 's/^/| /' conftest.$ac_ext >&5
70666 glibcxx_cv_func__frexpl_use=no
70668 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70669 ac_ext=c
70670 ac_cpp='$CPP $CPPFLAGS'
70671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70679 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
70680 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
70682 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
70684 for ac_func in _frexpl
70686 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70687 echo "$as_me:$LINENO: checking for $ac_func" >&5
70688 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70689 if eval "test \"\${$as_ac_var+set}\" = set"; then
70690 echo $ECHO_N "(cached) $ECHO_C" >&6
70691 else
70692 if test x$gcc_no_link = xyes; then
70693 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70694 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70695 { (exit 1); exit 1; }; }
70697 cat >conftest.$ac_ext <<_ACEOF
70698 /* confdefs.h. */
70699 _ACEOF
70700 cat confdefs.h >>conftest.$ac_ext
70701 cat >>conftest.$ac_ext <<_ACEOF
70702 /* end confdefs.h. */
70703 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70704 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70705 #define $ac_func innocuous_$ac_func
70707 /* System header to define __stub macros and hopefully few prototypes,
70708 which can conflict with char $ac_func (); below.
70709 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70710 <limits.h> exists even on freestanding compilers. */
70712 #ifdef __STDC__
70713 # include <limits.h>
70714 #else
70715 # include <assert.h>
70716 #endif
70718 #undef $ac_func
70720 /* Override any gcc2 internal prototype to avoid an error. */
70721 #ifdef __cplusplus
70722 extern "C"
70724 #endif
70725 /* We use char because int might match the return type of a gcc2
70726 builtin and then its argument prototype would still apply. */
70727 char $ac_func ();
70728 /* The GNU C library defines this for functions which it implements
70729 to always fail with ENOSYS. Some functions are actually named
70730 something starting with __ and the normal name is an alias. */
70731 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70732 choke me
70733 #else
70734 char (*f) () = $ac_func;
70735 #endif
70736 #ifdef __cplusplus
70738 #endif
70741 main ()
70743 return f != $ac_func;
70745 return 0;
70747 _ACEOF
70748 rm -f conftest.$ac_objext conftest$ac_exeext
70749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70750 (eval $ac_link) 2>conftest.er1
70751 ac_status=$?
70752 grep -v '^ *+' conftest.er1 >conftest.err
70753 rm -f conftest.er1
70754 cat conftest.err >&5
70755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70756 (exit $ac_status); } &&
70757 { ac_try='test -z "$ac_c_werror_flag"
70758 || test ! -s conftest.err'
70759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70760 (eval $ac_try) 2>&5
70761 ac_status=$?
70762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70763 (exit $ac_status); }; } &&
70764 { ac_try='test -s conftest$ac_exeext'
70765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70766 (eval $ac_try) 2>&5
70767 ac_status=$?
70768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70769 (exit $ac_status); }; }; then
70770 eval "$as_ac_var=yes"
70771 else
70772 echo "$as_me: failed program was:" >&5
70773 sed 's/^/| /' conftest.$ac_ext >&5
70775 eval "$as_ac_var=no"
70777 rm -f conftest.err conftest.$ac_objext \
70778 conftest$ac_exeext conftest.$ac_ext
70780 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70781 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70782 if test `eval echo '${'$as_ac_var'}'` = yes; then
70783 cat >>confdefs.h <<_ACEOF
70784 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70785 _ACEOF
70788 done
70798 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
70799 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
70800 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
70801 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
70802 echo $ECHO_N "(cached) $ECHO_C" >&6
70803 else
70807 ac_ext=cc
70808 ac_cpp='$CXXCPP $CPPFLAGS'
70809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70813 cat >conftest.$ac_ext <<_ACEOF
70814 /* confdefs.h. */
70815 _ACEOF
70816 cat confdefs.h >>conftest.$ac_ext
70817 cat >>conftest.$ac_ext <<_ACEOF
70818 /* end confdefs.h. */
70819 #include <math.h>
70821 main ()
70823 hypotl(0, 0);
70825 return 0;
70827 _ACEOF
70828 rm -f conftest.$ac_objext
70829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70830 (eval $ac_compile) 2>conftest.er1
70831 ac_status=$?
70832 grep -v '^ *+' conftest.er1 >conftest.err
70833 rm -f conftest.er1
70834 cat conftest.err >&5
70835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70836 (exit $ac_status); } &&
70837 { ac_try='test -z "$ac_cxx_werror_flag"
70838 || test ! -s conftest.err'
70839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70840 (eval $ac_try) 2>&5
70841 ac_status=$?
70842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70843 (exit $ac_status); }; } &&
70844 { ac_try='test -s conftest.$ac_objext'
70845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70846 (eval $ac_try) 2>&5
70847 ac_status=$?
70848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70849 (exit $ac_status); }; }; then
70850 glibcxx_cv_func_hypotl_use=yes
70851 else
70852 echo "$as_me: failed program was:" >&5
70853 sed 's/^/| /' conftest.$ac_ext >&5
70855 glibcxx_cv_func_hypotl_use=no
70857 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70858 ac_ext=c
70859 ac_cpp='$CPP $CPPFLAGS'
70860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70868 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
70869 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
70871 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
70873 for ac_func in hypotl
70875 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70876 echo "$as_me:$LINENO: checking for $ac_func" >&5
70877 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70878 if eval "test \"\${$as_ac_var+set}\" = set"; then
70879 echo $ECHO_N "(cached) $ECHO_C" >&6
70880 else
70881 if test x$gcc_no_link = xyes; then
70882 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70883 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70884 { (exit 1); exit 1; }; }
70886 cat >conftest.$ac_ext <<_ACEOF
70887 /* confdefs.h. */
70888 _ACEOF
70889 cat confdefs.h >>conftest.$ac_ext
70890 cat >>conftest.$ac_ext <<_ACEOF
70891 /* end confdefs.h. */
70892 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70893 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70894 #define $ac_func innocuous_$ac_func
70896 /* System header to define __stub macros and hopefully few prototypes,
70897 which can conflict with char $ac_func (); below.
70898 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70899 <limits.h> exists even on freestanding compilers. */
70901 #ifdef __STDC__
70902 # include <limits.h>
70903 #else
70904 # include <assert.h>
70905 #endif
70907 #undef $ac_func
70909 /* Override any gcc2 internal prototype to avoid an error. */
70910 #ifdef __cplusplus
70911 extern "C"
70913 #endif
70914 /* We use char because int might match the return type of a gcc2
70915 builtin and then its argument prototype would still apply. */
70916 char $ac_func ();
70917 /* The GNU C library defines this for functions which it implements
70918 to always fail with ENOSYS. Some functions are actually named
70919 something starting with __ and the normal name is an alias. */
70920 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70921 choke me
70922 #else
70923 char (*f) () = $ac_func;
70924 #endif
70925 #ifdef __cplusplus
70927 #endif
70930 main ()
70932 return f != $ac_func;
70934 return 0;
70936 _ACEOF
70937 rm -f conftest.$ac_objext conftest$ac_exeext
70938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70939 (eval $ac_link) 2>conftest.er1
70940 ac_status=$?
70941 grep -v '^ *+' conftest.er1 >conftest.err
70942 rm -f conftest.er1
70943 cat conftest.err >&5
70944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70945 (exit $ac_status); } &&
70946 { ac_try='test -z "$ac_c_werror_flag"
70947 || test ! -s conftest.err'
70948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70949 (eval $ac_try) 2>&5
70950 ac_status=$?
70951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70952 (exit $ac_status); }; } &&
70953 { ac_try='test -s conftest$ac_exeext'
70954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70955 (eval $ac_try) 2>&5
70956 ac_status=$?
70957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70958 (exit $ac_status); }; }; then
70959 eval "$as_ac_var=yes"
70960 else
70961 echo "$as_me: failed program was:" >&5
70962 sed 's/^/| /' conftest.$ac_ext >&5
70964 eval "$as_ac_var=no"
70966 rm -f conftest.err conftest.$ac_objext \
70967 conftest$ac_exeext conftest.$ac_ext
70969 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70970 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70971 if test `eval echo '${'$as_ac_var'}'` = yes; then
70972 cat >>confdefs.h <<_ACEOF
70973 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70974 _ACEOF
70977 done
70979 else
70981 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
70982 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
70983 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
70984 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
70985 echo $ECHO_N "(cached) $ECHO_C" >&6
70986 else
70990 ac_ext=cc
70991 ac_cpp='$CXXCPP $CPPFLAGS'
70992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70996 cat >conftest.$ac_ext <<_ACEOF
70997 /* confdefs.h. */
70998 _ACEOF
70999 cat confdefs.h >>conftest.$ac_ext
71000 cat >>conftest.$ac_ext <<_ACEOF
71001 /* end confdefs.h. */
71002 #include <math.h>
71004 main ()
71006 _hypotl(0, 0);
71008 return 0;
71010 _ACEOF
71011 rm -f conftest.$ac_objext
71012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71013 (eval $ac_compile) 2>conftest.er1
71014 ac_status=$?
71015 grep -v '^ *+' conftest.er1 >conftest.err
71016 rm -f conftest.er1
71017 cat conftest.err >&5
71018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71019 (exit $ac_status); } &&
71020 { ac_try='test -z "$ac_cxx_werror_flag"
71021 || test ! -s conftest.err'
71022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71023 (eval $ac_try) 2>&5
71024 ac_status=$?
71025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71026 (exit $ac_status); }; } &&
71027 { ac_try='test -s conftest.$ac_objext'
71028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71029 (eval $ac_try) 2>&5
71030 ac_status=$?
71031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71032 (exit $ac_status); }; }; then
71033 glibcxx_cv_func__hypotl_use=yes
71034 else
71035 echo "$as_me: failed program was:" >&5
71036 sed 's/^/| /' conftest.$ac_ext >&5
71038 glibcxx_cv_func__hypotl_use=no
71040 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71041 ac_ext=c
71042 ac_cpp='$CPP $CPPFLAGS'
71043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71051 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
71052 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
71054 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
71056 for ac_func in _hypotl
71058 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71059 echo "$as_me:$LINENO: checking for $ac_func" >&5
71060 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71061 if eval "test \"\${$as_ac_var+set}\" = set"; then
71062 echo $ECHO_N "(cached) $ECHO_C" >&6
71063 else
71064 if test x$gcc_no_link = xyes; then
71065 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71066 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71067 { (exit 1); exit 1; }; }
71069 cat >conftest.$ac_ext <<_ACEOF
71070 /* confdefs.h. */
71071 _ACEOF
71072 cat confdefs.h >>conftest.$ac_ext
71073 cat >>conftest.$ac_ext <<_ACEOF
71074 /* end confdefs.h. */
71075 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71076 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71077 #define $ac_func innocuous_$ac_func
71079 /* System header to define __stub macros and hopefully few prototypes,
71080 which can conflict with char $ac_func (); below.
71081 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71082 <limits.h> exists even on freestanding compilers. */
71084 #ifdef __STDC__
71085 # include <limits.h>
71086 #else
71087 # include <assert.h>
71088 #endif
71090 #undef $ac_func
71092 /* Override any gcc2 internal prototype to avoid an error. */
71093 #ifdef __cplusplus
71094 extern "C"
71096 #endif
71097 /* We use char because int might match the return type of a gcc2
71098 builtin and then its argument prototype would still apply. */
71099 char $ac_func ();
71100 /* The GNU C library defines this for functions which it implements
71101 to always fail with ENOSYS. Some functions are actually named
71102 something starting with __ and the normal name is an alias. */
71103 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71104 choke me
71105 #else
71106 char (*f) () = $ac_func;
71107 #endif
71108 #ifdef __cplusplus
71110 #endif
71113 main ()
71115 return f != $ac_func;
71117 return 0;
71119 _ACEOF
71120 rm -f conftest.$ac_objext conftest$ac_exeext
71121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71122 (eval $ac_link) 2>conftest.er1
71123 ac_status=$?
71124 grep -v '^ *+' conftest.er1 >conftest.err
71125 rm -f conftest.er1
71126 cat conftest.err >&5
71127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71128 (exit $ac_status); } &&
71129 { ac_try='test -z "$ac_c_werror_flag"
71130 || test ! -s conftest.err'
71131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71132 (eval $ac_try) 2>&5
71133 ac_status=$?
71134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71135 (exit $ac_status); }; } &&
71136 { ac_try='test -s conftest$ac_exeext'
71137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71138 (eval $ac_try) 2>&5
71139 ac_status=$?
71140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71141 (exit $ac_status); }; }; then
71142 eval "$as_ac_var=yes"
71143 else
71144 echo "$as_me: failed program was:" >&5
71145 sed 's/^/| /' conftest.$ac_ext >&5
71147 eval "$as_ac_var=no"
71149 rm -f conftest.err conftest.$ac_objext \
71150 conftest$ac_exeext conftest.$ac_ext
71152 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71153 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71154 if test `eval echo '${'$as_ac_var'}'` = yes; then
71155 cat >>confdefs.h <<_ACEOF
71156 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71157 _ACEOF
71160 done
71170 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
71171 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
71172 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
71173 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
71174 echo $ECHO_N "(cached) $ECHO_C" >&6
71175 else
71179 ac_ext=cc
71180 ac_cpp='$CXXCPP $CPPFLAGS'
71181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71185 cat >conftest.$ac_ext <<_ACEOF
71186 /* confdefs.h. */
71187 _ACEOF
71188 cat confdefs.h >>conftest.$ac_ext
71189 cat >>conftest.$ac_ext <<_ACEOF
71190 /* end confdefs.h. */
71191 #include <math.h>
71193 main ()
71195 ldexpl(0, 0);
71197 return 0;
71199 _ACEOF
71200 rm -f conftest.$ac_objext
71201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71202 (eval $ac_compile) 2>conftest.er1
71203 ac_status=$?
71204 grep -v '^ *+' conftest.er1 >conftest.err
71205 rm -f conftest.er1
71206 cat conftest.err >&5
71207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71208 (exit $ac_status); } &&
71209 { ac_try='test -z "$ac_cxx_werror_flag"
71210 || test ! -s conftest.err'
71211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71212 (eval $ac_try) 2>&5
71213 ac_status=$?
71214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71215 (exit $ac_status); }; } &&
71216 { ac_try='test -s conftest.$ac_objext'
71217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71218 (eval $ac_try) 2>&5
71219 ac_status=$?
71220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71221 (exit $ac_status); }; }; then
71222 glibcxx_cv_func_ldexpl_use=yes
71223 else
71224 echo "$as_me: failed program was:" >&5
71225 sed 's/^/| /' conftest.$ac_ext >&5
71227 glibcxx_cv_func_ldexpl_use=no
71229 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71230 ac_ext=c
71231 ac_cpp='$CPP $CPPFLAGS'
71232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71240 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
71241 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
71243 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
71245 for ac_func in ldexpl
71247 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71248 echo "$as_me:$LINENO: checking for $ac_func" >&5
71249 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71250 if eval "test \"\${$as_ac_var+set}\" = set"; then
71251 echo $ECHO_N "(cached) $ECHO_C" >&6
71252 else
71253 if test x$gcc_no_link = xyes; then
71254 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71255 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71256 { (exit 1); exit 1; }; }
71258 cat >conftest.$ac_ext <<_ACEOF
71259 /* confdefs.h. */
71260 _ACEOF
71261 cat confdefs.h >>conftest.$ac_ext
71262 cat >>conftest.$ac_ext <<_ACEOF
71263 /* end confdefs.h. */
71264 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71265 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71266 #define $ac_func innocuous_$ac_func
71268 /* System header to define __stub macros and hopefully few prototypes,
71269 which can conflict with char $ac_func (); below.
71270 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71271 <limits.h> exists even on freestanding compilers. */
71273 #ifdef __STDC__
71274 # include <limits.h>
71275 #else
71276 # include <assert.h>
71277 #endif
71279 #undef $ac_func
71281 /* Override any gcc2 internal prototype to avoid an error. */
71282 #ifdef __cplusplus
71283 extern "C"
71285 #endif
71286 /* We use char because int might match the return type of a gcc2
71287 builtin and then its argument prototype would still apply. */
71288 char $ac_func ();
71289 /* The GNU C library defines this for functions which it implements
71290 to always fail with ENOSYS. Some functions are actually named
71291 something starting with __ and the normal name is an alias. */
71292 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71293 choke me
71294 #else
71295 char (*f) () = $ac_func;
71296 #endif
71297 #ifdef __cplusplus
71299 #endif
71302 main ()
71304 return f != $ac_func;
71306 return 0;
71308 _ACEOF
71309 rm -f conftest.$ac_objext conftest$ac_exeext
71310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71311 (eval $ac_link) 2>conftest.er1
71312 ac_status=$?
71313 grep -v '^ *+' conftest.er1 >conftest.err
71314 rm -f conftest.er1
71315 cat conftest.err >&5
71316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71317 (exit $ac_status); } &&
71318 { ac_try='test -z "$ac_c_werror_flag"
71319 || test ! -s conftest.err'
71320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71321 (eval $ac_try) 2>&5
71322 ac_status=$?
71323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71324 (exit $ac_status); }; } &&
71325 { ac_try='test -s conftest$ac_exeext'
71326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71327 (eval $ac_try) 2>&5
71328 ac_status=$?
71329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71330 (exit $ac_status); }; }; then
71331 eval "$as_ac_var=yes"
71332 else
71333 echo "$as_me: failed program was:" >&5
71334 sed 's/^/| /' conftest.$ac_ext >&5
71336 eval "$as_ac_var=no"
71338 rm -f conftest.err conftest.$ac_objext \
71339 conftest$ac_exeext conftest.$ac_ext
71341 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71342 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71343 if test `eval echo '${'$as_ac_var'}'` = yes; then
71344 cat >>confdefs.h <<_ACEOF
71345 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71346 _ACEOF
71349 done
71351 else
71353 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
71354 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
71355 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
71356 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
71357 echo $ECHO_N "(cached) $ECHO_C" >&6
71358 else
71362 ac_ext=cc
71363 ac_cpp='$CXXCPP $CPPFLAGS'
71364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71368 cat >conftest.$ac_ext <<_ACEOF
71369 /* confdefs.h. */
71370 _ACEOF
71371 cat confdefs.h >>conftest.$ac_ext
71372 cat >>conftest.$ac_ext <<_ACEOF
71373 /* end confdefs.h. */
71374 #include <math.h>
71376 main ()
71378 _ldexpl(0, 0);
71380 return 0;
71382 _ACEOF
71383 rm -f conftest.$ac_objext
71384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71385 (eval $ac_compile) 2>conftest.er1
71386 ac_status=$?
71387 grep -v '^ *+' conftest.er1 >conftest.err
71388 rm -f conftest.er1
71389 cat conftest.err >&5
71390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71391 (exit $ac_status); } &&
71392 { ac_try='test -z "$ac_cxx_werror_flag"
71393 || test ! -s conftest.err'
71394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71395 (eval $ac_try) 2>&5
71396 ac_status=$?
71397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71398 (exit $ac_status); }; } &&
71399 { ac_try='test -s conftest.$ac_objext'
71400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71401 (eval $ac_try) 2>&5
71402 ac_status=$?
71403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71404 (exit $ac_status); }; }; then
71405 glibcxx_cv_func__ldexpl_use=yes
71406 else
71407 echo "$as_me: failed program was:" >&5
71408 sed 's/^/| /' conftest.$ac_ext >&5
71410 glibcxx_cv_func__ldexpl_use=no
71412 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71413 ac_ext=c
71414 ac_cpp='$CPP $CPPFLAGS'
71415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71423 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
71424 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
71426 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
71428 for ac_func in _ldexpl
71430 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71431 echo "$as_me:$LINENO: checking for $ac_func" >&5
71432 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71433 if eval "test \"\${$as_ac_var+set}\" = set"; then
71434 echo $ECHO_N "(cached) $ECHO_C" >&6
71435 else
71436 if test x$gcc_no_link = xyes; then
71437 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71438 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71439 { (exit 1); exit 1; }; }
71441 cat >conftest.$ac_ext <<_ACEOF
71442 /* confdefs.h. */
71443 _ACEOF
71444 cat confdefs.h >>conftest.$ac_ext
71445 cat >>conftest.$ac_ext <<_ACEOF
71446 /* end confdefs.h. */
71447 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71448 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71449 #define $ac_func innocuous_$ac_func
71451 /* System header to define __stub macros and hopefully few prototypes,
71452 which can conflict with char $ac_func (); below.
71453 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71454 <limits.h> exists even on freestanding compilers. */
71456 #ifdef __STDC__
71457 # include <limits.h>
71458 #else
71459 # include <assert.h>
71460 #endif
71462 #undef $ac_func
71464 /* Override any gcc2 internal prototype to avoid an error. */
71465 #ifdef __cplusplus
71466 extern "C"
71468 #endif
71469 /* We use char because int might match the return type of a gcc2
71470 builtin and then its argument prototype would still apply. */
71471 char $ac_func ();
71472 /* The GNU C library defines this for functions which it implements
71473 to always fail with ENOSYS. Some functions are actually named
71474 something starting with __ and the normal name is an alias. */
71475 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71476 choke me
71477 #else
71478 char (*f) () = $ac_func;
71479 #endif
71480 #ifdef __cplusplus
71482 #endif
71485 main ()
71487 return f != $ac_func;
71489 return 0;
71491 _ACEOF
71492 rm -f conftest.$ac_objext conftest$ac_exeext
71493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71494 (eval $ac_link) 2>conftest.er1
71495 ac_status=$?
71496 grep -v '^ *+' conftest.er1 >conftest.err
71497 rm -f conftest.er1
71498 cat conftest.err >&5
71499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71500 (exit $ac_status); } &&
71501 { ac_try='test -z "$ac_c_werror_flag"
71502 || test ! -s conftest.err'
71503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71504 (eval $ac_try) 2>&5
71505 ac_status=$?
71506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71507 (exit $ac_status); }; } &&
71508 { ac_try='test -s conftest$ac_exeext'
71509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71510 (eval $ac_try) 2>&5
71511 ac_status=$?
71512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71513 (exit $ac_status); }; }; then
71514 eval "$as_ac_var=yes"
71515 else
71516 echo "$as_me: failed program was:" >&5
71517 sed 's/^/| /' conftest.$ac_ext >&5
71519 eval "$as_ac_var=no"
71521 rm -f conftest.err conftest.$ac_objext \
71522 conftest$ac_exeext conftest.$ac_ext
71524 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71525 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71526 if test `eval echo '${'$as_ac_var'}'` = yes; then
71527 cat >>confdefs.h <<_ACEOF
71528 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71529 _ACEOF
71532 done
71542 echo "$as_me:$LINENO: checking for logl declaration" >&5
71543 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
71544 if test x${glibcxx_cv_func_logl_use+set} != xset; then
71545 if test "${glibcxx_cv_func_logl_use+set}" = set; then
71546 echo $ECHO_N "(cached) $ECHO_C" >&6
71547 else
71551 ac_ext=cc
71552 ac_cpp='$CXXCPP $CPPFLAGS'
71553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71557 cat >conftest.$ac_ext <<_ACEOF
71558 /* confdefs.h. */
71559 _ACEOF
71560 cat confdefs.h >>conftest.$ac_ext
71561 cat >>conftest.$ac_ext <<_ACEOF
71562 /* end confdefs.h. */
71563 #include <math.h>
71564 #ifdef HAVE_IEEEFP_H
71565 #include <ieeefp.h>
71566 #endif
71569 main ()
71571 logl(0);
71573 return 0;
71575 _ACEOF
71576 rm -f conftest.$ac_objext
71577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71578 (eval $ac_compile) 2>conftest.er1
71579 ac_status=$?
71580 grep -v '^ *+' conftest.er1 >conftest.err
71581 rm -f conftest.er1
71582 cat conftest.err >&5
71583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71584 (exit $ac_status); } &&
71585 { ac_try='test -z "$ac_cxx_werror_flag"
71586 || test ! -s conftest.err'
71587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71588 (eval $ac_try) 2>&5
71589 ac_status=$?
71590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71591 (exit $ac_status); }; } &&
71592 { ac_try='test -s conftest.$ac_objext'
71593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71594 (eval $ac_try) 2>&5
71595 ac_status=$?
71596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71597 (exit $ac_status); }; }; then
71598 glibcxx_cv_func_logl_use=yes
71599 else
71600 echo "$as_me: failed program was:" >&5
71601 sed 's/^/| /' conftest.$ac_ext >&5
71603 glibcxx_cv_func_logl_use=no
71605 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71606 ac_ext=c
71607 ac_cpp='$CPP $CPPFLAGS'
71608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71616 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
71617 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
71619 if test x$glibcxx_cv_func_logl_use = x"yes"; then
71621 for ac_func in logl
71623 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71624 echo "$as_me:$LINENO: checking for $ac_func" >&5
71625 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71626 if eval "test \"\${$as_ac_var+set}\" = set"; then
71627 echo $ECHO_N "(cached) $ECHO_C" >&6
71628 else
71629 if test x$gcc_no_link = xyes; then
71630 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71631 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71632 { (exit 1); exit 1; }; }
71634 cat >conftest.$ac_ext <<_ACEOF
71635 /* confdefs.h. */
71636 _ACEOF
71637 cat confdefs.h >>conftest.$ac_ext
71638 cat >>conftest.$ac_ext <<_ACEOF
71639 /* end confdefs.h. */
71640 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71641 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71642 #define $ac_func innocuous_$ac_func
71644 /* System header to define __stub macros and hopefully few prototypes,
71645 which can conflict with char $ac_func (); below.
71646 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71647 <limits.h> exists even on freestanding compilers. */
71649 #ifdef __STDC__
71650 # include <limits.h>
71651 #else
71652 # include <assert.h>
71653 #endif
71655 #undef $ac_func
71657 /* Override any gcc2 internal prototype to avoid an error. */
71658 #ifdef __cplusplus
71659 extern "C"
71661 #endif
71662 /* We use char because int might match the return type of a gcc2
71663 builtin and then its argument prototype would still apply. */
71664 char $ac_func ();
71665 /* The GNU C library defines this for functions which it implements
71666 to always fail with ENOSYS. Some functions are actually named
71667 something starting with __ and the normal name is an alias. */
71668 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71669 choke me
71670 #else
71671 char (*f) () = $ac_func;
71672 #endif
71673 #ifdef __cplusplus
71675 #endif
71678 main ()
71680 return f != $ac_func;
71682 return 0;
71684 _ACEOF
71685 rm -f conftest.$ac_objext conftest$ac_exeext
71686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71687 (eval $ac_link) 2>conftest.er1
71688 ac_status=$?
71689 grep -v '^ *+' conftest.er1 >conftest.err
71690 rm -f conftest.er1
71691 cat conftest.err >&5
71692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71693 (exit $ac_status); } &&
71694 { ac_try='test -z "$ac_c_werror_flag"
71695 || test ! -s conftest.err'
71696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71697 (eval $ac_try) 2>&5
71698 ac_status=$?
71699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71700 (exit $ac_status); }; } &&
71701 { ac_try='test -s conftest$ac_exeext'
71702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71703 (eval $ac_try) 2>&5
71704 ac_status=$?
71705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71706 (exit $ac_status); }; }; then
71707 eval "$as_ac_var=yes"
71708 else
71709 echo "$as_me: failed program was:" >&5
71710 sed 's/^/| /' conftest.$ac_ext >&5
71712 eval "$as_ac_var=no"
71714 rm -f conftest.err conftest.$ac_objext \
71715 conftest$ac_exeext conftest.$ac_ext
71717 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71718 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71719 if test `eval echo '${'$as_ac_var'}'` = yes; then
71720 cat >>confdefs.h <<_ACEOF
71721 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71722 _ACEOF
71725 done
71727 else
71729 echo "$as_me:$LINENO: checking for _logl declaration" >&5
71730 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
71731 if test x${glibcxx_cv_func__logl_use+set} != xset; then
71732 if test "${glibcxx_cv_func__logl_use+set}" = set; then
71733 echo $ECHO_N "(cached) $ECHO_C" >&6
71734 else
71738 ac_ext=cc
71739 ac_cpp='$CXXCPP $CPPFLAGS'
71740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71744 cat >conftest.$ac_ext <<_ACEOF
71745 /* confdefs.h. */
71746 _ACEOF
71747 cat confdefs.h >>conftest.$ac_ext
71748 cat >>conftest.$ac_ext <<_ACEOF
71749 /* end confdefs.h. */
71750 #include <math.h>
71751 #ifdef HAVE_IEEEFP_H
71752 #include <ieeefp.h>
71753 #endif
71756 main ()
71758 _logl(0);
71760 return 0;
71762 _ACEOF
71763 rm -f conftest.$ac_objext
71764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71765 (eval $ac_compile) 2>conftest.er1
71766 ac_status=$?
71767 grep -v '^ *+' conftest.er1 >conftest.err
71768 rm -f conftest.er1
71769 cat conftest.err >&5
71770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71771 (exit $ac_status); } &&
71772 { ac_try='test -z "$ac_cxx_werror_flag"
71773 || test ! -s conftest.err'
71774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71775 (eval $ac_try) 2>&5
71776 ac_status=$?
71777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71778 (exit $ac_status); }; } &&
71779 { ac_try='test -s conftest.$ac_objext'
71780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71781 (eval $ac_try) 2>&5
71782 ac_status=$?
71783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71784 (exit $ac_status); }; }; then
71785 glibcxx_cv_func__logl_use=yes
71786 else
71787 echo "$as_me: failed program was:" >&5
71788 sed 's/^/| /' conftest.$ac_ext >&5
71790 glibcxx_cv_func__logl_use=no
71792 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71793 ac_ext=c
71794 ac_cpp='$CPP $CPPFLAGS'
71795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71803 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
71804 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
71806 if test x$glibcxx_cv_func__logl_use = x"yes"; then
71808 for ac_func in _logl
71810 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71811 echo "$as_me:$LINENO: checking for $ac_func" >&5
71812 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71813 if eval "test \"\${$as_ac_var+set}\" = set"; then
71814 echo $ECHO_N "(cached) $ECHO_C" >&6
71815 else
71816 if test x$gcc_no_link = xyes; then
71817 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71818 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71819 { (exit 1); exit 1; }; }
71821 cat >conftest.$ac_ext <<_ACEOF
71822 /* confdefs.h. */
71823 _ACEOF
71824 cat confdefs.h >>conftest.$ac_ext
71825 cat >>conftest.$ac_ext <<_ACEOF
71826 /* end confdefs.h. */
71827 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71828 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71829 #define $ac_func innocuous_$ac_func
71831 /* System header to define __stub macros and hopefully few prototypes,
71832 which can conflict with char $ac_func (); below.
71833 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71834 <limits.h> exists even on freestanding compilers. */
71836 #ifdef __STDC__
71837 # include <limits.h>
71838 #else
71839 # include <assert.h>
71840 #endif
71842 #undef $ac_func
71844 /* Override any gcc2 internal prototype to avoid an error. */
71845 #ifdef __cplusplus
71846 extern "C"
71848 #endif
71849 /* We use char because int might match the return type of a gcc2
71850 builtin and then its argument prototype would still apply. */
71851 char $ac_func ();
71852 /* The GNU C library defines this for functions which it implements
71853 to always fail with ENOSYS. Some functions are actually named
71854 something starting with __ and the normal name is an alias. */
71855 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71856 choke me
71857 #else
71858 char (*f) () = $ac_func;
71859 #endif
71860 #ifdef __cplusplus
71862 #endif
71865 main ()
71867 return f != $ac_func;
71869 return 0;
71871 _ACEOF
71872 rm -f conftest.$ac_objext conftest$ac_exeext
71873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71874 (eval $ac_link) 2>conftest.er1
71875 ac_status=$?
71876 grep -v '^ *+' conftest.er1 >conftest.err
71877 rm -f conftest.er1
71878 cat conftest.err >&5
71879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71880 (exit $ac_status); } &&
71881 { ac_try='test -z "$ac_c_werror_flag"
71882 || test ! -s conftest.err'
71883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71884 (eval $ac_try) 2>&5
71885 ac_status=$?
71886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71887 (exit $ac_status); }; } &&
71888 { ac_try='test -s conftest$ac_exeext'
71889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71890 (eval $ac_try) 2>&5
71891 ac_status=$?
71892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71893 (exit $ac_status); }; }; then
71894 eval "$as_ac_var=yes"
71895 else
71896 echo "$as_me: failed program was:" >&5
71897 sed 's/^/| /' conftest.$ac_ext >&5
71899 eval "$as_ac_var=no"
71901 rm -f conftest.err conftest.$ac_objext \
71902 conftest$ac_exeext conftest.$ac_ext
71904 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71905 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71906 if test `eval echo '${'$as_ac_var'}'` = yes; then
71907 cat >>confdefs.h <<_ACEOF
71908 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71909 _ACEOF
71912 done
71922 echo "$as_me:$LINENO: checking for log10l declaration" >&5
71923 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
71924 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
71925 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
71926 echo $ECHO_N "(cached) $ECHO_C" >&6
71927 else
71931 ac_ext=cc
71932 ac_cpp='$CXXCPP $CPPFLAGS'
71933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71937 cat >conftest.$ac_ext <<_ACEOF
71938 /* confdefs.h. */
71939 _ACEOF
71940 cat confdefs.h >>conftest.$ac_ext
71941 cat >>conftest.$ac_ext <<_ACEOF
71942 /* end confdefs.h. */
71943 #include <math.h>
71944 #ifdef HAVE_IEEEFP_H
71945 #include <ieeefp.h>
71946 #endif
71949 main ()
71951 log10l(0);
71953 return 0;
71955 _ACEOF
71956 rm -f conftest.$ac_objext
71957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71958 (eval $ac_compile) 2>conftest.er1
71959 ac_status=$?
71960 grep -v '^ *+' conftest.er1 >conftest.err
71961 rm -f conftest.er1
71962 cat conftest.err >&5
71963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71964 (exit $ac_status); } &&
71965 { ac_try='test -z "$ac_cxx_werror_flag"
71966 || test ! -s conftest.err'
71967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71968 (eval $ac_try) 2>&5
71969 ac_status=$?
71970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71971 (exit $ac_status); }; } &&
71972 { ac_try='test -s conftest.$ac_objext'
71973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71974 (eval $ac_try) 2>&5
71975 ac_status=$?
71976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71977 (exit $ac_status); }; }; then
71978 glibcxx_cv_func_log10l_use=yes
71979 else
71980 echo "$as_me: failed program was:" >&5
71981 sed 's/^/| /' conftest.$ac_ext >&5
71983 glibcxx_cv_func_log10l_use=no
71985 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71986 ac_ext=c
71987 ac_cpp='$CPP $CPPFLAGS'
71988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71996 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
71997 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
71999 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
72001 for ac_func in log10l
72003 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72004 echo "$as_me:$LINENO: checking for $ac_func" >&5
72005 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72006 if eval "test \"\${$as_ac_var+set}\" = set"; then
72007 echo $ECHO_N "(cached) $ECHO_C" >&6
72008 else
72009 if test x$gcc_no_link = xyes; then
72010 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72011 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72012 { (exit 1); exit 1; }; }
72014 cat >conftest.$ac_ext <<_ACEOF
72015 /* confdefs.h. */
72016 _ACEOF
72017 cat confdefs.h >>conftest.$ac_ext
72018 cat >>conftest.$ac_ext <<_ACEOF
72019 /* end confdefs.h. */
72020 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72021 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72022 #define $ac_func innocuous_$ac_func
72024 /* System header to define __stub macros and hopefully few prototypes,
72025 which can conflict with char $ac_func (); below.
72026 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72027 <limits.h> exists even on freestanding compilers. */
72029 #ifdef __STDC__
72030 # include <limits.h>
72031 #else
72032 # include <assert.h>
72033 #endif
72035 #undef $ac_func
72037 /* Override any gcc2 internal prototype to avoid an error. */
72038 #ifdef __cplusplus
72039 extern "C"
72041 #endif
72042 /* We use char because int might match the return type of a gcc2
72043 builtin and then its argument prototype would still apply. */
72044 char $ac_func ();
72045 /* The GNU C library defines this for functions which it implements
72046 to always fail with ENOSYS. Some functions are actually named
72047 something starting with __ and the normal name is an alias. */
72048 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72049 choke me
72050 #else
72051 char (*f) () = $ac_func;
72052 #endif
72053 #ifdef __cplusplus
72055 #endif
72058 main ()
72060 return f != $ac_func;
72062 return 0;
72064 _ACEOF
72065 rm -f conftest.$ac_objext conftest$ac_exeext
72066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72067 (eval $ac_link) 2>conftest.er1
72068 ac_status=$?
72069 grep -v '^ *+' conftest.er1 >conftest.err
72070 rm -f conftest.er1
72071 cat conftest.err >&5
72072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72073 (exit $ac_status); } &&
72074 { ac_try='test -z "$ac_c_werror_flag"
72075 || test ! -s conftest.err'
72076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72077 (eval $ac_try) 2>&5
72078 ac_status=$?
72079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72080 (exit $ac_status); }; } &&
72081 { ac_try='test -s conftest$ac_exeext'
72082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72083 (eval $ac_try) 2>&5
72084 ac_status=$?
72085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72086 (exit $ac_status); }; }; then
72087 eval "$as_ac_var=yes"
72088 else
72089 echo "$as_me: failed program was:" >&5
72090 sed 's/^/| /' conftest.$ac_ext >&5
72092 eval "$as_ac_var=no"
72094 rm -f conftest.err conftest.$ac_objext \
72095 conftest$ac_exeext conftest.$ac_ext
72097 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72098 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72099 if test `eval echo '${'$as_ac_var'}'` = yes; then
72100 cat >>confdefs.h <<_ACEOF
72101 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72102 _ACEOF
72105 done
72107 else
72109 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
72110 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
72111 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
72112 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
72113 echo $ECHO_N "(cached) $ECHO_C" >&6
72114 else
72118 ac_ext=cc
72119 ac_cpp='$CXXCPP $CPPFLAGS'
72120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72124 cat >conftest.$ac_ext <<_ACEOF
72125 /* confdefs.h. */
72126 _ACEOF
72127 cat confdefs.h >>conftest.$ac_ext
72128 cat >>conftest.$ac_ext <<_ACEOF
72129 /* end confdefs.h. */
72130 #include <math.h>
72131 #ifdef HAVE_IEEEFP_H
72132 #include <ieeefp.h>
72133 #endif
72136 main ()
72138 _log10l(0);
72140 return 0;
72142 _ACEOF
72143 rm -f conftest.$ac_objext
72144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72145 (eval $ac_compile) 2>conftest.er1
72146 ac_status=$?
72147 grep -v '^ *+' conftest.er1 >conftest.err
72148 rm -f conftest.er1
72149 cat conftest.err >&5
72150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72151 (exit $ac_status); } &&
72152 { ac_try='test -z "$ac_cxx_werror_flag"
72153 || test ! -s conftest.err'
72154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72155 (eval $ac_try) 2>&5
72156 ac_status=$?
72157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72158 (exit $ac_status); }; } &&
72159 { ac_try='test -s conftest.$ac_objext'
72160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72161 (eval $ac_try) 2>&5
72162 ac_status=$?
72163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72164 (exit $ac_status); }; }; then
72165 glibcxx_cv_func__log10l_use=yes
72166 else
72167 echo "$as_me: failed program was:" >&5
72168 sed 's/^/| /' conftest.$ac_ext >&5
72170 glibcxx_cv_func__log10l_use=no
72172 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72173 ac_ext=c
72174 ac_cpp='$CPP $CPPFLAGS'
72175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72183 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
72184 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
72186 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
72188 for ac_func in _log10l
72190 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72191 echo "$as_me:$LINENO: checking for $ac_func" >&5
72192 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72193 if eval "test \"\${$as_ac_var+set}\" = set"; then
72194 echo $ECHO_N "(cached) $ECHO_C" >&6
72195 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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72208 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72209 #define $ac_func innocuous_$ac_func
72211 /* System header to define __stub macros and hopefully few prototypes,
72212 which can conflict with char $ac_func (); below.
72213 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72214 <limits.h> exists even on freestanding compilers. */
72216 #ifdef __STDC__
72217 # include <limits.h>
72218 #else
72219 # include <assert.h>
72220 #endif
72222 #undef $ac_func
72224 /* Override any gcc2 internal prototype to avoid an error. */
72225 #ifdef __cplusplus
72226 extern "C"
72228 #endif
72229 /* We use char because int might match the return type of a gcc2
72230 builtin and then its argument prototype would still apply. */
72231 char $ac_func ();
72232 /* The GNU C library defines this for functions which it implements
72233 to always fail with ENOSYS. Some functions are actually named
72234 something starting with __ and the normal name is an alias. */
72235 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72236 choke me
72237 #else
72238 char (*f) () = $ac_func;
72239 #endif
72240 #ifdef __cplusplus
72242 #endif
72245 main ()
72247 return f != $ac_func;
72249 return 0;
72251 _ACEOF
72252 rm -f conftest.$ac_objext conftest$ac_exeext
72253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72254 (eval $ac_link) 2>conftest.er1
72255 ac_status=$?
72256 grep -v '^ *+' conftest.er1 >conftest.err
72257 rm -f conftest.er1
72258 cat conftest.err >&5
72259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72260 (exit $ac_status); } &&
72261 { ac_try='test -z "$ac_c_werror_flag"
72262 || test ! -s conftest.err'
72263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72264 (eval $ac_try) 2>&5
72265 ac_status=$?
72266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72267 (exit $ac_status); }; } &&
72268 { ac_try='test -s conftest$ac_exeext'
72269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72270 (eval $ac_try) 2>&5
72271 ac_status=$?
72272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72273 (exit $ac_status); }; }; then
72274 eval "$as_ac_var=yes"
72275 else
72276 echo "$as_me: failed program was:" >&5
72277 sed 's/^/| /' conftest.$ac_ext >&5
72279 eval "$as_ac_var=no"
72281 rm -f conftest.err conftest.$ac_objext \
72282 conftest$ac_exeext conftest.$ac_ext
72284 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72285 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72286 if test `eval echo '${'$as_ac_var'}'` = yes; then
72287 cat >>confdefs.h <<_ACEOF
72288 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72289 _ACEOF
72292 done
72302 echo "$as_me:$LINENO: checking for modfl declaration" >&5
72303 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
72304 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
72305 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
72306 echo $ECHO_N "(cached) $ECHO_C" >&6
72307 else
72311 ac_ext=cc
72312 ac_cpp='$CXXCPP $CPPFLAGS'
72313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72317 cat >conftest.$ac_ext <<_ACEOF
72318 /* confdefs.h. */
72319 _ACEOF
72320 cat confdefs.h >>conftest.$ac_ext
72321 cat >>conftest.$ac_ext <<_ACEOF
72322 /* end confdefs.h. */
72323 #include <math.h>
72325 main ()
72327 modfl(0, 0);
72329 return 0;
72331 _ACEOF
72332 rm -f conftest.$ac_objext
72333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72334 (eval $ac_compile) 2>conftest.er1
72335 ac_status=$?
72336 grep -v '^ *+' conftest.er1 >conftest.err
72337 rm -f conftest.er1
72338 cat conftest.err >&5
72339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72340 (exit $ac_status); } &&
72341 { ac_try='test -z "$ac_cxx_werror_flag"
72342 || test ! -s conftest.err'
72343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72344 (eval $ac_try) 2>&5
72345 ac_status=$?
72346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72347 (exit $ac_status); }; } &&
72348 { ac_try='test -s conftest.$ac_objext'
72349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72350 (eval $ac_try) 2>&5
72351 ac_status=$?
72352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72353 (exit $ac_status); }; }; then
72354 glibcxx_cv_func_modfl_use=yes
72355 else
72356 echo "$as_me: failed program was:" >&5
72357 sed 's/^/| /' conftest.$ac_ext >&5
72359 glibcxx_cv_func_modfl_use=no
72361 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72362 ac_ext=c
72363 ac_cpp='$CPP $CPPFLAGS'
72364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72372 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
72373 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
72375 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
72377 for ac_func in modfl
72379 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72380 echo "$as_me:$LINENO: checking for $ac_func" >&5
72381 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72382 if eval "test \"\${$as_ac_var+set}\" = set"; then
72383 echo $ECHO_N "(cached) $ECHO_C" >&6
72384 else
72385 if test x$gcc_no_link = xyes; then
72386 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72387 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72388 { (exit 1); exit 1; }; }
72390 cat >conftest.$ac_ext <<_ACEOF
72391 /* confdefs.h. */
72392 _ACEOF
72393 cat confdefs.h >>conftest.$ac_ext
72394 cat >>conftest.$ac_ext <<_ACEOF
72395 /* end confdefs.h. */
72396 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72397 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72398 #define $ac_func innocuous_$ac_func
72400 /* System header to define __stub macros and hopefully few prototypes,
72401 which can conflict with char $ac_func (); below.
72402 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72403 <limits.h> exists even on freestanding compilers. */
72405 #ifdef __STDC__
72406 # include <limits.h>
72407 #else
72408 # include <assert.h>
72409 #endif
72411 #undef $ac_func
72413 /* Override any gcc2 internal prototype to avoid an error. */
72414 #ifdef __cplusplus
72415 extern "C"
72417 #endif
72418 /* We use char because int might match the return type of a gcc2
72419 builtin and then its argument prototype would still apply. */
72420 char $ac_func ();
72421 /* The GNU C library defines this for functions which it implements
72422 to always fail with ENOSYS. Some functions are actually named
72423 something starting with __ and the normal name is an alias. */
72424 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72425 choke me
72426 #else
72427 char (*f) () = $ac_func;
72428 #endif
72429 #ifdef __cplusplus
72431 #endif
72434 main ()
72436 return f != $ac_func;
72438 return 0;
72440 _ACEOF
72441 rm -f conftest.$ac_objext conftest$ac_exeext
72442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72443 (eval $ac_link) 2>conftest.er1
72444 ac_status=$?
72445 grep -v '^ *+' conftest.er1 >conftest.err
72446 rm -f conftest.er1
72447 cat conftest.err >&5
72448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72449 (exit $ac_status); } &&
72450 { ac_try='test -z "$ac_c_werror_flag"
72451 || test ! -s conftest.err'
72452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72453 (eval $ac_try) 2>&5
72454 ac_status=$?
72455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72456 (exit $ac_status); }; } &&
72457 { ac_try='test -s conftest$ac_exeext'
72458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72459 (eval $ac_try) 2>&5
72460 ac_status=$?
72461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72462 (exit $ac_status); }; }; then
72463 eval "$as_ac_var=yes"
72464 else
72465 echo "$as_me: failed program was:" >&5
72466 sed 's/^/| /' conftest.$ac_ext >&5
72468 eval "$as_ac_var=no"
72470 rm -f conftest.err conftest.$ac_objext \
72471 conftest$ac_exeext conftest.$ac_ext
72473 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72474 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72475 if test `eval echo '${'$as_ac_var'}'` = yes; then
72476 cat >>confdefs.h <<_ACEOF
72477 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72478 _ACEOF
72481 done
72483 else
72485 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
72486 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
72487 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
72488 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
72489 echo $ECHO_N "(cached) $ECHO_C" >&6
72490 else
72494 ac_ext=cc
72495 ac_cpp='$CXXCPP $CPPFLAGS'
72496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72500 cat >conftest.$ac_ext <<_ACEOF
72501 /* confdefs.h. */
72502 _ACEOF
72503 cat confdefs.h >>conftest.$ac_ext
72504 cat >>conftest.$ac_ext <<_ACEOF
72505 /* end confdefs.h. */
72506 #include <math.h>
72508 main ()
72510 _modfl(0, 0);
72512 return 0;
72514 _ACEOF
72515 rm -f conftest.$ac_objext
72516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72517 (eval $ac_compile) 2>conftest.er1
72518 ac_status=$?
72519 grep -v '^ *+' conftest.er1 >conftest.err
72520 rm -f conftest.er1
72521 cat conftest.err >&5
72522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72523 (exit $ac_status); } &&
72524 { ac_try='test -z "$ac_cxx_werror_flag"
72525 || test ! -s conftest.err'
72526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72527 (eval $ac_try) 2>&5
72528 ac_status=$?
72529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72530 (exit $ac_status); }; } &&
72531 { ac_try='test -s conftest.$ac_objext'
72532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72533 (eval $ac_try) 2>&5
72534 ac_status=$?
72535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72536 (exit $ac_status); }; }; then
72537 glibcxx_cv_func__modfl_use=yes
72538 else
72539 echo "$as_me: failed program was:" >&5
72540 sed 's/^/| /' conftest.$ac_ext >&5
72542 glibcxx_cv_func__modfl_use=no
72544 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72545 ac_ext=c
72546 ac_cpp='$CPP $CPPFLAGS'
72547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72555 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
72556 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
72558 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
72560 for ac_func in _modfl
72562 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72563 echo "$as_me:$LINENO: checking for $ac_func" >&5
72564 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72565 if eval "test \"\${$as_ac_var+set}\" = set"; then
72566 echo $ECHO_N "(cached) $ECHO_C" >&6
72567 else
72568 if test x$gcc_no_link = xyes; then
72569 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72570 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72571 { (exit 1); exit 1; }; }
72573 cat >conftest.$ac_ext <<_ACEOF
72574 /* confdefs.h. */
72575 _ACEOF
72576 cat confdefs.h >>conftest.$ac_ext
72577 cat >>conftest.$ac_ext <<_ACEOF
72578 /* end confdefs.h. */
72579 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72580 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72581 #define $ac_func innocuous_$ac_func
72583 /* System header to define __stub macros and hopefully few prototypes,
72584 which can conflict with char $ac_func (); below.
72585 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72586 <limits.h> exists even on freestanding compilers. */
72588 #ifdef __STDC__
72589 # include <limits.h>
72590 #else
72591 # include <assert.h>
72592 #endif
72594 #undef $ac_func
72596 /* Override any gcc2 internal prototype to avoid an error. */
72597 #ifdef __cplusplus
72598 extern "C"
72600 #endif
72601 /* We use char because int might match the return type of a gcc2
72602 builtin and then its argument prototype would still apply. */
72603 char $ac_func ();
72604 /* The GNU C library defines this for functions which it implements
72605 to always fail with ENOSYS. Some functions are actually named
72606 something starting with __ and the normal name is an alias. */
72607 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72608 choke me
72609 #else
72610 char (*f) () = $ac_func;
72611 #endif
72612 #ifdef __cplusplus
72614 #endif
72617 main ()
72619 return f != $ac_func;
72621 return 0;
72623 _ACEOF
72624 rm -f conftest.$ac_objext conftest$ac_exeext
72625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72626 (eval $ac_link) 2>conftest.er1
72627 ac_status=$?
72628 grep -v '^ *+' conftest.er1 >conftest.err
72629 rm -f conftest.er1
72630 cat conftest.err >&5
72631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72632 (exit $ac_status); } &&
72633 { ac_try='test -z "$ac_c_werror_flag"
72634 || test ! -s conftest.err'
72635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72636 (eval $ac_try) 2>&5
72637 ac_status=$?
72638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72639 (exit $ac_status); }; } &&
72640 { ac_try='test -s conftest$ac_exeext'
72641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72642 (eval $ac_try) 2>&5
72643 ac_status=$?
72644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72645 (exit $ac_status); }; }; then
72646 eval "$as_ac_var=yes"
72647 else
72648 echo "$as_me: failed program was:" >&5
72649 sed 's/^/| /' conftest.$ac_ext >&5
72651 eval "$as_ac_var=no"
72653 rm -f conftest.err conftest.$ac_objext \
72654 conftest$ac_exeext conftest.$ac_ext
72656 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72657 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72658 if test `eval echo '${'$as_ac_var'}'` = yes; then
72659 cat >>confdefs.h <<_ACEOF
72660 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72661 _ACEOF
72664 done
72674 echo "$as_me:$LINENO: checking for powl declaration" >&5
72675 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
72676 if test x${glibcxx_cv_func_powl_use+set} != xset; then
72677 if test "${glibcxx_cv_func_powl_use+set}" = set; then
72678 echo $ECHO_N "(cached) $ECHO_C" >&6
72679 else
72683 ac_ext=cc
72684 ac_cpp='$CXXCPP $CPPFLAGS'
72685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72689 cat >conftest.$ac_ext <<_ACEOF
72690 /* confdefs.h. */
72691 _ACEOF
72692 cat confdefs.h >>conftest.$ac_ext
72693 cat >>conftest.$ac_ext <<_ACEOF
72694 /* end confdefs.h. */
72695 #include <math.h>
72697 main ()
72699 powl(0, 0);
72701 return 0;
72703 _ACEOF
72704 rm -f conftest.$ac_objext
72705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72706 (eval $ac_compile) 2>conftest.er1
72707 ac_status=$?
72708 grep -v '^ *+' conftest.er1 >conftest.err
72709 rm -f conftest.er1
72710 cat conftest.err >&5
72711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72712 (exit $ac_status); } &&
72713 { ac_try='test -z "$ac_cxx_werror_flag"
72714 || test ! -s conftest.err'
72715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72716 (eval $ac_try) 2>&5
72717 ac_status=$?
72718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72719 (exit $ac_status); }; } &&
72720 { ac_try='test -s conftest.$ac_objext'
72721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72722 (eval $ac_try) 2>&5
72723 ac_status=$?
72724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72725 (exit $ac_status); }; }; then
72726 glibcxx_cv_func_powl_use=yes
72727 else
72728 echo "$as_me: failed program was:" >&5
72729 sed 's/^/| /' conftest.$ac_ext >&5
72731 glibcxx_cv_func_powl_use=no
72733 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72734 ac_ext=c
72735 ac_cpp='$CPP $CPPFLAGS'
72736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72744 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
72745 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
72747 if test x$glibcxx_cv_func_powl_use = x"yes"; then
72749 for ac_func in powl
72751 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72752 echo "$as_me:$LINENO: checking for $ac_func" >&5
72753 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72754 if eval "test \"\${$as_ac_var+set}\" = set"; then
72755 echo $ECHO_N "(cached) $ECHO_C" >&6
72756 else
72757 if test x$gcc_no_link = xyes; then
72758 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72759 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72760 { (exit 1); exit 1; }; }
72762 cat >conftest.$ac_ext <<_ACEOF
72763 /* confdefs.h. */
72764 _ACEOF
72765 cat confdefs.h >>conftest.$ac_ext
72766 cat >>conftest.$ac_ext <<_ACEOF
72767 /* end confdefs.h. */
72768 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72769 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72770 #define $ac_func innocuous_$ac_func
72772 /* System header to define __stub macros and hopefully few prototypes,
72773 which can conflict with char $ac_func (); below.
72774 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72775 <limits.h> exists even on freestanding compilers. */
72777 #ifdef __STDC__
72778 # include <limits.h>
72779 #else
72780 # include <assert.h>
72781 #endif
72783 #undef $ac_func
72785 /* Override any gcc2 internal prototype to avoid an error. */
72786 #ifdef __cplusplus
72787 extern "C"
72789 #endif
72790 /* We use char because int might match the return type of a gcc2
72791 builtin and then its argument prototype would still apply. */
72792 char $ac_func ();
72793 /* The GNU C library defines this for functions which it implements
72794 to always fail with ENOSYS. Some functions are actually named
72795 something starting with __ and the normal name is an alias. */
72796 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72797 choke me
72798 #else
72799 char (*f) () = $ac_func;
72800 #endif
72801 #ifdef __cplusplus
72803 #endif
72806 main ()
72808 return f != $ac_func;
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 eval "$as_ac_var=yes"
72836 else
72837 echo "$as_me: failed program was:" >&5
72838 sed 's/^/| /' conftest.$ac_ext >&5
72840 eval "$as_ac_var=no"
72842 rm -f conftest.err conftest.$ac_objext \
72843 conftest$ac_exeext conftest.$ac_ext
72845 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72846 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72847 if test `eval echo '${'$as_ac_var'}'` = yes; then
72848 cat >>confdefs.h <<_ACEOF
72849 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72850 _ACEOF
72853 done
72855 else
72857 echo "$as_me:$LINENO: checking for _powl declaration" >&5
72858 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
72859 if test x${glibcxx_cv_func__powl_use+set} != xset; then
72860 if test "${glibcxx_cv_func__powl_use+set}" = set; then
72861 echo $ECHO_N "(cached) $ECHO_C" >&6
72862 else
72866 ac_ext=cc
72867 ac_cpp='$CXXCPP $CPPFLAGS'
72868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72872 cat >conftest.$ac_ext <<_ACEOF
72873 /* confdefs.h. */
72874 _ACEOF
72875 cat confdefs.h >>conftest.$ac_ext
72876 cat >>conftest.$ac_ext <<_ACEOF
72877 /* end confdefs.h. */
72878 #include <math.h>
72880 main ()
72882 _powl(0, 0);
72884 return 0;
72886 _ACEOF
72887 rm -f conftest.$ac_objext
72888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72889 (eval $ac_compile) 2>conftest.er1
72890 ac_status=$?
72891 grep -v '^ *+' conftest.er1 >conftest.err
72892 rm -f conftest.er1
72893 cat conftest.err >&5
72894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72895 (exit $ac_status); } &&
72896 { ac_try='test -z "$ac_cxx_werror_flag"
72897 || test ! -s conftest.err'
72898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72899 (eval $ac_try) 2>&5
72900 ac_status=$?
72901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72902 (exit $ac_status); }; } &&
72903 { ac_try='test -s conftest.$ac_objext'
72904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72905 (eval $ac_try) 2>&5
72906 ac_status=$?
72907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72908 (exit $ac_status); }; }; then
72909 glibcxx_cv_func__powl_use=yes
72910 else
72911 echo "$as_me: failed program was:" >&5
72912 sed 's/^/| /' conftest.$ac_ext >&5
72914 glibcxx_cv_func__powl_use=no
72916 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72917 ac_ext=c
72918 ac_cpp='$CPP $CPPFLAGS'
72919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72927 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
72928 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
72930 if test x$glibcxx_cv_func__powl_use = x"yes"; then
72932 for ac_func in _powl
72934 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72935 echo "$as_me:$LINENO: checking for $ac_func" >&5
72936 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72937 if eval "test \"\${$as_ac_var+set}\" = set"; then
72938 echo $ECHO_N "(cached) $ECHO_C" >&6
72939 else
72940 if test x$gcc_no_link = xyes; then
72941 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72942 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72943 { (exit 1); exit 1; }; }
72945 cat >conftest.$ac_ext <<_ACEOF
72946 /* confdefs.h. */
72947 _ACEOF
72948 cat confdefs.h >>conftest.$ac_ext
72949 cat >>conftest.$ac_ext <<_ACEOF
72950 /* end confdefs.h. */
72951 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72952 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72953 #define $ac_func innocuous_$ac_func
72955 /* System header to define __stub macros and hopefully few prototypes,
72956 which can conflict with char $ac_func (); below.
72957 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72958 <limits.h> exists even on freestanding compilers. */
72960 #ifdef __STDC__
72961 # include <limits.h>
72962 #else
72963 # include <assert.h>
72964 #endif
72966 #undef $ac_func
72968 /* Override any gcc2 internal prototype to avoid an error. */
72969 #ifdef __cplusplus
72970 extern "C"
72972 #endif
72973 /* We use char because int might match the return type of a gcc2
72974 builtin and then its argument prototype would still apply. */
72975 char $ac_func ();
72976 /* The GNU C library defines this for functions which it implements
72977 to always fail with ENOSYS. Some functions are actually named
72978 something starting with __ and the normal name is an alias. */
72979 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72980 choke me
72981 #else
72982 char (*f) () = $ac_func;
72983 #endif
72984 #ifdef __cplusplus
72986 #endif
72989 main ()
72991 return f != $ac_func;
72993 return 0;
72995 _ACEOF
72996 rm -f conftest.$ac_objext conftest$ac_exeext
72997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72998 (eval $ac_link) 2>conftest.er1
72999 ac_status=$?
73000 grep -v '^ *+' conftest.er1 >conftest.err
73001 rm -f conftest.er1
73002 cat conftest.err >&5
73003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73004 (exit $ac_status); } &&
73005 { ac_try='test -z "$ac_c_werror_flag"
73006 || test ! -s conftest.err'
73007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73008 (eval $ac_try) 2>&5
73009 ac_status=$?
73010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73011 (exit $ac_status); }; } &&
73012 { ac_try='test -s conftest$ac_exeext'
73013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73014 (eval $ac_try) 2>&5
73015 ac_status=$?
73016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73017 (exit $ac_status); }; }; then
73018 eval "$as_ac_var=yes"
73019 else
73020 echo "$as_me: failed program was:" >&5
73021 sed 's/^/| /' conftest.$ac_ext >&5
73023 eval "$as_ac_var=no"
73025 rm -f conftest.err conftest.$ac_objext \
73026 conftest$ac_exeext conftest.$ac_ext
73028 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73029 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73030 if test `eval echo '${'$as_ac_var'}'` = yes; then
73031 cat >>confdefs.h <<_ACEOF
73032 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73033 _ACEOF
73036 done
73046 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
73047 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
73048 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
73049 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
73050 echo $ECHO_N "(cached) $ECHO_C" >&6
73051 else
73055 ac_ext=cc
73056 ac_cpp='$CXXCPP $CPPFLAGS'
73057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73061 cat >conftest.$ac_ext <<_ACEOF
73062 /* confdefs.h. */
73063 _ACEOF
73064 cat confdefs.h >>conftest.$ac_ext
73065 cat >>conftest.$ac_ext <<_ACEOF
73066 /* end confdefs.h. */
73067 #include <math.h>
73068 #ifdef HAVE_IEEEFP_H
73069 #include <ieeefp.h>
73070 #endif
73073 main ()
73075 sqrtl(0);
73077 return 0;
73079 _ACEOF
73080 rm -f conftest.$ac_objext
73081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73082 (eval $ac_compile) 2>conftest.er1
73083 ac_status=$?
73084 grep -v '^ *+' conftest.er1 >conftest.err
73085 rm -f conftest.er1
73086 cat conftest.err >&5
73087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73088 (exit $ac_status); } &&
73089 { ac_try='test -z "$ac_cxx_werror_flag"
73090 || test ! -s conftest.err'
73091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73092 (eval $ac_try) 2>&5
73093 ac_status=$?
73094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73095 (exit $ac_status); }; } &&
73096 { ac_try='test -s conftest.$ac_objext'
73097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73098 (eval $ac_try) 2>&5
73099 ac_status=$?
73100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73101 (exit $ac_status); }; }; then
73102 glibcxx_cv_func_sqrtl_use=yes
73103 else
73104 echo "$as_me: failed program was:" >&5
73105 sed 's/^/| /' conftest.$ac_ext >&5
73107 glibcxx_cv_func_sqrtl_use=no
73109 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73110 ac_ext=c
73111 ac_cpp='$CPP $CPPFLAGS'
73112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73120 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
73121 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
73123 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
73125 for ac_func in sqrtl
73127 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73128 echo "$as_me:$LINENO: checking for $ac_func" >&5
73129 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73130 if eval "test \"\${$as_ac_var+set}\" = set"; then
73131 echo $ECHO_N "(cached) $ECHO_C" >&6
73132 else
73133 if test x$gcc_no_link = xyes; then
73134 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73135 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73136 { (exit 1); exit 1; }; }
73138 cat >conftest.$ac_ext <<_ACEOF
73139 /* confdefs.h. */
73140 _ACEOF
73141 cat confdefs.h >>conftest.$ac_ext
73142 cat >>conftest.$ac_ext <<_ACEOF
73143 /* end confdefs.h. */
73144 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73145 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73146 #define $ac_func innocuous_$ac_func
73148 /* System header to define __stub macros and hopefully few prototypes,
73149 which can conflict with char $ac_func (); below.
73150 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73151 <limits.h> exists even on freestanding compilers. */
73153 #ifdef __STDC__
73154 # include <limits.h>
73155 #else
73156 # include <assert.h>
73157 #endif
73159 #undef $ac_func
73161 /* Override any gcc2 internal prototype to avoid an error. */
73162 #ifdef __cplusplus
73163 extern "C"
73165 #endif
73166 /* We use char because int might match the return type of a gcc2
73167 builtin and then its argument prototype would still apply. */
73168 char $ac_func ();
73169 /* The GNU C library defines this for functions which it implements
73170 to always fail with ENOSYS. Some functions are actually named
73171 something starting with __ and the normal name is an alias. */
73172 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73173 choke me
73174 #else
73175 char (*f) () = $ac_func;
73176 #endif
73177 #ifdef __cplusplus
73179 #endif
73182 main ()
73184 return f != $ac_func;
73186 return 0;
73188 _ACEOF
73189 rm -f conftest.$ac_objext conftest$ac_exeext
73190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73191 (eval $ac_link) 2>conftest.er1
73192 ac_status=$?
73193 grep -v '^ *+' conftest.er1 >conftest.err
73194 rm -f conftest.er1
73195 cat conftest.err >&5
73196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73197 (exit $ac_status); } &&
73198 { ac_try='test -z "$ac_c_werror_flag"
73199 || test ! -s conftest.err'
73200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73201 (eval $ac_try) 2>&5
73202 ac_status=$?
73203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73204 (exit $ac_status); }; } &&
73205 { ac_try='test -s conftest$ac_exeext'
73206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73207 (eval $ac_try) 2>&5
73208 ac_status=$?
73209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73210 (exit $ac_status); }; }; then
73211 eval "$as_ac_var=yes"
73212 else
73213 echo "$as_me: failed program was:" >&5
73214 sed 's/^/| /' conftest.$ac_ext >&5
73216 eval "$as_ac_var=no"
73218 rm -f conftest.err conftest.$ac_objext \
73219 conftest$ac_exeext conftest.$ac_ext
73221 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73222 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73223 if test `eval echo '${'$as_ac_var'}'` = yes; then
73224 cat >>confdefs.h <<_ACEOF
73225 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73226 _ACEOF
73229 done
73231 else
73233 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
73234 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
73235 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
73236 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
73237 echo $ECHO_N "(cached) $ECHO_C" >&6
73238 else
73242 ac_ext=cc
73243 ac_cpp='$CXXCPP $CPPFLAGS'
73244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73248 cat >conftest.$ac_ext <<_ACEOF
73249 /* confdefs.h. */
73250 _ACEOF
73251 cat confdefs.h >>conftest.$ac_ext
73252 cat >>conftest.$ac_ext <<_ACEOF
73253 /* end confdefs.h. */
73254 #include <math.h>
73255 #ifdef HAVE_IEEEFP_H
73256 #include <ieeefp.h>
73257 #endif
73260 main ()
73262 _sqrtl(0);
73264 return 0;
73266 _ACEOF
73267 rm -f conftest.$ac_objext
73268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73269 (eval $ac_compile) 2>conftest.er1
73270 ac_status=$?
73271 grep -v '^ *+' conftest.er1 >conftest.err
73272 rm -f conftest.er1
73273 cat conftest.err >&5
73274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73275 (exit $ac_status); } &&
73276 { ac_try='test -z "$ac_cxx_werror_flag"
73277 || test ! -s conftest.err'
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); }; } &&
73283 { ac_try='test -s conftest.$ac_objext'
73284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73285 (eval $ac_try) 2>&5
73286 ac_status=$?
73287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73288 (exit $ac_status); }; }; then
73289 glibcxx_cv_func__sqrtl_use=yes
73290 else
73291 echo "$as_me: failed program was:" >&5
73292 sed 's/^/| /' conftest.$ac_ext >&5
73294 glibcxx_cv_func__sqrtl_use=no
73296 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73297 ac_ext=c
73298 ac_cpp='$CPP $CPPFLAGS'
73299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73307 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
73308 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
73310 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
73312 for ac_func in _sqrtl
73314 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73315 echo "$as_me:$LINENO: checking for $ac_func" >&5
73316 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73317 if eval "test \"\${$as_ac_var+set}\" = set"; then
73318 echo $ECHO_N "(cached) $ECHO_C" >&6
73319 else
73320 if test x$gcc_no_link = xyes; then
73321 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73322 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73323 { (exit 1); exit 1; }; }
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73332 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73333 #define $ac_func innocuous_$ac_func
73335 /* System header to define __stub macros and hopefully few prototypes,
73336 which can conflict with char $ac_func (); below.
73337 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73338 <limits.h> exists even on freestanding compilers. */
73340 #ifdef __STDC__
73341 # include <limits.h>
73342 #else
73343 # include <assert.h>
73344 #endif
73346 #undef $ac_func
73348 /* Override any gcc2 internal prototype to avoid an error. */
73349 #ifdef __cplusplus
73350 extern "C"
73352 #endif
73353 /* We use char because int might match the return type of a gcc2
73354 builtin and then its argument prototype would still apply. */
73355 char $ac_func ();
73356 /* The GNU C library defines this for functions which it implements
73357 to always fail with ENOSYS. Some functions are actually named
73358 something starting with __ and the normal name is an alias. */
73359 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73360 choke me
73361 #else
73362 char (*f) () = $ac_func;
73363 #endif
73364 #ifdef __cplusplus
73366 #endif
73369 main ()
73371 return f != $ac_func;
73373 return 0;
73375 _ACEOF
73376 rm -f conftest.$ac_objext conftest$ac_exeext
73377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73378 (eval $ac_link) 2>conftest.er1
73379 ac_status=$?
73380 grep -v '^ *+' conftest.er1 >conftest.err
73381 rm -f conftest.er1
73382 cat conftest.err >&5
73383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73384 (exit $ac_status); } &&
73385 { ac_try='test -z "$ac_c_werror_flag"
73386 || test ! -s conftest.err'
73387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73388 (eval $ac_try) 2>&5
73389 ac_status=$?
73390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73391 (exit $ac_status); }; } &&
73392 { ac_try='test -s conftest$ac_exeext'
73393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73394 (eval $ac_try) 2>&5
73395 ac_status=$?
73396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73397 (exit $ac_status); }; }; then
73398 eval "$as_ac_var=yes"
73399 else
73400 echo "$as_me: failed program was:" >&5
73401 sed 's/^/| /' conftest.$ac_ext >&5
73403 eval "$as_ac_var=no"
73405 rm -f conftest.err conftest.$ac_objext \
73406 conftest$ac_exeext conftest.$ac_ext
73408 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73409 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73410 if test `eval echo '${'$as_ac_var'}'` = yes; then
73411 cat >>confdefs.h <<_ACEOF
73412 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73413 _ACEOF
73416 done
73426 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
73427 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
73428 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
73429 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
73430 echo $ECHO_N "(cached) $ECHO_C" >&6
73431 else
73435 ac_ext=cc
73436 ac_cpp='$CXXCPP $CPPFLAGS'
73437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73441 cat >conftest.$ac_ext <<_ACEOF
73442 /* confdefs.h. */
73443 _ACEOF
73444 cat confdefs.h >>conftest.$ac_ext
73445 cat >>conftest.$ac_ext <<_ACEOF
73446 /* end confdefs.h. */
73447 #include <math.h>
73449 main ()
73451 sincosl(0, 0, 0);
73453 return 0;
73455 _ACEOF
73456 rm -f conftest.$ac_objext
73457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73458 (eval $ac_compile) 2>conftest.er1
73459 ac_status=$?
73460 grep -v '^ *+' conftest.er1 >conftest.err
73461 rm -f conftest.er1
73462 cat conftest.err >&5
73463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73464 (exit $ac_status); } &&
73465 { ac_try='test -z "$ac_cxx_werror_flag"
73466 || test ! -s conftest.err'
73467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73468 (eval $ac_try) 2>&5
73469 ac_status=$?
73470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73471 (exit $ac_status); }; } &&
73472 { ac_try='test -s conftest.$ac_objext'
73473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73474 (eval $ac_try) 2>&5
73475 ac_status=$?
73476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73477 (exit $ac_status); }; }; then
73478 glibcxx_cv_func_sincosl_use=yes
73479 else
73480 echo "$as_me: failed program was:" >&5
73481 sed 's/^/| /' conftest.$ac_ext >&5
73483 glibcxx_cv_func_sincosl_use=no
73485 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73486 ac_ext=c
73487 ac_cpp='$CPP $CPPFLAGS'
73488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73496 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
73497 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
73499 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
73501 for ac_func in sincosl
73503 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73504 echo "$as_me:$LINENO: checking for $ac_func" >&5
73505 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73506 if eval "test \"\${$as_ac_var+set}\" = set"; then
73507 echo $ECHO_N "(cached) $ECHO_C" >&6
73508 else
73509 if test x$gcc_no_link = xyes; then
73510 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73511 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73512 { (exit 1); exit 1; }; }
73514 cat >conftest.$ac_ext <<_ACEOF
73515 /* confdefs.h. */
73516 _ACEOF
73517 cat confdefs.h >>conftest.$ac_ext
73518 cat >>conftest.$ac_ext <<_ACEOF
73519 /* end confdefs.h. */
73520 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73521 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73522 #define $ac_func innocuous_$ac_func
73524 /* System header to define __stub macros and hopefully few prototypes,
73525 which can conflict with char $ac_func (); below.
73526 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73527 <limits.h> exists even on freestanding compilers. */
73529 #ifdef __STDC__
73530 # include <limits.h>
73531 #else
73532 # include <assert.h>
73533 #endif
73535 #undef $ac_func
73537 /* Override any gcc2 internal prototype to avoid an error. */
73538 #ifdef __cplusplus
73539 extern "C"
73541 #endif
73542 /* We use char because int might match the return type of a gcc2
73543 builtin and then its argument prototype would still apply. */
73544 char $ac_func ();
73545 /* The GNU C library defines this for functions which it implements
73546 to always fail with ENOSYS. Some functions are actually named
73547 something starting with __ and the normal name is an alias. */
73548 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73549 choke me
73550 #else
73551 char (*f) () = $ac_func;
73552 #endif
73553 #ifdef __cplusplus
73555 #endif
73558 main ()
73560 return f != $ac_func;
73562 return 0;
73564 _ACEOF
73565 rm -f conftest.$ac_objext conftest$ac_exeext
73566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73567 (eval $ac_link) 2>conftest.er1
73568 ac_status=$?
73569 grep -v '^ *+' conftest.er1 >conftest.err
73570 rm -f conftest.er1
73571 cat conftest.err >&5
73572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73573 (exit $ac_status); } &&
73574 { ac_try='test -z "$ac_c_werror_flag"
73575 || test ! -s conftest.err'
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); }; } &&
73581 { ac_try='test -s conftest$ac_exeext'
73582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73583 (eval $ac_try) 2>&5
73584 ac_status=$?
73585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73586 (exit $ac_status); }; }; then
73587 eval "$as_ac_var=yes"
73588 else
73589 echo "$as_me: failed program was:" >&5
73590 sed 's/^/| /' conftest.$ac_ext >&5
73592 eval "$as_ac_var=no"
73594 rm -f conftest.err conftest.$ac_objext \
73595 conftest$ac_exeext conftest.$ac_ext
73597 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73598 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73599 if test `eval echo '${'$as_ac_var'}'` = yes; then
73600 cat >>confdefs.h <<_ACEOF
73601 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73602 _ACEOF
73605 done
73607 else
73609 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
73610 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
73611 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
73612 if test "${glibcxx_cv_func__sincosl_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 _sincosl(0, 0, 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__sincosl_use=yes
73662 else
73663 echo "$as_me: failed program was:" >&5
73664 sed 's/^/| /' conftest.$ac_ext >&5
73666 glibcxx_cv_func__sincosl_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__sincosl_use" >&5
73680 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
73682 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
73684 for ac_func in _sincosl
73686 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73687 echo "$as_me:$LINENO: checking for $ac_func" >&5
73688 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73689 if eval "test \"\${$as_ac_var+set}\" = set"; then
73690 echo $ECHO_N "(cached) $ECHO_C" >&6
73691 else
73692 if test x$gcc_no_link = xyes; then
73693 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73694 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73695 { (exit 1); exit 1; }; }
73697 cat >conftest.$ac_ext <<_ACEOF
73698 /* confdefs.h. */
73699 _ACEOF
73700 cat confdefs.h >>conftest.$ac_ext
73701 cat >>conftest.$ac_ext <<_ACEOF
73702 /* end confdefs.h. */
73703 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73704 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73705 #define $ac_func innocuous_$ac_func
73707 /* System header to define __stub macros and hopefully few prototypes,
73708 which can conflict with char $ac_func (); below.
73709 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73710 <limits.h> exists even on freestanding compilers. */
73712 #ifdef __STDC__
73713 # include <limits.h>
73714 #else
73715 # include <assert.h>
73716 #endif
73718 #undef $ac_func
73720 /* Override any gcc2 internal prototype to avoid an error. */
73721 #ifdef __cplusplus
73722 extern "C"
73724 #endif
73725 /* We use char because int might match the return type of a gcc2
73726 builtin and then its argument prototype would still apply. */
73727 char $ac_func ();
73728 /* The GNU C library defines this for functions which it implements
73729 to always fail with ENOSYS. Some functions are actually named
73730 something starting with __ and the normal name is an alias. */
73731 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73732 choke me
73733 #else
73734 char (*f) () = $ac_func;
73735 #endif
73736 #ifdef __cplusplus
73738 #endif
73741 main ()
73743 return f != $ac_func;
73745 return 0;
73747 _ACEOF
73748 rm -f conftest.$ac_objext conftest$ac_exeext
73749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73750 (eval $ac_link) 2>conftest.er1
73751 ac_status=$?
73752 grep -v '^ *+' conftest.er1 >conftest.err
73753 rm -f conftest.er1
73754 cat conftest.err >&5
73755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73756 (exit $ac_status); } &&
73757 { ac_try='test -z "$ac_c_werror_flag"
73758 || test ! -s conftest.err'
73759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73760 (eval $ac_try) 2>&5
73761 ac_status=$?
73762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73763 (exit $ac_status); }; } &&
73764 { ac_try='test -s conftest$ac_exeext'
73765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73766 (eval $ac_try) 2>&5
73767 ac_status=$?
73768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73769 (exit $ac_status); }; }; then
73770 eval "$as_ac_var=yes"
73771 else
73772 echo "$as_me: failed program was:" >&5
73773 sed 's/^/| /' conftest.$ac_ext >&5
73775 eval "$as_ac_var=no"
73777 rm -f conftest.err conftest.$ac_objext \
73778 conftest$ac_exeext conftest.$ac_ext
73780 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73781 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73782 if test `eval echo '${'$as_ac_var'}'` = yes; then
73783 cat >>confdefs.h <<_ACEOF
73784 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73785 _ACEOF
73788 done
73798 echo "$as_me:$LINENO: checking for finitel declaration" >&5
73799 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
73800 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
73801 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
73802 echo $ECHO_N "(cached) $ECHO_C" >&6
73803 else
73807 ac_ext=cc
73808 ac_cpp='$CXXCPP $CPPFLAGS'
73809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73813 cat >conftest.$ac_ext <<_ACEOF
73814 /* confdefs.h. */
73815 _ACEOF
73816 cat confdefs.h >>conftest.$ac_ext
73817 cat >>conftest.$ac_ext <<_ACEOF
73818 /* end confdefs.h. */
73819 #include <math.h>
73820 #ifdef HAVE_IEEEFP_H
73821 #include <ieeefp.h>
73822 #endif
73825 main ()
73827 finitel(0);
73829 return 0;
73831 _ACEOF
73832 rm -f conftest.$ac_objext
73833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73834 (eval $ac_compile) 2>conftest.er1
73835 ac_status=$?
73836 grep -v '^ *+' conftest.er1 >conftest.err
73837 rm -f conftest.er1
73838 cat conftest.err >&5
73839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73840 (exit $ac_status); } &&
73841 { ac_try='test -z "$ac_cxx_werror_flag"
73842 || test ! -s conftest.err'
73843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73844 (eval $ac_try) 2>&5
73845 ac_status=$?
73846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73847 (exit $ac_status); }; } &&
73848 { ac_try='test -s conftest.$ac_objext'
73849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73850 (eval $ac_try) 2>&5
73851 ac_status=$?
73852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73853 (exit $ac_status); }; }; then
73854 glibcxx_cv_func_finitel_use=yes
73855 else
73856 echo "$as_me: failed program was:" >&5
73857 sed 's/^/| /' conftest.$ac_ext >&5
73859 glibcxx_cv_func_finitel_use=no
73861 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73862 ac_ext=c
73863 ac_cpp='$CPP $CPPFLAGS'
73864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73872 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
73873 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
73875 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
73877 for ac_func in finitel
73879 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73880 echo "$as_me:$LINENO: checking for $ac_func" >&5
73881 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73882 if eval "test \"\${$as_ac_var+set}\" = set"; then
73883 echo $ECHO_N "(cached) $ECHO_C" >&6
73884 else
73885 if test x$gcc_no_link = xyes; then
73886 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73887 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73888 { (exit 1); exit 1; }; }
73890 cat >conftest.$ac_ext <<_ACEOF
73891 /* confdefs.h. */
73892 _ACEOF
73893 cat confdefs.h >>conftest.$ac_ext
73894 cat >>conftest.$ac_ext <<_ACEOF
73895 /* end confdefs.h. */
73896 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73897 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73898 #define $ac_func innocuous_$ac_func
73900 /* System header to define __stub macros and hopefully few prototypes,
73901 which can conflict with char $ac_func (); below.
73902 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73903 <limits.h> exists even on freestanding compilers. */
73905 #ifdef __STDC__
73906 # include <limits.h>
73907 #else
73908 # include <assert.h>
73909 #endif
73911 #undef $ac_func
73913 /* Override any gcc2 internal prototype to avoid an error. */
73914 #ifdef __cplusplus
73915 extern "C"
73917 #endif
73918 /* We use char because int might match the return type of a gcc2
73919 builtin and then its argument prototype would still apply. */
73920 char $ac_func ();
73921 /* The GNU C library defines this for functions which it implements
73922 to always fail with ENOSYS. Some functions are actually named
73923 something starting with __ and the normal name is an alias. */
73924 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73925 choke me
73926 #else
73927 char (*f) () = $ac_func;
73928 #endif
73929 #ifdef __cplusplus
73931 #endif
73934 main ()
73936 return f != $ac_func;
73938 return 0;
73940 _ACEOF
73941 rm -f conftest.$ac_objext conftest$ac_exeext
73942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73943 (eval $ac_link) 2>conftest.er1
73944 ac_status=$?
73945 grep -v '^ *+' conftest.er1 >conftest.err
73946 rm -f conftest.er1
73947 cat conftest.err >&5
73948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73949 (exit $ac_status); } &&
73950 { ac_try='test -z "$ac_c_werror_flag"
73951 || test ! -s conftest.err'
73952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73953 (eval $ac_try) 2>&5
73954 ac_status=$?
73955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73956 (exit $ac_status); }; } &&
73957 { ac_try='test -s conftest$ac_exeext'
73958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73959 (eval $ac_try) 2>&5
73960 ac_status=$?
73961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73962 (exit $ac_status); }; }; then
73963 eval "$as_ac_var=yes"
73964 else
73965 echo "$as_me: failed program was:" >&5
73966 sed 's/^/| /' conftest.$ac_ext >&5
73968 eval "$as_ac_var=no"
73970 rm -f conftest.err conftest.$ac_objext \
73971 conftest$ac_exeext conftest.$ac_ext
73973 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73974 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73975 if test `eval echo '${'$as_ac_var'}'` = yes; then
73976 cat >>confdefs.h <<_ACEOF
73977 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73978 _ACEOF
73981 done
73983 else
73985 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
73986 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
73987 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
73988 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
73989 echo $ECHO_N "(cached) $ECHO_C" >&6
73990 else
73994 ac_ext=cc
73995 ac_cpp='$CXXCPP $CPPFLAGS'
73996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74000 cat >conftest.$ac_ext <<_ACEOF
74001 /* confdefs.h. */
74002 _ACEOF
74003 cat confdefs.h >>conftest.$ac_ext
74004 cat >>conftest.$ac_ext <<_ACEOF
74005 /* end confdefs.h. */
74006 #include <math.h>
74007 #ifdef HAVE_IEEEFP_H
74008 #include <ieeefp.h>
74009 #endif
74012 main ()
74014 _finitel(0);
74016 return 0;
74018 _ACEOF
74019 rm -f conftest.$ac_objext
74020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74021 (eval $ac_compile) 2>conftest.er1
74022 ac_status=$?
74023 grep -v '^ *+' conftest.er1 >conftest.err
74024 rm -f conftest.er1
74025 cat conftest.err >&5
74026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74027 (exit $ac_status); } &&
74028 { ac_try='test -z "$ac_cxx_werror_flag"
74029 || test ! -s conftest.err'
74030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74031 (eval $ac_try) 2>&5
74032 ac_status=$?
74033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74034 (exit $ac_status); }; } &&
74035 { ac_try='test -s conftest.$ac_objext'
74036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74037 (eval $ac_try) 2>&5
74038 ac_status=$?
74039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74040 (exit $ac_status); }; }; then
74041 glibcxx_cv_func__finitel_use=yes
74042 else
74043 echo "$as_me: failed program was:" >&5
74044 sed 's/^/| /' conftest.$ac_ext >&5
74046 glibcxx_cv_func__finitel_use=no
74048 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74049 ac_ext=c
74050 ac_cpp='$CPP $CPPFLAGS'
74051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74059 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
74060 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
74062 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
74064 for ac_func in _finitel
74066 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74067 echo "$as_me:$LINENO: checking for $ac_func" >&5
74068 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74069 if eval "test \"\${$as_ac_var+set}\" = set"; then
74070 echo $ECHO_N "(cached) $ECHO_C" >&6
74071 else
74072 if test x$gcc_no_link = xyes; then
74073 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74074 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74075 { (exit 1); exit 1; }; }
74077 cat >conftest.$ac_ext <<_ACEOF
74078 /* confdefs.h. */
74079 _ACEOF
74080 cat confdefs.h >>conftest.$ac_ext
74081 cat >>conftest.$ac_ext <<_ACEOF
74082 /* end confdefs.h. */
74083 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74084 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74085 #define $ac_func innocuous_$ac_func
74087 /* System header to define __stub macros and hopefully few prototypes,
74088 which can conflict with char $ac_func (); below.
74089 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74090 <limits.h> exists even on freestanding compilers. */
74092 #ifdef __STDC__
74093 # include <limits.h>
74094 #else
74095 # include <assert.h>
74096 #endif
74098 #undef $ac_func
74100 /* Override any gcc2 internal prototype to avoid an error. */
74101 #ifdef __cplusplus
74102 extern "C"
74104 #endif
74105 /* We use char because int might match the return type of a gcc2
74106 builtin and then its argument prototype would still apply. */
74107 char $ac_func ();
74108 /* The GNU C library defines this for functions which it implements
74109 to always fail with ENOSYS. Some functions are actually named
74110 something starting with __ and the normal name is an alias. */
74111 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74112 choke me
74113 #else
74114 char (*f) () = $ac_func;
74115 #endif
74116 #ifdef __cplusplus
74118 #endif
74121 main ()
74123 return f != $ac_func;
74125 return 0;
74127 _ACEOF
74128 rm -f conftest.$ac_objext conftest$ac_exeext
74129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74130 (eval $ac_link) 2>conftest.er1
74131 ac_status=$?
74132 grep -v '^ *+' conftest.er1 >conftest.err
74133 rm -f conftest.er1
74134 cat conftest.err >&5
74135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74136 (exit $ac_status); } &&
74137 { ac_try='test -z "$ac_c_werror_flag"
74138 || test ! -s conftest.err'
74139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74140 (eval $ac_try) 2>&5
74141 ac_status=$?
74142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74143 (exit $ac_status); }; } &&
74144 { ac_try='test -s conftest$ac_exeext'
74145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74146 (eval $ac_try) 2>&5
74147 ac_status=$?
74148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74149 (exit $ac_status); }; }; then
74150 eval "$as_ac_var=yes"
74151 else
74152 echo "$as_me: failed program was:" >&5
74153 sed 's/^/| /' conftest.$ac_ext >&5
74155 eval "$as_ac_var=no"
74157 rm -f conftest.err conftest.$ac_objext \
74158 conftest$ac_exeext conftest.$ac_ext
74160 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74161 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74162 if test `eval echo '${'$as_ac_var'}'` = yes; then
74163 cat >>confdefs.h <<_ACEOF
74164 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74165 _ACEOF
74168 done
74177 LIBS="$ac_save_LIBS"
74178 CXXFLAGS="$ac_save_CXXFLAGS"
74182 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
74183 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
74184 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
74185 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
74186 echo $ECHO_N "(cached) $ECHO_C" >&6
74187 else
74191 ac_ext=cc
74192 ac_cpp='$CXXCPP $CPPFLAGS'
74193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74197 cat >conftest.$ac_ext <<_ACEOF
74198 /* confdefs.h. */
74199 _ACEOF
74200 cat confdefs.h >>conftest.$ac_ext
74201 cat >>conftest.$ac_ext <<_ACEOF
74202 /* end confdefs.h. */
74203 #include <math.h>
74205 main ()
74207 __builtin_abs(0);
74209 return 0;
74211 _ACEOF
74212 rm -f conftest.$ac_objext
74213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74214 (eval $ac_compile) 2>conftest.er1
74215 ac_status=$?
74216 grep -v '^ *+' conftest.er1 >conftest.err
74217 rm -f conftest.er1
74218 cat conftest.err >&5
74219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74220 (exit $ac_status); } &&
74221 { ac_try='test -z "$ac_cxx_werror_flag"
74222 || test ! -s conftest.err'
74223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74224 (eval $ac_try) 2>&5
74225 ac_status=$?
74226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74227 (exit $ac_status); }; } &&
74228 { ac_try='test -s conftest.$ac_objext'
74229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74230 (eval $ac_try) 2>&5
74231 ac_status=$?
74232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74233 (exit $ac_status); }; }; then
74234 glibcxx_cv_func___builtin_abs_use=yes
74235 else
74236 echo "$as_me: failed program was:" >&5
74237 sed 's/^/| /' conftest.$ac_ext >&5
74239 glibcxx_cv_func___builtin_abs_use=no
74241 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74242 ac_ext=c
74243 ac_cpp='$CPP $CPPFLAGS'
74244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74252 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
74253 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
74254 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
74255 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
74256 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
74257 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
74258 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
74259 echo $ECHO_N "(cached) $ECHO_C" >&6
74260 else
74262 if test x$gcc_no_link = xyes; then
74263 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74264 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74265 { (exit 1); exit 1; }; }
74267 cat >conftest.$ac_ext <<_ACEOF
74268 /* confdefs.h. */
74269 _ACEOF
74270 cat confdefs.h >>conftest.$ac_ext
74271 cat >>conftest.$ac_ext <<_ACEOF
74272 /* end confdefs.h. */
74273 #include <math.h>
74275 main ()
74277 __builtin_abs(0);
74279 return 0;
74281 _ACEOF
74282 rm -f conftest.$ac_objext conftest$ac_exeext
74283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74284 (eval $ac_link) 2>conftest.er1
74285 ac_status=$?
74286 grep -v '^ *+' conftest.er1 >conftest.err
74287 rm -f conftest.er1
74288 cat conftest.err >&5
74289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74290 (exit $ac_status); } &&
74291 { ac_try='test -z "$ac_c_werror_flag"
74292 || test ! -s conftest.err'
74293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74294 (eval $ac_try) 2>&5
74295 ac_status=$?
74296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74297 (exit $ac_status); }; } &&
74298 { ac_try='test -s conftest$ac_exeext'
74299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74300 (eval $ac_try) 2>&5
74301 ac_status=$?
74302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74303 (exit $ac_status); }; }; then
74304 glibcxx_cv_func___builtin_abs_link=yes
74305 else
74306 echo "$as_me: failed program was:" >&5
74307 sed 's/^/| /' conftest.$ac_ext >&5
74309 glibcxx_cv_func___builtin_abs_link=no
74311 rm -f conftest.err conftest.$ac_objext \
74312 conftest$ac_exeext conftest.$ac_ext
74317 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
74318 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
74320 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
74322 cat >>confdefs.h <<\_ACEOF
74323 #define HAVE___BUILTIN_ABS 1
74324 _ACEOF
74331 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
74332 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
74333 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
74334 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
74335 echo $ECHO_N "(cached) $ECHO_C" >&6
74336 else
74340 ac_ext=cc
74341 ac_cpp='$CXXCPP $CPPFLAGS'
74342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74346 cat >conftest.$ac_ext <<_ACEOF
74347 /* confdefs.h. */
74348 _ACEOF
74349 cat confdefs.h >>conftest.$ac_ext
74350 cat >>conftest.$ac_ext <<_ACEOF
74351 /* end confdefs.h. */
74352 #include <math.h>
74354 main ()
74356 __builtin_fabsf(0);
74358 return 0;
74360 _ACEOF
74361 rm -f conftest.$ac_objext
74362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74363 (eval $ac_compile) 2>conftest.er1
74364 ac_status=$?
74365 grep -v '^ *+' conftest.er1 >conftest.err
74366 rm -f conftest.er1
74367 cat conftest.err >&5
74368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74369 (exit $ac_status); } &&
74370 { ac_try='test -z "$ac_cxx_werror_flag"
74371 || test ! -s conftest.err'
74372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74373 (eval $ac_try) 2>&5
74374 ac_status=$?
74375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74376 (exit $ac_status); }; } &&
74377 { ac_try='test -s conftest.$ac_objext'
74378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74379 (eval $ac_try) 2>&5
74380 ac_status=$?
74381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74382 (exit $ac_status); }; }; then
74383 glibcxx_cv_func___builtin_fabsf_use=yes
74384 else
74385 echo "$as_me: failed program was:" >&5
74386 sed 's/^/| /' conftest.$ac_ext >&5
74388 glibcxx_cv_func___builtin_fabsf_use=no
74390 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74391 ac_ext=c
74392 ac_cpp='$CPP $CPPFLAGS'
74393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74401 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
74402 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
74403 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
74404 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
74405 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
74406 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
74407 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
74408 echo $ECHO_N "(cached) $ECHO_C" >&6
74409 else
74411 if test x$gcc_no_link = xyes; then
74412 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74413 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74414 { (exit 1); exit 1; }; }
74416 cat >conftest.$ac_ext <<_ACEOF
74417 /* confdefs.h. */
74418 _ACEOF
74419 cat confdefs.h >>conftest.$ac_ext
74420 cat >>conftest.$ac_ext <<_ACEOF
74421 /* end confdefs.h. */
74422 #include <math.h>
74424 main ()
74426 __builtin_fabsf(0);
74428 return 0;
74430 _ACEOF
74431 rm -f conftest.$ac_objext conftest$ac_exeext
74432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74433 (eval $ac_link) 2>conftest.er1
74434 ac_status=$?
74435 grep -v '^ *+' conftest.er1 >conftest.err
74436 rm -f conftest.er1
74437 cat conftest.err >&5
74438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74439 (exit $ac_status); } &&
74440 { ac_try='test -z "$ac_c_werror_flag"
74441 || test ! -s conftest.err'
74442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74443 (eval $ac_try) 2>&5
74444 ac_status=$?
74445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74446 (exit $ac_status); }; } &&
74447 { ac_try='test -s conftest$ac_exeext'
74448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74449 (eval $ac_try) 2>&5
74450 ac_status=$?
74451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74452 (exit $ac_status); }; }; then
74453 glibcxx_cv_func___builtin_fabsf_link=yes
74454 else
74455 echo "$as_me: failed program was:" >&5
74456 sed 's/^/| /' conftest.$ac_ext >&5
74458 glibcxx_cv_func___builtin_fabsf_link=no
74460 rm -f conftest.err conftest.$ac_objext \
74461 conftest$ac_exeext conftest.$ac_ext
74466 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
74467 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
74469 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
74471 cat >>confdefs.h <<\_ACEOF
74472 #define HAVE___BUILTIN_FABSF 1
74473 _ACEOF
74480 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
74481 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
74482 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
74483 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
74484 echo $ECHO_N "(cached) $ECHO_C" >&6
74485 else
74489 ac_ext=cc
74490 ac_cpp='$CXXCPP $CPPFLAGS'
74491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74495 cat >conftest.$ac_ext <<_ACEOF
74496 /* confdefs.h. */
74497 _ACEOF
74498 cat confdefs.h >>conftest.$ac_ext
74499 cat >>conftest.$ac_ext <<_ACEOF
74500 /* end confdefs.h. */
74501 #include <math.h>
74503 main ()
74505 __builtin_fabs(0);
74507 return 0;
74509 _ACEOF
74510 rm -f conftest.$ac_objext
74511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74512 (eval $ac_compile) 2>conftest.er1
74513 ac_status=$?
74514 grep -v '^ *+' conftest.er1 >conftest.err
74515 rm -f conftest.er1
74516 cat conftest.err >&5
74517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74518 (exit $ac_status); } &&
74519 { ac_try='test -z "$ac_cxx_werror_flag"
74520 || test ! -s conftest.err'
74521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74522 (eval $ac_try) 2>&5
74523 ac_status=$?
74524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74525 (exit $ac_status); }; } &&
74526 { ac_try='test -s conftest.$ac_objext'
74527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74528 (eval $ac_try) 2>&5
74529 ac_status=$?
74530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74531 (exit $ac_status); }; }; then
74532 glibcxx_cv_func___builtin_fabs_use=yes
74533 else
74534 echo "$as_me: failed program was:" >&5
74535 sed 's/^/| /' conftest.$ac_ext >&5
74537 glibcxx_cv_func___builtin_fabs_use=no
74539 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74540 ac_ext=c
74541 ac_cpp='$CPP $CPPFLAGS'
74542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74550 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
74551 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
74552 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
74553 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
74554 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
74555 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
74556 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
74557 echo $ECHO_N "(cached) $ECHO_C" >&6
74558 else
74560 if test x$gcc_no_link = xyes; then
74561 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74562 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74563 { (exit 1); exit 1; }; }
74565 cat >conftest.$ac_ext <<_ACEOF
74566 /* confdefs.h. */
74567 _ACEOF
74568 cat confdefs.h >>conftest.$ac_ext
74569 cat >>conftest.$ac_ext <<_ACEOF
74570 /* end confdefs.h. */
74571 #include <math.h>
74573 main ()
74575 __builtin_fabs(0);
74577 return 0;
74579 _ACEOF
74580 rm -f conftest.$ac_objext conftest$ac_exeext
74581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74582 (eval $ac_link) 2>conftest.er1
74583 ac_status=$?
74584 grep -v '^ *+' conftest.er1 >conftest.err
74585 rm -f conftest.er1
74586 cat conftest.err >&5
74587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74588 (exit $ac_status); } &&
74589 { ac_try='test -z "$ac_c_werror_flag"
74590 || test ! -s conftest.err'
74591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74592 (eval $ac_try) 2>&5
74593 ac_status=$?
74594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74595 (exit $ac_status); }; } &&
74596 { ac_try='test -s conftest$ac_exeext'
74597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74598 (eval $ac_try) 2>&5
74599 ac_status=$?
74600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74601 (exit $ac_status); }; }; then
74602 glibcxx_cv_func___builtin_fabs_link=yes
74603 else
74604 echo "$as_me: failed program was:" >&5
74605 sed 's/^/| /' conftest.$ac_ext >&5
74607 glibcxx_cv_func___builtin_fabs_link=no
74609 rm -f conftest.err conftest.$ac_objext \
74610 conftest$ac_exeext conftest.$ac_ext
74615 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
74616 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
74618 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
74620 cat >>confdefs.h <<\_ACEOF
74621 #define HAVE___BUILTIN_FABS 1
74622 _ACEOF
74629 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
74630 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
74631 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
74632 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
74633 echo $ECHO_N "(cached) $ECHO_C" >&6
74634 else
74638 ac_ext=cc
74639 ac_cpp='$CXXCPP $CPPFLAGS'
74640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74644 cat >conftest.$ac_ext <<_ACEOF
74645 /* confdefs.h. */
74646 _ACEOF
74647 cat confdefs.h >>conftest.$ac_ext
74648 cat >>conftest.$ac_ext <<_ACEOF
74649 /* end confdefs.h. */
74650 #include <math.h>
74652 main ()
74654 __builtin_fabsl(0);
74656 return 0;
74658 _ACEOF
74659 rm -f conftest.$ac_objext
74660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74661 (eval $ac_compile) 2>conftest.er1
74662 ac_status=$?
74663 grep -v '^ *+' conftest.er1 >conftest.err
74664 rm -f conftest.er1
74665 cat conftest.err >&5
74666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74667 (exit $ac_status); } &&
74668 { ac_try='test -z "$ac_cxx_werror_flag"
74669 || test ! -s conftest.err'
74670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74671 (eval $ac_try) 2>&5
74672 ac_status=$?
74673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74674 (exit $ac_status); }; } &&
74675 { ac_try='test -s conftest.$ac_objext'
74676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74677 (eval $ac_try) 2>&5
74678 ac_status=$?
74679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74680 (exit $ac_status); }; }; then
74681 glibcxx_cv_func___builtin_fabsl_use=yes
74682 else
74683 echo "$as_me: failed program was:" >&5
74684 sed 's/^/| /' conftest.$ac_ext >&5
74686 glibcxx_cv_func___builtin_fabsl_use=no
74688 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74689 ac_ext=c
74690 ac_cpp='$CPP $CPPFLAGS'
74691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74699 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
74700 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
74701 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
74702 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
74703 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
74704 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
74705 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
74706 echo $ECHO_N "(cached) $ECHO_C" >&6
74707 else
74709 if test x$gcc_no_link = xyes; then
74710 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74711 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74712 { (exit 1); exit 1; }; }
74714 cat >conftest.$ac_ext <<_ACEOF
74715 /* confdefs.h. */
74716 _ACEOF
74717 cat confdefs.h >>conftest.$ac_ext
74718 cat >>conftest.$ac_ext <<_ACEOF
74719 /* end confdefs.h. */
74720 #include <math.h>
74722 main ()
74724 __builtin_fabsl(0);
74726 return 0;
74728 _ACEOF
74729 rm -f conftest.$ac_objext conftest$ac_exeext
74730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74731 (eval $ac_link) 2>conftest.er1
74732 ac_status=$?
74733 grep -v '^ *+' conftest.er1 >conftest.err
74734 rm -f conftest.er1
74735 cat conftest.err >&5
74736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74737 (exit $ac_status); } &&
74738 { ac_try='test -z "$ac_c_werror_flag"
74739 || test ! -s conftest.err'
74740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74741 (eval $ac_try) 2>&5
74742 ac_status=$?
74743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74744 (exit $ac_status); }; } &&
74745 { ac_try='test -s conftest$ac_exeext'
74746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74747 (eval $ac_try) 2>&5
74748 ac_status=$?
74749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74750 (exit $ac_status); }; }; then
74751 glibcxx_cv_func___builtin_fabsl_link=yes
74752 else
74753 echo "$as_me: failed program was:" >&5
74754 sed 's/^/| /' conftest.$ac_ext >&5
74756 glibcxx_cv_func___builtin_fabsl_link=no
74758 rm -f conftest.err conftest.$ac_objext \
74759 conftest$ac_exeext conftest.$ac_ext
74764 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
74765 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
74767 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
74769 cat >>confdefs.h <<\_ACEOF
74770 #define HAVE___BUILTIN_FABSL 1
74771 _ACEOF
74778 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
74779 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
74780 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
74781 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
74782 echo $ECHO_N "(cached) $ECHO_C" >&6
74783 else
74787 ac_ext=cc
74788 ac_cpp='$CXXCPP $CPPFLAGS'
74789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74793 cat >conftest.$ac_ext <<_ACEOF
74794 /* confdefs.h. */
74795 _ACEOF
74796 cat confdefs.h >>conftest.$ac_ext
74797 cat >>conftest.$ac_ext <<_ACEOF
74798 /* end confdefs.h. */
74799 #include <math.h>
74801 main ()
74803 __builtin_labs(0);
74805 return 0;
74807 _ACEOF
74808 rm -f conftest.$ac_objext
74809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74810 (eval $ac_compile) 2>conftest.er1
74811 ac_status=$?
74812 grep -v '^ *+' conftest.er1 >conftest.err
74813 rm -f conftest.er1
74814 cat conftest.err >&5
74815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74816 (exit $ac_status); } &&
74817 { ac_try='test -z "$ac_cxx_werror_flag"
74818 || test ! -s conftest.err'
74819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74820 (eval $ac_try) 2>&5
74821 ac_status=$?
74822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74823 (exit $ac_status); }; } &&
74824 { ac_try='test -s conftest.$ac_objext'
74825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74826 (eval $ac_try) 2>&5
74827 ac_status=$?
74828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74829 (exit $ac_status); }; }; then
74830 glibcxx_cv_func___builtin_labs_use=yes
74831 else
74832 echo "$as_me: failed program was:" >&5
74833 sed 's/^/| /' conftest.$ac_ext >&5
74835 glibcxx_cv_func___builtin_labs_use=no
74837 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74838 ac_ext=c
74839 ac_cpp='$CPP $CPPFLAGS'
74840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74848 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
74849 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
74850 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
74851 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
74852 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
74853 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
74854 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
74855 echo $ECHO_N "(cached) $ECHO_C" >&6
74856 else
74858 if test x$gcc_no_link = xyes; then
74859 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74860 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74861 { (exit 1); exit 1; }; }
74863 cat >conftest.$ac_ext <<_ACEOF
74864 /* confdefs.h. */
74865 _ACEOF
74866 cat confdefs.h >>conftest.$ac_ext
74867 cat >>conftest.$ac_ext <<_ACEOF
74868 /* end confdefs.h. */
74869 #include <math.h>
74871 main ()
74873 __builtin_labs(0);
74875 return 0;
74877 _ACEOF
74878 rm -f conftest.$ac_objext conftest$ac_exeext
74879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74880 (eval $ac_link) 2>conftest.er1
74881 ac_status=$?
74882 grep -v '^ *+' conftest.er1 >conftest.err
74883 rm -f conftest.er1
74884 cat conftest.err >&5
74885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74886 (exit $ac_status); } &&
74887 { ac_try='test -z "$ac_c_werror_flag"
74888 || test ! -s conftest.err'
74889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74890 (eval $ac_try) 2>&5
74891 ac_status=$?
74892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74893 (exit $ac_status); }; } &&
74894 { ac_try='test -s conftest$ac_exeext'
74895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74896 (eval $ac_try) 2>&5
74897 ac_status=$?
74898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74899 (exit $ac_status); }; }; then
74900 glibcxx_cv_func___builtin_labs_link=yes
74901 else
74902 echo "$as_me: failed program was:" >&5
74903 sed 's/^/| /' conftest.$ac_ext >&5
74905 glibcxx_cv_func___builtin_labs_link=no
74907 rm -f conftest.err conftest.$ac_objext \
74908 conftest$ac_exeext conftest.$ac_ext
74913 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
74914 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
74916 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
74918 cat >>confdefs.h <<\_ACEOF
74919 #define HAVE___BUILTIN_LABS 1
74920 _ACEOF
74928 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
74929 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
74930 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
74931 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
74932 echo $ECHO_N "(cached) $ECHO_C" >&6
74933 else
74937 ac_ext=cc
74938 ac_cpp='$CXXCPP $CPPFLAGS'
74939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74943 cat >conftest.$ac_ext <<_ACEOF
74944 /* confdefs.h. */
74945 _ACEOF
74946 cat confdefs.h >>conftest.$ac_ext
74947 cat >>conftest.$ac_ext <<_ACEOF
74948 /* end confdefs.h. */
74949 #include <math.h>
74951 main ()
74953 __builtin_sqrtf(0);
74955 return 0;
74957 _ACEOF
74958 rm -f conftest.$ac_objext
74959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74960 (eval $ac_compile) 2>conftest.er1
74961 ac_status=$?
74962 grep -v '^ *+' conftest.er1 >conftest.err
74963 rm -f conftest.er1
74964 cat conftest.err >&5
74965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74966 (exit $ac_status); } &&
74967 { ac_try='test -z "$ac_cxx_werror_flag"
74968 || test ! -s conftest.err'
74969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74970 (eval $ac_try) 2>&5
74971 ac_status=$?
74972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74973 (exit $ac_status); }; } &&
74974 { ac_try='test -s conftest.$ac_objext'
74975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74976 (eval $ac_try) 2>&5
74977 ac_status=$?
74978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74979 (exit $ac_status); }; }; then
74980 glibcxx_cv_func___builtin_sqrtf_use=yes
74981 else
74982 echo "$as_me: failed program was:" >&5
74983 sed 's/^/| /' conftest.$ac_ext >&5
74985 glibcxx_cv_func___builtin_sqrtf_use=no
74987 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74988 ac_ext=c
74989 ac_cpp='$CPP $CPPFLAGS'
74990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74998 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
74999 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
75000 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
75001 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
75002 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
75003 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
75004 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
75005 echo $ECHO_N "(cached) $ECHO_C" >&6
75006 else
75008 if test x$gcc_no_link = xyes; then
75009 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75010 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75011 { (exit 1); exit 1; }; }
75013 cat >conftest.$ac_ext <<_ACEOF
75014 /* confdefs.h. */
75015 _ACEOF
75016 cat confdefs.h >>conftest.$ac_ext
75017 cat >>conftest.$ac_ext <<_ACEOF
75018 /* end confdefs.h. */
75019 #include <math.h>
75021 main ()
75023 __builtin_sqrtf(0);
75025 return 0;
75027 _ACEOF
75028 rm -f conftest.$ac_objext conftest$ac_exeext
75029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75030 (eval $ac_link) 2>conftest.er1
75031 ac_status=$?
75032 grep -v '^ *+' conftest.er1 >conftest.err
75033 rm -f conftest.er1
75034 cat conftest.err >&5
75035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75036 (exit $ac_status); } &&
75037 { ac_try='test -z "$ac_c_werror_flag"
75038 || test ! -s conftest.err'
75039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75040 (eval $ac_try) 2>&5
75041 ac_status=$?
75042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75043 (exit $ac_status); }; } &&
75044 { ac_try='test -s conftest$ac_exeext'
75045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75046 (eval $ac_try) 2>&5
75047 ac_status=$?
75048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75049 (exit $ac_status); }; }; then
75050 glibcxx_cv_func___builtin_sqrtf_link=yes
75051 else
75052 echo "$as_me: failed program was:" >&5
75053 sed 's/^/| /' conftest.$ac_ext >&5
75055 glibcxx_cv_func___builtin_sqrtf_link=no
75057 rm -f conftest.err conftest.$ac_objext \
75058 conftest$ac_exeext conftest.$ac_ext
75063 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
75064 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
75066 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
75068 cat >>confdefs.h <<\_ACEOF
75069 #define HAVE___BUILTIN_SQRTF 1
75070 _ACEOF
75077 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
75078 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
75079 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
75080 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
75081 echo $ECHO_N "(cached) $ECHO_C" >&6
75082 else
75086 ac_ext=cc
75087 ac_cpp='$CXXCPP $CPPFLAGS'
75088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75092 cat >conftest.$ac_ext <<_ACEOF
75093 /* confdefs.h. */
75094 _ACEOF
75095 cat confdefs.h >>conftest.$ac_ext
75096 cat >>conftest.$ac_ext <<_ACEOF
75097 /* end confdefs.h. */
75098 #include <math.h>
75100 main ()
75102 __builtin_sqrt(0);
75104 return 0;
75106 _ACEOF
75107 rm -f conftest.$ac_objext
75108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75109 (eval $ac_compile) 2>conftest.er1
75110 ac_status=$?
75111 grep -v '^ *+' conftest.er1 >conftest.err
75112 rm -f conftest.er1
75113 cat conftest.err >&5
75114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75115 (exit $ac_status); } &&
75116 { ac_try='test -z "$ac_cxx_werror_flag"
75117 || test ! -s conftest.err'
75118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75119 (eval $ac_try) 2>&5
75120 ac_status=$?
75121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75122 (exit $ac_status); }; } &&
75123 { ac_try='test -s conftest.$ac_objext'
75124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75125 (eval $ac_try) 2>&5
75126 ac_status=$?
75127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75128 (exit $ac_status); }; }; then
75129 glibcxx_cv_func___builtin_sqrt_use=yes
75130 else
75131 echo "$as_me: failed program was:" >&5
75132 sed 's/^/| /' conftest.$ac_ext >&5
75134 glibcxx_cv_func___builtin_sqrt_use=no
75136 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75137 ac_ext=c
75138 ac_cpp='$CPP $CPPFLAGS'
75139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75147 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
75148 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
75149 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
75150 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
75151 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
75152 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
75153 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
75154 echo $ECHO_N "(cached) $ECHO_C" >&6
75155 else
75157 if test x$gcc_no_link = xyes; then
75158 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75159 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75160 { (exit 1); exit 1; }; }
75162 cat >conftest.$ac_ext <<_ACEOF
75163 /* confdefs.h. */
75164 _ACEOF
75165 cat confdefs.h >>conftest.$ac_ext
75166 cat >>conftest.$ac_ext <<_ACEOF
75167 /* end confdefs.h. */
75168 #include <math.h>
75170 main ()
75172 __builtin_sqrt(0);
75174 return 0;
75176 _ACEOF
75177 rm -f conftest.$ac_objext conftest$ac_exeext
75178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75179 (eval $ac_link) 2>conftest.er1
75180 ac_status=$?
75181 grep -v '^ *+' conftest.er1 >conftest.err
75182 rm -f conftest.er1
75183 cat conftest.err >&5
75184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75185 (exit $ac_status); } &&
75186 { ac_try='test -z "$ac_c_werror_flag"
75187 || test ! -s conftest.err'
75188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75189 (eval $ac_try) 2>&5
75190 ac_status=$?
75191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75192 (exit $ac_status); }; } &&
75193 { ac_try='test -s conftest$ac_exeext'
75194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75195 (eval $ac_try) 2>&5
75196 ac_status=$?
75197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75198 (exit $ac_status); }; }; then
75199 glibcxx_cv_func___builtin_sqrt_link=yes
75200 else
75201 echo "$as_me: failed program was:" >&5
75202 sed 's/^/| /' conftest.$ac_ext >&5
75204 glibcxx_cv_func___builtin_sqrt_link=no
75206 rm -f conftest.err conftest.$ac_objext \
75207 conftest$ac_exeext conftest.$ac_ext
75212 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
75213 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
75215 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
75217 cat >>confdefs.h <<\_ACEOF
75218 #define HAVE___BUILTIN_SQRT 1
75219 _ACEOF
75226 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
75227 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
75228 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
75229 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
75230 echo $ECHO_N "(cached) $ECHO_C" >&6
75231 else
75235 ac_ext=cc
75236 ac_cpp='$CXXCPP $CPPFLAGS'
75237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75241 cat >conftest.$ac_ext <<_ACEOF
75242 /* confdefs.h. */
75243 _ACEOF
75244 cat confdefs.h >>conftest.$ac_ext
75245 cat >>conftest.$ac_ext <<_ACEOF
75246 /* end confdefs.h. */
75247 #include <math.h>
75249 main ()
75251 __builtin_sqrtl(0);
75253 return 0;
75255 _ACEOF
75256 rm -f conftest.$ac_objext
75257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75258 (eval $ac_compile) 2>conftest.er1
75259 ac_status=$?
75260 grep -v '^ *+' conftest.er1 >conftest.err
75261 rm -f conftest.er1
75262 cat conftest.err >&5
75263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75264 (exit $ac_status); } &&
75265 { ac_try='test -z "$ac_cxx_werror_flag"
75266 || test ! -s conftest.err'
75267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75268 (eval $ac_try) 2>&5
75269 ac_status=$?
75270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75271 (exit $ac_status); }; } &&
75272 { ac_try='test -s conftest.$ac_objext'
75273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75274 (eval $ac_try) 2>&5
75275 ac_status=$?
75276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75277 (exit $ac_status); }; }; then
75278 glibcxx_cv_func___builtin_sqrtl_use=yes
75279 else
75280 echo "$as_me: failed program was:" >&5
75281 sed 's/^/| /' conftest.$ac_ext >&5
75283 glibcxx_cv_func___builtin_sqrtl_use=no
75285 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75286 ac_ext=c
75287 ac_cpp='$CPP $CPPFLAGS'
75288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75296 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
75297 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
75298 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
75299 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
75300 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
75301 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
75302 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
75303 echo $ECHO_N "(cached) $ECHO_C" >&6
75304 else
75306 if test x$gcc_no_link = xyes; then
75307 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75308 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75309 { (exit 1); exit 1; }; }
75311 cat >conftest.$ac_ext <<_ACEOF
75312 /* confdefs.h. */
75313 _ACEOF
75314 cat confdefs.h >>conftest.$ac_ext
75315 cat >>conftest.$ac_ext <<_ACEOF
75316 /* end confdefs.h. */
75317 #include <math.h>
75319 main ()
75321 __builtin_sqrtl(0);
75323 return 0;
75325 _ACEOF
75326 rm -f conftest.$ac_objext conftest$ac_exeext
75327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75328 (eval $ac_link) 2>conftest.er1
75329 ac_status=$?
75330 grep -v '^ *+' conftest.er1 >conftest.err
75331 rm -f conftest.er1
75332 cat conftest.err >&5
75333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75334 (exit $ac_status); } &&
75335 { ac_try='test -z "$ac_c_werror_flag"
75336 || test ! -s conftest.err'
75337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75338 (eval $ac_try) 2>&5
75339 ac_status=$?
75340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75341 (exit $ac_status); }; } &&
75342 { ac_try='test -s conftest$ac_exeext'
75343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75344 (eval $ac_try) 2>&5
75345 ac_status=$?
75346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75347 (exit $ac_status); }; }; then
75348 glibcxx_cv_func___builtin_sqrtl_link=yes
75349 else
75350 echo "$as_me: failed program was:" >&5
75351 sed 's/^/| /' conftest.$ac_ext >&5
75353 glibcxx_cv_func___builtin_sqrtl_link=no
75355 rm -f conftest.err conftest.$ac_objext \
75356 conftest$ac_exeext conftest.$ac_ext
75361 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
75362 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
75364 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
75366 cat >>confdefs.h <<\_ACEOF
75367 #define HAVE___BUILTIN_SQRTL 1
75368 _ACEOF
75376 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
75377 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
75378 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
75379 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
75380 echo $ECHO_N "(cached) $ECHO_C" >&6
75381 else
75385 ac_ext=cc
75386 ac_cpp='$CXXCPP $CPPFLAGS'
75387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75391 cat >conftest.$ac_ext <<_ACEOF
75392 /* confdefs.h. */
75393 _ACEOF
75394 cat confdefs.h >>conftest.$ac_ext
75395 cat >>conftest.$ac_ext <<_ACEOF
75396 /* end confdefs.h. */
75397 #include <math.h>
75399 main ()
75401 __builtin_sinf(0);
75403 return 0;
75405 _ACEOF
75406 rm -f conftest.$ac_objext
75407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75408 (eval $ac_compile) 2>conftest.er1
75409 ac_status=$?
75410 grep -v '^ *+' conftest.er1 >conftest.err
75411 rm -f conftest.er1
75412 cat conftest.err >&5
75413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75414 (exit $ac_status); } &&
75415 { ac_try='test -z "$ac_cxx_werror_flag"
75416 || test ! -s conftest.err'
75417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75418 (eval $ac_try) 2>&5
75419 ac_status=$?
75420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75421 (exit $ac_status); }; } &&
75422 { ac_try='test -s conftest.$ac_objext'
75423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75424 (eval $ac_try) 2>&5
75425 ac_status=$?
75426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75427 (exit $ac_status); }; }; then
75428 glibcxx_cv_func___builtin_sinf_use=yes
75429 else
75430 echo "$as_me: failed program was:" >&5
75431 sed 's/^/| /' conftest.$ac_ext >&5
75433 glibcxx_cv_func___builtin_sinf_use=no
75435 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75436 ac_ext=c
75437 ac_cpp='$CPP $CPPFLAGS'
75438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75446 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
75447 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
75448 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
75449 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
75450 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
75451 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
75452 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
75453 echo $ECHO_N "(cached) $ECHO_C" >&6
75454 else
75456 if test x$gcc_no_link = xyes; then
75457 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75458 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75459 { (exit 1); exit 1; }; }
75461 cat >conftest.$ac_ext <<_ACEOF
75462 /* confdefs.h. */
75463 _ACEOF
75464 cat confdefs.h >>conftest.$ac_ext
75465 cat >>conftest.$ac_ext <<_ACEOF
75466 /* end confdefs.h. */
75467 #include <math.h>
75469 main ()
75471 __builtin_sinf(0);
75473 return 0;
75475 _ACEOF
75476 rm -f conftest.$ac_objext conftest$ac_exeext
75477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75478 (eval $ac_link) 2>conftest.er1
75479 ac_status=$?
75480 grep -v '^ *+' conftest.er1 >conftest.err
75481 rm -f conftest.er1
75482 cat conftest.err >&5
75483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75484 (exit $ac_status); } &&
75485 { ac_try='test -z "$ac_c_werror_flag"
75486 || test ! -s conftest.err'
75487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75488 (eval $ac_try) 2>&5
75489 ac_status=$?
75490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75491 (exit $ac_status); }; } &&
75492 { ac_try='test -s conftest$ac_exeext'
75493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75494 (eval $ac_try) 2>&5
75495 ac_status=$?
75496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75497 (exit $ac_status); }; }; then
75498 glibcxx_cv_func___builtin_sinf_link=yes
75499 else
75500 echo "$as_me: failed program was:" >&5
75501 sed 's/^/| /' conftest.$ac_ext >&5
75503 glibcxx_cv_func___builtin_sinf_link=no
75505 rm -f conftest.err conftest.$ac_objext \
75506 conftest$ac_exeext conftest.$ac_ext
75511 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
75512 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
75514 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
75516 cat >>confdefs.h <<\_ACEOF
75517 #define HAVE___BUILTIN_SINF 1
75518 _ACEOF
75525 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
75526 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
75527 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
75528 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
75529 echo $ECHO_N "(cached) $ECHO_C" >&6
75530 else
75534 ac_ext=cc
75535 ac_cpp='$CXXCPP $CPPFLAGS'
75536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75540 cat >conftest.$ac_ext <<_ACEOF
75541 /* confdefs.h. */
75542 _ACEOF
75543 cat confdefs.h >>conftest.$ac_ext
75544 cat >>conftest.$ac_ext <<_ACEOF
75545 /* end confdefs.h. */
75546 #include <math.h>
75548 main ()
75550 __builtin_sin(0);
75552 return 0;
75554 _ACEOF
75555 rm -f conftest.$ac_objext
75556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75557 (eval $ac_compile) 2>conftest.er1
75558 ac_status=$?
75559 grep -v '^ *+' conftest.er1 >conftest.err
75560 rm -f conftest.er1
75561 cat conftest.err >&5
75562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75563 (exit $ac_status); } &&
75564 { ac_try='test -z "$ac_cxx_werror_flag"
75565 || test ! -s conftest.err'
75566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75567 (eval $ac_try) 2>&5
75568 ac_status=$?
75569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75570 (exit $ac_status); }; } &&
75571 { ac_try='test -s conftest.$ac_objext'
75572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75573 (eval $ac_try) 2>&5
75574 ac_status=$?
75575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75576 (exit $ac_status); }; }; then
75577 glibcxx_cv_func___builtin_sin_use=yes
75578 else
75579 echo "$as_me: failed program was:" >&5
75580 sed 's/^/| /' conftest.$ac_ext >&5
75582 glibcxx_cv_func___builtin_sin_use=no
75584 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75585 ac_ext=c
75586 ac_cpp='$CPP $CPPFLAGS'
75587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75595 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
75596 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
75597 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
75598 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
75599 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
75600 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
75601 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
75602 echo $ECHO_N "(cached) $ECHO_C" >&6
75603 else
75605 if test x$gcc_no_link = xyes; then
75606 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75607 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75608 { (exit 1); exit 1; }; }
75610 cat >conftest.$ac_ext <<_ACEOF
75611 /* confdefs.h. */
75612 _ACEOF
75613 cat confdefs.h >>conftest.$ac_ext
75614 cat >>conftest.$ac_ext <<_ACEOF
75615 /* end confdefs.h. */
75616 #include <math.h>
75618 main ()
75620 __builtin_sin(0);
75622 return 0;
75624 _ACEOF
75625 rm -f conftest.$ac_objext conftest$ac_exeext
75626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75627 (eval $ac_link) 2>conftest.er1
75628 ac_status=$?
75629 grep -v '^ *+' conftest.er1 >conftest.err
75630 rm -f conftest.er1
75631 cat conftest.err >&5
75632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75633 (exit $ac_status); } &&
75634 { ac_try='test -z "$ac_c_werror_flag"
75635 || test ! -s conftest.err'
75636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75637 (eval $ac_try) 2>&5
75638 ac_status=$?
75639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75640 (exit $ac_status); }; } &&
75641 { ac_try='test -s conftest$ac_exeext'
75642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75643 (eval $ac_try) 2>&5
75644 ac_status=$?
75645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75646 (exit $ac_status); }; }; then
75647 glibcxx_cv_func___builtin_sin_link=yes
75648 else
75649 echo "$as_me: failed program was:" >&5
75650 sed 's/^/| /' conftest.$ac_ext >&5
75652 glibcxx_cv_func___builtin_sin_link=no
75654 rm -f conftest.err conftest.$ac_objext \
75655 conftest$ac_exeext conftest.$ac_ext
75660 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
75661 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
75663 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
75665 cat >>confdefs.h <<\_ACEOF
75666 #define HAVE___BUILTIN_SIN 1
75667 _ACEOF
75674 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
75675 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
75676 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
75677 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
75678 echo $ECHO_N "(cached) $ECHO_C" >&6
75679 else
75683 ac_ext=cc
75684 ac_cpp='$CXXCPP $CPPFLAGS'
75685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75689 cat >conftest.$ac_ext <<_ACEOF
75690 /* confdefs.h. */
75691 _ACEOF
75692 cat confdefs.h >>conftest.$ac_ext
75693 cat >>conftest.$ac_ext <<_ACEOF
75694 /* end confdefs.h. */
75695 #include <math.h>
75697 main ()
75699 __builtin_sinl(0);
75701 return 0;
75703 _ACEOF
75704 rm -f conftest.$ac_objext
75705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75706 (eval $ac_compile) 2>conftest.er1
75707 ac_status=$?
75708 grep -v '^ *+' conftest.er1 >conftest.err
75709 rm -f conftest.er1
75710 cat conftest.err >&5
75711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75712 (exit $ac_status); } &&
75713 { ac_try='test -z "$ac_cxx_werror_flag"
75714 || test ! -s conftest.err'
75715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75716 (eval $ac_try) 2>&5
75717 ac_status=$?
75718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75719 (exit $ac_status); }; } &&
75720 { ac_try='test -s conftest.$ac_objext'
75721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75722 (eval $ac_try) 2>&5
75723 ac_status=$?
75724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75725 (exit $ac_status); }; }; then
75726 glibcxx_cv_func___builtin_sinl_use=yes
75727 else
75728 echo "$as_me: failed program was:" >&5
75729 sed 's/^/| /' conftest.$ac_ext >&5
75731 glibcxx_cv_func___builtin_sinl_use=no
75733 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75734 ac_ext=c
75735 ac_cpp='$CPP $CPPFLAGS'
75736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75744 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
75745 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
75746 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
75747 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
75748 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
75749 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
75750 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
75751 echo $ECHO_N "(cached) $ECHO_C" >&6
75752 else
75754 if test x$gcc_no_link = xyes; then
75755 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75756 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75757 { (exit 1); exit 1; }; }
75759 cat >conftest.$ac_ext <<_ACEOF
75760 /* confdefs.h. */
75761 _ACEOF
75762 cat confdefs.h >>conftest.$ac_ext
75763 cat >>conftest.$ac_ext <<_ACEOF
75764 /* end confdefs.h. */
75765 #include <math.h>
75767 main ()
75769 __builtin_sinl(0);
75771 return 0;
75773 _ACEOF
75774 rm -f conftest.$ac_objext conftest$ac_exeext
75775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75776 (eval $ac_link) 2>conftest.er1
75777 ac_status=$?
75778 grep -v '^ *+' conftest.er1 >conftest.err
75779 rm -f conftest.er1
75780 cat conftest.err >&5
75781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75782 (exit $ac_status); } &&
75783 { ac_try='test -z "$ac_c_werror_flag"
75784 || test ! -s conftest.err'
75785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75786 (eval $ac_try) 2>&5
75787 ac_status=$?
75788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75789 (exit $ac_status); }; } &&
75790 { ac_try='test -s conftest$ac_exeext'
75791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75792 (eval $ac_try) 2>&5
75793 ac_status=$?
75794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75795 (exit $ac_status); }; }; then
75796 glibcxx_cv_func___builtin_sinl_link=yes
75797 else
75798 echo "$as_me: failed program was:" >&5
75799 sed 's/^/| /' conftest.$ac_ext >&5
75801 glibcxx_cv_func___builtin_sinl_link=no
75803 rm -f conftest.err conftest.$ac_objext \
75804 conftest$ac_exeext conftest.$ac_ext
75809 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
75810 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
75812 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
75814 cat >>confdefs.h <<\_ACEOF
75815 #define HAVE___BUILTIN_SINL 1
75816 _ACEOF
75824 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
75825 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
75826 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
75827 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
75828 echo $ECHO_N "(cached) $ECHO_C" >&6
75829 else
75833 ac_ext=cc
75834 ac_cpp='$CXXCPP $CPPFLAGS'
75835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75839 cat >conftest.$ac_ext <<_ACEOF
75840 /* confdefs.h. */
75841 _ACEOF
75842 cat confdefs.h >>conftest.$ac_ext
75843 cat >>conftest.$ac_ext <<_ACEOF
75844 /* end confdefs.h. */
75845 #include <math.h>
75847 main ()
75849 __builtin_cosf(0);
75851 return 0;
75853 _ACEOF
75854 rm -f conftest.$ac_objext
75855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75856 (eval $ac_compile) 2>conftest.er1
75857 ac_status=$?
75858 grep -v '^ *+' conftest.er1 >conftest.err
75859 rm -f conftest.er1
75860 cat conftest.err >&5
75861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75862 (exit $ac_status); } &&
75863 { ac_try='test -z "$ac_cxx_werror_flag"
75864 || test ! -s conftest.err'
75865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75866 (eval $ac_try) 2>&5
75867 ac_status=$?
75868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75869 (exit $ac_status); }; } &&
75870 { ac_try='test -s conftest.$ac_objext'
75871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75872 (eval $ac_try) 2>&5
75873 ac_status=$?
75874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75875 (exit $ac_status); }; }; then
75876 glibcxx_cv_func___builtin_cosf_use=yes
75877 else
75878 echo "$as_me: failed program was:" >&5
75879 sed 's/^/| /' conftest.$ac_ext >&5
75881 glibcxx_cv_func___builtin_cosf_use=no
75883 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75884 ac_ext=c
75885 ac_cpp='$CPP $CPPFLAGS'
75886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75894 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
75895 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
75896 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
75897 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
75898 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
75899 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
75900 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
75901 echo $ECHO_N "(cached) $ECHO_C" >&6
75902 else
75904 if test x$gcc_no_link = xyes; then
75905 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75906 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75907 { (exit 1); exit 1; }; }
75909 cat >conftest.$ac_ext <<_ACEOF
75910 /* confdefs.h. */
75911 _ACEOF
75912 cat confdefs.h >>conftest.$ac_ext
75913 cat >>conftest.$ac_ext <<_ACEOF
75914 /* end confdefs.h. */
75915 #include <math.h>
75917 main ()
75919 __builtin_cosf(0);
75921 return 0;
75923 _ACEOF
75924 rm -f conftest.$ac_objext conftest$ac_exeext
75925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75926 (eval $ac_link) 2>conftest.er1
75927 ac_status=$?
75928 grep -v '^ *+' conftest.er1 >conftest.err
75929 rm -f conftest.er1
75930 cat conftest.err >&5
75931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75932 (exit $ac_status); } &&
75933 { ac_try='test -z "$ac_c_werror_flag"
75934 || test ! -s conftest.err'
75935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75936 (eval $ac_try) 2>&5
75937 ac_status=$?
75938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75939 (exit $ac_status); }; } &&
75940 { ac_try='test -s conftest$ac_exeext'
75941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75942 (eval $ac_try) 2>&5
75943 ac_status=$?
75944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75945 (exit $ac_status); }; }; then
75946 glibcxx_cv_func___builtin_cosf_link=yes
75947 else
75948 echo "$as_me: failed program was:" >&5
75949 sed 's/^/| /' conftest.$ac_ext >&5
75951 glibcxx_cv_func___builtin_cosf_link=no
75953 rm -f conftest.err conftest.$ac_objext \
75954 conftest$ac_exeext conftest.$ac_ext
75959 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
75960 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
75962 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
75964 cat >>confdefs.h <<\_ACEOF
75965 #define HAVE___BUILTIN_COSF 1
75966 _ACEOF
75973 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
75974 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
75975 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
75976 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
75977 echo $ECHO_N "(cached) $ECHO_C" >&6
75978 else
75982 ac_ext=cc
75983 ac_cpp='$CXXCPP $CPPFLAGS'
75984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75988 cat >conftest.$ac_ext <<_ACEOF
75989 /* confdefs.h. */
75990 _ACEOF
75991 cat confdefs.h >>conftest.$ac_ext
75992 cat >>conftest.$ac_ext <<_ACEOF
75993 /* end confdefs.h. */
75994 #include <math.h>
75996 main ()
75998 __builtin_cos(0);
76000 return 0;
76002 _ACEOF
76003 rm -f conftest.$ac_objext
76004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76005 (eval $ac_compile) 2>conftest.er1
76006 ac_status=$?
76007 grep -v '^ *+' conftest.er1 >conftest.err
76008 rm -f conftest.er1
76009 cat conftest.err >&5
76010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76011 (exit $ac_status); } &&
76012 { ac_try='test -z "$ac_cxx_werror_flag"
76013 || test ! -s conftest.err'
76014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76015 (eval $ac_try) 2>&5
76016 ac_status=$?
76017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76018 (exit $ac_status); }; } &&
76019 { ac_try='test -s conftest.$ac_objext'
76020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76021 (eval $ac_try) 2>&5
76022 ac_status=$?
76023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76024 (exit $ac_status); }; }; then
76025 glibcxx_cv_func___builtin_cos_use=yes
76026 else
76027 echo "$as_me: failed program was:" >&5
76028 sed 's/^/| /' conftest.$ac_ext >&5
76030 glibcxx_cv_func___builtin_cos_use=no
76032 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76033 ac_ext=c
76034 ac_cpp='$CPP $CPPFLAGS'
76035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76043 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
76044 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
76045 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
76046 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
76047 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
76048 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
76049 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
76050 echo $ECHO_N "(cached) $ECHO_C" >&6
76051 else
76053 if test x$gcc_no_link = xyes; then
76054 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76055 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76056 { (exit 1); exit 1; }; }
76058 cat >conftest.$ac_ext <<_ACEOF
76059 /* confdefs.h. */
76060 _ACEOF
76061 cat confdefs.h >>conftest.$ac_ext
76062 cat >>conftest.$ac_ext <<_ACEOF
76063 /* end confdefs.h. */
76064 #include <math.h>
76066 main ()
76068 __builtin_cos(0);
76070 return 0;
76072 _ACEOF
76073 rm -f conftest.$ac_objext conftest$ac_exeext
76074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76075 (eval $ac_link) 2>conftest.er1
76076 ac_status=$?
76077 grep -v '^ *+' conftest.er1 >conftest.err
76078 rm -f conftest.er1
76079 cat conftest.err >&5
76080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76081 (exit $ac_status); } &&
76082 { ac_try='test -z "$ac_c_werror_flag"
76083 || test ! -s conftest.err'
76084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76085 (eval $ac_try) 2>&5
76086 ac_status=$?
76087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76088 (exit $ac_status); }; } &&
76089 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
76095 glibcxx_cv_func___builtin_cos_link=yes
76096 else
76097 echo "$as_me: failed program was:" >&5
76098 sed 's/^/| /' conftest.$ac_ext >&5
76100 glibcxx_cv_func___builtin_cos_link=no
76102 rm -f conftest.err conftest.$ac_objext \
76103 conftest$ac_exeext conftest.$ac_ext
76108 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
76109 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
76111 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
76113 cat >>confdefs.h <<\_ACEOF
76114 #define HAVE___BUILTIN_COS 1
76115 _ACEOF
76122 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
76123 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
76124 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
76125 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
76126 echo $ECHO_N "(cached) $ECHO_C" >&6
76127 else
76131 ac_ext=cc
76132 ac_cpp='$CXXCPP $CPPFLAGS'
76133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76137 cat >conftest.$ac_ext <<_ACEOF
76138 /* confdefs.h. */
76139 _ACEOF
76140 cat confdefs.h >>conftest.$ac_ext
76141 cat >>conftest.$ac_ext <<_ACEOF
76142 /* end confdefs.h. */
76143 #include <math.h>
76145 main ()
76147 __builtin_cosl(0);
76149 return 0;
76151 _ACEOF
76152 rm -f conftest.$ac_objext
76153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76154 (eval $ac_compile) 2>conftest.er1
76155 ac_status=$?
76156 grep -v '^ *+' conftest.er1 >conftest.err
76157 rm -f conftest.er1
76158 cat conftest.err >&5
76159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76160 (exit $ac_status); } &&
76161 { ac_try='test -z "$ac_cxx_werror_flag"
76162 || test ! -s conftest.err'
76163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76164 (eval $ac_try) 2>&5
76165 ac_status=$?
76166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76167 (exit $ac_status); }; } &&
76168 { ac_try='test -s conftest.$ac_objext'
76169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76170 (eval $ac_try) 2>&5
76171 ac_status=$?
76172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76173 (exit $ac_status); }; }; then
76174 glibcxx_cv_func___builtin_cosl_use=yes
76175 else
76176 echo "$as_me: failed program was:" >&5
76177 sed 's/^/| /' conftest.$ac_ext >&5
76179 glibcxx_cv_func___builtin_cosl_use=no
76181 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76182 ac_ext=c
76183 ac_cpp='$CPP $CPPFLAGS'
76184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76192 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
76193 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
76194 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
76195 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
76196 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
76197 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
76198 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
76199 echo $ECHO_N "(cached) $ECHO_C" >&6
76200 else
76202 if test x$gcc_no_link = xyes; then
76203 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76204 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76205 { (exit 1); exit 1; }; }
76207 cat >conftest.$ac_ext <<_ACEOF
76208 /* confdefs.h. */
76209 _ACEOF
76210 cat confdefs.h >>conftest.$ac_ext
76211 cat >>conftest.$ac_ext <<_ACEOF
76212 /* end confdefs.h. */
76213 #include <math.h>
76215 main ()
76217 __builtin_cosl(0);
76219 return 0;
76221 _ACEOF
76222 rm -f conftest.$ac_objext conftest$ac_exeext
76223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76224 (eval $ac_link) 2>conftest.er1
76225 ac_status=$?
76226 grep -v '^ *+' conftest.er1 >conftest.err
76227 rm -f conftest.er1
76228 cat conftest.err >&5
76229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76230 (exit $ac_status); } &&
76231 { ac_try='test -z "$ac_c_werror_flag"
76232 || test ! -s conftest.err'
76233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76234 (eval $ac_try) 2>&5
76235 ac_status=$?
76236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76237 (exit $ac_status); }; } &&
76238 { ac_try='test -s conftest$ac_exeext'
76239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76240 (eval $ac_try) 2>&5
76241 ac_status=$?
76242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76243 (exit $ac_status); }; }; then
76244 glibcxx_cv_func___builtin_cosl_link=yes
76245 else
76246 echo "$as_me: failed program was:" >&5
76247 sed 's/^/| /' conftest.$ac_ext >&5
76249 glibcxx_cv_func___builtin_cosl_link=no
76251 rm -f conftest.err conftest.$ac_objext \
76252 conftest$ac_exeext conftest.$ac_ext
76257 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
76258 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
76260 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
76262 cat >>confdefs.h <<\_ACEOF
76263 #define HAVE___BUILTIN_COSL 1
76264 _ACEOF
76273 echo "$as_me:$LINENO: checking for main in -lm" >&5
76274 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
76275 if test "${ac_cv_lib_m_main+set}" = set; then
76276 echo $ECHO_N "(cached) $ECHO_C" >&6
76277 else
76278 ac_check_lib_save_LIBS=$LIBS
76279 LIBS="-lm $LIBS"
76280 if test x$gcc_no_link = xyes; then
76281 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76282 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76283 { (exit 1); exit 1; }; }
76285 cat >conftest.$ac_ext <<_ACEOF
76286 /* confdefs.h. */
76287 _ACEOF
76288 cat confdefs.h >>conftest.$ac_ext
76289 cat >>conftest.$ac_ext <<_ACEOF
76290 /* end confdefs.h. */
76294 main ()
76296 main ();
76298 return 0;
76300 _ACEOF
76301 rm -f conftest.$ac_objext conftest$ac_exeext
76302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76303 (eval $ac_link) 2>conftest.er1
76304 ac_status=$?
76305 grep -v '^ *+' conftest.er1 >conftest.err
76306 rm -f conftest.er1
76307 cat conftest.err >&5
76308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76309 (exit $ac_status); } &&
76310 { ac_try='test -z "$ac_c_werror_flag"
76311 || test ! -s conftest.err'
76312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76313 (eval $ac_try) 2>&5
76314 ac_status=$?
76315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76316 (exit $ac_status); }; } &&
76317 { ac_try='test -s conftest$ac_exeext'
76318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76319 (eval $ac_try) 2>&5
76320 ac_status=$?
76321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76322 (exit $ac_status); }; }; then
76323 ac_cv_lib_m_main=yes
76324 else
76325 echo "$as_me: failed program was:" >&5
76326 sed 's/^/| /' conftest.$ac_ext >&5
76328 ac_cv_lib_m_main=no
76330 rm -f conftest.err conftest.$ac_objext \
76331 conftest$ac_exeext conftest.$ac_ext
76332 LIBS=$ac_check_lib_save_LIBS
76334 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
76335 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
76336 if test $ac_cv_lib_m_main = yes; then
76337 cat >>confdefs.h <<_ACEOF
76338 #define HAVE_LIBM 1
76339 _ACEOF
76341 LIBS="-lm $LIBS"
76346 for ac_func in copysignf
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 ${ac_func}.lo"
76452 done
76456 for ac_func in __signbit
76458 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76459 echo "$as_me:$LINENO: checking for $ac_func" >&5
76460 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76461 if eval "test \"\${$as_ac_var+set}\" = set"; then
76462 echo $ECHO_N "(cached) $ECHO_C" >&6
76463 else
76464 if test x$gcc_no_link = xyes; then
76465 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76466 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76467 { (exit 1); exit 1; }; }
76469 cat >conftest.$ac_ext <<_ACEOF
76470 /* confdefs.h. */
76471 _ACEOF
76472 cat confdefs.h >>conftest.$ac_ext
76473 cat >>conftest.$ac_ext <<_ACEOF
76474 /* end confdefs.h. */
76475 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76476 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76477 #define $ac_func innocuous_$ac_func
76479 /* System header to define __stub macros and hopefully few prototypes,
76480 which can conflict with char $ac_func (); below.
76481 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76482 <limits.h> exists even on freestanding compilers. */
76484 #ifdef __STDC__
76485 # include <limits.h>
76486 #else
76487 # include <assert.h>
76488 #endif
76490 #undef $ac_func
76492 /* Override any gcc2 internal prototype to avoid an error. */
76493 #ifdef __cplusplus
76494 extern "C"
76496 #endif
76497 /* We use char because int might match the return type of a gcc2
76498 builtin and then its argument prototype would still apply. */
76499 char $ac_func ();
76500 /* The GNU C library defines this for functions which it implements
76501 to always fail with ENOSYS. Some functions are actually named
76502 something starting with __ and the normal name is an alias. */
76503 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76504 choke me
76505 #else
76506 char (*f) () = $ac_func;
76507 #endif
76508 #ifdef __cplusplus
76510 #endif
76513 main ()
76515 return f != $ac_func;
76517 return 0;
76519 _ACEOF
76520 rm -f conftest.$ac_objext conftest$ac_exeext
76521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76522 (eval $ac_link) 2>conftest.er1
76523 ac_status=$?
76524 grep -v '^ *+' conftest.er1 >conftest.err
76525 rm -f conftest.er1
76526 cat conftest.err >&5
76527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76528 (exit $ac_status); } &&
76529 { ac_try='test -z "$ac_c_werror_flag"
76530 || test ! -s conftest.err'
76531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76532 (eval $ac_try) 2>&5
76533 ac_status=$?
76534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76535 (exit $ac_status); }; } &&
76536 { ac_try='test -s conftest$ac_exeext'
76537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76538 (eval $ac_try) 2>&5
76539 ac_status=$?
76540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76541 (exit $ac_status); }; }; then
76542 eval "$as_ac_var=yes"
76543 else
76544 echo "$as_me: failed program was:" >&5
76545 sed 's/^/| /' conftest.$ac_ext >&5
76547 eval "$as_ac_var=no"
76549 rm -f conftest.err conftest.$ac_objext \
76550 conftest$ac_exeext conftest.$ac_ext
76552 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76553 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76554 if test `eval echo '${'$as_ac_var'}'` = yes; then
76555 cat >>confdefs.h <<_ACEOF
76556 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76557 _ACEOF
76559 else
76560 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
76562 done
76566 for ac_func in __signbitf
76568 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76569 echo "$as_me:$LINENO: checking for $ac_func" >&5
76570 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76571 if eval "test \"\${$as_ac_var+set}\" = set"; then
76572 echo $ECHO_N "(cached) $ECHO_C" >&6
76573 else
76574 if test x$gcc_no_link = xyes; then
76575 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76576 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76577 { (exit 1); exit 1; }; }
76579 cat >conftest.$ac_ext <<_ACEOF
76580 /* confdefs.h. */
76581 _ACEOF
76582 cat confdefs.h >>conftest.$ac_ext
76583 cat >>conftest.$ac_ext <<_ACEOF
76584 /* end confdefs.h. */
76585 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76586 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76587 #define $ac_func innocuous_$ac_func
76589 /* System header to define __stub macros and hopefully few prototypes,
76590 which can conflict with char $ac_func (); below.
76591 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76592 <limits.h> exists even on freestanding compilers. */
76594 #ifdef __STDC__
76595 # include <limits.h>
76596 #else
76597 # include <assert.h>
76598 #endif
76600 #undef $ac_func
76602 /* Override any gcc2 internal prototype to avoid an error. */
76603 #ifdef __cplusplus
76604 extern "C"
76606 #endif
76607 /* We use char because int might match the return type of a gcc2
76608 builtin and then its argument prototype would still apply. */
76609 char $ac_func ();
76610 /* The GNU C library defines this for functions which it implements
76611 to always fail with ENOSYS. Some functions are actually named
76612 something starting with __ and the normal name is an alias. */
76613 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76614 choke me
76615 #else
76616 char (*f) () = $ac_func;
76617 #endif
76618 #ifdef __cplusplus
76620 #endif
76623 main ()
76625 return f != $ac_func;
76627 return 0;
76629 _ACEOF
76630 rm -f conftest.$ac_objext conftest$ac_exeext
76631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76632 (eval $ac_link) 2>conftest.er1
76633 ac_status=$?
76634 grep -v '^ *+' conftest.er1 >conftest.err
76635 rm -f conftest.er1
76636 cat conftest.err >&5
76637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76638 (exit $ac_status); } &&
76639 { ac_try='test -z "$ac_c_werror_flag"
76640 || test ! -s conftest.err'
76641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76642 (eval $ac_try) 2>&5
76643 ac_status=$?
76644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76645 (exit $ac_status); }; } &&
76646 { ac_try='test -s conftest$ac_exeext'
76647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76648 (eval $ac_try) 2>&5
76649 ac_status=$?
76650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76651 (exit $ac_status); }; }; then
76652 eval "$as_ac_var=yes"
76653 else
76654 echo "$as_me: failed program was:" >&5
76655 sed 's/^/| /' conftest.$ac_ext >&5
76657 eval "$as_ac_var=no"
76659 rm -f conftest.err conftest.$ac_objext \
76660 conftest$ac_exeext conftest.$ac_ext
76662 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76663 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76664 if test `eval echo '${'$as_ac_var'}'` = yes; then
76665 cat >>confdefs.h <<_ACEOF
76666 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76667 _ACEOF
76669 else
76670 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
76672 done
76675 if test x$ac_cv_func_copysignl = x"yes"; then
76677 for ac_func in __signbitl
76679 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76680 echo "$as_me:$LINENO: checking for $ac_func" >&5
76681 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76682 if eval "test \"\${$as_ac_var+set}\" = set"; then
76683 echo $ECHO_N "(cached) $ECHO_C" >&6
76684 else
76685 if test x$gcc_no_link = xyes; then
76686 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76687 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76688 { (exit 1); exit 1; }; }
76690 cat >conftest.$ac_ext <<_ACEOF
76691 /* confdefs.h. */
76692 _ACEOF
76693 cat confdefs.h >>conftest.$ac_ext
76694 cat >>conftest.$ac_ext <<_ACEOF
76695 /* end confdefs.h. */
76696 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76697 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76698 #define $ac_func innocuous_$ac_func
76700 /* System header to define __stub macros and hopefully few prototypes,
76701 which can conflict with char $ac_func (); below.
76702 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76703 <limits.h> exists even on freestanding compilers. */
76705 #ifdef __STDC__
76706 # include <limits.h>
76707 #else
76708 # include <assert.h>
76709 #endif
76711 #undef $ac_func
76713 /* Override any gcc2 internal prototype to avoid an error. */
76714 #ifdef __cplusplus
76715 extern "C"
76717 #endif
76718 /* We use char because int might match the return type of a gcc2
76719 builtin and then its argument prototype would still apply. */
76720 char $ac_func ();
76721 /* The GNU C library defines this for functions which it implements
76722 to always fail with ENOSYS. Some functions are actually named
76723 something starting with __ and the normal name is an alias. */
76724 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76725 choke me
76726 #else
76727 char (*f) () = $ac_func;
76728 #endif
76729 #ifdef __cplusplus
76731 #endif
76734 main ()
76736 return f != $ac_func;
76738 return 0;
76740 _ACEOF
76741 rm -f conftest.$ac_objext conftest$ac_exeext
76742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76743 (eval $ac_link) 2>conftest.er1
76744 ac_status=$?
76745 grep -v '^ *+' conftest.er1 >conftest.err
76746 rm -f conftest.er1
76747 cat conftest.err >&5
76748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76749 (exit $ac_status); } &&
76750 { ac_try='test -z "$ac_c_werror_flag"
76751 || test ! -s conftest.err'
76752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76753 (eval $ac_try) 2>&5
76754 ac_status=$?
76755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76756 (exit $ac_status); }; } &&
76757 { ac_try='test -s conftest$ac_exeext'
76758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76759 (eval $ac_try) 2>&5
76760 ac_status=$?
76761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76762 (exit $ac_status); }; }; then
76763 eval "$as_ac_var=yes"
76764 else
76765 echo "$as_me: failed program was:" >&5
76766 sed 's/^/| /' conftest.$ac_ext >&5
76768 eval "$as_ac_var=no"
76770 rm -f conftest.err conftest.$ac_objext \
76771 conftest$ac_exeext conftest.$ac_ext
76773 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76774 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76775 if test `eval echo '${'$as_ac_var'}'` = yes; then
76776 cat >>confdefs.h <<_ACEOF
76777 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76778 _ACEOF
76780 else
76781 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
76783 done
76787 # Used in libmath/Makefile.am.
76788 if test -n "$LIBMATHOBJS"; then
76789 need_libmath=yes
76794 ac_test_CXXFLAGS="${CXXFLAGS+set}"
76795 ac_save_CXXFLAGS="$CXXFLAGS"
76796 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
76799 echo "$as_me:$LINENO: checking for strtold declaration" >&5
76800 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
76801 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
76802 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
76803 echo $ECHO_N "(cached) $ECHO_C" >&6
76804 else
76808 ac_ext=cc
76809 ac_cpp='$CXXCPP $CPPFLAGS'
76810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76814 cat >conftest.$ac_ext <<_ACEOF
76815 /* confdefs.h. */
76816 _ACEOF
76817 cat confdefs.h >>conftest.$ac_ext
76818 cat >>conftest.$ac_ext <<_ACEOF
76819 /* end confdefs.h. */
76820 #include <stdlib.h>
76822 main ()
76824 strtold(0, 0);
76826 return 0;
76828 _ACEOF
76829 rm -f conftest.$ac_objext
76830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76831 (eval $ac_compile) 2>conftest.er1
76832 ac_status=$?
76833 grep -v '^ *+' conftest.er1 >conftest.err
76834 rm -f conftest.er1
76835 cat conftest.err >&5
76836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76837 (exit $ac_status); } &&
76838 { ac_try='test -z "$ac_cxx_werror_flag"
76839 || test ! -s conftest.err'
76840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76841 (eval $ac_try) 2>&5
76842 ac_status=$?
76843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76844 (exit $ac_status); }; } &&
76845 { ac_try='test -s conftest.$ac_objext'
76846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76847 (eval $ac_try) 2>&5
76848 ac_status=$?
76849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76850 (exit $ac_status); }; }; then
76851 glibcxx_cv_func_strtold_use=yes
76852 else
76853 echo "$as_me: failed program was:" >&5
76854 sed 's/^/| /' conftest.$ac_ext >&5
76856 glibcxx_cv_func_strtold_use=no
76858 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76859 ac_ext=c
76860 ac_cpp='$CPP $CPPFLAGS'
76861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76869 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
76870 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
76871 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
76873 for ac_func in strtold
76875 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76876 echo "$as_me:$LINENO: checking for $ac_func" >&5
76877 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76878 if eval "test \"\${$as_ac_var+set}\" = set"; then
76879 echo $ECHO_N "(cached) $ECHO_C" >&6
76880 else
76881 if test x$gcc_no_link = xyes; then
76882 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76883 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76884 { (exit 1); exit 1; }; }
76886 cat >conftest.$ac_ext <<_ACEOF
76887 /* confdefs.h. */
76888 _ACEOF
76889 cat confdefs.h >>conftest.$ac_ext
76890 cat >>conftest.$ac_ext <<_ACEOF
76891 /* end confdefs.h. */
76892 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76893 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76894 #define $ac_func innocuous_$ac_func
76896 /* System header to define __stub macros and hopefully few prototypes,
76897 which can conflict with char $ac_func (); below.
76898 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76899 <limits.h> exists even on freestanding compilers. */
76901 #ifdef __STDC__
76902 # include <limits.h>
76903 #else
76904 # include <assert.h>
76905 #endif
76907 #undef $ac_func
76909 /* Override any gcc2 internal prototype to avoid an error. */
76910 #ifdef __cplusplus
76911 extern "C"
76913 #endif
76914 /* We use char because int might match the return type of a gcc2
76915 builtin and then its argument prototype would still apply. */
76916 char $ac_func ();
76917 /* The GNU C library defines this for functions which it implements
76918 to always fail with ENOSYS. Some functions are actually named
76919 something starting with __ and the normal name is an alias. */
76920 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76921 choke me
76922 #else
76923 char (*f) () = $ac_func;
76924 #endif
76925 #ifdef __cplusplus
76927 #endif
76930 main ()
76932 return f != $ac_func;
76934 return 0;
76936 _ACEOF
76937 rm -f conftest.$ac_objext conftest$ac_exeext
76938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76939 (eval $ac_link) 2>conftest.er1
76940 ac_status=$?
76941 grep -v '^ *+' conftest.er1 >conftest.err
76942 rm -f conftest.er1
76943 cat conftest.err >&5
76944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76945 (exit $ac_status); } &&
76946 { ac_try='test -z "$ac_c_werror_flag"
76947 || test ! -s conftest.err'
76948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76949 (eval $ac_try) 2>&5
76950 ac_status=$?
76951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76952 (exit $ac_status); }; } &&
76953 { ac_try='test -s conftest$ac_exeext'
76954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76955 (eval $ac_try) 2>&5
76956 ac_status=$?
76957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76958 (exit $ac_status); }; }; then
76959 eval "$as_ac_var=yes"
76960 else
76961 echo "$as_me: failed program was:" >&5
76962 sed 's/^/| /' conftest.$ac_ext >&5
76964 eval "$as_ac_var=no"
76966 rm -f conftest.err conftest.$ac_objext \
76967 conftest$ac_exeext conftest.$ac_ext
76969 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76970 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76971 if test `eval echo '${'$as_ac_var'}'` = yes; then
76972 cat >>confdefs.h <<_ACEOF
76973 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76974 _ACEOF
76977 done
76985 echo "$as_me:$LINENO: checking for strtof declaration" >&5
76986 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
76987 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
76988 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
76989 echo $ECHO_N "(cached) $ECHO_C" >&6
76990 else
76994 ac_ext=cc
76995 ac_cpp='$CXXCPP $CPPFLAGS'
76996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77000 cat >conftest.$ac_ext <<_ACEOF
77001 /* confdefs.h. */
77002 _ACEOF
77003 cat confdefs.h >>conftest.$ac_ext
77004 cat >>conftest.$ac_ext <<_ACEOF
77005 /* end confdefs.h. */
77006 #include <stdlib.h>
77008 main ()
77010 strtof(0, 0);
77012 return 0;
77014 _ACEOF
77015 rm -f conftest.$ac_objext
77016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77017 (eval $ac_compile) 2>conftest.er1
77018 ac_status=$?
77019 grep -v '^ *+' conftest.er1 >conftest.err
77020 rm -f conftest.er1
77021 cat conftest.err >&5
77022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77023 (exit $ac_status); } &&
77024 { ac_try='test -z "$ac_cxx_werror_flag"
77025 || test ! -s conftest.err'
77026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77027 (eval $ac_try) 2>&5
77028 ac_status=$?
77029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77030 (exit $ac_status); }; } &&
77031 { ac_try='test -s conftest.$ac_objext'
77032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77033 (eval $ac_try) 2>&5
77034 ac_status=$?
77035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77036 (exit $ac_status); }; }; then
77037 glibcxx_cv_func_strtof_use=yes
77038 else
77039 echo "$as_me: failed program was:" >&5
77040 sed 's/^/| /' conftest.$ac_ext >&5
77042 glibcxx_cv_func_strtof_use=no
77044 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77045 ac_ext=c
77046 ac_cpp='$CPP $CPPFLAGS'
77047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77055 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
77056 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
77057 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
77059 for ac_func in strtof
77061 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77062 echo "$as_me:$LINENO: checking for $ac_func" >&5
77063 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77064 if eval "test \"\${$as_ac_var+set}\" = set"; then
77065 echo $ECHO_N "(cached) $ECHO_C" >&6
77066 else
77067 if test x$gcc_no_link = xyes; then
77068 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77069 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77070 { (exit 1); exit 1; }; }
77072 cat >conftest.$ac_ext <<_ACEOF
77073 /* confdefs.h. */
77074 _ACEOF
77075 cat confdefs.h >>conftest.$ac_ext
77076 cat >>conftest.$ac_ext <<_ACEOF
77077 /* end confdefs.h. */
77078 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77079 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77080 #define $ac_func innocuous_$ac_func
77082 /* System header to define __stub macros and hopefully few prototypes,
77083 which can conflict with char $ac_func (); below.
77084 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77085 <limits.h> exists even on freestanding compilers. */
77087 #ifdef __STDC__
77088 # include <limits.h>
77089 #else
77090 # include <assert.h>
77091 #endif
77093 #undef $ac_func
77095 /* Override any gcc2 internal prototype to avoid an error. */
77096 #ifdef __cplusplus
77097 extern "C"
77099 #endif
77100 /* We use char because int might match the return type of a gcc2
77101 builtin and then its argument prototype would still apply. */
77102 char $ac_func ();
77103 /* The GNU C library defines this for functions which it implements
77104 to always fail with ENOSYS. Some functions are actually named
77105 something starting with __ and the normal name is an alias. */
77106 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77107 choke me
77108 #else
77109 char (*f) () = $ac_func;
77110 #endif
77111 #ifdef __cplusplus
77113 #endif
77116 main ()
77118 return f != $ac_func;
77120 return 0;
77122 _ACEOF
77123 rm -f conftest.$ac_objext conftest$ac_exeext
77124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77125 (eval $ac_link) 2>conftest.er1
77126 ac_status=$?
77127 grep -v '^ *+' conftest.er1 >conftest.err
77128 rm -f conftest.er1
77129 cat conftest.err >&5
77130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77131 (exit $ac_status); } &&
77132 { ac_try='test -z "$ac_c_werror_flag"
77133 || test ! -s conftest.err'
77134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77135 (eval $ac_try) 2>&5
77136 ac_status=$?
77137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77138 (exit $ac_status); }; } &&
77139 { ac_try='test -s conftest$ac_exeext'
77140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77141 (eval $ac_try) 2>&5
77142 ac_status=$?
77143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77144 (exit $ac_status); }; }; then
77145 eval "$as_ac_var=yes"
77146 else
77147 echo "$as_me: failed program was:" >&5
77148 sed 's/^/| /' conftest.$ac_ext >&5
77150 eval "$as_ac_var=no"
77152 rm -f conftest.err conftest.$ac_objext \
77153 conftest$ac_exeext conftest.$ac_ext
77155 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77156 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77157 if test `eval echo '${'$as_ac_var'}'` = yes; then
77158 cat >>confdefs.h <<_ACEOF
77159 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77160 _ACEOF
77163 done
77171 CXXFLAGS="$ac_save_CXXFLAGS"
77174 # For LFS.
77175 cat >>confdefs.h <<\_ACEOF
77176 #define HAVE_INT64_T 1
77177 _ACEOF
77182 ac_ext=cc
77183 ac_cpp='$CXXCPP $CPPFLAGS'
77184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77188 ac_save_CXXFLAGS="$CXXFLAGS"
77189 CXXFLAGS="$CXXFLAGS -fno-exceptions"
77190 echo "$as_me:$LINENO: checking for LFS support" >&5
77191 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
77192 if test "${glibcxx_cv_LFS+set}" = set; then
77193 echo $ECHO_N "(cached) $ECHO_C" >&6
77194 else
77196 if test x$gcc_no_link = xyes; then
77197 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77198 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77199 { (exit 1); exit 1; }; }
77201 cat >conftest.$ac_ext <<_ACEOF
77202 /* confdefs.h. */
77203 _ACEOF
77204 cat confdefs.h >>conftest.$ac_ext
77205 cat >>conftest.$ac_ext <<_ACEOF
77206 /* end confdefs.h. */
77207 #include <unistd.h>
77208 #include <stdio.h>
77209 #include <sys/stat.h>
77212 main ()
77214 FILE* fp;
77215 fopen64("t", "w");
77216 fseeko64(fp, 0, SEEK_CUR);
77217 ftello64(fp);
77218 lseek64(1, 0, SEEK_CUR);
77219 struct stat64 buf;
77220 fstat64(1, &buf);
77222 return 0;
77224 _ACEOF
77225 rm -f conftest.$ac_objext conftest$ac_exeext
77226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77227 (eval $ac_link) 2>conftest.er1
77228 ac_status=$?
77229 grep -v '^ *+' conftest.er1 >conftest.err
77230 rm -f conftest.er1
77231 cat conftest.err >&5
77232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77233 (exit $ac_status); } &&
77234 { ac_try='test -z "$ac_cxx_werror_flag"
77235 || test ! -s conftest.err'
77236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77237 (eval $ac_try) 2>&5
77238 ac_status=$?
77239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77240 (exit $ac_status); }; } &&
77241 { ac_try='test -s conftest$ac_exeext'
77242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77243 (eval $ac_try) 2>&5
77244 ac_status=$?
77245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77246 (exit $ac_status); }; }; then
77247 glibcxx_cv_LFS=yes
77248 else
77249 echo "$as_me: failed program was:" >&5
77250 sed 's/^/| /' conftest.$ac_ext >&5
77252 glibcxx_cv_LFS=no
77254 rm -f conftest.err conftest.$ac_objext \
77255 conftest$ac_exeext conftest.$ac_ext
77259 if test $glibcxx_cv_LFS = yes; then
77261 cat >>confdefs.h <<\_ACEOF
77262 #define _GLIBCXX_USE_LFS 1
77263 _ACEOF
77266 echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
77267 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
77268 CXXFLAGS="$ac_save_CXXFLAGS"
77269 ac_ext=c
77270 ac_cpp='$CPP $CPPFLAGS'
77271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77277 # For showmanyc_helper().
77280 for ac_header in sys/ioctl.h sys/filio.h
77282 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
77283 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77284 echo "$as_me:$LINENO: checking for $ac_header" >&5
77285 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77286 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77287 echo $ECHO_N "(cached) $ECHO_C" >&6
77289 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77290 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77291 else
77292 # Is the header compilable?
77293 echo "$as_me:$LINENO: checking $ac_header usability" >&5
77294 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
77295 cat >conftest.$ac_ext <<_ACEOF
77296 /* confdefs.h. */
77297 _ACEOF
77298 cat confdefs.h >>conftest.$ac_ext
77299 cat >>conftest.$ac_ext <<_ACEOF
77300 /* end confdefs.h. */
77301 $ac_includes_default
77302 #include <$ac_header>
77303 _ACEOF
77304 rm -f conftest.$ac_objext
77305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77306 (eval $ac_compile) 2>conftest.er1
77307 ac_status=$?
77308 grep -v '^ *+' conftest.er1 >conftest.err
77309 rm -f conftest.er1
77310 cat conftest.err >&5
77311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77312 (exit $ac_status); } &&
77313 { ac_try='test -z "$ac_c_werror_flag"
77314 || test ! -s conftest.err'
77315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77316 (eval $ac_try) 2>&5
77317 ac_status=$?
77318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77319 (exit $ac_status); }; } &&
77320 { ac_try='test -s conftest.$ac_objext'
77321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77322 (eval $ac_try) 2>&5
77323 ac_status=$?
77324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77325 (exit $ac_status); }; }; then
77326 ac_header_compiler=yes
77327 else
77328 echo "$as_me: failed program was:" >&5
77329 sed 's/^/| /' conftest.$ac_ext >&5
77331 ac_header_compiler=no
77333 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77334 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77335 echo "${ECHO_T}$ac_header_compiler" >&6
77337 # Is the header present?
77338 echo "$as_me:$LINENO: checking $ac_header presence" >&5
77339 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
77340 cat >conftest.$ac_ext <<_ACEOF
77341 /* confdefs.h. */
77342 _ACEOF
77343 cat confdefs.h >>conftest.$ac_ext
77344 cat >>conftest.$ac_ext <<_ACEOF
77345 /* end confdefs.h. */
77346 #include <$ac_header>
77347 _ACEOF
77348 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77349 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77350 ac_status=$?
77351 grep -v '^ *+' conftest.er1 >conftest.err
77352 rm -f conftest.er1
77353 cat conftest.err >&5
77354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77355 (exit $ac_status); } >/dev/null; then
77356 if test -s conftest.err; then
77357 ac_cpp_err=$ac_c_preproc_warn_flag
77358 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
77359 else
77360 ac_cpp_err=
77362 else
77363 ac_cpp_err=yes
77365 if test -z "$ac_cpp_err"; then
77366 ac_header_preproc=yes
77367 else
77368 echo "$as_me: failed program was:" >&5
77369 sed 's/^/| /' conftest.$ac_ext >&5
77371 ac_header_preproc=no
77373 rm -f conftest.err conftest.$ac_ext
77374 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77375 echo "${ECHO_T}$ac_header_preproc" >&6
77377 # So? What about this header?
77378 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
77379 yes:no: )
77380 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
77381 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
77382 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
77383 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
77384 ac_header_preproc=yes
77386 no:yes:* )
77387 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
77388 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
77389 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
77390 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
77391 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
77392 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
77393 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
77394 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
77395 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
77396 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
77397 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
77398 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
77400 cat <<\_ASBOX
77401 ## ----------------------------------------- ##
77402 ## Report this to the package-unused lists. ##
77403 ## ----------------------------------------- ##
77404 _ASBOX
77406 sed "s/^/$as_me: WARNING: /" >&2
77408 esac
77409 echo "$as_me:$LINENO: checking for $ac_header" >&5
77410 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77411 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77412 echo $ECHO_N "(cached) $ECHO_C" >&6
77413 else
77414 eval "$as_ac_Header=\$ac_header_preproc"
77416 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77417 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77420 if test `eval echo '${'$as_ac_Header'}'` = yes; then
77421 cat >>confdefs.h <<_ACEOF
77422 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
77423 _ACEOF
77427 done
77430 echo "$as_me:$LINENO: checking for poll" >&5
77431 echo $ECHO_N "checking for poll... $ECHO_C" >&6
77432 if test "${glibcxx_cv_POLL+set}" = set; then
77433 echo $ECHO_N "(cached) $ECHO_C" >&6
77434 else
77436 if test x$gcc_no_link = xyes; then
77437 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77438 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77439 { (exit 1); exit 1; }; }
77441 cat >conftest.$ac_ext <<_ACEOF
77442 /* confdefs.h. */
77443 _ACEOF
77444 cat confdefs.h >>conftest.$ac_ext
77445 cat >>conftest.$ac_ext <<_ACEOF
77446 /* end confdefs.h. */
77447 #include <poll.h>
77449 main ()
77451 struct pollfd pfd[1];
77452 pfd[0].events = POLLIN;
77453 poll(pfd, 1, 0);
77455 return 0;
77457 _ACEOF
77458 rm -f conftest.$ac_objext conftest$ac_exeext
77459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77460 (eval $ac_link) 2>conftest.er1
77461 ac_status=$?
77462 grep -v '^ *+' conftest.er1 >conftest.err
77463 rm -f conftest.er1
77464 cat conftest.err >&5
77465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77466 (exit $ac_status); } &&
77467 { ac_try='test -z "$ac_c_werror_flag"
77468 || test ! -s conftest.err'
77469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77470 (eval $ac_try) 2>&5
77471 ac_status=$?
77472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77473 (exit $ac_status); }; } &&
77474 { ac_try='test -s conftest$ac_exeext'
77475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77476 (eval $ac_try) 2>&5
77477 ac_status=$?
77478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77479 (exit $ac_status); }; }; then
77480 glibcxx_cv_POLL=yes
77481 else
77482 echo "$as_me: failed program was:" >&5
77483 sed 's/^/| /' conftest.$ac_ext >&5
77485 glibcxx_cv_POLL=no
77487 rm -f conftest.err conftest.$ac_objext \
77488 conftest$ac_exeext conftest.$ac_ext
77492 if test $glibcxx_cv_POLL = yes; then
77494 cat >>confdefs.h <<\_ACEOF
77495 #define HAVE_POLL 1
77496 _ACEOF
77499 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
77500 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
77503 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
77504 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
77505 if test "${glibcxx_cv_S_ISREG+set}" = set; then
77506 echo $ECHO_N "(cached) $ECHO_C" >&6
77507 else
77509 if test x$gcc_no_link = xyes; then
77510 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77511 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77512 { (exit 1); exit 1; }; }
77514 cat >conftest.$ac_ext <<_ACEOF
77515 /* confdefs.h. */
77516 _ACEOF
77517 cat confdefs.h >>conftest.$ac_ext
77518 cat >>conftest.$ac_ext <<_ACEOF
77519 /* end confdefs.h. */
77520 #include <sys/stat.h>
77522 main ()
77524 struct stat buffer;
77525 fstat(0, &buffer);
77526 S_ISREG(buffer.st_mode);
77528 return 0;
77530 _ACEOF
77531 rm -f conftest.$ac_objext conftest$ac_exeext
77532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77533 (eval $ac_link) 2>conftest.er1
77534 ac_status=$?
77535 grep -v '^ *+' conftest.er1 >conftest.err
77536 rm -f conftest.er1
77537 cat conftest.err >&5
77538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77539 (exit $ac_status); } &&
77540 { ac_try='test -z "$ac_c_werror_flag"
77541 || test ! -s conftest.err'
77542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77543 (eval $ac_try) 2>&5
77544 ac_status=$?
77545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77546 (exit $ac_status); }; } &&
77547 { ac_try='test -s conftest$ac_exeext'
77548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77549 (eval $ac_try) 2>&5
77550 ac_status=$?
77551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77552 (exit $ac_status); }; }; then
77553 glibcxx_cv_S_ISREG=yes
77554 else
77555 echo "$as_me: failed program was:" >&5
77556 sed 's/^/| /' conftest.$ac_ext >&5
77558 glibcxx_cv_S_ISREG=no
77560 rm -f conftest.err conftest.$ac_objext \
77561 conftest$ac_exeext conftest.$ac_ext
77565 if test "${glibcxx_cv_S_IFREG+set}" = set; then
77566 echo $ECHO_N "(cached) $ECHO_C" >&6
77567 else
77569 if test x$gcc_no_link = xyes; then
77570 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77571 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77572 { (exit 1); exit 1; }; }
77574 cat >conftest.$ac_ext <<_ACEOF
77575 /* confdefs.h. */
77576 _ACEOF
77577 cat confdefs.h >>conftest.$ac_ext
77578 cat >>conftest.$ac_ext <<_ACEOF
77579 /* end confdefs.h. */
77580 #include <sys/stat.h>
77582 main ()
77584 struct stat buffer;
77585 fstat(0, &buffer);
77586 S_IFREG & buffer.st_mode;
77588 return 0;
77590 _ACEOF
77591 rm -f conftest.$ac_objext conftest$ac_exeext
77592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77593 (eval $ac_link) 2>conftest.er1
77594 ac_status=$?
77595 grep -v '^ *+' conftest.er1 >conftest.err
77596 rm -f conftest.er1
77597 cat conftest.err >&5
77598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77599 (exit $ac_status); } &&
77600 { ac_try='test -z "$ac_c_werror_flag"
77601 || test ! -s conftest.err'
77602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77603 (eval $ac_try) 2>&5
77604 ac_status=$?
77605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77606 (exit $ac_status); }; } &&
77607 { ac_try='test -s conftest$ac_exeext'
77608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77609 (eval $ac_try) 2>&5
77610 ac_status=$?
77611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77612 (exit $ac_status); }; }; then
77613 glibcxx_cv_S_IFREG=yes
77614 else
77615 echo "$as_me: failed program was:" >&5
77616 sed 's/^/| /' conftest.$ac_ext >&5
77618 glibcxx_cv_S_IFREG=no
77620 rm -f conftest.err conftest.$ac_objext \
77621 conftest$ac_exeext conftest.$ac_ext
77625 res=no
77626 if test $glibcxx_cv_S_ISREG = yes; then
77628 cat >>confdefs.h <<\_ACEOF
77629 #define HAVE_S_ISREG 1
77630 _ACEOF
77632 res=S_ISREG
77633 elif test $glibcxx_cv_S_IFREG = yes; then
77635 cat >>confdefs.h <<\_ACEOF
77636 #define HAVE_S_IFREG 1
77637 _ACEOF
77639 res=S_IFREG
77641 echo "$as_me:$LINENO: result: $res" >&5
77642 echo "${ECHO_T}$res" >&6
77645 # For xsputn_2().
77647 for ac_header in sys/uio.h
77649 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
77650 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77651 echo "$as_me:$LINENO: checking for $ac_header" >&5
77652 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77653 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77654 echo $ECHO_N "(cached) $ECHO_C" >&6
77656 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77657 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77658 else
77659 # Is the header compilable?
77660 echo "$as_me:$LINENO: checking $ac_header usability" >&5
77661 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
77662 cat >conftest.$ac_ext <<_ACEOF
77663 /* confdefs.h. */
77664 _ACEOF
77665 cat confdefs.h >>conftest.$ac_ext
77666 cat >>conftest.$ac_ext <<_ACEOF
77667 /* end confdefs.h. */
77668 $ac_includes_default
77669 #include <$ac_header>
77670 _ACEOF
77671 rm -f conftest.$ac_objext
77672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77673 (eval $ac_compile) 2>conftest.er1
77674 ac_status=$?
77675 grep -v '^ *+' conftest.er1 >conftest.err
77676 rm -f conftest.er1
77677 cat conftest.err >&5
77678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77679 (exit $ac_status); } &&
77680 { ac_try='test -z "$ac_c_werror_flag"
77681 || test ! -s conftest.err'
77682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77683 (eval $ac_try) 2>&5
77684 ac_status=$?
77685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77686 (exit $ac_status); }; } &&
77687 { ac_try='test -s conftest.$ac_objext'
77688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77689 (eval $ac_try) 2>&5
77690 ac_status=$?
77691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77692 (exit $ac_status); }; }; then
77693 ac_header_compiler=yes
77694 else
77695 echo "$as_me: failed program was:" >&5
77696 sed 's/^/| /' conftest.$ac_ext >&5
77698 ac_header_compiler=no
77700 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77701 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77702 echo "${ECHO_T}$ac_header_compiler" >&6
77704 # Is the header present?
77705 echo "$as_me:$LINENO: checking $ac_header presence" >&5
77706 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
77707 cat >conftest.$ac_ext <<_ACEOF
77708 /* confdefs.h. */
77709 _ACEOF
77710 cat confdefs.h >>conftest.$ac_ext
77711 cat >>conftest.$ac_ext <<_ACEOF
77712 /* end confdefs.h. */
77713 #include <$ac_header>
77714 _ACEOF
77715 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77716 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77717 ac_status=$?
77718 grep -v '^ *+' conftest.er1 >conftest.err
77719 rm -f conftest.er1
77720 cat conftest.err >&5
77721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77722 (exit $ac_status); } >/dev/null; then
77723 if test -s conftest.err; then
77724 ac_cpp_err=$ac_c_preproc_warn_flag
77725 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
77726 else
77727 ac_cpp_err=
77729 else
77730 ac_cpp_err=yes
77732 if test -z "$ac_cpp_err"; then
77733 ac_header_preproc=yes
77734 else
77735 echo "$as_me: failed program was:" >&5
77736 sed 's/^/| /' conftest.$ac_ext >&5
77738 ac_header_preproc=no
77740 rm -f conftest.err conftest.$ac_ext
77741 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77742 echo "${ECHO_T}$ac_header_preproc" >&6
77744 # So? What about this header?
77745 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
77746 yes:no: )
77747 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
77748 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
77749 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
77750 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
77751 ac_header_preproc=yes
77753 no:yes:* )
77754 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
77755 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
77756 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
77757 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
77758 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
77759 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
77760 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
77761 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
77762 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
77763 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
77764 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
77765 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
77767 cat <<\_ASBOX
77768 ## ----------------------------------------- ##
77769 ## Report this to the package-unused lists. ##
77770 ## ----------------------------------------- ##
77771 _ASBOX
77773 sed "s/^/$as_me: WARNING: /" >&2
77775 esac
77776 echo "$as_me:$LINENO: checking for $ac_header" >&5
77777 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77778 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77779 echo $ECHO_N "(cached) $ECHO_C" >&6
77780 else
77781 eval "$as_ac_Header=\$ac_header_preproc"
77783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77784 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77787 if test `eval echo '${'$as_ac_Header'}'` = yes; then
77788 cat >>confdefs.h <<_ACEOF
77789 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
77790 _ACEOF
77794 done
77797 echo "$as_me:$LINENO: checking for writev" >&5
77798 echo $ECHO_N "checking for writev... $ECHO_C" >&6
77799 if test "${glibcxx_cv_WRITEV+set}" = set; then
77800 echo $ECHO_N "(cached) $ECHO_C" >&6
77801 else
77803 if test x$gcc_no_link = xyes; then
77804 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77805 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77806 { (exit 1); exit 1; }; }
77808 cat >conftest.$ac_ext <<_ACEOF
77809 /* confdefs.h. */
77810 _ACEOF
77811 cat confdefs.h >>conftest.$ac_ext
77812 cat >>conftest.$ac_ext <<_ACEOF
77813 /* end confdefs.h. */
77814 #include <sys/uio.h>
77816 main ()
77818 struct iovec iov[2];
77819 writev(0, iov, 0);
77821 return 0;
77823 _ACEOF
77824 rm -f conftest.$ac_objext conftest$ac_exeext
77825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77826 (eval $ac_link) 2>conftest.er1
77827 ac_status=$?
77828 grep -v '^ *+' conftest.er1 >conftest.err
77829 rm -f conftest.er1
77830 cat conftest.err >&5
77831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77832 (exit $ac_status); } &&
77833 { ac_try='test -z "$ac_c_werror_flag"
77834 || test ! -s conftest.err'
77835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77836 (eval $ac_try) 2>&5
77837 ac_status=$?
77838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77839 (exit $ac_status); }; } &&
77840 { ac_try='test -s conftest$ac_exeext'
77841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77842 (eval $ac_try) 2>&5
77843 ac_status=$?
77844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77845 (exit $ac_status); }; }; then
77846 glibcxx_cv_WRITEV=yes
77847 else
77848 echo "$as_me: failed program was:" >&5
77849 sed 's/^/| /' conftest.$ac_ext >&5
77851 glibcxx_cv_WRITEV=no
77853 rm -f conftest.err conftest.$ac_objext \
77854 conftest$ac_exeext conftest.$ac_ext
77858 if test $glibcxx_cv_WRITEV = yes; then
77860 cat >>confdefs.h <<\_ACEOF
77861 #define HAVE_WRITEV 1
77862 _ACEOF
77865 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
77866 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
77869 *-mingw32*)
77873 for ac_header in sys/types.h locale.h float.h
77875 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
77876 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77877 echo "$as_me:$LINENO: checking for $ac_header" >&5
77878 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77879 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77880 echo $ECHO_N "(cached) $ECHO_C" >&6
77882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77883 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77884 else
77885 # Is the header compilable?
77886 echo "$as_me:$LINENO: checking $ac_header usability" >&5
77887 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
77888 cat >conftest.$ac_ext <<_ACEOF
77889 /* confdefs.h. */
77890 _ACEOF
77891 cat confdefs.h >>conftest.$ac_ext
77892 cat >>conftest.$ac_ext <<_ACEOF
77893 /* end confdefs.h. */
77894 $ac_includes_default
77895 #include <$ac_header>
77896 _ACEOF
77897 rm -f conftest.$ac_objext
77898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77899 (eval $ac_compile) 2>conftest.er1
77900 ac_status=$?
77901 grep -v '^ *+' conftest.er1 >conftest.err
77902 rm -f conftest.er1
77903 cat conftest.err >&5
77904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77905 (exit $ac_status); } &&
77906 { ac_try='test -z "$ac_c_werror_flag"
77907 || test ! -s conftest.err'
77908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77909 (eval $ac_try) 2>&5
77910 ac_status=$?
77911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77912 (exit $ac_status); }; } &&
77913 { ac_try='test -s conftest.$ac_objext'
77914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77915 (eval $ac_try) 2>&5
77916 ac_status=$?
77917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77918 (exit $ac_status); }; }; then
77919 ac_header_compiler=yes
77920 else
77921 echo "$as_me: failed program was:" >&5
77922 sed 's/^/| /' conftest.$ac_ext >&5
77924 ac_header_compiler=no
77926 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77927 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77928 echo "${ECHO_T}$ac_header_compiler" >&6
77930 # Is the header present?
77931 echo "$as_me:$LINENO: checking $ac_header presence" >&5
77932 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
77933 cat >conftest.$ac_ext <<_ACEOF
77934 /* confdefs.h. */
77935 _ACEOF
77936 cat confdefs.h >>conftest.$ac_ext
77937 cat >>conftest.$ac_ext <<_ACEOF
77938 /* end confdefs.h. */
77939 #include <$ac_header>
77940 _ACEOF
77941 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77942 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77943 ac_status=$?
77944 grep -v '^ *+' conftest.er1 >conftest.err
77945 rm -f conftest.er1
77946 cat conftest.err >&5
77947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77948 (exit $ac_status); } >/dev/null; then
77949 if test -s conftest.err; then
77950 ac_cpp_err=$ac_c_preproc_warn_flag
77951 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
77952 else
77953 ac_cpp_err=
77955 else
77956 ac_cpp_err=yes
77958 if test -z "$ac_cpp_err"; then
77959 ac_header_preproc=yes
77960 else
77961 echo "$as_me: failed program was:" >&5
77962 sed 's/^/| /' conftest.$ac_ext >&5
77964 ac_header_preproc=no
77966 rm -f conftest.err conftest.$ac_ext
77967 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77968 echo "${ECHO_T}$ac_header_preproc" >&6
77970 # So? What about this header?
77971 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
77972 yes:no: )
77973 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
77974 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
77975 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
77976 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
77977 ac_header_preproc=yes
77979 no:yes:* )
77980 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
77981 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
77982 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
77983 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
77984 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
77985 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
77986 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
77987 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
77988 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
77989 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
77990 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
77991 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
77993 cat <<\_ASBOX
77994 ## ----------------------------------------- ##
77995 ## Report this to the package-unused lists. ##
77996 ## ----------------------------------------- ##
77997 _ASBOX
77999 sed "s/^/$as_me: WARNING: /" >&2
78001 esac
78002 echo "$as_me:$LINENO: checking for $ac_header" >&5
78003 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78004 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78005 echo $ECHO_N "(cached) $ECHO_C" >&6
78006 else
78007 eval "$as_ac_Header=\$ac_header_preproc"
78009 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78010 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78013 if test `eval echo '${'$as_ac_Header'}'` = yes; then
78014 cat >>confdefs.h <<_ACEOF
78015 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
78016 _ACEOF
78020 done
78023 # If we're not using GNU ld, then there's no point in even trying these
78024 # tests. Check for that first. We should have already tested for gld
78025 # by now (in libtool), but require it now just to be safe...
78026 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
78027 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
78031 # The name set by libtool depends on the version of libtool. Shame on us
78032 # for depending on an impl detail, but c'est la vie. Older versions used
78033 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
78034 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
78035 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
78036 # set (hence we're using an older libtool), then set it.
78037 if test x${with_gnu_ld+set} != xset; then
78038 if test x${ac_cv_prog_gnu_ld+set} != xset; then
78039 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
78040 with_gnu_ld=no
78041 else
78042 with_gnu_ld=$ac_cv_prog_gnu_ld
78046 # Start by getting the version number. I think the libtool test already
78047 # does some of this, but throws away the result.
78048 if test x"$with_gnu_ld" = x"yes"; then
78049 echo "$as_me:$LINENO: checking for ld version" >&5
78050 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
78052 ldver=`$LD --version 2>/dev/null | head -1 | \
78053 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
78055 glibcxx_gnu_ld_version=`echo $ldver | \
78056 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
78057 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
78058 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
78061 # Set --gc-sections.
78062 glibcxx_gcsections_min_ld=21602
78063 if test x"$with_gnu_ld" = x"yes" &&
78064 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
78066 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
78067 # NB: This flag only works reliably after 2.16.1. Configure tests
78068 # for this are difficult, so hard wire a value that should work.
78070 # All these tests are for C++, but run with the "C" compiler driver.
78071 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
78072 ac_test_CFLAGS="${CFLAGS+set}"
78073 ac_save_CFLAGS="$CFLAGS"
78074 CFLAGS='-x c++ -Wl,--gc-sections'
78076 # Check for -Wl,--gc-sections
78077 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
78078 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
78079 if test x$gcc_no_link = xyes; then
78080 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78081 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78082 { (exit 1); exit 1; }; }
78084 cat >conftest.$ac_ext <<_ACEOF
78085 /* confdefs.h. */
78086 _ACEOF
78087 cat confdefs.h >>conftest.$ac_ext
78088 cat >>conftest.$ac_ext <<_ACEOF
78089 /* end confdefs.h. */
78090 int one(void) { return 1; }
78091 int two(void) { return 2; }
78094 main ()
78096 two();
78098 return 0;
78100 _ACEOF
78101 rm -f conftest.$ac_objext conftest$ac_exeext
78102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78103 (eval $ac_link) 2>conftest.er1
78104 ac_status=$?
78105 grep -v '^ *+' conftest.er1 >conftest.err
78106 rm -f conftest.er1
78107 cat conftest.err >&5
78108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78109 (exit $ac_status); } &&
78110 { ac_try='test -z "$ac_c_werror_flag"
78111 || test ! -s conftest.err'
78112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78113 (eval $ac_try) 2>&5
78114 ac_status=$?
78115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78116 (exit $ac_status); }; } &&
78117 { ac_try='test -s conftest$ac_exeext'
78118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78119 (eval $ac_try) 2>&5
78120 ac_status=$?
78121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78122 (exit $ac_status); }; }; then
78123 ac_gcsections=yes
78124 else
78125 echo "$as_me: failed program was:" >&5
78126 sed 's/^/| /' conftest.$ac_ext >&5
78128 ac_gcsections=no
78130 rm -f conftest.err conftest.$ac_objext \
78131 conftest$ac_exeext conftest.$ac_ext
78132 if test "$ac_gcsections" = "yes"; then
78133 rm -f conftest.c
78134 touch conftest.c
78135 if $CC -c conftest.c; then
78136 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
78137 grep "Warning: gc-sections option ignored" > /dev/null; then
78138 ac_gcsections=no
78141 rm -f conftest.c conftest.o conftest
78143 if test "$ac_gcsections" = "yes"; then
78144 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
78146 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
78147 echo "${ECHO_T}$ac_gcsections" >&6
78149 if test "$ac_test_CFLAGS" = set; then
78150 CFLAGS="$ac_save_CFLAGS"
78151 else
78152 # this is the suspicious part
78153 CFLAGS=''
78157 # Set -z,relro.
78158 # Note this is only for shared objects.
78159 ac_ld_relro=no
78160 if test x"$with_gnu_ld" = x"yes"; then
78161 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
78162 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
78163 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
78164 if test -n "$cxx_z_relo"; then
78165 OPT_LDFLAGS="-Wl,-z,relro"
78166 ac_ld_relro=yes
78168 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
78169 echo "${ECHO_T}$ac_ld_relro" >&6
78172 # Set linker optimization flags.
78173 if test x"$with_gnu_ld" = x"yes"; then
78174 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
78182 echo "$as_me:$LINENO: checking for main in -lm" >&5
78183 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
78184 if test "${ac_cv_lib_m_main+set}" = set; then
78185 echo $ECHO_N "(cached) $ECHO_C" >&6
78186 else
78187 ac_check_lib_save_LIBS=$LIBS
78188 LIBS="-lm $LIBS"
78189 if test x$gcc_no_link = xyes; then
78190 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78191 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78192 { (exit 1); exit 1; }; }
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. */
78203 main ()
78205 main ();
78207 return 0;
78209 _ACEOF
78210 rm -f conftest.$ac_objext conftest$ac_exeext
78211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78212 (eval $ac_link) 2>conftest.er1
78213 ac_status=$?
78214 grep -v '^ *+' conftest.er1 >conftest.err
78215 rm -f conftest.er1
78216 cat conftest.err >&5
78217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78218 (exit $ac_status); } &&
78219 { ac_try='test -z "$ac_c_werror_flag"
78220 || test ! -s conftest.err'
78221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78222 (eval $ac_try) 2>&5
78223 ac_status=$?
78224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78225 (exit $ac_status); }; } &&
78226 { ac_try='test -s conftest$ac_exeext'
78227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78228 (eval $ac_try) 2>&5
78229 ac_status=$?
78230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78231 (exit $ac_status); }; }; then
78232 ac_cv_lib_m_main=yes
78233 else
78234 echo "$as_me: failed program was:" >&5
78235 sed 's/^/| /' conftest.$ac_ext >&5
78237 ac_cv_lib_m_main=no
78239 rm -f conftest.err conftest.$ac_objext \
78240 conftest$ac_exeext conftest.$ac_ext
78241 LIBS=$ac_check_lib_save_LIBS
78243 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
78244 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
78245 if test $ac_cv_lib_m_main = yes; then
78246 cat >>confdefs.h <<_ACEOF
78247 #define HAVE_LIBM 1
78248 _ACEOF
78250 LIBS="-lm $LIBS"
78255 for ac_func in copysignf
78257 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78258 echo "$as_me:$LINENO: checking for $ac_func" >&5
78259 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78260 if eval "test \"\${$as_ac_var+set}\" = set"; then
78261 echo $ECHO_N "(cached) $ECHO_C" >&6
78262 else
78263 if test x$gcc_no_link = xyes; then
78264 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78265 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78266 { (exit 1); exit 1; }; }
78268 cat >conftest.$ac_ext <<_ACEOF
78269 /* confdefs.h. */
78270 _ACEOF
78271 cat confdefs.h >>conftest.$ac_ext
78272 cat >>conftest.$ac_ext <<_ACEOF
78273 /* end confdefs.h. */
78274 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78275 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78276 #define $ac_func innocuous_$ac_func
78278 /* System header to define __stub macros and hopefully few prototypes,
78279 which can conflict with char $ac_func (); below.
78280 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78281 <limits.h> exists even on freestanding compilers. */
78283 #ifdef __STDC__
78284 # include <limits.h>
78285 #else
78286 # include <assert.h>
78287 #endif
78289 #undef $ac_func
78291 /* Override any gcc2 internal prototype to avoid an error. */
78292 #ifdef __cplusplus
78293 extern "C"
78295 #endif
78296 /* We use char because int might match the return type of a gcc2
78297 builtin and then its argument prototype would still apply. */
78298 char $ac_func ();
78299 /* The GNU C library defines this for functions which it implements
78300 to always fail with ENOSYS. Some functions are actually named
78301 something starting with __ and the normal name is an alias. */
78302 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78303 choke me
78304 #else
78305 char (*f) () = $ac_func;
78306 #endif
78307 #ifdef __cplusplus
78309 #endif
78312 main ()
78314 return f != $ac_func;
78316 return 0;
78318 _ACEOF
78319 rm -f conftest.$ac_objext conftest$ac_exeext
78320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78321 (eval $ac_link) 2>conftest.er1
78322 ac_status=$?
78323 grep -v '^ *+' conftest.er1 >conftest.err
78324 rm -f conftest.er1
78325 cat conftest.err >&5
78326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78327 (exit $ac_status); } &&
78328 { ac_try='test -z "$ac_c_werror_flag"
78329 || test ! -s conftest.err'
78330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78331 (eval $ac_try) 2>&5
78332 ac_status=$?
78333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78334 (exit $ac_status); }; } &&
78335 { ac_try='test -s conftest$ac_exeext'
78336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78337 (eval $ac_try) 2>&5
78338 ac_status=$?
78339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78340 (exit $ac_status); }; }; then
78341 eval "$as_ac_var=yes"
78342 else
78343 echo "$as_me: failed program was:" >&5
78344 sed 's/^/| /' conftest.$ac_ext >&5
78346 eval "$as_ac_var=no"
78348 rm -f conftest.err conftest.$ac_objext \
78349 conftest$ac_exeext conftest.$ac_ext
78351 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78352 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78353 if test `eval echo '${'$as_ac_var'}'` = yes; then
78354 cat >>confdefs.h <<_ACEOF
78355 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78356 _ACEOF
78358 else
78359 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
78361 done
78365 for ac_func in __signbit
78367 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78368 echo "$as_me:$LINENO: checking for $ac_func" >&5
78369 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78370 if eval "test \"\${$as_ac_var+set}\" = set"; then
78371 echo $ECHO_N "(cached) $ECHO_C" >&6
78372 else
78373 if test x$gcc_no_link = xyes; then
78374 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78375 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78376 { (exit 1); exit 1; }; }
78378 cat >conftest.$ac_ext <<_ACEOF
78379 /* confdefs.h. */
78380 _ACEOF
78381 cat confdefs.h >>conftest.$ac_ext
78382 cat >>conftest.$ac_ext <<_ACEOF
78383 /* end confdefs.h. */
78384 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78385 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78386 #define $ac_func innocuous_$ac_func
78388 /* System header to define __stub macros and hopefully few prototypes,
78389 which can conflict with char $ac_func (); below.
78390 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78391 <limits.h> exists even on freestanding compilers. */
78393 #ifdef __STDC__
78394 # include <limits.h>
78395 #else
78396 # include <assert.h>
78397 #endif
78399 #undef $ac_func
78401 /* Override any gcc2 internal prototype to avoid an error. */
78402 #ifdef __cplusplus
78403 extern "C"
78405 #endif
78406 /* We use char because int might match the return type of a gcc2
78407 builtin and then its argument prototype would still apply. */
78408 char $ac_func ();
78409 /* The GNU C library defines this for functions which it implements
78410 to always fail with ENOSYS. Some functions are actually named
78411 something starting with __ and the normal name is an alias. */
78412 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78413 choke me
78414 #else
78415 char (*f) () = $ac_func;
78416 #endif
78417 #ifdef __cplusplus
78419 #endif
78422 main ()
78424 return f != $ac_func;
78426 return 0;
78428 _ACEOF
78429 rm -f conftest.$ac_objext conftest$ac_exeext
78430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78431 (eval $ac_link) 2>conftest.er1
78432 ac_status=$?
78433 grep -v '^ *+' conftest.er1 >conftest.err
78434 rm -f conftest.er1
78435 cat conftest.err >&5
78436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78437 (exit $ac_status); } &&
78438 { ac_try='test -z "$ac_c_werror_flag"
78439 || test ! -s conftest.err'
78440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78441 (eval $ac_try) 2>&5
78442 ac_status=$?
78443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78444 (exit $ac_status); }; } &&
78445 { ac_try='test -s conftest$ac_exeext'
78446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78447 (eval $ac_try) 2>&5
78448 ac_status=$?
78449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78450 (exit $ac_status); }; }; then
78451 eval "$as_ac_var=yes"
78452 else
78453 echo "$as_me: failed program was:" >&5
78454 sed 's/^/| /' conftest.$ac_ext >&5
78456 eval "$as_ac_var=no"
78458 rm -f conftest.err conftest.$ac_objext \
78459 conftest$ac_exeext conftest.$ac_ext
78461 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78462 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78463 if test `eval echo '${'$as_ac_var'}'` = yes; then
78464 cat >>confdefs.h <<_ACEOF
78465 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78466 _ACEOF
78468 else
78469 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
78471 done
78475 for ac_func in __signbitf
78477 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78478 echo "$as_me:$LINENO: checking for $ac_func" >&5
78479 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78480 if eval "test \"\${$as_ac_var+set}\" = set"; then
78481 echo $ECHO_N "(cached) $ECHO_C" >&6
78482 else
78483 if test x$gcc_no_link = xyes; then
78484 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78485 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78486 { (exit 1); exit 1; }; }
78488 cat >conftest.$ac_ext <<_ACEOF
78489 /* confdefs.h. */
78490 _ACEOF
78491 cat confdefs.h >>conftest.$ac_ext
78492 cat >>conftest.$ac_ext <<_ACEOF
78493 /* end confdefs.h. */
78494 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78495 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78496 #define $ac_func innocuous_$ac_func
78498 /* System header to define __stub macros and hopefully few prototypes,
78499 which can conflict with char $ac_func (); below.
78500 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78501 <limits.h> exists even on freestanding compilers. */
78503 #ifdef __STDC__
78504 # include <limits.h>
78505 #else
78506 # include <assert.h>
78507 #endif
78509 #undef $ac_func
78511 /* Override any gcc2 internal prototype to avoid an error. */
78512 #ifdef __cplusplus
78513 extern "C"
78515 #endif
78516 /* We use char because int might match the return type of a gcc2
78517 builtin and then its argument prototype would still apply. */
78518 char $ac_func ();
78519 /* The GNU C library defines this for functions which it implements
78520 to always fail with ENOSYS. Some functions are actually named
78521 something starting with __ and the normal name is an alias. */
78522 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78523 choke me
78524 #else
78525 char (*f) () = $ac_func;
78526 #endif
78527 #ifdef __cplusplus
78529 #endif
78532 main ()
78534 return f != $ac_func;
78536 return 0;
78538 _ACEOF
78539 rm -f conftest.$ac_objext conftest$ac_exeext
78540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78541 (eval $ac_link) 2>conftest.er1
78542 ac_status=$?
78543 grep -v '^ *+' conftest.er1 >conftest.err
78544 rm -f conftest.er1
78545 cat conftest.err >&5
78546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78547 (exit $ac_status); } &&
78548 { ac_try='test -z "$ac_c_werror_flag"
78549 || test ! -s conftest.err'
78550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78551 (eval $ac_try) 2>&5
78552 ac_status=$?
78553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78554 (exit $ac_status); }; } &&
78555 { ac_try='test -s conftest$ac_exeext'
78556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78557 (eval $ac_try) 2>&5
78558 ac_status=$?
78559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78560 (exit $ac_status); }; }; then
78561 eval "$as_ac_var=yes"
78562 else
78563 echo "$as_me: failed program was:" >&5
78564 sed 's/^/| /' conftest.$ac_ext >&5
78566 eval "$as_ac_var=no"
78568 rm -f conftest.err conftest.$ac_objext \
78569 conftest$ac_exeext conftest.$ac_ext
78571 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78572 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78573 if test `eval echo '${'$as_ac_var'}'` = yes; then
78574 cat >>confdefs.h <<_ACEOF
78575 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78576 _ACEOF
78578 else
78579 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
78581 done
78584 if test x$ac_cv_func_copysignl = x"yes"; then
78586 for ac_func in __signbitl
78588 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78589 echo "$as_me:$LINENO: checking for $ac_func" >&5
78590 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78591 if eval "test \"\${$as_ac_var+set}\" = set"; then
78592 echo $ECHO_N "(cached) $ECHO_C" >&6
78593 else
78594 if test x$gcc_no_link = xyes; then
78595 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78596 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78597 { (exit 1); exit 1; }; }
78599 cat >conftest.$ac_ext <<_ACEOF
78600 /* confdefs.h. */
78601 _ACEOF
78602 cat confdefs.h >>conftest.$ac_ext
78603 cat >>conftest.$ac_ext <<_ACEOF
78604 /* end confdefs.h. */
78605 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78606 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78607 #define $ac_func innocuous_$ac_func
78609 /* System header to define __stub macros and hopefully few prototypes,
78610 which can conflict with char $ac_func (); below.
78611 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78612 <limits.h> exists even on freestanding compilers. */
78614 #ifdef __STDC__
78615 # include <limits.h>
78616 #else
78617 # include <assert.h>
78618 #endif
78620 #undef $ac_func
78622 /* Override any gcc2 internal prototype to avoid an error. */
78623 #ifdef __cplusplus
78624 extern "C"
78626 #endif
78627 /* We use char because int might match the return type of a gcc2
78628 builtin and then its argument prototype would still apply. */
78629 char $ac_func ();
78630 /* The GNU C library defines this for functions which it implements
78631 to always fail with ENOSYS. Some functions are actually named
78632 something starting with __ and the normal name is an alias. */
78633 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78634 choke me
78635 #else
78636 char (*f) () = $ac_func;
78637 #endif
78638 #ifdef __cplusplus
78640 #endif
78643 main ()
78645 return f != $ac_func;
78647 return 0;
78649 _ACEOF
78650 rm -f conftest.$ac_objext conftest$ac_exeext
78651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78652 (eval $ac_link) 2>conftest.er1
78653 ac_status=$?
78654 grep -v '^ *+' conftest.er1 >conftest.err
78655 rm -f conftest.er1
78656 cat conftest.err >&5
78657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78658 (exit $ac_status); } &&
78659 { ac_try='test -z "$ac_c_werror_flag"
78660 || test ! -s conftest.err'
78661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78662 (eval $ac_try) 2>&5
78663 ac_status=$?
78664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78665 (exit $ac_status); }; } &&
78666 { ac_try='test -s conftest$ac_exeext'
78667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78668 (eval $ac_try) 2>&5
78669 ac_status=$?
78670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78671 (exit $ac_status); }; }; then
78672 eval "$as_ac_var=yes"
78673 else
78674 echo "$as_me: failed program was:" >&5
78675 sed 's/^/| /' conftest.$ac_ext >&5
78677 eval "$as_ac_var=no"
78679 rm -f conftest.err conftest.$ac_objext \
78680 conftest$ac_exeext conftest.$ac_ext
78682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78683 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78684 if test `eval echo '${'$as_ac_var'}'` = yes; then
78685 cat >>confdefs.h <<_ACEOF
78686 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78687 _ACEOF
78689 else
78690 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
78692 done
78696 # Used in libmath/Makefile.am.
78697 if test -n "$LIBMATHOBJS"; then
78698 need_libmath=yes
78703 *-netbsd*)
78716 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
78717 machine/endian.h machine/param.h sys/machine.h sys/types.h \
78718 fp.h locale.h float.h inttypes.h
78720 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
78721 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78722 echo "$as_me:$LINENO: checking for $ac_header" >&5
78723 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78724 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78725 echo $ECHO_N "(cached) $ECHO_C" >&6
78727 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78728 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78729 else
78730 # Is the header compilable?
78731 echo "$as_me:$LINENO: checking $ac_header usability" >&5
78732 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
78733 cat >conftest.$ac_ext <<_ACEOF
78734 /* confdefs.h. */
78735 _ACEOF
78736 cat confdefs.h >>conftest.$ac_ext
78737 cat >>conftest.$ac_ext <<_ACEOF
78738 /* end confdefs.h. */
78739 $ac_includes_default
78740 #include <$ac_header>
78741 _ACEOF
78742 rm -f conftest.$ac_objext
78743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78744 (eval $ac_compile) 2>conftest.er1
78745 ac_status=$?
78746 grep -v '^ *+' conftest.er1 >conftest.err
78747 rm -f conftest.er1
78748 cat conftest.err >&5
78749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78750 (exit $ac_status); } &&
78751 { ac_try='test -z "$ac_c_werror_flag"
78752 || test ! -s conftest.err'
78753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78754 (eval $ac_try) 2>&5
78755 ac_status=$?
78756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78757 (exit $ac_status); }; } &&
78758 { ac_try='test -s conftest.$ac_objext'
78759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78760 (eval $ac_try) 2>&5
78761 ac_status=$?
78762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78763 (exit $ac_status); }; }; then
78764 ac_header_compiler=yes
78765 else
78766 echo "$as_me: failed program was:" >&5
78767 sed 's/^/| /' conftest.$ac_ext >&5
78769 ac_header_compiler=no
78771 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78772 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78773 echo "${ECHO_T}$ac_header_compiler" >&6
78775 # Is the header present?
78776 echo "$as_me:$LINENO: checking $ac_header presence" >&5
78777 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
78778 cat >conftest.$ac_ext <<_ACEOF
78779 /* confdefs.h. */
78780 _ACEOF
78781 cat confdefs.h >>conftest.$ac_ext
78782 cat >>conftest.$ac_ext <<_ACEOF
78783 /* end confdefs.h. */
78784 #include <$ac_header>
78785 _ACEOF
78786 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78787 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78788 ac_status=$?
78789 grep -v '^ *+' conftest.er1 >conftest.err
78790 rm -f conftest.er1
78791 cat conftest.err >&5
78792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78793 (exit $ac_status); } >/dev/null; then
78794 if test -s conftest.err; then
78795 ac_cpp_err=$ac_c_preproc_warn_flag
78796 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78797 else
78798 ac_cpp_err=
78800 else
78801 ac_cpp_err=yes
78803 if test -z "$ac_cpp_err"; then
78804 ac_header_preproc=yes
78805 else
78806 echo "$as_me: failed program was:" >&5
78807 sed 's/^/| /' conftest.$ac_ext >&5
78809 ac_header_preproc=no
78811 rm -f conftest.err conftest.$ac_ext
78812 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78813 echo "${ECHO_T}$ac_header_preproc" >&6
78815 # So? What about this header?
78816 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78817 yes:no: )
78818 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
78819 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
78820 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
78821 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
78822 ac_header_preproc=yes
78824 no:yes:* )
78825 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
78826 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
78827 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
78828 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
78829 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
78830 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
78831 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
78832 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
78833 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
78834 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
78835 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
78836 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
78838 cat <<\_ASBOX
78839 ## ----------------------------------------- ##
78840 ## Report this to the package-unused lists. ##
78841 ## ----------------------------------------- ##
78842 _ASBOX
78844 sed "s/^/$as_me: WARNING: /" >&2
78846 esac
78847 echo "$as_me:$LINENO: checking for $ac_header" >&5
78848 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78849 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78850 echo $ECHO_N "(cached) $ECHO_C" >&6
78851 else
78852 eval "$as_ac_Header=\$ac_header_preproc"
78854 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78855 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78858 if test `eval echo '${'$as_ac_Header'}'` = yes; then
78859 cat >>confdefs.h <<_ACEOF
78860 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
78861 _ACEOF
78865 done
78867 SECTION_FLAGS='-ffunction-sections -fdata-sections'
78870 # If we're not using GNU ld, then there's no point in even trying these
78871 # tests. Check for that first. We should have already tested for gld
78872 # by now (in libtool), but require it now just to be safe...
78873 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
78874 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
78878 # The name set by libtool depends on the version of libtool. Shame on us
78879 # for depending on an impl detail, but c'est la vie. Older versions used
78880 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
78881 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
78882 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
78883 # set (hence we're using an older libtool), then set it.
78884 if test x${with_gnu_ld+set} != xset; then
78885 if test x${ac_cv_prog_gnu_ld+set} != xset; then
78886 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
78887 with_gnu_ld=no
78888 else
78889 with_gnu_ld=$ac_cv_prog_gnu_ld
78893 # Start by getting the version number. I think the libtool test already
78894 # does some of this, but throws away the result.
78895 if test x"$with_gnu_ld" = x"yes"; then
78896 echo "$as_me:$LINENO: checking for ld version" >&5
78897 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
78899 ldver=`$LD --version 2>/dev/null | head -1 | \
78900 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
78902 glibcxx_gnu_ld_version=`echo $ldver | \
78903 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
78904 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
78905 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
78908 # Set --gc-sections.
78909 glibcxx_gcsections_min_ld=21602
78910 if test x"$with_gnu_ld" = x"yes" &&
78911 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
78913 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
78914 # NB: This flag only works reliably after 2.16.1. Configure tests
78915 # for this are difficult, so hard wire a value that should work.
78917 # All these tests are for C++, but run with the "C" compiler driver.
78918 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
78919 ac_test_CFLAGS="${CFLAGS+set}"
78920 ac_save_CFLAGS="$CFLAGS"
78921 CFLAGS='-x c++ -Wl,--gc-sections'
78923 # Check for -Wl,--gc-sections
78924 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
78925 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
78926 if test x$gcc_no_link = xyes; then
78927 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78928 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78929 { (exit 1); exit 1; }; }
78931 cat >conftest.$ac_ext <<_ACEOF
78932 /* confdefs.h. */
78933 _ACEOF
78934 cat confdefs.h >>conftest.$ac_ext
78935 cat >>conftest.$ac_ext <<_ACEOF
78936 /* end confdefs.h. */
78937 int one(void) { return 1; }
78938 int two(void) { return 2; }
78941 main ()
78943 two();
78945 return 0;
78947 _ACEOF
78948 rm -f conftest.$ac_objext conftest$ac_exeext
78949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78950 (eval $ac_link) 2>conftest.er1
78951 ac_status=$?
78952 grep -v '^ *+' conftest.er1 >conftest.err
78953 rm -f conftest.er1
78954 cat conftest.err >&5
78955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78956 (exit $ac_status); } &&
78957 { ac_try='test -z "$ac_c_werror_flag"
78958 || test ! -s conftest.err'
78959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78960 (eval $ac_try) 2>&5
78961 ac_status=$?
78962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78963 (exit $ac_status); }; } &&
78964 { ac_try='test -s conftest$ac_exeext'
78965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78966 (eval $ac_try) 2>&5
78967 ac_status=$?
78968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78969 (exit $ac_status); }; }; then
78970 ac_gcsections=yes
78971 else
78972 echo "$as_me: failed program was:" >&5
78973 sed 's/^/| /' conftest.$ac_ext >&5
78975 ac_gcsections=no
78977 rm -f conftest.err conftest.$ac_objext \
78978 conftest$ac_exeext conftest.$ac_ext
78979 if test "$ac_gcsections" = "yes"; then
78980 rm -f conftest.c
78981 touch conftest.c
78982 if $CC -c conftest.c; then
78983 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
78984 grep "Warning: gc-sections option ignored" > /dev/null; then
78985 ac_gcsections=no
78988 rm -f conftest.c conftest.o conftest
78990 if test "$ac_gcsections" = "yes"; then
78991 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
78993 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
78994 echo "${ECHO_T}$ac_gcsections" >&6
78996 if test "$ac_test_CFLAGS" = set; then
78997 CFLAGS="$ac_save_CFLAGS"
78998 else
78999 # this is the suspicious part
79000 CFLAGS=''
79004 # Set -z,relro.
79005 # Note this is only for shared objects.
79006 ac_ld_relro=no
79007 if test x"$with_gnu_ld" = x"yes"; then
79008 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
79009 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
79010 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
79011 if test -n "$cxx_z_relo"; then
79012 OPT_LDFLAGS="-Wl,-z,relro"
79013 ac_ld_relro=yes
79015 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
79016 echo "${ECHO_T}$ac_ld_relro" >&6
79019 # Set linker optimization flags.
79020 if test x"$with_gnu_ld" = x"yes"; then
79021 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
79029 echo "$as_me:$LINENO: checking for main in -lm" >&5
79030 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
79031 if test "${ac_cv_lib_m_main+set}" = set; then
79032 echo $ECHO_N "(cached) $ECHO_C" >&6
79033 else
79034 ac_check_lib_save_LIBS=$LIBS
79035 LIBS="-lm $LIBS"
79036 if test x$gcc_no_link = xyes; then
79037 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79038 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79039 { (exit 1); exit 1; }; }
79041 cat >conftest.$ac_ext <<_ACEOF
79042 /* confdefs.h. */
79043 _ACEOF
79044 cat confdefs.h >>conftest.$ac_ext
79045 cat >>conftest.$ac_ext <<_ACEOF
79046 /* end confdefs.h. */
79050 main ()
79052 main ();
79054 return 0;
79056 _ACEOF
79057 rm -f conftest.$ac_objext conftest$ac_exeext
79058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79059 (eval $ac_link) 2>conftest.er1
79060 ac_status=$?
79061 grep -v '^ *+' conftest.er1 >conftest.err
79062 rm -f conftest.er1
79063 cat conftest.err >&5
79064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79065 (exit $ac_status); } &&
79066 { ac_try='test -z "$ac_c_werror_flag"
79067 || test ! -s conftest.err'
79068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79069 (eval $ac_try) 2>&5
79070 ac_status=$?
79071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79072 (exit $ac_status); }; } &&
79073 { ac_try='test -s conftest$ac_exeext'
79074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79075 (eval $ac_try) 2>&5
79076 ac_status=$?
79077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79078 (exit $ac_status); }; }; then
79079 ac_cv_lib_m_main=yes
79080 else
79081 echo "$as_me: failed program was:" >&5
79082 sed 's/^/| /' conftest.$ac_ext >&5
79084 ac_cv_lib_m_main=no
79086 rm -f conftest.err conftest.$ac_objext \
79087 conftest$ac_exeext conftest.$ac_ext
79088 LIBS=$ac_check_lib_save_LIBS
79090 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
79091 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
79092 if test $ac_cv_lib_m_main = yes; then
79093 cat >>confdefs.h <<_ACEOF
79094 #define HAVE_LIBM 1
79095 _ACEOF
79097 LIBS="-lm $LIBS"
79102 for ac_func in copysignf
79104 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79105 echo "$as_me:$LINENO: checking for $ac_func" >&5
79106 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79107 if eval "test \"\${$as_ac_var+set}\" = set"; then
79108 echo $ECHO_N "(cached) $ECHO_C" >&6
79109 else
79110 if test x$gcc_no_link = xyes; then
79111 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79112 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79113 { (exit 1); exit 1; }; }
79115 cat >conftest.$ac_ext <<_ACEOF
79116 /* confdefs.h. */
79117 _ACEOF
79118 cat confdefs.h >>conftest.$ac_ext
79119 cat >>conftest.$ac_ext <<_ACEOF
79120 /* end confdefs.h. */
79121 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79122 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79123 #define $ac_func innocuous_$ac_func
79125 /* System header to define __stub macros and hopefully few prototypes,
79126 which can conflict with char $ac_func (); below.
79127 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79128 <limits.h> exists even on freestanding compilers. */
79130 #ifdef __STDC__
79131 # include <limits.h>
79132 #else
79133 # include <assert.h>
79134 #endif
79136 #undef $ac_func
79138 /* Override any gcc2 internal prototype to avoid an error. */
79139 #ifdef __cplusplus
79140 extern "C"
79142 #endif
79143 /* We use char because int might match the return type of a gcc2
79144 builtin and then its argument prototype would still apply. */
79145 char $ac_func ();
79146 /* The GNU C library defines this for functions which it implements
79147 to always fail with ENOSYS. Some functions are actually named
79148 something starting with __ and the normal name is an alias. */
79149 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79150 choke me
79151 #else
79152 char (*f) () = $ac_func;
79153 #endif
79154 #ifdef __cplusplus
79156 #endif
79159 main ()
79161 return f != $ac_func;
79163 return 0;
79165 _ACEOF
79166 rm -f conftest.$ac_objext conftest$ac_exeext
79167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79168 (eval $ac_link) 2>conftest.er1
79169 ac_status=$?
79170 grep -v '^ *+' conftest.er1 >conftest.err
79171 rm -f conftest.er1
79172 cat conftest.err >&5
79173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79174 (exit $ac_status); } &&
79175 { ac_try='test -z "$ac_c_werror_flag"
79176 || test ! -s conftest.err'
79177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79178 (eval $ac_try) 2>&5
79179 ac_status=$?
79180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79181 (exit $ac_status); }; } &&
79182 { ac_try='test -s conftest$ac_exeext'
79183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79184 (eval $ac_try) 2>&5
79185 ac_status=$?
79186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79187 (exit $ac_status); }; }; then
79188 eval "$as_ac_var=yes"
79189 else
79190 echo "$as_me: failed program was:" >&5
79191 sed 's/^/| /' conftest.$ac_ext >&5
79193 eval "$as_ac_var=no"
79195 rm -f conftest.err conftest.$ac_objext \
79196 conftest$ac_exeext conftest.$ac_ext
79198 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79199 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79200 if test `eval echo '${'$as_ac_var'}'` = yes; then
79201 cat >>confdefs.h <<_ACEOF
79202 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79203 _ACEOF
79205 else
79206 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
79208 done
79212 for ac_func in __signbit
79214 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79215 echo "$as_me:$LINENO: checking for $ac_func" >&5
79216 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79217 if eval "test \"\${$as_ac_var+set}\" = set"; then
79218 echo $ECHO_N "(cached) $ECHO_C" >&6
79219 else
79220 if test x$gcc_no_link = xyes; then
79221 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79222 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79223 { (exit 1); exit 1; }; }
79225 cat >conftest.$ac_ext <<_ACEOF
79226 /* confdefs.h. */
79227 _ACEOF
79228 cat confdefs.h >>conftest.$ac_ext
79229 cat >>conftest.$ac_ext <<_ACEOF
79230 /* end confdefs.h. */
79231 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79232 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79233 #define $ac_func innocuous_$ac_func
79235 /* System header to define __stub macros and hopefully few prototypes,
79236 which can conflict with char $ac_func (); below.
79237 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79238 <limits.h> exists even on freestanding compilers. */
79240 #ifdef __STDC__
79241 # include <limits.h>
79242 #else
79243 # include <assert.h>
79244 #endif
79246 #undef $ac_func
79248 /* Override any gcc2 internal prototype to avoid an error. */
79249 #ifdef __cplusplus
79250 extern "C"
79252 #endif
79253 /* We use char because int might match the return type of a gcc2
79254 builtin and then its argument prototype would still apply. */
79255 char $ac_func ();
79256 /* The GNU C library defines this for functions which it implements
79257 to always fail with ENOSYS. Some functions are actually named
79258 something starting with __ and the normal name is an alias. */
79259 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79260 choke me
79261 #else
79262 char (*f) () = $ac_func;
79263 #endif
79264 #ifdef __cplusplus
79266 #endif
79269 main ()
79271 return f != $ac_func;
79273 return 0;
79275 _ACEOF
79276 rm -f conftest.$ac_objext conftest$ac_exeext
79277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79278 (eval $ac_link) 2>conftest.er1
79279 ac_status=$?
79280 grep -v '^ *+' conftest.er1 >conftest.err
79281 rm -f conftest.er1
79282 cat conftest.err >&5
79283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79284 (exit $ac_status); } &&
79285 { ac_try='test -z "$ac_c_werror_flag"
79286 || test ! -s conftest.err'
79287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79288 (eval $ac_try) 2>&5
79289 ac_status=$?
79290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79291 (exit $ac_status); }; } &&
79292 { ac_try='test -s conftest$ac_exeext'
79293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79294 (eval $ac_try) 2>&5
79295 ac_status=$?
79296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79297 (exit $ac_status); }; }; then
79298 eval "$as_ac_var=yes"
79299 else
79300 echo "$as_me: failed program was:" >&5
79301 sed 's/^/| /' conftest.$ac_ext >&5
79303 eval "$as_ac_var=no"
79305 rm -f conftest.err conftest.$ac_objext \
79306 conftest$ac_exeext conftest.$ac_ext
79308 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79309 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79310 if test `eval echo '${'$as_ac_var'}'` = yes; then
79311 cat >>confdefs.h <<_ACEOF
79312 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79313 _ACEOF
79315 else
79316 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
79318 done
79322 for ac_func in __signbitf
79324 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79325 echo "$as_me:$LINENO: checking for $ac_func" >&5
79326 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79327 if eval "test \"\${$as_ac_var+set}\" = set"; then
79328 echo $ECHO_N "(cached) $ECHO_C" >&6
79329 else
79330 if test x$gcc_no_link = xyes; then
79331 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79332 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79333 { (exit 1); exit 1; }; }
79335 cat >conftest.$ac_ext <<_ACEOF
79336 /* confdefs.h. */
79337 _ACEOF
79338 cat confdefs.h >>conftest.$ac_ext
79339 cat >>conftest.$ac_ext <<_ACEOF
79340 /* end confdefs.h. */
79341 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79342 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79343 #define $ac_func innocuous_$ac_func
79345 /* System header to define __stub macros and hopefully few prototypes,
79346 which can conflict with char $ac_func (); below.
79347 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79348 <limits.h> exists even on freestanding compilers. */
79350 #ifdef __STDC__
79351 # include <limits.h>
79352 #else
79353 # include <assert.h>
79354 #endif
79356 #undef $ac_func
79358 /* Override any gcc2 internal prototype to avoid an error. */
79359 #ifdef __cplusplus
79360 extern "C"
79362 #endif
79363 /* We use char because int might match the return type of a gcc2
79364 builtin and then its argument prototype would still apply. */
79365 char $ac_func ();
79366 /* The GNU C library defines this for functions which it implements
79367 to always fail with ENOSYS. Some functions are actually named
79368 something starting with __ and the normal name is an alias. */
79369 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79370 choke me
79371 #else
79372 char (*f) () = $ac_func;
79373 #endif
79374 #ifdef __cplusplus
79376 #endif
79379 main ()
79381 return f != $ac_func;
79383 return 0;
79385 _ACEOF
79386 rm -f conftest.$ac_objext conftest$ac_exeext
79387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79388 (eval $ac_link) 2>conftest.er1
79389 ac_status=$?
79390 grep -v '^ *+' conftest.er1 >conftest.err
79391 rm -f conftest.er1
79392 cat conftest.err >&5
79393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79394 (exit $ac_status); } &&
79395 { ac_try='test -z "$ac_c_werror_flag"
79396 || test ! -s conftest.err'
79397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79398 (eval $ac_try) 2>&5
79399 ac_status=$?
79400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79401 (exit $ac_status); }; } &&
79402 { ac_try='test -s conftest$ac_exeext'
79403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79404 (eval $ac_try) 2>&5
79405 ac_status=$?
79406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79407 (exit $ac_status); }; }; then
79408 eval "$as_ac_var=yes"
79409 else
79410 echo "$as_me: failed program was:" >&5
79411 sed 's/^/| /' conftest.$ac_ext >&5
79413 eval "$as_ac_var=no"
79415 rm -f conftest.err conftest.$ac_objext \
79416 conftest$ac_exeext conftest.$ac_ext
79418 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79419 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79420 if test `eval echo '${'$as_ac_var'}'` = yes; then
79421 cat >>confdefs.h <<_ACEOF
79422 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79423 _ACEOF
79425 else
79426 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
79428 done
79431 if test x$ac_cv_func_copysignl = x"yes"; then
79433 for ac_func in __signbitl
79435 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79436 echo "$as_me:$LINENO: checking for $ac_func" >&5
79437 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79438 if eval "test \"\${$as_ac_var+set}\" = set"; then
79439 echo $ECHO_N "(cached) $ECHO_C" >&6
79440 else
79441 if test x$gcc_no_link = xyes; then
79442 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79443 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79444 { (exit 1); exit 1; }; }
79446 cat >conftest.$ac_ext <<_ACEOF
79447 /* confdefs.h. */
79448 _ACEOF
79449 cat confdefs.h >>conftest.$ac_ext
79450 cat >>conftest.$ac_ext <<_ACEOF
79451 /* end confdefs.h. */
79452 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79453 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79454 #define $ac_func innocuous_$ac_func
79456 /* System header to define __stub macros and hopefully few prototypes,
79457 which can conflict with char $ac_func (); below.
79458 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79459 <limits.h> exists even on freestanding compilers. */
79461 #ifdef __STDC__
79462 # include <limits.h>
79463 #else
79464 # include <assert.h>
79465 #endif
79467 #undef $ac_func
79469 /* Override any gcc2 internal prototype to avoid an error. */
79470 #ifdef __cplusplus
79471 extern "C"
79473 #endif
79474 /* We use char because int might match the return type of a gcc2
79475 builtin and then its argument prototype would still apply. */
79476 char $ac_func ();
79477 /* The GNU C library defines this for functions which it implements
79478 to always fail with ENOSYS. Some functions are actually named
79479 something starting with __ and the normal name is an alias. */
79480 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79481 choke me
79482 #else
79483 char (*f) () = $ac_func;
79484 #endif
79485 #ifdef __cplusplus
79487 #endif
79490 main ()
79492 return f != $ac_func;
79494 return 0;
79496 _ACEOF
79497 rm -f conftest.$ac_objext conftest$ac_exeext
79498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79499 (eval $ac_link) 2>conftest.er1
79500 ac_status=$?
79501 grep -v '^ *+' conftest.er1 >conftest.err
79502 rm -f conftest.er1
79503 cat conftest.err >&5
79504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79505 (exit $ac_status); } &&
79506 { ac_try='test -z "$ac_c_werror_flag"
79507 || test ! -s conftest.err'
79508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79509 (eval $ac_try) 2>&5
79510 ac_status=$?
79511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79512 (exit $ac_status); }; } &&
79513 { ac_try='test -s conftest$ac_exeext'
79514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79515 (eval $ac_try) 2>&5
79516 ac_status=$?
79517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79518 (exit $ac_status); }; }; then
79519 eval "$as_ac_var=yes"
79520 else
79521 echo "$as_me: failed program was:" >&5
79522 sed 's/^/| /' conftest.$ac_ext >&5
79524 eval "$as_ac_var=no"
79526 rm -f conftest.err conftest.$ac_objext \
79527 conftest$ac_exeext conftest.$ac_ext
79529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79530 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79531 if test `eval echo '${'$as_ac_var'}'` = yes; then
79532 cat >>confdefs.h <<_ACEOF
79533 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79534 _ACEOF
79536 else
79537 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
79539 done
79543 # Used in libmath/Makefile.am.
79544 if test -n "$LIBMATHOBJS"; then
79545 need_libmath=yes
79549 cat >>confdefs.h <<\_ACEOF
79550 #define HAVE_COPYSIGN 1
79551 _ACEOF
79553 cat >>confdefs.h <<\_ACEOF
79554 #define HAVE_COPYSIGNF 1
79555 _ACEOF
79557 cat >>confdefs.h <<\_ACEOF
79558 #define HAVE_FINITEF 1
79559 _ACEOF
79561 cat >>confdefs.h <<\_ACEOF
79562 #define HAVE_FINITE 1
79563 _ACEOF
79565 cat >>confdefs.h <<\_ACEOF
79566 #define HAVE_FREXPF 1
79567 _ACEOF
79569 cat >>confdefs.h <<\_ACEOF
79570 #define HAVE_HYPOTF 1
79571 _ACEOF
79573 cat >>confdefs.h <<\_ACEOF
79574 #define HAVE_ISINF 1
79575 _ACEOF
79577 cat >>confdefs.h <<\_ACEOF
79578 #define HAVE_ISINFF 1
79579 _ACEOF
79581 cat >>confdefs.h <<\_ACEOF
79582 #define HAVE_ISNAN 1
79583 _ACEOF
79585 cat >>confdefs.h <<\_ACEOF
79586 #define HAVE_ISNANF 1
79587 _ACEOF
79589 if test x"long_double_math_on_this_cpu" = x"yes"; then
79590 cat >>confdefs.h <<\_ACEOF
79591 #define HAVE_FINITEL 1
79592 _ACEOF
79594 cat >>confdefs.h <<\_ACEOF
79595 #define HAVE_ISINFL 1
79596 _ACEOF
79598 cat >>confdefs.h <<\_ACEOF
79599 #define HAVE_ISNANL 1
79600 _ACEOF
79604 *-netware)
79613 for ac_header in nan.h ieeefp.h sys/isa_defs.h sys/machine.h \
79614 sys/types.h locale.h float.h inttypes.h
79616 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
79617 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79618 echo "$as_me:$LINENO: checking for $ac_header" >&5
79619 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
79620 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79621 echo $ECHO_N "(cached) $ECHO_C" >&6
79623 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
79624 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
79625 else
79626 # Is the header compilable?
79627 echo "$as_me:$LINENO: checking $ac_header usability" >&5
79628 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
79629 cat >conftest.$ac_ext <<_ACEOF
79630 /* confdefs.h. */
79631 _ACEOF
79632 cat confdefs.h >>conftest.$ac_ext
79633 cat >>conftest.$ac_ext <<_ACEOF
79634 /* end confdefs.h. */
79635 $ac_includes_default
79636 #include <$ac_header>
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_c_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 ac_header_compiler=yes
79661 else
79662 echo "$as_me: failed program was:" >&5
79663 sed 's/^/| /' conftest.$ac_ext >&5
79665 ac_header_compiler=no
79667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79668 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79669 echo "${ECHO_T}$ac_header_compiler" >&6
79671 # Is the header present?
79672 echo "$as_me:$LINENO: checking $ac_header presence" >&5
79673 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
79674 cat >conftest.$ac_ext <<_ACEOF
79675 /* confdefs.h. */
79676 _ACEOF
79677 cat confdefs.h >>conftest.$ac_ext
79678 cat >>conftest.$ac_ext <<_ACEOF
79679 /* end confdefs.h. */
79680 #include <$ac_header>
79681 _ACEOF
79682 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79683 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79684 ac_status=$?
79685 grep -v '^ *+' conftest.er1 >conftest.err
79686 rm -f conftest.er1
79687 cat conftest.err >&5
79688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79689 (exit $ac_status); } >/dev/null; then
79690 if test -s conftest.err; then
79691 ac_cpp_err=$ac_c_preproc_warn_flag
79692 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
79693 else
79694 ac_cpp_err=
79696 else
79697 ac_cpp_err=yes
79699 if test -z "$ac_cpp_err"; then
79700 ac_header_preproc=yes
79701 else
79702 echo "$as_me: failed program was:" >&5
79703 sed 's/^/| /' conftest.$ac_ext >&5
79705 ac_header_preproc=no
79707 rm -f conftest.err conftest.$ac_ext
79708 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79709 echo "${ECHO_T}$ac_header_preproc" >&6
79711 # So? What about this header?
79712 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
79713 yes:no: )
79714 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
79715 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
79716 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
79717 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
79718 ac_header_preproc=yes
79720 no:yes:* )
79721 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
79722 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
79723 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
79724 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
79725 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
79726 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
79727 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
79728 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
79729 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
79730 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
79731 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
79732 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
79734 cat <<\_ASBOX
79735 ## ----------------------------------------- ##
79736 ## Report this to the package-unused lists. ##
79737 ## ----------------------------------------- ##
79738 _ASBOX
79740 sed "s/^/$as_me: WARNING: /" >&2
79742 esac
79743 echo "$as_me:$LINENO: checking for $ac_header" >&5
79744 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
79745 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79746 echo $ECHO_N "(cached) $ECHO_C" >&6
79747 else
79748 eval "$as_ac_Header=\$ac_header_preproc"
79750 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
79751 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
79754 if test `eval echo '${'$as_ac_Header'}'` = yes; then
79755 cat >>confdefs.h <<_ACEOF
79756 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
79757 _ACEOF
79761 done
79763 SECTION_FLAGS='-ffunction-sections -fdata-sections'
79766 # If we're not using GNU ld, then there's no point in even trying these
79767 # tests. Check for that first. We should have already tested for gld
79768 # by now (in libtool), but require it now just to be safe...
79769 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
79770 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
79774 # The name set by libtool depends on the version of libtool. Shame on us
79775 # for depending on an impl detail, but c'est la vie. Older versions used
79776 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
79777 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
79778 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
79779 # set (hence we're using an older libtool), then set it.
79780 if test x${with_gnu_ld+set} != xset; then
79781 if test x${ac_cv_prog_gnu_ld+set} != xset; then
79782 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
79783 with_gnu_ld=no
79784 else
79785 with_gnu_ld=$ac_cv_prog_gnu_ld
79789 # Start by getting the version number. I think the libtool test already
79790 # does some of this, but throws away the result.
79791 if test x"$with_gnu_ld" = x"yes"; then
79792 echo "$as_me:$LINENO: checking for ld version" >&5
79793 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
79795 ldver=`$LD --version 2>/dev/null | head -1 | \
79796 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
79798 glibcxx_gnu_ld_version=`echo $ldver | \
79799 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
79800 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
79801 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
79804 # Set --gc-sections.
79805 glibcxx_gcsections_min_ld=21602
79806 if test x"$with_gnu_ld" = x"yes" &&
79807 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
79809 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
79810 # NB: This flag only works reliably after 2.16.1. Configure tests
79811 # for this are difficult, so hard wire a value that should work.
79813 # All these tests are for C++, but run with the "C" compiler driver.
79814 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
79815 ac_test_CFLAGS="${CFLAGS+set}"
79816 ac_save_CFLAGS="$CFLAGS"
79817 CFLAGS='-x c++ -Wl,--gc-sections'
79819 # Check for -Wl,--gc-sections
79820 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
79821 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
79822 if test x$gcc_no_link = xyes; then
79823 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79824 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79825 { (exit 1); exit 1; }; }
79827 cat >conftest.$ac_ext <<_ACEOF
79828 /* confdefs.h. */
79829 _ACEOF
79830 cat confdefs.h >>conftest.$ac_ext
79831 cat >>conftest.$ac_ext <<_ACEOF
79832 /* end confdefs.h. */
79833 int one(void) { return 1; }
79834 int two(void) { return 2; }
79837 main ()
79839 two();
79841 return 0;
79843 _ACEOF
79844 rm -f conftest.$ac_objext conftest$ac_exeext
79845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79846 (eval $ac_link) 2>conftest.er1
79847 ac_status=$?
79848 grep -v '^ *+' conftest.er1 >conftest.err
79849 rm -f conftest.er1
79850 cat conftest.err >&5
79851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79852 (exit $ac_status); } &&
79853 { ac_try='test -z "$ac_c_werror_flag"
79854 || test ! -s conftest.err'
79855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79856 (eval $ac_try) 2>&5
79857 ac_status=$?
79858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79859 (exit $ac_status); }; } &&
79860 { ac_try='test -s conftest$ac_exeext'
79861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79862 (eval $ac_try) 2>&5
79863 ac_status=$?
79864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79865 (exit $ac_status); }; }; then
79866 ac_gcsections=yes
79867 else
79868 echo "$as_me: failed program was:" >&5
79869 sed 's/^/| /' conftest.$ac_ext >&5
79871 ac_gcsections=no
79873 rm -f conftest.err conftest.$ac_objext \
79874 conftest$ac_exeext conftest.$ac_ext
79875 if test "$ac_gcsections" = "yes"; then
79876 rm -f conftest.c
79877 touch conftest.c
79878 if $CC -c conftest.c; then
79879 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
79880 grep "Warning: gc-sections option ignored" > /dev/null; then
79881 ac_gcsections=no
79884 rm -f conftest.c conftest.o conftest
79886 if test "$ac_gcsections" = "yes"; then
79887 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
79889 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
79890 echo "${ECHO_T}$ac_gcsections" >&6
79892 if test "$ac_test_CFLAGS" = set; then
79893 CFLAGS="$ac_save_CFLAGS"
79894 else
79895 # this is the suspicious part
79896 CFLAGS=''
79900 # Set -z,relro.
79901 # Note this is only for shared objects.
79902 ac_ld_relro=no
79903 if test x"$with_gnu_ld" = x"yes"; then
79904 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
79905 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
79906 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
79907 if test -n "$cxx_z_relo"; then
79908 OPT_LDFLAGS="-Wl,-z,relro"
79909 ac_ld_relro=yes
79911 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
79912 echo "${ECHO_T}$ac_ld_relro" >&6
79915 # Set linker optimization flags.
79916 if test x"$with_gnu_ld" = x"yes"; then
79917 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
79925 echo "$as_me:$LINENO: checking for main in -lm" >&5
79926 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
79927 if test "${ac_cv_lib_m_main+set}" = set; then
79928 echo $ECHO_N "(cached) $ECHO_C" >&6
79929 else
79930 ac_check_lib_save_LIBS=$LIBS
79931 LIBS="-lm $LIBS"
79932 if test x$gcc_no_link = xyes; then
79933 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79934 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79935 { (exit 1); exit 1; }; }
79937 cat >conftest.$ac_ext <<_ACEOF
79938 /* confdefs.h. */
79939 _ACEOF
79940 cat confdefs.h >>conftest.$ac_ext
79941 cat >>conftest.$ac_ext <<_ACEOF
79942 /* end confdefs.h. */
79946 main ()
79948 main ();
79950 return 0;
79952 _ACEOF
79953 rm -f conftest.$ac_objext conftest$ac_exeext
79954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79955 (eval $ac_link) 2>conftest.er1
79956 ac_status=$?
79957 grep -v '^ *+' conftest.er1 >conftest.err
79958 rm -f conftest.er1
79959 cat conftest.err >&5
79960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79961 (exit $ac_status); } &&
79962 { ac_try='test -z "$ac_c_werror_flag"
79963 || test ! -s conftest.err'
79964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79965 (eval $ac_try) 2>&5
79966 ac_status=$?
79967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79968 (exit $ac_status); }; } &&
79969 { ac_try='test -s conftest$ac_exeext'
79970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79971 (eval $ac_try) 2>&5
79972 ac_status=$?
79973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79974 (exit $ac_status); }; }; then
79975 ac_cv_lib_m_main=yes
79976 else
79977 echo "$as_me: failed program was:" >&5
79978 sed 's/^/| /' conftest.$ac_ext >&5
79980 ac_cv_lib_m_main=no
79982 rm -f conftest.err conftest.$ac_objext \
79983 conftest$ac_exeext conftest.$ac_ext
79984 LIBS=$ac_check_lib_save_LIBS
79986 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
79987 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
79988 if test $ac_cv_lib_m_main = yes; then
79989 cat >>confdefs.h <<_ACEOF
79990 #define HAVE_LIBM 1
79991 _ACEOF
79993 LIBS="-lm $LIBS"
79998 for ac_func in copysignf
80000 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80001 echo "$as_me:$LINENO: checking for $ac_func" >&5
80002 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80003 if eval "test \"\${$as_ac_var+set}\" = set"; then
80004 echo $ECHO_N "(cached) $ECHO_C" >&6
80005 else
80006 if test x$gcc_no_link = xyes; then
80007 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80008 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80009 { (exit 1); exit 1; }; }
80011 cat >conftest.$ac_ext <<_ACEOF
80012 /* confdefs.h. */
80013 _ACEOF
80014 cat confdefs.h >>conftest.$ac_ext
80015 cat >>conftest.$ac_ext <<_ACEOF
80016 /* end confdefs.h. */
80017 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80018 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80019 #define $ac_func innocuous_$ac_func
80021 /* System header to define __stub macros and hopefully few prototypes,
80022 which can conflict with char $ac_func (); below.
80023 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80024 <limits.h> exists even on freestanding compilers. */
80026 #ifdef __STDC__
80027 # include <limits.h>
80028 #else
80029 # include <assert.h>
80030 #endif
80032 #undef $ac_func
80034 /* Override any gcc2 internal prototype to avoid an error. */
80035 #ifdef __cplusplus
80036 extern "C"
80038 #endif
80039 /* We use char because int might match the return type of a gcc2
80040 builtin and then its argument prototype would still apply. */
80041 char $ac_func ();
80042 /* The GNU C library defines this for functions which it implements
80043 to always fail with ENOSYS. Some functions are actually named
80044 something starting with __ and the normal name is an alias. */
80045 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80046 choke me
80047 #else
80048 char (*f) () = $ac_func;
80049 #endif
80050 #ifdef __cplusplus
80052 #endif
80055 main ()
80057 return f != $ac_func;
80059 return 0;
80061 _ACEOF
80062 rm -f conftest.$ac_objext conftest$ac_exeext
80063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80064 (eval $ac_link) 2>conftest.er1
80065 ac_status=$?
80066 grep -v '^ *+' conftest.er1 >conftest.err
80067 rm -f conftest.er1
80068 cat conftest.err >&5
80069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80070 (exit $ac_status); } &&
80071 { ac_try='test -z "$ac_c_werror_flag"
80072 || test ! -s conftest.err'
80073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80074 (eval $ac_try) 2>&5
80075 ac_status=$?
80076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80077 (exit $ac_status); }; } &&
80078 { ac_try='test -s conftest$ac_exeext'
80079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80080 (eval $ac_try) 2>&5
80081 ac_status=$?
80082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80083 (exit $ac_status); }; }; then
80084 eval "$as_ac_var=yes"
80085 else
80086 echo "$as_me: failed program was:" >&5
80087 sed 's/^/| /' conftest.$ac_ext >&5
80089 eval "$as_ac_var=no"
80091 rm -f conftest.err conftest.$ac_objext \
80092 conftest$ac_exeext conftest.$ac_ext
80094 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80095 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80096 if test `eval echo '${'$as_ac_var'}'` = yes; then
80097 cat >>confdefs.h <<_ACEOF
80098 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80099 _ACEOF
80101 else
80102 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
80104 done
80108 for ac_func in __signbit
80110 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80111 echo "$as_me:$LINENO: checking for $ac_func" >&5
80112 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80113 if eval "test \"\${$as_ac_var+set}\" = set"; then
80114 echo $ECHO_N "(cached) $ECHO_C" >&6
80115 else
80116 if test x$gcc_no_link = xyes; then
80117 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80118 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80119 { (exit 1); exit 1; }; }
80121 cat >conftest.$ac_ext <<_ACEOF
80122 /* confdefs.h. */
80123 _ACEOF
80124 cat confdefs.h >>conftest.$ac_ext
80125 cat >>conftest.$ac_ext <<_ACEOF
80126 /* end confdefs.h. */
80127 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80128 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80129 #define $ac_func innocuous_$ac_func
80131 /* System header to define __stub macros and hopefully few prototypes,
80132 which can conflict with char $ac_func (); below.
80133 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80134 <limits.h> exists even on freestanding compilers. */
80136 #ifdef __STDC__
80137 # include <limits.h>
80138 #else
80139 # include <assert.h>
80140 #endif
80142 #undef $ac_func
80144 /* Override any gcc2 internal prototype to avoid an error. */
80145 #ifdef __cplusplus
80146 extern "C"
80148 #endif
80149 /* We use char because int might match the return type of a gcc2
80150 builtin and then its argument prototype would still apply. */
80151 char $ac_func ();
80152 /* The GNU C library defines this for functions which it implements
80153 to always fail with ENOSYS. Some functions are actually named
80154 something starting with __ and the normal name is an alias. */
80155 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80156 choke me
80157 #else
80158 char (*f) () = $ac_func;
80159 #endif
80160 #ifdef __cplusplus
80162 #endif
80165 main ()
80167 return f != $ac_func;
80169 return 0;
80171 _ACEOF
80172 rm -f conftest.$ac_objext conftest$ac_exeext
80173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80174 (eval $ac_link) 2>conftest.er1
80175 ac_status=$?
80176 grep -v '^ *+' conftest.er1 >conftest.err
80177 rm -f conftest.er1
80178 cat conftest.err >&5
80179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80180 (exit $ac_status); } &&
80181 { ac_try='test -z "$ac_c_werror_flag"
80182 || test ! -s conftest.err'
80183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80184 (eval $ac_try) 2>&5
80185 ac_status=$?
80186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80187 (exit $ac_status); }; } &&
80188 { ac_try='test -s conftest$ac_exeext'
80189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80190 (eval $ac_try) 2>&5
80191 ac_status=$?
80192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80193 (exit $ac_status); }; }; then
80194 eval "$as_ac_var=yes"
80195 else
80196 echo "$as_me: failed program was:" >&5
80197 sed 's/^/| /' conftest.$ac_ext >&5
80199 eval "$as_ac_var=no"
80201 rm -f conftest.err conftest.$ac_objext \
80202 conftest$ac_exeext conftest.$ac_ext
80204 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80205 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80206 if test `eval echo '${'$as_ac_var'}'` = yes; then
80207 cat >>confdefs.h <<_ACEOF
80208 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80209 _ACEOF
80211 else
80212 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
80214 done
80218 for ac_func in __signbitf
80220 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80221 echo "$as_me:$LINENO: checking for $ac_func" >&5
80222 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80223 if eval "test \"\${$as_ac_var+set}\" = set"; then
80224 echo $ECHO_N "(cached) $ECHO_C" >&6
80225 else
80226 if test x$gcc_no_link = xyes; then
80227 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80228 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80229 { (exit 1); exit 1; }; }
80231 cat >conftest.$ac_ext <<_ACEOF
80232 /* confdefs.h. */
80233 _ACEOF
80234 cat confdefs.h >>conftest.$ac_ext
80235 cat >>conftest.$ac_ext <<_ACEOF
80236 /* end confdefs.h. */
80237 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80238 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80239 #define $ac_func innocuous_$ac_func
80241 /* System header to define __stub macros and hopefully few prototypes,
80242 which can conflict with char $ac_func (); below.
80243 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80244 <limits.h> exists even on freestanding compilers. */
80246 #ifdef __STDC__
80247 # include <limits.h>
80248 #else
80249 # include <assert.h>
80250 #endif
80252 #undef $ac_func
80254 /* Override any gcc2 internal prototype to avoid an error. */
80255 #ifdef __cplusplus
80256 extern "C"
80258 #endif
80259 /* We use char because int might match the return type of a gcc2
80260 builtin and then its argument prototype would still apply. */
80261 char $ac_func ();
80262 /* The GNU C library defines this for functions which it implements
80263 to always fail with ENOSYS. Some functions are actually named
80264 something starting with __ and the normal name is an alias. */
80265 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80266 choke me
80267 #else
80268 char (*f) () = $ac_func;
80269 #endif
80270 #ifdef __cplusplus
80272 #endif
80275 main ()
80277 return f != $ac_func;
80279 return 0;
80281 _ACEOF
80282 rm -f conftest.$ac_objext conftest$ac_exeext
80283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80284 (eval $ac_link) 2>conftest.er1
80285 ac_status=$?
80286 grep -v '^ *+' conftest.er1 >conftest.err
80287 rm -f conftest.er1
80288 cat conftest.err >&5
80289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80290 (exit $ac_status); } &&
80291 { ac_try='test -z "$ac_c_werror_flag"
80292 || test ! -s conftest.err'
80293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80294 (eval $ac_try) 2>&5
80295 ac_status=$?
80296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80297 (exit $ac_status); }; } &&
80298 { ac_try='test -s conftest$ac_exeext'
80299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80300 (eval $ac_try) 2>&5
80301 ac_status=$?
80302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80303 (exit $ac_status); }; }; then
80304 eval "$as_ac_var=yes"
80305 else
80306 echo "$as_me: failed program was:" >&5
80307 sed 's/^/| /' conftest.$ac_ext >&5
80309 eval "$as_ac_var=no"
80311 rm -f conftest.err conftest.$ac_objext \
80312 conftest$ac_exeext conftest.$ac_ext
80314 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80315 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80316 if test `eval echo '${'$as_ac_var'}'` = yes; then
80317 cat >>confdefs.h <<_ACEOF
80318 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80319 _ACEOF
80321 else
80322 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
80324 done
80327 if test x$ac_cv_func_copysignl = x"yes"; then
80329 for ac_func in __signbitl
80331 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80332 echo "$as_me:$LINENO: checking for $ac_func" >&5
80333 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80334 if eval "test \"\${$as_ac_var+set}\" = set"; then
80335 echo $ECHO_N "(cached) $ECHO_C" >&6
80336 else
80337 if test x$gcc_no_link = xyes; then
80338 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80339 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80340 { (exit 1); exit 1; }; }
80342 cat >conftest.$ac_ext <<_ACEOF
80343 /* confdefs.h. */
80344 _ACEOF
80345 cat confdefs.h >>conftest.$ac_ext
80346 cat >>conftest.$ac_ext <<_ACEOF
80347 /* end confdefs.h. */
80348 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80349 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80350 #define $ac_func innocuous_$ac_func
80352 /* System header to define __stub macros and hopefully few prototypes,
80353 which can conflict with char $ac_func (); below.
80354 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80355 <limits.h> exists even on freestanding compilers. */
80357 #ifdef __STDC__
80358 # include <limits.h>
80359 #else
80360 # include <assert.h>
80361 #endif
80363 #undef $ac_func
80365 /* Override any gcc2 internal prototype to avoid an error. */
80366 #ifdef __cplusplus
80367 extern "C"
80369 #endif
80370 /* We use char because int might match the return type of a gcc2
80371 builtin and then its argument prototype would still apply. */
80372 char $ac_func ();
80373 /* The GNU C library defines this for functions which it implements
80374 to always fail with ENOSYS. Some functions are actually named
80375 something starting with __ and the normal name is an alias. */
80376 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80377 choke me
80378 #else
80379 char (*f) () = $ac_func;
80380 #endif
80381 #ifdef __cplusplus
80383 #endif
80386 main ()
80388 return f != $ac_func;
80390 return 0;
80392 _ACEOF
80393 rm -f conftest.$ac_objext conftest$ac_exeext
80394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80395 (eval $ac_link) 2>conftest.er1
80396 ac_status=$?
80397 grep -v '^ *+' conftest.er1 >conftest.err
80398 rm -f conftest.er1
80399 cat conftest.err >&5
80400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80401 (exit $ac_status); } &&
80402 { ac_try='test -z "$ac_c_werror_flag"
80403 || test ! -s conftest.err'
80404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80405 (eval $ac_try) 2>&5
80406 ac_status=$?
80407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80408 (exit $ac_status); }; } &&
80409 { ac_try='test -s conftest$ac_exeext'
80410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80411 (eval $ac_try) 2>&5
80412 ac_status=$?
80413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80414 (exit $ac_status); }; }; then
80415 eval "$as_ac_var=yes"
80416 else
80417 echo "$as_me: failed program was:" >&5
80418 sed 's/^/| /' conftest.$ac_ext >&5
80420 eval "$as_ac_var=no"
80422 rm -f conftest.err conftest.$ac_objext \
80423 conftest$ac_exeext conftest.$ac_ext
80425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80426 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80427 if test `eval echo '${'$as_ac_var'}'` = yes; then
80428 cat >>confdefs.h <<_ACEOF
80429 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80430 _ACEOF
80432 else
80433 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
80435 done
80439 # Used in libmath/Makefile.am.
80440 if test -n "$LIBMATHOBJS"; then
80441 need_libmath=yes
80445 cat >>confdefs.h <<\_ACEOF
80446 #define HAVE_HYPOT 1
80447 _ACEOF
80449 cat >>confdefs.h <<\_ACEOF
80450 #define HAVE_ISINF 1
80451 _ACEOF
80453 cat >>confdefs.h <<\_ACEOF
80454 #define HAVE_ISNAN 1
80455 _ACEOF
80458 # For showmanyc_helper().
80461 for ac_header in sys/ioctl.h sys/filio.h
80463 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
80464 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80465 echo "$as_me:$LINENO: checking for $ac_header" >&5
80466 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80467 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80468 echo $ECHO_N "(cached) $ECHO_C" >&6
80470 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80471 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80472 else
80473 # Is the header compilable?
80474 echo "$as_me:$LINENO: checking $ac_header usability" >&5
80475 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
80476 cat >conftest.$ac_ext <<_ACEOF
80477 /* confdefs.h. */
80478 _ACEOF
80479 cat confdefs.h >>conftest.$ac_ext
80480 cat >>conftest.$ac_ext <<_ACEOF
80481 /* end confdefs.h. */
80482 $ac_includes_default
80483 #include <$ac_header>
80484 _ACEOF
80485 rm -f conftest.$ac_objext
80486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80487 (eval $ac_compile) 2>conftest.er1
80488 ac_status=$?
80489 grep -v '^ *+' conftest.er1 >conftest.err
80490 rm -f conftest.er1
80491 cat conftest.err >&5
80492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80493 (exit $ac_status); } &&
80494 { ac_try='test -z "$ac_c_werror_flag"
80495 || test ! -s conftest.err'
80496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80497 (eval $ac_try) 2>&5
80498 ac_status=$?
80499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80500 (exit $ac_status); }; } &&
80501 { ac_try='test -s conftest.$ac_objext'
80502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80503 (eval $ac_try) 2>&5
80504 ac_status=$?
80505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80506 (exit $ac_status); }; }; then
80507 ac_header_compiler=yes
80508 else
80509 echo "$as_me: failed program was:" >&5
80510 sed 's/^/| /' conftest.$ac_ext >&5
80512 ac_header_compiler=no
80514 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80515 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
80516 echo "${ECHO_T}$ac_header_compiler" >&6
80518 # Is the header present?
80519 echo "$as_me:$LINENO: checking $ac_header presence" >&5
80520 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
80521 cat >conftest.$ac_ext <<_ACEOF
80522 /* confdefs.h. */
80523 _ACEOF
80524 cat confdefs.h >>conftest.$ac_ext
80525 cat >>conftest.$ac_ext <<_ACEOF
80526 /* end confdefs.h. */
80527 #include <$ac_header>
80528 _ACEOF
80529 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
80530 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
80531 ac_status=$?
80532 grep -v '^ *+' conftest.er1 >conftest.err
80533 rm -f conftest.er1
80534 cat conftest.err >&5
80535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80536 (exit $ac_status); } >/dev/null; then
80537 if test -s conftest.err; then
80538 ac_cpp_err=$ac_c_preproc_warn_flag
80539 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
80540 else
80541 ac_cpp_err=
80543 else
80544 ac_cpp_err=yes
80546 if test -z "$ac_cpp_err"; then
80547 ac_header_preproc=yes
80548 else
80549 echo "$as_me: failed program was:" >&5
80550 sed 's/^/| /' conftest.$ac_ext >&5
80552 ac_header_preproc=no
80554 rm -f conftest.err conftest.$ac_ext
80555 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
80556 echo "${ECHO_T}$ac_header_preproc" >&6
80558 # So? What about this header?
80559 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
80560 yes:no: )
80561 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
80562 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
80563 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
80564 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
80565 ac_header_preproc=yes
80567 no:yes:* )
80568 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
80569 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
80570 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
80571 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
80572 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
80573 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
80574 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
80575 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
80576 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
80577 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
80578 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
80579 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
80581 cat <<\_ASBOX
80582 ## ----------------------------------------- ##
80583 ## Report this to the package-unused lists. ##
80584 ## ----------------------------------------- ##
80585 _ASBOX
80587 sed "s/^/$as_me: WARNING: /" >&2
80589 esac
80590 echo "$as_me:$LINENO: checking for $ac_header" >&5
80591 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80592 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80593 echo $ECHO_N "(cached) $ECHO_C" >&6
80594 else
80595 eval "$as_ac_Header=\$ac_header_preproc"
80597 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80598 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80601 if test `eval echo '${'$as_ac_Header'}'` = yes; then
80602 cat >>confdefs.h <<_ACEOF
80603 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
80604 _ACEOF
80608 done
80611 echo "$as_me:$LINENO: checking for poll" >&5
80612 echo $ECHO_N "checking for poll... $ECHO_C" >&6
80613 if test "${glibcxx_cv_POLL+set}" = set; then
80614 echo $ECHO_N "(cached) $ECHO_C" >&6
80615 else
80617 if test x$gcc_no_link = xyes; then
80618 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80619 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80620 { (exit 1); exit 1; }; }
80622 cat >conftest.$ac_ext <<_ACEOF
80623 /* confdefs.h. */
80624 _ACEOF
80625 cat confdefs.h >>conftest.$ac_ext
80626 cat >>conftest.$ac_ext <<_ACEOF
80627 /* end confdefs.h. */
80628 #include <poll.h>
80630 main ()
80632 struct pollfd pfd[1];
80633 pfd[0].events = POLLIN;
80634 poll(pfd, 1, 0);
80636 return 0;
80638 _ACEOF
80639 rm -f conftest.$ac_objext conftest$ac_exeext
80640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80641 (eval $ac_link) 2>conftest.er1
80642 ac_status=$?
80643 grep -v '^ *+' conftest.er1 >conftest.err
80644 rm -f conftest.er1
80645 cat conftest.err >&5
80646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80647 (exit $ac_status); } &&
80648 { ac_try='test -z "$ac_c_werror_flag"
80649 || test ! -s conftest.err'
80650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80651 (eval $ac_try) 2>&5
80652 ac_status=$?
80653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80654 (exit $ac_status); }; } &&
80655 { ac_try='test -s conftest$ac_exeext'
80656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80657 (eval $ac_try) 2>&5
80658 ac_status=$?
80659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80660 (exit $ac_status); }; }; then
80661 glibcxx_cv_POLL=yes
80662 else
80663 echo "$as_me: failed program was:" >&5
80664 sed 's/^/| /' conftest.$ac_ext >&5
80666 glibcxx_cv_POLL=no
80668 rm -f conftest.err conftest.$ac_objext \
80669 conftest$ac_exeext conftest.$ac_ext
80673 if test $glibcxx_cv_POLL = yes; then
80675 cat >>confdefs.h <<\_ACEOF
80676 #define HAVE_POLL 1
80677 _ACEOF
80680 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
80681 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
80684 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
80685 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
80686 if test "${glibcxx_cv_S_ISREG+set}" = set; then
80687 echo $ECHO_N "(cached) $ECHO_C" >&6
80688 else
80690 if test x$gcc_no_link = xyes; then
80691 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80692 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80693 { (exit 1); exit 1; }; }
80695 cat >conftest.$ac_ext <<_ACEOF
80696 /* confdefs.h. */
80697 _ACEOF
80698 cat confdefs.h >>conftest.$ac_ext
80699 cat >>conftest.$ac_ext <<_ACEOF
80700 /* end confdefs.h. */
80701 #include <sys/stat.h>
80703 main ()
80705 struct stat buffer;
80706 fstat(0, &buffer);
80707 S_ISREG(buffer.st_mode);
80709 return 0;
80711 _ACEOF
80712 rm -f conftest.$ac_objext conftest$ac_exeext
80713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80714 (eval $ac_link) 2>conftest.er1
80715 ac_status=$?
80716 grep -v '^ *+' conftest.er1 >conftest.err
80717 rm -f conftest.er1
80718 cat conftest.err >&5
80719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80720 (exit $ac_status); } &&
80721 { ac_try='test -z "$ac_c_werror_flag"
80722 || test ! -s conftest.err'
80723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80724 (eval $ac_try) 2>&5
80725 ac_status=$?
80726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80727 (exit $ac_status); }; } &&
80728 { ac_try='test -s conftest$ac_exeext'
80729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80730 (eval $ac_try) 2>&5
80731 ac_status=$?
80732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80733 (exit $ac_status); }; }; then
80734 glibcxx_cv_S_ISREG=yes
80735 else
80736 echo "$as_me: failed program was:" >&5
80737 sed 's/^/| /' conftest.$ac_ext >&5
80739 glibcxx_cv_S_ISREG=no
80741 rm -f conftest.err conftest.$ac_objext \
80742 conftest$ac_exeext conftest.$ac_ext
80746 if test "${glibcxx_cv_S_IFREG+set}" = set; then
80747 echo $ECHO_N "(cached) $ECHO_C" >&6
80748 else
80750 if test x$gcc_no_link = xyes; then
80751 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80752 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80753 { (exit 1); exit 1; }; }
80755 cat >conftest.$ac_ext <<_ACEOF
80756 /* confdefs.h. */
80757 _ACEOF
80758 cat confdefs.h >>conftest.$ac_ext
80759 cat >>conftest.$ac_ext <<_ACEOF
80760 /* end confdefs.h. */
80761 #include <sys/stat.h>
80763 main ()
80765 struct stat buffer;
80766 fstat(0, &buffer);
80767 S_IFREG & buffer.st_mode;
80769 return 0;
80771 _ACEOF
80772 rm -f conftest.$ac_objext conftest$ac_exeext
80773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80774 (eval $ac_link) 2>conftest.er1
80775 ac_status=$?
80776 grep -v '^ *+' conftest.er1 >conftest.err
80777 rm -f conftest.er1
80778 cat conftest.err >&5
80779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80780 (exit $ac_status); } &&
80781 { ac_try='test -z "$ac_c_werror_flag"
80782 || test ! -s conftest.err'
80783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80784 (eval $ac_try) 2>&5
80785 ac_status=$?
80786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80787 (exit $ac_status); }; } &&
80788 { ac_try='test -s conftest$ac_exeext'
80789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80790 (eval $ac_try) 2>&5
80791 ac_status=$?
80792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80793 (exit $ac_status); }; }; then
80794 glibcxx_cv_S_IFREG=yes
80795 else
80796 echo "$as_me: failed program was:" >&5
80797 sed 's/^/| /' conftest.$ac_ext >&5
80799 glibcxx_cv_S_IFREG=no
80801 rm -f conftest.err conftest.$ac_objext \
80802 conftest$ac_exeext conftest.$ac_ext
80806 res=no
80807 if test $glibcxx_cv_S_ISREG = yes; then
80809 cat >>confdefs.h <<\_ACEOF
80810 #define HAVE_S_ISREG 1
80811 _ACEOF
80813 res=S_ISREG
80814 elif test $glibcxx_cv_S_IFREG = yes; then
80816 cat >>confdefs.h <<\_ACEOF
80817 #define HAVE_S_IFREG 1
80818 _ACEOF
80820 res=S_IFREG
80822 echo "$as_me:$LINENO: result: $res" >&5
80823 echo "${ECHO_T}$res" >&6
80826 # For xsputn_2().
80828 for ac_header in sys/uio.h
80830 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
80831 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80832 echo "$as_me:$LINENO: checking for $ac_header" >&5
80833 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80834 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80835 echo $ECHO_N "(cached) $ECHO_C" >&6
80837 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80838 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80839 else
80840 # Is the header compilable?
80841 echo "$as_me:$LINENO: checking $ac_header usability" >&5
80842 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
80843 cat >conftest.$ac_ext <<_ACEOF
80844 /* confdefs.h. */
80845 _ACEOF
80846 cat confdefs.h >>conftest.$ac_ext
80847 cat >>conftest.$ac_ext <<_ACEOF
80848 /* end confdefs.h. */
80849 $ac_includes_default
80850 #include <$ac_header>
80851 _ACEOF
80852 rm -f conftest.$ac_objext
80853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80854 (eval $ac_compile) 2>conftest.er1
80855 ac_status=$?
80856 grep -v '^ *+' conftest.er1 >conftest.err
80857 rm -f conftest.er1
80858 cat conftest.err >&5
80859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80860 (exit $ac_status); } &&
80861 { ac_try='test -z "$ac_c_werror_flag"
80862 || test ! -s conftest.err'
80863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80864 (eval $ac_try) 2>&5
80865 ac_status=$?
80866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80867 (exit $ac_status); }; } &&
80868 { ac_try='test -s conftest.$ac_objext'
80869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80870 (eval $ac_try) 2>&5
80871 ac_status=$?
80872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80873 (exit $ac_status); }; }; then
80874 ac_header_compiler=yes
80875 else
80876 echo "$as_me: failed program was:" >&5
80877 sed 's/^/| /' conftest.$ac_ext >&5
80879 ac_header_compiler=no
80881 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80882 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
80883 echo "${ECHO_T}$ac_header_compiler" >&6
80885 # Is the header present?
80886 echo "$as_me:$LINENO: checking $ac_header presence" >&5
80887 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
80888 cat >conftest.$ac_ext <<_ACEOF
80889 /* confdefs.h. */
80890 _ACEOF
80891 cat confdefs.h >>conftest.$ac_ext
80892 cat >>conftest.$ac_ext <<_ACEOF
80893 /* end confdefs.h. */
80894 #include <$ac_header>
80895 _ACEOF
80896 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
80897 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
80898 ac_status=$?
80899 grep -v '^ *+' conftest.er1 >conftest.err
80900 rm -f conftest.er1
80901 cat conftest.err >&5
80902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80903 (exit $ac_status); } >/dev/null; then
80904 if test -s conftest.err; then
80905 ac_cpp_err=$ac_c_preproc_warn_flag
80906 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
80907 else
80908 ac_cpp_err=
80910 else
80911 ac_cpp_err=yes
80913 if test -z "$ac_cpp_err"; then
80914 ac_header_preproc=yes
80915 else
80916 echo "$as_me: failed program was:" >&5
80917 sed 's/^/| /' conftest.$ac_ext >&5
80919 ac_header_preproc=no
80921 rm -f conftest.err conftest.$ac_ext
80922 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
80923 echo "${ECHO_T}$ac_header_preproc" >&6
80925 # So? What about this header?
80926 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
80927 yes:no: )
80928 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
80929 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
80930 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
80931 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
80932 ac_header_preproc=yes
80934 no:yes:* )
80935 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
80936 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
80937 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
80938 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
80939 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
80940 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
80941 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
80942 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
80943 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
80944 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
80945 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
80946 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
80948 cat <<\_ASBOX
80949 ## ----------------------------------------- ##
80950 ## Report this to the package-unused lists. ##
80951 ## ----------------------------------------- ##
80952 _ASBOX
80954 sed "s/^/$as_me: WARNING: /" >&2
80956 esac
80957 echo "$as_me:$LINENO: checking for $ac_header" >&5
80958 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80959 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80960 echo $ECHO_N "(cached) $ECHO_C" >&6
80961 else
80962 eval "$as_ac_Header=\$ac_header_preproc"
80964 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80965 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80968 if test `eval echo '${'$as_ac_Header'}'` = yes; then
80969 cat >>confdefs.h <<_ACEOF
80970 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
80971 _ACEOF
80975 done
80978 echo "$as_me:$LINENO: checking for writev" >&5
80979 echo $ECHO_N "checking for writev... $ECHO_C" >&6
80980 if test "${glibcxx_cv_WRITEV+set}" = set; then
80981 echo $ECHO_N "(cached) $ECHO_C" >&6
80982 else
80984 if test x$gcc_no_link = xyes; then
80985 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80986 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80987 { (exit 1); exit 1; }; }
80989 cat >conftest.$ac_ext <<_ACEOF
80990 /* confdefs.h. */
80991 _ACEOF
80992 cat confdefs.h >>conftest.$ac_ext
80993 cat >>conftest.$ac_ext <<_ACEOF
80994 /* end confdefs.h. */
80995 #include <sys/uio.h>
80997 main ()
80999 struct iovec iov[2];
81000 writev(0, iov, 0);
81002 return 0;
81004 _ACEOF
81005 rm -f conftest.$ac_objext conftest$ac_exeext
81006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81007 (eval $ac_link) 2>conftest.er1
81008 ac_status=$?
81009 grep -v '^ *+' conftest.er1 >conftest.err
81010 rm -f conftest.er1
81011 cat conftest.err >&5
81012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81013 (exit $ac_status); } &&
81014 { ac_try='test -z "$ac_c_werror_flag"
81015 || test ! -s conftest.err'
81016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81017 (eval $ac_try) 2>&5
81018 ac_status=$?
81019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81020 (exit $ac_status); }; } &&
81021 { ac_try='test -s conftest$ac_exeext'
81022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81023 (eval $ac_try) 2>&5
81024 ac_status=$?
81025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81026 (exit $ac_status); }; }; then
81027 glibcxx_cv_WRITEV=yes
81028 else
81029 echo "$as_me: failed program was:" >&5
81030 sed 's/^/| /' conftest.$ac_ext >&5
81032 glibcxx_cv_WRITEV=no
81034 rm -f conftest.err conftest.$ac_objext \
81035 conftest$ac_exeext conftest.$ac_ext
81039 if test $glibcxx_cv_WRITEV = yes; then
81041 cat >>confdefs.h <<\_ACEOF
81042 #define HAVE_WRITEV 1
81043 _ACEOF
81046 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
81047 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
81050 *-qnx6.1* | *-qnx6.2*)
81051 SECTION_FLAGS='-ffunction-sections -fdata-sections'
81054 # If we're not using GNU ld, then there's no point in even trying these
81055 # tests. Check for that first. We should have already tested for gld
81056 # by now (in libtool), but require it now just to be safe...
81057 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
81058 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
81062 # The name set by libtool depends on the version of libtool. Shame on us
81063 # for depending on an impl detail, but c'est la vie. Older versions used
81064 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
81065 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
81066 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
81067 # set (hence we're using an older libtool), then set it.
81068 if test x${with_gnu_ld+set} != xset; then
81069 if test x${ac_cv_prog_gnu_ld+set} != xset; then
81070 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
81071 with_gnu_ld=no
81072 else
81073 with_gnu_ld=$ac_cv_prog_gnu_ld
81077 # Start by getting the version number. I think the libtool test already
81078 # does some of this, but throws away the result.
81079 if test x"$with_gnu_ld" = x"yes"; then
81080 echo "$as_me:$LINENO: checking for ld version" >&5
81081 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
81083 ldver=`$LD --version 2>/dev/null | head -1 | \
81084 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
81086 glibcxx_gnu_ld_version=`echo $ldver | \
81087 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
81088 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
81089 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
81092 # Set --gc-sections.
81093 glibcxx_gcsections_min_ld=21602
81094 if test x"$with_gnu_ld" = x"yes" &&
81095 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
81097 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
81098 # NB: This flag only works reliably after 2.16.1. Configure tests
81099 # for this are difficult, so hard wire a value that should work.
81101 # All these tests are for C++, but run with the "C" compiler driver.
81102 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
81103 ac_test_CFLAGS="${CFLAGS+set}"
81104 ac_save_CFLAGS="$CFLAGS"
81105 CFLAGS='-x c++ -Wl,--gc-sections'
81107 # Check for -Wl,--gc-sections
81108 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
81109 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
81110 if test x$gcc_no_link = xyes; then
81111 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81112 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81113 { (exit 1); exit 1; }; }
81115 cat >conftest.$ac_ext <<_ACEOF
81116 /* confdefs.h. */
81117 _ACEOF
81118 cat confdefs.h >>conftest.$ac_ext
81119 cat >>conftest.$ac_ext <<_ACEOF
81120 /* end confdefs.h. */
81121 int one(void) { return 1; }
81122 int two(void) { return 2; }
81125 main ()
81127 two();
81129 return 0;
81131 _ACEOF
81132 rm -f conftest.$ac_objext conftest$ac_exeext
81133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81134 (eval $ac_link) 2>conftest.er1
81135 ac_status=$?
81136 grep -v '^ *+' conftest.er1 >conftest.err
81137 rm -f conftest.er1
81138 cat conftest.err >&5
81139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81140 (exit $ac_status); } &&
81141 { ac_try='test -z "$ac_c_werror_flag"
81142 || test ! -s conftest.err'
81143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81144 (eval $ac_try) 2>&5
81145 ac_status=$?
81146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81147 (exit $ac_status); }; } &&
81148 { ac_try='test -s conftest$ac_exeext'
81149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81150 (eval $ac_try) 2>&5
81151 ac_status=$?
81152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81153 (exit $ac_status); }; }; then
81154 ac_gcsections=yes
81155 else
81156 echo "$as_me: failed program was:" >&5
81157 sed 's/^/| /' conftest.$ac_ext >&5
81159 ac_gcsections=no
81161 rm -f conftest.err conftest.$ac_objext \
81162 conftest$ac_exeext conftest.$ac_ext
81163 if test "$ac_gcsections" = "yes"; then
81164 rm -f conftest.c
81165 touch conftest.c
81166 if $CC -c conftest.c; then
81167 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
81168 grep "Warning: gc-sections option ignored" > /dev/null; then
81169 ac_gcsections=no
81172 rm -f conftest.c conftest.o conftest
81174 if test "$ac_gcsections" = "yes"; then
81175 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
81177 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
81178 echo "${ECHO_T}$ac_gcsections" >&6
81180 if test "$ac_test_CFLAGS" = set; then
81181 CFLAGS="$ac_save_CFLAGS"
81182 else
81183 # this is the suspicious part
81184 CFLAGS=''
81188 # Set -z,relro.
81189 # Note this is only for shared objects.
81190 ac_ld_relro=no
81191 if test x"$with_gnu_ld" = x"yes"; then
81192 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
81193 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
81194 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
81195 if test -n "$cxx_z_relo"; then
81196 OPT_LDFLAGS="-Wl,-z,relro"
81197 ac_ld_relro=yes
81199 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
81200 echo "${ECHO_T}$ac_ld_relro" >&6
81203 # Set linker optimization flags.
81204 if test x"$with_gnu_ld" = x"yes"; then
81205 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
81213 echo "$as_me:$LINENO: checking for main in -lm" >&5
81214 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
81215 if test "${ac_cv_lib_m_main+set}" = set; then
81216 echo $ECHO_N "(cached) $ECHO_C" >&6
81217 else
81218 ac_check_lib_save_LIBS=$LIBS
81219 LIBS="-lm $LIBS"
81220 if test x$gcc_no_link = xyes; then
81221 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81222 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81223 { (exit 1); exit 1; }; }
81225 cat >conftest.$ac_ext <<_ACEOF
81226 /* confdefs.h. */
81227 _ACEOF
81228 cat confdefs.h >>conftest.$ac_ext
81229 cat >>conftest.$ac_ext <<_ACEOF
81230 /* end confdefs.h. */
81234 main ()
81236 main ();
81238 return 0;
81240 _ACEOF
81241 rm -f conftest.$ac_objext conftest$ac_exeext
81242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81243 (eval $ac_link) 2>conftest.er1
81244 ac_status=$?
81245 grep -v '^ *+' conftest.er1 >conftest.err
81246 rm -f conftest.er1
81247 cat conftest.err >&5
81248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81249 (exit $ac_status); } &&
81250 { ac_try='test -z "$ac_c_werror_flag"
81251 || test ! -s conftest.err'
81252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81253 (eval $ac_try) 2>&5
81254 ac_status=$?
81255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81256 (exit $ac_status); }; } &&
81257 { ac_try='test -s conftest$ac_exeext'
81258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81259 (eval $ac_try) 2>&5
81260 ac_status=$?
81261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81262 (exit $ac_status); }; }; then
81263 ac_cv_lib_m_main=yes
81264 else
81265 echo "$as_me: failed program was:" >&5
81266 sed 's/^/| /' conftest.$ac_ext >&5
81268 ac_cv_lib_m_main=no
81270 rm -f conftest.err conftest.$ac_objext \
81271 conftest$ac_exeext conftest.$ac_ext
81272 LIBS=$ac_check_lib_save_LIBS
81274 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
81275 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
81276 if test $ac_cv_lib_m_main = yes; then
81277 cat >>confdefs.h <<_ACEOF
81278 #define HAVE_LIBM 1
81279 _ACEOF
81281 LIBS="-lm $LIBS"
81286 for ac_func in copysignf
81288 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81289 echo "$as_me:$LINENO: checking for $ac_func" >&5
81290 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81291 if eval "test \"\${$as_ac_var+set}\" = set"; then
81292 echo $ECHO_N "(cached) $ECHO_C" >&6
81293 else
81294 if test x$gcc_no_link = xyes; then
81295 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81296 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81297 { (exit 1); exit 1; }; }
81299 cat >conftest.$ac_ext <<_ACEOF
81300 /* confdefs.h. */
81301 _ACEOF
81302 cat confdefs.h >>conftest.$ac_ext
81303 cat >>conftest.$ac_ext <<_ACEOF
81304 /* end confdefs.h. */
81305 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81306 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81307 #define $ac_func innocuous_$ac_func
81309 /* System header to define __stub macros and hopefully few prototypes,
81310 which can conflict with char $ac_func (); below.
81311 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81312 <limits.h> exists even on freestanding compilers. */
81314 #ifdef __STDC__
81315 # include <limits.h>
81316 #else
81317 # include <assert.h>
81318 #endif
81320 #undef $ac_func
81322 /* Override any gcc2 internal prototype to avoid an error. */
81323 #ifdef __cplusplus
81324 extern "C"
81326 #endif
81327 /* We use char because int might match the return type of a gcc2
81328 builtin and then its argument prototype would still apply. */
81329 char $ac_func ();
81330 /* The GNU C library defines this for functions which it implements
81331 to always fail with ENOSYS. Some functions are actually named
81332 something starting with __ and the normal name is an alias. */
81333 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81334 choke me
81335 #else
81336 char (*f) () = $ac_func;
81337 #endif
81338 #ifdef __cplusplus
81340 #endif
81343 main ()
81345 return f != $ac_func;
81347 return 0;
81349 _ACEOF
81350 rm -f conftest.$ac_objext conftest$ac_exeext
81351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81352 (eval $ac_link) 2>conftest.er1
81353 ac_status=$?
81354 grep -v '^ *+' conftest.er1 >conftest.err
81355 rm -f conftest.er1
81356 cat conftest.err >&5
81357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81358 (exit $ac_status); } &&
81359 { ac_try='test -z "$ac_c_werror_flag"
81360 || test ! -s conftest.err'
81361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81362 (eval $ac_try) 2>&5
81363 ac_status=$?
81364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81365 (exit $ac_status); }; } &&
81366 { ac_try='test -s conftest$ac_exeext'
81367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81368 (eval $ac_try) 2>&5
81369 ac_status=$?
81370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81371 (exit $ac_status); }; }; then
81372 eval "$as_ac_var=yes"
81373 else
81374 echo "$as_me: failed program was:" >&5
81375 sed 's/^/| /' conftest.$ac_ext >&5
81377 eval "$as_ac_var=no"
81379 rm -f conftest.err conftest.$ac_objext \
81380 conftest$ac_exeext conftest.$ac_ext
81382 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81383 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81384 if test `eval echo '${'$as_ac_var'}'` = yes; then
81385 cat >>confdefs.h <<_ACEOF
81386 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81387 _ACEOF
81389 else
81390 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
81392 done
81396 for ac_func in __signbit
81398 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81399 echo "$as_me:$LINENO: checking for $ac_func" >&5
81400 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81401 if eval "test \"\${$as_ac_var+set}\" = set"; then
81402 echo $ECHO_N "(cached) $ECHO_C" >&6
81403 else
81404 if test x$gcc_no_link = xyes; then
81405 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81406 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81407 { (exit 1); exit 1; }; }
81409 cat >conftest.$ac_ext <<_ACEOF
81410 /* confdefs.h. */
81411 _ACEOF
81412 cat confdefs.h >>conftest.$ac_ext
81413 cat >>conftest.$ac_ext <<_ACEOF
81414 /* end confdefs.h. */
81415 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81416 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81417 #define $ac_func innocuous_$ac_func
81419 /* System header to define __stub macros and hopefully few prototypes,
81420 which can conflict with char $ac_func (); below.
81421 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81422 <limits.h> exists even on freestanding compilers. */
81424 #ifdef __STDC__
81425 # include <limits.h>
81426 #else
81427 # include <assert.h>
81428 #endif
81430 #undef $ac_func
81432 /* Override any gcc2 internal prototype to avoid an error. */
81433 #ifdef __cplusplus
81434 extern "C"
81436 #endif
81437 /* We use char because int might match the return type of a gcc2
81438 builtin and then its argument prototype would still apply. */
81439 char $ac_func ();
81440 /* The GNU C library defines this for functions which it implements
81441 to always fail with ENOSYS. Some functions are actually named
81442 something starting with __ and the normal name is an alias. */
81443 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81444 choke me
81445 #else
81446 char (*f) () = $ac_func;
81447 #endif
81448 #ifdef __cplusplus
81450 #endif
81453 main ()
81455 return f != $ac_func;
81457 return 0;
81459 _ACEOF
81460 rm -f conftest.$ac_objext conftest$ac_exeext
81461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81462 (eval $ac_link) 2>conftest.er1
81463 ac_status=$?
81464 grep -v '^ *+' conftest.er1 >conftest.err
81465 rm -f conftest.er1
81466 cat conftest.err >&5
81467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81468 (exit $ac_status); } &&
81469 { ac_try='test -z "$ac_c_werror_flag"
81470 || test ! -s conftest.err'
81471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81472 (eval $ac_try) 2>&5
81473 ac_status=$?
81474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81475 (exit $ac_status); }; } &&
81476 { ac_try='test -s conftest$ac_exeext'
81477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81478 (eval $ac_try) 2>&5
81479 ac_status=$?
81480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81481 (exit $ac_status); }; }; then
81482 eval "$as_ac_var=yes"
81483 else
81484 echo "$as_me: failed program was:" >&5
81485 sed 's/^/| /' conftest.$ac_ext >&5
81487 eval "$as_ac_var=no"
81489 rm -f conftest.err conftest.$ac_objext \
81490 conftest$ac_exeext conftest.$ac_ext
81492 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81493 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81494 if test `eval echo '${'$as_ac_var'}'` = yes; then
81495 cat >>confdefs.h <<_ACEOF
81496 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81497 _ACEOF
81499 else
81500 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
81502 done
81506 for ac_func in __signbitf
81508 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81509 echo "$as_me:$LINENO: checking for $ac_func" >&5
81510 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81511 if eval "test \"\${$as_ac_var+set}\" = set"; then
81512 echo $ECHO_N "(cached) $ECHO_C" >&6
81513 else
81514 if test x$gcc_no_link = xyes; then
81515 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81516 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81517 { (exit 1); exit 1; }; }
81519 cat >conftest.$ac_ext <<_ACEOF
81520 /* confdefs.h. */
81521 _ACEOF
81522 cat confdefs.h >>conftest.$ac_ext
81523 cat >>conftest.$ac_ext <<_ACEOF
81524 /* end confdefs.h. */
81525 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81526 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81527 #define $ac_func innocuous_$ac_func
81529 /* System header to define __stub macros and hopefully few prototypes,
81530 which can conflict with char $ac_func (); below.
81531 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81532 <limits.h> exists even on freestanding compilers. */
81534 #ifdef __STDC__
81535 # include <limits.h>
81536 #else
81537 # include <assert.h>
81538 #endif
81540 #undef $ac_func
81542 /* Override any gcc2 internal prototype to avoid an error. */
81543 #ifdef __cplusplus
81544 extern "C"
81546 #endif
81547 /* We use char because int might match the return type of a gcc2
81548 builtin and then its argument prototype would still apply. */
81549 char $ac_func ();
81550 /* The GNU C library defines this for functions which it implements
81551 to always fail with ENOSYS. Some functions are actually named
81552 something starting with __ and the normal name is an alias. */
81553 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81554 choke me
81555 #else
81556 char (*f) () = $ac_func;
81557 #endif
81558 #ifdef __cplusplus
81560 #endif
81563 main ()
81565 return f != $ac_func;
81567 return 0;
81569 _ACEOF
81570 rm -f conftest.$ac_objext conftest$ac_exeext
81571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81572 (eval $ac_link) 2>conftest.er1
81573 ac_status=$?
81574 grep -v '^ *+' conftest.er1 >conftest.err
81575 rm -f conftest.er1
81576 cat conftest.err >&5
81577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81578 (exit $ac_status); } &&
81579 { ac_try='test -z "$ac_c_werror_flag"
81580 || test ! -s conftest.err'
81581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81582 (eval $ac_try) 2>&5
81583 ac_status=$?
81584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81585 (exit $ac_status); }; } &&
81586 { ac_try='test -s conftest$ac_exeext'
81587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81588 (eval $ac_try) 2>&5
81589 ac_status=$?
81590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81591 (exit $ac_status); }; }; then
81592 eval "$as_ac_var=yes"
81593 else
81594 echo "$as_me: failed program was:" >&5
81595 sed 's/^/| /' conftest.$ac_ext >&5
81597 eval "$as_ac_var=no"
81599 rm -f conftest.err conftest.$ac_objext \
81600 conftest$ac_exeext conftest.$ac_ext
81602 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81603 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81604 if test `eval echo '${'$as_ac_var'}'` = yes; then
81605 cat >>confdefs.h <<_ACEOF
81606 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81607 _ACEOF
81609 else
81610 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
81612 done
81615 if test x$ac_cv_func_copysignl = x"yes"; then
81617 for ac_func in __signbitl
81619 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81620 echo "$as_me:$LINENO: checking for $ac_func" >&5
81621 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81622 if eval "test \"\${$as_ac_var+set}\" = set"; then
81623 echo $ECHO_N "(cached) $ECHO_C" >&6
81624 else
81625 if test x$gcc_no_link = xyes; then
81626 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81627 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81628 { (exit 1); exit 1; }; }
81630 cat >conftest.$ac_ext <<_ACEOF
81631 /* confdefs.h. */
81632 _ACEOF
81633 cat confdefs.h >>conftest.$ac_ext
81634 cat >>conftest.$ac_ext <<_ACEOF
81635 /* end confdefs.h. */
81636 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81637 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81638 #define $ac_func innocuous_$ac_func
81640 /* System header to define __stub macros and hopefully few prototypes,
81641 which can conflict with char $ac_func (); below.
81642 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81643 <limits.h> exists even on freestanding compilers. */
81645 #ifdef __STDC__
81646 # include <limits.h>
81647 #else
81648 # include <assert.h>
81649 #endif
81651 #undef $ac_func
81653 /* Override any gcc2 internal prototype to avoid an error. */
81654 #ifdef __cplusplus
81655 extern "C"
81657 #endif
81658 /* We use char because int might match the return type of a gcc2
81659 builtin and then its argument prototype would still apply. */
81660 char $ac_func ();
81661 /* The GNU C library defines this for functions which it implements
81662 to always fail with ENOSYS. Some functions are actually named
81663 something starting with __ and the normal name is an alias. */
81664 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81665 choke me
81666 #else
81667 char (*f) () = $ac_func;
81668 #endif
81669 #ifdef __cplusplus
81671 #endif
81674 main ()
81676 return f != $ac_func;
81678 return 0;
81680 _ACEOF
81681 rm -f conftest.$ac_objext conftest$ac_exeext
81682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81683 (eval $ac_link) 2>conftest.er1
81684 ac_status=$?
81685 grep -v '^ *+' conftest.er1 >conftest.err
81686 rm -f conftest.er1
81687 cat conftest.err >&5
81688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81689 (exit $ac_status); } &&
81690 { ac_try='test -z "$ac_c_werror_flag"
81691 || test ! -s conftest.err'
81692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81693 (eval $ac_try) 2>&5
81694 ac_status=$?
81695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81696 (exit $ac_status); }; } &&
81697 { ac_try='test -s conftest$ac_exeext'
81698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81699 (eval $ac_try) 2>&5
81700 ac_status=$?
81701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81702 (exit $ac_status); }; }; then
81703 eval "$as_ac_var=yes"
81704 else
81705 echo "$as_me: failed program was:" >&5
81706 sed 's/^/| /' conftest.$ac_ext >&5
81708 eval "$as_ac_var=no"
81710 rm -f conftest.err conftest.$ac_objext \
81711 conftest$ac_exeext conftest.$ac_ext
81713 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81714 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81715 if test `eval echo '${'$as_ac_var'}'` = yes; then
81716 cat >>confdefs.h <<_ACEOF
81717 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81718 _ACEOF
81720 else
81721 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
81723 done
81727 # Used in libmath/Makefile.am.
81728 if test -n "$LIBMATHOBJS"; then
81729 need_libmath=yes
81733 cat >>confdefs.h <<\_ACEOF
81734 #define HAVE_COSF 1
81735 _ACEOF
81737 cat >>confdefs.h <<\_ACEOF
81738 #define HAVE_COSL 1
81739 _ACEOF
81741 cat >>confdefs.h <<\_ACEOF
81742 #define HAVE_COSHF 1
81743 _ACEOF
81745 cat >>confdefs.h <<\_ACEOF
81746 #define HAVE_COSHL 1
81747 _ACEOF
81749 cat >>confdefs.h <<\_ACEOF
81750 #define HAVE_LOGF 1
81751 _ACEOF
81753 cat >>confdefs.h <<\_ACEOF
81754 #define HAVE_LOGL 1
81755 _ACEOF
81757 cat >>confdefs.h <<\_ACEOF
81758 #define HAVE_LOG10F 1
81759 _ACEOF
81761 cat >>confdefs.h <<\_ACEOF
81762 #define HAVE_LOG10L 1
81763 _ACEOF
81765 cat >>confdefs.h <<\_ACEOF
81766 #define HAVE_SINF 1
81767 _ACEOF
81769 cat >>confdefs.h <<\_ACEOF
81770 #define HAVE_SINL 1
81771 _ACEOF
81773 cat >>confdefs.h <<\_ACEOF
81774 #define HAVE_SINHF 1
81775 _ACEOF
81777 cat >>confdefs.h <<\_ACEOF
81778 #define HAVE_SINHL 1
81779 _ACEOF
81782 *-solaris*)
81783 case "$target" in
81784 # *-solaris2.5)
81785 # os_include_dir="os/solaris/solaris2.5"
81786 # ;;
81787 # *-solaris2.6)
81788 # os_include_dir="os/solaris/solaris2.6"
81789 # ;;
81790 *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
81792 # If we're not using GNU ld, then there's no point in even trying these
81793 # tests. Check for that first. We should have already tested for gld
81794 # by now (in libtool), but require it now just to be safe...
81795 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
81796 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
81800 # The name set by libtool depends on the version of libtool. Shame on us
81801 # for depending on an impl detail, but c'est la vie. Older versions used
81802 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
81803 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
81804 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
81805 # set (hence we're using an older libtool), then set it.
81806 if test x${with_gnu_ld+set} != xset; then
81807 if test x${ac_cv_prog_gnu_ld+set} != xset; then
81808 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
81809 with_gnu_ld=no
81810 else
81811 with_gnu_ld=$ac_cv_prog_gnu_ld
81815 # Start by getting the version number. I think the libtool test already
81816 # does some of this, but throws away the result.
81817 if test x"$with_gnu_ld" = x"yes"; then
81818 echo "$as_me:$LINENO: checking for ld version" >&5
81819 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
81821 ldver=`$LD --version 2>/dev/null | head -1 | \
81822 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
81824 glibcxx_gnu_ld_version=`echo $ldver | \
81825 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
81826 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
81827 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
81830 # Set --gc-sections.
81831 glibcxx_gcsections_min_ld=21602
81832 if test x"$with_gnu_ld" = x"yes" &&
81833 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
81835 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
81836 # NB: This flag only works reliably after 2.16.1. Configure tests
81837 # for this are difficult, so hard wire a value that should work.
81839 # All these tests are for C++, but run with the "C" compiler driver.
81840 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
81841 ac_test_CFLAGS="${CFLAGS+set}"
81842 ac_save_CFLAGS="$CFLAGS"
81843 CFLAGS='-x c++ -Wl,--gc-sections'
81845 # Check for -Wl,--gc-sections
81846 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
81847 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
81848 if test x$gcc_no_link = xyes; then
81849 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81850 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81851 { (exit 1); exit 1; }; }
81853 cat >conftest.$ac_ext <<_ACEOF
81854 /* confdefs.h. */
81855 _ACEOF
81856 cat confdefs.h >>conftest.$ac_ext
81857 cat >>conftest.$ac_ext <<_ACEOF
81858 /* end confdefs.h. */
81859 int one(void) { return 1; }
81860 int two(void) { return 2; }
81863 main ()
81865 two();
81867 return 0;
81869 _ACEOF
81870 rm -f conftest.$ac_objext conftest$ac_exeext
81871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81872 (eval $ac_link) 2>conftest.er1
81873 ac_status=$?
81874 grep -v '^ *+' conftest.er1 >conftest.err
81875 rm -f conftest.er1
81876 cat conftest.err >&5
81877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81878 (exit $ac_status); } &&
81879 { ac_try='test -z "$ac_c_werror_flag"
81880 || test ! -s conftest.err'
81881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81882 (eval $ac_try) 2>&5
81883 ac_status=$?
81884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81885 (exit $ac_status); }; } &&
81886 { ac_try='test -s conftest$ac_exeext'
81887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81888 (eval $ac_try) 2>&5
81889 ac_status=$?
81890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81891 (exit $ac_status); }; }; then
81892 ac_gcsections=yes
81893 else
81894 echo "$as_me: failed program was:" >&5
81895 sed 's/^/| /' conftest.$ac_ext >&5
81897 ac_gcsections=no
81899 rm -f conftest.err conftest.$ac_objext \
81900 conftest$ac_exeext conftest.$ac_ext
81901 if test "$ac_gcsections" = "yes"; then
81902 rm -f conftest.c
81903 touch conftest.c
81904 if $CC -c conftest.c; then
81905 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
81906 grep "Warning: gc-sections option ignored" > /dev/null; then
81907 ac_gcsections=no
81910 rm -f conftest.c conftest.o conftest
81912 if test "$ac_gcsections" = "yes"; then
81913 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
81915 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
81916 echo "${ECHO_T}$ac_gcsections" >&6
81918 if test "$ac_test_CFLAGS" = set; then
81919 CFLAGS="$ac_save_CFLAGS"
81920 else
81921 # this is the suspicious part
81922 CFLAGS=''
81926 # Set -z,relro.
81927 # Note this is only for shared objects.
81928 ac_ld_relro=no
81929 if test x"$with_gnu_ld" = x"yes"; then
81930 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
81931 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
81932 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
81933 if test -n "$cxx_z_relo"; then
81934 OPT_LDFLAGS="-Wl,-z,relro"
81935 ac_ld_relro=yes
81937 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
81938 echo "${ECHO_T}$ac_ld_relro" >&6
81941 # Set linker optimization flags.
81942 if test x"$with_gnu_ld" = x"yes"; then
81943 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
81949 cat >>confdefs.h <<\_ACEOF
81950 #define HAVE_GETPAGESIZE 1
81951 _ACEOF
81953 cat >>confdefs.h <<\_ACEOF
81954 #define HAVE_SIGSETJMP 1
81955 _ACEOF
81957 cat >>confdefs.h <<\_ACEOF
81958 #define HAVE_MBSTATE_T 1
81959 _ACEOF
81961 cat >>confdefs.h <<\_ACEOF
81962 #define HAVE_POLL 1
81963 _ACEOF
81965 cat >>confdefs.h <<\_ACEOF
81966 #define HAVE_S_ISREG 1
81967 _ACEOF
81969 cat >>confdefs.h <<\_ACEOF
81970 #define HAVE_LC_MESSAGES 1
81971 _ACEOF
81973 cat >>confdefs.h <<\_ACEOF
81974 #define HAVE_FINITE 1
81975 _ACEOF
81977 cat >>confdefs.h <<\_ACEOF
81978 #define HAVE_FPCLASS 1
81979 _ACEOF
81981 cat >>confdefs.h <<\_ACEOF
81982 #define HAVE_GETPAGESIZE 1
81983 _ACEOF
81985 # All of the dependencies for wide character support are here, so
81986 # turn it on.
81987 cat >>confdefs.h <<\_ACEOF
81988 #define _GLIBCXX_USE_WCHAR_T 1
81989 _ACEOF
81991 # Are these tested for even when cross?
81992 cat >>confdefs.h <<\_ACEOF
81993 #define HAVE_FLOAT_H 1
81994 _ACEOF
81996 cat >>confdefs.h <<\_ACEOF
81997 #define HAVE_IEEEFP_H 1
81998 _ACEOF
82000 cat >>confdefs.h <<\_ACEOF
82001 #define HAVE_INTTYPES_H 1
82002 _ACEOF
82004 cat >>confdefs.h <<\_ACEOF
82005 #define HAVE_LOCALE_H 1
82006 _ACEOF
82008 cat >>confdefs.h <<\_ACEOF
82009 #define HAVE_NAN_H 1
82010 _ACEOF
82012 cat >>confdefs.h <<\_ACEOF
82013 #define HAVE_SYS_FILIO_H 1
82014 _ACEOF
82016 cat >>confdefs.h <<\_ACEOF
82017 #define HAVE_SYS_IOCTL_H 1
82018 _ACEOF
82020 cat >>confdefs.h <<\_ACEOF
82021 #define HAVE_SYS_ISA_DEFS_H 1
82022 _ACEOF
82024 cat >>confdefs.h <<\_ACEOF
82025 #define HAVE_SYS_RESOURCE_H 1
82026 _ACEOF
82028 cat >>confdefs.h <<\_ACEOF
82029 #define HAVE_SYS_TIME_H 1
82030 _ACEOF
82032 cat >>confdefs.h <<\_ACEOF
82033 #define HAVE_SYS_TYPES_H 1
82034 _ACEOF
82036 cat >>confdefs.h <<\_ACEOF
82037 #define HAVE_UNISTD_H 1
82038 _ACEOF
82040 cat >>confdefs.h <<\_ACEOF
82041 #define HAVE_WCHAR_H 1
82042 _ACEOF
82044 cat >>confdefs.h <<\_ACEOF
82045 #define HAVE_WCTYPE_H 1
82046 _ACEOF
82048 cat >>confdefs.h <<\_ACEOF
82049 #define HAVE_LIBM 1
82050 _ACEOF
82053 esac
82054 case "$target" in
82055 sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
82056 # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
82057 cat >>confdefs.h <<\_ACEOF
82058 #define HAVE___BUILTIN_ABS 1
82059 _ACEOF
82061 cat >>confdefs.h <<\_ACEOF
82062 #define HAVE___BUILTIN_LABS 1
82063 _ACEOF
82065 cat >>confdefs.h <<\_ACEOF
82066 #define HAVE___BUILTIN_FABS 1
82067 _ACEOF
82069 cat >>confdefs.h <<\_ACEOF
82070 #define HAVE___BUILTIN_FABSF 1
82071 _ACEOF
82073 cat >>confdefs.h <<\_ACEOF
82074 #define HAVE___BUILTIN_FABSL 1
82075 _ACEOF
82077 cat >>confdefs.h <<\_ACEOF
82078 #define HAVE___BUILTIN_COS 1
82079 _ACEOF
82081 cat >>confdefs.h <<\_ACEOF
82082 #define HAVE___BUILTIN_COSF 1
82083 _ACEOF
82085 cat >>confdefs.h <<\_ACEOF
82086 #define HAVE___BUILTIN_SIN 1
82087 _ACEOF
82089 cat >>confdefs.h <<\_ACEOF
82090 #define HAVE___BUILTIN_SINF 1
82091 _ACEOF
82094 esac
82095 case "$target" in
82096 *-*-solaris2.10)
82097 # These two C99 functions are present only in Solaris >= 10
82098 cat >>confdefs.h <<\_ACEOF
82099 #define HAVE_STRTOF 1
82100 _ACEOF
82102 cat >>confdefs.h <<\_ACEOF
82103 #define HAVE_STRTOLD 1
82104 _ACEOF
82107 esac
82108 cat >>confdefs.h <<\_ACEOF
82109 #define HAVE_MMAP 1
82110 _ACEOF
82112 cat >>confdefs.h <<\_ACEOF
82113 #define HAVE_COPYSIGN 1
82114 _ACEOF
82116 cat >>confdefs.h <<\_ACEOF
82117 #define HAVE_ISNAN 1
82118 _ACEOF
82120 cat >>confdefs.h <<\_ACEOF
82121 #define HAVE_ISNANF 1
82122 _ACEOF
82124 cat >>confdefs.h <<\_ACEOF
82125 #define HAVE_MODFF 1
82126 _ACEOF
82128 cat >>confdefs.h <<\_ACEOF
82129 #define HAVE_HYPOT 1
82130 _ACEOF
82133 *-tpf)
82142 for ac_header in nan.h endian.h machine/endian.h \
82143 sys/param.h sys/types.h locale.h float.h inttypes.h
82145 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
82146 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82147 echo "$as_me:$LINENO: checking for $ac_header" >&5
82148 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82149 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82150 echo $ECHO_N "(cached) $ECHO_C" >&6
82152 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82153 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82154 else
82155 # Is the header compilable?
82156 echo "$as_me:$LINENO: checking $ac_header usability" >&5
82157 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
82158 cat >conftest.$ac_ext <<_ACEOF
82159 /* confdefs.h. */
82160 _ACEOF
82161 cat confdefs.h >>conftest.$ac_ext
82162 cat >>conftest.$ac_ext <<_ACEOF
82163 /* end confdefs.h. */
82164 $ac_includes_default
82165 #include <$ac_header>
82166 _ACEOF
82167 rm -f conftest.$ac_objext
82168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82169 (eval $ac_compile) 2>conftest.er1
82170 ac_status=$?
82171 grep -v '^ *+' conftest.er1 >conftest.err
82172 rm -f conftest.er1
82173 cat conftest.err >&5
82174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82175 (exit $ac_status); } &&
82176 { ac_try='test -z "$ac_c_werror_flag"
82177 || test ! -s conftest.err'
82178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82179 (eval $ac_try) 2>&5
82180 ac_status=$?
82181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82182 (exit $ac_status); }; } &&
82183 { ac_try='test -s conftest.$ac_objext'
82184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82185 (eval $ac_try) 2>&5
82186 ac_status=$?
82187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82188 (exit $ac_status); }; }; then
82189 ac_header_compiler=yes
82190 else
82191 echo "$as_me: failed program was:" >&5
82192 sed 's/^/| /' conftest.$ac_ext >&5
82194 ac_header_compiler=no
82196 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82197 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
82198 echo "${ECHO_T}$ac_header_compiler" >&6
82200 # Is the header present?
82201 echo "$as_me:$LINENO: checking $ac_header presence" >&5
82202 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
82203 cat >conftest.$ac_ext <<_ACEOF
82204 /* confdefs.h. */
82205 _ACEOF
82206 cat confdefs.h >>conftest.$ac_ext
82207 cat >>conftest.$ac_ext <<_ACEOF
82208 /* end confdefs.h. */
82209 #include <$ac_header>
82210 _ACEOF
82211 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
82212 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
82213 ac_status=$?
82214 grep -v '^ *+' conftest.er1 >conftest.err
82215 rm -f conftest.er1
82216 cat conftest.err >&5
82217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82218 (exit $ac_status); } >/dev/null; then
82219 if test -s conftest.err; then
82220 ac_cpp_err=$ac_c_preproc_warn_flag
82221 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
82222 else
82223 ac_cpp_err=
82225 else
82226 ac_cpp_err=yes
82228 if test -z "$ac_cpp_err"; then
82229 ac_header_preproc=yes
82230 else
82231 echo "$as_me: failed program was:" >&5
82232 sed 's/^/| /' conftest.$ac_ext >&5
82234 ac_header_preproc=no
82236 rm -f conftest.err conftest.$ac_ext
82237 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
82238 echo "${ECHO_T}$ac_header_preproc" >&6
82240 # So? What about this header?
82241 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
82242 yes:no: )
82243 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
82244 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
82245 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
82246 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
82247 ac_header_preproc=yes
82249 no:yes:* )
82250 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
82251 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
82252 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
82253 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
82254 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
82255 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
82256 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
82257 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
82258 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
82259 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
82260 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
82261 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
82263 cat <<\_ASBOX
82264 ## ----------------------------------------- ##
82265 ## Report this to the package-unused lists. ##
82266 ## ----------------------------------------- ##
82267 _ASBOX
82269 sed "s/^/$as_me: WARNING: /" >&2
82271 esac
82272 echo "$as_me:$LINENO: checking for $ac_header" >&5
82273 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82274 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82275 echo $ECHO_N "(cached) $ECHO_C" >&6
82276 else
82277 eval "$as_ac_Header=\$ac_header_preproc"
82279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82280 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82283 if test `eval echo '${'$as_ac_Header'}'` = yes; then
82284 cat >>confdefs.h <<_ACEOF
82285 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
82286 _ACEOF
82290 done
82292 SECTION_FLAGS='-ffunction-sections -fdata-sections'
82295 # If we're not using GNU ld, then there's no point in even trying these
82296 # tests. Check for that first. We should have already tested for gld
82297 # by now (in libtool), but require it now just to be safe...
82298 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
82299 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
82303 # The name set by libtool depends on the version of libtool. Shame on us
82304 # for depending on an impl detail, but c'est la vie. Older versions used
82305 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
82306 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
82307 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
82308 # set (hence we're using an older libtool), then set it.
82309 if test x${with_gnu_ld+set} != xset; then
82310 if test x${ac_cv_prog_gnu_ld+set} != xset; then
82311 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
82312 with_gnu_ld=no
82313 else
82314 with_gnu_ld=$ac_cv_prog_gnu_ld
82318 # Start by getting the version number. I think the libtool test already
82319 # does some of this, but throws away the result.
82320 if test x"$with_gnu_ld" = x"yes"; then
82321 echo "$as_me:$LINENO: checking for ld version" >&5
82322 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
82324 ldver=`$LD --version 2>/dev/null | head -1 | \
82325 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
82327 glibcxx_gnu_ld_version=`echo $ldver | \
82328 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
82329 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
82330 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
82333 # Set --gc-sections.
82334 glibcxx_gcsections_min_ld=21602
82335 if test x"$with_gnu_ld" = x"yes" &&
82336 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
82338 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
82339 # NB: This flag only works reliably after 2.16.1. Configure tests
82340 # for this are difficult, so hard wire a value that should work.
82342 # All these tests are for C++, but run with the "C" compiler driver.
82343 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
82344 ac_test_CFLAGS="${CFLAGS+set}"
82345 ac_save_CFLAGS="$CFLAGS"
82346 CFLAGS='-x c++ -Wl,--gc-sections'
82348 # Check for -Wl,--gc-sections
82349 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
82350 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
82351 if test x$gcc_no_link = xyes; then
82352 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82353 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82354 { (exit 1); exit 1; }; }
82356 cat >conftest.$ac_ext <<_ACEOF
82357 /* confdefs.h. */
82358 _ACEOF
82359 cat confdefs.h >>conftest.$ac_ext
82360 cat >>conftest.$ac_ext <<_ACEOF
82361 /* end confdefs.h. */
82362 int one(void) { return 1; }
82363 int two(void) { return 2; }
82366 main ()
82368 two();
82370 return 0;
82372 _ACEOF
82373 rm -f conftest.$ac_objext conftest$ac_exeext
82374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82375 (eval $ac_link) 2>conftest.er1
82376 ac_status=$?
82377 grep -v '^ *+' conftest.er1 >conftest.err
82378 rm -f conftest.er1
82379 cat conftest.err >&5
82380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82381 (exit $ac_status); } &&
82382 { ac_try='test -z "$ac_c_werror_flag"
82383 || test ! -s conftest.err'
82384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82385 (eval $ac_try) 2>&5
82386 ac_status=$?
82387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82388 (exit $ac_status); }; } &&
82389 { ac_try='test -s conftest$ac_exeext'
82390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82391 (eval $ac_try) 2>&5
82392 ac_status=$?
82393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82394 (exit $ac_status); }; }; then
82395 ac_gcsections=yes
82396 else
82397 echo "$as_me: failed program was:" >&5
82398 sed 's/^/| /' conftest.$ac_ext >&5
82400 ac_gcsections=no
82402 rm -f conftest.err conftest.$ac_objext \
82403 conftest$ac_exeext conftest.$ac_ext
82404 if test "$ac_gcsections" = "yes"; then
82405 rm -f conftest.c
82406 touch conftest.c
82407 if $CC -c conftest.c; then
82408 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
82409 grep "Warning: gc-sections option ignored" > /dev/null; then
82410 ac_gcsections=no
82413 rm -f conftest.c conftest.o conftest
82415 if test "$ac_gcsections" = "yes"; then
82416 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
82418 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
82419 echo "${ECHO_T}$ac_gcsections" >&6
82421 if test "$ac_test_CFLAGS" = set; then
82422 CFLAGS="$ac_save_CFLAGS"
82423 else
82424 # this is the suspicious part
82425 CFLAGS=''
82429 # Set -z,relro.
82430 # Note this is only for shared objects.
82431 ac_ld_relro=no
82432 if test x"$with_gnu_ld" = x"yes"; then
82433 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
82434 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
82435 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
82436 if test -n "$cxx_z_relo"; then
82437 OPT_LDFLAGS="-Wl,-z,relro"
82438 ac_ld_relro=yes
82440 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
82441 echo "${ECHO_T}$ac_ld_relro" >&6
82444 # Set linker optimization flags.
82445 if test x"$with_gnu_ld" = x"yes"; then
82446 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
82454 echo "$as_me:$LINENO: checking for main in -lm" >&5
82455 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
82456 if test "${ac_cv_lib_m_main+set}" = set; then
82457 echo $ECHO_N "(cached) $ECHO_C" >&6
82458 else
82459 ac_check_lib_save_LIBS=$LIBS
82460 LIBS="-lm $LIBS"
82461 if test x$gcc_no_link = xyes; then
82462 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82463 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82464 { (exit 1); exit 1; }; }
82466 cat >conftest.$ac_ext <<_ACEOF
82467 /* confdefs.h. */
82468 _ACEOF
82469 cat confdefs.h >>conftest.$ac_ext
82470 cat >>conftest.$ac_ext <<_ACEOF
82471 /* end confdefs.h. */
82475 main ()
82477 main ();
82479 return 0;
82481 _ACEOF
82482 rm -f conftest.$ac_objext conftest$ac_exeext
82483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82484 (eval $ac_link) 2>conftest.er1
82485 ac_status=$?
82486 grep -v '^ *+' conftest.er1 >conftest.err
82487 rm -f conftest.er1
82488 cat conftest.err >&5
82489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82490 (exit $ac_status); } &&
82491 { ac_try='test -z "$ac_c_werror_flag"
82492 || test ! -s conftest.err'
82493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82494 (eval $ac_try) 2>&5
82495 ac_status=$?
82496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82497 (exit $ac_status); }; } &&
82498 { ac_try='test -s conftest$ac_exeext'
82499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82500 (eval $ac_try) 2>&5
82501 ac_status=$?
82502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82503 (exit $ac_status); }; }; then
82504 ac_cv_lib_m_main=yes
82505 else
82506 echo "$as_me: failed program was:" >&5
82507 sed 's/^/| /' conftest.$ac_ext >&5
82509 ac_cv_lib_m_main=no
82511 rm -f conftest.err conftest.$ac_objext \
82512 conftest$ac_exeext conftest.$ac_ext
82513 LIBS=$ac_check_lib_save_LIBS
82515 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
82516 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
82517 if test $ac_cv_lib_m_main = yes; then
82518 cat >>confdefs.h <<_ACEOF
82519 #define HAVE_LIBM 1
82520 _ACEOF
82522 LIBS="-lm $LIBS"
82527 for ac_func in copysignf
82529 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82530 echo "$as_me:$LINENO: checking for $ac_func" >&5
82531 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82532 if eval "test \"\${$as_ac_var+set}\" = set"; then
82533 echo $ECHO_N "(cached) $ECHO_C" >&6
82534 else
82535 if test x$gcc_no_link = xyes; then
82536 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82537 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82538 { (exit 1); exit 1; }; }
82540 cat >conftest.$ac_ext <<_ACEOF
82541 /* confdefs.h. */
82542 _ACEOF
82543 cat confdefs.h >>conftest.$ac_ext
82544 cat >>conftest.$ac_ext <<_ACEOF
82545 /* end confdefs.h. */
82546 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82547 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82548 #define $ac_func innocuous_$ac_func
82550 /* System header to define __stub macros and hopefully few prototypes,
82551 which can conflict with char $ac_func (); below.
82552 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82553 <limits.h> exists even on freestanding compilers. */
82555 #ifdef __STDC__
82556 # include <limits.h>
82557 #else
82558 # include <assert.h>
82559 #endif
82561 #undef $ac_func
82563 /* Override any gcc2 internal prototype to avoid an error. */
82564 #ifdef __cplusplus
82565 extern "C"
82567 #endif
82568 /* We use char because int might match the return type of a gcc2
82569 builtin and then its argument prototype would still apply. */
82570 char $ac_func ();
82571 /* The GNU C library defines this for functions which it implements
82572 to always fail with ENOSYS. Some functions are actually named
82573 something starting with __ and the normal name is an alias. */
82574 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82575 choke me
82576 #else
82577 char (*f) () = $ac_func;
82578 #endif
82579 #ifdef __cplusplus
82581 #endif
82584 main ()
82586 return f != $ac_func;
82588 return 0;
82590 _ACEOF
82591 rm -f conftest.$ac_objext conftest$ac_exeext
82592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82593 (eval $ac_link) 2>conftest.er1
82594 ac_status=$?
82595 grep -v '^ *+' conftest.er1 >conftest.err
82596 rm -f conftest.er1
82597 cat conftest.err >&5
82598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82599 (exit $ac_status); } &&
82600 { ac_try='test -z "$ac_c_werror_flag"
82601 || test ! -s conftest.err'
82602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82603 (eval $ac_try) 2>&5
82604 ac_status=$?
82605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82606 (exit $ac_status); }; } &&
82607 { ac_try='test -s conftest$ac_exeext'
82608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82609 (eval $ac_try) 2>&5
82610 ac_status=$?
82611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82612 (exit $ac_status); }; }; then
82613 eval "$as_ac_var=yes"
82614 else
82615 echo "$as_me: failed program was:" >&5
82616 sed 's/^/| /' conftest.$ac_ext >&5
82618 eval "$as_ac_var=no"
82620 rm -f conftest.err conftest.$ac_objext \
82621 conftest$ac_exeext conftest.$ac_ext
82623 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82624 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82625 if test `eval echo '${'$as_ac_var'}'` = yes; then
82626 cat >>confdefs.h <<_ACEOF
82627 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82628 _ACEOF
82630 else
82631 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
82633 done
82637 for ac_func in __signbit
82639 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82640 echo "$as_me:$LINENO: checking for $ac_func" >&5
82641 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82642 if eval "test \"\${$as_ac_var+set}\" = set"; then
82643 echo $ECHO_N "(cached) $ECHO_C" >&6
82644 else
82645 if test x$gcc_no_link = xyes; then
82646 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82647 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82648 { (exit 1); exit 1; }; }
82650 cat >conftest.$ac_ext <<_ACEOF
82651 /* confdefs.h. */
82652 _ACEOF
82653 cat confdefs.h >>conftest.$ac_ext
82654 cat >>conftest.$ac_ext <<_ACEOF
82655 /* end confdefs.h. */
82656 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82657 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82658 #define $ac_func innocuous_$ac_func
82660 /* System header to define __stub macros and hopefully few prototypes,
82661 which can conflict with char $ac_func (); below.
82662 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82663 <limits.h> exists even on freestanding compilers. */
82665 #ifdef __STDC__
82666 # include <limits.h>
82667 #else
82668 # include <assert.h>
82669 #endif
82671 #undef $ac_func
82673 /* Override any gcc2 internal prototype to avoid an error. */
82674 #ifdef __cplusplus
82675 extern "C"
82677 #endif
82678 /* We use char because int might match the return type of a gcc2
82679 builtin and then its argument prototype would still apply. */
82680 char $ac_func ();
82681 /* The GNU C library defines this for functions which it implements
82682 to always fail with ENOSYS. Some functions are actually named
82683 something starting with __ and the normal name is an alias. */
82684 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82685 choke me
82686 #else
82687 char (*f) () = $ac_func;
82688 #endif
82689 #ifdef __cplusplus
82691 #endif
82694 main ()
82696 return f != $ac_func;
82698 return 0;
82700 _ACEOF
82701 rm -f conftest.$ac_objext conftest$ac_exeext
82702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82703 (eval $ac_link) 2>conftest.er1
82704 ac_status=$?
82705 grep -v '^ *+' conftest.er1 >conftest.err
82706 rm -f conftest.er1
82707 cat conftest.err >&5
82708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82709 (exit $ac_status); } &&
82710 { ac_try='test -z "$ac_c_werror_flag"
82711 || test ! -s conftest.err'
82712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82713 (eval $ac_try) 2>&5
82714 ac_status=$?
82715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82716 (exit $ac_status); }; } &&
82717 { ac_try='test -s conftest$ac_exeext'
82718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82719 (eval $ac_try) 2>&5
82720 ac_status=$?
82721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82722 (exit $ac_status); }; }; then
82723 eval "$as_ac_var=yes"
82724 else
82725 echo "$as_me: failed program was:" >&5
82726 sed 's/^/| /' conftest.$ac_ext >&5
82728 eval "$as_ac_var=no"
82730 rm -f conftest.err conftest.$ac_objext \
82731 conftest$ac_exeext conftest.$ac_ext
82733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82734 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82735 if test `eval echo '${'$as_ac_var'}'` = yes; then
82736 cat >>confdefs.h <<_ACEOF
82737 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82738 _ACEOF
82740 else
82741 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
82743 done
82747 for ac_func in __signbitf
82749 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82750 echo "$as_me:$LINENO: checking for $ac_func" >&5
82751 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82752 if eval "test \"\${$as_ac_var+set}\" = set"; then
82753 echo $ECHO_N "(cached) $ECHO_C" >&6
82754 else
82755 if test x$gcc_no_link = xyes; then
82756 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82757 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82758 { (exit 1); exit 1; }; }
82760 cat >conftest.$ac_ext <<_ACEOF
82761 /* confdefs.h. */
82762 _ACEOF
82763 cat confdefs.h >>conftest.$ac_ext
82764 cat >>conftest.$ac_ext <<_ACEOF
82765 /* end confdefs.h. */
82766 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82767 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82768 #define $ac_func innocuous_$ac_func
82770 /* System header to define __stub macros and hopefully few prototypes,
82771 which can conflict with char $ac_func (); below.
82772 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82773 <limits.h> exists even on freestanding compilers. */
82775 #ifdef __STDC__
82776 # include <limits.h>
82777 #else
82778 # include <assert.h>
82779 #endif
82781 #undef $ac_func
82783 /* Override any gcc2 internal prototype to avoid an error. */
82784 #ifdef __cplusplus
82785 extern "C"
82787 #endif
82788 /* We use char because int might match the return type of a gcc2
82789 builtin and then its argument prototype would still apply. */
82790 char $ac_func ();
82791 /* The GNU C library defines this for functions which it implements
82792 to always fail with ENOSYS. Some functions are actually named
82793 something starting with __ and the normal name is an alias. */
82794 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82795 choke me
82796 #else
82797 char (*f) () = $ac_func;
82798 #endif
82799 #ifdef __cplusplus
82801 #endif
82804 main ()
82806 return f != $ac_func;
82808 return 0;
82810 _ACEOF
82811 rm -f conftest.$ac_objext conftest$ac_exeext
82812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82813 (eval $ac_link) 2>conftest.er1
82814 ac_status=$?
82815 grep -v '^ *+' conftest.er1 >conftest.err
82816 rm -f conftest.er1
82817 cat conftest.err >&5
82818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82819 (exit $ac_status); } &&
82820 { ac_try='test -z "$ac_c_werror_flag"
82821 || test ! -s conftest.err'
82822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82823 (eval $ac_try) 2>&5
82824 ac_status=$?
82825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82826 (exit $ac_status); }; } &&
82827 { ac_try='test -s conftest$ac_exeext'
82828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82829 (eval $ac_try) 2>&5
82830 ac_status=$?
82831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82832 (exit $ac_status); }; }; then
82833 eval "$as_ac_var=yes"
82834 else
82835 echo "$as_me: failed program was:" >&5
82836 sed 's/^/| /' conftest.$ac_ext >&5
82838 eval "$as_ac_var=no"
82840 rm -f conftest.err conftest.$ac_objext \
82841 conftest$ac_exeext conftest.$ac_ext
82843 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82844 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82845 if test `eval echo '${'$as_ac_var'}'` = yes; then
82846 cat >>confdefs.h <<_ACEOF
82847 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82848 _ACEOF
82850 else
82851 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
82853 done
82856 if test x$ac_cv_func_copysignl = x"yes"; then
82858 for ac_func in __signbitl
82860 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82861 echo "$as_me:$LINENO: checking for $ac_func" >&5
82862 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82863 if eval "test \"\${$as_ac_var+set}\" = set"; then
82864 echo $ECHO_N "(cached) $ECHO_C" >&6
82865 else
82866 if test x$gcc_no_link = xyes; then
82867 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82868 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82869 { (exit 1); exit 1; }; }
82871 cat >conftest.$ac_ext <<_ACEOF
82872 /* confdefs.h. */
82873 _ACEOF
82874 cat confdefs.h >>conftest.$ac_ext
82875 cat >>conftest.$ac_ext <<_ACEOF
82876 /* end confdefs.h. */
82877 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82878 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82879 #define $ac_func innocuous_$ac_func
82881 /* System header to define __stub macros and hopefully few prototypes,
82882 which can conflict with char $ac_func (); below.
82883 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82884 <limits.h> exists even on freestanding compilers. */
82886 #ifdef __STDC__
82887 # include <limits.h>
82888 #else
82889 # include <assert.h>
82890 #endif
82892 #undef $ac_func
82894 /* Override any gcc2 internal prototype to avoid an error. */
82895 #ifdef __cplusplus
82896 extern "C"
82898 #endif
82899 /* We use char because int might match the return type of a gcc2
82900 builtin and then its argument prototype would still apply. */
82901 char $ac_func ();
82902 /* The GNU C library defines this for functions which it implements
82903 to always fail with ENOSYS. Some functions are actually named
82904 something starting with __ and the normal name is an alias. */
82905 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82906 choke me
82907 #else
82908 char (*f) () = $ac_func;
82909 #endif
82910 #ifdef __cplusplus
82912 #endif
82915 main ()
82917 return f != $ac_func;
82919 return 0;
82921 _ACEOF
82922 rm -f conftest.$ac_objext conftest$ac_exeext
82923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82924 (eval $ac_link) 2>conftest.er1
82925 ac_status=$?
82926 grep -v '^ *+' conftest.er1 >conftest.err
82927 rm -f conftest.er1
82928 cat conftest.err >&5
82929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82930 (exit $ac_status); } &&
82931 { ac_try='test -z "$ac_c_werror_flag"
82932 || test ! -s conftest.err'
82933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82934 (eval $ac_try) 2>&5
82935 ac_status=$?
82936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82937 (exit $ac_status); }; } &&
82938 { ac_try='test -s conftest$ac_exeext'
82939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82940 (eval $ac_try) 2>&5
82941 ac_status=$?
82942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82943 (exit $ac_status); }; }; then
82944 eval "$as_ac_var=yes"
82945 else
82946 echo "$as_me: failed program was:" >&5
82947 sed 's/^/| /' conftest.$ac_ext >&5
82949 eval "$as_ac_var=no"
82951 rm -f conftest.err conftest.$ac_objext \
82952 conftest$ac_exeext conftest.$ac_ext
82954 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82955 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82956 if test `eval echo '${'$as_ac_var'}'` = yes; then
82957 cat >>confdefs.h <<_ACEOF
82958 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82959 _ACEOF
82961 else
82962 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
82964 done
82968 # Used in libmath/Makefile.am.
82969 if test -n "$LIBMATHOBJS"; then
82970 need_libmath=yes
82974 cat >>confdefs.h <<\_ACEOF
82975 #define HAVE_COPYSIGN 1
82976 _ACEOF
82978 cat >>confdefs.h <<\_ACEOF
82979 #define HAVE_COPYSIGNF 1
82980 _ACEOF
82982 cat >>confdefs.h <<\_ACEOF
82983 #define HAVE_FINITE 1
82984 _ACEOF
82986 cat >>confdefs.h <<\_ACEOF
82987 #define HAVE_FINITEF 1
82988 _ACEOF
82990 cat >>confdefs.h <<\_ACEOF
82991 #define HAVE_FREXPF 1
82992 _ACEOF
82994 cat >>confdefs.h <<\_ACEOF
82995 #define HAVE_HYPOTF 1
82996 _ACEOF
82998 cat >>confdefs.h <<\_ACEOF
82999 #define HAVE_ISINF 1
83000 _ACEOF
83002 cat >>confdefs.h <<\_ACEOF
83003 #define HAVE_ISINFF 1
83004 _ACEOF
83006 cat >>confdefs.h <<\_ACEOF
83007 #define HAVE_ISNAN 1
83008 _ACEOF
83010 cat >>confdefs.h <<\_ACEOF
83011 #define HAVE_ISNANF 1
83012 _ACEOF
83014 cat >>confdefs.h <<\_ACEOF
83015 #define HAVE_SINCOS 1
83016 _ACEOF
83018 cat >>confdefs.h <<\_ACEOF
83019 #define HAVE_SINCOSF 1
83020 _ACEOF
83022 if test x"long_double_math_on_this_cpu" = x"yes"; then
83023 cat >>confdefs.h <<\_ACEOF
83024 #define HAVE_FINITEL 1
83025 _ACEOF
83027 cat >>confdefs.h <<\_ACEOF
83028 #define HAVE_HYPOTL 1
83029 _ACEOF
83031 cat >>confdefs.h <<\_ACEOF
83032 #define HAVE_ISINFL 1
83033 _ACEOF
83035 cat >>confdefs.h <<\_ACEOF
83036 #define HAVE_ISNANL 1
83037 _ACEOF
83041 *-vxworks)
83042 cat >>confdefs.h <<\_ACEOF
83043 #define HAVE_MMAP 1
83044 _ACEOF
83046 cat >>confdefs.h <<\_ACEOF
83047 #define HAVE_ACOSF 1
83048 _ACEOF
83050 cat >>confdefs.h <<\_ACEOF
83051 #define HAVE_ASINF 1
83052 _ACEOF
83054 cat >>confdefs.h <<\_ACEOF
83055 #define HAVE_ATAN2F 1
83056 _ACEOF
83058 cat >>confdefs.h <<\_ACEOF
83059 #define HAVE_ATANF 1
83060 _ACEOF
83062 cat >>confdefs.h <<\_ACEOF
83063 #define HAVE_CEILF 1
83064 _ACEOF
83066 cat >>confdefs.h <<\_ACEOF
83067 #define HAVE_COSF 1
83068 _ACEOF
83070 cat >>confdefs.h <<\_ACEOF
83071 #define HAVE_COSHF 1
83072 _ACEOF
83074 cat >>confdefs.h <<\_ACEOF
83075 #define HAVE_EXPF 1
83076 _ACEOF
83078 cat >>confdefs.h <<\_ACEOF
83079 #define HAVE_FABSF 1
83080 _ACEOF
83082 cat >>confdefs.h <<\_ACEOF
83083 #define HAVE_FLOORF 1
83084 _ACEOF
83086 cat >>confdefs.h <<\_ACEOF
83087 #define HAVE_FMODF 1
83088 _ACEOF
83090 cat >>confdefs.h <<\_ACEOF
83091 #define HAVE_HYPOT 1
83092 _ACEOF
83094 cat >>confdefs.h <<\_ACEOF
83095 #define HAVE_LOG10F 1
83096 _ACEOF
83098 cat >>confdefs.h <<\_ACEOF
83099 #define HAVE_LOGF 1
83100 _ACEOF
83102 cat >>confdefs.h <<\_ACEOF
83103 #define HAVE_POWF 1
83104 _ACEOF
83106 cat >>confdefs.h <<\_ACEOF
83107 #define HAVE_SINF 1
83108 _ACEOF
83110 cat >>confdefs.h <<\_ACEOF
83111 #define HAVE_SINHF 1
83112 _ACEOF
83114 cat >>confdefs.h <<\_ACEOF
83115 #define HAVE_SQRTF 1
83116 _ACEOF
83118 cat >>confdefs.h <<\_ACEOF
83119 #define HAVE_TANF 1
83120 _ACEOF
83122 cat >>confdefs.h <<\_ACEOF
83123 #define HAVE_TANHF 1
83124 _ACEOF
83127 *-windiss*)
83128 cat >>confdefs.h <<\_ACEOF
83129 #define HAVE_ACOSF 1
83130 _ACEOF
83132 cat >>confdefs.h <<\_ACEOF
83133 #define HAVE_ACOSL 1
83134 _ACEOF
83136 cat >>confdefs.h <<\_ACEOF
83137 #define HAVE_ASINF 1
83138 _ACEOF
83140 cat >>confdefs.h <<\_ACEOF
83141 #define HAVE_ASINL 1
83142 _ACEOF
83144 cat >>confdefs.h <<\_ACEOF
83145 #define HAVE_ATAN2F 1
83146 _ACEOF
83148 cat >>confdefs.h <<\_ACEOF
83149 #define HAVE_ATAN2L 1
83150 _ACEOF
83152 cat >>confdefs.h <<\_ACEOF
83153 #define HAVE_ATANF 1
83154 _ACEOF
83156 cat >>confdefs.h <<\_ACEOF
83157 #define HAVE_ATANL 1
83158 _ACEOF
83160 cat >>confdefs.h <<\_ACEOF
83161 #define HAVE_CEILF 1
83162 _ACEOF
83164 cat >>confdefs.h <<\_ACEOF
83165 #define HAVE_CEILL 1
83166 _ACEOF
83168 cat >>confdefs.h <<\_ACEOF
83169 #define HAVE_COPYSIGN 1
83170 _ACEOF
83172 cat >>confdefs.h <<\_ACEOF
83173 #define HAVE_COPYSIGNF 1
83174 _ACEOF
83176 cat >>confdefs.h <<\_ACEOF
83177 #define HAVE_COSF 1
83178 _ACEOF
83180 cat >>confdefs.h <<\_ACEOF
83181 #define HAVE_COSL 1
83182 _ACEOF
83184 cat >>confdefs.h <<\_ACEOF
83185 #define HAVE_COSHF 1
83186 _ACEOF
83188 cat >>confdefs.h <<\_ACEOF
83189 #define HAVE_COSHL 1
83190 _ACEOF
83192 cat >>confdefs.h <<\_ACEOF
83193 #define HAVE_EXPF 1
83194 _ACEOF
83196 cat >>confdefs.h <<\_ACEOF
83197 #define HAVE_EXPL 1
83198 _ACEOF
83200 cat >>confdefs.h <<\_ACEOF
83201 #define HAVE_FABSF 1
83202 _ACEOF
83204 cat >>confdefs.h <<\_ACEOF
83205 #define HAVE_FABSL 1
83206 _ACEOF
83208 cat >>confdefs.h <<\_ACEOF
83209 #define HAVE_FLOORF 1
83210 _ACEOF
83212 cat >>confdefs.h <<\_ACEOF
83213 #define HAVE_FLOORL 1
83214 _ACEOF
83216 cat >>confdefs.h <<\_ACEOF
83217 #define HAVE_FMODF 1
83218 _ACEOF
83220 cat >>confdefs.h <<\_ACEOF
83221 #define HAVE_FMODL 1
83222 _ACEOF
83224 cat >>confdefs.h <<\_ACEOF
83225 #define HAVE_FREXPF 1
83226 _ACEOF
83228 cat >>confdefs.h <<\_ACEOF
83229 #define HAVE_FREXPL 1
83230 _ACEOF
83232 cat >>confdefs.h <<\_ACEOF
83233 #define HAVE_LDEXPF 1
83234 _ACEOF
83236 cat >>confdefs.h <<\_ACEOF
83237 #define HAVE_LDEXPL 1
83238 _ACEOF
83240 cat >>confdefs.h <<\_ACEOF
83241 #define HAVE_LOG10F 1
83242 _ACEOF
83244 cat >>confdefs.h <<\_ACEOF
83245 #define HAVE_LOG10L 1
83246 _ACEOF
83248 cat >>confdefs.h <<\_ACEOF
83249 #define HAVE_LOGF 1
83250 _ACEOF
83252 cat >>confdefs.h <<\_ACEOF
83253 #define HAVE_MODFF 1
83254 _ACEOF
83256 cat >>confdefs.h <<\_ACEOF
83257 #define HAVE_MODFL 1
83258 _ACEOF
83260 cat >>confdefs.h <<\_ACEOF
83261 #define HAVE_POWF 1
83262 _ACEOF
83264 cat >>confdefs.h <<\_ACEOF
83265 #define HAVE_POWL 1
83266 _ACEOF
83268 cat >>confdefs.h <<\_ACEOF
83269 #define HAVE_SINF 1
83270 _ACEOF
83272 cat >>confdefs.h <<\_ACEOF
83273 #define HAVE_SINL 1
83274 _ACEOF
83276 cat >>confdefs.h <<\_ACEOF
83277 #define HAVE_SINHF 1
83278 _ACEOF
83280 cat >>confdefs.h <<\_ACEOF
83281 #define HAVE_SINHL 1
83282 _ACEOF
83284 cat >>confdefs.h <<\_ACEOF
83285 #define HAVE_SQRTF 1
83286 _ACEOF
83288 cat >>confdefs.h <<\_ACEOF
83289 #define HAVE_SQRTL 1
83290 _ACEOF
83292 cat >>confdefs.h <<\_ACEOF
83293 #define HAVE_TANF 1
83294 _ACEOF
83296 cat >>confdefs.h <<\_ACEOF
83297 #define HAVE_TANL 1
83298 _ACEOF
83300 cat >>confdefs.h <<\_ACEOF
83301 #define HAVE_TANHF 1
83302 _ACEOF
83304 cat >>confdefs.h <<\_ACEOF
83305 #define HAVE_TANHL 1
83306 _ACEOF
83310 { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
83311 echo "$as_me: error: No support for this host/target combination." >&2;}
83312 { (exit 1); exit 1; }; }
83314 esac
83318 # At some point, we should differentiate between architectures
83319 # like x86, which have long double versions, and alpha/powerpc/etc.,
83320 # which don't. For the time being, punt.
83321 if test x"long_double_math_on_this_cpu" = x"yes"; then
83322 cat >>confdefs.h <<\_ACEOF
83323 #define HAVE_ACOSL 1
83324 _ACEOF
83326 cat >>confdefs.h <<\_ACEOF
83327 #define HAVE_ASINL 1
83328 _ACEOF
83330 cat >>confdefs.h <<\_ACEOF
83331 #define HAVE_ATAN2L 1
83332 _ACEOF
83334 cat >>confdefs.h <<\_ACEOF
83335 #define HAVE_ATANL 1
83336 _ACEOF
83338 cat >>confdefs.h <<\_ACEOF
83339 #define HAVE_CEILL 1
83340 _ACEOF
83342 cat >>confdefs.h <<\_ACEOF
83343 #define HAVE_COPYSIGNL 1
83344 _ACEOF
83346 cat >>confdefs.h <<\_ACEOF
83347 #define HAVE_COSL 1
83348 _ACEOF
83350 cat >>confdefs.h <<\_ACEOF
83351 #define HAVE_COSHL 1
83352 _ACEOF
83354 cat >>confdefs.h <<\_ACEOF
83355 #define HAVE_EXPL 1
83356 _ACEOF
83358 cat >>confdefs.h <<\_ACEOF
83359 #define HAVE_FABSL 1
83360 _ACEOF
83362 cat >>confdefs.h <<\_ACEOF
83363 #define HAVE_FLOORL 1
83364 _ACEOF
83366 cat >>confdefs.h <<\_ACEOF
83367 #define HAVE_FMODL 1
83368 _ACEOF
83370 cat >>confdefs.h <<\_ACEOF
83371 #define HAVE_FREXPL 1
83372 _ACEOF
83374 cat >>confdefs.h <<\_ACEOF
83375 #define HAVE_LDEXPL 1
83376 _ACEOF
83378 cat >>confdefs.h <<\_ACEOF
83379 #define HAVE_LOG10L 1
83380 _ACEOF
83382 cat >>confdefs.h <<\_ACEOF
83383 #define HAVE_LOGL 1
83384 _ACEOF
83386 cat >>confdefs.h <<\_ACEOF
83387 #define HAVE_MODFL 1
83388 _ACEOF
83390 cat >>confdefs.h <<\_ACEOF
83391 #define HAVE_POWL 1
83392 _ACEOF
83394 cat >>confdefs.h <<\_ACEOF
83395 #define HAVE_SINCOSL 1
83396 _ACEOF
83398 cat >>confdefs.h <<\_ACEOF
83399 #define HAVE_SINL 1
83400 _ACEOF
83402 cat >>confdefs.h <<\_ACEOF
83403 #define HAVE_SINHL 1
83404 _ACEOF
83406 cat >>confdefs.h <<\_ACEOF
83407 #define HAVE_SQRTL 1
83408 _ACEOF
83410 cat >>confdefs.h <<\_ACEOF
83411 #define HAVE_TANL 1
83412 _ACEOF
83414 cat >>confdefs.h <<\_ACEOF
83415 #define HAVE_TANHL 1
83416 _ACEOF
83420 # Assume we have _Unwind_GetIPInfo for cross-compiles.
83421 cat >>confdefs.h <<\_ACEOF
83422 #define HAVE_GETIPINFO 1
83423 _ACEOF
83428 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
83431 # Check whether --enable-symvers or --disable-symvers was given.
83432 if test "${enable_symvers+set}" = set; then
83433 enableval="$enable_symvers"
83435 case "$enableval" in
83436 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export) ;;
83437 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
83438 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
83439 { (exit 1); exit 1; }; } ;;
83440 esac
83442 else
83443 enable_symvers=yes
83447 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
83448 # don't know enough about $LD to do tricks...
83451 # Turn a 'yes' into a suitable default.
83452 if test x$enable_symvers = xyes ; then
83453 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
83454 enable_symvers=no
83455 else
83456 if test $with_gnu_ld = yes ; then
83457 enable_symvers=gnu
83458 else
83459 case ${target_os} in
83460 darwin*)
83461 enable_symvers=darwin ;;
83463 enable_symvers=no ;;
83464 esac
83469 # Check to see if 'darwin' or 'darwin-export' can win.
83470 if test x$enable_symvers = xdarwin-export ; then
83471 enable_symvers=darwin
83474 # Check to see if 'gnu' can win.
83475 if test $enable_symvers = gnu || test $enable_symvers = gnu-versioned-namespace; then
83476 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
83477 echo "$as_me:$LINENO: checking for shared libgcc" >&5
83478 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
83479 ac_save_CFLAGS="$CFLAGS"
83480 CFLAGS=' -lgcc_s'
83481 if test x$gcc_no_link = xyes; then
83482 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83483 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83484 { (exit 1); exit 1; }; }
83486 cat >conftest.$ac_ext <<_ACEOF
83487 /* confdefs.h. */
83488 _ACEOF
83489 cat confdefs.h >>conftest.$ac_ext
83490 cat >>conftest.$ac_ext <<_ACEOF
83491 /* end confdefs.h. */
83494 main ()
83496 return 0;
83498 return 0;
83500 _ACEOF
83501 rm -f conftest.$ac_objext conftest$ac_exeext
83502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83503 (eval $ac_link) 2>conftest.er1
83504 ac_status=$?
83505 grep -v '^ *+' conftest.er1 >conftest.err
83506 rm -f conftest.er1
83507 cat conftest.err >&5
83508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83509 (exit $ac_status); } &&
83510 { ac_try='test -z "$ac_c_werror_flag"
83511 || test ! -s conftest.err'
83512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83513 (eval $ac_try) 2>&5
83514 ac_status=$?
83515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83516 (exit $ac_status); }; } &&
83517 { ac_try='test -s conftest$ac_exeext'
83518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83519 (eval $ac_try) 2>&5
83520 ac_status=$?
83521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83522 (exit $ac_status); }; }; then
83523 glibcxx_shared_libgcc=yes
83524 else
83525 echo "$as_me: failed program was:" >&5
83526 sed 's/^/| /' conftest.$ac_ext >&5
83528 glibcxx_shared_libgcc=no
83530 rm -f conftest.err conftest.$ac_objext \
83531 conftest$ac_exeext conftest.$ac_ext
83532 CFLAGS="$ac_save_CFLAGS"
83533 if test $glibcxx_shared_libgcc = no; then
83534 cat > conftest.c <<EOF
83535 int main (void) { return 0; }
83537 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
83538 -shared -shared-libgcc -o conftest.so \
83539 conftest.c -v 2>&1 >/dev/null \
83540 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
83541 rm -f conftest.c conftest.so
83542 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
83543 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
83544 if test x$gcc_no_link = xyes; then
83545 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83546 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83547 { (exit 1); exit 1; }; }
83549 cat >conftest.$ac_ext <<_ACEOF
83550 /* confdefs.h. */
83551 _ACEOF
83552 cat confdefs.h >>conftest.$ac_ext
83553 cat >>conftest.$ac_ext <<_ACEOF
83554 /* end confdefs.h. */
83557 main ()
83559 return 0;
83561 return 0;
83563 _ACEOF
83564 rm -f conftest.$ac_objext conftest$ac_exeext
83565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83566 (eval $ac_link) 2>conftest.er1
83567 ac_status=$?
83568 grep -v '^ *+' conftest.er1 >conftest.err
83569 rm -f conftest.er1
83570 cat conftest.err >&5
83571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83572 (exit $ac_status); } &&
83573 { ac_try='test -z "$ac_c_werror_flag"
83574 || test ! -s conftest.err'
83575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83576 (eval $ac_try) 2>&5
83577 ac_status=$?
83578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83579 (exit $ac_status); }; } &&
83580 { ac_try='test -s conftest$ac_exeext'
83581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83582 (eval $ac_try) 2>&5
83583 ac_status=$?
83584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83585 (exit $ac_status); }; }; then
83586 glibcxx_shared_libgcc=yes
83587 else
83588 echo "$as_me: failed program was:" >&5
83589 sed 's/^/| /' conftest.$ac_ext >&5
83592 rm -f conftest.err conftest.$ac_objext \
83593 conftest$ac_exeext conftest.$ac_ext
83594 CFLAGS="$ac_save_CFLAGS"
83597 echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
83598 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
83600 # For GNU ld, we need at least this version. The format is described in
83601 # GLIBCXX_CHECK_LINKER_FEATURES above.
83602 glibcxx_min_gnu_ld_version=21400
83604 # If no shared libgcc, can't win.
83605 if test $glibcxx_shared_libgcc != yes; then
83606 { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
83607 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
83608 { echo "$as_me:$LINENO: WARNING: === you are not building a shared libgcc_s." >&5
83609 echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
83610 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
83611 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
83612 enable_symvers=no
83613 elif test $with_gnu_ld != yes ; then
83614 # just fail for now
83615 { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
83616 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
83617 { echo "$as_me:$LINENO: WARNING: === you are not using the GNU linker." >&5
83618 echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
83619 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
83620 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
83621 enable_symvers=no
83622 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
83623 # The right tools, the right setup, but too old. Fallbacks?
83624 { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
83625 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
83626 { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
83627 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
83628 { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
83629 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
83630 { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
83631 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
83632 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
83633 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
83634 enable_symvers=no
83638 # Everything parsed; figure out what file to use.
83639 case $enable_symvers in
83641 SYMVER_FILE=config/abi/pre/none.ver
83643 gnu)
83644 SYMVER_FILE=config/abi/pre/gnu.ver
83646 cat >>confdefs.h <<\_ACEOF
83647 #define _GLIBCXX_SYMVER_GNU 1
83648 _ACEOF
83651 gnu-versioned-namespace)
83652 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
83654 cat >>confdefs.h <<\_ACEOF
83655 #define _GLIBCXX_SYMVER_GNU_NAMESPACE 1
83656 _ACEOF
83659 darwin)
83660 SYMVER_FILE=config/abi/pre/gnu.ver
83662 cat >>confdefs.h <<\_ACEOF
83663 #define _GLIBCXX_SYMVER_DARWIN 1
83664 _ACEOF
83667 esac
83669 if test x$enable_symvers != xno ; then
83671 cat >>confdefs.h <<\_ACEOF
83672 #define _GLIBCXX_SYMVER 1
83673 _ACEOF
83683 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
83684 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
83686 # Now, set up compatibility support, if any.
83687 # In addition, need this to deal with std::size_t mangling in
83688 # src/compatibility.cc. In a perfect world, could use
83689 # typeid(std::size_t).name()[0] to do direct substitution.
83690 echo "$as_me:$LINENO: checking for size_t as unsigned int" >&5
83691 echo $ECHO_N "checking for size_t as unsigned int... $ECHO_C" >&6
83692 ac_save_CFLAGS="$CFLAGS"
83693 CFLAGS="-Werror"
83694 cat >conftest.$ac_ext <<_ACEOF
83695 /* confdefs.h. */
83696 _ACEOF
83697 cat confdefs.h >>conftest.$ac_ext
83698 cat >>conftest.$ac_ext <<_ACEOF
83699 /* end confdefs.h. */
83702 main ()
83704 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
83706 return 0;
83708 _ACEOF
83709 rm -f conftest.$ac_objext
83710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83711 (eval $ac_compile) 2>conftest.er1
83712 ac_status=$?
83713 grep -v '^ *+' conftest.er1 >conftest.err
83714 rm -f conftest.er1
83715 cat conftest.err >&5
83716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83717 (exit $ac_status); } &&
83718 { ac_try='test -z "$ac_c_werror_flag"
83719 || test ! -s conftest.err'
83720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83721 (eval $ac_try) 2>&5
83722 ac_status=$?
83723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83724 (exit $ac_status); }; } &&
83725 { ac_try='test -s conftest.$ac_objext'
83726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83727 (eval $ac_try) 2>&5
83728 ac_status=$?
83729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83730 (exit $ac_status); }; }; then
83731 glibcxx_size_t_is_i=yes
83732 else
83733 echo "$as_me: failed program was:" >&5
83734 sed 's/^/| /' conftest.$ac_ext >&5
83736 glibcxx_size_t_is_i=no
83738 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83739 CFLAGS=$ac_save_CFLAGS
83740 if test "$glibcxx_size_t_is_i" = yes; then
83742 cat >>confdefs.h <<\_ACEOF
83743 #define _GLIBCXX_SIZE_T_IS_UINT 1
83744 _ACEOF
83747 echo "$as_me:$LINENO: result: $glibcxx_size_t_is_i" >&5
83748 echo "${ECHO_T}$glibcxx_size_t_is_i" >&6
83750 echo "$as_me:$LINENO: checking for ptrdiff_t as int" >&5
83751 echo $ECHO_N "checking for ptrdiff_t as int... $ECHO_C" >&6
83752 ac_save_CFLAGS="$CFLAGS"
83753 CFLAGS="-Werror"
83754 cat >conftest.$ac_ext <<_ACEOF
83755 /* confdefs.h. */
83756 _ACEOF
83757 cat confdefs.h >>conftest.$ac_ext
83758 cat >>conftest.$ac_ext <<_ACEOF
83759 /* end confdefs.h. */
83762 main ()
83764 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
83766 return 0;
83768 _ACEOF
83769 rm -f conftest.$ac_objext
83770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83771 (eval $ac_compile) 2>conftest.er1
83772 ac_status=$?
83773 grep -v '^ *+' conftest.er1 >conftest.err
83774 rm -f conftest.er1
83775 cat conftest.err >&5
83776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83777 (exit $ac_status); } &&
83778 { ac_try='test -z "$ac_c_werror_flag"
83779 || test ! -s conftest.err'
83780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83781 (eval $ac_try) 2>&5
83782 ac_status=$?
83783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83784 (exit $ac_status); }; } &&
83785 { ac_try='test -s conftest.$ac_objext'
83786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83787 (eval $ac_try) 2>&5
83788 ac_status=$?
83789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83790 (exit $ac_status); }; }; then
83791 glibcxx_ptrdiff_t_is_i=yes
83792 else
83793 echo "$as_me: failed program was:" >&5
83794 sed 's/^/| /' conftest.$ac_ext >&5
83796 glibcxx_ptrdiff_t_is_i=no
83798 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83799 CFLAGS=$ac_save_CFLAGS
83800 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
83802 cat >>confdefs.h <<\_ACEOF
83803 #define _GLIBCXX_PTRDIFF_T_IS_INT 1
83804 _ACEOF
83807 echo "$as_me:$LINENO: result: $glibcxx_ptrdiff_t_is_i" >&5
83808 echo "${ECHO_T}$glibcxx_ptrdiff_t_is_i" >&6
83811 # Check whether --enable-visibility or --disable-visibility was given.
83812 if test "${enable_visibility+set}" = set; then
83813 enableval="$enable_visibility"
83815 case "$enableval" in
83816 yes|no) ;;
83817 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable visibility must be yes or no" >&5
83818 echo "$as_me: error: Argument to enable/disable visibility must be yes or no" >&2;}
83819 { (exit 1); exit 1; }; } ;;
83820 esac
83822 else
83823 enable_visibility=yes
83827 if test x$enable_visibility = xyes ; then
83828 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
83829 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
83830 if test "${have_attribute_visibility+set}" = set; then
83831 echo $ECHO_N "(cached) $ECHO_C" >&6
83832 else
83834 save_CFLAGS="$CFLAGS"
83835 CFLAGS="$CFLAGS -Werror"
83836 cat >conftest.$ac_ext <<_ACEOF
83837 /* confdefs.h. */
83838 _ACEOF
83839 cat confdefs.h >>conftest.$ac_ext
83840 cat >>conftest.$ac_ext <<_ACEOF
83841 /* end confdefs.h. */
83842 void __attribute__((visibility("hidden"))) foo(void) { }
83844 main ()
83848 return 0;
83850 _ACEOF
83851 rm -f conftest.$ac_objext
83852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83853 (eval $ac_compile) 2>conftest.er1
83854 ac_status=$?
83855 grep -v '^ *+' conftest.er1 >conftest.err
83856 rm -f conftest.er1
83857 cat conftest.err >&5
83858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83859 (exit $ac_status); } &&
83860 { ac_try='test -z "$ac_c_werror_flag"
83861 || test ! -s conftest.err'
83862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83863 (eval $ac_try) 2>&5
83864 ac_status=$?
83865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83866 (exit $ac_status); }; } &&
83867 { ac_try='test -s conftest.$ac_objext'
83868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83869 (eval $ac_try) 2>&5
83870 ac_status=$?
83871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83872 (exit $ac_status); }; }; then
83873 have_attribute_visibility=yes
83874 else
83875 echo "$as_me: failed program was:" >&5
83876 sed 's/^/| /' conftest.$ac_ext >&5
83878 have_attribute_visibility=no
83880 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83881 CFLAGS="$save_CFLAGS"
83883 echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5
83884 echo "${ECHO_T}$have_attribute_visibility" >&6
83885 if test $have_attribute_visibility = no; then
83886 enable_visibility=no
83891 { echo "$as_me:$LINENO: visibility supported: $enable_visibility" >&5
83892 echo "$as_me: visibility supported: $enable_visibility" >&6;}
83895 ac_ldbl_compat=no
83896 case "$target" in
83897 powerpc*-*-linux* | \
83898 powerpc*-*-gnu* | \
83899 sparc*-*-linux* | \
83900 s390*-*-linux* | \
83901 alpha*-*-linux*)
83902 cat >conftest.$ac_ext <<_ACEOF
83903 /* confdefs.h. */
83904 _ACEOF
83905 cat confdefs.h >>conftest.$ac_ext
83906 cat >>conftest.$ac_ext <<_ACEOF
83907 /* end confdefs.h. */
83910 main ()
83913 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
83914 #error no need for long double compatibility
83915 #endif
83918 return 0;
83920 _ACEOF
83921 rm -f conftest.$ac_objext
83922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83923 (eval $ac_compile) 2>conftest.er1
83924 ac_status=$?
83925 grep -v '^ *+' conftest.er1 >conftest.err
83926 rm -f conftest.er1
83927 cat conftest.err >&5
83928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83929 (exit $ac_status); } &&
83930 { ac_try='test -z "$ac_c_werror_flag"
83931 || test ! -s conftest.err'
83932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83933 (eval $ac_try) 2>&5
83934 ac_status=$?
83935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83936 (exit $ac_status); }; } &&
83937 { ac_try='test -s conftest.$ac_objext'
83938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83939 (eval $ac_try) 2>&5
83940 ac_status=$?
83941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83942 (exit $ac_status); }; }; then
83943 ac_ldbl_compat=yes
83944 else
83945 echo "$as_me: failed program was:" >&5
83946 sed 's/^/| /' conftest.$ac_ext >&5
83948 ac_ldbl_compat=no
83950 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83951 if test "$ac_ldbl_compat" = yes; then
83953 cat >>confdefs.h <<\_ACEOF
83954 #define _GLIBCXX_LONG_DOUBLE_COMPAT 1
83955 _ACEOF
83957 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
83959 esac
83962 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
83964 if $GLIBCXX_IS_NATIVE ; then
83965 # Do checks for resource limit functions.
83967 setrlimit_have_headers=yes
83971 for ac_header in unistd.h sys/time.h sys/resource.h
83973 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
83974 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83975 echo "$as_me:$LINENO: checking for $ac_header" >&5
83976 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83977 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83978 echo $ECHO_N "(cached) $ECHO_C" >&6
83980 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83981 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83982 else
83983 # Is the header compilable?
83984 echo "$as_me:$LINENO: checking $ac_header usability" >&5
83985 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
83986 cat >conftest.$ac_ext <<_ACEOF
83987 /* confdefs.h. */
83988 _ACEOF
83989 cat confdefs.h >>conftest.$ac_ext
83990 cat >>conftest.$ac_ext <<_ACEOF
83991 /* end confdefs.h. */
83992 $ac_includes_default
83993 #include <$ac_header>
83994 _ACEOF
83995 rm -f conftest.$ac_objext
83996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83997 (eval $ac_compile) 2>conftest.er1
83998 ac_status=$?
83999 grep -v '^ *+' conftest.er1 >conftest.err
84000 rm -f conftest.er1
84001 cat conftest.err >&5
84002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84003 (exit $ac_status); } &&
84004 { ac_try='test -z "$ac_c_werror_flag"
84005 || test ! -s conftest.err'
84006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84007 (eval $ac_try) 2>&5
84008 ac_status=$?
84009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84010 (exit $ac_status); }; } &&
84011 { ac_try='test -s conftest.$ac_objext'
84012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84013 (eval $ac_try) 2>&5
84014 ac_status=$?
84015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84016 (exit $ac_status); }; }; then
84017 ac_header_compiler=yes
84018 else
84019 echo "$as_me: failed program was:" >&5
84020 sed 's/^/| /' conftest.$ac_ext >&5
84022 ac_header_compiler=no
84024 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84025 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84026 echo "${ECHO_T}$ac_header_compiler" >&6
84028 # Is the header present?
84029 echo "$as_me:$LINENO: checking $ac_header presence" >&5
84030 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
84031 cat >conftest.$ac_ext <<_ACEOF
84032 /* confdefs.h. */
84033 _ACEOF
84034 cat confdefs.h >>conftest.$ac_ext
84035 cat >>conftest.$ac_ext <<_ACEOF
84036 /* end confdefs.h. */
84037 #include <$ac_header>
84038 _ACEOF
84039 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84040 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84041 ac_status=$?
84042 grep -v '^ *+' conftest.er1 >conftest.err
84043 rm -f conftest.er1
84044 cat conftest.err >&5
84045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84046 (exit $ac_status); } >/dev/null; then
84047 if test -s conftest.err; then
84048 ac_cpp_err=$ac_c_preproc_warn_flag
84049 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84050 else
84051 ac_cpp_err=
84053 else
84054 ac_cpp_err=yes
84056 if test -z "$ac_cpp_err"; then
84057 ac_header_preproc=yes
84058 else
84059 echo "$as_me: failed program was:" >&5
84060 sed 's/^/| /' conftest.$ac_ext >&5
84062 ac_header_preproc=no
84064 rm -f conftest.err conftest.$ac_ext
84065 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84066 echo "${ECHO_T}$ac_header_preproc" >&6
84068 # So? What about this header?
84069 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84070 yes:no: )
84071 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
84072 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
84073 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
84074 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
84075 ac_header_preproc=yes
84077 no:yes:* )
84078 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
84079 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
84080 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
84081 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
84082 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
84083 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
84084 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
84085 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
84086 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
84087 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
84088 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
84089 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
84091 cat <<\_ASBOX
84092 ## ----------------------------------------- ##
84093 ## Report this to the package-unused lists. ##
84094 ## ----------------------------------------- ##
84095 _ASBOX
84097 sed "s/^/$as_me: WARNING: /" >&2
84099 esac
84100 echo "$as_me:$LINENO: checking for $ac_header" >&5
84101 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84102 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84103 echo $ECHO_N "(cached) $ECHO_C" >&6
84104 else
84105 eval "$as_ac_Header=\$ac_header_preproc"
84107 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84108 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84111 if test `eval echo '${'$as_ac_Header'}'` = yes; then
84112 cat >>confdefs.h <<_ACEOF
84113 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
84114 _ACEOF
84116 else
84117 setrlimit_have_headers=no
84120 done
84122 # If don't have the headers, then we can't run the tests now, and we
84123 # won't be seeing any of these during testsuite compilation.
84124 if test $setrlimit_have_headers = yes; then
84125 # Can't do these in a loop, else the resulting syntax is wrong.
84127 echo "$as_me:$LINENO: checking for RLIMIT_DATA" >&5
84128 echo $ECHO_N "checking for RLIMIT_DATA... $ECHO_C" >&6
84129 cat >conftest.$ac_ext <<_ACEOF
84130 /* confdefs.h. */
84131 _ACEOF
84132 cat confdefs.h >>conftest.$ac_ext
84133 cat >>conftest.$ac_ext <<_ACEOF
84134 /* end confdefs.h. */
84135 #include <unistd.h>
84136 #include <sys/time.h>
84137 #include <sys/resource.h>
84140 main ()
84142 int f = RLIMIT_DATA ;
84144 return 0;
84146 _ACEOF
84147 rm -f conftest.$ac_objext
84148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84149 (eval $ac_compile) 2>conftest.er1
84150 ac_status=$?
84151 grep -v '^ *+' conftest.er1 >conftest.err
84152 rm -f conftest.er1
84153 cat conftest.err >&5
84154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84155 (exit $ac_status); } &&
84156 { ac_try='test -z "$ac_c_werror_flag"
84157 || test ! -s conftest.err'
84158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84159 (eval $ac_try) 2>&5
84160 ac_status=$?
84161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84162 (exit $ac_status); }; } &&
84163 { ac_try='test -s conftest.$ac_objext'
84164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84165 (eval $ac_try) 2>&5
84166 ac_status=$?
84167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84168 (exit $ac_status); }; }; then
84169 glibcxx_mresult=1
84170 else
84171 echo "$as_me: failed program was:" >&5
84172 sed 's/^/| /' conftest.$ac_ext >&5
84174 glibcxx_mresult=0
84176 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84178 cat >>confdefs.h <<_ACEOF
84179 #define HAVE_LIMIT_DATA $glibcxx_mresult
84180 _ACEOF
84182 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
84183 echo "$as_me:$LINENO: result: $res" >&5
84184 echo "${ECHO_T}$res" >&6
84187 echo "$as_me:$LINENO: checking for RLIMIT_RSS" >&5
84188 echo $ECHO_N "checking for RLIMIT_RSS... $ECHO_C" >&6
84189 cat >conftest.$ac_ext <<_ACEOF
84190 /* confdefs.h. */
84191 _ACEOF
84192 cat confdefs.h >>conftest.$ac_ext
84193 cat >>conftest.$ac_ext <<_ACEOF
84194 /* end confdefs.h. */
84195 #include <unistd.h>
84196 #include <sys/time.h>
84197 #include <sys/resource.h>
84200 main ()
84202 int f = RLIMIT_RSS ;
84204 return 0;
84206 _ACEOF
84207 rm -f conftest.$ac_objext
84208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84209 (eval $ac_compile) 2>conftest.er1
84210 ac_status=$?
84211 grep -v '^ *+' conftest.er1 >conftest.err
84212 rm -f conftest.er1
84213 cat conftest.err >&5
84214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84215 (exit $ac_status); } &&
84216 { ac_try='test -z "$ac_c_werror_flag"
84217 || test ! -s conftest.err'
84218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84219 (eval $ac_try) 2>&5
84220 ac_status=$?
84221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84222 (exit $ac_status); }; } &&
84223 { ac_try='test -s conftest.$ac_objext'
84224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84225 (eval $ac_try) 2>&5
84226 ac_status=$?
84227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84228 (exit $ac_status); }; }; then
84229 glibcxx_mresult=1
84230 else
84231 echo "$as_me: failed program was:" >&5
84232 sed 's/^/| /' conftest.$ac_ext >&5
84234 glibcxx_mresult=0
84236 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84238 cat >>confdefs.h <<_ACEOF
84239 #define HAVE_LIMIT_RSS $glibcxx_mresult
84240 _ACEOF
84242 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
84243 echo "$as_me:$LINENO: result: $res" >&5
84244 echo "${ECHO_T}$res" >&6
84247 echo "$as_me:$LINENO: checking for RLIMIT_VMEM" >&5
84248 echo $ECHO_N "checking for RLIMIT_VMEM... $ECHO_C" >&6
84249 cat >conftest.$ac_ext <<_ACEOF
84250 /* confdefs.h. */
84251 _ACEOF
84252 cat confdefs.h >>conftest.$ac_ext
84253 cat >>conftest.$ac_ext <<_ACEOF
84254 /* end confdefs.h. */
84255 #include <unistd.h>
84256 #include <sys/time.h>
84257 #include <sys/resource.h>
84260 main ()
84262 int f = RLIMIT_VMEM ;
84264 return 0;
84266 _ACEOF
84267 rm -f conftest.$ac_objext
84268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84269 (eval $ac_compile) 2>conftest.er1
84270 ac_status=$?
84271 grep -v '^ *+' conftest.er1 >conftest.err
84272 rm -f conftest.er1
84273 cat conftest.err >&5
84274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84275 (exit $ac_status); } &&
84276 { ac_try='test -z "$ac_c_werror_flag"
84277 || test ! -s conftest.err'
84278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84279 (eval $ac_try) 2>&5
84280 ac_status=$?
84281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84282 (exit $ac_status); }; } &&
84283 { ac_try='test -s conftest.$ac_objext'
84284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84285 (eval $ac_try) 2>&5
84286 ac_status=$?
84287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84288 (exit $ac_status); }; }; then
84289 glibcxx_mresult=1
84290 else
84291 echo "$as_me: failed program was:" >&5
84292 sed 's/^/| /' conftest.$ac_ext >&5
84294 glibcxx_mresult=0
84296 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84298 cat >>confdefs.h <<_ACEOF
84299 #define HAVE_LIMIT_VMEM $glibcxx_mresult
84300 _ACEOF
84302 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
84303 echo "$as_me:$LINENO: result: $res" >&5
84304 echo "${ECHO_T}$res" >&6
84307 echo "$as_me:$LINENO: checking for RLIMIT_AS" >&5
84308 echo $ECHO_N "checking for RLIMIT_AS... $ECHO_C" >&6
84309 cat >conftest.$ac_ext <<_ACEOF
84310 /* confdefs.h. */
84311 _ACEOF
84312 cat confdefs.h >>conftest.$ac_ext
84313 cat >>conftest.$ac_ext <<_ACEOF
84314 /* end confdefs.h. */
84315 #include <unistd.h>
84316 #include <sys/time.h>
84317 #include <sys/resource.h>
84320 main ()
84322 int f = RLIMIT_AS ;
84324 return 0;
84326 _ACEOF
84327 rm -f conftest.$ac_objext
84328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84329 (eval $ac_compile) 2>conftest.er1
84330 ac_status=$?
84331 grep -v '^ *+' conftest.er1 >conftest.err
84332 rm -f conftest.er1
84333 cat conftest.err >&5
84334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84335 (exit $ac_status); } &&
84336 { ac_try='test -z "$ac_c_werror_flag"
84337 || test ! -s conftest.err'
84338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84339 (eval $ac_try) 2>&5
84340 ac_status=$?
84341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84342 (exit $ac_status); }; } &&
84343 { ac_try='test -s conftest.$ac_objext'
84344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84345 (eval $ac_try) 2>&5
84346 ac_status=$?
84347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84348 (exit $ac_status); }; }; then
84349 glibcxx_mresult=1
84350 else
84351 echo "$as_me: failed program was:" >&5
84352 sed 's/^/| /' conftest.$ac_ext >&5
84354 glibcxx_mresult=0
84356 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84358 cat >>confdefs.h <<_ACEOF
84359 #define HAVE_LIMIT_AS $glibcxx_mresult
84360 _ACEOF
84362 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
84363 echo "$as_me:$LINENO: result: $res" >&5
84364 echo "${ECHO_T}$res" >&6
84367 echo "$as_me:$LINENO: checking for RLIMIT_FSIZE" >&5
84368 echo $ECHO_N "checking for RLIMIT_FSIZE... $ECHO_C" >&6
84369 cat >conftest.$ac_ext <<_ACEOF
84370 /* confdefs.h. */
84371 _ACEOF
84372 cat confdefs.h >>conftest.$ac_ext
84373 cat >>conftest.$ac_ext <<_ACEOF
84374 /* end confdefs.h. */
84375 #include <unistd.h>
84376 #include <sys/time.h>
84377 #include <sys/resource.h>
84380 main ()
84382 int f = RLIMIT_FSIZE ;
84384 return 0;
84386 _ACEOF
84387 rm -f conftest.$ac_objext
84388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84389 (eval $ac_compile) 2>conftest.er1
84390 ac_status=$?
84391 grep -v '^ *+' conftest.er1 >conftest.err
84392 rm -f conftest.er1
84393 cat conftest.err >&5
84394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84395 (exit $ac_status); } &&
84396 { ac_try='test -z "$ac_c_werror_flag"
84397 || test ! -s conftest.err'
84398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84399 (eval $ac_try) 2>&5
84400 ac_status=$?
84401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84402 (exit $ac_status); }; } &&
84403 { ac_try='test -s conftest.$ac_objext'
84404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84405 (eval $ac_try) 2>&5
84406 ac_status=$?
84407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84408 (exit $ac_status); }; }; then
84409 glibcxx_mresult=1
84410 else
84411 echo "$as_me: failed program was:" >&5
84412 sed 's/^/| /' conftest.$ac_ext >&5
84414 glibcxx_mresult=0
84416 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84418 cat >>confdefs.h <<_ACEOF
84419 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
84420 _ACEOF
84422 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
84423 echo "$as_me:$LINENO: result: $res" >&5
84424 echo "${ECHO_T}$res" >&6
84427 # Check for rlimit, setrlimit.
84428 if test "${ac_setrlimit+set}" = set; then
84429 echo $ECHO_N "(cached) $ECHO_C" >&6
84430 else
84432 cat >conftest.$ac_ext <<_ACEOF
84433 /* confdefs.h. */
84434 _ACEOF
84435 cat confdefs.h >>conftest.$ac_ext
84436 cat >>conftest.$ac_ext <<_ACEOF
84437 /* end confdefs.h. */
84438 #include <unistd.h>
84439 #include <sys/time.h>
84440 #include <sys/resource.h>
84443 main ()
84445 struct rlimit r;
84446 setrlimit(0, &r);
84448 return 0;
84450 _ACEOF
84451 rm -f conftest.$ac_objext
84452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84453 (eval $ac_compile) 2>conftest.er1
84454 ac_status=$?
84455 grep -v '^ *+' conftest.er1 >conftest.err
84456 rm -f conftest.er1
84457 cat conftest.err >&5
84458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84459 (exit $ac_status); } &&
84460 { ac_try='test -z "$ac_c_werror_flag"
84461 || test ! -s conftest.err'
84462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84463 (eval $ac_try) 2>&5
84464 ac_status=$?
84465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84466 (exit $ac_status); }; } &&
84467 { ac_try='test -s conftest.$ac_objext'
84468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84469 (eval $ac_try) 2>&5
84470 ac_status=$?
84471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84472 (exit $ac_status); }; }; then
84473 ac_setrlimit=yes
84474 else
84475 echo "$as_me: failed program was:" >&5
84476 sed 's/^/| /' conftest.$ac_ext >&5
84478 ac_setrlimit=no
84480 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84486 echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
84487 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
84488 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
84489 ac_res_limits=yes
84491 cat >>confdefs.h <<\_ACEOF
84492 #define _GLIBCXX_RES_LIMITS 1
84493 _ACEOF
84495 else
84496 ac_res_limits=no
84498 echo "$as_me:$LINENO: result: $ac_res_limits" >&5
84499 echo "${ECHO_T}$ac_res_limits" >&6
84502 # Look for setenv, so that extended locale tests can be performed.
84504 echo "$as_me:$LINENO: checking for setenv declaration" >&5
84505 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
84506 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
84507 if test "${glibcxx_cv_func_setenv_use+set}" = set; then
84508 echo $ECHO_N "(cached) $ECHO_C" >&6
84509 else
84513 ac_ext=cc
84514 ac_cpp='$CXXCPP $CPPFLAGS'
84515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84519 cat >conftest.$ac_ext <<_ACEOF
84520 /* confdefs.h. */
84521 _ACEOF
84522 cat confdefs.h >>conftest.$ac_ext
84523 cat >>conftest.$ac_ext <<_ACEOF
84524 /* end confdefs.h. */
84525 #include <stdlib.h>
84527 main ()
84529 setenv(0, 0, 0);
84531 return 0;
84533 _ACEOF
84534 rm -f conftest.$ac_objext
84535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84536 (eval $ac_compile) 2>conftest.er1
84537 ac_status=$?
84538 grep -v '^ *+' conftest.er1 >conftest.err
84539 rm -f conftest.er1
84540 cat conftest.err >&5
84541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84542 (exit $ac_status); } &&
84543 { ac_try='test -z "$ac_cxx_werror_flag"
84544 || test ! -s conftest.err'
84545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84546 (eval $ac_try) 2>&5
84547 ac_status=$?
84548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84549 (exit $ac_status); }; } &&
84550 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
84556 glibcxx_cv_func_setenv_use=yes
84557 else
84558 echo "$as_me: failed program was:" >&5
84559 sed 's/^/| /' conftest.$ac_ext >&5
84561 glibcxx_cv_func_setenv_use=no
84563 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84564 ac_ext=c
84565 ac_cpp='$CPP $CPPFLAGS'
84566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84574 echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
84575 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
84576 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
84578 for ac_func in setenv
84580 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84581 echo "$as_me:$LINENO: checking for $ac_func" >&5
84582 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84583 if eval "test \"\${$as_ac_var+set}\" = set"; then
84584 echo $ECHO_N "(cached) $ECHO_C" >&6
84585 else
84586 if test x$gcc_no_link = xyes; then
84587 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84588 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84589 { (exit 1); exit 1; }; }
84591 cat >conftest.$ac_ext <<_ACEOF
84592 /* confdefs.h. */
84593 _ACEOF
84594 cat confdefs.h >>conftest.$ac_ext
84595 cat >>conftest.$ac_ext <<_ACEOF
84596 /* end confdefs.h. */
84597 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84598 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84599 #define $ac_func innocuous_$ac_func
84601 /* System header to define __stub macros and hopefully few prototypes,
84602 which can conflict with char $ac_func (); below.
84603 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84604 <limits.h> exists even on freestanding compilers. */
84606 #ifdef __STDC__
84607 # include <limits.h>
84608 #else
84609 # include <assert.h>
84610 #endif
84612 #undef $ac_func
84614 /* Override any gcc2 internal prototype to avoid an error. */
84615 #ifdef __cplusplus
84616 extern "C"
84618 #endif
84619 /* We use char because int might match the return type of a gcc2
84620 builtin and then its argument prototype would still apply. */
84621 char $ac_func ();
84622 /* The GNU C library defines this for functions which it implements
84623 to always fail with ENOSYS. Some functions are actually named
84624 something starting with __ and the normal name is an alias. */
84625 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84626 choke me
84627 #else
84628 char (*f) () = $ac_func;
84629 #endif
84630 #ifdef __cplusplus
84632 #endif
84635 main ()
84637 return f != $ac_func;
84639 return 0;
84641 _ACEOF
84642 rm -f conftest.$ac_objext conftest$ac_exeext
84643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84644 (eval $ac_link) 2>conftest.er1
84645 ac_status=$?
84646 grep -v '^ *+' conftest.er1 >conftest.err
84647 rm -f conftest.er1
84648 cat conftest.err >&5
84649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84650 (exit $ac_status); } &&
84651 { ac_try='test -z "$ac_c_werror_flag"
84652 || test ! -s conftest.err'
84653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84654 (eval $ac_try) 2>&5
84655 ac_status=$?
84656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84657 (exit $ac_status); }; } &&
84658 { ac_try='test -s conftest$ac_exeext'
84659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84660 (eval $ac_try) 2>&5
84661 ac_status=$?
84662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84663 (exit $ac_status); }; }; then
84664 eval "$as_ac_var=yes"
84665 else
84666 echo "$as_me: failed program was:" >&5
84667 sed 's/^/| /' conftest.$ac_ext >&5
84669 eval "$as_ac_var=no"
84671 rm -f conftest.err conftest.$ac_objext \
84672 conftest$ac_exeext conftest.$ac_ext
84674 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84675 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84676 if test `eval echo '${'$as_ac_var'}'` = yes; then
84677 cat >>confdefs.h <<_ACEOF
84678 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84679 _ACEOF
84682 done
84688 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
84689 test $enable_symvers != no; then
84690 case "$host" in
84691 *-*-cygwin*)
84692 enable_abi_check=no ;;
84694 enable_abi_check=yes ;;
84695 esac
84696 else
84697 # Only build this as native, since automake does not understand
84698 # CXX_FOR_BUILD.
84699 enable_abi_check=no
84702 # Export file names for ABI checking.
84703 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}\$(MULTISUBDIR)"
84707 # Propagate the target-specific source directories through the build chain.
84708 ATOMICITY_SRCDIR=config/${atomicity_dir}
84709 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
84710 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
84711 OS_INC_SRCDIR=config/${os_include_dir}
84712 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
84720 # Determine cross-compile flags and AM_CONDITIONALs.
84721 #AC_SUBST(GLIBCXX_IS_NATIVE)
84722 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
84723 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
84724 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH, test $need_libmath = yes)
84727 if test $is_hosted = yes; then
84728 GLIBCXX_HOSTED_TRUE=
84729 GLIBCXX_HOSTED_FALSE='#'
84730 else
84731 GLIBCXX_HOSTED_TRUE='#'
84732 GLIBCXX_HOSTED_FALSE=
84738 if test $enable_libstdcxx_pch = yes; then
84739 GLIBCXX_BUILD_PCH_TRUE=
84740 GLIBCXX_BUILD_PCH_FALSE='#'
84741 else
84742 GLIBCXX_BUILD_PCH_TRUE='#'
84743 GLIBCXX_BUILD_PCH_FALSE=
84749 if test $enable_cheaders = c; then
84750 GLIBCXX_C_HEADERS_C_TRUE=
84751 GLIBCXX_C_HEADERS_C_FALSE='#'
84752 else
84753 GLIBCXX_C_HEADERS_C_TRUE='#'
84754 GLIBCXX_C_HEADERS_C_FALSE=
84760 if test $enable_cheaders = c_std; then
84761 GLIBCXX_C_HEADERS_C_STD_TRUE=
84762 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
84763 else
84764 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
84765 GLIBCXX_C_HEADERS_C_STD_FALSE=
84771 if test $enable_cheaders = c_global; then
84772 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
84773 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
84774 else
84775 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
84776 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
84782 if test $c_compatibility = yes; then
84783 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
84784 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
84785 else
84786 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
84787 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
84793 if test $c_extra = yes; then
84794 GLIBCXX_C_HEADERS_EXTRA_TRUE=
84795 GLIBCXX_C_HEADERS_EXTRA_FALSE='#'
84796 else
84797 GLIBCXX_C_HEADERS_EXTRA_TRUE='#'
84798 GLIBCXX_C_HEADERS_EXTRA_FALSE=
84804 if test $enable_libstdcxx_debug = yes; then
84805 GLIBCXX_BUILD_DEBUG_TRUE=
84806 GLIBCXX_BUILD_DEBUG_FALSE='#'
84807 else
84808 GLIBCXX_BUILD_DEBUG_TRUE='#'
84809 GLIBCXX_BUILD_DEBUG_FALSE=
84815 if test $enable_symvers != no; then
84816 ENABLE_SYMVERS_TRUE=
84817 ENABLE_SYMVERS_FALSE='#'
84818 else
84819 ENABLE_SYMVERS_TRUE='#'
84820 ENABLE_SYMVERS_FALSE=
84826 if test $enable_symvers = gnu; then
84827 ENABLE_SYMVERS_GNU_TRUE=
84828 ENABLE_SYMVERS_GNU_FALSE='#'
84829 else
84830 ENABLE_SYMVERS_GNU_TRUE='#'
84831 ENABLE_SYMVERS_GNU_FALSE=
84837 if test $enable_symvers = gnu-versioned-namespace; then
84838 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
84839 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
84840 else
84841 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
84842 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
84848 if test $enable_symvers = darwin; then
84849 ENABLE_SYMVERS_DARWIN_TRUE=
84850 ENABLE_SYMVERS_DARWIN_FALSE='#'
84851 else
84852 ENABLE_SYMVERS_DARWIN_TRUE='#'
84853 ENABLE_SYMVERS_DARWIN_FALSE=
84859 if test $enable_visibility = yes; then
84860 ENABLE_VISIBILITY_TRUE=
84861 ENABLE_VISIBILITY_FALSE='#'
84862 else
84863 ENABLE_VISIBILITY_TRUE='#'
84864 ENABLE_VISIBILITY_FALSE=
84870 if test $ac_ldbl_compat = yes; then
84871 GLIBCXX_LDBL_COMPAT_TRUE=
84872 GLIBCXX_LDBL_COMPAT_FALSE='#'
84873 else
84874 GLIBCXX_LDBL_COMPAT_TRUE='#'
84875 GLIBCXX_LDBL_COMPAT_FALSE=
84881 cat >confcache <<\_ACEOF
84882 # This file is a shell script that caches the results of configure
84883 # tests run on this system so they can be shared between configure
84884 # scripts and configure runs, see configure's option --config-cache.
84885 # It is not useful on other systems. If it contains results you don't
84886 # want to keep, you may remove or edit it.
84888 # config.status only pays attention to the cache file if you give it
84889 # the --recheck option to rerun configure.
84891 # `ac_cv_env_foo' variables (set or unset) will be overridden when
84892 # loading this file, other *unset* `ac_cv_foo' will be assigned the
84893 # following values.
84895 _ACEOF
84897 # The following way of writing the cache mishandles newlines in values,
84898 # but we know of no workaround that is simple, portable, and efficient.
84899 # So, don't put newlines in cache variables' values.
84900 # Ultrix sh set writes to stderr and can't be redirected directly,
84901 # and sets the high bit in the cache file unless we assign to the vars.
84903 (set) 2>&1 |
84904 case `(ac_space=' '; set | grep ac_space) 2>&1` in
84905 *ac_space=\ *)
84906 # `set' does not quote correctly, so add quotes (double-quote
84907 # substitution turns \\\\ into \\, and sed turns \\ into \).
84908 sed -n \
84909 "s/'/'\\\\''/g;
84910 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
84913 # `set' quotes correctly as required by POSIX, so do not add quotes.
84914 sed -n \
84915 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
84917 esac;
84919 sed '
84920 t clear
84921 : clear
84922 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
84923 t end
84924 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
84925 : end' >>confcache
84926 if diff $cache_file confcache >/dev/null 2>&1; then :; else
84927 if test -w $cache_file; then
84928 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
84929 cat confcache >$cache_file
84930 else
84931 echo "not updating unwritable cache $cache_file"
84934 rm -f confcache
84936 if test ${multilib} = yes; then
84937 multilib_arg="--enable-multilib"
84938 else
84939 multilib_arg=
84942 # Export all the install information.
84944 glibcxx_toolexecdir=no
84945 glibcxx_toolexeclibdir=no
84946 glibcxx_prefixdir=$prefix
84948 echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
84949 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
84951 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
84952 if test "${with_gxx_include_dir+set}" = set; then
84953 withval="$with_gxx_include_dir"
84954 case "$withval" in
84955 yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
84956 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
84957 { (exit 1); exit 1; }; } ;;
84958 no) gxx_include_dir=no ;;
84959 *) gxx_include_dir=$withval ;;
84960 esac
84961 else
84962 gxx_include_dir=no
84964 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
84965 echo "${ECHO_T}$gxx_include_dir" >&6
84967 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
84968 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
84969 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
84970 if test "${enable_version_specific_runtime_libs+set}" = set; then
84971 enableval="$enable_version_specific_runtime_libs"
84972 case "$enableval" in
84973 yes) version_specific_libs=yes ;;
84974 no) version_specific_libs=no ;;
84975 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
84976 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
84977 { (exit 1); exit 1; }; };;
84978 esac
84979 else
84980 version_specific_libs=no
84982 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
84983 echo "${ECHO_T}$version_specific_libs" >&6
84985 # Default case for install directory for include files.
84986 if test $version_specific_libs = no && test $gxx_include_dir = no; then
84987 gxx_include_dir='include/c++/${gcc_version}'
84988 if test -n "$with_cross_host" &&
84989 test x"$with_cross_host" != x"no"; then
84990 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
84991 else
84992 gxx_include_dir='${prefix}/'"$gxx_include_dir"
84996 # Version-specific runtime libs processing.
84997 if test $version_specific_libs = yes; then
84998 # Need the gcc compiler version to know where to install libraries
84999 # and header files if --enable-version-specific-runtime-libs option
85000 # is selected. FIXME: these variables are misnamed, there are
85001 # no executables installed in _toolexecdir or _toolexeclibdir.
85002 if test x"$gxx_include_dir" = x"no"; then
85003 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
85005 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
85006 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
85009 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
85010 # Install a library built with a cross compiler in tooldir, not libdir.
85011 if test x"$glibcxx_toolexecdir" = x"no"; then
85012 if test -n "$with_cross_host" &&
85013 test x"$with_cross_host" != x"no"; then
85014 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
85015 glibcxx_toolexeclibdir='${toolexecdir}/lib'
85016 else
85017 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
85018 glibcxx_toolexeclibdir='${libdir}'
85020 multi_os_directory=`$CXX -print-multi-os-directory`
85021 case $multi_os_directory in
85022 .) ;; # Avoid trailing /.
85023 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
85024 esac
85027 echo "$as_me:$LINENO: checking for install location" >&5
85028 echo $ECHO_N "checking for install location... $ECHO_C" >&6
85029 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
85030 echo "${ECHO_T}$gxx_include_dir" >&6
85038 # Export all the include and flag information to Makefiles.
85040 # Used for every C++ compile we perform.
85041 GLIBCXX_INCLUDES="\
85042 -I$glibcxx_builddir/include/$host_alias \
85043 -I$glibcxx_builddir/include \
85044 -I$glibcxx_srcdir/libsupc++"
85046 # For Canadian crosses, pick this up too.
85047 if test $CANADIAN = yes; then
85048 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
85051 # Stuff in the actual top level. Currently only used by libsupc++ to
85052 # get unwind* headers from the gcc dir.
85053 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
85054 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
85056 # Now, export this to all the little Makefiles....
85061 # Optimization flags that are probably a good idea for thrill-seekers. Just
85062 # uncomment the lines below and make, everything else is ready to go...
85063 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
85064 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
85067 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
85071 if test "$enable_shared" = yes; then
85072 LIBSUPCXX_PICFLAGS="-prefer-pic"
85073 else
85074 LIBSUPCXX_PICFLAGS=
85078 ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile po/Makefile testsuite/Makefile"
85080 ac_config_files="$ac_config_files scripts/testsuite_flags"
85083 ac_config_commands="$ac_config_commands default"
85086 cat >confcache <<\_ACEOF
85087 # This file is a shell script that caches the results of configure
85088 # tests run on this system so they can be shared between configure
85089 # scripts and configure runs, see configure's option --config-cache.
85090 # It is not useful on other systems. If it contains results you don't
85091 # want to keep, you may remove or edit it.
85093 # config.status only pays attention to the cache file if you give it
85094 # the --recheck option to rerun configure.
85096 # `ac_cv_env_foo' variables (set or unset) will be overridden when
85097 # loading this file, other *unset* `ac_cv_foo' will be assigned the
85098 # following values.
85100 _ACEOF
85102 # The following way of writing the cache mishandles newlines in values,
85103 # but we know of no workaround that is simple, portable, and efficient.
85104 # So, don't put newlines in cache variables' values.
85105 # Ultrix sh set writes to stderr and can't be redirected directly,
85106 # and sets the high bit in the cache file unless we assign to the vars.
85108 (set) 2>&1 |
85109 case `(ac_space=' '; set | grep ac_space) 2>&1` in
85110 *ac_space=\ *)
85111 # `set' does not quote correctly, so add quotes (double-quote
85112 # substitution turns \\\\ into \\, and sed turns \\ into \).
85113 sed -n \
85114 "s/'/'\\\\''/g;
85115 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
85118 # `set' quotes correctly as required by POSIX, so do not add quotes.
85119 sed -n \
85120 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
85122 esac;
85124 sed '
85125 t clear
85126 : clear
85127 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
85128 t end
85129 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
85130 : end' >>confcache
85131 if diff $cache_file confcache >/dev/null 2>&1; then :; else
85132 if test -w $cache_file; then
85133 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
85134 cat confcache >$cache_file
85135 else
85136 echo "not updating unwritable cache $cache_file"
85139 rm -f confcache
85141 test "x$prefix" = xNONE && prefix=$ac_default_prefix
85142 # Let make expand exec_prefix.
85143 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
85145 # VPATH may cause trouble with some makes, so we remove $(srcdir),
85146 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
85147 # trailing colons and then remove the whole line if VPATH becomes empty
85148 # (actually we leave an empty line to preserve line numbers).
85149 if test "x$srcdir" = x.; then
85150 ac_vpsub='/^[ ]*VPATH[ ]*=/{
85151 s/:*\$(srcdir):*/:/;
85152 s/:*\${srcdir}:*/:/;
85153 s/:*@srcdir@:*/:/;
85154 s/^\([^=]*=[ ]*\):*/\1/;
85155 s/:*$//;
85156 s/^[^=]*=[ ]*$//;
85160 DEFS=-DHAVE_CONFIG_H
85162 ac_libobjs=
85163 ac_ltlibobjs=
85164 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
85165 # 1. Remove the extension, and $U if already installed.
85166 ac_i=`echo "$ac_i" |
85167 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
85168 # 2. Add them.
85169 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
85170 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
85171 done
85172 LIBOBJS=$ac_libobjs
85174 LTLIBOBJS=$ac_ltlibobjs
85177 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
85178 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
85179 Usually this means the macro was only invoked conditionally." >&5
85180 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
85181 Usually this means the macro was only invoked conditionally." >&2;}
85182 { (exit 1); exit 1; }; }
85184 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
85185 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
85186 Usually this means the macro was only invoked conditionally." >&5
85187 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
85188 Usually this means the macro was only invoked conditionally." >&2;}
85189 { (exit 1); exit 1; }; }
85191 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
85192 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
85193 Usually this means the macro was only invoked conditionally." >&5
85194 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
85195 Usually this means the macro was only invoked conditionally." >&2;}
85196 { (exit 1); exit 1; }; }
85198 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
85199 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
85200 Usually this means the macro was only invoked conditionally." >&5
85201 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
85202 Usually this means the macro was only invoked conditionally." >&2;}
85203 { (exit 1); exit 1; }; }
85205 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
85206 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
85207 Usually this means the macro was only invoked conditionally." >&5
85208 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
85209 Usually this means the macro was only invoked conditionally." >&2;}
85210 { (exit 1); exit 1; }; }
85212 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
85213 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
85214 Usually this means the macro was only invoked conditionally." >&5
85215 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
85216 Usually this means the macro was only invoked conditionally." >&2;}
85217 { (exit 1); exit 1; }; }
85219 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
85220 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
85221 Usually this means the macro was only invoked conditionally." >&5
85222 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
85223 Usually this means the macro was only invoked conditionally." >&2;}
85224 { (exit 1); exit 1; }; }
85226 if test -z "${GLIBCXX_C_HEADERS_EXTRA_TRUE}" && test -z "${GLIBCXX_C_HEADERS_EXTRA_FALSE}"; then
85227 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
85228 Usually this means the macro was only invoked conditionally." >&5
85229 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
85230 Usually this means the macro was only invoked conditionally." >&2;}
85231 { (exit 1); exit 1; }; }
85233 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
85234 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
85235 Usually this means the macro was only invoked conditionally." >&5
85236 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
85237 Usually this means the macro was only invoked conditionally." >&2;}
85238 { (exit 1); exit 1; }; }
85240 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
85241 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS\" was never defined.
85242 Usually this means the macro was only invoked conditionally." >&5
85243 echo "$as_me: error: conditional \"ENABLE_SYMVERS\" was never defined.
85244 Usually this means the macro was only invoked conditionally." >&2;}
85245 { (exit 1); exit 1; }; }
85247 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
85248 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
85249 Usually this means the macro was only invoked conditionally." >&5
85250 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
85251 Usually this means the macro was only invoked conditionally." >&2;}
85252 { (exit 1); exit 1; }; }
85254 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
85255 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
85256 Usually this means the macro was only invoked conditionally." >&5
85257 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
85258 Usually this means the macro was only invoked conditionally." >&2;}
85259 { (exit 1); exit 1; }; }
85261 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
85262 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
85263 Usually this means the macro was only invoked conditionally." >&5
85264 echo "$as_me: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
85265 Usually this means the macro was only invoked conditionally." >&2;}
85266 { (exit 1); exit 1; }; }
85268 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
85269 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_VISIBILITY\" was never defined.
85270 Usually this means the macro was only invoked conditionally." >&5
85271 echo "$as_me: error: conditional \"ENABLE_VISIBILITY\" was never defined.
85272 Usually this means the macro was only invoked conditionally." >&2;}
85273 { (exit 1); exit 1; }; }
85275 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
85276 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
85277 Usually this means the macro was only invoked conditionally." >&5
85278 echo "$as_me: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
85279 Usually this means the macro was only invoked conditionally." >&2;}
85280 { (exit 1); exit 1; }; }
85283 : ${CONFIG_STATUS=./config.status}
85284 ac_clean_files_save=$ac_clean_files
85285 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
85286 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
85287 echo "$as_me: creating $CONFIG_STATUS" >&6;}
85288 cat >$CONFIG_STATUS <<_ACEOF
85289 #! $SHELL
85290 # Generated by $as_me.
85291 # Run this file to recreate the current configuration.
85292 # Compiler output produced by configure, useful for debugging
85293 # configure, is in config.log if it exists.
85295 debug=false
85296 ac_cs_recheck=false
85297 ac_cs_silent=false
85298 SHELL=\${CONFIG_SHELL-$SHELL}
85299 _ACEOF
85301 cat >>$CONFIG_STATUS <<\_ACEOF
85302 ## --------------------- ##
85303 ## M4sh Initialization. ##
85304 ## --------------------- ##
85306 # Be Bourne compatible
85307 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
85308 emulate sh
85309 NULLCMD=:
85310 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
85311 # is contrary to our usage. Disable this feature.
85312 alias -g '${1+"$@"}'='"$@"'
85313 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
85314 set -o posix
85316 DUALCASE=1; export DUALCASE # for MKS sh
85318 # Support unset when possible.
85319 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
85320 as_unset=unset
85321 else
85322 as_unset=false
85326 # Work around bugs in pre-3.0 UWIN ksh.
85327 $as_unset ENV MAIL MAILPATH
85328 PS1='$ '
85329 PS2='> '
85330 PS4='+ '
85332 # NLS nuisances.
85333 for as_var in \
85334 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
85335 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
85336 LC_TELEPHONE LC_TIME
85338 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
85339 eval $as_var=C; export $as_var
85340 else
85341 $as_unset $as_var
85343 done
85345 # Required to use basename.
85346 if expr a : '\(a\)' >/dev/null 2>&1; then
85347 as_expr=expr
85348 else
85349 as_expr=false
85352 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
85353 as_basename=basename
85354 else
85355 as_basename=false
85359 # Name of the executable.
85360 as_me=`$as_basename "$0" ||
85361 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
85362 X"$0" : 'X\(//\)$' \| \
85363 X"$0" : 'X\(/\)$' \| \
85364 . : '\(.\)' 2>/dev/null ||
85365 echo X/"$0" |
85366 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
85367 /^X\/\(\/\/\)$/{ s//\1/; q; }
85368 /^X\/\(\/\).*/{ s//\1/; q; }
85369 s/.*/./; q'`
85372 # PATH needs CR, and LINENO needs CR and PATH.
85373 # Avoid depending upon Character Ranges.
85374 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
85375 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85376 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85377 as_cr_digits='0123456789'
85378 as_cr_alnum=$as_cr_Letters$as_cr_digits
85380 # The user is always right.
85381 if test "${PATH_SEPARATOR+set}" != set; then
85382 echo "#! /bin/sh" >conf$$.sh
85383 echo "exit 0" >>conf$$.sh
85384 chmod +x conf$$.sh
85385 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
85386 PATH_SEPARATOR=';'
85387 else
85388 PATH_SEPARATOR=:
85390 rm -f conf$$.sh
85394 as_lineno_1=$LINENO
85395 as_lineno_2=$LINENO
85396 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
85397 test "x$as_lineno_1" != "x$as_lineno_2" &&
85398 test "x$as_lineno_3" = "x$as_lineno_2" || {
85399 # Find who we are. Look in the path if we contain no path at all
85400 # relative or not.
85401 case $0 in
85402 *[\\/]* ) as_myself=$0 ;;
85403 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
85404 for as_dir in $PATH
85406 IFS=$as_save_IFS
85407 test -z "$as_dir" && as_dir=.
85408 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
85409 done
85412 esac
85413 # We did not find ourselves, most probably we were run as `sh COMMAND'
85414 # in which case we are not to be found in the path.
85415 if test "x$as_myself" = x; then
85416 as_myself=$0
85418 if test ! -f "$as_myself"; then
85419 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
85420 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
85421 { (exit 1); exit 1; }; }
85423 case $CONFIG_SHELL in
85425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
85426 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
85428 IFS=$as_save_IFS
85429 test -z "$as_dir" && as_dir=.
85430 for as_base in sh bash ksh sh5; do
85431 case $as_dir in
85433 if ("$as_dir/$as_base" -c '
85434 as_lineno_1=$LINENO
85435 as_lineno_2=$LINENO
85436 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
85437 test "x$as_lineno_1" != "x$as_lineno_2" &&
85438 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
85439 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
85440 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
85441 CONFIG_SHELL=$as_dir/$as_base
85442 export CONFIG_SHELL
85443 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
85444 fi;;
85445 esac
85446 done
85447 done
85449 esac
85451 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
85452 # uniformly replaced by the line number. The first 'sed' inserts a
85453 # line-number line before each line; the second 'sed' does the real
85454 # work. The second script uses 'N' to pair each line-number line
85455 # with the numbered line, and appends trailing '-' during
85456 # substitution so that $LINENO is not a special case at line end.
85457 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
85458 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
85459 sed '=' <$as_myself |
85460 sed '
85462 s,$,-,
85463 : loop
85464 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
85465 t loop
85466 s,-$,,
85467 s,^['$as_cr_digits']*\n,,
85468 ' >$as_me.lineno &&
85469 chmod +x $as_me.lineno ||
85470 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
85471 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
85472 { (exit 1); exit 1; }; }
85474 # Don't try to exec as it changes $[0], causing all sort of problems
85475 # (the dirname of $[0] is not the place where we might find the
85476 # original and so on. Autoconf is especially sensible to this).
85477 . ./$as_me.lineno
85478 # Exit status is that of the last command.
85479 exit
85483 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
85484 *c*,-n*) ECHO_N= ECHO_C='
85485 ' ECHO_T=' ' ;;
85486 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
85487 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
85488 esac
85490 if expr a : '\(a\)' >/dev/null 2>&1; then
85491 as_expr=expr
85492 else
85493 as_expr=false
85496 rm -f conf$$ conf$$.exe conf$$.file
85497 echo >conf$$.file
85498 if ln -s conf$$.file conf$$ 2>/dev/null; then
85499 # We could just check for DJGPP; but this test a) works b) is more generic
85500 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
85501 if test -f conf$$.exe; then
85502 # Don't use ln at all; we don't have any links
85503 as_ln_s='cp -p'
85504 else
85505 as_ln_s='ln -s'
85507 elif ln conf$$.file conf$$ 2>/dev/null; then
85508 as_ln_s=ln
85509 else
85510 as_ln_s='cp -p'
85512 rm -f conf$$ conf$$.exe conf$$.file
85514 if mkdir -p . 2>/dev/null; then
85515 as_mkdir_p=:
85516 else
85517 test -d ./-p && rmdir ./-p
85518 as_mkdir_p=false
85521 as_executable_p="test -f"
85523 # Sed expression to map a string onto a valid CPP name.
85524 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
85526 # Sed expression to map a string onto a valid variable name.
85527 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
85530 # IFS
85531 # We need space, tab and new line, in precisely that order.
85532 as_nl='
85534 IFS=" $as_nl"
85536 # CDPATH.
85537 $as_unset CDPATH
85539 exec 6>&1
85541 # Open the log real soon, to keep \$[0] and so on meaningful, and to
85542 # report actual input values of CONFIG_FILES etc. instead of their
85543 # values after options handling. Logging --version etc. is OK.
85544 exec 5>>config.log
85546 echo
85547 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
85548 ## Running $as_me. ##
85549 _ASBOX
85550 } >&5
85551 cat >&5 <<_CSEOF
85553 This file was extended by package-unused $as_me version-unused, which was
85554 generated by GNU Autoconf 2.59. Invocation command line was
85556 CONFIG_FILES = $CONFIG_FILES
85557 CONFIG_HEADERS = $CONFIG_HEADERS
85558 CONFIG_LINKS = $CONFIG_LINKS
85559 CONFIG_COMMANDS = $CONFIG_COMMANDS
85560 $ $0 $@
85562 _CSEOF
85563 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
85564 echo >&5
85565 _ACEOF
85567 # Files that config.status was made for.
85568 if test -n "$ac_config_files"; then
85569 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
85572 if test -n "$ac_config_headers"; then
85573 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
85576 if test -n "$ac_config_links"; then
85577 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
85580 if test -n "$ac_config_commands"; then
85581 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
85584 cat >>$CONFIG_STATUS <<\_ACEOF
85586 ac_cs_usage="\
85587 \`$as_me' instantiates files from templates according to the
85588 current configuration.
85590 Usage: $0 [OPTIONS] [FILE]...
85592 -h, --help print this help, then exit
85593 -V, --version print version number, then exit
85594 -q, --quiet do not print progress messages
85595 -d, --debug don't remove temporary files
85596 --recheck update $as_me by reconfiguring in the same conditions
85597 --file=FILE[:TEMPLATE]
85598 instantiate the configuration file FILE
85599 --header=FILE[:TEMPLATE]
85600 instantiate the configuration header FILE
85602 Configuration files:
85603 $config_files
85605 Configuration headers:
85606 $config_headers
85608 Configuration commands:
85609 $config_commands
85611 Report bugs to <bug-autoconf@gnu.org>."
85612 _ACEOF
85614 cat >>$CONFIG_STATUS <<_ACEOF
85615 ac_cs_version="\\
85616 package-unused config.status version-unused
85617 configured by $0, generated by GNU Autoconf 2.59,
85618 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
85620 Copyright (C) 2003 Free Software Foundation, Inc.
85621 This config.status script is free software; the Free Software Foundation
85622 gives unlimited permission to copy, distribute and modify it."
85623 srcdir=$srcdir
85624 INSTALL="$INSTALL"
85625 _ACEOF
85627 cat >>$CONFIG_STATUS <<\_ACEOF
85628 # If no file are specified by the user, then we need to provide default
85629 # value. By we need to know if files were specified by the user.
85630 ac_need_defaults=:
85631 while test $# != 0
85633 case $1 in
85634 --*=*)
85635 ac_option=`expr "x$1" : 'x\([^=]*\)='`
85636 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
85637 ac_shift=:
85640 ac_option=$1
85641 ac_optarg=$2
85642 ac_shift=shift
85644 *) # This is not an option, so the user has probably given explicit
85645 # arguments.
85646 ac_option=$1
85647 ac_need_defaults=false;;
85648 esac
85650 case $ac_option in
85651 # Handling of the options.
85652 _ACEOF
85653 cat >>$CONFIG_STATUS <<\_ACEOF
85654 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
85655 ac_cs_recheck=: ;;
85656 --version | --vers* | -V )
85657 echo "$ac_cs_version"; exit 0 ;;
85658 --he | --h)
85659 # Conflict between --help and --header
85660 { { echo "$as_me:$LINENO: error: ambiguous option: $1
85661 Try \`$0 --help' for more information." >&5
85662 echo "$as_me: error: ambiguous option: $1
85663 Try \`$0 --help' for more information." >&2;}
85664 { (exit 1); exit 1; }; };;
85665 --help | --hel | -h )
85666 echo "$ac_cs_usage"; exit 0 ;;
85667 --debug | --d* | -d )
85668 debug=: ;;
85669 --file | --fil | --fi | --f )
85670 $ac_shift
85671 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
85672 ac_need_defaults=false;;
85673 --header | --heade | --head | --hea )
85674 $ac_shift
85675 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
85676 ac_need_defaults=false;;
85677 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
85678 | -silent | --silent | --silen | --sile | --sil | --si | --s)
85679 ac_cs_silent=: ;;
85681 # This is an error.
85682 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
85683 Try \`$0 --help' for more information." >&5
85684 echo "$as_me: error: unrecognized option: $1
85685 Try \`$0 --help' for more information." >&2;}
85686 { (exit 1); exit 1; }; } ;;
85688 *) ac_config_targets="$ac_config_targets $1" ;;
85690 esac
85691 shift
85692 done
85694 ac_configure_extra_args=
85696 if $ac_cs_silent; then
85697 exec 6>/dev/null
85698 ac_configure_extra_args="$ac_configure_extra_args --silent"
85701 _ACEOF
85702 cat >>$CONFIG_STATUS <<_ACEOF
85703 if \$ac_cs_recheck; then
85704 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
85705 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
85708 _ACEOF
85710 cat >>$CONFIG_STATUS <<_ACEOF
85712 # INIT-COMMANDS section.
85716 srcdir="$srcdir"
85717 host="$host"
85718 target="$target"
85719 with_multisubdir="$with_multisubdir"
85720 with_multisrctop="$with_multisrctop"
85721 with_target_subdir="$with_target_subdir"
85722 ac_configure_args="${multilib_arg} ${ac_configure_args}"
85723 multi_basedir="$multi_basedir"
85724 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
85725 CC="$CC"
85727 # Variables needed in config.status (file generation) which aren't already
85728 # passed by autoconf.
85729 SUBDIRS="$SUBDIRS"
85732 _ACEOF
85736 cat >>$CONFIG_STATUS <<\_ACEOF
85737 for ac_config_target in $ac_config_targets
85739 case "$ac_config_target" in
85740 # Handling of arguments.
85741 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
85742 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
85743 "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
85744 "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
85745 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
85746 "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
85747 "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
85748 "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
85749 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
85750 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
85751 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
85752 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
85753 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
85754 { (exit 1); exit 1; }; };;
85755 esac
85756 done
85758 # If the user did not use the arguments to specify the items to instantiate,
85759 # then the envvar interface is used. Set only those that are not.
85760 # We use the long form for the default assignment because of an extremely
85761 # bizarre bug on SunOS 4.1.3.
85762 if $ac_need_defaults; then
85763 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
85764 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
85765 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
85768 # Have a temporary directory for convenience. Make it in the build tree
85769 # simply because there is no reason to put it here, and in addition,
85770 # creating and moving files from /tmp can sometimes cause problems.
85771 # Create a temporary directory, and hook for its removal unless debugging.
85772 $debug ||
85774 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
85775 trap '{ (exit 1); exit 1; }' 1 2 13 15
85778 # Create a (secure) tmp directory for tmp files.
85781 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
85782 test -n "$tmp" && test -d "$tmp"
85783 } ||
85785 tmp=./confstat$$-$RANDOM
85786 (umask 077 && mkdir $tmp)
85787 } ||
85789 echo "$me: cannot create a temporary directory in ." >&2
85790 { (exit 1); exit 1; }
85793 _ACEOF
85795 cat >>$CONFIG_STATUS <<_ACEOF
85798 # CONFIG_FILES section.
85801 # No need to generate the scripts if there are no CONFIG_FILES.
85802 # This happens for instance when ./config.status config.h
85803 if test -n "\$CONFIG_FILES"; then
85804 # Protect against being on the right side of a sed subst in config.status.
85805 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
85806 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
85807 s,@SHELL@,$SHELL,;t t
85808 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
85809 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
85810 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
85811 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
85812 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
85813 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
85814 s,@exec_prefix@,$exec_prefix,;t t
85815 s,@prefix@,$prefix,;t t
85816 s,@program_transform_name@,$program_transform_name,;t t
85817 s,@bindir@,$bindir,;t t
85818 s,@sbindir@,$sbindir,;t t
85819 s,@libexecdir@,$libexecdir,;t t
85820 s,@datadir@,$datadir,;t t
85821 s,@sysconfdir@,$sysconfdir,;t t
85822 s,@sharedstatedir@,$sharedstatedir,;t t
85823 s,@localstatedir@,$localstatedir,;t t
85824 s,@libdir@,$libdir,;t t
85825 s,@includedir@,$includedir,;t t
85826 s,@oldincludedir@,$oldincludedir,;t t
85827 s,@infodir@,$infodir,;t t
85828 s,@mandir@,$mandir,;t t
85829 s,@build_alias@,$build_alias,;t t
85830 s,@host_alias@,$host_alias,;t t
85831 s,@target_alias@,$target_alias,;t t
85832 s,@DEFS@,$DEFS,;t t
85833 s,@ECHO_C@,$ECHO_C,;t t
85834 s,@ECHO_N@,$ECHO_N,;t t
85835 s,@ECHO_T@,$ECHO_T,;t t
85836 s,@LIBS@,$LIBS,;t t
85837 s,@libtool_VERSION@,$libtool_VERSION,;t t
85838 s,@multi_basedir@,$multi_basedir,;t t
85839 s,@build@,$build,;t t
85840 s,@build_cpu@,$build_cpu,;t t
85841 s,@build_vendor@,$build_vendor,;t t
85842 s,@build_os@,$build_os,;t t
85843 s,@host@,$host,;t t
85844 s,@host_cpu@,$host_cpu,;t t
85845 s,@host_vendor@,$host_vendor,;t t
85846 s,@host_os@,$host_os,;t t
85847 s,@target@,$target,;t t
85848 s,@target_cpu@,$target_cpu,;t t
85849 s,@target_vendor@,$target_vendor,;t t
85850 s,@target_os@,$target_os,;t t
85851 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
85852 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
85853 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
85854 s,@CYGPATH_W@,$CYGPATH_W,;t t
85855 s,@PACKAGE@,$PACKAGE,;t t
85856 s,@VERSION@,$VERSION,;t t
85857 s,@ACLOCAL@,$ACLOCAL,;t t
85858 s,@AUTOCONF@,$AUTOCONF,;t t
85859 s,@AUTOMAKE@,$AUTOMAKE,;t t
85860 s,@AUTOHEADER@,$AUTOHEADER,;t t
85861 s,@MAKEINFO@,$MAKEINFO,;t t
85862 s,@install_sh@,$install_sh,;t t
85863 s,@STRIP@,$STRIP,;t t
85864 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
85865 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
85866 s,@mkdir_p@,$mkdir_p,;t t
85867 s,@AWK@,$AWK,;t t
85868 s,@SET_MAKE@,$SET_MAKE,;t t
85869 s,@am__leading_dot@,$am__leading_dot,;t t
85870 s,@AMTAR@,$AMTAR,;t t
85871 s,@am__tar@,$am__tar,;t t
85872 s,@am__untar@,$am__untar,;t t
85873 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
85874 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
85875 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
85876 s,@CC@,$CC,;t t
85877 s,@ac_ct_CC@,$ac_ct_CC,;t t
85878 s,@EXEEXT@,$EXEEXT,;t t
85879 s,@OBJEXT@,$OBJEXT,;t t
85880 s,@CXX@,$CXX,;t t
85881 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
85882 s,@CFLAGS@,$CFLAGS,;t t
85883 s,@CXXFLAGS@,$CXXFLAGS,;t t
85884 s,@LN_S@,$LN_S,;t t
85885 s,@AS@,$AS,;t t
85886 s,@ac_ct_AS@,$ac_ct_AS,;t t
85887 s,@AR@,$AR,;t t
85888 s,@ac_ct_AR@,$ac_ct_AR,;t t
85889 s,@RANLIB@,$RANLIB,;t t
85890 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
85891 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
85892 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
85893 s,@MAINT@,$MAINT,;t t
85894 s,@CPP@,$CPP,;t t
85895 s,@CPPFLAGS@,$CPPFLAGS,;t t
85896 s,@EGREP@,$EGREP,;t t
85897 s,@LIBTOOL@,$LIBTOOL,;t t
85898 s,@CXXCPP@,$CXXCPP,;t t
85899 s,@enable_shared@,$enable_shared,;t t
85900 s,@enable_static@,$enable_static,;t t
85901 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
85902 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
85903 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
85904 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
85905 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
85906 s,@CSTDIO_H@,$CSTDIO_H,;t t
85907 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
85908 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
85909 s,@check_msgfmt@,$check_msgfmt,;t t
85910 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
85911 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
85912 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
85913 s,@USE_NLS@,$USE_NLS,;t t
85914 s,@CLOCALE_H@,$CLOCALE_H,;t t
85915 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
85916 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
85917 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
85918 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
85919 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
85920 s,@CMONEY_CC@,$CMONEY_CC,;t t
85921 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
85922 s,@CTIME_H@,$CTIME_H,;t t
85923 s,@CTIME_CC@,$CTIME_CC,;t t
85924 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
85925 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
85926 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
85927 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
85928 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
85929 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
85930 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
85931 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
85932 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
85933 s,@GLIBCXX_C_HEADERS_C_GLOBAL_TRUE@,$GLIBCXX_C_HEADERS_C_GLOBAL_TRUE,;t t
85934 s,@GLIBCXX_C_HEADERS_C_GLOBAL_FALSE@,$GLIBCXX_C_HEADERS_C_GLOBAL_FALSE,;t t
85935 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
85936 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
85937 s,@GLIBCXX_C_HEADERS_EXTRA_TRUE@,$GLIBCXX_C_HEADERS_EXTRA_TRUE,;t t
85938 s,@GLIBCXX_C_HEADERS_EXTRA_FALSE@,$GLIBCXX_C_HEADERS_EXTRA_FALSE,;t t
85939 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
85940 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
85941 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
85942 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
85943 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
85944 s,@WERROR@,$WERROR,;t t
85945 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
85946 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
85947 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
85948 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
85949 s,@LIBICONV@,$LIBICONV,;t t
85950 s,@LTLIBICONV@,$LTLIBICONV,;t t
85951 s,@SYMVER_FILE@,$SYMVER_FILE,;t t
85952 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
85953 s,@ENABLE_SYMVERS_TRUE@,$ENABLE_SYMVERS_TRUE,;t t
85954 s,@ENABLE_SYMVERS_FALSE@,$ENABLE_SYMVERS_FALSE,;t t
85955 s,@ENABLE_SYMVERS_GNU_TRUE@,$ENABLE_SYMVERS_GNU_TRUE,;t t
85956 s,@ENABLE_SYMVERS_GNU_FALSE@,$ENABLE_SYMVERS_GNU_FALSE,;t t
85957 s,@ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@,$ENABLE_SYMVERS_GNU_NAMESPACE_TRUE,;t t
85958 s,@ENABLE_SYMVERS_GNU_NAMESPACE_FALSE@,$ENABLE_SYMVERS_GNU_NAMESPACE_FALSE,;t t
85959 s,@ENABLE_SYMVERS_DARWIN_TRUE@,$ENABLE_SYMVERS_DARWIN_TRUE,;t t
85960 s,@ENABLE_SYMVERS_DARWIN_FALSE@,$ENABLE_SYMVERS_DARWIN_FALSE,;t t
85961 s,@ENABLE_VISIBILITY_TRUE@,$ENABLE_VISIBILITY_TRUE,;t t
85962 s,@ENABLE_VISIBILITY_FALSE@,$ENABLE_VISIBILITY_FALSE,;t t
85963 s,@GLIBCXX_LDBL_COMPAT_TRUE@,$GLIBCXX_LDBL_COMPAT_TRUE,;t t
85964 s,@GLIBCXX_LDBL_COMPAT_FALSE@,$GLIBCXX_LDBL_COMPAT_FALSE,;t t
85965 s,@baseline_dir@,$baseline_dir,;t t
85966 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
85967 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
85968 s,@CPU_DEFINES_SRCDIR@,$CPU_DEFINES_SRCDIR,;t t
85969 s,@ABI_TWEAKS_SRCDIR@,$ABI_TWEAKS_SRCDIR,;t t
85970 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
85971 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
85972 s,@gxx_include_dir@,$gxx_include_dir,;t t
85973 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
85974 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
85975 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
85976 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
85977 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
85978 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
85979 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
85980 s,@LIBOBJS@,$LIBOBJS,;t t
85981 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
85982 CEOF
85984 _ACEOF
85986 cat >>$CONFIG_STATUS <<\_ACEOF
85987 # Split the substitutions into bite-sized pieces for seds with
85988 # small command number limits, like on Digital OSF/1 and HP-UX.
85989 ac_max_sed_lines=48
85990 ac_sed_frag=1 # Number of current file.
85991 ac_beg=1 # First line for current file.
85992 ac_end=$ac_max_sed_lines # Line after last line for current file.
85993 ac_more_lines=:
85994 ac_sed_cmds=
85995 while $ac_more_lines; do
85996 if test $ac_beg -gt 1; then
85997 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
85998 else
85999 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
86001 if test ! -s $tmp/subs.frag; then
86002 ac_more_lines=false
86003 else
86004 # The purpose of the label and of the branching condition is to
86005 # speed up the sed processing (if there are no `@' at all, there
86006 # is no need to browse any of the substitutions).
86007 # These are the two extra sed commands mentioned above.
86008 (echo ':t
86009 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
86010 if test -z "$ac_sed_cmds"; then
86011 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
86012 else
86013 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
86015 ac_sed_frag=`expr $ac_sed_frag + 1`
86016 ac_beg=$ac_end
86017 ac_end=`expr $ac_end + $ac_max_sed_lines`
86019 done
86020 if test -z "$ac_sed_cmds"; then
86021 ac_sed_cmds=cat
86023 fi # test -n "$CONFIG_FILES"
86025 _ACEOF
86026 cat >>$CONFIG_STATUS <<\_ACEOF
86027 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
86028 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
86029 case $ac_file in
86030 - | *:- | *:-:* ) # input from stdin
86031 cat >$tmp/stdin
86032 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
86033 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
86034 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
86035 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
86036 * ) ac_file_in=$ac_file.in ;;
86037 esac
86039 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
86040 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
86041 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
86042 X"$ac_file" : 'X\(//\)[^/]' \| \
86043 X"$ac_file" : 'X\(//\)$' \| \
86044 X"$ac_file" : 'X\(/\)' \| \
86045 . : '\(.\)' 2>/dev/null ||
86046 echo X"$ac_file" |
86047 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
86048 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
86049 /^X\(\/\/\)$/{ s//\1/; q; }
86050 /^X\(\/\).*/{ s//\1/; q; }
86051 s/.*/./; q'`
86052 { if $as_mkdir_p; then
86053 mkdir -p "$ac_dir"
86054 else
86055 as_dir="$ac_dir"
86056 as_dirs=
86057 while test ! -d "$as_dir"; do
86058 as_dirs="$as_dir $as_dirs"
86059 as_dir=`(dirname "$as_dir") 2>/dev/null ||
86060 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
86061 X"$as_dir" : 'X\(//\)[^/]' \| \
86062 X"$as_dir" : 'X\(//\)$' \| \
86063 X"$as_dir" : 'X\(/\)' \| \
86064 . : '\(.\)' 2>/dev/null ||
86065 echo X"$as_dir" |
86066 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
86067 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
86068 /^X\(\/\/\)$/{ s//\1/; q; }
86069 /^X\(\/\).*/{ s//\1/; q; }
86070 s/.*/./; q'`
86071 done
86072 test ! -n "$as_dirs" || mkdir $as_dirs
86073 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
86074 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
86075 { (exit 1); exit 1; }; }; }
86077 ac_builddir=.
86079 if test "$ac_dir" != .; then
86080 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
86081 # A "../" for each directory in $ac_dir_suffix.
86082 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
86083 else
86084 ac_dir_suffix= ac_top_builddir=
86087 case $srcdir in
86088 .) # No --srcdir option. We are building in place.
86089 ac_srcdir=.
86090 if test -z "$ac_top_builddir"; then
86091 ac_top_srcdir=.
86092 else
86093 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
86094 fi ;;
86095 [\\/]* | ?:[\\/]* ) # Absolute path.
86096 ac_srcdir=$srcdir$ac_dir_suffix;
86097 ac_top_srcdir=$srcdir ;;
86098 *) # Relative path.
86099 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
86100 ac_top_srcdir=$ac_top_builddir$srcdir ;;
86101 esac
86103 # Do not use `cd foo && pwd` to compute absolute paths, because
86104 # the directories may not exist.
86105 case `pwd` in
86106 .) ac_abs_builddir="$ac_dir";;
86108 case "$ac_dir" in
86109 .) ac_abs_builddir=`pwd`;;
86110 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
86111 *) ac_abs_builddir=`pwd`/"$ac_dir";;
86112 esac;;
86113 esac
86114 case $ac_abs_builddir in
86115 .) ac_abs_top_builddir=${ac_top_builddir}.;;
86117 case ${ac_top_builddir}. in
86118 .) ac_abs_top_builddir=$ac_abs_builddir;;
86119 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
86120 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
86121 esac;;
86122 esac
86123 case $ac_abs_builddir in
86124 .) ac_abs_srcdir=$ac_srcdir;;
86126 case $ac_srcdir in
86127 .) ac_abs_srcdir=$ac_abs_builddir;;
86128 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
86129 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
86130 esac;;
86131 esac
86132 case $ac_abs_builddir in
86133 .) ac_abs_top_srcdir=$ac_top_srcdir;;
86135 case $ac_top_srcdir in
86136 .) ac_abs_top_srcdir=$ac_abs_builddir;;
86137 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
86138 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
86139 esac;;
86140 esac
86143 case $INSTALL in
86144 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
86145 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
86146 esac
86148 if test x"$ac_file" != x-; then
86149 { echo "$as_me:$LINENO: creating $ac_file" >&5
86150 echo "$as_me: creating $ac_file" >&6;}
86151 rm -f "$ac_file"
86153 # Let's still pretend it is `configure' which instantiates (i.e., don't
86154 # use $as_me), people would be surprised to read:
86155 # /* config.h. Generated by config.status. */
86156 if test x"$ac_file" = x-; then
86157 configure_input=
86158 else
86159 configure_input="$ac_file. "
86161 configure_input=$configure_input"Generated from `echo $ac_file_in |
86162 sed 's,.*/,,'` by configure."
86164 # First look for the input files in the build tree, otherwise in the
86165 # src tree.
86166 ac_file_inputs=`IFS=:
86167 for f in $ac_file_in; do
86168 case $f in
86169 -) echo $tmp/stdin ;;
86170 [\\/$]*)
86171 # Absolute (can't be DOS-style, as IFS=:)
86172 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
86173 echo "$as_me: error: cannot find input file: $f" >&2;}
86174 { (exit 1); exit 1; }; }
86175 echo "$f";;
86176 *) # Relative
86177 if test -f "$f"; then
86178 # Build tree
86179 echo "$f"
86180 elif test -f "$srcdir/$f"; then
86181 # Source tree
86182 echo "$srcdir/$f"
86183 else
86184 # /dev/null tree
86185 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
86186 echo "$as_me: error: cannot find input file: $f" >&2;}
86187 { (exit 1); exit 1; }; }
86188 fi;;
86189 esac
86190 done` || { (exit 1); exit 1; }
86191 _ACEOF
86192 cat >>$CONFIG_STATUS <<_ACEOF
86193 sed "$ac_vpsub
86194 $extrasub
86195 _ACEOF
86196 cat >>$CONFIG_STATUS <<\_ACEOF
86198 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
86199 s,@configure_input@,$configure_input,;t t
86200 s,@srcdir@,$ac_srcdir,;t t
86201 s,@abs_srcdir@,$ac_abs_srcdir,;t t
86202 s,@top_srcdir@,$ac_top_srcdir,;t t
86203 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
86204 s,@builddir@,$ac_builddir,;t t
86205 s,@abs_builddir@,$ac_abs_builddir,;t t
86206 s,@top_builddir@,$ac_top_builddir,;t t
86207 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
86208 s,@INSTALL@,$ac_INSTALL,;t t
86209 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
86210 rm -f $tmp/stdin
86211 if test x"$ac_file" != x-; then
86212 mv $tmp/out $ac_file
86213 else
86214 cat $tmp/out
86215 rm -f $tmp/out
86218 # Run the commands associated with the file.
86219 case $ac_file in
86220 scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
86221 esac
86222 done
86223 _ACEOF
86224 cat >>$CONFIG_STATUS <<\_ACEOF
86227 # CONFIG_HEADER section.
86230 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
86231 # NAME is the cpp macro being defined and VALUE is the value it is being given.
86233 # ac_d sets the value in "#define NAME VALUE" lines.
86234 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
86235 ac_dB='[ ].*$,\1#\2'
86236 ac_dC=' '
86237 ac_dD=',;t'
86238 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
86239 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
86240 ac_uB='$,\1#\2define\3'
86241 ac_uC=' '
86242 ac_uD=',;t'
86244 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
86245 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
86246 case $ac_file in
86247 - | *:- | *:-:* ) # input from stdin
86248 cat >$tmp/stdin
86249 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
86250 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
86251 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
86252 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
86253 * ) ac_file_in=$ac_file.in ;;
86254 esac
86256 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
86257 echo "$as_me: creating $ac_file" >&6;}
86259 # First look for the input files in the build tree, otherwise in the
86260 # src tree.
86261 ac_file_inputs=`IFS=:
86262 for f in $ac_file_in; do
86263 case $f in
86264 -) echo $tmp/stdin ;;
86265 [\\/$]*)
86266 # Absolute (can't be DOS-style, as IFS=:)
86267 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
86268 echo "$as_me: error: cannot find input file: $f" >&2;}
86269 { (exit 1); exit 1; }; }
86270 # Do quote $f, to prevent DOS paths from being IFS'd.
86271 echo "$f";;
86272 *) # Relative
86273 if test -f "$f"; then
86274 # Build tree
86275 echo "$f"
86276 elif test -f "$srcdir/$f"; then
86277 # Source tree
86278 echo "$srcdir/$f"
86279 else
86280 # /dev/null tree
86281 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
86282 echo "$as_me: error: cannot find input file: $f" >&2;}
86283 { (exit 1); exit 1; }; }
86284 fi;;
86285 esac
86286 done` || { (exit 1); exit 1; }
86287 # Remove the trailing spaces.
86288 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
86290 _ACEOF
86292 # Transform confdefs.h into two sed scripts, `conftest.defines' and
86293 # `conftest.undefs', that substitutes the proper values into
86294 # config.h.in to produce config.h. The first handles `#define'
86295 # templates, and the second `#undef' templates.
86296 # And first: Protect against being on the right side of a sed subst in
86297 # config.status. Protect against being in an unquoted here document
86298 # in config.status.
86299 rm -f conftest.defines conftest.undefs
86300 # Using a here document instead of a string reduces the quoting nightmare.
86301 # Putting comments in sed scripts is not portable.
86303 # `end' is used to avoid that the second main sed command (meant for
86304 # 0-ary CPP macros) applies to n-ary macro definitions.
86305 # See the Autoconf documentation for `clear'.
86306 cat >confdef2sed.sed <<\_ACEOF
86307 s/[\\&,]/\\&/g
86308 s,[\\$`],\\&,g
86309 t clear
86310 : clear
86311 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
86312 t end
86313 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
86314 : end
86315 _ACEOF
86316 # If some macros were called several times there might be several times
86317 # the same #defines, which is useless. Nevertheless, we may not want to
86318 # sort them, since we want the *last* AC-DEFINE to be honored.
86319 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
86320 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
86321 rm -f confdef2sed.sed
86323 # This sed command replaces #undef with comments. This is necessary, for
86324 # example, in the case of _POSIX_SOURCE, which is predefined and required
86325 # on some systems where configure will not decide to define it.
86326 cat >>conftest.undefs <<\_ACEOF
86327 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
86328 _ACEOF
86330 # Break up conftest.defines because some shells have a limit on the size
86331 # of here documents, and old seds have small limits too (100 cmds).
86332 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
86333 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
86334 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
86335 echo ' :' >>$CONFIG_STATUS
86336 rm -f conftest.tail
86337 while grep . conftest.defines >/dev/null
86339 # Write a limited-size here document to $tmp/defines.sed.
86340 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
86341 # Speed up: don't consider the non `#define' lines.
86342 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
86343 # Work around the forget-to-reset-the-flag bug.
86344 echo 't clr' >>$CONFIG_STATUS
86345 echo ': clr' >>$CONFIG_STATUS
86346 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
86347 echo 'CEOF
86348 sed -f $tmp/defines.sed $tmp/in >$tmp/out
86349 rm -f $tmp/in
86350 mv $tmp/out $tmp/in
86351 ' >>$CONFIG_STATUS
86352 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
86353 rm -f conftest.defines
86354 mv conftest.tail conftest.defines
86355 done
86356 rm -f conftest.defines
86357 echo ' fi # grep' >>$CONFIG_STATUS
86358 echo >>$CONFIG_STATUS
86360 # Break up conftest.undefs because some shells have a limit on the size
86361 # of here documents, and old seds have small limits too (100 cmds).
86362 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
86363 rm -f conftest.tail
86364 while grep . conftest.undefs >/dev/null
86366 # Write a limited-size here document to $tmp/undefs.sed.
86367 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
86368 # Speed up: don't consider the non `#undef'
86369 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
86370 # Work around the forget-to-reset-the-flag bug.
86371 echo 't clr' >>$CONFIG_STATUS
86372 echo ': clr' >>$CONFIG_STATUS
86373 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
86374 echo 'CEOF
86375 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
86376 rm -f $tmp/in
86377 mv $tmp/out $tmp/in
86378 ' >>$CONFIG_STATUS
86379 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
86380 rm -f conftest.undefs
86381 mv conftest.tail conftest.undefs
86382 done
86383 rm -f conftest.undefs
86385 cat >>$CONFIG_STATUS <<\_ACEOF
86386 # Let's still pretend it is `configure' which instantiates (i.e., don't
86387 # use $as_me), people would be surprised to read:
86388 # /* config.h. Generated by config.status. */
86389 if test x"$ac_file" = x-; then
86390 echo "/* Generated by configure. */" >$tmp/config.h
86391 else
86392 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
86394 cat $tmp/in >>$tmp/config.h
86395 rm -f $tmp/in
86396 if test x"$ac_file" != x-; then
86397 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
86398 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
86399 echo "$as_me: $ac_file is unchanged" >&6;}
86400 else
86401 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
86402 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
86403 X"$ac_file" : 'X\(//\)[^/]' \| \
86404 X"$ac_file" : 'X\(//\)$' \| \
86405 X"$ac_file" : 'X\(/\)' \| \
86406 . : '\(.\)' 2>/dev/null ||
86407 echo X"$ac_file" |
86408 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
86409 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
86410 /^X\(\/\/\)$/{ s//\1/; q; }
86411 /^X\(\/\).*/{ s//\1/; q; }
86412 s/.*/./; q'`
86413 { if $as_mkdir_p; then
86414 mkdir -p "$ac_dir"
86415 else
86416 as_dir="$ac_dir"
86417 as_dirs=
86418 while test ! -d "$as_dir"; do
86419 as_dirs="$as_dir $as_dirs"
86420 as_dir=`(dirname "$as_dir") 2>/dev/null ||
86421 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
86422 X"$as_dir" : 'X\(//\)[^/]' \| \
86423 X"$as_dir" : 'X\(//\)$' \| \
86424 X"$as_dir" : 'X\(/\)' \| \
86425 . : '\(.\)' 2>/dev/null ||
86426 echo X"$as_dir" |
86427 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
86428 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
86429 /^X\(\/\/\)$/{ s//\1/; q; }
86430 /^X\(\/\).*/{ s//\1/; q; }
86431 s/.*/./; q'`
86432 done
86433 test ! -n "$as_dirs" || mkdir $as_dirs
86434 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
86435 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
86436 { (exit 1); exit 1; }; }; }
86438 rm -f $ac_file
86439 mv $tmp/config.h $ac_file
86441 else
86442 cat $tmp/config.h
86443 rm -f $tmp/config.h
86445 # Compute $ac_file's index in $config_headers.
86446 _am_stamp_count=1
86447 for _am_header in $config_headers :; do
86448 case $_am_header in
86449 $ac_file | $ac_file:* )
86450 break ;;
86452 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
86453 esac
86454 done
86455 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
86456 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
86457 X$ac_file : 'X\(//\)[^/]' \| \
86458 X$ac_file : 'X\(//\)$' \| \
86459 X$ac_file : 'X\(/\)' \| \
86460 . : '\(.\)' 2>/dev/null ||
86461 echo X$ac_file |
86462 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
86463 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
86464 /^X\(\/\/\)$/{ s//\1/; q; }
86465 /^X\(\/\).*/{ s//\1/; q; }
86466 s/.*/./; q'`/stamp-h$_am_stamp_count
86467 done
86468 _ACEOF
86469 cat >>$CONFIG_STATUS <<\_ACEOF
86472 # CONFIG_COMMANDS section.
86474 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
86475 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
86476 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
86477 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
86478 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
86479 X"$ac_dest" : 'X\(//\)[^/]' \| \
86480 X"$ac_dest" : 'X\(//\)$' \| \
86481 X"$ac_dest" : 'X\(/\)' \| \
86482 . : '\(.\)' 2>/dev/null ||
86483 echo X"$ac_dest" |
86484 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
86485 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
86486 /^X\(\/\/\)$/{ s//\1/; q; }
86487 /^X\(\/\).*/{ s//\1/; q; }
86488 s/.*/./; q'`
86489 { if $as_mkdir_p; then
86490 mkdir -p "$ac_dir"
86491 else
86492 as_dir="$ac_dir"
86493 as_dirs=
86494 while test ! -d "$as_dir"; do
86495 as_dirs="$as_dir $as_dirs"
86496 as_dir=`(dirname "$as_dir") 2>/dev/null ||
86497 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
86498 X"$as_dir" : 'X\(//\)[^/]' \| \
86499 X"$as_dir" : 'X\(//\)$' \| \
86500 X"$as_dir" : 'X\(/\)' \| \
86501 . : '\(.\)' 2>/dev/null ||
86502 echo X"$as_dir" |
86503 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
86504 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
86505 /^X\(\/\/\)$/{ s//\1/; q; }
86506 /^X\(\/\).*/{ s//\1/; q; }
86507 s/.*/./; q'`
86508 done
86509 test ! -n "$as_dirs" || mkdir $as_dirs
86510 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
86511 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
86512 { (exit 1); exit 1; }; }; }
86514 ac_builddir=.
86516 if test "$ac_dir" != .; then
86517 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
86518 # A "../" for each directory in $ac_dir_suffix.
86519 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
86520 else
86521 ac_dir_suffix= ac_top_builddir=
86524 case $srcdir in
86525 .) # No --srcdir option. We are building in place.
86526 ac_srcdir=.
86527 if test -z "$ac_top_builddir"; then
86528 ac_top_srcdir=.
86529 else
86530 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
86531 fi ;;
86532 [\\/]* | ?:[\\/]* ) # Absolute path.
86533 ac_srcdir=$srcdir$ac_dir_suffix;
86534 ac_top_srcdir=$srcdir ;;
86535 *) # Relative path.
86536 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
86537 ac_top_srcdir=$ac_top_builddir$srcdir ;;
86538 esac
86540 # Do not use `cd foo && pwd` to compute absolute paths, because
86541 # the directories may not exist.
86542 case `pwd` in
86543 .) ac_abs_builddir="$ac_dir";;
86545 case "$ac_dir" in
86546 .) ac_abs_builddir=`pwd`;;
86547 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
86548 *) ac_abs_builddir=`pwd`/"$ac_dir";;
86549 esac;;
86550 esac
86551 case $ac_abs_builddir in
86552 .) ac_abs_top_builddir=${ac_top_builddir}.;;
86554 case ${ac_top_builddir}. in
86555 .) ac_abs_top_builddir=$ac_abs_builddir;;
86556 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
86557 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
86558 esac;;
86559 esac
86560 case $ac_abs_builddir in
86561 .) ac_abs_srcdir=$ac_srcdir;;
86563 case $ac_srcdir in
86564 .) ac_abs_srcdir=$ac_abs_builddir;;
86565 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
86566 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
86567 esac;;
86568 esac
86569 case $ac_abs_builddir in
86570 .) ac_abs_top_srcdir=$ac_top_srcdir;;
86572 case $ac_top_srcdir in
86573 .) ac_abs_top_srcdir=$ac_abs_builddir;;
86574 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
86575 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
86576 esac;;
86577 esac
86580 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
86581 echo "$as_me: executing $ac_dest commands" >&6;}
86582 case $ac_dest in
86583 default-1 )
86584 # Only add multilib support code if we just rebuilt the top-level
86585 # Makefile.
86586 case " $CONFIG_FILES " in
86587 *" Makefile "*)
86588 ac_file=Makefile . ${multi_basedir}/config-ml.in
86590 esac ;;
86591 default ) if test -n "$CONFIG_FILES"; then
86592 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
86593 # that multilib installs will end up installed in the correct place.
86594 # The testsuite needs it for multilib-aware ABI baseline files.
86595 # To work around this not being passed down from config-ml.in ->
86596 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
86597 # append it here. Only modify Makefiles that have just been created.
86599 # Also, get rid of this simulated-VPATH thing that automake does.
86600 cat > vpsed << \_EOF
86601 s!`test -f '$<' || echo '$(srcdir)/'`!!
86602 _EOF
86603 for i in $SUBDIRS; do
86604 case $CONFIG_FILES in
86605 *${i}/Makefile*)
86606 #echo "Adding MULTISUBDIR to $i/Makefile"
86607 sed -f vpsed $i/Makefile > tmp
86608 grep '^MULTISUBDIR =' Makefile >> tmp
86609 mv tmp $i/Makefile
86611 esac
86612 done
86613 rm vpsed
86615 (cd include && ${MAKE-make})
86617 esac
86618 done
86619 _ACEOF
86621 cat >>$CONFIG_STATUS <<\_ACEOF
86623 { (exit 0); exit 0; }
86624 _ACEOF
86625 chmod +x $CONFIG_STATUS
86626 ac_clean_files=$ac_clean_files_save
86629 # configure is writing to config.log, and then calls config.status.
86630 # config.status does its own redirection, appending to config.log.
86631 # Unfortunately, on DOS this fails, as config.log is still kept open
86632 # by configure, so config.status won't be able to write to it; its
86633 # output is simply discarded. So we exec the FD to /dev/null,
86634 # effectively closing config.log, so it can be properly (re)opened and
86635 # appended to by config.status. When coming back to configure, we
86636 # need to make the FD available again.
86637 if test "$no_create" != yes; then
86638 ac_cs_success=:
86639 ac_config_status_args=
86640 test "$silent" = yes &&
86641 ac_config_status_args="$ac_config_status_args --quiet"
86642 exec 5>/dev/null
86643 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
86644 exec 5>>config.log
86645 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
86646 # would make configure fail if this is the last instruction.
86647 $ac_cs_success || { (exit 1); exit 1; }