gcc:
[official-gcc.git] / libstdc++-v3 / configure
blob46858e75e0487c964d0abc651fa3bf8eb5da5fe8
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for package-unused version-unused.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14 emulate sh
15 NULLCMD=:
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20 set -o posix
22 DUALCASE=1; export DUALCASE # for MKS sh
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26 as_unset=unset
27 else
28 as_unset=false
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
34 PS1='$ '
35 PS2='> '
36 PS4='+ '
38 # NLS nuisances.
39 for as_var in \
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42 LC_TELEPHONE LC_TIME
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
46 else
47 $as_unset $as_var
49 done
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
53 as_expr=expr
54 else
55 as_expr=false
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59 as_basename=basename
60 else
61 as_basename=false
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
71 echo X/"$0" |
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
75 s/.*/./; q'`
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
90 chmod +x conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92 PATH_SEPARATOR=';'
93 else
94 PATH_SEPARATOR=:
96 rm -f conf$$.sh
100 as_lineno_1=$LINENO
101 as_lineno_2=$LINENO
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
106 # relative or not.
107 case $0 in
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110 for as_dir in $PATH
112 IFS=$as_save_IFS
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115 done
118 esac
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
122 as_myself=$0
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
133 IFS=$as_save_IFS
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
136 case $as_dir in
138 if ("$as_dir/$as_base" -c '
139 as_lineno_1=$LINENO
140 as_lineno_2=$LINENO
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
147 export CONFIG_SHELL
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149 fi;;
150 esac
151 done
152 done
154 esac
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
165 sed '
167 s,$,-,
168 : loop
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170 t loop
171 s,-$,,
172 s,^['$as_cr_digits']*\n,,
173 ' >$as_me.lineno &&
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
181 . ./$as_me.lineno
182 # Exit status is that of the last command.
183 exit
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
189 ' ECHO_T=' ' ;;
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
192 esac
194 if expr a : '\(a\)' >/dev/null 2>&1; then
195 as_expr=expr
196 else
197 as_expr=false
200 rm -f conf$$ conf$$.exe conf$$.file
201 echo >conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
207 as_ln_s='cp -p'
208 else
209 as_ln_s='ln -s'
211 elif ln conf$$.file conf$$ 2>/dev/null; then
212 as_ln_s=ln
213 else
214 as_ln_s='cp -p'
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
219 as_mkdir_p=:
220 else
221 test -d ./-p && rmdir ./-p
222 as_mkdir_p=false
225 as_executable_p="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
234 # IFS
235 # We need space, tab and new line, in precisely that order.
236 as_nl='
238 IFS=" $as_nl"
240 # CDPATH.
241 $as_unset CDPATH
244 # Name of the host.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
249 exec 6>&1
252 # Initializations.
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
256 cross_compiling=no
257 subdirs=
258 MFLAGS=
259 MAKEFLAGS=
260 SHELL=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
268 PACKAGE_NAME='package-unused'
269 PACKAGE_TARNAME='libstdc++'
270 PACKAGE_VERSION='version-unused'
271 PACKAGE_STRING='package-unused version-unused'
272 PACKAGE_BUGREPORT=''
274 ac_unique_file="src/ios.cc"
275 # Factoring default headers for most tests.
276 ac_includes_default="\
277 #include <stdio.h>
278 #if HAVE_SYS_TYPES_H
279 # include <sys/types.h>
280 #endif
281 #if HAVE_SYS_STAT_H
282 # include <sys/stat.h>
283 #endif
284 #if STDC_HEADERS
285 # include <stdlib.h>
286 # include <stddef.h>
287 #else
288 # if HAVE_STDLIB_H
289 # include <stdlib.h>
290 # endif
291 #endif
292 #if HAVE_STRING_H
293 # if !STDC_HEADERS && HAVE_MEMORY_H
294 # include <memory.h>
295 # endif
296 # include <string.h>
297 #endif
298 #if HAVE_STRINGS_H
299 # include <strings.h>
300 #endif
301 #if HAVE_INTTYPES_H
302 # include <inttypes.h>
303 #else
304 # if HAVE_STDINT_H
305 # include <stdint.h>
306 # endif
307 #endif
308 #if HAVE_UNISTD_H
309 # include <unistd.h>
310 #endif"
312 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS libtool_VERSION multi_basedir build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar glibcxx_builddir glibcxx_srcdir toplevel_srcdir CC ac_ct_CC EXEEXT OBJEXT CXX ac_ct_CXX CFLAGS CXXFLAGS LN_S AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CPP CPPFLAGS EGREP LIBTOOL CXXCPP enable_shared enable_static GLIBCXX_HOSTED_TRUE GLIBCXX_HOSTED_FALSE GLIBCXX_BUILD_PCH_TRUE GLIBCXX_BUILD_PCH_FALSE glibcxx_PCHFLAGS CSTDIO_H BASIC_FILE_H BASIC_FILE_CC check_msgfmt glibcxx_MOFILES glibcxx_POFILES glibcxx_localedir USE_NLS CLOCALE_H CMESSAGES_H CCODECVT_CC CCOLLATE_CC CCTYPE_CC CMESSAGES_CC CMONEY_CC CNUMERIC_CC CTIME_H CTIME_CC CLOCALE_CC CLOCALE_INTERNAL_H ALLOCATOR_H ALLOCATOR_NAME C_INCLUDE_DIR GLIBCXX_C_HEADERS_C_TRUE GLIBCXX_C_HEADERS_C_FALSE GLIBCXX_C_HEADERS_C_STD_TRUE GLIBCXX_C_HEADERS_C_STD_FALSE GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE DEBUG_FLAGS GLIBCXX_BUILD_DEBUG_TRUE GLIBCXX_BUILD_DEBUG_FALSE EXTRA_CXX_FLAGS glibcxx_thread_h WERROR SECTION_FLAGS SECTION_LDFLAGS OPT_LDFLAGS LIBMATHOBJS LIBICONV SYMVER_FILE port_specific_symbol_files ENABLE_SYMVERS_TRUE ENABLE_SYMVERS_FALSE ENABLE_SYMVERS_GNU_TRUE ENABLE_SYMVERS_GNU_FALSE ENABLE_SYMVERS_GNU_NAMESPACE_TRUE ENABLE_SYMVERS_GNU_NAMESPACE_FALSE ENABLE_SYMVERS_DARWIN_TRUE ENABLE_SYMVERS_DARWIN_FALSE 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 _g_switchUse thread-local storage
891 [default=yes]
892 --enable-symvers=STYLE enables symbol versioning of the shared library
893 [default=yes]
894 --enable-version-specific-runtime-libs
895 Specify that runtime libraries should be installed
896 in a compiler-specific directory
898 Optional Packages:
899 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
900 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
901 --with-target-subdir=SUBDIR
902 configuring in a subdirectory
903 --with-cross-host=HOST configuring with a cross compiler
904 --with-newlib assume newlib as a system C library
905 --with-gnu-ld assume the C compiler uses GNU ld default=no
906 --with-pic try to use only PIC/non-PIC objects default=use both
907 --with-gxx-include-dir=DIR
908 installation directory for include files
910 Some influential environment variables:
911 CC C compiler command
912 CFLAGS C compiler flags
913 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
914 nonstandard directory <lib dir>
915 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
916 headers in a nonstandard directory <include dir>
917 CXX C++ compiler command
918 CXXFLAGS C++ compiler flags
919 CPP C preprocessor
920 CXXCPP C++ preprocessor
922 Use these variables to override the choices made by `configure' or to help
923 it to find libraries and programs with nonstandard names/locations.
925 _ACEOF
928 if test "$ac_init_help" = "recursive"; then
929 # If there are subdirs, report their specific --help.
930 ac_popdir=`pwd`
931 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
932 test -d $ac_dir || continue
933 ac_builddir=.
935 if test "$ac_dir" != .; then
936 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
937 # A "../" for each directory in $ac_dir_suffix.
938 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
939 else
940 ac_dir_suffix= ac_top_builddir=
943 case $srcdir in
944 .) # No --srcdir option. We are building in place.
945 ac_srcdir=.
946 if test -z "$ac_top_builddir"; then
947 ac_top_srcdir=.
948 else
949 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
950 fi ;;
951 [\\/]* | ?:[\\/]* ) # Absolute path.
952 ac_srcdir=$srcdir$ac_dir_suffix;
953 ac_top_srcdir=$srcdir ;;
954 *) # Relative path.
955 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
956 ac_top_srcdir=$ac_top_builddir$srcdir ;;
957 esac
959 # Do not use `cd foo && pwd` to compute absolute paths, because
960 # the directories may not exist.
961 case `pwd` in
962 .) ac_abs_builddir="$ac_dir";;
964 case "$ac_dir" in
965 .) ac_abs_builddir=`pwd`;;
966 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
967 *) ac_abs_builddir=`pwd`/"$ac_dir";;
968 esac;;
969 esac
970 case $ac_abs_builddir in
971 .) ac_abs_top_builddir=${ac_top_builddir}.;;
973 case ${ac_top_builddir}. in
974 .) ac_abs_top_builddir=$ac_abs_builddir;;
975 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
976 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
977 esac;;
978 esac
979 case $ac_abs_builddir in
980 .) ac_abs_srcdir=$ac_srcdir;;
982 case $ac_srcdir in
983 .) ac_abs_srcdir=$ac_abs_builddir;;
984 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
985 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
986 esac;;
987 esac
988 case $ac_abs_builddir in
989 .) ac_abs_top_srcdir=$ac_top_srcdir;;
991 case $ac_top_srcdir in
992 .) ac_abs_top_srcdir=$ac_abs_builddir;;
993 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
994 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
995 esac;;
996 esac
998 cd $ac_dir
999 # Check for guested configure; otherwise get Cygnus style configure.
1000 if test -f $ac_srcdir/configure.gnu; then
1001 echo
1002 $SHELL $ac_srcdir/configure.gnu --help=recursive
1003 elif test -f $ac_srcdir/configure; then
1004 echo
1005 $SHELL $ac_srcdir/configure --help=recursive
1006 elif test -f $ac_srcdir/configure.ac ||
1007 test -f $ac_srcdir/configure.in; then
1008 echo
1009 $ac_configure --help
1010 else
1011 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1013 cd $ac_popdir
1014 done
1017 test -n "$ac_init_help" && exit 0
1018 if $ac_init_version; then
1019 cat <<\_ACEOF
1020 package-unused configure version-unused
1021 generated by GNU Autoconf 2.59
1023 Copyright (C) 2003 Free Software Foundation, Inc.
1024 This configure script is free software; the Free Software Foundation
1025 gives unlimited permission to copy, distribute and modify it.
1026 _ACEOF
1027 exit 0
1029 exec 5>config.log
1030 cat >&5 <<_ACEOF
1031 This file contains any messages produced by compilers while
1032 running configure, to aid debugging if configure makes a mistake.
1034 It was created by package-unused $as_me version-unused, which was
1035 generated by GNU Autoconf 2.59. Invocation command line was
1037 $ $0 $@
1039 _ACEOF
1041 cat <<_ASUNAME
1042 ## --------- ##
1043 ## Platform. ##
1044 ## --------- ##
1046 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1047 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1048 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1049 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1050 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1052 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1053 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1055 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1056 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1057 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1058 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1059 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1060 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1061 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1063 _ASUNAME
1065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1066 for as_dir in $PATH
1068 IFS=$as_save_IFS
1069 test -z "$as_dir" && as_dir=.
1070 echo "PATH: $as_dir"
1071 done
1073 } >&5
1075 cat >&5 <<_ACEOF
1078 ## ----------- ##
1079 ## Core tests. ##
1080 ## ----------- ##
1082 _ACEOF
1085 # Keep a trace of the command line.
1086 # Strip out --no-create and --no-recursion so they do not pile up.
1087 # Strip out --silent because we don't want to record it for future runs.
1088 # Also quote any args containing shell meta-characters.
1089 # Make two passes to allow for proper duplicate-argument suppression.
1090 ac_configure_args=
1091 ac_configure_args0=
1092 ac_configure_args1=
1093 ac_sep=
1094 ac_must_keep_next=false
1095 for ac_pass in 1 2
1097 for ac_arg
1099 case $ac_arg in
1100 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1101 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1102 | -silent | --silent | --silen | --sile | --sil)
1103 continue ;;
1104 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1105 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1106 esac
1107 case $ac_pass in
1108 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1110 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1111 if test $ac_must_keep_next = true; then
1112 ac_must_keep_next=false # Got value, back to normal.
1113 else
1114 case $ac_arg in
1115 *=* | --config-cache | -C | -disable-* | --disable-* \
1116 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1117 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1118 | -with-* | --with-* | -without-* | --without-* | --x)
1119 case "$ac_configure_args0 " in
1120 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1121 esac
1123 -* ) ac_must_keep_next=true ;;
1124 esac
1126 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1127 # Get rid of the leading space.
1128 ac_sep=" "
1130 esac
1131 done
1132 done
1133 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1134 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1136 # When interrupted or exit'd, cleanup temporary files, and complete
1137 # config.log. We remove comments because anyway the quotes in there
1138 # would cause problems or look ugly.
1139 # WARNING: Be sure not to use single quotes in there, as some shells,
1140 # such as our DU 5.0 friend, will then `close' the trap.
1141 trap 'exit_status=$?
1142 # Save into config.log some information that might help in debugging.
1144 echo
1146 cat <<\_ASBOX
1147 ## ---------------- ##
1148 ## Cache variables. ##
1149 ## ---------------- ##
1150 _ASBOX
1151 echo
1152 # The following way of writing the cache mishandles newlines in values,
1154 (set) 2>&1 |
1155 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1156 *ac_space=\ *)
1157 sed -n \
1158 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1159 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1162 sed -n \
1163 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1165 esac;
1167 echo
1169 cat <<\_ASBOX
1170 ## ----------------- ##
1171 ## Output variables. ##
1172 ## ----------------- ##
1173 _ASBOX
1174 echo
1175 for ac_var in $ac_subst_vars
1177 eval ac_val=$`echo $ac_var`
1178 echo "$ac_var='"'"'$ac_val'"'"'"
1179 done | sort
1180 echo
1182 if test -n "$ac_subst_files"; then
1183 cat <<\_ASBOX
1184 ## ------------- ##
1185 ## Output files. ##
1186 ## ------------- ##
1187 _ASBOX
1188 echo
1189 for ac_var in $ac_subst_files
1191 eval ac_val=$`echo $ac_var`
1192 echo "$ac_var='"'"'$ac_val'"'"'"
1193 done | sort
1194 echo
1197 if test -s confdefs.h; then
1198 cat <<\_ASBOX
1199 ## ----------- ##
1200 ## confdefs.h. ##
1201 ## ----------- ##
1202 _ASBOX
1203 echo
1204 sed "/^$/d" confdefs.h | sort
1205 echo
1207 test "$ac_signal" != 0 &&
1208 echo "$as_me: caught signal $ac_signal"
1209 echo "$as_me: exit $exit_status"
1210 } >&5
1211 rm -f core *.core &&
1212 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1213 exit $exit_status
1215 for ac_signal in 1 2 13 15; do
1216 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1217 done
1218 ac_signal=0
1220 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1221 rm -rf conftest* confdefs.h
1222 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1223 echo >confdefs.h
1225 # Predefined preprocessor variables.
1227 cat >>confdefs.h <<_ACEOF
1228 #define PACKAGE_NAME "$PACKAGE_NAME"
1229 _ACEOF
1232 cat >>confdefs.h <<_ACEOF
1233 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1234 _ACEOF
1237 cat >>confdefs.h <<_ACEOF
1238 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1239 _ACEOF
1242 cat >>confdefs.h <<_ACEOF
1243 #define PACKAGE_STRING "$PACKAGE_STRING"
1244 _ACEOF
1247 cat >>confdefs.h <<_ACEOF
1248 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1249 _ACEOF
1252 # Let the site file select an alternate cache file if it wants to.
1253 # Prefer explicitly selected file to automatically selected ones.
1254 if test -z "$CONFIG_SITE"; then
1255 if test "x$prefix" != xNONE; then
1256 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1257 else
1258 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1261 for ac_site_file in $CONFIG_SITE; do
1262 if test -r "$ac_site_file"; then
1263 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1264 echo "$as_me: loading site script $ac_site_file" >&6;}
1265 sed 's/^/| /' "$ac_site_file" >&5
1266 . "$ac_site_file"
1268 done
1270 if test -r "$cache_file"; then
1271 # Some versions of bash will fail to source /dev/null (special
1272 # files actually), so we avoid doing that.
1273 if test -f "$cache_file"; then
1274 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1275 echo "$as_me: loading cache $cache_file" >&6;}
1276 case $cache_file in
1277 [\\/]* | ?:[\\/]* ) . $cache_file;;
1278 *) . ./$cache_file;;
1279 esac
1281 else
1282 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1283 echo "$as_me: creating cache $cache_file" >&6;}
1284 >$cache_file
1287 # Check that the precious variables saved in the cache have kept the same
1288 # value.
1289 ac_cache_corrupted=false
1290 for ac_var in `(set) 2>&1 |
1291 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1292 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1293 eval ac_new_set=\$ac_env_${ac_var}_set
1294 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1295 eval ac_new_val="\$ac_env_${ac_var}_value"
1296 case $ac_old_set,$ac_new_set in
1297 set,)
1298 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1299 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1300 ac_cache_corrupted=: ;;
1301 ,set)
1302 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1303 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1304 ac_cache_corrupted=: ;;
1305 ,);;
1307 if test "x$ac_old_val" != "x$ac_new_val"; then
1308 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1309 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1310 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1311 echo "$as_me: former value: $ac_old_val" >&2;}
1312 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1313 echo "$as_me: current value: $ac_new_val" >&2;}
1314 ac_cache_corrupted=:
1315 fi;;
1316 esac
1317 # Pass precious variables to config.status.
1318 if test "$ac_new_set" = set; then
1319 case $ac_new_val in
1320 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1321 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1322 *) ac_arg=$ac_var=$ac_new_val ;;
1323 esac
1324 case " $ac_configure_args " in
1325 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1326 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1327 esac
1329 done
1330 if $ac_cache_corrupted; then
1331 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1332 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1333 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1334 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1335 { (exit 1); exit 1; }; }
1338 ac_ext=c
1339 ac_cpp='$CPP $CPPFLAGS'
1340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1371 ac_config_headers="$ac_config_headers config.h"
1374 # This works around the fact that libtool configuration may change LD
1375 # for this particular configuration, but some shells, instead of
1376 # keeping the changes in LD private, export them just because LD is
1377 # exported. Only used at the end of this file.
1378 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
1380 # For libtool versioning info, format is CURRENT:REVISION:AGE
1381 libtool_VERSION=6:9:0
1384 # Find the rest of the source tree framework.
1385 # Default to --enable-multilib
1386 # Check whether --enable-multilib or --disable-multilib was given.
1387 if test "${enable_multilib+set}" = set; then
1388 enableval="$enable_multilib"
1389 case "$enableval" in
1390 yes) multilib=yes ;;
1391 no) multilib=no ;;
1392 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1393 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1394 { (exit 1); exit 1; }; } ;;
1395 esac
1396 else
1397 multilib=yes
1400 # We may get other options which we leave undocumented:
1401 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1402 # See config-ml.in if you want the gory details.
1404 if test "$srcdir" = "."; then
1405 if test "$with_target_subdir" != "."; then
1406 multi_basedir="$srcdir/$with_multisrctop../.."
1407 else
1408 multi_basedir="$srcdir/$with_multisrctop.."
1410 else
1411 multi_basedir="$srcdir/.."
1415 ac_config_commands="$ac_config_commands default-1"
1418 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1420 # You will slowly go insane if you do not grok the following fact: when
1421 # building v3 as part of the compiler, the top-level /target/ becomes the
1422 # library's /host/. configure then causes --target to default to --host,
1423 # exactly like any other package using autoconf. Therefore, 'target' and
1424 # 'host' will always be the same. This makes sense both for native and
1425 # cross compilers, just think about it for a little while. :-)
1427 # Also, if v3 is being configured as part of a cross compiler, the top-level
1428 # configure script will pass the "real" host as $with_cross_host.
1430 # Do not delete or change the following two lines. For why, see
1431 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1432 ac_aux_dir=
1433 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1434 if test -f $ac_dir/install-sh; then
1435 ac_aux_dir=$ac_dir
1436 ac_install_sh="$ac_aux_dir/install-sh -c"
1437 break
1438 elif test -f $ac_dir/install.sh; then
1439 ac_aux_dir=$ac_dir
1440 ac_install_sh="$ac_aux_dir/install.sh -c"
1441 break
1442 elif test -f $ac_dir/shtool; then
1443 ac_aux_dir=$ac_dir
1444 ac_install_sh="$ac_aux_dir/shtool install -c"
1445 break
1447 done
1448 if test -z "$ac_aux_dir"; then
1449 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1450 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1451 { (exit 1); exit 1; }; }
1453 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1454 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1455 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1457 # Make sure we can run config.sub.
1458 $ac_config_sub sun4 >/dev/null 2>&1 ||
1459 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1460 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1461 { (exit 1); exit 1; }; }
1463 echo "$as_me:$LINENO: checking build system type" >&5
1464 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1465 if test "${ac_cv_build+set}" = set; then
1466 echo $ECHO_N "(cached) $ECHO_C" >&6
1467 else
1468 ac_cv_build_alias=$build_alias
1469 test -z "$ac_cv_build_alias" &&
1470 ac_cv_build_alias=`$ac_config_guess`
1471 test -z "$ac_cv_build_alias" &&
1472 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1473 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1474 { (exit 1); exit 1; }; }
1475 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1476 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1477 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1478 { (exit 1); exit 1; }; }
1481 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1482 echo "${ECHO_T}$ac_cv_build" >&6
1483 build=$ac_cv_build
1484 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1485 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1486 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1489 echo "$as_me:$LINENO: checking host system type" >&5
1490 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1491 if test "${ac_cv_host+set}" = set; then
1492 echo $ECHO_N "(cached) $ECHO_C" >&6
1493 else
1494 ac_cv_host_alias=$host_alias
1495 test -z "$ac_cv_host_alias" &&
1496 ac_cv_host_alias=$ac_cv_build_alias
1497 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1498 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1499 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1500 { (exit 1); exit 1; }; }
1503 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1504 echo "${ECHO_T}$ac_cv_host" >&6
1505 host=$ac_cv_host
1506 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1507 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1508 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1511 echo "$as_me:$LINENO: checking target system type" >&5
1512 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1513 if test "${ac_cv_target+set}" = set; then
1514 echo $ECHO_N "(cached) $ECHO_C" >&6
1515 else
1516 ac_cv_target_alias=$target_alias
1517 test "x$ac_cv_target_alias" = "x" &&
1518 ac_cv_target_alias=$ac_cv_host_alias
1519 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1520 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1521 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1522 { (exit 1); exit 1; }; }
1525 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1526 echo "${ECHO_T}$ac_cv_target" >&6
1527 target=$ac_cv_target
1528 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1529 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1530 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1533 # The aliases save the names the user supplied, while $host etc.
1534 # will get canonicalized.
1535 test -n "$target_alias" &&
1536 test "$program_prefix$program_suffix$program_transform_name" = \
1537 NONENONEs,x,x, &&
1538 program_prefix=${target_alias}-
1539 target_alias=${target_alias-$host_alias}
1541 # Handy for debugging:
1542 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1544 if test "$build" != "$host"; then
1545 # We are being configured with some form of cross compiler.
1546 GLIBCXX_IS_NATIVE=false
1547 case "$host","$target" in
1548 # Darwin crosses can use the host system's libraries and headers,
1549 # because of the fat library support. Of course, it must be the
1550 # same version of Darwin on both sides. Allow the user to
1551 # just say --target=foo-darwin without a version number to mean
1552 # "the version on this system".
1553 *-*-darwin*,*-*-darwin*)
1554 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
1555 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
1556 if test $hostos = $targetos -o $targetos = darwin ; then
1557 GLIBCXX_IS_NATIVE=true
1564 esac
1565 else
1566 GLIBCXX_IS_NATIVE=true
1569 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1570 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1571 # 1.x: minimum required version
1572 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1573 # of other PACKAGE_* variables will, however, and there's nothing
1574 # we can do about that; they come from AC_INIT).
1575 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1576 # file in the top srcdir, etc, etc), so stop complaining.
1577 # no-dependencies: turns off auto dependency generation (just for now)
1578 # -Wall: turns on all automake warnings...
1579 # -Wno-portability: ...except this one, since GNU make is now required.
1580 am__api_version="1.9"
1581 # Find a good install program. We prefer a C program (faster),
1582 # so one script is as good as another. But avoid the broken or
1583 # incompatible versions:
1584 # SysV /etc/install, /usr/sbin/install
1585 # SunOS /usr/etc/install
1586 # IRIX /sbin/install
1587 # AIX /bin/install
1588 # AmigaOS /C/install, which installs bootblocks on floppy discs
1589 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1590 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1591 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1592 # OS/2's system install, which has a completely different semantic
1593 # ./install, which can be erroneously created by make from ./install.sh.
1594 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1595 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1596 if test -z "$INSTALL"; then
1597 if test "${ac_cv_path_install+set}" = set; then
1598 echo $ECHO_N "(cached) $ECHO_C" >&6
1599 else
1600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1601 for as_dir in $PATH
1603 IFS=$as_save_IFS
1604 test -z "$as_dir" && as_dir=.
1605 # Account for people who put trailing slashes in PATH elements.
1606 case $as_dir/ in
1607 ./ | .// | /cC/* | \
1608 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1609 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1610 /usr/ucb/* ) ;;
1612 # OSF1 and SCO ODT 3.0 have their own names for install.
1613 # Don't use installbsd from OSF since it installs stuff as root
1614 # by default.
1615 for ac_prog in ginstall scoinst install; do
1616 for ac_exec_ext in '' $ac_executable_extensions; do
1617 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1618 if test $ac_prog = install &&
1619 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1620 # AIX install. It has an incompatible calling convention.
1622 elif test $ac_prog = install &&
1623 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1624 # program-specific install script used by HP pwplus--don't use.
1626 else
1627 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1628 break 3
1631 done
1632 done
1634 esac
1635 done
1639 if test "${ac_cv_path_install+set}" = set; then
1640 INSTALL=$ac_cv_path_install
1641 else
1642 # As a last resort, use the slow shell script. We don't cache a
1643 # path for INSTALL within a source directory, because that will
1644 # break other packages using the cache if that directory is
1645 # removed, or if the path is relative.
1646 INSTALL=$ac_install_sh
1649 echo "$as_me:$LINENO: result: $INSTALL" >&5
1650 echo "${ECHO_T}$INSTALL" >&6
1652 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1653 # It thinks the first close brace ends the variable substitution.
1654 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1656 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1658 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1660 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1661 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1662 # Just in case
1663 sleep 1
1664 echo timestamp > conftest.file
1665 # Do `set' in a subshell so we don't clobber the current shell's
1666 # arguments. Must try -L first in case configure is actually a
1667 # symlink; some systems play weird games with the mod time of symlinks
1668 # (eg FreeBSD returns the mod time of the symlink's containing
1669 # directory).
1670 if (
1671 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1672 if test "$*" = "X"; then
1673 # -L didn't work.
1674 set X `ls -t $srcdir/configure conftest.file`
1676 rm -f conftest.file
1677 if test "$*" != "X $srcdir/configure conftest.file" \
1678 && test "$*" != "X conftest.file $srcdir/configure"; then
1680 # If neither matched, then we have a broken ls. This can happen
1681 # if, for instance, CONFIG_SHELL is bash and it inherits a
1682 # broken ls alias from the environment. This has actually
1683 # happened. Such a system could not be considered "sane".
1684 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1685 alias in your environment" >&5
1686 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1687 alias in your environment" >&2;}
1688 { (exit 1); exit 1; }; }
1691 test "$2" = conftest.file
1693 then
1694 # Ok.
1696 else
1697 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1698 Check your system clock" >&5
1699 echo "$as_me: error: newly created file is older than distributed files!
1700 Check your system clock" >&2;}
1701 { (exit 1); exit 1; }; }
1703 echo "$as_me:$LINENO: result: yes" >&5
1704 echo "${ECHO_T}yes" >&6
1705 test "$program_prefix" != NONE &&
1706 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1707 # Use a double $ so make ignores it.
1708 test "$program_suffix" != NONE &&
1709 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1710 # Double any \ or $. echo might interpret backslashes.
1711 # By default was `s,x,x', remove it if useless.
1712 cat <<\_ACEOF >conftest.sed
1713 s/[\\$]/&&/g;s/;s,x,x,$//
1714 _ACEOF
1715 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1716 rm conftest.sed
1718 # expand $ac_aux_dir to an absolute path
1719 am_aux_dir=`cd $ac_aux_dir && pwd`
1721 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1722 # Use eval to expand $SHELL
1723 if eval "$MISSING --run true"; then
1724 am_missing_run="$MISSING --run "
1725 else
1726 am_missing_run=
1727 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1728 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1731 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1732 # We used to keeping the `.' as first argument, in order to
1733 # allow $(mkdir_p) to be used without argument. As in
1734 # $(mkdir_p) $(somedir)
1735 # where $(somedir) is conditionally defined. However this is wrong
1736 # for two reasons:
1737 # 1. if the package is installed by a user who cannot write `.'
1738 # make install will fail,
1739 # 2. the above comment should most certainly read
1740 # $(mkdir_p) $(DESTDIR)$(somedir)
1741 # so it does not work when $(somedir) is undefined and
1742 # $(DESTDIR) is not.
1743 # To support the latter case, we have to write
1744 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1745 # so the `.' trick is pointless.
1746 mkdir_p='mkdir -p --'
1747 else
1748 # On NextStep and OpenStep, the `mkdir' command does not
1749 # recognize any option. It will interpret all options as
1750 # directories to create, and then abort because `.' already
1751 # exists.
1752 for d in ./-p ./--version;
1754 test -d $d && rmdir $d
1755 done
1756 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1757 if test -f "$ac_aux_dir/mkinstalldirs"; then
1758 mkdir_p='$(mkinstalldirs)'
1759 else
1760 mkdir_p='$(install_sh) -d'
1764 for ac_prog in gawk mawk nawk awk
1766 # Extract the first word of "$ac_prog", so it can be a program name with args.
1767 set dummy $ac_prog; ac_word=$2
1768 echo "$as_me:$LINENO: checking for $ac_word" >&5
1769 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1770 if test "${ac_cv_prog_AWK+set}" = set; then
1771 echo $ECHO_N "(cached) $ECHO_C" >&6
1772 else
1773 if test -n "$AWK"; then
1774 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1775 else
1776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1777 for as_dir in $PATH
1779 IFS=$as_save_IFS
1780 test -z "$as_dir" && as_dir=.
1781 for ac_exec_ext in '' $ac_executable_extensions; do
1782 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1783 ac_cv_prog_AWK="$ac_prog"
1784 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1785 break 2
1787 done
1788 done
1792 AWK=$ac_cv_prog_AWK
1793 if test -n "$AWK"; then
1794 echo "$as_me:$LINENO: result: $AWK" >&5
1795 echo "${ECHO_T}$AWK" >&6
1796 else
1797 echo "$as_me:$LINENO: result: no" >&5
1798 echo "${ECHO_T}no" >&6
1801 test -n "$AWK" && break
1802 done
1804 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1805 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1806 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1807 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1808 echo $ECHO_N "(cached) $ECHO_C" >&6
1809 else
1810 cat >conftest.make <<\_ACEOF
1811 all:
1812 @echo 'ac_maketemp="$(MAKE)"'
1813 _ACEOF
1814 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1815 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1816 if test -n "$ac_maketemp"; then
1817 eval ac_cv_prog_make_${ac_make}_set=yes
1818 else
1819 eval ac_cv_prog_make_${ac_make}_set=no
1821 rm -f conftest.make
1823 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1824 echo "$as_me:$LINENO: result: yes" >&5
1825 echo "${ECHO_T}yes" >&6
1826 SET_MAKE=
1827 else
1828 echo "$as_me:$LINENO: result: no" >&5
1829 echo "${ECHO_T}no" >&6
1830 SET_MAKE="MAKE=${MAKE-make}"
1833 rm -rf .tst 2>/dev/null
1834 mkdir .tst 2>/dev/null
1835 if test -d .tst; then
1836 am__leading_dot=.
1837 else
1838 am__leading_dot=_
1840 rmdir .tst 2>/dev/null
1842 # test to see if srcdir already configured
1843 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1844 test -f $srcdir/config.status; then
1845 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1846 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1847 { (exit 1); exit 1; }; }
1850 # test whether we have cygpath
1851 if test -z "$CYGPATH_W"; then
1852 if (cygpath --version) >/dev/null 2>/dev/null; then
1853 CYGPATH_W='cygpath -w'
1854 else
1855 CYGPATH_W=echo
1860 # Define the identity of the package.
1861 PACKAGE='libstdc++'
1862 VERSION='version-unused'
1865 # Some tools Automake needs.
1867 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1870 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1873 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1876 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1879 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1881 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1883 # Installed binaries are usually stripped using `strip' when the user
1884 # run `make install-strip'. However `strip' might not be the right
1885 # tool to use in cross-compilation environments, therefore Automake
1886 # will honor the `STRIP' environment variable to overrule this program.
1887 if test "$cross_compiling" != no; then
1888 if test -n "$ac_tool_prefix"; then
1889 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1890 set dummy ${ac_tool_prefix}strip; ac_word=$2
1891 echo "$as_me:$LINENO: checking for $ac_word" >&5
1892 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1893 if test "${ac_cv_prog_STRIP+set}" = set; then
1894 echo $ECHO_N "(cached) $ECHO_C" >&6
1895 else
1896 if test -n "$STRIP"; then
1897 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1898 else
1899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1900 for as_dir in $PATH
1902 IFS=$as_save_IFS
1903 test -z "$as_dir" && as_dir=.
1904 for ac_exec_ext in '' $ac_executable_extensions; do
1905 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1906 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1907 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1908 break 2
1910 done
1911 done
1915 STRIP=$ac_cv_prog_STRIP
1916 if test -n "$STRIP"; then
1917 echo "$as_me:$LINENO: result: $STRIP" >&5
1918 echo "${ECHO_T}$STRIP" >&6
1919 else
1920 echo "$as_me:$LINENO: result: no" >&5
1921 echo "${ECHO_T}no" >&6
1925 if test -z "$ac_cv_prog_STRIP"; then
1926 ac_ct_STRIP=$STRIP
1927 # Extract the first word of "strip", so it can be a program name with args.
1928 set dummy strip; ac_word=$2
1929 echo "$as_me:$LINENO: checking for $ac_word" >&5
1930 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1931 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1932 echo $ECHO_N "(cached) $ECHO_C" >&6
1933 else
1934 if test -n "$ac_ct_STRIP"; then
1935 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1936 else
1937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1938 for as_dir in $PATH
1940 IFS=$as_save_IFS
1941 test -z "$as_dir" && as_dir=.
1942 for ac_exec_ext in '' $ac_executable_extensions; do
1943 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1944 ac_cv_prog_ac_ct_STRIP="strip"
1945 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1946 break 2
1948 done
1949 done
1951 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1954 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1955 if test -n "$ac_ct_STRIP"; then
1956 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1957 echo "${ECHO_T}$ac_ct_STRIP" >&6
1958 else
1959 echo "$as_me:$LINENO: result: no" >&5
1960 echo "${ECHO_T}no" >&6
1963 STRIP=$ac_ct_STRIP
1964 else
1965 STRIP="$ac_cv_prog_STRIP"
1969 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1971 # We need awk for the "check" target. The system "awk" is bad on
1972 # some platforms.
1973 # Always define AMTAR for backward compatibility.
1975 AMTAR=${AMTAR-"${am_missing_run}tar"}
1977 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1988 # Runs configure.host, finds CC, CXX, and assorted other critical bits. Sets
1989 # up critical shell variables.
1991 ac_ext=c
1992 ac_cpp='$CPP $CPPFLAGS'
1993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1996 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
1997 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
1998 # On Suns, sometimes $CPP names a directory.
1999 if test -n "$CPP" && test -d "$CPP"; then
2000 CPP=
2002 if test -z "$CPP"; then
2003 if test "${ac_cv_prog_CPP+set}" = set; then
2004 echo $ECHO_N "(cached) $ECHO_C" >&6
2005 else
2006 # Double quotes because CPP needs to be expanded
2007 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2009 ac_preproc_ok=false
2010 for ac_c_preproc_warn_flag in '' yes
2012 # Use a header file that comes with gcc, so configuring glibc
2013 # with a fresh cross-compiler works.
2014 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2015 # <limits.h> exists even on freestanding compilers.
2016 # On the NeXT, cc -E runs the code through the compiler's parser,
2017 # not just through cpp. "Syntax error" is here to catch this case.
2018 cat >conftest.$ac_ext <<_ACEOF
2019 /* confdefs.h. */
2020 _ACEOF
2021 cat confdefs.h >>conftest.$ac_ext
2022 cat >>conftest.$ac_ext <<_ACEOF
2023 /* end confdefs.h. */
2024 #ifdef __STDC__
2025 # include <limits.h>
2026 #else
2027 # include <assert.h>
2028 #endif
2029 Syntax error
2030 _ACEOF
2031 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2032 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2033 ac_status=$?
2034 grep -v '^ *+' conftest.er1 >conftest.err
2035 rm -f conftest.er1
2036 cat conftest.err >&5
2037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2038 (exit $ac_status); } >/dev/null; then
2039 if test -s conftest.err; then
2040 ac_cpp_err=$ac_c_preproc_warn_flag
2041 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2042 else
2043 ac_cpp_err=
2045 else
2046 ac_cpp_err=yes
2048 if test -z "$ac_cpp_err"; then
2050 else
2051 echo "$as_me: failed program was:" >&5
2052 sed 's/^/| /' conftest.$ac_ext >&5
2054 # Broken: fails on valid input.
2055 continue
2057 rm -f conftest.err conftest.$ac_ext
2059 # OK, works on sane cases. Now check whether non-existent headers
2060 # can be detected and how.
2061 cat >conftest.$ac_ext <<_ACEOF
2062 /* confdefs.h. */
2063 _ACEOF
2064 cat confdefs.h >>conftest.$ac_ext
2065 cat >>conftest.$ac_ext <<_ACEOF
2066 /* end confdefs.h. */
2067 #include <ac_nonexistent.h>
2068 _ACEOF
2069 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2070 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2071 ac_status=$?
2072 grep -v '^ *+' conftest.er1 >conftest.err
2073 rm -f conftest.er1
2074 cat conftest.err >&5
2075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2076 (exit $ac_status); } >/dev/null; then
2077 if test -s conftest.err; then
2078 ac_cpp_err=$ac_c_preproc_warn_flag
2079 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2080 else
2081 ac_cpp_err=
2083 else
2084 ac_cpp_err=yes
2086 if test -z "$ac_cpp_err"; then
2087 # Broken: success on invalid input.
2088 continue
2089 else
2090 echo "$as_me: failed program was:" >&5
2091 sed 's/^/| /' conftest.$ac_ext >&5
2093 # Passes both tests.
2094 ac_preproc_ok=:
2095 break
2097 rm -f conftest.err conftest.$ac_ext
2099 done
2100 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2101 rm -f conftest.err conftest.$ac_ext
2102 if $ac_preproc_ok; then
2103 break
2106 done
2107 ac_cv_prog_CPP=$CPP
2110 CPP=$ac_cv_prog_CPP
2111 else
2112 ac_cv_prog_CPP=$CPP
2114 echo "$as_me:$LINENO: result: $CPP" >&5
2115 echo "${ECHO_T}$CPP" >&6
2116 ac_preproc_ok=false
2117 for ac_c_preproc_warn_flag in '' yes
2119 # Use a header file that comes with gcc, so configuring glibc
2120 # with a fresh cross-compiler works.
2121 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2122 # <limits.h> exists even on freestanding compilers.
2123 # On the NeXT, cc -E runs the code through the compiler's parser,
2124 # not just through cpp. "Syntax error" is here to catch this case.
2125 cat >conftest.$ac_ext <<_ACEOF
2126 /* confdefs.h. */
2127 _ACEOF
2128 cat confdefs.h >>conftest.$ac_ext
2129 cat >>conftest.$ac_ext <<_ACEOF
2130 /* end confdefs.h. */
2131 #ifdef __STDC__
2132 # include <limits.h>
2133 #else
2134 # include <assert.h>
2135 #endif
2136 Syntax error
2137 _ACEOF
2138 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2139 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2140 ac_status=$?
2141 grep -v '^ *+' conftest.er1 >conftest.err
2142 rm -f conftest.er1
2143 cat conftest.err >&5
2144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2145 (exit $ac_status); } >/dev/null; then
2146 if test -s conftest.err; then
2147 ac_cpp_err=$ac_c_preproc_warn_flag
2148 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2149 else
2150 ac_cpp_err=
2152 else
2153 ac_cpp_err=yes
2155 if test -z "$ac_cpp_err"; then
2157 else
2158 echo "$as_me: failed program was:" >&5
2159 sed 's/^/| /' conftest.$ac_ext >&5
2161 # Broken: fails on valid input.
2162 continue
2164 rm -f conftest.err conftest.$ac_ext
2166 # OK, works on sane cases. Now check whether non-existent headers
2167 # can be detected and how.
2168 cat >conftest.$ac_ext <<_ACEOF
2169 /* confdefs.h. */
2170 _ACEOF
2171 cat confdefs.h >>conftest.$ac_ext
2172 cat >>conftest.$ac_ext <<_ACEOF
2173 /* end confdefs.h. */
2174 #include <ac_nonexistent.h>
2175 _ACEOF
2176 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2177 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2178 ac_status=$?
2179 grep -v '^ *+' conftest.er1 >conftest.err
2180 rm -f conftest.er1
2181 cat conftest.err >&5
2182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2183 (exit $ac_status); } >/dev/null; then
2184 if test -s conftest.err; then
2185 ac_cpp_err=$ac_c_preproc_warn_flag
2186 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2187 else
2188 ac_cpp_err=
2190 else
2191 ac_cpp_err=yes
2193 if test -z "$ac_cpp_err"; then
2194 # Broken: success on invalid input.
2195 continue
2196 else
2197 echo "$as_me: failed program was:" >&5
2198 sed 's/^/| /' conftest.$ac_ext >&5
2200 # Passes both tests.
2201 ac_preproc_ok=:
2202 break
2204 rm -f conftest.err conftest.$ac_ext
2206 done
2207 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2208 rm -f conftest.err conftest.$ac_ext
2209 if $ac_preproc_ok; then
2211 else
2212 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2213 See \`config.log' for more details." >&5
2214 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2215 See \`config.log' for more details." >&2;}
2216 { (exit 1); exit 1; }; }
2219 ac_ext=c
2220 ac_cpp='$CPP $CPPFLAGS'
2221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2226 echo "$as_me:$LINENO: checking for egrep" >&5
2227 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2228 if test "${ac_cv_prog_egrep+set}" = set; then
2229 echo $ECHO_N "(cached) $ECHO_C" >&6
2230 else
2231 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2232 then ac_cv_prog_egrep='grep -E'
2233 else ac_cv_prog_egrep='egrep'
2236 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2237 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2238 EGREP=$ac_cv_prog_egrep
2242 # Keep these sync'd with the list in Makefile.am. The first provides an
2243 # expandable list at autoconf time; the second provides an expandable list
2244 # (i.e., shell variable) at configure time.
2246 SUBDIRS='include libmath libsupc++ src po testsuite'
2248 # These need to be absolute paths, yet at the same time need to
2249 # canonicalize only relative paths, because then amd will not unmount
2250 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
2251 glibcxx_builddir=`${PWDCMD-pwd}`
2252 case $srcdir in
2253 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
2254 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
2255 esac
2256 toplevel_srcdir=${glibcxx_srcdir}/..
2261 # We use these options to decide which functions to include. They are
2262 # set from the top level.
2264 # Check whether --with-target-subdir or --without-target-subdir was given.
2265 if test "${with_target_subdir+set}" = set; then
2266 withval="$with_target_subdir"
2271 # Check whether --with-cross-host or --without-cross-host was given.
2272 if test "${with_cross_host+set}" = set; then
2273 withval="$with_cross_host"
2278 # Check whether --with-newlib or --without-newlib was given.
2279 if test "${with_newlib+set}" = set; then
2280 withval="$with_newlib"
2284 # We're almost certainly being configured before anything else which uses
2285 # C++, so all of our AC_PROG_* discoveries will be cached. It's vital that
2286 # we not cache the value of CXX that we "discover" here, because it's set
2287 # to something unique for us and libjava. Other target libraries need to
2288 # find CXX for themselves. We yank the rug out from under the normal AC_*
2289 # process by sneakily renaming the cache variable. This also lets us debug
2290 # the value of "our" CXX in postmortems.
2292 # We must also force CXX to /not/ be a precious variable, otherwise the
2293 # wrong (non-multilib-adjusted) value will be used in multilibs. This
2294 # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS. And as a side
2295 # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
2296 # that ourselves. Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
2298 # -fno-builtin must be present here so that a non-conflicting form of
2299 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
2304 save_CXXFLAGS="$CXXFLAGS"
2305 CXXFLAGS="$CXXFLAGS -fno-builtin"
2306 ac_ext=c
2307 ac_cpp='$CPP $CPPFLAGS'
2308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2311 if test -n "$ac_tool_prefix"; then
2312 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2313 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2314 echo "$as_me:$LINENO: checking for $ac_word" >&5
2315 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2316 if test "${ac_cv_prog_CC+set}" = set; then
2317 echo $ECHO_N "(cached) $ECHO_C" >&6
2318 else
2319 if test -n "$CC"; then
2320 ac_cv_prog_CC="$CC" # Let the user override the test.
2321 else
2322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2323 for as_dir in $PATH
2325 IFS=$as_save_IFS
2326 test -z "$as_dir" && as_dir=.
2327 for ac_exec_ext in '' $ac_executable_extensions; do
2328 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2329 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2330 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2331 break 2
2333 done
2334 done
2338 CC=$ac_cv_prog_CC
2339 if test -n "$CC"; then
2340 echo "$as_me:$LINENO: result: $CC" >&5
2341 echo "${ECHO_T}$CC" >&6
2342 else
2343 echo "$as_me:$LINENO: result: no" >&5
2344 echo "${ECHO_T}no" >&6
2348 if test -z "$ac_cv_prog_CC"; then
2349 ac_ct_CC=$CC
2350 # Extract the first word of "gcc", so it can be a program name with args.
2351 set dummy gcc; ac_word=$2
2352 echo "$as_me:$LINENO: checking for $ac_word" >&5
2353 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2354 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2355 echo $ECHO_N "(cached) $ECHO_C" >&6
2356 else
2357 if test -n "$ac_ct_CC"; then
2358 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2359 else
2360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2361 for as_dir in $PATH
2363 IFS=$as_save_IFS
2364 test -z "$as_dir" && as_dir=.
2365 for ac_exec_ext in '' $ac_executable_extensions; do
2366 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2367 ac_cv_prog_ac_ct_CC="gcc"
2368 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2369 break 2
2371 done
2372 done
2376 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2377 if test -n "$ac_ct_CC"; then
2378 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2379 echo "${ECHO_T}$ac_ct_CC" >&6
2380 else
2381 echo "$as_me:$LINENO: result: no" >&5
2382 echo "${ECHO_T}no" >&6
2385 CC=$ac_ct_CC
2386 else
2387 CC="$ac_cv_prog_CC"
2390 if test -z "$CC"; then
2391 if test -n "$ac_tool_prefix"; then
2392 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2393 set dummy ${ac_tool_prefix}cc; ac_word=$2
2394 echo "$as_me:$LINENO: checking for $ac_word" >&5
2395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2396 if test "${ac_cv_prog_CC+set}" = set; then
2397 echo $ECHO_N "(cached) $ECHO_C" >&6
2398 else
2399 if test -n "$CC"; then
2400 ac_cv_prog_CC="$CC" # Let the user override the test.
2401 else
2402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2403 for as_dir in $PATH
2405 IFS=$as_save_IFS
2406 test -z "$as_dir" && as_dir=.
2407 for ac_exec_ext in '' $ac_executable_extensions; do
2408 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2409 ac_cv_prog_CC="${ac_tool_prefix}cc"
2410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2411 break 2
2413 done
2414 done
2418 CC=$ac_cv_prog_CC
2419 if test -n "$CC"; then
2420 echo "$as_me:$LINENO: result: $CC" >&5
2421 echo "${ECHO_T}$CC" >&6
2422 else
2423 echo "$as_me:$LINENO: result: no" >&5
2424 echo "${ECHO_T}no" >&6
2428 if test -z "$ac_cv_prog_CC"; then
2429 ac_ct_CC=$CC
2430 # Extract the first word of "cc", so it can be a program name with args.
2431 set dummy cc; ac_word=$2
2432 echo "$as_me:$LINENO: checking for $ac_word" >&5
2433 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2434 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2435 echo $ECHO_N "(cached) $ECHO_C" >&6
2436 else
2437 if test -n "$ac_ct_CC"; then
2438 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2439 else
2440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2441 for as_dir in $PATH
2443 IFS=$as_save_IFS
2444 test -z "$as_dir" && as_dir=.
2445 for ac_exec_ext in '' $ac_executable_extensions; do
2446 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2447 ac_cv_prog_ac_ct_CC="cc"
2448 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2449 break 2
2451 done
2452 done
2456 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2457 if test -n "$ac_ct_CC"; then
2458 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2459 echo "${ECHO_T}$ac_ct_CC" >&6
2460 else
2461 echo "$as_me:$LINENO: result: no" >&5
2462 echo "${ECHO_T}no" >&6
2465 CC=$ac_ct_CC
2466 else
2467 CC="$ac_cv_prog_CC"
2471 if test -z "$CC"; then
2472 # Extract the first word of "cc", so it can be a program name with args.
2473 set dummy cc; ac_word=$2
2474 echo "$as_me:$LINENO: checking for $ac_word" >&5
2475 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2476 if test "${ac_cv_prog_CC+set}" = set; then
2477 echo $ECHO_N "(cached) $ECHO_C" >&6
2478 else
2479 if test -n "$CC"; then
2480 ac_cv_prog_CC="$CC" # Let the user override the test.
2481 else
2482 ac_prog_rejected=no
2483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2484 for as_dir in $PATH
2486 IFS=$as_save_IFS
2487 test -z "$as_dir" && as_dir=.
2488 for ac_exec_ext in '' $ac_executable_extensions; do
2489 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2490 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2491 ac_prog_rejected=yes
2492 continue
2494 ac_cv_prog_CC="cc"
2495 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2496 break 2
2498 done
2499 done
2501 if test $ac_prog_rejected = yes; then
2502 # We found a bogon in the path, so make sure we never use it.
2503 set dummy $ac_cv_prog_CC
2504 shift
2505 if test $# != 0; then
2506 # We chose a different compiler from the bogus one.
2507 # However, it has the same basename, so the bogon will be chosen
2508 # first if we set CC to just the basename; use the full file name.
2509 shift
2510 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2515 CC=$ac_cv_prog_CC
2516 if test -n "$CC"; then
2517 echo "$as_me:$LINENO: result: $CC" >&5
2518 echo "${ECHO_T}$CC" >&6
2519 else
2520 echo "$as_me:$LINENO: result: no" >&5
2521 echo "${ECHO_T}no" >&6
2525 if test -z "$CC"; then
2526 if test -n "$ac_tool_prefix"; then
2527 for ac_prog in cl
2529 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2530 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2531 echo "$as_me:$LINENO: checking for $ac_word" >&5
2532 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2533 if test "${ac_cv_prog_CC+set}" = set; then
2534 echo $ECHO_N "(cached) $ECHO_C" >&6
2535 else
2536 if test -n "$CC"; then
2537 ac_cv_prog_CC="$CC" # Let the user override the test.
2538 else
2539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2540 for as_dir in $PATH
2542 IFS=$as_save_IFS
2543 test -z "$as_dir" && as_dir=.
2544 for ac_exec_ext in '' $ac_executable_extensions; do
2545 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2546 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2547 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2548 break 2
2550 done
2551 done
2555 CC=$ac_cv_prog_CC
2556 if test -n "$CC"; then
2557 echo "$as_me:$LINENO: result: $CC" >&5
2558 echo "${ECHO_T}$CC" >&6
2559 else
2560 echo "$as_me:$LINENO: result: no" >&5
2561 echo "${ECHO_T}no" >&6
2564 test -n "$CC" && break
2565 done
2567 if test -z "$CC"; then
2568 ac_ct_CC=$CC
2569 for ac_prog in cl
2571 # Extract the first word of "$ac_prog", so it can be a program name with args.
2572 set dummy $ac_prog; ac_word=$2
2573 echo "$as_me:$LINENO: checking for $ac_word" >&5
2574 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2575 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2576 echo $ECHO_N "(cached) $ECHO_C" >&6
2577 else
2578 if test -n "$ac_ct_CC"; then
2579 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2580 else
2581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2582 for as_dir in $PATH
2584 IFS=$as_save_IFS
2585 test -z "$as_dir" && as_dir=.
2586 for ac_exec_ext in '' $ac_executable_extensions; do
2587 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2588 ac_cv_prog_ac_ct_CC="$ac_prog"
2589 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2590 break 2
2592 done
2593 done
2597 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2598 if test -n "$ac_ct_CC"; then
2599 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2600 echo "${ECHO_T}$ac_ct_CC" >&6
2601 else
2602 echo "$as_me:$LINENO: result: no" >&5
2603 echo "${ECHO_T}no" >&6
2606 test -n "$ac_ct_CC" && break
2607 done
2609 CC=$ac_ct_CC
2615 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2616 See \`config.log' for more details." >&5
2617 echo "$as_me: error: no acceptable C compiler found in \$PATH
2618 See \`config.log' for more details." >&2;}
2619 { (exit 1); exit 1; }; }
2621 # Provide some information about the compiler.
2622 echo "$as_me:$LINENO:" \
2623 "checking for C compiler version" >&5
2624 ac_compiler=`set X $ac_compile; echo $2`
2625 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2626 (eval $ac_compiler --version </dev/null >&5) 2>&5
2627 ac_status=$?
2628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2629 (exit $ac_status); }
2630 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2631 (eval $ac_compiler -v </dev/null >&5) 2>&5
2632 ac_status=$?
2633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2634 (exit $ac_status); }
2635 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2636 (eval $ac_compiler -V </dev/null >&5) 2>&5
2637 ac_status=$?
2638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2639 (exit $ac_status); }
2641 cat >conftest.$ac_ext <<_ACEOF
2642 /* confdefs.h. */
2643 _ACEOF
2644 cat confdefs.h >>conftest.$ac_ext
2645 cat >>conftest.$ac_ext <<_ACEOF
2646 /* end confdefs.h. */
2649 main ()
2653 return 0;
2655 _ACEOF
2656 # FIXME: Cleanup?
2657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2658 (eval $ac_link) 2>&5
2659 ac_status=$?
2660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2661 (exit $ac_status); }; then
2662 gcc_no_link=no
2663 else
2664 gcc_no_link=yes
2667 if test x$gcc_no_link = xyes; then
2668 # Setting cross_compile will disable run tests; it will
2669 # also disable AC_CHECK_FILE but that's generally
2670 # correct if we can't link.
2671 cross_compiling=yes
2672 EXEEXT=
2673 else
2674 cat >conftest.$ac_ext <<_ACEOF
2675 /* confdefs.h. */
2676 _ACEOF
2677 cat confdefs.h >>conftest.$ac_ext
2678 cat >>conftest.$ac_ext <<_ACEOF
2679 /* end confdefs.h. */
2682 main ()
2686 return 0;
2688 _ACEOF
2689 ac_clean_files_save=$ac_clean_files
2690 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2691 # Try to create an executable without -o first, disregard a.out.
2692 # It will help us diagnose broken compilers, and finding out an intuition
2693 # of exeext.
2694 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2695 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2696 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2697 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2698 (eval $ac_link_default) 2>&5
2699 ac_status=$?
2700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2701 (exit $ac_status); }; then
2702 # Find the output, starting from the most likely. This scheme is
2703 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2704 # resort.
2706 # Be careful to initialize this variable, since it used to be cached.
2707 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2708 ac_cv_exeext=
2709 # b.out is created by i960 compilers.
2710 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2712 test -f "$ac_file" || continue
2713 case $ac_file in
2714 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2716 conftest.$ac_ext )
2717 # This is the source file.
2719 [ab].out )
2720 # We found the default executable, but exeext='' is most
2721 # certainly right.
2722 break;;
2723 *.* )
2724 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2725 # FIXME: I believe we export ac_cv_exeext for Libtool,
2726 # but it would be cool to find out if it's true. Does anybody
2727 # maintain Libtool? --akim.
2728 export ac_cv_exeext
2729 break;;
2731 break;;
2732 esac
2733 done
2734 else
2735 echo "$as_me: failed program was:" >&5
2736 sed 's/^/| /' conftest.$ac_ext >&5
2738 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2739 See \`config.log' for more details." >&5
2740 echo "$as_me: error: C compiler cannot create executables
2741 See \`config.log' for more details." >&2;}
2742 { (exit 77); exit 77; }; }
2745 ac_exeext=$ac_cv_exeext
2746 echo "$as_me:$LINENO: result: $ac_file" >&5
2747 echo "${ECHO_T}$ac_file" >&6
2749 # Check the compiler produces executables we can run. If not, either
2750 # the compiler is broken, or we cross compile.
2751 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2752 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2753 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2754 # If not cross compiling, check that we can run a simple program.
2755 if test "$cross_compiling" != yes; then
2756 if { ac_try='./$ac_file'
2757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2758 (eval $ac_try) 2>&5
2759 ac_status=$?
2760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2761 (exit $ac_status); }; }; then
2762 cross_compiling=no
2763 else
2764 if test "$cross_compiling" = maybe; then
2765 cross_compiling=yes
2766 else
2767 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2768 If you meant to cross compile, use \`--host'.
2769 See \`config.log' for more details." >&5
2770 echo "$as_me: error: cannot run C compiled programs.
2771 If you meant to cross compile, use \`--host'.
2772 See \`config.log' for more details." >&2;}
2773 { (exit 1); exit 1; }; }
2777 echo "$as_me:$LINENO: result: yes" >&5
2778 echo "${ECHO_T}yes" >&6
2780 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2781 ac_clean_files=$ac_clean_files_save
2782 # Check the compiler produces executables we can run. If not, either
2783 # the compiler is broken, or we cross compile.
2784 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2785 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2786 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2787 echo "${ECHO_T}$cross_compiling" >&6
2789 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2790 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2792 (eval $ac_link) 2>&5
2793 ac_status=$?
2794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2795 (exit $ac_status); }; then
2796 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2797 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2798 # work properly (i.e., refer to `conftest.exe'), while it won't with
2799 # `rm'.
2800 for ac_file in conftest.exe conftest conftest.*; do
2801 test -f "$ac_file" || continue
2802 case $ac_file in
2803 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2804 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2805 export ac_cv_exeext
2806 break;;
2807 * ) break;;
2808 esac
2809 done
2810 else
2811 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2812 See \`config.log' for more details." >&5
2813 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2814 See \`config.log' for more details." >&2;}
2815 { (exit 1); exit 1; }; }
2818 rm -f conftest$ac_cv_exeext
2819 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2820 echo "${ECHO_T}$ac_cv_exeext" >&6
2822 rm -f conftest.$ac_ext
2823 EXEEXT=$ac_cv_exeext
2824 ac_exeext=$EXEEXT
2826 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2827 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2828 if test "${ac_cv_objext+set}" = set; then
2829 echo $ECHO_N "(cached) $ECHO_C" >&6
2830 else
2831 cat >conftest.$ac_ext <<_ACEOF
2832 /* confdefs.h. */
2833 _ACEOF
2834 cat confdefs.h >>conftest.$ac_ext
2835 cat >>conftest.$ac_ext <<_ACEOF
2836 /* end confdefs.h. */
2839 main ()
2843 return 0;
2845 _ACEOF
2846 rm -f conftest.o conftest.obj
2847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2848 (eval $ac_compile) 2>&5
2849 ac_status=$?
2850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2851 (exit $ac_status); }; then
2852 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2853 case $ac_file in
2854 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2855 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2856 break;;
2857 esac
2858 done
2859 else
2860 echo "$as_me: failed program was:" >&5
2861 sed 's/^/| /' conftest.$ac_ext >&5
2863 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2864 See \`config.log' for more details." >&5
2865 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2866 See \`config.log' for more details." >&2;}
2867 { (exit 1); exit 1; }; }
2870 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2872 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2873 echo "${ECHO_T}$ac_cv_objext" >&6
2874 OBJEXT=$ac_cv_objext
2875 ac_objext=$OBJEXT
2876 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2877 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2878 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2879 echo $ECHO_N "(cached) $ECHO_C" >&6
2880 else
2881 cat >conftest.$ac_ext <<_ACEOF
2882 /* confdefs.h. */
2883 _ACEOF
2884 cat confdefs.h >>conftest.$ac_ext
2885 cat >>conftest.$ac_ext <<_ACEOF
2886 /* end confdefs.h. */
2889 main ()
2891 #ifndef __GNUC__
2892 choke me
2893 #endif
2896 return 0;
2898 _ACEOF
2899 rm -f conftest.$ac_objext
2900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2901 (eval $ac_compile) 2>conftest.er1
2902 ac_status=$?
2903 grep -v '^ *+' conftest.er1 >conftest.err
2904 rm -f conftest.er1
2905 cat conftest.err >&5
2906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2907 (exit $ac_status); } &&
2908 { ac_try='test -z "$ac_c_werror_flag"
2909 || test ! -s conftest.err'
2910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2911 (eval $ac_try) 2>&5
2912 ac_status=$?
2913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2914 (exit $ac_status); }; } &&
2915 { ac_try='test -s conftest.$ac_objext'
2916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2917 (eval $ac_try) 2>&5
2918 ac_status=$?
2919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2920 (exit $ac_status); }; }; then
2921 ac_compiler_gnu=yes
2922 else
2923 echo "$as_me: failed program was:" >&5
2924 sed 's/^/| /' conftest.$ac_ext >&5
2926 ac_compiler_gnu=no
2928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2929 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2932 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2933 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2934 GCC=`test $ac_compiler_gnu = yes && echo yes`
2935 ac_test_CFLAGS=${CFLAGS+set}
2936 ac_save_CFLAGS=$CFLAGS
2937 CFLAGS="-g"
2938 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2939 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2940 if test "${ac_cv_prog_cc_g+set}" = set; then
2941 echo $ECHO_N "(cached) $ECHO_C" >&6
2942 else
2943 cat >conftest.$ac_ext <<_ACEOF
2944 /* confdefs.h. */
2945 _ACEOF
2946 cat confdefs.h >>conftest.$ac_ext
2947 cat >>conftest.$ac_ext <<_ACEOF
2948 /* end confdefs.h. */
2951 main ()
2955 return 0;
2957 _ACEOF
2958 rm -f conftest.$ac_objext
2959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2960 (eval $ac_compile) 2>conftest.er1
2961 ac_status=$?
2962 grep -v '^ *+' conftest.er1 >conftest.err
2963 rm -f conftest.er1
2964 cat conftest.err >&5
2965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2966 (exit $ac_status); } &&
2967 { ac_try='test -z "$ac_c_werror_flag"
2968 || test ! -s conftest.err'
2969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2970 (eval $ac_try) 2>&5
2971 ac_status=$?
2972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2973 (exit $ac_status); }; } &&
2974 { ac_try='test -s conftest.$ac_objext'
2975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2976 (eval $ac_try) 2>&5
2977 ac_status=$?
2978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2979 (exit $ac_status); }; }; then
2980 ac_cv_prog_cc_g=yes
2981 else
2982 echo "$as_me: failed program was:" >&5
2983 sed 's/^/| /' conftest.$ac_ext >&5
2985 ac_cv_prog_cc_g=no
2987 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2989 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2990 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2991 if test "$ac_test_CFLAGS" = set; then
2992 CFLAGS=$ac_save_CFLAGS
2993 elif test $ac_cv_prog_cc_g = yes; then
2994 if test "$GCC" = yes; then
2995 CFLAGS="-g -O2"
2996 else
2997 CFLAGS="-g"
2999 else
3000 if test "$GCC" = yes; then
3001 CFLAGS="-O2"
3002 else
3003 CFLAGS=
3006 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3007 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3008 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3009 echo $ECHO_N "(cached) $ECHO_C" >&6
3010 else
3011 ac_cv_prog_cc_stdc=no
3012 ac_save_CC=$CC
3013 cat >conftest.$ac_ext <<_ACEOF
3014 /* confdefs.h. */
3015 _ACEOF
3016 cat confdefs.h >>conftest.$ac_ext
3017 cat >>conftest.$ac_ext <<_ACEOF
3018 /* end confdefs.h. */
3019 #include <stdarg.h>
3020 #include <stdio.h>
3021 #include <sys/types.h>
3022 #include <sys/stat.h>
3023 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3024 struct buf { int x; };
3025 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3026 static char *e (p, i)
3027 char **p;
3028 int i;
3030 return p[i];
3032 static char *f (char * (*g) (char **, int), char **p, ...)
3034 char *s;
3035 va_list v;
3036 va_start (v,p);
3037 s = g (p, va_arg (v,int));
3038 va_end (v);
3039 return s;
3042 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3043 function prototypes and stuff, but not '\xHH' hex character constants.
3044 These don't provoke an error unfortunately, instead are silently treated
3045 as 'x'. The following induces an error, until -std1 is added to get
3046 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3047 array size at least. It's necessary to write '\x00'==0 to get something
3048 that's true only with -std1. */
3049 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3051 int test (int i, double x);
3052 struct s1 {int (*f) (int a);};
3053 struct s2 {int (*f) (double a);};
3054 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3055 int argc;
3056 char **argv;
3058 main ()
3060 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3062 return 0;
3064 _ACEOF
3065 # Don't try gcc -ansi; that turns off useful extensions and
3066 # breaks some systems' header files.
3067 # AIX -qlanglvl=ansi
3068 # Ultrix and OSF/1 -std1
3069 # HP-UX 10.20 and later -Ae
3070 # HP-UX older versions -Aa -D_HPUX_SOURCE
3071 # SVR4 -Xc -D__EXTENSIONS__
3072 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3074 CC="$ac_save_CC $ac_arg"
3075 rm -f conftest.$ac_objext
3076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3077 (eval $ac_compile) 2>conftest.er1
3078 ac_status=$?
3079 grep -v '^ *+' conftest.er1 >conftest.err
3080 rm -f conftest.er1
3081 cat conftest.err >&5
3082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3083 (exit $ac_status); } &&
3084 { ac_try='test -z "$ac_c_werror_flag"
3085 || test ! -s conftest.err'
3086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3087 (eval $ac_try) 2>&5
3088 ac_status=$?
3089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3090 (exit $ac_status); }; } &&
3091 { ac_try='test -s conftest.$ac_objext'
3092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3093 (eval $ac_try) 2>&5
3094 ac_status=$?
3095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3096 (exit $ac_status); }; }; then
3097 ac_cv_prog_cc_stdc=$ac_arg
3098 break
3099 else
3100 echo "$as_me: failed program was:" >&5
3101 sed 's/^/| /' conftest.$ac_ext >&5
3104 rm -f conftest.err conftest.$ac_objext
3105 done
3106 rm -f conftest.$ac_ext conftest.$ac_objext
3107 CC=$ac_save_CC
3111 case "x$ac_cv_prog_cc_stdc" in
3112 x|xno)
3113 echo "$as_me:$LINENO: result: none needed" >&5
3114 echo "${ECHO_T}none needed" >&6 ;;
3116 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3117 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3118 CC="$CC $ac_cv_prog_cc_stdc" ;;
3119 esac
3121 # Some people use a C++ compiler to compile C. Since we use `exit',
3122 # in C++ we need to declare it. In case someone uses the same compiler
3123 # for both compiling C and C++ we need to have the C++ compiler decide
3124 # the declaration of exit, since it's the most demanding environment.
3125 cat >conftest.$ac_ext <<_ACEOF
3126 #ifndef __cplusplus
3127 choke me
3128 #endif
3129 _ACEOF
3130 rm -f conftest.$ac_objext
3131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3132 (eval $ac_compile) 2>conftest.er1
3133 ac_status=$?
3134 grep -v '^ *+' conftest.er1 >conftest.err
3135 rm -f conftest.er1
3136 cat conftest.err >&5
3137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3138 (exit $ac_status); } &&
3139 { ac_try='test -z "$ac_c_werror_flag"
3140 || test ! -s conftest.err'
3141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3142 (eval $ac_try) 2>&5
3143 ac_status=$?
3144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3145 (exit $ac_status); }; } &&
3146 { ac_try='test -s conftest.$ac_objext'
3147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3148 (eval $ac_try) 2>&5
3149 ac_status=$?
3150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3151 (exit $ac_status); }; }; then
3152 for ac_declaration in \
3153 '' \
3154 'extern "C" void std::exit (int) throw (); using std::exit;' \
3155 'extern "C" void std::exit (int); using std::exit;' \
3156 'extern "C" void exit (int) throw ();' \
3157 'extern "C" void exit (int);' \
3158 'void exit (int);'
3160 cat >conftest.$ac_ext <<_ACEOF
3161 /* confdefs.h. */
3162 _ACEOF
3163 cat confdefs.h >>conftest.$ac_ext
3164 cat >>conftest.$ac_ext <<_ACEOF
3165 /* end confdefs.h. */
3166 $ac_declaration
3167 #include <stdlib.h>
3169 main ()
3171 exit (42);
3173 return 0;
3175 _ACEOF
3176 rm -f conftest.$ac_objext
3177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3178 (eval $ac_compile) 2>conftest.er1
3179 ac_status=$?
3180 grep -v '^ *+' conftest.er1 >conftest.err
3181 rm -f conftest.er1
3182 cat conftest.err >&5
3183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3184 (exit $ac_status); } &&
3185 { ac_try='test -z "$ac_c_werror_flag"
3186 || test ! -s conftest.err'
3187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3188 (eval $ac_try) 2>&5
3189 ac_status=$?
3190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3191 (exit $ac_status); }; } &&
3192 { ac_try='test -s conftest.$ac_objext'
3193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3194 (eval $ac_try) 2>&5
3195 ac_status=$?
3196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3197 (exit $ac_status); }; }; then
3199 else
3200 echo "$as_me: failed program was:" >&5
3201 sed 's/^/| /' conftest.$ac_ext >&5
3203 continue
3205 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3206 cat >conftest.$ac_ext <<_ACEOF
3207 /* confdefs.h. */
3208 _ACEOF
3209 cat confdefs.h >>conftest.$ac_ext
3210 cat >>conftest.$ac_ext <<_ACEOF
3211 /* end confdefs.h. */
3212 $ac_declaration
3214 main ()
3216 exit (42);
3218 return 0;
3220 _ACEOF
3221 rm -f conftest.$ac_objext
3222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3223 (eval $ac_compile) 2>conftest.er1
3224 ac_status=$?
3225 grep -v '^ *+' conftest.er1 >conftest.err
3226 rm -f conftest.er1
3227 cat conftest.err >&5
3228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3229 (exit $ac_status); } &&
3230 { ac_try='test -z "$ac_c_werror_flag"
3231 || test ! -s conftest.err'
3232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3233 (eval $ac_try) 2>&5
3234 ac_status=$?
3235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3236 (exit $ac_status); }; } &&
3237 { ac_try='test -s conftest.$ac_objext'
3238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3239 (eval $ac_try) 2>&5
3240 ac_status=$?
3241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3242 (exit $ac_status); }; }; then
3243 break
3244 else
3245 echo "$as_me: failed program was:" >&5
3246 sed 's/^/| /' conftest.$ac_ext >&5
3249 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3250 done
3251 rm -f conftest*
3252 if test -n "$ac_declaration"; then
3253 echo '#ifdef __cplusplus' >>confdefs.h
3254 echo $ac_declaration >>confdefs.h
3255 echo '#endif' >>confdefs.h
3258 else
3259 echo "$as_me: failed program was:" >&5
3260 sed 's/^/| /' conftest.$ac_ext >&5
3263 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3264 ac_ext=c
3265 ac_cpp='$CPP $CPPFLAGS'
3266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3270 ac_ext=cc
3271 ac_cpp='$CXXCPP $CPPFLAGS'
3272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3275 if test -n "$ac_tool_prefix"; then
3276 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3278 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3279 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3280 echo "$as_me:$LINENO: checking for $ac_word" >&5
3281 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3282 if test "${glibcxx_cv_prog_CXX+set}" = set; then
3283 echo $ECHO_N "(cached) $ECHO_C" >&6
3284 else
3285 if test -n "$CXX"; then
3286 glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
3287 else
3288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3289 for as_dir in $PATH
3291 IFS=$as_save_IFS
3292 test -z "$as_dir" && as_dir=.
3293 for ac_exec_ext in '' $ac_executable_extensions; do
3294 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3295 glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3296 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3297 break 2
3299 done
3300 done
3304 CXX=$glibcxx_cv_prog_CXX
3305 if test -n "$CXX"; then
3306 echo "$as_me:$LINENO: result: $CXX" >&5
3307 echo "${ECHO_T}$CXX" >&6
3308 else
3309 echo "$as_me:$LINENO: result: no" >&5
3310 echo "${ECHO_T}no" >&6
3313 test -n "$CXX" && break
3314 done
3316 if test -z "$CXX"; then
3317 ac_ct_CXX=$CXX
3318 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3320 # Extract the first word of "$ac_prog", so it can be a program name with args.
3321 set dummy $ac_prog; ac_word=$2
3322 echo "$as_me:$LINENO: checking for $ac_word" >&5
3323 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3324 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3325 echo $ECHO_N "(cached) $ECHO_C" >&6
3326 else
3327 if test -n "$ac_ct_CXX"; then
3328 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3329 else
3330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3331 for as_dir in $PATH
3333 IFS=$as_save_IFS
3334 test -z "$as_dir" && as_dir=.
3335 for ac_exec_ext in '' $ac_executable_extensions; do
3336 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3337 ac_cv_prog_ac_ct_CXX="$ac_prog"
3338 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3339 break 2
3341 done
3342 done
3346 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3347 if test -n "$ac_ct_CXX"; then
3348 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3349 echo "${ECHO_T}$ac_ct_CXX" >&6
3350 else
3351 echo "$as_me:$LINENO: result: no" >&5
3352 echo "${ECHO_T}no" >&6
3355 test -n "$ac_ct_CXX" && break
3356 done
3357 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3359 CXX=$ac_ct_CXX
3363 # Provide some information about the compiler.
3364 echo "$as_me:$LINENO:" \
3365 "checking for C++ compiler version" >&5
3366 ac_compiler=`set X $ac_compile; echo $2`
3367 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3368 (eval $ac_compiler --version </dev/null >&5) 2>&5
3369 ac_status=$?
3370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3371 (exit $ac_status); }
3372 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3373 (eval $ac_compiler -v </dev/null >&5) 2>&5
3374 ac_status=$?
3375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3376 (exit $ac_status); }
3377 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3378 (eval $ac_compiler -V </dev/null >&5) 2>&5
3379 ac_status=$?
3380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3381 (exit $ac_status); }
3383 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3384 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3385 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3386 echo $ECHO_N "(cached) $ECHO_C" >&6
3387 else
3388 cat >conftest.$ac_ext <<_ACEOF
3389 /* confdefs.h. */
3390 _ACEOF
3391 cat confdefs.h >>conftest.$ac_ext
3392 cat >>conftest.$ac_ext <<_ACEOF
3393 /* end confdefs.h. */
3396 main ()
3398 #ifndef __GNUC__
3399 choke me
3400 #endif
3403 return 0;
3405 _ACEOF
3406 rm -f conftest.$ac_objext
3407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3408 (eval $ac_compile) 2>conftest.er1
3409 ac_status=$?
3410 grep -v '^ *+' conftest.er1 >conftest.err
3411 rm -f conftest.er1
3412 cat conftest.err >&5
3413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3414 (exit $ac_status); } &&
3415 { ac_try='test -z "$ac_cxx_werror_flag"
3416 || test ! -s conftest.err'
3417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3418 (eval $ac_try) 2>&5
3419 ac_status=$?
3420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3421 (exit $ac_status); }; } &&
3422 { ac_try='test -s conftest.$ac_objext'
3423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3424 (eval $ac_try) 2>&5
3425 ac_status=$?
3426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3427 (exit $ac_status); }; }; then
3428 ac_compiler_gnu=yes
3429 else
3430 echo "$as_me: failed program was:" >&5
3431 sed 's/^/| /' conftest.$ac_ext >&5
3433 ac_compiler_gnu=no
3435 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3436 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3439 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3440 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3441 GXX=`test $ac_compiler_gnu = yes && echo yes`
3442 ac_test_CXXFLAGS=${CXXFLAGS+set}
3443 ac_save_CXXFLAGS=$CXXFLAGS
3444 CXXFLAGS="-g"
3445 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3446 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3447 if test "${ac_cv_prog_cxx_g+set}" = set; then
3448 echo $ECHO_N "(cached) $ECHO_C" >&6
3449 else
3450 cat >conftest.$ac_ext <<_ACEOF
3451 /* confdefs.h. */
3452 _ACEOF
3453 cat confdefs.h >>conftest.$ac_ext
3454 cat >>conftest.$ac_ext <<_ACEOF
3455 /* end confdefs.h. */
3458 main ()
3462 return 0;
3464 _ACEOF
3465 rm -f conftest.$ac_objext
3466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3467 (eval $ac_compile) 2>conftest.er1
3468 ac_status=$?
3469 grep -v '^ *+' conftest.er1 >conftest.err
3470 rm -f conftest.er1
3471 cat conftest.err >&5
3472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3473 (exit $ac_status); } &&
3474 { ac_try='test -z "$ac_cxx_werror_flag"
3475 || test ! -s conftest.err'
3476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3477 (eval $ac_try) 2>&5
3478 ac_status=$?
3479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3480 (exit $ac_status); }; } &&
3481 { ac_try='test -s conftest.$ac_objext'
3482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3483 (eval $ac_try) 2>&5
3484 ac_status=$?
3485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3486 (exit $ac_status); }; }; then
3487 ac_cv_prog_cxx_g=yes
3488 else
3489 echo "$as_me: failed program was:" >&5
3490 sed 's/^/| /' conftest.$ac_ext >&5
3492 ac_cv_prog_cxx_g=no
3494 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3496 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3497 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3498 if test "$ac_test_CXXFLAGS" = set; then
3499 CXXFLAGS=$ac_save_CXXFLAGS
3500 elif test $ac_cv_prog_cxx_g = yes; then
3501 if test "$GXX" = yes; then
3502 CXXFLAGS="-g -O2"
3503 else
3504 CXXFLAGS="-g"
3506 else
3507 if test "$GXX" = yes; then
3508 CXXFLAGS="-O2"
3509 else
3510 CXXFLAGS=
3513 for ac_declaration in \
3514 '' \
3515 'extern "C" void std::exit (int) throw (); using std::exit;' \
3516 'extern "C" void std::exit (int); using std::exit;' \
3517 'extern "C" void exit (int) throw ();' \
3518 'extern "C" void exit (int);' \
3519 'void exit (int);'
3521 cat >conftest.$ac_ext <<_ACEOF
3522 /* confdefs.h. */
3523 _ACEOF
3524 cat confdefs.h >>conftest.$ac_ext
3525 cat >>conftest.$ac_ext <<_ACEOF
3526 /* end confdefs.h. */
3527 $ac_declaration
3528 #include <stdlib.h>
3530 main ()
3532 exit (42);
3534 return 0;
3536 _ACEOF
3537 rm -f conftest.$ac_objext
3538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3539 (eval $ac_compile) 2>conftest.er1
3540 ac_status=$?
3541 grep -v '^ *+' conftest.er1 >conftest.err
3542 rm -f conftest.er1
3543 cat conftest.err >&5
3544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3545 (exit $ac_status); } &&
3546 { ac_try='test -z "$ac_cxx_werror_flag"
3547 || test ! -s conftest.err'
3548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3549 (eval $ac_try) 2>&5
3550 ac_status=$?
3551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3552 (exit $ac_status); }; } &&
3553 { ac_try='test -s conftest.$ac_objext'
3554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3555 (eval $ac_try) 2>&5
3556 ac_status=$?
3557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3558 (exit $ac_status); }; }; then
3560 else
3561 echo "$as_me: failed program was:" >&5
3562 sed 's/^/| /' conftest.$ac_ext >&5
3564 continue
3566 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3567 cat >conftest.$ac_ext <<_ACEOF
3568 /* confdefs.h. */
3569 _ACEOF
3570 cat confdefs.h >>conftest.$ac_ext
3571 cat >>conftest.$ac_ext <<_ACEOF
3572 /* end confdefs.h. */
3573 $ac_declaration
3575 main ()
3577 exit (42);
3579 return 0;
3581 _ACEOF
3582 rm -f conftest.$ac_objext
3583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3584 (eval $ac_compile) 2>conftest.er1
3585 ac_status=$?
3586 grep -v '^ *+' conftest.er1 >conftest.err
3587 rm -f conftest.er1
3588 cat conftest.err >&5
3589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3590 (exit $ac_status); } &&
3591 { ac_try='test -z "$ac_cxx_werror_flag"
3592 || test ! -s conftest.err'
3593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3594 (eval $ac_try) 2>&5
3595 ac_status=$?
3596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3597 (exit $ac_status); }; } &&
3598 { ac_try='test -s conftest.$ac_objext'
3599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3600 (eval $ac_try) 2>&5
3601 ac_status=$?
3602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3603 (exit $ac_status); }; }; then
3604 break
3605 else
3606 echo "$as_me: failed program was:" >&5
3607 sed 's/^/| /' conftest.$ac_ext >&5
3610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3611 done
3612 rm -f conftest*
3613 if test -n "$ac_declaration"; then
3614 echo '#ifdef __cplusplus' >>confdefs.h
3615 echo $ac_declaration >>confdefs.h
3616 echo '#endif' >>confdefs.h
3619 ac_ext=c
3620 ac_cpp='$CPP $CPPFLAGS'
3621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3625 CXXFLAGS="$save_CXXFLAGS"
3630 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3631 # available). Uncomment the next line to force a particular method.
3632 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3633 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3634 LN_S=$as_ln_s
3635 if test "$LN_S" = "ln -s"; then
3636 echo "$as_me:$LINENO: result: yes" >&5
3637 echo "${ECHO_T}yes" >&6
3638 else
3639 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3640 echo "${ECHO_T}no, using $LN_S" >&6
3643 #LN_S='cp -p'
3645 if test -n "$ac_tool_prefix"; then
3646 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3647 set dummy ${ac_tool_prefix}as; ac_word=$2
3648 echo "$as_me:$LINENO: checking for $ac_word" >&5
3649 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3650 if test "${ac_cv_prog_AS+set}" = set; then
3651 echo $ECHO_N "(cached) $ECHO_C" >&6
3652 else
3653 if test -n "$AS"; then
3654 ac_cv_prog_AS="$AS" # Let the user override the test.
3655 else
3656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3657 for as_dir in $PATH
3659 IFS=$as_save_IFS
3660 test -z "$as_dir" && as_dir=.
3661 for ac_exec_ext in '' $ac_executable_extensions; do
3662 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3663 ac_cv_prog_AS="${ac_tool_prefix}as"
3664 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3665 break 2
3667 done
3668 done
3672 AS=$ac_cv_prog_AS
3673 if test -n "$AS"; then
3674 echo "$as_me:$LINENO: result: $AS" >&5
3675 echo "${ECHO_T}$AS" >&6
3676 else
3677 echo "$as_me:$LINENO: result: no" >&5
3678 echo "${ECHO_T}no" >&6
3682 if test -z "$ac_cv_prog_AS"; then
3683 ac_ct_AS=$AS
3684 # Extract the first word of "as", so it can be a program name with args.
3685 set dummy as; ac_word=$2
3686 echo "$as_me:$LINENO: checking for $ac_word" >&5
3687 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3688 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3689 echo $ECHO_N "(cached) $ECHO_C" >&6
3690 else
3691 if test -n "$ac_ct_AS"; then
3692 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3693 else
3694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3695 for as_dir in $PATH
3697 IFS=$as_save_IFS
3698 test -z "$as_dir" && as_dir=.
3699 for ac_exec_ext in '' $ac_executable_extensions; do
3700 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3701 ac_cv_prog_ac_ct_AS="as"
3702 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3703 break 2
3705 done
3706 done
3710 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3711 if test -n "$ac_ct_AS"; then
3712 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3713 echo "${ECHO_T}$ac_ct_AS" >&6
3714 else
3715 echo "$as_me:$LINENO: result: no" >&5
3716 echo "${ECHO_T}no" >&6
3719 AS=$ac_ct_AS
3720 else
3721 AS="$ac_cv_prog_AS"
3724 if test -n "$ac_tool_prefix"; then
3725 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3726 set dummy ${ac_tool_prefix}ar; ac_word=$2
3727 echo "$as_me:$LINENO: checking for $ac_word" >&5
3728 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3729 if test "${ac_cv_prog_AR+set}" = set; then
3730 echo $ECHO_N "(cached) $ECHO_C" >&6
3731 else
3732 if test -n "$AR"; then
3733 ac_cv_prog_AR="$AR" # Let the user override the test.
3734 else
3735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3736 for as_dir in $PATH
3738 IFS=$as_save_IFS
3739 test -z "$as_dir" && as_dir=.
3740 for ac_exec_ext in '' $ac_executable_extensions; do
3741 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3742 ac_cv_prog_AR="${ac_tool_prefix}ar"
3743 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3744 break 2
3746 done
3747 done
3751 AR=$ac_cv_prog_AR
3752 if test -n "$AR"; then
3753 echo "$as_me:$LINENO: result: $AR" >&5
3754 echo "${ECHO_T}$AR" >&6
3755 else
3756 echo "$as_me:$LINENO: result: no" >&5
3757 echo "${ECHO_T}no" >&6
3761 if test -z "$ac_cv_prog_AR"; then
3762 ac_ct_AR=$AR
3763 # Extract the first word of "ar", so it can be a program name with args.
3764 set dummy ar; ac_word=$2
3765 echo "$as_me:$LINENO: checking for $ac_word" >&5
3766 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3767 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3768 echo $ECHO_N "(cached) $ECHO_C" >&6
3769 else
3770 if test -n "$ac_ct_AR"; then
3771 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3772 else
3773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3774 for as_dir in $PATH
3776 IFS=$as_save_IFS
3777 test -z "$as_dir" && as_dir=.
3778 for ac_exec_ext in '' $ac_executable_extensions; do
3779 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3780 ac_cv_prog_ac_ct_AR="ar"
3781 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3782 break 2
3784 done
3785 done
3789 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3790 if test -n "$ac_ct_AR"; then
3791 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3792 echo "${ECHO_T}$ac_ct_AR" >&6
3793 else
3794 echo "$as_me:$LINENO: result: no" >&5
3795 echo "${ECHO_T}no" >&6
3798 AR=$ac_ct_AR
3799 else
3800 AR="$ac_cv_prog_AR"
3803 if test -n "$ac_tool_prefix"; then
3804 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3805 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3806 echo "$as_me:$LINENO: checking for $ac_word" >&5
3807 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3808 if test "${ac_cv_prog_RANLIB+set}" = set; then
3809 echo $ECHO_N "(cached) $ECHO_C" >&6
3810 else
3811 if test -n "$RANLIB"; then
3812 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3813 else
3814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3815 for as_dir in $PATH
3817 IFS=$as_save_IFS
3818 test -z "$as_dir" && as_dir=.
3819 for ac_exec_ext in '' $ac_executable_extensions; do
3820 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3821 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3822 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3823 break 2
3825 done
3826 done
3830 RANLIB=$ac_cv_prog_RANLIB
3831 if test -n "$RANLIB"; then
3832 echo "$as_me:$LINENO: result: $RANLIB" >&5
3833 echo "${ECHO_T}$RANLIB" >&6
3834 else
3835 echo "$as_me:$LINENO: result: no" >&5
3836 echo "${ECHO_T}no" >&6
3840 if test -z "$ac_cv_prog_RANLIB"; then
3841 ac_ct_RANLIB=$RANLIB
3842 # Extract the first word of "ranlib", so it can be a program name with args.
3843 set dummy ranlib; ac_word=$2
3844 echo "$as_me:$LINENO: checking for $ac_word" >&5
3845 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3846 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3847 echo $ECHO_N "(cached) $ECHO_C" >&6
3848 else
3849 if test -n "$ac_ct_RANLIB"; then
3850 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3851 else
3852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3853 for as_dir in $PATH
3855 IFS=$as_save_IFS
3856 test -z "$as_dir" && as_dir=.
3857 for ac_exec_ext in '' $ac_executable_extensions; do
3858 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3859 ac_cv_prog_ac_ct_RANLIB="ranlib"
3860 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3861 break 2
3863 done
3864 done
3866 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3869 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3870 if test -n "$ac_ct_RANLIB"; then
3871 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3872 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3873 else
3874 echo "$as_me:$LINENO: result: no" >&5
3875 echo "${ECHO_T}no" >&6
3878 RANLIB=$ac_ct_RANLIB
3879 else
3880 RANLIB="$ac_cv_prog_RANLIB"
3884 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3885 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3886 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3887 if test "${enable_maintainer_mode+set}" = set; then
3888 enableval="$enable_maintainer_mode"
3889 USE_MAINTAINER_MODE=$enableval
3890 else
3891 USE_MAINTAINER_MODE=no
3893 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3894 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3897 if test $USE_MAINTAINER_MODE = yes; then
3898 MAINTAINER_MODE_TRUE=
3899 MAINTAINER_MODE_FALSE='#'
3900 else
3901 MAINTAINER_MODE_TRUE='#'
3902 MAINTAINER_MODE_FALSE=
3905 MAINT=$MAINTAINER_MODE_TRUE
3909 # Set up safe default values for all subsequent AM_CONDITIONAL tests
3910 # which are themselves conditionally expanded.
3911 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
3912 ## other macros from doing the same. This should be automated.) -pme
3913 need_libmath=no
3915 # Check for uClibc since Linux platforms use different configuration
3916 # directories depending on the C library in use.
3917 cat >conftest.$ac_ext <<_ACEOF
3918 /* confdefs.h. */
3919 _ACEOF
3920 cat confdefs.h >>conftest.$ac_ext
3921 cat >>conftest.$ac_ext <<_ACEOF
3922 /* end confdefs.h. */
3924 #include <stdio.h>
3925 #if __UCLIBC__
3926 _using_uclibc
3927 #endif
3929 _ACEOF
3930 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3931 $EGREP "_using_uclibc" >/dev/null 2>&1; then
3932 uclibc=yes
3933 else
3934 uclibc=no
3936 rm -f conftest*
3939 # Find platform-specific directories containing configuration info.
3940 # Also possibly modify flags used elsewhere, as needed by the platform.
3942 . $glibcxx_srcdir/configure.host
3943 { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
3944 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
3945 { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
3946 echo "$as_me: OS config directory is $os_include_dir" >&6;}
3951 # Check whether --enable-shared or --disable-shared was given.
3952 if test "${enable_shared+set}" = set; then
3953 enableval="$enable_shared"
3954 p=${PACKAGE-default}
3955 case $enableval in
3956 yes) enable_shared=yes ;;
3957 no) enable_shared=no ;;
3959 enable_shared=no
3960 # Look at the argument we got. We use all the common list separators.
3961 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3962 for pkg in $enableval; do
3963 if test "X$pkg" = "X$p"; then
3964 enable_shared=yes
3966 done
3967 IFS="$ac_save_ifs"
3969 esac
3970 else
3971 enable_shared=yes
3973 # Check whether --enable-static or --disable-static was given.
3974 if test "${enable_static+set}" = set; then
3975 enableval="$enable_static"
3976 p=${PACKAGE-default}
3977 case $enableval in
3978 yes) enable_static=yes ;;
3979 no) enable_static=no ;;
3981 enable_static=no
3982 # Look at the argument we got. We use all the common list separators.
3983 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3984 for pkg in $enableval; do
3985 if test "X$pkg" = "X$p"; then
3986 enable_static=yes
3988 done
3989 IFS="$ac_save_ifs"
3991 esac
3992 else
3993 enable_static=yes
3995 # Check whether --enable-fast-install or --disable-fast-install was given.
3996 if test "${enable_fast_install+set}" = set; then
3997 enableval="$enable_fast_install"
3998 p=${PACKAGE-default}
3999 case $enableval in
4000 yes) enable_fast_install=yes ;;
4001 no) enable_fast_install=no ;;
4003 enable_fast_install=no
4004 # Look at the argument we got. We use all the common list separators.
4005 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
4006 for pkg in $enableval; do
4007 if test "X$pkg" = "X$p"; then
4008 enable_fast_install=yes
4010 done
4011 IFS="$ac_save_ifs"
4013 esac
4014 else
4015 enable_fast_install=yes
4018 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4019 if test "${with_gnu_ld+set}" = set; then
4020 withval="$with_gnu_ld"
4021 test "$withval" = no || with_gnu_ld=yes
4022 else
4023 with_gnu_ld=no
4025 ac_prog=ld
4026 if test "$GCC" = yes; then
4027 # Check if gcc -print-prog-name=ld gives a path.
4028 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
4029 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
4030 case $host in
4031 *-*-mingw*)
4032 # gcc leaves a trailing carriage return which upsets mingw
4033 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4035 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4036 esac
4037 case $ac_prog in
4038 # Accept absolute paths.
4039 [\\/]* | [A-Za-z]:[\\/]*)
4040 re_direlt='/[^/][^/]*/\.\./'
4041 # Canonicalize the path of ld
4042 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
4043 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4044 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
4045 done
4046 test -z "$LD" && LD="$ac_prog"
4049 # If it fails, then pretend we aren't using GCC.
4050 ac_prog=ld
4053 # If it is relative, then search for the first ld in PATH.
4054 with_gnu_ld=unknown
4056 esac
4057 elif test "$with_gnu_ld" = yes; then
4058 echo "$as_me:$LINENO: checking for GNU ld" >&5
4059 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4060 else
4061 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4062 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4064 if test "${lt_cv_path_LD+set}" = set; then
4065 echo $ECHO_N "(cached) $ECHO_C" >&6
4066 else
4067 if test -z "$LD"; then
4068 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4069 for ac_dir in $PATH; do
4070 test -z "$ac_dir" && ac_dir=.
4071 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4072 lt_cv_path_LD="$ac_dir/$ac_prog"
4073 # Check to see if the program is GNU ld. I'd rather use --version,
4074 # but apparently some GNU ld's only accept -v.
4075 # Break only if it was the GNU/non-GNU ld that we prefer.
4076 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
4077 test "$with_gnu_ld" != no && break
4078 else
4079 test "$with_gnu_ld" != yes && break
4082 done
4083 IFS="$ac_save_ifs"
4084 else
4085 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4089 LD="$lt_cv_path_LD"
4090 if test -n "$LD"; then
4091 echo "$as_me:$LINENO: result: $LD" >&5
4092 echo "${ECHO_T}$LD" >&6
4093 else
4094 echo "$as_me:$LINENO: result: no" >&5
4095 echo "${ECHO_T}no" >&6
4097 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4098 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4099 { (exit 1); exit 1; }; }
4100 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4101 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4102 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4103 echo $ECHO_N "(cached) $ECHO_C" >&6
4104 else
4105 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4106 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
4107 lt_cv_prog_gnu_ld=yes
4108 else
4109 lt_cv_prog_gnu_ld=no
4112 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4113 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4114 with_gnu_ld=$lt_cv_prog_gnu_ld
4117 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4118 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4119 if test "${lt_cv_ld_reload_flag+set}" = set; then
4120 echo $ECHO_N "(cached) $ECHO_C" >&6
4121 else
4122 lt_cv_ld_reload_flag='-r'
4124 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4125 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4126 reload_flag=$lt_cv_ld_reload_flag
4127 test -n "$reload_flag" && reload_flag=" $reload_flag"
4129 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4130 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4131 if test "${lt_cv_path_NM+set}" = set; then
4132 echo $ECHO_N "(cached) $ECHO_C" >&6
4133 else
4134 if test -n "$NM"; then
4135 # Let the user override the test.
4136 lt_cv_path_NM="$NM"
4137 else
4138 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4139 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
4140 test -z "$ac_dir" && ac_dir=.
4141 tmp_nm=$ac_dir/${ac_tool_prefix}nm
4142 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
4143 # Check to see if the nm accepts a BSD-compat flag.
4144 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4145 # nm: unknown option "B" ignored
4146 # Tru64's nm complains that /dev/null is an invalid object file
4147 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
4148 lt_cv_path_NM="$tmp_nm -B"
4149 break
4150 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
4151 lt_cv_path_NM="$tmp_nm -p"
4152 break
4153 else
4154 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4155 continue # so that we can try to find one that supports BSD flags
4158 done
4159 IFS="$ac_save_ifs"
4160 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4164 NM="$lt_cv_path_NM"
4165 echo "$as_me:$LINENO: result: $NM" >&5
4166 echo "${ECHO_T}$NM" >&6
4168 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
4169 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
4170 if test "${lt_cv_deplibs_check_method+set}" = set; then
4171 echo $ECHO_N "(cached) $ECHO_C" >&6
4172 else
4173 lt_cv_file_magic_cmd='$MAGIC_CMD'
4174 lt_cv_file_magic_test_file=
4175 lt_cv_deplibs_check_method='unknown'
4176 # Need to set the preceding variable on all platforms that support
4177 # interlibrary dependencies.
4178 # 'none' -- dependencies not supported.
4179 # `unknown' -- same as none, but documents that we really don't know.
4180 # 'pass_all' -- all dependencies passed with no checks.
4181 # 'test_compile' -- check by making test program.
4182 # 'file_magic [regex]' -- check by looking for files in library path
4183 # which responds to the $file_magic_cmd with a given egrep regex.
4184 # If you have `file' or equivalent on your system and you're not sure
4185 # whether `pass_all' will *always* work, you probably want this one.
4187 case $host_os in
4188 aix*)
4189 lt_cv_deplibs_check_method=pass_all
4192 beos*)
4193 lt_cv_deplibs_check_method=pass_all
4196 bsdi4*)
4197 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4198 lt_cv_file_magic_cmd='/usr/bin/file -L'
4199 lt_cv_file_magic_test_file=/shlib/libc.so
4202 cygwin* | mingw* |pw32*)
4203 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4204 lt_cv_file_magic_cmd='$OBJDUMP -f'
4207 darwin* | rhapsody*)
4208 # this will be overwritten by pass_all, but leave it in just in case
4209 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
4210 lt_cv_file_magic_cmd='/usr/bin/file -L'
4211 case "$host_os" in
4212 rhapsody* | darwin1.012)
4213 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
4215 *) # Darwin 1.3 on
4216 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
4218 esac
4219 lt_cv_deplibs_check_method=pass_all
4222 freebsd* | kfreebsd*-gnu)
4223 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4224 case $host_cpu in
4225 i*86 )
4226 # Not sure whether the presence of OpenBSD here was a mistake.
4227 # Let's accept both of them until this is cleared up.
4228 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4229 lt_cv_file_magic_cmd=/usr/bin/file
4230 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4232 esac
4233 else
4234 lt_cv_deplibs_check_method=pass_all
4238 gnu*)
4239 lt_cv_deplibs_check_method=pass_all
4242 hpux10.20*|hpux11*)
4243 case $host_cpu in
4244 hppa*)
4245 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4246 lt_cv_file_magic_cmd=/usr/bin/file
4247 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4249 ia64*)
4250 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4251 lt_cv_file_magic_cmd=/usr/bin/file
4252 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4254 esac
4257 irix5* | irix6*)
4258 case $host_os in
4259 irix5*)
4260 # this will be overridden with pass_all, but let us keep it just in case
4261 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
4264 case $LD in
4265 *-32|*"-32 ") libmagic=32-bit;;
4266 *-n32|*"-n32 ") libmagic=N32;;
4267 *-64|*"-64 ") libmagic=64-bit;;
4268 *) libmagic=never-match;;
4269 esac
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 ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
4273 esac
4274 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
4275 lt_cv_deplibs_check_method=pass_all
4278 # This must be Linux ELF.
4279 linux-gnu*)
4280 lt_cv_deplibs_check_method=pass_all
4283 netbsd* | knetbsd*-gnu)
4284 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4285 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
4286 else
4287 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
4291 newsos6)
4292 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4293 lt_cv_file_magic_cmd=/usr/bin/file
4294 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4297 osf3* | osf4* | osf5*)
4298 # this will be overridden with pass_all, but let us keep it just in case
4299 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4300 lt_cv_file_magic_test_file=/shlib/libc.so
4301 lt_cv_deplibs_check_method=pass_all
4304 sco3.2v5*)
4305 lt_cv_deplibs_check_method=pass_all
4308 solaris*)
4309 lt_cv_deplibs_check_method=pass_all
4310 lt_cv_file_magic_test_file=/lib/libc.so
4313 sysv5uw[78]* | sysv4*uw2*)
4314 lt_cv_deplibs_check_method=pass_all
4317 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4318 case $host_vendor in
4319 ncr)
4320 lt_cv_deplibs_check_method=pass_all
4322 motorola)
4323 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]'
4324 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4326 esac
4328 esac
4331 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4332 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4333 file_magic_cmd=$lt_cv_file_magic_cmd
4334 deplibs_check_method=$lt_cv_deplibs_check_method
4339 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
4341 # find the maximum length of command line arguments
4342 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4343 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4344 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4345 echo $ECHO_N "(cached) $ECHO_C" >&6
4346 else
4348 teststring="ABCD"
4350 case $build_os in
4351 msdosdjgpp*)
4352 # On DJGPP, this test can blow up pretty badly due to problems in libc
4353 # (any single argument exceeding 2000 bytes causes a buffer overrun
4354 # during glob expansion). Even if it were fixed, the result of this
4355 # check would be larger than it should be.
4356 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4359 cygwin* | mingw*)
4360 # On Win9x/ME, this test blows up -- it succeeds, but takes
4361 # about 5 minutes as the teststring grows exponentially.
4362 # Worse, since 9x/ME are not pre-emptively multitasking,
4363 # you end up with a "frozen" computer, even though with patience
4364 # the test eventually succeeds (with a max line length of 256k).
4365 # Instead, let's just punt: use the minimum linelength reported by
4366 # all of the supported platforms: 8192 (on NT/2K/XP).
4367 lt_cv_sys_max_cmd_len=8192;
4370 amigaos*)
4371 # On AmigaOS with pdksh, this test takes hours, literally.
4372 # So we just punt and use a minimum line length of 8192.
4373 lt_cv_sys_max_cmd_len=8192;
4376 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4377 # This has been around since 386BSD, at least. Likely further.
4378 if test -x /sbin/sysctl; then
4379 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4380 elif test -x /usr/sbin/sysctl; then
4381 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4382 else
4383 lt_cv_sys_max_cmd_len=65536 # usable default for *BSD
4385 # And add a safety zone
4386 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4387 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4389 esac
4393 if test -n "$lt_cv_sys_max_cmd_len" ; then
4394 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4395 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4396 else
4397 echo "$as_me:$LINENO: result: none" >&5
4398 echo "${ECHO_T}none" >&6
4402 # Only perform the check for file, if the check method requires it
4403 case $deplibs_check_method in
4404 file_magic*)
4405 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4406 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4407 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4408 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4409 echo $ECHO_N "(cached) $ECHO_C" >&6
4410 else
4411 case $MAGIC_CMD in
4413 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4415 ?:/*)
4416 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4419 ac_save_MAGIC_CMD="$MAGIC_CMD"
4420 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4421 ac_dummy="/usr/bin:$PATH"
4422 for ac_dir in $ac_dummy; do
4423 test -z "$ac_dir" && ac_dir=.
4424 if test -f $ac_dir/${ac_tool_prefix}file; then
4425 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
4426 if test -n "$file_magic_test_file"; then
4427 case $deplibs_check_method in
4428 "file_magic "*)
4429 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4430 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4431 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4432 egrep "$file_magic_regex" > /dev/null; then
4434 else
4435 cat <<EOF 1>&2
4437 *** Warning: the command libtool uses to detect shared libraries,
4438 *** $file_magic_cmd, produces output that libtool cannot recognize.
4439 *** The result is that libtool may fail to recognize shared libraries
4440 *** as such. This will affect the creation of libtool libraries that
4441 *** depend on shared libraries, but programs linked with such libtool
4442 *** libraries will work regardless of this problem. Nevertheless, you
4443 *** may want to report the problem to your system manager and/or to
4444 *** bug-libtool@gnu.org
4447 fi ;;
4448 esac
4450 break
4452 done
4453 IFS="$ac_save_ifs"
4454 MAGIC_CMD="$ac_save_MAGIC_CMD"
4456 esac
4459 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4460 if test -n "$MAGIC_CMD"; then
4461 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4462 echo "${ECHO_T}$MAGIC_CMD" >&6
4463 else
4464 echo "$as_me:$LINENO: result: no" >&5
4465 echo "${ECHO_T}no" >&6
4468 if test -z "$lt_cv_path_MAGIC_CMD"; then
4469 if test -n "$ac_tool_prefix"; then
4470 echo "$as_me:$LINENO: checking for file" >&5
4471 echo $ECHO_N "checking for file... $ECHO_C" >&6
4472 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4473 echo $ECHO_N "(cached) $ECHO_C" >&6
4474 else
4475 case $MAGIC_CMD in
4477 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4479 ?:/*)
4480 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4483 ac_save_MAGIC_CMD="$MAGIC_CMD"
4484 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4485 ac_dummy="/usr/bin:$PATH"
4486 for ac_dir in $ac_dummy; do
4487 test -z "$ac_dir" && ac_dir=.
4488 if test -f $ac_dir/file; then
4489 lt_cv_path_MAGIC_CMD="$ac_dir/file"
4490 if test -n "$file_magic_test_file"; then
4491 case $deplibs_check_method in
4492 "file_magic "*)
4493 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4494 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4495 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4496 egrep "$file_magic_regex" > /dev/null; then
4498 else
4499 cat <<EOF 1>&2
4501 *** Warning: the command libtool uses to detect shared libraries,
4502 *** $file_magic_cmd, produces output that libtool cannot recognize.
4503 *** The result is that libtool may fail to recognize shared libraries
4504 *** as such. This will affect the creation of libtool libraries that
4505 *** depend on shared libraries, but programs linked with such libtool
4506 *** libraries will work regardless of this problem. Nevertheless, you
4507 *** may want to report the problem to your system manager and/or to
4508 *** bug-libtool@gnu.org
4511 fi ;;
4512 esac
4514 break
4516 done
4517 IFS="$ac_save_ifs"
4518 MAGIC_CMD="$ac_save_MAGIC_CMD"
4520 esac
4523 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4524 if test -n "$MAGIC_CMD"; then
4525 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4526 echo "${ECHO_T}$MAGIC_CMD" >&6
4527 else
4528 echo "$as_me:$LINENO: result: no" >&5
4529 echo "${ECHO_T}no" >&6
4532 else
4533 MAGIC_CMD=:
4539 esac
4541 if test -n "$ac_tool_prefix"; then
4542 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4543 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4544 echo "$as_me:$LINENO: checking for $ac_word" >&5
4545 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4546 if test "${ac_cv_prog_RANLIB+set}" = set; then
4547 echo $ECHO_N "(cached) $ECHO_C" >&6
4548 else
4549 if test -n "$RANLIB"; then
4550 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4551 else
4552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4553 for as_dir in $PATH
4555 IFS=$as_save_IFS
4556 test -z "$as_dir" && as_dir=.
4557 for ac_exec_ext in '' $ac_executable_extensions; do
4558 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4559 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4560 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4561 break 2
4563 done
4564 done
4568 RANLIB=$ac_cv_prog_RANLIB
4569 if test -n "$RANLIB"; then
4570 echo "$as_me:$LINENO: result: $RANLIB" >&5
4571 echo "${ECHO_T}$RANLIB" >&6
4572 else
4573 echo "$as_me:$LINENO: result: no" >&5
4574 echo "${ECHO_T}no" >&6
4578 if test -z "$ac_cv_prog_RANLIB"; then
4579 ac_ct_RANLIB=$RANLIB
4580 # Extract the first word of "ranlib", so it can be a program name with args.
4581 set dummy ranlib; ac_word=$2
4582 echo "$as_me:$LINENO: checking for $ac_word" >&5
4583 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4584 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4585 echo $ECHO_N "(cached) $ECHO_C" >&6
4586 else
4587 if test -n "$ac_ct_RANLIB"; then
4588 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4589 else
4590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4591 for as_dir in $PATH
4593 IFS=$as_save_IFS
4594 test -z "$as_dir" && as_dir=.
4595 for ac_exec_ext in '' $ac_executable_extensions; do
4596 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4597 ac_cv_prog_ac_ct_RANLIB="ranlib"
4598 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4599 break 2
4601 done
4602 done
4604 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4607 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4608 if test -n "$ac_ct_RANLIB"; then
4609 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4610 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4611 else
4612 echo "$as_me:$LINENO: result: no" >&5
4613 echo "${ECHO_T}no" >&6
4616 RANLIB=$ac_ct_RANLIB
4617 else
4618 RANLIB="$ac_cv_prog_RANLIB"
4621 if test -n "$ac_tool_prefix"; then
4622 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4623 set dummy ${ac_tool_prefix}strip; ac_word=$2
4624 echo "$as_me:$LINENO: checking for $ac_word" >&5
4625 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4626 if test "${ac_cv_prog_STRIP+set}" = set; then
4627 echo $ECHO_N "(cached) $ECHO_C" >&6
4628 else
4629 if test -n "$STRIP"; then
4630 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4631 else
4632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4633 for as_dir in $PATH
4635 IFS=$as_save_IFS
4636 test -z "$as_dir" && as_dir=.
4637 for ac_exec_ext in '' $ac_executable_extensions; do
4638 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4639 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4640 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4641 break 2
4643 done
4644 done
4648 STRIP=$ac_cv_prog_STRIP
4649 if test -n "$STRIP"; then
4650 echo "$as_me:$LINENO: result: $STRIP" >&5
4651 echo "${ECHO_T}$STRIP" >&6
4652 else
4653 echo "$as_me:$LINENO: result: no" >&5
4654 echo "${ECHO_T}no" >&6
4658 if test -z "$ac_cv_prog_STRIP"; then
4659 ac_ct_STRIP=$STRIP
4660 # Extract the first word of "strip", so it can be a program name with args.
4661 set dummy strip; ac_word=$2
4662 echo "$as_me:$LINENO: checking for $ac_word" >&5
4663 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4664 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4665 echo $ECHO_N "(cached) $ECHO_C" >&6
4666 else
4667 if test -n "$ac_ct_STRIP"; then
4668 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4669 else
4670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4671 for as_dir in $PATH
4673 IFS=$as_save_IFS
4674 test -z "$as_dir" && as_dir=.
4675 for ac_exec_ext in '' $ac_executable_extensions; do
4676 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4677 ac_cv_prog_ac_ct_STRIP="strip"
4678 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4679 break 2
4681 done
4682 done
4684 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4687 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4688 if test -n "$ac_ct_STRIP"; then
4689 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4690 echo "${ECHO_T}$ac_ct_STRIP" >&6
4691 else
4692 echo "$as_me:$LINENO: result: no" >&5
4693 echo "${ECHO_T}no" >&6
4696 STRIP=$ac_ct_STRIP
4697 else
4698 STRIP="$ac_cv_prog_STRIP"
4702 # Check for any special flags to pass to ltconfig.
4703 libtool_flags="--cache-file=$cache_file"
4704 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4705 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4706 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4707 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4708 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4711 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4712 if test "${enable_libtool_lock+set}" = set; then
4713 enableval="$enable_libtool_lock"
4716 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4717 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4720 # Check whether --with-pic or --without-pic was given.
4721 if test "${with_pic+set}" = set; then
4722 withval="$with_pic"
4723 pic_mode="$withval"
4724 else
4725 pic_mode=default
4727 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4728 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4730 # Some flags need to be propagated to the compiler or linker for good
4731 # libtool support.
4732 case $host in
4733 *-*-irix6*)
4734 # Find out which ABI we are using.
4735 echo '#line 4735 "configure"' > conftest.$ac_ext
4736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4737 (eval $ac_compile) 2>&5
4738 ac_status=$?
4739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4740 (exit $ac_status); }; then
4741 if test "$lt_cv_prog_gnu_ld" = yes; then
4742 case `/usr/bin/file conftest.$ac_objext` in
4743 *32-bit*)
4744 LD="${LD-ld} -melf32bsmip"
4746 *N32*)
4747 LD="${LD-ld} -melf32bmipn32"
4749 *64-bit*)
4750 LD="${LD-ld} -melf64bmip"
4752 esac
4753 else
4754 case `/usr/bin/file conftest.$ac_objext` in
4755 *32-bit*)
4756 LD="${LD-ld} -32"
4758 *N32*)
4759 LD="${LD-ld} -n32"
4761 *64-bit*)
4762 LD="${LD-ld} -64"
4764 esac
4767 rm -rf conftest*
4770 ia64-*-hpux*)
4771 # Find out which ABI we are using.
4772 echo 'int i;' > conftest.$ac_ext
4773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4774 (eval $ac_compile) 2>&5
4775 ac_status=$?
4776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4777 (exit $ac_status); }; then
4778 case "`/usr/bin/file conftest.o`" in
4779 *ELF-32*)
4780 HPUX_IA64_MODE="32"
4782 *ELF-64*)
4783 HPUX_IA64_MODE="64"
4785 esac
4787 rm -rf conftest*
4790 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4791 # Find out which ABI we are using.
4792 echo 'int i;' > conftest.$ac_ext
4793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4794 (eval $ac_compile) 2>&5
4795 ac_status=$?
4796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4797 (exit $ac_status); }; then
4798 case "`/usr/bin/file conftest.o`" in
4799 *32-bit*)
4800 case $host in
4801 x86_64-*linux*)
4802 LD="${LD-ld} -m elf_i386"
4804 ppc64-*linux*|powerpc64-*linux*)
4805 LD="${LD-ld} -m elf32ppclinux"
4807 s390x-*linux*)
4808 LD="${LD-ld} -m elf_s390"
4810 sparc64-*linux*)
4811 LD="${LD-ld} -m elf32_sparc"
4813 esac
4815 *64-bit*)
4816 case $host in
4817 x86_64-*linux*)
4818 LD="${LD-ld} -m elf_x86_64"
4820 ppc*-*linux*|powerpc*-*linux*)
4821 LD="${LD-ld} -m elf64ppc"
4823 s390*-*linux*)
4824 LD="${LD-ld} -m elf64_s390"
4826 sparc*-*linux*)
4827 LD="${LD-ld} -m elf64_sparc"
4829 esac
4831 esac
4833 rm -rf conftest*
4836 *-*-sco3.2v5*)
4837 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4838 SAVE_CFLAGS="$CFLAGS"
4839 CFLAGS="$CFLAGS -belf"
4840 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4841 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4842 if test "${lt_cv_cc_needs_belf+set}" = set; then
4843 echo $ECHO_N "(cached) $ECHO_C" >&6
4844 else
4847 ac_ext=c
4848 ac_cpp='$CPP $CPPFLAGS'
4849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4853 if test x$gcc_no_link = xyes; then
4854 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4855 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4856 { (exit 1); exit 1; }; }
4858 cat >conftest.$ac_ext <<_ACEOF
4859 /* confdefs.h. */
4860 _ACEOF
4861 cat confdefs.h >>conftest.$ac_ext
4862 cat >>conftest.$ac_ext <<_ACEOF
4863 /* end confdefs.h. */
4866 main ()
4870 return 0;
4872 _ACEOF
4873 rm -f conftest.$ac_objext conftest$ac_exeext
4874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4875 (eval $ac_link) 2>conftest.er1
4876 ac_status=$?
4877 grep -v '^ *+' conftest.er1 >conftest.err
4878 rm -f conftest.er1
4879 cat conftest.err >&5
4880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4881 (exit $ac_status); } &&
4882 { ac_try='test -z "$ac_c_werror_flag"
4883 || test ! -s conftest.err'
4884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4885 (eval $ac_try) 2>&5
4886 ac_status=$?
4887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4888 (exit $ac_status); }; } &&
4889 { ac_try='test -s conftest$ac_exeext'
4890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4891 (eval $ac_try) 2>&5
4892 ac_status=$?
4893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4894 (exit $ac_status); }; }; then
4895 lt_cv_cc_needs_belf=yes
4896 else
4897 echo "$as_me: failed program was:" >&5
4898 sed 's/^/| /' conftest.$ac_ext >&5
4900 lt_cv_cc_needs_belf=no
4902 rm -f conftest.err conftest.$ac_objext \
4903 conftest$ac_exeext conftest.$ac_ext
4904 ac_ext=c
4905 ac_cpp='$CPP $CPPFLAGS'
4906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4911 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4912 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4913 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4914 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4915 CFLAGS="$SAVE_CFLAGS"
4920 esac
4923 # Save cache, so that ltconfig can load it
4924 cat >confcache <<\_ACEOF
4925 # This file is a shell script that caches the results of configure
4926 # tests run on this system so they can be shared between configure
4927 # scripts and configure runs, see configure's option --config-cache.
4928 # It is not useful on other systems. If it contains results you don't
4929 # want to keep, you may remove or edit it.
4931 # config.status only pays attention to the cache file if you give it
4932 # the --recheck option to rerun configure.
4934 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4935 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4936 # following values.
4938 _ACEOF
4940 # The following way of writing the cache mishandles newlines in values,
4941 # but we know of no workaround that is simple, portable, and efficient.
4942 # So, don't put newlines in cache variables' values.
4943 # Ultrix sh set writes to stderr and can't be redirected directly,
4944 # and sets the high bit in the cache file unless we assign to the vars.
4946 (set) 2>&1 |
4947 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4948 *ac_space=\ *)
4949 # `set' does not quote correctly, so add quotes (double-quote
4950 # substitution turns \\\\ into \\, and sed turns \\ into \).
4951 sed -n \
4952 "s/'/'\\\\''/g;
4953 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4956 # `set' quotes correctly as required by POSIX, so do not add quotes.
4957 sed -n \
4958 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4960 esac;
4962 sed '
4963 t clear
4964 : clear
4965 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4966 t end
4967 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4968 : end' >>confcache
4969 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4970 if test -w $cache_file; then
4971 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4972 cat confcache >$cache_file
4973 else
4974 echo "not updating unwritable cache $cache_file"
4977 rm -f confcache
4979 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4980 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4981 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4982 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4983 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4984 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4985 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4986 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4987 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4988 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4989 echo "$as_me: error: libtool configure failed" >&2;}
4990 { (exit 1); exit 1; }; }
4992 # Reload cache, that may have been modified by ltconfig
4993 if test -r "$cache_file"; then
4994 # Some versions of bash will fail to source /dev/null (special
4995 # files actually), so we avoid doing that.
4996 if test -f "$cache_file"; then
4997 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4998 echo "$as_me: loading cache $cache_file" >&6;}
4999 case $cache_file in
5000 [\\/]* | ?:[\\/]* ) . $cache_file;;
5001 *) . ./$cache_file;;
5002 esac
5004 else
5005 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
5006 echo "$as_me: creating cache $cache_file" >&6;}
5007 >$cache_file
5011 # This can be used to rebuild libtool when needed
5012 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
5014 # Always use our own libtool.
5015 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
5017 # Redirect the config.log output again, so that the ltconfig log is not
5018 # clobbered by the next message.
5019 exec 5>>./config.log
5021 ac_ext=cc
5022 ac_cpp='$CXXCPP $CPPFLAGS'
5023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5026 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5027 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
5028 if test -z "$CXXCPP"; then
5029 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5030 echo $ECHO_N "(cached) $ECHO_C" >&6
5031 else
5032 # Double quotes because CXXCPP needs to be expanded
5033 for CXXCPP in "$CXX -E" "/lib/cpp"
5035 ac_preproc_ok=false
5036 for ac_cxx_preproc_warn_flag in '' yes
5038 # Use a header file that comes with gcc, so configuring glibc
5039 # with a fresh cross-compiler works.
5040 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5041 # <limits.h> exists even on freestanding compilers.
5042 # On the NeXT, cc -E runs the code through the compiler's parser,
5043 # not just through cpp. "Syntax error" is here to catch this case.
5044 cat >conftest.$ac_ext <<_ACEOF
5045 /* confdefs.h. */
5046 _ACEOF
5047 cat confdefs.h >>conftest.$ac_ext
5048 cat >>conftest.$ac_ext <<_ACEOF
5049 /* end confdefs.h. */
5050 #ifdef __STDC__
5051 # include <limits.h>
5052 #else
5053 # include <assert.h>
5054 #endif
5055 Syntax error
5056 _ACEOF
5057 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5058 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5059 ac_status=$?
5060 grep -v '^ *+' conftest.er1 >conftest.err
5061 rm -f conftest.er1
5062 cat conftest.err >&5
5063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5064 (exit $ac_status); } >/dev/null; then
5065 if test -s conftest.err; then
5066 ac_cpp_err=$ac_cxx_preproc_warn_flag
5067 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5068 else
5069 ac_cpp_err=
5071 else
5072 ac_cpp_err=yes
5074 if test -z "$ac_cpp_err"; then
5076 else
5077 echo "$as_me: failed program was:" >&5
5078 sed 's/^/| /' conftest.$ac_ext >&5
5080 # Broken: fails on valid input.
5081 continue
5083 rm -f conftest.err conftest.$ac_ext
5085 # OK, works on sane cases. Now check whether non-existent headers
5086 # can be detected and how.
5087 cat >conftest.$ac_ext <<_ACEOF
5088 /* confdefs.h. */
5089 _ACEOF
5090 cat confdefs.h >>conftest.$ac_ext
5091 cat >>conftest.$ac_ext <<_ACEOF
5092 /* end confdefs.h. */
5093 #include <ac_nonexistent.h>
5094 _ACEOF
5095 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5096 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5097 ac_status=$?
5098 grep -v '^ *+' conftest.er1 >conftest.err
5099 rm -f conftest.er1
5100 cat conftest.err >&5
5101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5102 (exit $ac_status); } >/dev/null; then
5103 if test -s conftest.err; then
5104 ac_cpp_err=$ac_cxx_preproc_warn_flag
5105 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5106 else
5107 ac_cpp_err=
5109 else
5110 ac_cpp_err=yes
5112 if test -z "$ac_cpp_err"; then
5113 # Broken: success on invalid input.
5114 continue
5115 else
5116 echo "$as_me: failed program was:" >&5
5117 sed 's/^/| /' conftest.$ac_ext >&5
5119 # Passes both tests.
5120 ac_preproc_ok=:
5121 break
5123 rm -f conftest.err conftest.$ac_ext
5125 done
5126 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5127 rm -f conftest.err conftest.$ac_ext
5128 if $ac_preproc_ok; then
5129 break
5132 done
5133 ac_cv_prog_CXXCPP=$CXXCPP
5136 CXXCPP=$ac_cv_prog_CXXCPP
5137 else
5138 ac_cv_prog_CXXCPP=$CXXCPP
5140 echo "$as_me:$LINENO: result: $CXXCPP" >&5
5141 echo "${ECHO_T}$CXXCPP" >&6
5142 ac_preproc_ok=false
5143 for ac_cxx_preproc_warn_flag in '' yes
5145 # Use a header file that comes with gcc, so configuring glibc
5146 # with a fresh cross-compiler works.
5147 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5148 # <limits.h> exists even on freestanding compilers.
5149 # On the NeXT, cc -E runs the code through the compiler's parser,
5150 # not just through cpp. "Syntax error" is here to catch this case.
5151 cat >conftest.$ac_ext <<_ACEOF
5152 /* confdefs.h. */
5153 _ACEOF
5154 cat confdefs.h >>conftest.$ac_ext
5155 cat >>conftest.$ac_ext <<_ACEOF
5156 /* end confdefs.h. */
5157 #ifdef __STDC__
5158 # include <limits.h>
5159 #else
5160 # include <assert.h>
5161 #endif
5162 Syntax error
5163 _ACEOF
5164 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5165 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5166 ac_status=$?
5167 grep -v '^ *+' conftest.er1 >conftest.err
5168 rm -f conftest.er1
5169 cat conftest.err >&5
5170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5171 (exit $ac_status); } >/dev/null; then
5172 if test -s conftest.err; then
5173 ac_cpp_err=$ac_cxx_preproc_warn_flag
5174 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5175 else
5176 ac_cpp_err=
5178 else
5179 ac_cpp_err=yes
5181 if test -z "$ac_cpp_err"; then
5183 else
5184 echo "$as_me: failed program was:" >&5
5185 sed 's/^/| /' conftest.$ac_ext >&5
5187 # Broken: fails on valid input.
5188 continue
5190 rm -f conftest.err conftest.$ac_ext
5192 # OK, works on sane cases. Now check whether non-existent headers
5193 # can be detected and how.
5194 cat >conftest.$ac_ext <<_ACEOF
5195 /* confdefs.h. */
5196 _ACEOF
5197 cat confdefs.h >>conftest.$ac_ext
5198 cat >>conftest.$ac_ext <<_ACEOF
5199 /* end confdefs.h. */
5200 #include <ac_nonexistent.h>
5201 _ACEOF
5202 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5203 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5204 ac_status=$?
5205 grep -v '^ *+' conftest.er1 >conftest.err
5206 rm -f conftest.er1
5207 cat conftest.err >&5
5208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5209 (exit $ac_status); } >/dev/null; then
5210 if test -s conftest.err; then
5211 ac_cpp_err=$ac_cxx_preproc_warn_flag
5212 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5213 else
5214 ac_cpp_err=
5216 else
5217 ac_cpp_err=yes
5219 if test -z "$ac_cpp_err"; then
5220 # Broken: success on invalid input.
5221 continue
5222 else
5223 echo "$as_me: failed program was:" >&5
5224 sed 's/^/| /' conftest.$ac_ext >&5
5226 # Passes both tests.
5227 ac_preproc_ok=:
5228 break
5230 rm -f conftest.err conftest.$ac_ext
5232 done
5233 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5234 rm -f conftest.err conftest.$ac_ext
5235 if $ac_preproc_ok; then
5237 else
5238 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5239 See \`config.log' for more details." >&5
5240 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5241 See \`config.log' for more details." >&2;}
5242 { (exit 1); exit 1; }; }
5245 ac_ext=c
5246 ac_cpp='$CPP $CPPFLAGS'
5247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5253 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
5254 lt_save_CC="$CC"
5255 lt_save_CFLAGS="$CFLAGS"
5256 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
5257 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
5258 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
5259 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
5260 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
5261 deplibs_check_method="$deplibs_check_method" \
5262 file_magic_cmd="$file_magic_cmd" \
5263 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
5264 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
5265 || { { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
5266 echo "$as_me: error: libtool tag configuration failed" >&2;}
5267 { (exit 1); exit 1; }; }
5268 CC="$lt_save_CC"
5269 CFLAGS="$lt_save_CFLAGS"
5271 # Redirect the config.log output again, so that the ltconfig log is not
5272 # clobbered by the next message.
5273 exec 5>>./config.log
5283 # Possibly disable most of the library.
5284 ## TODO: Consider skipping unncessary tests altogether in this case, rather
5285 ## than just ignoring the results. Faster /and/ more correct, win win.
5287 # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
5288 if test "${enable_hosted_libstdcxx+set}" = set; then
5289 enableval="$enable_hosted_libstdcxx"
5291 else
5292 case "$host" in
5293 arm*-*-symbianelf*)
5294 enable_hosted_libstdcxx=no
5297 enable_hosted_libstdcxx=yes
5299 esac
5301 if test "$enable_hosted_libstdcxx" = no; then
5302 { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
5303 echo "$as_me: Only freestanding libraries will be built" >&6;}
5304 is_hosted=no
5305 hosted_define=0
5306 enable_abi_check=no
5307 enable_libstdcxx_pch=no
5308 else
5309 is_hosted=yes
5310 hosted_define=1
5314 cat >>confdefs.h <<_ACEOF
5315 #define _GLIBCXX_HOSTED $hosted_define
5316 _ACEOF
5320 # Check for compiler support that doesn't require linking.
5322 echo "$as_me:$LINENO: checking for exception model to use" >&5
5323 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
5326 ac_ext=cc
5327 ac_cpp='$CXXCPP $CPPFLAGS'
5328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5332 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
5333 if test "${enable_sjlj_exceptions+set}" = set; then
5334 enableval="$enable_sjlj_exceptions"
5336 case "$enableval" in
5337 yes|no|auto) ;;
5338 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
5339 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
5340 { (exit 1); exit 1; }; } ;;
5341 esac
5343 else
5344 enable_sjlj_exceptions=auto
5348 if test $enable_sjlj_exceptions = auto; then
5349 # Botheration. Now we've got to detect the exception model. Link tests
5350 # against libgcc.a are problematic since we've not been given proper -L
5351 # bits for single-tree newlib and libgloss.
5353 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
5354 cat > conftest.$ac_ext << EOF
5355 #line 5355 "configure"
5356 struct S { ~S(); };
5357 void bar();
5358 void foo()
5360 S s;
5361 bar();
5364 old_CXXFLAGS="$CXXFLAGS"
5365 CXXFLAGS=-S
5366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5367 (eval $ac_compile) 2>&5
5368 ac_status=$?
5369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5370 (exit $ac_status); }; then
5371 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
5372 enable_sjlj_exceptions=yes
5373 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
5374 enable_sjlj_exceptions=no
5375 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
5376 enable_sjlj_exceptions=no
5379 CXXFLAGS="$old_CXXFLAGS"
5380 rm -f conftest*
5383 # This is a tad weird, for hysterical raisins. We have to map
5384 # enable/disable to two different models.
5385 case $enable_sjlj_exceptions in
5386 yes)
5388 cat >>confdefs.h <<\_ACEOF
5389 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
5390 _ACEOF
5392 ac_exception_model_name=sjlj
5395 ac_exception_model_name="call frame"
5398 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
5399 echo "$as_me: error: unable to detect exception model" >&2;}
5400 { (exit 1); exit 1; }; }
5402 esac
5403 ac_ext=c
5404 ac_cpp='$CPP $CPPFLAGS'
5405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5409 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
5410 echo "${ECHO_T}$ac_exception_model_name" >&6
5413 # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
5414 if test "${enable_libstdcxx_pch+set}" = set; then
5415 enableval="$enable_libstdcxx_pch"
5417 case "$enableval" in
5418 yes|no) ;;
5419 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
5420 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
5421 { (exit 1); exit 1; }; } ;;
5422 esac
5424 else
5425 enable_libstdcxx_pch=$is_hosted
5428 if test $enable_libstdcxx_pch = yes; then
5429 echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
5430 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
5431 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
5432 echo $ECHO_N "(cached) $ECHO_C" >&6
5433 else
5434 ac_save_CXXFLAGS="$CXXFLAGS"
5435 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
5438 ac_ext=cc
5439 ac_cpp='$CXXCPP $CPPFLAGS'
5440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5444 echo '#include <math.h>' > conftest.h
5445 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
5446 -o conftest.h.gch 1>&5 2>&1 &&
5447 echo '#error "pch failed"' > conftest.h &&
5448 echo '#include "conftest.h"' > conftest.cc &&
5449 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
5450 then
5451 glibcxx_cv_prog_CXX_pch=yes
5452 else
5453 glibcxx_cv_prog_CXX_pch=no
5455 rm -f conftest*
5456 CXXFLAGS=$ac_save_CXXFLAGS
5457 ac_ext=c
5458 ac_cpp='$CPP $CPPFLAGS'
5459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5465 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
5466 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
5467 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
5470 echo "$as_me:$LINENO: checking for enabled PCH" >&5
5471 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
5472 echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
5473 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
5476 if test $enable_libstdcxx_pch = yes; then
5477 glibcxx_PCHFLAGS="-include bits/stdc++.h"
5478 else
5479 glibcxx_PCHFLAGS=""
5484 # Enable all the variable C++ runtime options.
5486 echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
5487 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
5488 # Check whether --enable-cstdio or --disable-cstdio was given.
5489 if test "${enable_cstdio+set}" = set; then
5490 enableval="$enable_cstdio"
5492 case "$enableval" in
5493 stdio) ;;
5494 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
5495 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
5496 { (exit 1); exit 1; }; } ;;
5497 esac
5499 else
5500 enable_cstdio=stdio
5504 # Now that libio has been removed, you can have any color you want as long
5505 # as it's black. This is one big no-op until other packages are added, but
5506 # showing the framework never hurts.
5507 case ${enable_cstdio} in
5508 stdio)
5509 CSTDIO_H=config/io/c_io_stdio.h
5510 BASIC_FILE_H=config/io/basic_file_stdio.h
5511 BASIC_FILE_CC=config/io/basic_file_stdio.cc
5512 echo "$as_me:$LINENO: result: stdio" >&5
5513 echo "${ECHO_T}stdio" >&6
5515 esac
5521 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5522 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5523 if test "${ac_cv_header_stdc+set}" = set; then
5524 echo $ECHO_N "(cached) $ECHO_C" >&6
5525 else
5526 cat >conftest.$ac_ext <<_ACEOF
5527 /* confdefs.h. */
5528 _ACEOF
5529 cat confdefs.h >>conftest.$ac_ext
5530 cat >>conftest.$ac_ext <<_ACEOF
5531 /* end confdefs.h. */
5532 #include <stdlib.h>
5533 #include <stdarg.h>
5534 #include <string.h>
5535 #include <float.h>
5538 main ()
5542 return 0;
5544 _ACEOF
5545 rm -f conftest.$ac_objext
5546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5547 (eval $ac_compile) 2>conftest.er1
5548 ac_status=$?
5549 grep -v '^ *+' conftest.er1 >conftest.err
5550 rm -f conftest.er1
5551 cat conftest.err >&5
5552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5553 (exit $ac_status); } &&
5554 { ac_try='test -z "$ac_c_werror_flag"
5555 || test ! -s conftest.err'
5556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5557 (eval $ac_try) 2>&5
5558 ac_status=$?
5559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5560 (exit $ac_status); }; } &&
5561 { ac_try='test -s conftest.$ac_objext'
5562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5563 (eval $ac_try) 2>&5
5564 ac_status=$?
5565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5566 (exit $ac_status); }; }; then
5567 ac_cv_header_stdc=yes
5568 else
5569 echo "$as_me: failed program was:" >&5
5570 sed 's/^/| /' conftest.$ac_ext >&5
5572 ac_cv_header_stdc=no
5574 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5576 if test $ac_cv_header_stdc = yes; then
5577 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5578 cat >conftest.$ac_ext <<_ACEOF
5579 /* confdefs.h. */
5580 _ACEOF
5581 cat confdefs.h >>conftest.$ac_ext
5582 cat >>conftest.$ac_ext <<_ACEOF
5583 /* end confdefs.h. */
5584 #include <string.h>
5586 _ACEOF
5587 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5588 $EGREP "memchr" >/dev/null 2>&1; then
5590 else
5591 ac_cv_header_stdc=no
5593 rm -f conftest*
5597 if test $ac_cv_header_stdc = yes; then
5598 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5599 cat >conftest.$ac_ext <<_ACEOF
5600 /* confdefs.h. */
5601 _ACEOF
5602 cat confdefs.h >>conftest.$ac_ext
5603 cat >>conftest.$ac_ext <<_ACEOF
5604 /* end confdefs.h. */
5605 #include <stdlib.h>
5607 _ACEOF
5608 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5609 $EGREP "free" >/dev/null 2>&1; then
5611 else
5612 ac_cv_header_stdc=no
5614 rm -f conftest*
5618 if test $ac_cv_header_stdc = yes; then
5619 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5620 if test "$cross_compiling" = yes; then
5622 else
5623 cat >conftest.$ac_ext <<_ACEOF
5624 /* confdefs.h. */
5625 _ACEOF
5626 cat confdefs.h >>conftest.$ac_ext
5627 cat >>conftest.$ac_ext <<_ACEOF
5628 /* end confdefs.h. */
5629 #include <ctype.h>
5630 #if ((' ' & 0x0FF) == 0x020)
5631 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5632 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5633 #else
5634 # define ISLOWER(c) \
5635 (('a' <= (c) && (c) <= 'i') \
5636 || ('j' <= (c) && (c) <= 'r') \
5637 || ('s' <= (c) && (c) <= 'z'))
5638 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5639 #endif
5641 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5643 main ()
5645 int i;
5646 for (i = 0; i < 256; i++)
5647 if (XOR (islower (i), ISLOWER (i))
5648 || toupper (i) != TOUPPER (i))
5649 exit(2);
5650 exit (0);
5652 _ACEOF
5653 rm -f conftest$ac_exeext
5654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5655 (eval $ac_link) 2>&5
5656 ac_status=$?
5657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5658 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5660 (eval $ac_try) 2>&5
5661 ac_status=$?
5662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5663 (exit $ac_status); }; }; then
5665 else
5666 echo "$as_me: program exited with status $ac_status" >&5
5667 echo "$as_me: failed program was:" >&5
5668 sed 's/^/| /' conftest.$ac_ext >&5
5670 ( exit $ac_status )
5671 ac_cv_header_stdc=no
5673 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5677 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5678 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5679 if test $ac_cv_header_stdc = yes; then
5681 cat >>confdefs.h <<\_ACEOF
5682 #define STDC_HEADERS 1
5683 _ACEOF
5687 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5697 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5698 inttypes.h stdint.h unistd.h
5700 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5701 echo "$as_me:$LINENO: checking for $ac_header" >&5
5702 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5703 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5704 echo $ECHO_N "(cached) $ECHO_C" >&6
5705 else
5706 cat >conftest.$ac_ext <<_ACEOF
5707 /* confdefs.h. */
5708 _ACEOF
5709 cat confdefs.h >>conftest.$ac_ext
5710 cat >>conftest.$ac_ext <<_ACEOF
5711 /* end confdefs.h. */
5712 $ac_includes_default
5714 #include <$ac_header>
5715 _ACEOF
5716 rm -f conftest.$ac_objext
5717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5718 (eval $ac_compile) 2>conftest.er1
5719 ac_status=$?
5720 grep -v '^ *+' conftest.er1 >conftest.err
5721 rm -f conftest.er1
5722 cat conftest.err >&5
5723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5724 (exit $ac_status); } &&
5725 { ac_try='test -z "$ac_c_werror_flag"
5726 || test ! -s conftest.err'
5727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5728 (eval $ac_try) 2>&5
5729 ac_status=$?
5730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5731 (exit $ac_status); }; } &&
5732 { ac_try='test -s conftest.$ac_objext'
5733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5734 (eval $ac_try) 2>&5
5735 ac_status=$?
5736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5737 (exit $ac_status); }; }; then
5738 eval "$as_ac_Header=yes"
5739 else
5740 echo "$as_me: failed program was:" >&5
5741 sed 's/^/| /' conftest.$ac_ext >&5
5743 eval "$as_ac_Header=no"
5745 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5747 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5748 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5749 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5750 cat >>confdefs.h <<_ACEOF
5751 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5752 _ACEOF
5756 done
5760 echo "$as_me:$LINENO: checking for C locale to use" >&5
5761 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
5762 # Check whether --enable-clocale or --disable-clocale was given.
5763 if test "${enable_clocale+set}" = set; then
5764 enableval="$enable_clocale"
5766 case "$enableval" in
5767 generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
5768 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
5769 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
5770 { (exit 1); exit 1; }; } ;;
5771 esac
5773 else
5774 enable_clocale=auto
5778 # If they didn't use this option switch, or if they specified --enable
5779 # with no specific model, we'll have to look for one. If they
5780 # specified --disable (???), do likewise.
5781 if test $enable_clocale = no || test $enable_clocale = yes; then
5782 enable_clocale=auto
5785 # Either a known package, or "auto"
5786 enable_clocale_flag=$enable_clocale
5788 # Probe for locale support if no specific model is specified.
5789 # Default to "generic".
5790 if test $enable_clocale_flag = auto; then
5791 case ${target_os} in
5792 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
5793 cat >conftest.$ac_ext <<_ACEOF
5794 /* confdefs.h. */
5795 _ACEOF
5796 cat confdefs.h >>conftest.$ac_ext
5797 cat >>conftest.$ac_ext <<_ACEOF
5798 /* end confdefs.h. */
5800 #include <features.h>
5801 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
5802 _GLIBCXX_ok
5803 #endif
5805 _ACEOF
5806 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5807 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
5808 enable_clocale_flag=gnu
5809 else
5810 enable_clocale_flag=generic
5812 rm -f conftest*
5815 # Test for bugs early in glibc-2.2.x series
5816 if test $enable_clocale_flag = gnu; then
5817 if test "$cross_compiling" = yes; then
5818 enable_clocale_flag=generic
5819 else
5820 cat >conftest.$ac_ext <<_ACEOF
5821 /* confdefs.h. */
5822 _ACEOF
5823 cat confdefs.h >>conftest.$ac_ext
5824 cat >>conftest.$ac_ext <<_ACEOF
5825 /* end confdefs.h. */
5827 #define _GNU_SOURCE 1
5828 #include <locale.h>
5829 #include <string.h>
5830 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
5831 extern __typeof(newlocale) __newlocale;
5832 extern __typeof(duplocale) __duplocale;
5833 extern __typeof(strcoll_l) __strcoll_l;
5834 #endif
5835 int main()
5837 const char __one[] = "Äuglein Augmen";
5838 const char __two[] = "Äuglein";
5839 int i;
5840 int j;
5841 __locale_t loc;
5842 __locale_t loc_dup;
5843 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
5844 loc_dup = __duplocale(loc);
5845 i = __strcoll_l(__one, __two, loc);
5846 j = __strcoll_l(__one, __two, loc_dup);
5847 return 0;
5850 _ACEOF
5851 rm -f conftest$ac_exeext
5852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5853 (eval $ac_link) 2>&5
5854 ac_status=$?
5855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5856 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5858 (eval $ac_try) 2>&5
5859 ac_status=$?
5860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5861 (exit $ac_status); }; }; then
5862 enable_clocale_flag=gnu
5863 else
5864 echo "$as_me: program exited with status $ac_status" >&5
5865 echo "$as_me: failed program was:" >&5
5866 sed 's/^/| /' conftest.$ac_ext >&5
5868 ( exit $ac_status )
5869 enable_clocale_flag=generic
5871 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5875 # ... at some point put __strxfrm_l tests in as well.
5877 darwin* | freebsd*)
5878 enable_clocale_flag=darwin
5881 enable_clocale_flag=generic
5883 esac
5886 # Deal with gettext issues. Default to not using it (=no) until we detect
5887 # support for it later. Let the user turn it off via --e/d, but let that
5888 # default to on for easier handling.
5889 USE_NLS=no
5890 # Check whether --enable-nls or --disable-nls was given.
5891 if test "${enable_nls+set}" = set; then
5892 enableval="$enable_nls"
5894 else
5895 enable_nls=yes
5898 # Set configure bits for specified locale package
5899 case ${enable_clocale_flag} in
5900 generic)
5901 echo "$as_me:$LINENO: result: generic" >&5
5902 echo "${ECHO_T}generic" >&6
5904 CLOCALE_H=config/locale/generic/c_locale.h
5905 CLOCALE_CC=config/locale/generic/c_locale.cc
5906 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5907 CCOLLATE_CC=config/locale/generic/collate_members.cc
5908 CCTYPE_CC=config/locale/generic/ctype_members.cc
5909 CMESSAGES_H=config/locale/generic/messages_members.h
5910 CMESSAGES_CC=config/locale/generic/messages_members.cc
5911 CMONEY_CC=config/locale/generic/monetary_members.cc
5912 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5913 CTIME_H=config/locale/generic/time_members.h
5914 CTIME_CC=config/locale/generic/time_members.cc
5915 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5917 darwin)
5918 echo "$as_me:$LINENO: result: darwin or freebsd" >&5
5919 echo "${ECHO_T}darwin or freebsd" >&6
5921 CLOCALE_H=config/locale/generic/c_locale.h
5922 CLOCALE_CC=config/locale/generic/c_locale.cc
5923 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5924 CCOLLATE_CC=config/locale/generic/collate_members.cc
5925 CCTYPE_CC=config/locale/darwin/ctype_members.cc
5926 CMESSAGES_H=config/locale/generic/messages_members.h
5927 CMESSAGES_CC=config/locale/generic/messages_members.cc
5928 CMONEY_CC=config/locale/generic/monetary_members.cc
5929 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5930 CTIME_H=config/locale/generic/time_members.h
5931 CTIME_CC=config/locale/generic/time_members.cc
5932 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5935 gnu)
5936 echo "$as_me:$LINENO: result: gnu" >&5
5937 echo "${ECHO_T}gnu" >&6
5939 # Declare intention to use gettext, and add support for specific
5940 # languages.
5941 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
5942 ALL_LINGUAS="de fr"
5944 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
5945 # Extract the first word of "msgfmt", so it can be a program name with args.
5946 set dummy msgfmt; ac_word=$2
5947 echo "$as_me:$LINENO: checking for $ac_word" >&5
5948 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5949 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
5950 echo $ECHO_N "(cached) $ECHO_C" >&6
5951 else
5952 if test -n "$check_msgfmt"; then
5953 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
5954 else
5955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5956 for as_dir in $PATH
5958 IFS=$as_save_IFS
5959 test -z "$as_dir" && as_dir=.
5960 for ac_exec_ext in '' $ac_executable_extensions; do
5961 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5962 ac_cv_prog_check_msgfmt="yes"
5963 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5964 break 2
5966 done
5967 done
5969 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
5972 check_msgfmt=$ac_cv_prog_check_msgfmt
5973 if test -n "$check_msgfmt"; then
5974 echo "$as_me:$LINENO: result: $check_msgfmt" >&5
5975 echo "${ECHO_T}$check_msgfmt" >&6
5976 else
5977 echo "$as_me:$LINENO: result: no" >&5
5978 echo "${ECHO_T}no" >&6
5981 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
5982 USE_NLS=yes
5984 # Export the build objects.
5985 for ling in $ALL_LINGUAS; do \
5986 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
5987 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
5988 done
5992 CLOCALE_H=config/locale/gnu/c_locale.h
5993 CLOCALE_CC=config/locale/gnu/c_locale.cc
5994 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
5995 CCOLLATE_CC=config/locale/gnu/collate_members.cc
5996 CCTYPE_CC=config/locale/gnu/ctype_members.cc
5997 CMESSAGES_H=config/locale/gnu/messages_members.h
5998 CMESSAGES_CC=config/locale/gnu/messages_members.cc
5999 CMONEY_CC=config/locale/gnu/monetary_members.cc
6000 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
6001 CTIME_H=config/locale/gnu/time_members.h
6002 CTIME_CC=config/locale/gnu/time_members.cc
6003 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
6005 ieee_1003.1-2001)
6006 echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
6007 echo "${ECHO_T}IEEE 1003.1" >&6
6009 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
6010 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
6011 CCODECVT_CC=config/locale/generic/codecvt_members.cc
6012 CCOLLATE_CC=config/locale/generic/collate_members.cc
6013 CCTYPE_CC=config/locale/generic/ctype_members.cc
6014 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
6015 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
6016 CMONEY_CC=config/locale/generic/monetary_members.cc
6017 CNUMERIC_CC=config/locale/generic/numeric_members.cc
6018 CTIME_H=config/locale/generic/time_members.h
6019 CTIME_CC=config/locale/generic/time_members.cc
6020 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
6022 esac
6024 # This is where the testsuite looks for locale catalogs, using the
6025 # -DLOCALEDIR define during testsuite compilation.
6026 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
6029 # A standalone libintl (e.g., GNU libintl) may be in use.
6030 if test $USE_NLS = yes; then
6032 for ac_header in libintl.h
6034 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6035 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6036 echo "$as_me:$LINENO: checking for $ac_header" >&5
6037 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6038 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6039 echo $ECHO_N "(cached) $ECHO_C" >&6
6041 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6042 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6043 else
6044 # Is the header compilable?
6045 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6046 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6047 cat >conftest.$ac_ext <<_ACEOF
6048 /* confdefs.h. */
6049 _ACEOF
6050 cat confdefs.h >>conftest.$ac_ext
6051 cat >>conftest.$ac_ext <<_ACEOF
6052 /* end confdefs.h. */
6053 $ac_includes_default
6054 #include <$ac_header>
6055 _ACEOF
6056 rm -f conftest.$ac_objext
6057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6058 (eval $ac_compile) 2>conftest.er1
6059 ac_status=$?
6060 grep -v '^ *+' conftest.er1 >conftest.err
6061 rm -f conftest.er1
6062 cat conftest.err >&5
6063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6064 (exit $ac_status); } &&
6065 { ac_try='test -z "$ac_c_werror_flag"
6066 || test ! -s conftest.err'
6067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6068 (eval $ac_try) 2>&5
6069 ac_status=$?
6070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6071 (exit $ac_status); }; } &&
6072 { ac_try='test -s conftest.$ac_objext'
6073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6074 (eval $ac_try) 2>&5
6075 ac_status=$?
6076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6077 (exit $ac_status); }; }; then
6078 ac_header_compiler=yes
6079 else
6080 echo "$as_me: failed program was:" >&5
6081 sed 's/^/| /' conftest.$ac_ext >&5
6083 ac_header_compiler=no
6085 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6086 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6087 echo "${ECHO_T}$ac_header_compiler" >&6
6089 # Is the header present?
6090 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6091 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6092 cat >conftest.$ac_ext <<_ACEOF
6093 /* confdefs.h. */
6094 _ACEOF
6095 cat confdefs.h >>conftest.$ac_ext
6096 cat >>conftest.$ac_ext <<_ACEOF
6097 /* end confdefs.h. */
6098 #include <$ac_header>
6099 _ACEOF
6100 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6101 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6102 ac_status=$?
6103 grep -v '^ *+' conftest.er1 >conftest.err
6104 rm -f conftest.er1
6105 cat conftest.err >&5
6106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6107 (exit $ac_status); } >/dev/null; then
6108 if test -s conftest.err; then
6109 ac_cpp_err=$ac_c_preproc_warn_flag
6110 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6111 else
6112 ac_cpp_err=
6114 else
6115 ac_cpp_err=yes
6117 if test -z "$ac_cpp_err"; then
6118 ac_header_preproc=yes
6119 else
6120 echo "$as_me: failed program was:" >&5
6121 sed 's/^/| /' conftest.$ac_ext >&5
6123 ac_header_preproc=no
6125 rm -f conftest.err conftest.$ac_ext
6126 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6127 echo "${ECHO_T}$ac_header_preproc" >&6
6129 # So? What about this header?
6130 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6131 yes:no: )
6132 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6133 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6134 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6135 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6136 ac_header_preproc=yes
6138 no:yes:* )
6139 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6140 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6141 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6142 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6143 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6144 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6145 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6146 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6147 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6148 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6149 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6150 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6152 cat <<\_ASBOX
6153 ## ----------------------------------------- ##
6154 ## Report this to the package-unused lists. ##
6155 ## ----------------------------------------- ##
6156 _ASBOX
6158 sed "s/^/$as_me: WARNING: /" >&2
6160 esac
6161 echo "$as_me:$LINENO: checking for $ac_header" >&5
6162 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6163 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6164 echo $ECHO_N "(cached) $ECHO_C" >&6
6165 else
6166 eval "$as_ac_Header=\$ac_header_preproc"
6168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6169 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6172 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6173 cat >>confdefs.h <<_ACEOF
6174 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6175 _ACEOF
6177 else
6178 USE_NLS=no
6181 done
6183 echo "$as_me:$LINENO: checking for library containing gettext" >&5
6184 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
6185 if test "${ac_cv_search_gettext+set}" = set; then
6186 echo $ECHO_N "(cached) $ECHO_C" >&6
6187 else
6188 ac_func_search_save_LIBS=$LIBS
6189 ac_cv_search_gettext=no
6190 if test x$gcc_no_link = xyes; then
6191 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6192 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6193 { (exit 1); exit 1; }; }
6195 cat >conftest.$ac_ext <<_ACEOF
6196 /* confdefs.h. */
6197 _ACEOF
6198 cat confdefs.h >>conftest.$ac_ext
6199 cat >>conftest.$ac_ext <<_ACEOF
6200 /* end confdefs.h. */
6202 /* Override any gcc2 internal prototype to avoid an error. */
6203 #ifdef __cplusplus
6204 extern "C"
6205 #endif
6206 /* We use char because int might match the return type of a gcc2
6207 builtin and then its argument prototype would still apply. */
6208 char gettext ();
6210 main ()
6212 gettext ();
6214 return 0;
6216 _ACEOF
6217 rm -f conftest.$ac_objext conftest$ac_exeext
6218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6219 (eval $ac_link) 2>conftest.er1
6220 ac_status=$?
6221 grep -v '^ *+' conftest.er1 >conftest.err
6222 rm -f conftest.er1
6223 cat conftest.err >&5
6224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6225 (exit $ac_status); } &&
6226 { ac_try='test -z "$ac_c_werror_flag"
6227 || test ! -s conftest.err'
6228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6229 (eval $ac_try) 2>&5
6230 ac_status=$?
6231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6232 (exit $ac_status); }; } &&
6233 { ac_try='test -s conftest$ac_exeext'
6234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6235 (eval $ac_try) 2>&5
6236 ac_status=$?
6237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6238 (exit $ac_status); }; }; then
6239 ac_cv_search_gettext="none required"
6240 else
6241 echo "$as_me: failed program was:" >&5
6242 sed 's/^/| /' conftest.$ac_ext >&5
6245 rm -f conftest.err conftest.$ac_objext \
6246 conftest$ac_exeext conftest.$ac_ext
6247 if test "$ac_cv_search_gettext" = no; then
6248 for ac_lib in intl; do
6249 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6250 if test x$gcc_no_link = xyes; then
6251 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6252 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6253 { (exit 1); exit 1; }; }
6255 cat >conftest.$ac_ext <<_ACEOF
6256 /* confdefs.h. */
6257 _ACEOF
6258 cat confdefs.h >>conftest.$ac_ext
6259 cat >>conftest.$ac_ext <<_ACEOF
6260 /* end confdefs.h. */
6262 /* Override any gcc2 internal prototype to avoid an error. */
6263 #ifdef __cplusplus
6264 extern "C"
6265 #endif
6266 /* We use char because int might match the return type of a gcc2
6267 builtin and then its argument prototype would still apply. */
6268 char gettext ();
6270 main ()
6272 gettext ();
6274 return 0;
6276 _ACEOF
6277 rm -f conftest.$ac_objext conftest$ac_exeext
6278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6279 (eval $ac_link) 2>conftest.er1
6280 ac_status=$?
6281 grep -v '^ *+' conftest.er1 >conftest.err
6282 rm -f conftest.er1
6283 cat conftest.err >&5
6284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6285 (exit $ac_status); } &&
6286 { ac_try='test -z "$ac_c_werror_flag"
6287 || test ! -s conftest.err'
6288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6289 (eval $ac_try) 2>&5
6290 ac_status=$?
6291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6292 (exit $ac_status); }; } &&
6293 { ac_try='test -s conftest$ac_exeext'
6294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6295 (eval $ac_try) 2>&5
6296 ac_status=$?
6297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6298 (exit $ac_status); }; }; then
6299 ac_cv_search_gettext="-l$ac_lib"
6300 break
6301 else
6302 echo "$as_me: failed program was:" >&5
6303 sed 's/^/| /' conftest.$ac_ext >&5
6306 rm -f conftest.err conftest.$ac_objext \
6307 conftest$ac_exeext conftest.$ac_ext
6308 done
6310 LIBS=$ac_func_search_save_LIBS
6312 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
6313 echo "${ECHO_T}$ac_cv_search_gettext" >&6
6314 if test "$ac_cv_search_gettext" != no; then
6315 test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
6317 else
6318 USE_NLS=no
6322 if test $USE_NLS = yes; then
6324 cat >>confdefs.h <<\_ACEOF
6325 #define _GLIBCXX_USE_NLS 1
6326 _ACEOF
6345 echo "$as_me:$LINENO: checking for std::allocator base class" >&5
6346 echo $ECHO_N "checking for std::allocator base class... $ECHO_C" >&6
6347 # Check whether --enable-libstdcxx-allocator or --disable-libstdcxx-allocator was given.
6348 if test "${enable_libstdcxx_allocator+set}" = set; then
6349 enableval="$enable_libstdcxx_allocator"
6351 case "$enableval" in
6352 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
6353 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable libstdcxx-allocator" >&5
6354 echo "$as_me: error: Unknown argument to enable/disable libstdcxx-allocator" >&2;}
6355 { (exit 1); exit 1; }; } ;;
6356 esac
6358 else
6359 enable_libstdcxx_allocator=auto
6363 # If they didn't use this option switch, or if they specified --enable
6364 # with no specific model, we'll have to look for one. If they
6365 # specified --disable (???), do likewise.
6366 if test $enable_libstdcxx_allocator = no ||
6367 test $enable_libstdcxx_allocator = yes;
6368 then
6369 enable_libstdcxx_allocator=auto
6372 # Either a known package, or "auto". Auto implies the default choice
6373 # for a particular platform.
6374 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
6376 # Probe for host-specific support if no specific model is specified.
6377 # Default to "new".
6378 if test $enable_libstdcxx_allocator_flag = auto; then
6379 case ${target_os} in
6380 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
6381 enable_libstdcxx_allocator_flag=new
6384 enable_libstdcxx_allocator_flag=new
6386 esac
6388 echo "$as_me:$LINENO: result: $enable_libstdcxx_allocator_flag" >&5
6389 echo "${ECHO_T}$enable_libstdcxx_allocator_flag" >&6
6392 # Set configure bits for specified locale package
6393 case ${enable_libstdcxx_allocator_flag} in
6394 bitmap)
6395 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
6396 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
6398 malloc)
6399 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
6400 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
6403 ALLOCATOR_H=config/allocator/mt_allocator_base.h
6404 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
6406 new)
6407 ALLOCATOR_H=config/allocator/new_allocator_base.h
6408 ALLOCATOR_NAME=__gnu_cxx::new_allocator
6410 pool)
6411 ALLOCATOR_H=config/allocator/pool_allocator_base.h
6412 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
6414 esac
6420 # Check whether --enable-cheaders or --disable-cheaders was given.
6421 if test "${enable_cheaders+set}" = set; then
6422 enableval="$enable_cheaders"
6424 case "$enableval" in
6425 c|c_std) ;;
6426 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
6427 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
6428 { (exit 1); exit 1; }; } ;;
6429 esac
6431 else
6432 enable_cheaders=$c_model
6435 { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
6436 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
6438 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
6445 # Check whether --enable-long-long or --disable-long-long was given.
6446 if test "${enable_long_long+set}" = set; then
6447 enableval="$enable_long_long"
6449 case "$enableval" in
6450 yes|no) ;;
6451 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
6452 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
6453 { (exit 1); exit 1; }; } ;;
6454 esac
6456 else
6457 enable_long_long=yes
6460 if test $enable_long_long = yes; then
6462 cat >>confdefs.h <<\_ACEOF
6463 #define _GLIBCXX_USE_LONG_LONG 1
6464 _ACEOF
6467 echo "$as_me:$LINENO: checking for enabled long long specializations" >&5
6468 echo $ECHO_N "checking for enabled long long specializations... $ECHO_C" >&6
6469 echo "$as_me:$LINENO: result: $enable_long_long" >&5
6470 echo "${ECHO_T}$enable_long_long" >&6
6474 # Check whether --enable-wchar_t or --disable-wchar_t was given.
6475 if test "${enable_wchar_t+set}" = set; then
6476 enableval="$enable_wchar_t"
6478 case "$enableval" in
6479 yes|no) ;;
6480 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable wchar_t must be yes or no" >&5
6481 echo "$as_me: error: Argument to enable/disable wchar_t must be yes or no" >&2;}
6482 { (exit 1); exit 1; }; } ;;
6483 esac
6485 else
6486 enable_wchar_t=yes
6490 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
6492 for ac_header in wchar.h
6494 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6495 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6496 echo "$as_me:$LINENO: checking for $ac_header" >&5
6497 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6498 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6499 echo $ECHO_N "(cached) $ECHO_C" >&6
6501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6502 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6503 else
6504 # Is the header compilable?
6505 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6506 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6507 cat >conftest.$ac_ext <<_ACEOF
6508 /* confdefs.h. */
6509 _ACEOF
6510 cat confdefs.h >>conftest.$ac_ext
6511 cat >>conftest.$ac_ext <<_ACEOF
6512 /* end confdefs.h. */
6513 $ac_includes_default
6514 #include <$ac_header>
6515 _ACEOF
6516 rm -f conftest.$ac_objext
6517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6518 (eval $ac_compile) 2>conftest.er1
6519 ac_status=$?
6520 grep -v '^ *+' conftest.er1 >conftest.err
6521 rm -f conftest.er1
6522 cat conftest.err >&5
6523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6524 (exit $ac_status); } &&
6525 { ac_try='test -z "$ac_c_werror_flag"
6526 || test ! -s conftest.err'
6527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6528 (eval $ac_try) 2>&5
6529 ac_status=$?
6530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6531 (exit $ac_status); }; } &&
6532 { ac_try='test -s conftest.$ac_objext'
6533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6534 (eval $ac_try) 2>&5
6535 ac_status=$?
6536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6537 (exit $ac_status); }; }; then
6538 ac_header_compiler=yes
6539 else
6540 echo "$as_me: failed program was:" >&5
6541 sed 's/^/| /' conftest.$ac_ext >&5
6543 ac_header_compiler=no
6545 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6546 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6547 echo "${ECHO_T}$ac_header_compiler" >&6
6549 # Is the header present?
6550 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6551 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6552 cat >conftest.$ac_ext <<_ACEOF
6553 /* confdefs.h. */
6554 _ACEOF
6555 cat confdefs.h >>conftest.$ac_ext
6556 cat >>conftest.$ac_ext <<_ACEOF
6557 /* end confdefs.h. */
6558 #include <$ac_header>
6559 _ACEOF
6560 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6561 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6562 ac_status=$?
6563 grep -v '^ *+' conftest.er1 >conftest.err
6564 rm -f conftest.er1
6565 cat conftest.err >&5
6566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6567 (exit $ac_status); } >/dev/null; then
6568 if test -s conftest.err; then
6569 ac_cpp_err=$ac_c_preproc_warn_flag
6570 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6571 else
6572 ac_cpp_err=
6574 else
6575 ac_cpp_err=yes
6577 if test -z "$ac_cpp_err"; then
6578 ac_header_preproc=yes
6579 else
6580 echo "$as_me: failed program was:" >&5
6581 sed 's/^/| /' conftest.$ac_ext >&5
6583 ac_header_preproc=no
6585 rm -f conftest.err conftest.$ac_ext
6586 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6587 echo "${ECHO_T}$ac_header_preproc" >&6
6589 # So? What about this header?
6590 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6591 yes:no: )
6592 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6593 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6594 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6595 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6596 ac_header_preproc=yes
6598 no:yes:* )
6599 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6600 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6601 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6602 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6603 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6604 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6605 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6606 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6607 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6608 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6609 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6610 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6612 cat <<\_ASBOX
6613 ## ----------------------------------------- ##
6614 ## Report this to the package-unused lists. ##
6615 ## ----------------------------------------- ##
6616 _ASBOX
6618 sed "s/^/$as_me: WARNING: /" >&2
6620 esac
6621 echo "$as_me:$LINENO: checking for $ac_header" >&5
6622 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6623 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6624 echo $ECHO_N "(cached) $ECHO_C" >&6
6625 else
6626 eval "$as_ac_Header=\$ac_header_preproc"
6628 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6629 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6632 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6633 cat >>confdefs.h <<_ACEOF
6634 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6635 _ACEOF
6636 ac_has_wchar_h=yes
6637 else
6638 ac_has_wchar_h=no
6641 done
6643 echo "$as_me:$LINENO: checking for mbstate_t" >&5
6644 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
6645 cat >conftest.$ac_ext <<_ACEOF
6646 /* confdefs.h. */
6647 _ACEOF
6648 cat confdefs.h >>conftest.$ac_ext
6649 cat >>conftest.$ac_ext <<_ACEOF
6650 /* end confdefs.h. */
6651 #include <wchar.h>
6653 main ()
6655 mbstate_t teststate;
6657 return 0;
6659 _ACEOF
6660 rm -f conftest.$ac_objext
6661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6662 (eval $ac_compile) 2>conftest.er1
6663 ac_status=$?
6664 grep -v '^ *+' conftest.er1 >conftest.err
6665 rm -f conftest.er1
6666 cat conftest.err >&5
6667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6668 (exit $ac_status); } &&
6669 { ac_try='test -z "$ac_c_werror_flag"
6670 || test ! -s conftest.err'
6671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6672 (eval $ac_try) 2>&5
6673 ac_status=$?
6674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6675 (exit $ac_status); }; } &&
6676 { ac_try='test -s conftest.$ac_objext'
6677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6678 (eval $ac_try) 2>&5
6679 ac_status=$?
6680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6681 (exit $ac_status); }; }; then
6682 have_mbstate_t=yes
6683 else
6684 echo "$as_me: failed program was:" >&5
6685 sed 's/^/| /' conftest.$ac_ext >&5
6687 have_mbstate_t=no
6689 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6690 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
6691 echo "${ECHO_T}$have_mbstate_t" >&6
6692 if test x"$have_mbstate_t" = xyes; then
6694 cat >>confdefs.h <<\_ACEOF
6695 #define HAVE_MBSTATE_T 1
6696 _ACEOF
6700 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
6701 # ac_has_wchar_h.
6703 for ac_header in wctype.h
6705 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6706 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6707 echo "$as_me:$LINENO: checking for $ac_header" >&5
6708 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6709 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6710 echo $ECHO_N "(cached) $ECHO_C" >&6
6712 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6713 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6714 else
6715 # Is the header compilable?
6716 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6717 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6718 cat >conftest.$ac_ext <<_ACEOF
6719 /* confdefs.h. */
6720 _ACEOF
6721 cat confdefs.h >>conftest.$ac_ext
6722 cat >>conftest.$ac_ext <<_ACEOF
6723 /* end confdefs.h. */
6724 $ac_includes_default
6725 #include <$ac_header>
6726 _ACEOF
6727 rm -f conftest.$ac_objext
6728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6729 (eval $ac_compile) 2>conftest.er1
6730 ac_status=$?
6731 grep -v '^ *+' conftest.er1 >conftest.err
6732 rm -f conftest.er1
6733 cat conftest.err >&5
6734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6735 (exit $ac_status); } &&
6736 { ac_try='test -z "$ac_c_werror_flag"
6737 || test ! -s conftest.err'
6738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6739 (eval $ac_try) 2>&5
6740 ac_status=$?
6741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6742 (exit $ac_status); }; } &&
6743 { ac_try='test -s conftest.$ac_objext'
6744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6745 (eval $ac_try) 2>&5
6746 ac_status=$?
6747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6748 (exit $ac_status); }; }; then
6749 ac_header_compiler=yes
6750 else
6751 echo "$as_me: failed program was:" >&5
6752 sed 's/^/| /' conftest.$ac_ext >&5
6754 ac_header_compiler=no
6756 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6757 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6758 echo "${ECHO_T}$ac_header_compiler" >&6
6760 # Is the header present?
6761 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6762 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6763 cat >conftest.$ac_ext <<_ACEOF
6764 /* confdefs.h. */
6765 _ACEOF
6766 cat confdefs.h >>conftest.$ac_ext
6767 cat >>conftest.$ac_ext <<_ACEOF
6768 /* end confdefs.h. */
6769 #include <$ac_header>
6770 _ACEOF
6771 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6772 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6773 ac_status=$?
6774 grep -v '^ *+' conftest.er1 >conftest.err
6775 rm -f conftest.er1
6776 cat conftest.err >&5
6777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6778 (exit $ac_status); } >/dev/null; then
6779 if test -s conftest.err; then
6780 ac_cpp_err=$ac_c_preproc_warn_flag
6781 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6782 else
6783 ac_cpp_err=
6785 else
6786 ac_cpp_err=yes
6788 if test -z "$ac_cpp_err"; then
6789 ac_header_preproc=yes
6790 else
6791 echo "$as_me: failed program was:" >&5
6792 sed 's/^/| /' conftest.$ac_ext >&5
6794 ac_header_preproc=no
6796 rm -f conftest.err conftest.$ac_ext
6797 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6798 echo "${ECHO_T}$ac_header_preproc" >&6
6800 # So? What about this header?
6801 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6802 yes:no: )
6803 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6804 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6805 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6806 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6807 ac_header_preproc=yes
6809 no:yes:* )
6810 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6811 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6812 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6813 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6814 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6815 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6816 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6817 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6818 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6819 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6820 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6821 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6823 cat <<\_ASBOX
6824 ## ----------------------------------------- ##
6825 ## Report this to the package-unused lists. ##
6826 ## ----------------------------------------- ##
6827 _ASBOX
6829 sed "s/^/$as_me: WARNING: /" >&2
6831 esac
6832 echo "$as_me:$LINENO: checking for $ac_header" >&5
6833 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6834 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6835 echo $ECHO_N "(cached) $ECHO_C" >&6
6836 else
6837 eval "$as_ac_Header=\$ac_header_preproc"
6839 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6840 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6843 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6844 cat >>confdefs.h <<_ACEOF
6845 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6846 _ACEOF
6847 ac_has_wctype_h=yes
6848 else
6849 ac_has_wctype_h=no
6852 done
6855 if test x"$enable_wchar_t" = x"yes"; then
6859 ac_ext=cc
6860 ac_cpp='$CXXCPP $CPPFLAGS'
6861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6866 if test x"$ac_has_wchar_h" = xyes &&
6867 test x"$ac_has_wctype_h" = xyes; then
6868 cat >conftest.$ac_ext <<_ACEOF
6869 /* confdefs.h. */
6870 _ACEOF
6871 cat confdefs.h >>conftest.$ac_ext
6872 cat >>conftest.$ac_ext <<_ACEOF
6873 /* end confdefs.h. */
6874 #include <wchar.h>
6875 #include <stddef.h>
6876 wint_t i;
6877 long l = WEOF;
6878 long j = WCHAR_MIN;
6879 long k = WCHAR_MAX;
6880 namespace test
6882 using ::btowc;
6883 using ::fgetwc;
6884 using ::fgetws;
6885 using ::fputwc;
6886 using ::fputws;
6887 using ::fwide;
6888 using ::fwprintf;
6889 using ::fwscanf;
6890 using ::getwc;
6891 using ::getwchar;
6892 using ::mbrlen;
6893 using ::mbrtowc;
6894 using ::mbsinit;
6895 using ::mbsrtowcs;
6896 using ::putwc;
6897 using ::putwchar;
6898 using ::swprintf;
6899 using ::swscanf;
6900 using ::ungetwc;
6901 using ::vfwprintf;
6902 using ::vswprintf;
6903 using ::vwprintf;
6904 using ::wcrtomb;
6905 using ::wcscat;
6906 using ::wcschr;
6907 using ::wcscmp;
6908 using ::wcscoll;
6909 using ::wcscpy;
6910 using ::wcscspn;
6911 using ::wcsftime;
6912 using ::wcslen;
6913 using ::wcsncat;
6914 using ::wcsncmp;
6915 using ::wcsncpy;
6916 using ::wcspbrk;
6917 using ::wcsrchr;
6918 using ::wcsrtombs;
6919 using ::wcsspn;
6920 using ::wcsstr;
6921 using ::wcstod;
6922 using ::wcstok;
6923 using ::wcstol;
6924 using ::wcstoul;
6925 using ::wcsxfrm;
6926 using ::wctob;
6927 using ::wmemchr;
6928 using ::wmemcmp;
6929 using ::wmemcpy;
6930 using ::wmemmove;
6931 using ::wmemset;
6932 using ::wprintf;
6933 using ::wscanf;
6937 main ()
6941 return 0;
6943 _ACEOF
6944 rm -f conftest.$ac_objext
6945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6946 (eval $ac_compile) 2>conftest.er1
6947 ac_status=$?
6948 grep -v '^ *+' conftest.er1 >conftest.err
6949 rm -f conftest.er1
6950 cat conftest.err >&5
6951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6952 (exit $ac_status); } &&
6953 { ac_try='test -z "$ac_cxx_werror_flag"
6954 || test ! -s conftest.err'
6955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6956 (eval $ac_try) 2>&5
6957 ac_status=$?
6958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6959 (exit $ac_status); }; } &&
6960 { ac_try='test -s conftest.$ac_objext'
6961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6962 (eval $ac_try) 2>&5
6963 ac_status=$?
6964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6965 (exit $ac_status); }; }; then
6967 else
6968 echo "$as_me: failed program was:" >&5
6969 sed 's/^/| /' conftest.$ac_ext >&5
6971 enable_wchar_t=no
6973 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6974 else
6975 enable_wchar_t=no
6978 ac_ext=c
6979 ac_cpp='$CPP $CPPFLAGS'
6980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6986 if test x"$enable_wchar_t" = x"yes"; then
6988 cat >>confdefs.h <<\_ACEOF
6989 #define _GLIBCXX_USE_WCHAR_T 1
6990 _ACEOF
6994 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
6995 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
6996 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
6997 echo "${ECHO_T}$enable_wchar_t" >&6
7001 # Check whether --enable-c99 or --disable-c99 was given.
7002 if test "${enable_c99+set}" = set; then
7003 enableval="$enable_c99"
7005 case "$enableval" in
7006 yes|no) ;;
7007 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
7008 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
7009 { (exit 1); exit 1; }; } ;;
7010 esac
7012 else
7013 enable_c99=yes
7017 if test x"$enable_c99" = x"yes"; then
7021 ac_ext=cc
7022 ac_cpp='$CXXCPP $CPPFLAGS'
7023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7028 # Check for the existence of <math.h> functions used if C99 is enabled.
7029 echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
7030 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
7031 if test "${ac_c99_math+set}" = set; then
7032 echo $ECHO_N "(cached) $ECHO_C" >&6
7033 else
7035 cat >conftest.$ac_ext <<_ACEOF
7036 /* confdefs.h. */
7037 _ACEOF
7038 cat confdefs.h >>conftest.$ac_ext
7039 cat >>conftest.$ac_ext <<_ACEOF
7040 /* end confdefs.h. */
7041 #include <math.h>
7043 main ()
7045 fpclassify(0.0);
7046 isfinite(0.0);
7047 isinf(0.0);
7048 isnan(0.0);
7049 isnormal(0.0);
7050 signbit(0.0);
7051 isgreater(0.0,0.0);
7052 isgreaterequal(0.0,0.0);
7053 isless(0.0,0.0);
7054 islessequal(0.0,0.0);
7055 islessgreater(0.0,0.0);
7056 islessgreater(0.0,0.0);
7057 isunordered(0.0,0.0);
7060 return 0;
7062 _ACEOF
7063 rm -f conftest.$ac_objext
7064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7065 (eval $ac_compile) 2>conftest.er1
7066 ac_status=$?
7067 grep -v '^ *+' conftest.er1 >conftest.err
7068 rm -f conftest.er1
7069 cat conftest.err >&5
7070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7071 (exit $ac_status); } &&
7072 { ac_try='test -z "$ac_cxx_werror_flag"
7073 || test ! -s conftest.err'
7074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7075 (eval $ac_try) 2>&5
7076 ac_status=$?
7077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7078 (exit $ac_status); }; } &&
7079 { ac_try='test -s conftest.$ac_objext'
7080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7081 (eval $ac_try) 2>&5
7082 ac_status=$?
7083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7084 (exit $ac_status); }; }; then
7085 ac_c99_math=yes
7086 else
7087 echo "$as_me: failed program was:" >&5
7088 sed 's/^/| /' conftest.$ac_ext >&5
7090 ac_c99_math=no
7092 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7096 echo "$as_me:$LINENO: result: $ac_c99_math" >&5
7097 echo "${ECHO_T}$ac_c99_math" >&6
7098 if test x"$ac_c99_math" = x"yes"; then
7100 cat >>confdefs.h <<\_ACEOF
7101 #define _GLIBCXX_USE_C99_MATH 1
7102 _ACEOF
7106 # Check for the existence of <complex.h> complex math functions.
7107 # This is necessary even though libstdc++ uses the builtin versions
7108 # of these functions, because if the builtin cannot be used, a reference
7109 # to the library function is emitted.
7111 for ac_header in complex.h
7113 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7114 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7115 echo "$as_me:$LINENO: checking for $ac_header" >&5
7116 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7117 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7118 echo $ECHO_N "(cached) $ECHO_C" >&6
7120 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7121 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7122 else
7123 # Is the header compilable?
7124 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7125 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7126 cat >conftest.$ac_ext <<_ACEOF
7127 /* confdefs.h. */
7128 _ACEOF
7129 cat confdefs.h >>conftest.$ac_ext
7130 cat >>conftest.$ac_ext <<_ACEOF
7131 /* end confdefs.h. */
7132 $ac_includes_default
7133 #include <$ac_header>
7134 _ACEOF
7135 rm -f conftest.$ac_objext
7136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7137 (eval $ac_compile) 2>conftest.er1
7138 ac_status=$?
7139 grep -v '^ *+' conftest.er1 >conftest.err
7140 rm -f conftest.er1
7141 cat conftest.err >&5
7142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7143 (exit $ac_status); } &&
7144 { ac_try='test -z "$ac_cxx_werror_flag"
7145 || test ! -s conftest.err'
7146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7147 (eval $ac_try) 2>&5
7148 ac_status=$?
7149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7150 (exit $ac_status); }; } &&
7151 { ac_try='test -s conftest.$ac_objext'
7152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7153 (eval $ac_try) 2>&5
7154 ac_status=$?
7155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7156 (exit $ac_status); }; }; then
7157 ac_header_compiler=yes
7158 else
7159 echo "$as_me: failed program was:" >&5
7160 sed 's/^/| /' conftest.$ac_ext >&5
7162 ac_header_compiler=no
7164 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7165 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7166 echo "${ECHO_T}$ac_header_compiler" >&6
7168 # Is the header present?
7169 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7170 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7171 cat >conftest.$ac_ext <<_ACEOF
7172 /* confdefs.h. */
7173 _ACEOF
7174 cat confdefs.h >>conftest.$ac_ext
7175 cat >>conftest.$ac_ext <<_ACEOF
7176 /* end confdefs.h. */
7177 #include <$ac_header>
7178 _ACEOF
7179 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7180 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7181 ac_status=$?
7182 grep -v '^ *+' conftest.er1 >conftest.err
7183 rm -f conftest.er1
7184 cat conftest.err >&5
7185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7186 (exit $ac_status); } >/dev/null; then
7187 if test -s conftest.err; then
7188 ac_cpp_err=$ac_cxx_preproc_warn_flag
7189 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7190 else
7191 ac_cpp_err=
7193 else
7194 ac_cpp_err=yes
7196 if test -z "$ac_cpp_err"; then
7197 ac_header_preproc=yes
7198 else
7199 echo "$as_me: failed program was:" >&5
7200 sed 's/^/| /' conftest.$ac_ext >&5
7202 ac_header_preproc=no
7204 rm -f conftest.err conftest.$ac_ext
7205 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7206 echo "${ECHO_T}$ac_header_preproc" >&6
7208 # So? What about this header?
7209 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
7210 yes:no: )
7211 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7212 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7213 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7214 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7215 ac_header_preproc=yes
7217 no:yes:* )
7218 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7219 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7220 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7221 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7222 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7223 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7224 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7225 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7226 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7227 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7228 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7229 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7231 cat <<\_ASBOX
7232 ## ----------------------------------------- ##
7233 ## Report this to the package-unused lists. ##
7234 ## ----------------------------------------- ##
7235 _ASBOX
7237 sed "s/^/$as_me: WARNING: /" >&2
7239 esac
7240 echo "$as_me:$LINENO: checking for $ac_header" >&5
7241 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7242 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7243 echo $ECHO_N "(cached) $ECHO_C" >&6
7244 else
7245 eval "$as_ac_Header=\$ac_header_preproc"
7247 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7248 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7251 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7252 cat >>confdefs.h <<_ACEOF
7253 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7254 _ACEOF
7255 ac_has_complex_h=yes
7256 else
7257 ac_has_complex_h=no
7260 done
7262 ac_c99_complex=no;
7263 if test x"$ac_has_complex_h" = x"yes"; then
7264 echo "$as_me:$LINENO: checking for ISO C99 support in <complex.h>" >&5
7265 echo $ECHO_N "checking for ISO C99 support in <complex.h>... $ECHO_C" >&6
7266 cat >conftest.$ac_ext <<_ACEOF
7267 /* confdefs.h. */
7268 _ACEOF
7269 cat confdefs.h >>conftest.$ac_ext
7270 cat >>conftest.$ac_ext <<_ACEOF
7271 /* end confdefs.h. */
7272 #include <complex.h>
7274 main ()
7276 typedef __complex__ float float_type; float_type tmpf;
7277 cabsf(tmpf);
7278 cargf(tmpf);
7279 ccosf(tmpf);
7280 ccoshf(tmpf);
7281 cexpf(tmpf);
7282 clogf(tmpf);
7283 csinf(tmpf);
7284 csinhf(tmpf);
7285 csqrtf(tmpf);
7286 ctanf(tmpf);
7287 ctanhf(tmpf);
7288 cpowf(tmpf, tmpf);
7289 typedef __complex__ double double_type; double_type tmpd;
7290 cabs(tmpd);
7291 carg(tmpd);
7292 ccos(tmpd);
7293 ccosh(tmpd);
7294 cexp(tmpd);
7295 clog(tmpd);
7296 csin(tmpd);
7297 csinh(tmpd);
7298 csqrt(tmpd);
7299 ctan(tmpd);
7300 ctanh(tmpd);
7301 cpow(tmpd, tmpd);
7302 typedef __complex__ long double ld_type; ld_type tmpld;
7303 cabsl(tmpld);
7304 cargl(tmpld);
7305 ccosl(tmpld);
7306 ccoshl(tmpld);
7307 cexpl(tmpld);
7308 clogl(tmpld);
7309 csinl(tmpld);
7310 csinhl(tmpld);
7311 csqrtl(tmpld);
7312 ctanl(tmpld);
7313 ctanhl(tmpld);
7314 cpowl(tmpld, tmpld);
7317 return 0;
7319 _ACEOF
7320 rm -f conftest.$ac_objext
7321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7322 (eval $ac_compile) 2>conftest.er1
7323 ac_status=$?
7324 grep -v '^ *+' conftest.er1 >conftest.err
7325 rm -f conftest.er1
7326 cat conftest.err >&5
7327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7328 (exit $ac_status); } &&
7329 { ac_try='test -z "$ac_cxx_werror_flag"
7330 || test ! -s conftest.err'
7331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7332 (eval $ac_try) 2>&5
7333 ac_status=$?
7334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7335 (exit $ac_status); }; } &&
7336 { ac_try='test -s conftest.$ac_objext'
7337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7338 (eval $ac_try) 2>&5
7339 ac_status=$?
7340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7341 (exit $ac_status); }; }; then
7342 ac_c99_complex=yes
7343 else
7344 echo "$as_me: failed program was:" >&5
7345 sed 's/^/| /' conftest.$ac_ext >&5
7347 ac_c99_complex=no
7349 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7351 echo "$as_me:$LINENO: result: $ac_c99_complex" >&5
7352 echo "${ECHO_T}$ac_c99_complex" >&6
7353 if test x"$ac_c99_complex" = x"yes"; then
7355 cat >>confdefs.h <<\_ACEOF
7356 #define _GLIBCXX_USE_C99_COMPLEX 1
7357 _ACEOF
7361 # Check for the existence in <stdio.h> of vscanf, et. al.
7362 echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
7363 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
7364 if test "${ac_c99_stdio+set}" = set; then
7365 echo $ECHO_N "(cached) $ECHO_C" >&6
7366 else
7368 cat >conftest.$ac_ext <<_ACEOF
7369 /* confdefs.h. */
7370 _ACEOF
7371 cat confdefs.h >>conftest.$ac_ext
7372 cat >>conftest.$ac_ext <<_ACEOF
7373 /* end confdefs.h. */
7374 #include <stdio.h>
7375 #include <stdarg.h>
7376 void foo(char* fmt, ...)
7378 va_list args; va_start(args, fmt);
7379 vfscanf(stderr, "%i", args);
7380 vscanf("%i", args);
7381 vsnprintf(fmt, 0, "%i", args);
7382 vsscanf(fmt, "%i", args);
7385 main ()
7387 snprintf("12", 0, "%i");
7389 return 0;
7391 _ACEOF
7392 rm -f conftest.$ac_objext
7393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7394 (eval $ac_compile) 2>conftest.er1
7395 ac_status=$?
7396 grep -v '^ *+' conftest.er1 >conftest.err
7397 rm -f conftest.er1
7398 cat conftest.err >&5
7399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7400 (exit $ac_status); } &&
7401 { ac_try='test -z "$ac_cxx_werror_flag"
7402 || test ! -s conftest.err'
7403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7404 (eval $ac_try) 2>&5
7405 ac_status=$?
7406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7407 (exit $ac_status); }; } &&
7408 { ac_try='test -s conftest.$ac_objext'
7409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7410 (eval $ac_try) 2>&5
7411 ac_status=$?
7412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7413 (exit $ac_status); }; }; then
7414 ac_c99_stdio=yes
7415 else
7416 echo "$as_me: failed program was:" >&5
7417 sed 's/^/| /' conftest.$ac_ext >&5
7419 ac_c99_stdio=no
7421 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7425 echo "$as_me:$LINENO: result: $ac_c99_stdio" >&5
7426 echo "${ECHO_T}$ac_c99_stdio" >&6
7428 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
7429 echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
7430 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
7431 if test "${ac_c99_stdlib+set}" = set; then
7432 echo $ECHO_N "(cached) $ECHO_C" >&6
7433 else
7435 cat >conftest.$ac_ext <<_ACEOF
7436 /* confdefs.h. */
7437 _ACEOF
7438 cat confdefs.h >>conftest.$ac_ext
7439 cat >>conftest.$ac_ext <<_ACEOF
7440 /* end confdefs.h. */
7441 #include <stdlib.h>
7443 main ()
7445 char* tmp;
7446 strtof("gnu", &tmp);
7447 strtold("gnu", &tmp);
7448 strtoll("gnu", &tmp, 10);
7449 strtoull("gnu", &tmp, 10);
7450 llabs(10);
7451 lldiv(10,1);
7452 atoll("10");
7453 _Exit(0);
7454 lldiv_t mydivt;
7456 return 0;
7458 _ACEOF
7459 rm -f conftest.$ac_objext
7460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7461 (eval $ac_compile) 2>conftest.er1
7462 ac_status=$?
7463 grep -v '^ *+' conftest.er1 >conftest.err
7464 rm -f conftest.er1
7465 cat conftest.err >&5
7466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7467 (exit $ac_status); } &&
7468 { ac_try='test -z "$ac_cxx_werror_flag"
7469 || test ! -s conftest.err'
7470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7471 (eval $ac_try) 2>&5
7472 ac_status=$?
7473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7474 (exit $ac_status); }; } &&
7475 { ac_try='test -s conftest.$ac_objext'
7476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7477 (eval $ac_try) 2>&5
7478 ac_status=$?
7479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7480 (exit $ac_status); }; }; then
7481 ac_c99_stdlib=yes
7482 else
7483 echo "$as_me: failed program was:" >&5
7484 sed 's/^/| /' conftest.$ac_ext >&5
7486 ac_c99_stdlib=no
7488 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7492 echo "$as_me:$LINENO: result: $ac_c99_stdlib" >&5
7493 echo "${ECHO_T}$ac_c99_stdlib" >&6
7495 # Check for the existence in <wchar.h> of wcstold, etc.
7496 ac_c99_wchar=no;
7497 if test x"$ac_has_wchar_h" = xyes &&
7498 test x"$ac_has_wctype_h" = xyes; then
7499 echo "$as_me:$LINENO: checking for ISO C99 support in <wchar.h>" >&5
7500 echo $ECHO_N "checking for ISO C99 support in <wchar.h>... $ECHO_C" >&6
7501 cat >conftest.$ac_ext <<_ACEOF
7502 /* confdefs.h. */
7503 _ACEOF
7504 cat confdefs.h >>conftest.$ac_ext
7505 cat >>conftest.$ac_ext <<_ACEOF
7506 /* end confdefs.h. */
7507 #include <wchar.h>
7508 namespace test
7510 using ::wcstold;
7511 using ::wcstoll;
7512 using ::wcstoull;
7516 main ()
7520 return 0;
7522 _ACEOF
7523 rm -f conftest.$ac_objext
7524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7525 (eval $ac_compile) 2>conftest.er1
7526 ac_status=$?
7527 grep -v '^ *+' conftest.er1 >conftest.err
7528 rm -f conftest.er1
7529 cat conftest.err >&5
7530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7531 (exit $ac_status); } &&
7532 { ac_try='test -z "$ac_cxx_werror_flag"
7533 || test ! -s conftest.err'
7534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7535 (eval $ac_try) 2>&5
7536 ac_status=$?
7537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7538 (exit $ac_status); }; } &&
7539 { ac_try='test -s conftest.$ac_objext'
7540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7541 (eval $ac_try) 2>&5
7542 ac_status=$?
7543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7544 (exit $ac_status); }; }; then
7545 ac_c99_wchar=yes
7546 else
7547 echo "$as_me: failed program was:" >&5
7548 sed 's/^/| /' conftest.$ac_ext >&5
7550 ac_c99_wchar=no
7552 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7554 # Checks for wide character functions that may not be present.
7555 # Injection of these is wrapped with guard macros.
7556 # NB: only put functions here, instead of immediately above, if
7557 # absolutely necessary.
7558 cat >conftest.$ac_ext <<_ACEOF
7559 /* confdefs.h. */
7560 _ACEOF
7561 cat confdefs.h >>conftest.$ac_ext
7562 cat >>conftest.$ac_ext <<_ACEOF
7563 /* end confdefs.h. */
7564 #include <wchar.h>
7565 namespace test { using ::vfwscanf; }
7567 main ()
7571 return 0;
7573 _ACEOF
7574 rm -f conftest.$ac_objext
7575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7576 (eval $ac_compile) 2>conftest.er1
7577 ac_status=$?
7578 grep -v '^ *+' conftest.er1 >conftest.err
7579 rm -f conftest.er1
7580 cat conftest.err >&5
7581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7582 (exit $ac_status); } &&
7583 { ac_try='test -z "$ac_cxx_werror_flag"
7584 || test ! -s conftest.err'
7585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7586 (eval $ac_try) 2>&5
7587 ac_status=$?
7588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7589 (exit $ac_status); }; } &&
7590 { ac_try='test -s conftest.$ac_objext'
7591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7592 (eval $ac_try) 2>&5
7593 ac_status=$?
7594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7595 (exit $ac_status); }; }; then
7597 cat >>confdefs.h <<\_ACEOF
7598 #define HAVE_VFWSCANF 1
7599 _ACEOF
7601 else
7602 echo "$as_me: failed program was:" >&5
7603 sed 's/^/| /' conftest.$ac_ext >&5
7606 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
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 <wchar.h>
7615 namespace test { using ::vswscanf; }
7617 main ()
7621 return 0;
7623 _ACEOF
7624 rm -f conftest.$ac_objext
7625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7626 (eval $ac_compile) 2>conftest.er1
7627 ac_status=$?
7628 grep -v '^ *+' conftest.er1 >conftest.err
7629 rm -f conftest.er1
7630 cat conftest.err >&5
7631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7632 (exit $ac_status); } &&
7633 { ac_try='test -z "$ac_cxx_werror_flag"
7634 || test ! -s conftest.err'
7635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7636 (eval $ac_try) 2>&5
7637 ac_status=$?
7638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7639 (exit $ac_status); }; } &&
7640 { ac_try='test -s conftest.$ac_objext'
7641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7642 (eval $ac_try) 2>&5
7643 ac_status=$?
7644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7645 (exit $ac_status); }; }; then
7647 cat >>confdefs.h <<\_ACEOF
7648 #define HAVE_VSWSCANF 1
7649 _ACEOF
7651 else
7652 echo "$as_me: failed program was:" >&5
7653 sed 's/^/| /' conftest.$ac_ext >&5
7656 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7658 cat >conftest.$ac_ext <<_ACEOF
7659 /* confdefs.h. */
7660 _ACEOF
7661 cat confdefs.h >>conftest.$ac_ext
7662 cat >>conftest.$ac_ext <<_ACEOF
7663 /* end confdefs.h. */
7664 #include <wchar.h>
7665 namespace test { using ::vwscanf; }
7667 main ()
7671 return 0;
7673 _ACEOF
7674 rm -f conftest.$ac_objext
7675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7676 (eval $ac_compile) 2>conftest.er1
7677 ac_status=$?
7678 grep -v '^ *+' conftest.er1 >conftest.err
7679 rm -f conftest.er1
7680 cat conftest.err >&5
7681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7682 (exit $ac_status); } &&
7683 { ac_try='test -z "$ac_cxx_werror_flag"
7684 || test ! -s conftest.err'
7685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7686 (eval $ac_try) 2>&5
7687 ac_status=$?
7688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7689 (exit $ac_status); }; } &&
7690 { ac_try='test -s conftest.$ac_objext'
7691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7692 (eval $ac_try) 2>&5
7693 ac_status=$?
7694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7695 (exit $ac_status); }; }; then
7697 cat >>confdefs.h <<\_ACEOF
7698 #define HAVE_VWSCANF 1
7699 _ACEOF
7701 else
7702 echo "$as_me: failed program was:" >&5
7703 sed 's/^/| /' conftest.$ac_ext >&5
7706 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7708 cat >conftest.$ac_ext <<_ACEOF
7709 /* confdefs.h. */
7710 _ACEOF
7711 cat confdefs.h >>conftest.$ac_ext
7712 cat >>conftest.$ac_ext <<_ACEOF
7713 /* end confdefs.h. */
7714 #include <wchar.h>
7715 namespace test { using ::wcstof; }
7717 main ()
7721 return 0;
7723 _ACEOF
7724 rm -f conftest.$ac_objext
7725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7726 (eval $ac_compile) 2>conftest.er1
7727 ac_status=$?
7728 grep -v '^ *+' conftest.er1 >conftest.err
7729 rm -f conftest.er1
7730 cat conftest.err >&5
7731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7732 (exit $ac_status); } &&
7733 { ac_try='test -z "$ac_cxx_werror_flag"
7734 || test ! -s conftest.err'
7735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7736 (eval $ac_try) 2>&5
7737 ac_status=$?
7738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7739 (exit $ac_status); }; } &&
7740 { ac_try='test -s conftest.$ac_objext'
7741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7742 (eval $ac_try) 2>&5
7743 ac_status=$?
7744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7745 (exit $ac_status); }; }; then
7747 cat >>confdefs.h <<\_ACEOF
7748 #define HAVE_WCSTOF 1
7749 _ACEOF
7751 else
7752 echo "$as_me: failed program was:" >&5
7753 sed 's/^/| /' conftest.$ac_ext >&5
7756 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7758 cat >conftest.$ac_ext <<_ACEOF
7759 /* confdefs.h. */
7760 _ACEOF
7761 cat confdefs.h >>conftest.$ac_ext
7762 cat >>conftest.$ac_ext <<_ACEOF
7763 /* end confdefs.h. */
7764 #include <wctype.h>
7766 main ()
7768 wint_t t; int i = iswblank(t);
7770 return 0;
7772 _ACEOF
7773 rm -f conftest.$ac_objext
7774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7775 (eval $ac_compile) 2>conftest.er1
7776 ac_status=$?
7777 grep -v '^ *+' conftest.er1 >conftest.err
7778 rm -f conftest.er1
7779 cat conftest.err >&5
7780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7781 (exit $ac_status); } &&
7782 { ac_try='test -z "$ac_cxx_werror_flag"
7783 || test ! -s conftest.err'
7784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7785 (eval $ac_try) 2>&5
7786 ac_status=$?
7787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7788 (exit $ac_status); }; } &&
7789 { ac_try='test -s conftest.$ac_objext'
7790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7791 (eval $ac_try) 2>&5
7792 ac_status=$?
7793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7794 (exit $ac_status); }; }; then
7796 cat >>confdefs.h <<\_ACEOF
7797 #define HAVE_ISWBLANK 1
7798 _ACEOF
7800 else
7801 echo "$as_me: failed program was:" >&5
7802 sed 's/^/| /' conftest.$ac_ext >&5
7805 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7807 echo "$as_me:$LINENO: result: $ac_c99_wchar" >&5
7808 echo "${ECHO_T}$ac_c99_wchar" >&6
7811 # Option parsed, now set things appropriately.
7812 if test x"$ac_c99_math" = x"no" ||
7813 test x"$ac_c99_complex" = x"no" ||
7814 test x"$ac_c99_stdio" = x"no" ||
7815 test x"$ac_c99_stdlib" = x"no" ||
7816 test x"$ac_c99_wchar" = x"no"; then
7817 enable_c99=no;
7818 else
7820 cat >>confdefs.h <<\_ACEOF
7821 #define _GLIBCXX_USE_C99 1
7822 _ACEOF
7826 ac_ext=c
7827 ac_cpp='$CPP $CPPFLAGS'
7828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7834 echo "$as_me:$LINENO: checking for fully enabled ISO C99 support" >&5
7835 echo $ECHO_N "checking for fully enabled ISO C99 support... $ECHO_C" >&6
7836 echo "$as_me:$LINENO: result: $enable_c99" >&5
7837 echo "${ECHO_T}$enable_c99" >&6
7840 # Check whether --enable-concept-checks or --disable-concept-checks was given.
7841 if test "${enable_concept_checks+set}" = set; then
7842 enableval="$enable_concept_checks"
7844 case "$enableval" in
7845 yes|no) ;;
7846 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
7847 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
7848 { (exit 1); exit 1; }; } ;;
7849 esac
7851 else
7852 enable_concept_checks=no
7855 if test $enable_concept_checks = yes; then
7857 cat >>confdefs.h <<\_ACEOF
7858 #define _GLIBCXX_CONCEPT_CHECKS 1
7859 _ACEOF
7864 # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
7865 if test "${enable_libstdcxx_debug_flags+set}" = set; then
7866 enableval="$enable_libstdcxx_debug_flags"
7867 case "x$enable_libstdcxx_debug_flags" in
7868 xno | x) enable_libstdcxx_debug_flags= ;;
7869 x-*) ;;
7870 *) { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
7871 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
7872 { (exit 1); exit 1; }; } ;;
7873 esac
7874 else
7875 enable_libstdcxx_debug_flags="-g3 -O0"
7879 # Option parsed, now set things appropriately
7880 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
7883 { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
7884 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
7887 echo "$as_me:$LINENO: checking for additional debug build" >&5
7888 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
7889 # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
7890 if test "${enable_libstdcxx_debug+set}" = set; then
7891 enableval="$enable_libstdcxx_debug"
7893 case "$enableval" in
7894 yes|no) ;;
7895 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
7896 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
7897 { (exit 1); exit 1; }; } ;;
7898 esac
7900 else
7901 enable_libstdcxx_debug=no
7904 echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
7905 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
7908 echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
7909 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
7910 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
7911 if test "${enable_cxx_flags+set}" = set; then
7912 enableval="$enable_cxx_flags"
7913 case "x$enable_cxx_flags" in
7914 xno | x) enable_cxx_flags= ;;
7915 x-*) ;;
7916 *) { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
7917 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
7918 { (exit 1); exit 1; }; } ;;
7919 esac
7920 else
7921 enable_cxx_flags=
7925 # Run through flags (either default or command-line) and set anything
7926 # extra (e.g., #defines) that must accompany particular g++ options.
7927 if test -n "$enable_cxx_flags"; then
7928 for f in $enable_cxx_flags; do
7929 case "$f" in
7930 -fhonor-std) ;;
7931 -*) ;;
7932 *) # and we're trying to pass /what/ exactly?
7933 { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
7934 echo "$as_me: error: compiler flags start with a -" >&2;}
7935 { (exit 1); exit 1; }; } ;;
7936 esac
7937 done
7940 EXTRA_CXX_FLAGS="$enable_cxx_flags"
7941 echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
7942 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
7946 # Check whether --enable-fully-dynamic-string or --disable-fully-dynamic-string was given.
7947 if test "${enable_fully_dynamic_string+set}" = set; then
7948 enableval="$enable_fully_dynamic_string"
7950 case "$enableval" in
7951 yes|no) ;;
7952 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&5
7953 echo "$as_me: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&2;}
7954 { (exit 1); exit 1; }; } ;;
7955 esac
7957 else
7958 enable_fully_dynamic_string=no
7961 if test $enable_fully_dynamic_string = yes; then
7963 cat >>confdefs.h <<\_ACEOF
7964 #define _GLIBCXX_FULLY_DYNAMIC_STRING 1
7965 _ACEOF
7970 # No surprises, no surprises...
7972 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
7973 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
7974 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
7975 echo "$as_me:$LINENO: result: $target_thread_file" >&5
7976 echo "${ECHO_T}$target_thread_file" >&6
7978 if test $target_thread_file != single; then
7980 cat >>confdefs.h <<\_ACEOF
7981 #define HAVE_GTHR_DEFAULT 1
7982 _ACEOF
7986 glibcxx_thread_h=gthr-$target_thread_file.h
7988 gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
7989 if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
7990 enable_thread=yes
7991 else
7992 enable_thread=no
7997 if test $atomicity_dir = cpu/generic ; then
7998 { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
7999 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
8000 if test $target_thread_file = single; then
8001 { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
8002 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
8003 { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
8004 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
8005 else
8006 { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
8007 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
8008 { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
8009 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
8014 if $GLIBCXX_IS_NATIVE; then
8016 # We can do more elaborate tests that assume a working linker.
8017 CANADIAN=no
8019 # Check for available headers.
8035 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
8036 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
8037 sys/types.h sys/ipc.h sys/sem.h
8039 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8040 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8041 echo "$as_me:$LINENO: checking for $ac_header" >&5
8042 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8043 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8044 echo $ECHO_N "(cached) $ECHO_C" >&6
8046 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8047 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8048 else
8049 # Is the header compilable?
8050 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8051 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8052 cat >conftest.$ac_ext <<_ACEOF
8053 /* confdefs.h. */
8054 _ACEOF
8055 cat confdefs.h >>conftest.$ac_ext
8056 cat >>conftest.$ac_ext <<_ACEOF
8057 /* end confdefs.h. */
8058 $ac_includes_default
8059 #include <$ac_header>
8060 _ACEOF
8061 rm -f conftest.$ac_objext
8062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8063 (eval $ac_compile) 2>conftest.er1
8064 ac_status=$?
8065 grep -v '^ *+' conftest.er1 >conftest.err
8066 rm -f conftest.er1
8067 cat conftest.err >&5
8068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8069 (exit $ac_status); } &&
8070 { ac_try='test -z "$ac_c_werror_flag"
8071 || test ! -s conftest.err'
8072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8073 (eval $ac_try) 2>&5
8074 ac_status=$?
8075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8076 (exit $ac_status); }; } &&
8077 { ac_try='test -s conftest.$ac_objext'
8078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8079 (eval $ac_try) 2>&5
8080 ac_status=$?
8081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8082 (exit $ac_status); }; }; then
8083 ac_header_compiler=yes
8084 else
8085 echo "$as_me: failed program was:" >&5
8086 sed 's/^/| /' conftest.$ac_ext >&5
8088 ac_header_compiler=no
8090 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8091 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8092 echo "${ECHO_T}$ac_header_compiler" >&6
8094 # Is the header present?
8095 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8096 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8097 cat >conftest.$ac_ext <<_ACEOF
8098 /* confdefs.h. */
8099 _ACEOF
8100 cat confdefs.h >>conftest.$ac_ext
8101 cat >>conftest.$ac_ext <<_ACEOF
8102 /* end confdefs.h. */
8103 #include <$ac_header>
8104 _ACEOF
8105 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8106 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8107 ac_status=$?
8108 grep -v '^ *+' conftest.er1 >conftest.err
8109 rm -f conftest.er1
8110 cat conftest.err >&5
8111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8112 (exit $ac_status); } >/dev/null; then
8113 if test -s conftest.err; then
8114 ac_cpp_err=$ac_c_preproc_warn_flag
8115 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8116 else
8117 ac_cpp_err=
8119 else
8120 ac_cpp_err=yes
8122 if test -z "$ac_cpp_err"; then
8123 ac_header_preproc=yes
8124 else
8125 echo "$as_me: failed program was:" >&5
8126 sed 's/^/| /' conftest.$ac_ext >&5
8128 ac_header_preproc=no
8130 rm -f conftest.err conftest.$ac_ext
8131 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8132 echo "${ECHO_T}$ac_header_preproc" >&6
8134 # So? What about this header?
8135 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8136 yes:no: )
8137 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8138 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8139 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8140 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8141 ac_header_preproc=yes
8143 no:yes:* )
8144 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8145 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8146 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8147 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8148 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8149 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8150 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8151 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8152 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8153 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8154 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8155 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8157 cat <<\_ASBOX
8158 ## ----------------------------------------- ##
8159 ## Report this to the package-unused lists. ##
8160 ## ----------------------------------------- ##
8161 _ASBOX
8163 sed "s/^/$as_me: WARNING: /" >&2
8165 esac
8166 echo "$as_me:$LINENO: checking for $ac_header" >&5
8167 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8168 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8169 echo $ECHO_N "(cached) $ECHO_C" >&6
8170 else
8171 eval "$as_ac_Header=\$ac_header_preproc"
8173 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8174 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8177 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8178 cat >>confdefs.h <<_ACEOF
8179 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8180 _ACEOF
8184 done
8188 # All these tests are for C++; save the language and the compiler flags.
8189 # The CXXFLAGS thing is suspicious, but based on similar bits previously
8190 # found in GLIBCXX_CONFIGURE.
8193 ac_ext=cc
8194 ac_cpp='$CXXCPP $CPPFLAGS'
8195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8199 ac_test_CXXFLAGS="${CXXFLAGS+set}"
8200 ac_save_CXXFLAGS="$CXXFLAGS"
8202 # Check for maintainer-mode bits.
8203 if test x"$USE_MAINTAINER_MODE" = xno; then
8204 WERROR=''
8205 else
8206 WERROR='-Werror'
8209 # Check for -ffunction-sections -fdata-sections
8210 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
8211 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
8212 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
8213 cat >conftest.$ac_ext <<_ACEOF
8214 /* confdefs.h. */
8215 _ACEOF
8216 cat confdefs.h >>conftest.$ac_ext
8217 cat >>conftest.$ac_ext <<_ACEOF
8218 /* end confdefs.h. */
8221 main ()
8223 int foo;
8225 return 0;
8227 _ACEOF
8228 rm -f conftest.$ac_objext
8229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8230 (eval $ac_compile) 2>conftest.er1
8231 ac_status=$?
8232 grep -v '^ *+' conftest.er1 >conftest.err
8233 rm -f conftest.er1
8234 cat conftest.err >&5
8235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8236 (exit $ac_status); } &&
8237 { ac_try='test -z "$ac_cxx_werror_flag"
8238 || test ! -s conftest.err'
8239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8240 (eval $ac_try) 2>&5
8241 ac_status=$?
8242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8243 (exit $ac_status); }; } &&
8244 { ac_try='test -s conftest.$ac_objext'
8245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8246 (eval $ac_try) 2>&5
8247 ac_status=$?
8248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8249 (exit $ac_status); }; }; then
8250 ac_fdsections=yes
8251 else
8252 echo "$as_me: failed program was:" >&5
8253 sed 's/^/| /' conftest.$ac_ext >&5
8255 ac_fdsections=no
8257 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8258 if test "$ac_test_CXXFLAGS" = set; then
8259 CXXFLAGS="$ac_save_CXXFLAGS"
8260 else
8261 # this is the suspicious part
8262 CXXFLAGS=''
8264 if test x"$ac_fdsections" = x"yes"; then
8265 SECTION_FLAGS='-ffunction-sections -fdata-sections'
8267 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
8268 echo "${ECHO_T}$ac_fdsections" >&6
8270 ac_ext=c
8271 ac_cpp='$CPP $CPPFLAGS'
8272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8280 # If we're not using GNU ld, then there's no point in even trying these
8281 # tests. Check for that first. We should have already tested for gld
8282 # by now (in libtool), but require it now just to be safe...
8283 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
8284 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
8288 # The name set by libtool depends on the version of libtool. Shame on us
8289 # for depending on an impl detail, but c'est la vie. Older versions used
8290 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
8291 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
8292 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
8293 # set (hence we're using an older libtool), then set it.
8294 if test x${with_gnu_ld+set} != xset; then
8295 if test x${ac_cv_prog_gnu_ld+set} != xset; then
8296 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
8297 with_gnu_ld=no
8298 else
8299 with_gnu_ld=$ac_cv_prog_gnu_ld
8303 # Start by getting the version number. I think the libtool test already
8304 # does some of this, but throws away the result.
8305 echo "$as_me:$LINENO: checking for ld version" >&5
8306 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
8308 ldver=`$LD --version 2>/dev/null | head -1 | \
8309 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
8311 glibcxx_gnu_ld_version=`echo $ldver | \
8312 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
8313 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
8314 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
8316 # Set --gc-sections.
8317 glibcxx_gcsections_min_ld=21602
8318 if test x"$with_gnu_ld" = x"yes" &&
8319 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
8321 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
8322 # NB: This flag only works reliably after 2.16.1. Configure tests
8323 # for this are difficult, so hard wire a value that should work.
8325 # All these tests are for C++, but run with the "C" compiler driver.
8326 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
8327 ac_test_CFLAGS="${CFLAGS+set}"
8328 ac_save_CFLAGS="$CFLAGS"
8329 CFLAGS='-x c++ -Wl,--gc-sections'
8331 # Check for -Wl,--gc-sections
8332 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
8333 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
8334 if test x$gcc_no_link = xyes; then
8335 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8336 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8337 { (exit 1); exit 1; }; }
8339 cat >conftest.$ac_ext <<_ACEOF
8340 /* confdefs.h. */
8341 _ACEOF
8342 cat confdefs.h >>conftest.$ac_ext
8343 cat >>conftest.$ac_ext <<_ACEOF
8344 /* end confdefs.h. */
8345 int one(void) { return 1; }
8346 int two(void) { return 2; }
8349 main ()
8351 two();
8353 return 0;
8355 _ACEOF
8356 rm -f conftest.$ac_objext conftest$ac_exeext
8357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8358 (eval $ac_link) 2>conftest.er1
8359 ac_status=$?
8360 grep -v '^ *+' conftest.er1 >conftest.err
8361 rm -f conftest.er1
8362 cat conftest.err >&5
8363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8364 (exit $ac_status); } &&
8365 { ac_try='test -z "$ac_c_werror_flag"
8366 || test ! -s conftest.err'
8367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8368 (eval $ac_try) 2>&5
8369 ac_status=$?
8370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8371 (exit $ac_status); }; } &&
8372 { ac_try='test -s conftest$ac_exeext'
8373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8374 (eval $ac_try) 2>&5
8375 ac_status=$?
8376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8377 (exit $ac_status); }; }; then
8378 ac_gcsections=yes
8379 else
8380 echo "$as_me: failed program was:" >&5
8381 sed 's/^/| /' conftest.$ac_ext >&5
8383 ac_gcsections=no
8385 rm -f conftest.err conftest.$ac_objext \
8386 conftest$ac_exeext conftest.$ac_ext
8387 if test "$ac_gcsections" = "yes"; then
8388 rm -f conftest.c
8389 touch conftest.c
8390 if $CC -c conftest.c; then
8391 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
8392 grep "Warning: gc-sections option ignored" > /dev/null; then
8393 ac_gcsections=no
8396 rm -f conftest.c conftest.o conftest
8398 if test "$ac_gcsections" = "yes"; then
8399 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
8401 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
8402 echo "${ECHO_T}$ac_gcsections" >&6
8404 if test "$ac_test_CFLAGS" = set; then
8405 CFLAGS="$ac_save_CFLAGS"
8406 else
8407 # this is the suspicious part
8408 CFLAGS=''
8412 # Set -z,relro.
8413 # Note this is only for shared objects.
8414 ac_ld_relro=no
8415 if test x"$with_gnu_ld" = x"yes"; then
8416 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
8417 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
8418 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
8419 if test -n "$cxx_z_relo"; then
8420 OPT_LDFLAGS="-Wl,-z,relro"
8421 ac_ld_relro=yes
8423 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
8424 echo "${ECHO_T}$ac_ld_relro" >&6
8427 # Set linker optimization flags.
8428 if test x"$with_gnu_ld" = x"yes"; then
8429 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8436 ac_test_CXXFLAGS="${CXXFLAGS+set}"
8437 ac_save_CXXFLAGS="$CXXFLAGS"
8438 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
8440 echo "$as_me:$LINENO: checking for sin in -lm" >&5
8441 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
8442 if test "${ac_cv_lib_m_sin+set}" = set; then
8443 echo $ECHO_N "(cached) $ECHO_C" >&6
8444 else
8445 ac_check_lib_save_LIBS=$LIBS
8446 LIBS="-lm $LIBS"
8447 if test x$gcc_no_link = xyes; then
8448 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8449 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8450 { (exit 1); exit 1; }; }
8452 cat >conftest.$ac_ext <<_ACEOF
8453 /* confdefs.h. */
8454 _ACEOF
8455 cat confdefs.h >>conftest.$ac_ext
8456 cat >>conftest.$ac_ext <<_ACEOF
8457 /* end confdefs.h. */
8459 /* Override any gcc2 internal prototype to avoid an error. */
8460 #ifdef __cplusplus
8461 extern "C"
8462 #endif
8463 /* We use char because int might match the return type of a gcc2
8464 builtin and then its argument prototype would still apply. */
8465 char sin ();
8467 main ()
8469 sin ();
8471 return 0;
8473 _ACEOF
8474 rm -f conftest.$ac_objext conftest$ac_exeext
8475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8476 (eval $ac_link) 2>conftest.er1
8477 ac_status=$?
8478 grep -v '^ *+' conftest.er1 >conftest.err
8479 rm -f conftest.er1
8480 cat conftest.err >&5
8481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8482 (exit $ac_status); } &&
8483 { ac_try='test -z "$ac_c_werror_flag"
8484 || test ! -s conftest.err'
8485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8486 (eval $ac_try) 2>&5
8487 ac_status=$?
8488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8489 (exit $ac_status); }; } &&
8490 { ac_try='test -s conftest$ac_exeext'
8491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8492 (eval $ac_try) 2>&5
8493 ac_status=$?
8494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8495 (exit $ac_status); }; }; then
8496 ac_cv_lib_m_sin=yes
8497 else
8498 echo "$as_me: failed program was:" >&5
8499 sed 's/^/| /' conftest.$ac_ext >&5
8501 ac_cv_lib_m_sin=no
8503 rm -f conftest.err conftest.$ac_objext \
8504 conftest$ac_exeext conftest.$ac_ext
8505 LIBS=$ac_check_lib_save_LIBS
8507 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
8508 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
8509 if test $ac_cv_lib_m_sin = yes; then
8510 libm="-lm"
8513 ac_save_LIBS="$LIBS"
8514 LIBS="$LIBS $libm"
8518 echo "$as_me:$LINENO: checking for isinf declaration" >&5
8519 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
8520 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
8521 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
8522 echo $ECHO_N "(cached) $ECHO_C" >&6
8523 else
8527 ac_ext=cc
8528 ac_cpp='$CXXCPP $CPPFLAGS'
8529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8533 cat >conftest.$ac_ext <<_ACEOF
8534 /* confdefs.h. */
8535 _ACEOF
8536 cat confdefs.h >>conftest.$ac_ext
8537 cat >>conftest.$ac_ext <<_ACEOF
8538 /* end confdefs.h. */
8539 #include <math.h>
8540 #ifdef HAVE_IEEEFP_H
8541 #include <ieeefp.h>
8542 #endif
8545 main ()
8547 isinf(0);
8549 return 0;
8551 _ACEOF
8552 rm -f conftest.$ac_objext
8553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8554 (eval $ac_compile) 2>conftest.er1
8555 ac_status=$?
8556 grep -v '^ *+' conftest.er1 >conftest.err
8557 rm -f conftest.er1
8558 cat conftest.err >&5
8559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8560 (exit $ac_status); } &&
8561 { ac_try='test -z "$ac_cxx_werror_flag"
8562 || test ! -s conftest.err'
8563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8564 (eval $ac_try) 2>&5
8565 ac_status=$?
8566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8567 (exit $ac_status); }; } &&
8568 { ac_try='test -s conftest.$ac_objext'
8569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8570 (eval $ac_try) 2>&5
8571 ac_status=$?
8572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8573 (exit $ac_status); }; }; then
8574 glibcxx_cv_func_isinf_use=yes
8575 else
8576 echo "$as_me: failed program was:" >&5
8577 sed 's/^/| /' conftest.$ac_ext >&5
8579 glibcxx_cv_func_isinf_use=no
8581 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8582 ac_ext=c
8583 ac_cpp='$CPP $CPPFLAGS'
8584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8592 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
8593 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
8595 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
8597 for ac_func in isinf
8599 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8600 echo "$as_me:$LINENO: checking for $ac_func" >&5
8601 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8602 if eval "test \"\${$as_ac_var+set}\" = set"; then
8603 echo $ECHO_N "(cached) $ECHO_C" >&6
8604 else
8605 if test x$gcc_no_link = xyes; then
8606 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8607 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8608 { (exit 1); exit 1; }; }
8610 cat >conftest.$ac_ext <<_ACEOF
8611 /* confdefs.h. */
8612 _ACEOF
8613 cat confdefs.h >>conftest.$ac_ext
8614 cat >>conftest.$ac_ext <<_ACEOF
8615 /* end confdefs.h. */
8616 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8617 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8618 #define $ac_func innocuous_$ac_func
8620 /* System header to define __stub macros and hopefully few prototypes,
8621 which can conflict with char $ac_func (); below.
8622 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8623 <limits.h> exists even on freestanding compilers. */
8625 #ifdef __STDC__
8626 # include <limits.h>
8627 #else
8628 # include <assert.h>
8629 #endif
8631 #undef $ac_func
8633 /* Override any gcc2 internal prototype to avoid an error. */
8634 #ifdef __cplusplus
8635 extern "C"
8637 #endif
8638 /* We use char because int might match the return type of a gcc2
8639 builtin and then its argument prototype would still apply. */
8640 char $ac_func ();
8641 /* The GNU C library defines this for functions which it implements
8642 to always fail with ENOSYS. Some functions are actually named
8643 something starting with __ and the normal name is an alias. */
8644 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8645 choke me
8646 #else
8647 char (*f) () = $ac_func;
8648 #endif
8649 #ifdef __cplusplus
8651 #endif
8654 main ()
8656 return f != $ac_func;
8658 return 0;
8660 _ACEOF
8661 rm -f conftest.$ac_objext conftest$ac_exeext
8662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8663 (eval $ac_link) 2>conftest.er1
8664 ac_status=$?
8665 grep -v '^ *+' conftest.er1 >conftest.err
8666 rm -f conftest.er1
8667 cat conftest.err >&5
8668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8669 (exit $ac_status); } &&
8670 { ac_try='test -z "$ac_c_werror_flag"
8671 || test ! -s conftest.err'
8672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8673 (eval $ac_try) 2>&5
8674 ac_status=$?
8675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8676 (exit $ac_status); }; } &&
8677 { ac_try='test -s conftest$ac_exeext'
8678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8679 (eval $ac_try) 2>&5
8680 ac_status=$?
8681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8682 (exit $ac_status); }; }; then
8683 eval "$as_ac_var=yes"
8684 else
8685 echo "$as_me: failed program was:" >&5
8686 sed 's/^/| /' conftest.$ac_ext >&5
8688 eval "$as_ac_var=no"
8690 rm -f conftest.err conftest.$ac_objext \
8691 conftest$ac_exeext conftest.$ac_ext
8693 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8694 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8695 if test `eval echo '${'$as_ac_var'}'` = yes; then
8696 cat >>confdefs.h <<_ACEOF
8697 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8698 _ACEOF
8701 done
8703 else
8705 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
8706 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
8707 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
8708 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
8709 echo $ECHO_N "(cached) $ECHO_C" >&6
8710 else
8714 ac_ext=cc
8715 ac_cpp='$CXXCPP $CPPFLAGS'
8716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8720 cat >conftest.$ac_ext <<_ACEOF
8721 /* confdefs.h. */
8722 _ACEOF
8723 cat confdefs.h >>conftest.$ac_ext
8724 cat >>conftest.$ac_ext <<_ACEOF
8725 /* end confdefs.h. */
8726 #include <math.h>
8727 #ifdef HAVE_IEEEFP_H
8728 #include <ieeefp.h>
8729 #endif
8732 main ()
8734 _isinf(0);
8736 return 0;
8738 _ACEOF
8739 rm -f conftest.$ac_objext
8740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8741 (eval $ac_compile) 2>conftest.er1
8742 ac_status=$?
8743 grep -v '^ *+' conftest.er1 >conftest.err
8744 rm -f conftest.er1
8745 cat conftest.err >&5
8746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8747 (exit $ac_status); } &&
8748 { ac_try='test -z "$ac_cxx_werror_flag"
8749 || test ! -s conftest.err'
8750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8751 (eval $ac_try) 2>&5
8752 ac_status=$?
8753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8754 (exit $ac_status); }; } &&
8755 { ac_try='test -s conftest.$ac_objext'
8756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8757 (eval $ac_try) 2>&5
8758 ac_status=$?
8759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8760 (exit $ac_status); }; }; then
8761 glibcxx_cv_func__isinf_use=yes
8762 else
8763 echo "$as_me: failed program was:" >&5
8764 sed 's/^/| /' conftest.$ac_ext >&5
8766 glibcxx_cv_func__isinf_use=no
8768 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8769 ac_ext=c
8770 ac_cpp='$CPP $CPPFLAGS'
8771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8779 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
8780 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
8782 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
8784 for ac_func in _isinf
8786 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8787 echo "$as_me:$LINENO: checking for $ac_func" >&5
8788 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8789 if eval "test \"\${$as_ac_var+set}\" = set"; then
8790 echo $ECHO_N "(cached) $ECHO_C" >&6
8791 else
8792 if test x$gcc_no_link = xyes; then
8793 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8794 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8795 { (exit 1); exit 1; }; }
8797 cat >conftest.$ac_ext <<_ACEOF
8798 /* confdefs.h. */
8799 _ACEOF
8800 cat confdefs.h >>conftest.$ac_ext
8801 cat >>conftest.$ac_ext <<_ACEOF
8802 /* end confdefs.h. */
8803 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8804 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8805 #define $ac_func innocuous_$ac_func
8807 /* System header to define __stub macros and hopefully few prototypes,
8808 which can conflict with char $ac_func (); below.
8809 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8810 <limits.h> exists even on freestanding compilers. */
8812 #ifdef __STDC__
8813 # include <limits.h>
8814 #else
8815 # include <assert.h>
8816 #endif
8818 #undef $ac_func
8820 /* Override any gcc2 internal prototype to avoid an error. */
8821 #ifdef __cplusplus
8822 extern "C"
8824 #endif
8825 /* We use char because int might match the return type of a gcc2
8826 builtin and then its argument prototype would still apply. */
8827 char $ac_func ();
8828 /* The GNU C library defines this for functions which it implements
8829 to always fail with ENOSYS. Some functions are actually named
8830 something starting with __ and the normal name is an alias. */
8831 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8832 choke me
8833 #else
8834 char (*f) () = $ac_func;
8835 #endif
8836 #ifdef __cplusplus
8838 #endif
8841 main ()
8843 return f != $ac_func;
8845 return 0;
8847 _ACEOF
8848 rm -f conftest.$ac_objext conftest$ac_exeext
8849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8850 (eval $ac_link) 2>conftest.er1
8851 ac_status=$?
8852 grep -v '^ *+' conftest.er1 >conftest.err
8853 rm -f conftest.er1
8854 cat conftest.err >&5
8855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8856 (exit $ac_status); } &&
8857 { ac_try='test -z "$ac_c_werror_flag"
8858 || test ! -s conftest.err'
8859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8860 (eval $ac_try) 2>&5
8861 ac_status=$?
8862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8863 (exit $ac_status); }; } &&
8864 { ac_try='test -s conftest$ac_exeext'
8865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8866 (eval $ac_try) 2>&5
8867 ac_status=$?
8868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8869 (exit $ac_status); }; }; then
8870 eval "$as_ac_var=yes"
8871 else
8872 echo "$as_me: failed program was:" >&5
8873 sed 's/^/| /' conftest.$ac_ext >&5
8875 eval "$as_ac_var=no"
8877 rm -f conftest.err conftest.$ac_objext \
8878 conftest$ac_exeext conftest.$ac_ext
8880 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8881 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8882 if test `eval echo '${'$as_ac_var'}'` = yes; then
8883 cat >>confdefs.h <<_ACEOF
8884 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8885 _ACEOF
8888 done
8898 echo "$as_me:$LINENO: checking for isnan declaration" >&5
8899 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
8900 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
8901 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
8902 echo $ECHO_N "(cached) $ECHO_C" >&6
8903 else
8907 ac_ext=cc
8908 ac_cpp='$CXXCPP $CPPFLAGS'
8909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8913 cat >conftest.$ac_ext <<_ACEOF
8914 /* confdefs.h. */
8915 _ACEOF
8916 cat confdefs.h >>conftest.$ac_ext
8917 cat >>conftest.$ac_ext <<_ACEOF
8918 /* end confdefs.h. */
8919 #include <math.h>
8920 #ifdef HAVE_IEEEFP_H
8921 #include <ieeefp.h>
8922 #endif
8925 main ()
8927 isnan(0);
8929 return 0;
8931 _ACEOF
8932 rm -f conftest.$ac_objext
8933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8934 (eval $ac_compile) 2>conftest.er1
8935 ac_status=$?
8936 grep -v '^ *+' conftest.er1 >conftest.err
8937 rm -f conftest.er1
8938 cat conftest.err >&5
8939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8940 (exit $ac_status); } &&
8941 { ac_try='test -z "$ac_cxx_werror_flag"
8942 || test ! -s conftest.err'
8943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8944 (eval $ac_try) 2>&5
8945 ac_status=$?
8946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8947 (exit $ac_status); }; } &&
8948 { ac_try='test -s conftest.$ac_objext'
8949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8950 (eval $ac_try) 2>&5
8951 ac_status=$?
8952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8953 (exit $ac_status); }; }; then
8954 glibcxx_cv_func_isnan_use=yes
8955 else
8956 echo "$as_me: failed program was:" >&5
8957 sed 's/^/| /' conftest.$ac_ext >&5
8959 glibcxx_cv_func_isnan_use=no
8961 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8962 ac_ext=c
8963 ac_cpp='$CPP $CPPFLAGS'
8964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8972 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
8973 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
8975 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
8977 for ac_func in isnan
8979 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8980 echo "$as_me:$LINENO: checking for $ac_func" >&5
8981 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8982 if eval "test \"\${$as_ac_var+set}\" = set"; then
8983 echo $ECHO_N "(cached) $ECHO_C" >&6
8984 else
8985 if test x$gcc_no_link = xyes; then
8986 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8987 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8988 { (exit 1); exit 1; }; }
8990 cat >conftest.$ac_ext <<_ACEOF
8991 /* confdefs.h. */
8992 _ACEOF
8993 cat confdefs.h >>conftest.$ac_ext
8994 cat >>conftest.$ac_ext <<_ACEOF
8995 /* end confdefs.h. */
8996 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8997 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8998 #define $ac_func innocuous_$ac_func
9000 /* System header to define __stub macros and hopefully few prototypes,
9001 which can conflict with char $ac_func (); below.
9002 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9003 <limits.h> exists even on freestanding compilers. */
9005 #ifdef __STDC__
9006 # include <limits.h>
9007 #else
9008 # include <assert.h>
9009 #endif
9011 #undef $ac_func
9013 /* Override any gcc2 internal prototype to avoid an error. */
9014 #ifdef __cplusplus
9015 extern "C"
9017 #endif
9018 /* We use char because int might match the return type of a gcc2
9019 builtin and then its argument prototype would still apply. */
9020 char $ac_func ();
9021 /* The GNU C library defines this for functions which it implements
9022 to always fail with ENOSYS. Some functions are actually named
9023 something starting with __ and the normal name is an alias. */
9024 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9025 choke me
9026 #else
9027 char (*f) () = $ac_func;
9028 #endif
9029 #ifdef __cplusplus
9031 #endif
9034 main ()
9036 return f != $ac_func;
9038 return 0;
9040 _ACEOF
9041 rm -f conftest.$ac_objext conftest$ac_exeext
9042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9043 (eval $ac_link) 2>conftest.er1
9044 ac_status=$?
9045 grep -v '^ *+' conftest.er1 >conftest.err
9046 rm -f conftest.er1
9047 cat conftest.err >&5
9048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9049 (exit $ac_status); } &&
9050 { ac_try='test -z "$ac_c_werror_flag"
9051 || test ! -s conftest.err'
9052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9053 (eval $ac_try) 2>&5
9054 ac_status=$?
9055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9056 (exit $ac_status); }; } &&
9057 { ac_try='test -s conftest$ac_exeext'
9058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9059 (eval $ac_try) 2>&5
9060 ac_status=$?
9061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9062 (exit $ac_status); }; }; then
9063 eval "$as_ac_var=yes"
9064 else
9065 echo "$as_me: failed program was:" >&5
9066 sed 's/^/| /' conftest.$ac_ext >&5
9068 eval "$as_ac_var=no"
9070 rm -f conftest.err conftest.$ac_objext \
9071 conftest$ac_exeext conftest.$ac_ext
9073 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9074 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9075 if test `eval echo '${'$as_ac_var'}'` = yes; then
9076 cat >>confdefs.h <<_ACEOF
9077 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9078 _ACEOF
9081 done
9083 else
9085 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
9086 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
9087 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
9088 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
9089 echo $ECHO_N "(cached) $ECHO_C" >&6
9090 else
9094 ac_ext=cc
9095 ac_cpp='$CXXCPP $CPPFLAGS'
9096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9100 cat >conftest.$ac_ext <<_ACEOF
9101 /* confdefs.h. */
9102 _ACEOF
9103 cat confdefs.h >>conftest.$ac_ext
9104 cat >>conftest.$ac_ext <<_ACEOF
9105 /* end confdefs.h. */
9106 #include <math.h>
9107 #ifdef HAVE_IEEEFP_H
9108 #include <ieeefp.h>
9109 #endif
9112 main ()
9114 _isnan(0);
9116 return 0;
9118 _ACEOF
9119 rm -f conftest.$ac_objext
9120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9121 (eval $ac_compile) 2>conftest.er1
9122 ac_status=$?
9123 grep -v '^ *+' conftest.er1 >conftest.err
9124 rm -f conftest.er1
9125 cat conftest.err >&5
9126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9127 (exit $ac_status); } &&
9128 { ac_try='test -z "$ac_cxx_werror_flag"
9129 || test ! -s conftest.err'
9130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9131 (eval $ac_try) 2>&5
9132 ac_status=$?
9133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9134 (exit $ac_status); }; } &&
9135 { ac_try='test -s conftest.$ac_objext'
9136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9137 (eval $ac_try) 2>&5
9138 ac_status=$?
9139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9140 (exit $ac_status); }; }; then
9141 glibcxx_cv_func__isnan_use=yes
9142 else
9143 echo "$as_me: failed program was:" >&5
9144 sed 's/^/| /' conftest.$ac_ext >&5
9146 glibcxx_cv_func__isnan_use=no
9148 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9149 ac_ext=c
9150 ac_cpp='$CPP $CPPFLAGS'
9151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9159 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
9160 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
9162 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
9164 for ac_func in _isnan
9166 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9167 echo "$as_me:$LINENO: checking for $ac_func" >&5
9168 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9169 if eval "test \"\${$as_ac_var+set}\" = set"; then
9170 echo $ECHO_N "(cached) $ECHO_C" >&6
9171 else
9172 if test x$gcc_no_link = xyes; then
9173 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9174 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9175 { (exit 1); exit 1; }; }
9177 cat >conftest.$ac_ext <<_ACEOF
9178 /* confdefs.h. */
9179 _ACEOF
9180 cat confdefs.h >>conftest.$ac_ext
9181 cat >>conftest.$ac_ext <<_ACEOF
9182 /* end confdefs.h. */
9183 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9184 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9185 #define $ac_func innocuous_$ac_func
9187 /* System header to define __stub macros and hopefully few prototypes,
9188 which can conflict with char $ac_func (); below.
9189 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9190 <limits.h> exists even on freestanding compilers. */
9192 #ifdef __STDC__
9193 # include <limits.h>
9194 #else
9195 # include <assert.h>
9196 #endif
9198 #undef $ac_func
9200 /* Override any gcc2 internal prototype to avoid an error. */
9201 #ifdef __cplusplus
9202 extern "C"
9204 #endif
9205 /* We use char because int might match the return type of a gcc2
9206 builtin and then its argument prototype would still apply. */
9207 char $ac_func ();
9208 /* The GNU C library defines this for functions which it implements
9209 to always fail with ENOSYS. Some functions are actually named
9210 something starting with __ and the normal name is an alias. */
9211 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9212 choke me
9213 #else
9214 char (*f) () = $ac_func;
9215 #endif
9216 #ifdef __cplusplus
9218 #endif
9221 main ()
9223 return f != $ac_func;
9225 return 0;
9227 _ACEOF
9228 rm -f conftest.$ac_objext conftest$ac_exeext
9229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9230 (eval $ac_link) 2>conftest.er1
9231 ac_status=$?
9232 grep -v '^ *+' conftest.er1 >conftest.err
9233 rm -f conftest.er1
9234 cat conftest.err >&5
9235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9236 (exit $ac_status); } &&
9237 { ac_try='test -z "$ac_c_werror_flag"
9238 || test ! -s conftest.err'
9239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9240 (eval $ac_try) 2>&5
9241 ac_status=$?
9242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9243 (exit $ac_status); }; } &&
9244 { ac_try='test -s conftest$ac_exeext'
9245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9246 (eval $ac_try) 2>&5
9247 ac_status=$?
9248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9249 (exit $ac_status); }; }; then
9250 eval "$as_ac_var=yes"
9251 else
9252 echo "$as_me: failed program was:" >&5
9253 sed 's/^/| /' conftest.$ac_ext >&5
9255 eval "$as_ac_var=no"
9257 rm -f conftest.err conftest.$ac_objext \
9258 conftest$ac_exeext conftest.$ac_ext
9260 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9261 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9262 if test `eval echo '${'$as_ac_var'}'` = yes; then
9263 cat >>confdefs.h <<_ACEOF
9264 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9265 _ACEOF
9268 done
9278 echo "$as_me:$LINENO: checking for finite declaration" >&5
9279 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
9280 if test x${glibcxx_cv_func_finite_use+set} != xset; then
9281 if test "${glibcxx_cv_func_finite_use+set}" = set; then
9282 echo $ECHO_N "(cached) $ECHO_C" >&6
9283 else
9287 ac_ext=cc
9288 ac_cpp='$CXXCPP $CPPFLAGS'
9289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9293 cat >conftest.$ac_ext <<_ACEOF
9294 /* confdefs.h. */
9295 _ACEOF
9296 cat confdefs.h >>conftest.$ac_ext
9297 cat >>conftest.$ac_ext <<_ACEOF
9298 /* end confdefs.h. */
9299 #include <math.h>
9300 #ifdef HAVE_IEEEFP_H
9301 #include <ieeefp.h>
9302 #endif
9305 main ()
9307 finite(0);
9309 return 0;
9311 _ACEOF
9312 rm -f conftest.$ac_objext
9313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9314 (eval $ac_compile) 2>conftest.er1
9315 ac_status=$?
9316 grep -v '^ *+' conftest.er1 >conftest.err
9317 rm -f conftest.er1
9318 cat conftest.err >&5
9319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9320 (exit $ac_status); } &&
9321 { ac_try='test -z "$ac_cxx_werror_flag"
9322 || test ! -s conftest.err'
9323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9324 (eval $ac_try) 2>&5
9325 ac_status=$?
9326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9327 (exit $ac_status); }; } &&
9328 { ac_try='test -s conftest.$ac_objext'
9329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9330 (eval $ac_try) 2>&5
9331 ac_status=$?
9332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9333 (exit $ac_status); }; }; then
9334 glibcxx_cv_func_finite_use=yes
9335 else
9336 echo "$as_me: failed program was:" >&5
9337 sed 's/^/| /' conftest.$ac_ext >&5
9339 glibcxx_cv_func_finite_use=no
9341 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9342 ac_ext=c
9343 ac_cpp='$CPP $CPPFLAGS'
9344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9352 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
9353 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
9355 if test x$glibcxx_cv_func_finite_use = x"yes"; then
9357 for ac_func in finite
9359 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9360 echo "$as_me:$LINENO: checking for $ac_func" >&5
9361 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9362 if eval "test \"\${$as_ac_var+set}\" = set"; then
9363 echo $ECHO_N "(cached) $ECHO_C" >&6
9364 else
9365 if test x$gcc_no_link = xyes; then
9366 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9367 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9368 { (exit 1); exit 1; }; }
9370 cat >conftest.$ac_ext <<_ACEOF
9371 /* confdefs.h. */
9372 _ACEOF
9373 cat confdefs.h >>conftest.$ac_ext
9374 cat >>conftest.$ac_ext <<_ACEOF
9375 /* end confdefs.h. */
9376 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9377 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9378 #define $ac_func innocuous_$ac_func
9380 /* System header to define __stub macros and hopefully few prototypes,
9381 which can conflict with char $ac_func (); below.
9382 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9383 <limits.h> exists even on freestanding compilers. */
9385 #ifdef __STDC__
9386 # include <limits.h>
9387 #else
9388 # include <assert.h>
9389 #endif
9391 #undef $ac_func
9393 /* Override any gcc2 internal prototype to avoid an error. */
9394 #ifdef __cplusplus
9395 extern "C"
9397 #endif
9398 /* We use char because int might match the return type of a gcc2
9399 builtin and then its argument prototype would still apply. */
9400 char $ac_func ();
9401 /* The GNU C library defines this for functions which it implements
9402 to always fail with ENOSYS. Some functions are actually named
9403 something starting with __ and the normal name is an alias. */
9404 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9405 choke me
9406 #else
9407 char (*f) () = $ac_func;
9408 #endif
9409 #ifdef __cplusplus
9411 #endif
9414 main ()
9416 return f != $ac_func;
9418 return 0;
9420 _ACEOF
9421 rm -f conftest.$ac_objext conftest$ac_exeext
9422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9423 (eval $ac_link) 2>conftest.er1
9424 ac_status=$?
9425 grep -v '^ *+' conftest.er1 >conftest.err
9426 rm -f conftest.er1
9427 cat conftest.err >&5
9428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9429 (exit $ac_status); } &&
9430 { ac_try='test -z "$ac_c_werror_flag"
9431 || test ! -s conftest.err'
9432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9433 (eval $ac_try) 2>&5
9434 ac_status=$?
9435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9436 (exit $ac_status); }; } &&
9437 { ac_try='test -s conftest$ac_exeext'
9438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9439 (eval $ac_try) 2>&5
9440 ac_status=$?
9441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9442 (exit $ac_status); }; }; then
9443 eval "$as_ac_var=yes"
9444 else
9445 echo "$as_me: failed program was:" >&5
9446 sed 's/^/| /' conftest.$ac_ext >&5
9448 eval "$as_ac_var=no"
9450 rm -f conftest.err conftest.$ac_objext \
9451 conftest$ac_exeext conftest.$ac_ext
9453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9454 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9455 if test `eval echo '${'$as_ac_var'}'` = yes; then
9456 cat >>confdefs.h <<_ACEOF
9457 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9458 _ACEOF
9461 done
9463 else
9465 echo "$as_me:$LINENO: checking for _finite declaration" >&5
9466 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
9467 if test x${glibcxx_cv_func__finite_use+set} != xset; then
9468 if test "${glibcxx_cv_func__finite_use+set}" = set; then
9469 echo $ECHO_N "(cached) $ECHO_C" >&6
9470 else
9474 ac_ext=cc
9475 ac_cpp='$CXXCPP $CPPFLAGS'
9476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9480 cat >conftest.$ac_ext <<_ACEOF
9481 /* confdefs.h. */
9482 _ACEOF
9483 cat confdefs.h >>conftest.$ac_ext
9484 cat >>conftest.$ac_ext <<_ACEOF
9485 /* end confdefs.h. */
9486 #include <math.h>
9487 #ifdef HAVE_IEEEFP_H
9488 #include <ieeefp.h>
9489 #endif
9492 main ()
9494 _finite(0);
9496 return 0;
9498 _ACEOF
9499 rm -f conftest.$ac_objext
9500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9501 (eval $ac_compile) 2>conftest.er1
9502 ac_status=$?
9503 grep -v '^ *+' conftest.er1 >conftest.err
9504 rm -f conftest.er1
9505 cat conftest.err >&5
9506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9507 (exit $ac_status); } &&
9508 { ac_try='test -z "$ac_cxx_werror_flag"
9509 || test ! -s conftest.err'
9510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9511 (eval $ac_try) 2>&5
9512 ac_status=$?
9513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9514 (exit $ac_status); }; } &&
9515 { ac_try='test -s conftest.$ac_objext'
9516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9517 (eval $ac_try) 2>&5
9518 ac_status=$?
9519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9520 (exit $ac_status); }; }; then
9521 glibcxx_cv_func__finite_use=yes
9522 else
9523 echo "$as_me: failed program was:" >&5
9524 sed 's/^/| /' conftest.$ac_ext >&5
9526 glibcxx_cv_func__finite_use=no
9528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9529 ac_ext=c
9530 ac_cpp='$CPP $CPPFLAGS'
9531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9539 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
9540 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
9542 if test x$glibcxx_cv_func__finite_use = x"yes"; then
9544 for ac_func in _finite
9546 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9547 echo "$as_me:$LINENO: checking for $ac_func" >&5
9548 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9549 if eval "test \"\${$as_ac_var+set}\" = set"; then
9550 echo $ECHO_N "(cached) $ECHO_C" >&6
9551 else
9552 if test x$gcc_no_link = xyes; then
9553 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9554 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9555 { (exit 1); exit 1; }; }
9557 cat >conftest.$ac_ext <<_ACEOF
9558 /* confdefs.h. */
9559 _ACEOF
9560 cat confdefs.h >>conftest.$ac_ext
9561 cat >>conftest.$ac_ext <<_ACEOF
9562 /* end confdefs.h. */
9563 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9564 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9565 #define $ac_func innocuous_$ac_func
9567 /* System header to define __stub macros and hopefully few prototypes,
9568 which can conflict with char $ac_func (); below.
9569 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9570 <limits.h> exists even on freestanding compilers. */
9572 #ifdef __STDC__
9573 # include <limits.h>
9574 #else
9575 # include <assert.h>
9576 #endif
9578 #undef $ac_func
9580 /* Override any gcc2 internal prototype to avoid an error. */
9581 #ifdef __cplusplus
9582 extern "C"
9584 #endif
9585 /* We use char because int might match the return type of a gcc2
9586 builtin and then its argument prototype would still apply. */
9587 char $ac_func ();
9588 /* The GNU C library defines this for functions which it implements
9589 to always fail with ENOSYS. Some functions are actually named
9590 something starting with __ and the normal name is an alias. */
9591 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9592 choke me
9593 #else
9594 char (*f) () = $ac_func;
9595 #endif
9596 #ifdef __cplusplus
9598 #endif
9601 main ()
9603 return f != $ac_func;
9605 return 0;
9607 _ACEOF
9608 rm -f conftest.$ac_objext conftest$ac_exeext
9609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9610 (eval $ac_link) 2>conftest.er1
9611 ac_status=$?
9612 grep -v '^ *+' conftest.er1 >conftest.err
9613 rm -f conftest.er1
9614 cat conftest.err >&5
9615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9616 (exit $ac_status); } &&
9617 { ac_try='test -z "$ac_c_werror_flag"
9618 || test ! -s conftest.err'
9619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9620 (eval $ac_try) 2>&5
9621 ac_status=$?
9622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9623 (exit $ac_status); }; } &&
9624 { ac_try='test -s conftest$ac_exeext'
9625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9626 (eval $ac_try) 2>&5
9627 ac_status=$?
9628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9629 (exit $ac_status); }; }; then
9630 eval "$as_ac_var=yes"
9631 else
9632 echo "$as_me: failed program was:" >&5
9633 sed 's/^/| /' conftest.$ac_ext >&5
9635 eval "$as_ac_var=no"
9637 rm -f conftest.err conftest.$ac_objext \
9638 conftest$ac_exeext conftest.$ac_ext
9640 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9641 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9642 if test `eval echo '${'$as_ac_var'}'` = yes; then
9643 cat >>confdefs.h <<_ACEOF
9644 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9645 _ACEOF
9648 done
9658 echo "$as_me:$LINENO: checking for copysign declaration" >&5
9659 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
9660 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
9661 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
9662 echo $ECHO_N "(cached) $ECHO_C" >&6
9663 else
9667 ac_ext=cc
9668 ac_cpp='$CXXCPP $CPPFLAGS'
9669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9673 cat >conftest.$ac_ext <<_ACEOF
9674 /* confdefs.h. */
9675 _ACEOF
9676 cat confdefs.h >>conftest.$ac_ext
9677 cat >>conftest.$ac_ext <<_ACEOF
9678 /* end confdefs.h. */
9679 #include <math.h>
9681 main ()
9683 copysign(0, 0);
9685 return 0;
9687 _ACEOF
9688 rm -f conftest.$ac_objext
9689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9690 (eval $ac_compile) 2>conftest.er1
9691 ac_status=$?
9692 grep -v '^ *+' conftest.er1 >conftest.err
9693 rm -f conftest.er1
9694 cat conftest.err >&5
9695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9696 (exit $ac_status); } &&
9697 { ac_try='test -z "$ac_cxx_werror_flag"
9698 || test ! -s conftest.err'
9699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9700 (eval $ac_try) 2>&5
9701 ac_status=$?
9702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9703 (exit $ac_status); }; } &&
9704 { ac_try='test -s conftest.$ac_objext'
9705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9706 (eval $ac_try) 2>&5
9707 ac_status=$?
9708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9709 (exit $ac_status); }; }; then
9710 glibcxx_cv_func_copysign_use=yes
9711 else
9712 echo "$as_me: failed program was:" >&5
9713 sed 's/^/| /' conftest.$ac_ext >&5
9715 glibcxx_cv_func_copysign_use=no
9717 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9718 ac_ext=c
9719 ac_cpp='$CPP $CPPFLAGS'
9720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9728 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
9729 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
9731 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
9733 for ac_func in copysign
9735 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9736 echo "$as_me:$LINENO: checking for $ac_func" >&5
9737 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9738 if eval "test \"\${$as_ac_var+set}\" = set"; then
9739 echo $ECHO_N "(cached) $ECHO_C" >&6
9740 else
9741 if test x$gcc_no_link = xyes; then
9742 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9743 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9744 { (exit 1); exit 1; }; }
9746 cat >conftest.$ac_ext <<_ACEOF
9747 /* confdefs.h. */
9748 _ACEOF
9749 cat confdefs.h >>conftest.$ac_ext
9750 cat >>conftest.$ac_ext <<_ACEOF
9751 /* end confdefs.h. */
9752 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9753 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9754 #define $ac_func innocuous_$ac_func
9756 /* System header to define __stub macros and hopefully few prototypes,
9757 which can conflict with char $ac_func (); below.
9758 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9759 <limits.h> exists even on freestanding compilers. */
9761 #ifdef __STDC__
9762 # include <limits.h>
9763 #else
9764 # include <assert.h>
9765 #endif
9767 #undef $ac_func
9769 /* Override any gcc2 internal prototype to avoid an error. */
9770 #ifdef __cplusplus
9771 extern "C"
9773 #endif
9774 /* We use char because int might match the return type of a gcc2
9775 builtin and then its argument prototype would still apply. */
9776 char $ac_func ();
9777 /* The GNU C library defines this for functions which it implements
9778 to always fail with ENOSYS. Some functions are actually named
9779 something starting with __ and the normal name is an alias. */
9780 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9781 choke me
9782 #else
9783 char (*f) () = $ac_func;
9784 #endif
9785 #ifdef __cplusplus
9787 #endif
9790 main ()
9792 return f != $ac_func;
9794 return 0;
9796 _ACEOF
9797 rm -f conftest.$ac_objext conftest$ac_exeext
9798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9799 (eval $ac_link) 2>conftest.er1
9800 ac_status=$?
9801 grep -v '^ *+' conftest.er1 >conftest.err
9802 rm -f conftest.er1
9803 cat conftest.err >&5
9804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9805 (exit $ac_status); } &&
9806 { ac_try='test -z "$ac_c_werror_flag"
9807 || test ! -s conftest.err'
9808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9809 (eval $ac_try) 2>&5
9810 ac_status=$?
9811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9812 (exit $ac_status); }; } &&
9813 { ac_try='test -s conftest$ac_exeext'
9814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9815 (eval $ac_try) 2>&5
9816 ac_status=$?
9817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9818 (exit $ac_status); }; }; then
9819 eval "$as_ac_var=yes"
9820 else
9821 echo "$as_me: failed program was:" >&5
9822 sed 's/^/| /' conftest.$ac_ext >&5
9824 eval "$as_ac_var=no"
9826 rm -f conftest.err conftest.$ac_objext \
9827 conftest$ac_exeext conftest.$ac_ext
9829 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9830 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9831 if test `eval echo '${'$as_ac_var'}'` = yes; then
9832 cat >>confdefs.h <<_ACEOF
9833 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9834 _ACEOF
9837 done
9839 else
9841 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
9842 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
9843 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
9844 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
9845 echo $ECHO_N "(cached) $ECHO_C" >&6
9846 else
9850 ac_ext=cc
9851 ac_cpp='$CXXCPP $CPPFLAGS'
9852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9856 cat >conftest.$ac_ext <<_ACEOF
9857 /* confdefs.h. */
9858 _ACEOF
9859 cat confdefs.h >>conftest.$ac_ext
9860 cat >>conftest.$ac_ext <<_ACEOF
9861 /* end confdefs.h. */
9862 #include <math.h>
9864 main ()
9866 _copysign(0, 0);
9868 return 0;
9870 _ACEOF
9871 rm -f conftest.$ac_objext
9872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9873 (eval $ac_compile) 2>conftest.er1
9874 ac_status=$?
9875 grep -v '^ *+' conftest.er1 >conftest.err
9876 rm -f conftest.er1
9877 cat conftest.err >&5
9878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9879 (exit $ac_status); } &&
9880 { ac_try='test -z "$ac_cxx_werror_flag"
9881 || test ! -s conftest.err'
9882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9883 (eval $ac_try) 2>&5
9884 ac_status=$?
9885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9886 (exit $ac_status); }; } &&
9887 { ac_try='test -s conftest.$ac_objext'
9888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9889 (eval $ac_try) 2>&5
9890 ac_status=$?
9891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9892 (exit $ac_status); }; }; then
9893 glibcxx_cv_func__copysign_use=yes
9894 else
9895 echo "$as_me: failed program was:" >&5
9896 sed 's/^/| /' conftest.$ac_ext >&5
9898 glibcxx_cv_func__copysign_use=no
9900 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9901 ac_ext=c
9902 ac_cpp='$CPP $CPPFLAGS'
9903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9911 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
9912 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
9914 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
9916 for ac_func in _copysign
9918 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9919 echo "$as_me:$LINENO: checking for $ac_func" >&5
9920 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9921 if eval "test \"\${$as_ac_var+set}\" = set"; then
9922 echo $ECHO_N "(cached) $ECHO_C" >&6
9923 else
9924 if test x$gcc_no_link = xyes; then
9925 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9926 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9927 { (exit 1); exit 1; }; }
9929 cat >conftest.$ac_ext <<_ACEOF
9930 /* confdefs.h. */
9931 _ACEOF
9932 cat confdefs.h >>conftest.$ac_ext
9933 cat >>conftest.$ac_ext <<_ACEOF
9934 /* end confdefs.h. */
9935 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9936 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9937 #define $ac_func innocuous_$ac_func
9939 /* System header to define __stub macros and hopefully few prototypes,
9940 which can conflict with char $ac_func (); below.
9941 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9942 <limits.h> exists even on freestanding compilers. */
9944 #ifdef __STDC__
9945 # include <limits.h>
9946 #else
9947 # include <assert.h>
9948 #endif
9950 #undef $ac_func
9952 /* Override any gcc2 internal prototype to avoid an error. */
9953 #ifdef __cplusplus
9954 extern "C"
9956 #endif
9957 /* We use char because int might match the return type of a gcc2
9958 builtin and then its argument prototype would still apply. */
9959 char $ac_func ();
9960 /* The GNU C library defines this for functions which it implements
9961 to always fail with ENOSYS. Some functions are actually named
9962 something starting with __ and the normal name is an alias. */
9963 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9964 choke me
9965 #else
9966 char (*f) () = $ac_func;
9967 #endif
9968 #ifdef __cplusplus
9970 #endif
9973 main ()
9975 return f != $ac_func;
9977 return 0;
9979 _ACEOF
9980 rm -f conftest.$ac_objext conftest$ac_exeext
9981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9982 (eval $ac_link) 2>conftest.er1
9983 ac_status=$?
9984 grep -v '^ *+' conftest.er1 >conftest.err
9985 rm -f conftest.er1
9986 cat conftest.err >&5
9987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9988 (exit $ac_status); } &&
9989 { ac_try='test -z "$ac_c_werror_flag"
9990 || test ! -s conftest.err'
9991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9992 (eval $ac_try) 2>&5
9993 ac_status=$?
9994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9995 (exit $ac_status); }; } &&
9996 { ac_try='test -s conftest$ac_exeext'
9997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9998 (eval $ac_try) 2>&5
9999 ac_status=$?
10000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10001 (exit $ac_status); }; }; then
10002 eval "$as_ac_var=yes"
10003 else
10004 echo "$as_me: failed program was:" >&5
10005 sed 's/^/| /' conftest.$ac_ext >&5
10007 eval "$as_ac_var=no"
10009 rm -f conftest.err conftest.$ac_objext \
10010 conftest$ac_exeext conftest.$ac_ext
10012 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10013 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10014 if test `eval echo '${'$as_ac_var'}'` = yes; then
10015 cat >>confdefs.h <<_ACEOF
10016 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10017 _ACEOF
10020 done
10030 echo "$as_me:$LINENO: checking for sincos declaration" >&5
10031 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
10032 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
10033 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
10034 echo $ECHO_N "(cached) $ECHO_C" >&6
10035 else
10039 ac_ext=cc
10040 ac_cpp='$CXXCPP $CPPFLAGS'
10041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10045 cat >conftest.$ac_ext <<_ACEOF
10046 /* confdefs.h. */
10047 _ACEOF
10048 cat confdefs.h >>conftest.$ac_ext
10049 cat >>conftest.$ac_ext <<_ACEOF
10050 /* end confdefs.h. */
10051 #include <math.h>
10053 main ()
10055 sincos(0, 0, 0);
10057 return 0;
10059 _ACEOF
10060 rm -f conftest.$ac_objext
10061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10062 (eval $ac_compile) 2>conftest.er1
10063 ac_status=$?
10064 grep -v '^ *+' conftest.er1 >conftest.err
10065 rm -f conftest.er1
10066 cat conftest.err >&5
10067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10068 (exit $ac_status); } &&
10069 { ac_try='test -z "$ac_cxx_werror_flag"
10070 || test ! -s conftest.err'
10071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10072 (eval $ac_try) 2>&5
10073 ac_status=$?
10074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10075 (exit $ac_status); }; } &&
10076 { ac_try='test -s conftest.$ac_objext'
10077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10078 (eval $ac_try) 2>&5
10079 ac_status=$?
10080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10081 (exit $ac_status); }; }; then
10082 glibcxx_cv_func_sincos_use=yes
10083 else
10084 echo "$as_me: failed program was:" >&5
10085 sed 's/^/| /' conftest.$ac_ext >&5
10087 glibcxx_cv_func_sincos_use=no
10089 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10090 ac_ext=c
10091 ac_cpp='$CPP $CPPFLAGS'
10092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10100 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
10101 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
10103 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
10105 for ac_func in sincos
10107 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10108 echo "$as_me:$LINENO: checking for $ac_func" >&5
10109 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10110 if eval "test \"\${$as_ac_var+set}\" = set"; then
10111 echo $ECHO_N "(cached) $ECHO_C" >&6
10112 else
10113 if test x$gcc_no_link = xyes; then
10114 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10115 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10116 { (exit 1); exit 1; }; }
10118 cat >conftest.$ac_ext <<_ACEOF
10119 /* confdefs.h. */
10120 _ACEOF
10121 cat confdefs.h >>conftest.$ac_ext
10122 cat >>conftest.$ac_ext <<_ACEOF
10123 /* end confdefs.h. */
10124 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10125 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10126 #define $ac_func innocuous_$ac_func
10128 /* System header to define __stub macros and hopefully few prototypes,
10129 which can conflict with char $ac_func (); below.
10130 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10131 <limits.h> exists even on freestanding compilers. */
10133 #ifdef __STDC__
10134 # include <limits.h>
10135 #else
10136 # include <assert.h>
10137 #endif
10139 #undef $ac_func
10141 /* Override any gcc2 internal prototype to avoid an error. */
10142 #ifdef __cplusplus
10143 extern "C"
10145 #endif
10146 /* We use char because int might match the return type of a gcc2
10147 builtin and then its argument prototype would still apply. */
10148 char $ac_func ();
10149 /* The GNU C library defines this for functions which it implements
10150 to always fail with ENOSYS. Some functions are actually named
10151 something starting with __ and the normal name is an alias. */
10152 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10153 choke me
10154 #else
10155 char (*f) () = $ac_func;
10156 #endif
10157 #ifdef __cplusplus
10159 #endif
10162 main ()
10164 return f != $ac_func;
10166 return 0;
10168 _ACEOF
10169 rm -f conftest.$ac_objext conftest$ac_exeext
10170 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10171 (eval $ac_link) 2>conftest.er1
10172 ac_status=$?
10173 grep -v '^ *+' conftest.er1 >conftest.err
10174 rm -f conftest.er1
10175 cat conftest.err >&5
10176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10177 (exit $ac_status); } &&
10178 { ac_try='test -z "$ac_c_werror_flag"
10179 || test ! -s conftest.err'
10180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10181 (eval $ac_try) 2>&5
10182 ac_status=$?
10183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10184 (exit $ac_status); }; } &&
10185 { ac_try='test -s conftest$ac_exeext'
10186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10187 (eval $ac_try) 2>&5
10188 ac_status=$?
10189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10190 (exit $ac_status); }; }; then
10191 eval "$as_ac_var=yes"
10192 else
10193 echo "$as_me: failed program was:" >&5
10194 sed 's/^/| /' conftest.$ac_ext >&5
10196 eval "$as_ac_var=no"
10198 rm -f conftest.err conftest.$ac_objext \
10199 conftest$ac_exeext conftest.$ac_ext
10201 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10202 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10203 if test `eval echo '${'$as_ac_var'}'` = yes; then
10204 cat >>confdefs.h <<_ACEOF
10205 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10206 _ACEOF
10209 done
10211 else
10213 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
10214 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
10215 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
10216 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
10217 echo $ECHO_N "(cached) $ECHO_C" >&6
10218 else
10222 ac_ext=cc
10223 ac_cpp='$CXXCPP $CPPFLAGS'
10224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10228 cat >conftest.$ac_ext <<_ACEOF
10229 /* confdefs.h. */
10230 _ACEOF
10231 cat confdefs.h >>conftest.$ac_ext
10232 cat >>conftest.$ac_ext <<_ACEOF
10233 /* end confdefs.h. */
10234 #include <math.h>
10236 main ()
10238 _sincos(0, 0, 0);
10240 return 0;
10242 _ACEOF
10243 rm -f conftest.$ac_objext
10244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10245 (eval $ac_compile) 2>conftest.er1
10246 ac_status=$?
10247 grep -v '^ *+' conftest.er1 >conftest.err
10248 rm -f conftest.er1
10249 cat conftest.err >&5
10250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10251 (exit $ac_status); } &&
10252 { ac_try='test -z "$ac_cxx_werror_flag"
10253 || test ! -s conftest.err'
10254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10255 (eval $ac_try) 2>&5
10256 ac_status=$?
10257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10258 (exit $ac_status); }; } &&
10259 { ac_try='test -s conftest.$ac_objext'
10260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10261 (eval $ac_try) 2>&5
10262 ac_status=$?
10263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10264 (exit $ac_status); }; }; then
10265 glibcxx_cv_func__sincos_use=yes
10266 else
10267 echo "$as_me: failed program was:" >&5
10268 sed 's/^/| /' conftest.$ac_ext >&5
10270 glibcxx_cv_func__sincos_use=no
10272 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10273 ac_ext=c
10274 ac_cpp='$CPP $CPPFLAGS'
10275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10283 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
10284 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
10286 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
10288 for ac_func in _sincos
10290 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10291 echo "$as_me:$LINENO: checking for $ac_func" >&5
10292 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10293 if eval "test \"\${$as_ac_var+set}\" = set"; then
10294 echo $ECHO_N "(cached) $ECHO_C" >&6
10295 else
10296 if test x$gcc_no_link = xyes; then
10297 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10298 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10299 { (exit 1); exit 1; }; }
10301 cat >conftest.$ac_ext <<_ACEOF
10302 /* confdefs.h. */
10303 _ACEOF
10304 cat confdefs.h >>conftest.$ac_ext
10305 cat >>conftest.$ac_ext <<_ACEOF
10306 /* end confdefs.h. */
10307 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10308 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10309 #define $ac_func innocuous_$ac_func
10311 /* System header to define __stub macros and hopefully few prototypes,
10312 which can conflict with char $ac_func (); below.
10313 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10314 <limits.h> exists even on freestanding compilers. */
10316 #ifdef __STDC__
10317 # include <limits.h>
10318 #else
10319 # include <assert.h>
10320 #endif
10322 #undef $ac_func
10324 /* Override any gcc2 internal prototype to avoid an error. */
10325 #ifdef __cplusplus
10326 extern "C"
10328 #endif
10329 /* We use char because int might match the return type of a gcc2
10330 builtin and then its argument prototype would still apply. */
10331 char $ac_func ();
10332 /* The GNU C library defines this for functions which it implements
10333 to always fail with ENOSYS. Some functions are actually named
10334 something starting with __ and the normal name is an alias. */
10335 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10336 choke me
10337 #else
10338 char (*f) () = $ac_func;
10339 #endif
10340 #ifdef __cplusplus
10342 #endif
10345 main ()
10347 return f != $ac_func;
10349 return 0;
10351 _ACEOF
10352 rm -f conftest.$ac_objext conftest$ac_exeext
10353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10354 (eval $ac_link) 2>conftest.er1
10355 ac_status=$?
10356 grep -v '^ *+' conftest.er1 >conftest.err
10357 rm -f conftest.er1
10358 cat conftest.err >&5
10359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10360 (exit $ac_status); } &&
10361 { ac_try='test -z "$ac_c_werror_flag"
10362 || test ! -s conftest.err'
10363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10364 (eval $ac_try) 2>&5
10365 ac_status=$?
10366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10367 (exit $ac_status); }; } &&
10368 { ac_try='test -s conftest$ac_exeext'
10369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10370 (eval $ac_try) 2>&5
10371 ac_status=$?
10372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10373 (exit $ac_status); }; }; then
10374 eval "$as_ac_var=yes"
10375 else
10376 echo "$as_me: failed program was:" >&5
10377 sed 's/^/| /' conftest.$ac_ext >&5
10379 eval "$as_ac_var=no"
10381 rm -f conftest.err conftest.$ac_objext \
10382 conftest$ac_exeext conftest.$ac_ext
10384 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10385 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10386 if test `eval echo '${'$as_ac_var'}'` = yes; then
10387 cat >>confdefs.h <<_ACEOF
10388 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10389 _ACEOF
10392 done
10402 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
10403 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
10404 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
10405 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
10406 echo $ECHO_N "(cached) $ECHO_C" >&6
10407 else
10411 ac_ext=cc
10412 ac_cpp='$CXXCPP $CPPFLAGS'
10413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10417 cat >conftest.$ac_ext <<_ACEOF
10418 /* confdefs.h. */
10419 _ACEOF
10420 cat confdefs.h >>conftest.$ac_ext
10421 cat >>conftest.$ac_ext <<_ACEOF
10422 /* end confdefs.h. */
10423 #include <math.h>
10424 #ifdef HAVE_IEEEFP_H
10425 #include <ieeefp.h>
10426 #endif
10429 main ()
10431 fpclass(0);
10433 return 0;
10435 _ACEOF
10436 rm -f conftest.$ac_objext
10437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10438 (eval $ac_compile) 2>conftest.er1
10439 ac_status=$?
10440 grep -v '^ *+' conftest.er1 >conftest.err
10441 rm -f conftest.er1
10442 cat conftest.err >&5
10443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10444 (exit $ac_status); } &&
10445 { ac_try='test -z "$ac_cxx_werror_flag"
10446 || test ! -s conftest.err'
10447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10448 (eval $ac_try) 2>&5
10449 ac_status=$?
10450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10451 (exit $ac_status); }; } &&
10452 { ac_try='test -s conftest.$ac_objext'
10453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10454 (eval $ac_try) 2>&5
10455 ac_status=$?
10456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10457 (exit $ac_status); }; }; then
10458 glibcxx_cv_func_fpclass_use=yes
10459 else
10460 echo "$as_me: failed program was:" >&5
10461 sed 's/^/| /' conftest.$ac_ext >&5
10463 glibcxx_cv_func_fpclass_use=no
10465 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10466 ac_ext=c
10467 ac_cpp='$CPP $CPPFLAGS'
10468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10476 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
10477 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
10479 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
10481 for ac_func in fpclass
10483 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10484 echo "$as_me:$LINENO: checking for $ac_func" >&5
10485 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10486 if eval "test \"\${$as_ac_var+set}\" = set"; then
10487 echo $ECHO_N "(cached) $ECHO_C" >&6
10488 else
10489 if test x$gcc_no_link = xyes; then
10490 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10491 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10492 { (exit 1); exit 1; }; }
10494 cat >conftest.$ac_ext <<_ACEOF
10495 /* confdefs.h. */
10496 _ACEOF
10497 cat confdefs.h >>conftest.$ac_ext
10498 cat >>conftest.$ac_ext <<_ACEOF
10499 /* end confdefs.h. */
10500 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10501 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10502 #define $ac_func innocuous_$ac_func
10504 /* System header to define __stub macros and hopefully few prototypes,
10505 which can conflict with char $ac_func (); below.
10506 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10507 <limits.h> exists even on freestanding compilers. */
10509 #ifdef __STDC__
10510 # include <limits.h>
10511 #else
10512 # include <assert.h>
10513 #endif
10515 #undef $ac_func
10517 /* Override any gcc2 internal prototype to avoid an error. */
10518 #ifdef __cplusplus
10519 extern "C"
10521 #endif
10522 /* We use char because int might match the return type of a gcc2
10523 builtin and then its argument prototype would still apply. */
10524 char $ac_func ();
10525 /* The GNU C library defines this for functions which it implements
10526 to always fail with ENOSYS. Some functions are actually named
10527 something starting with __ and the normal name is an alias. */
10528 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10529 choke me
10530 #else
10531 char (*f) () = $ac_func;
10532 #endif
10533 #ifdef __cplusplus
10535 #endif
10538 main ()
10540 return f != $ac_func;
10542 return 0;
10544 _ACEOF
10545 rm -f conftest.$ac_objext conftest$ac_exeext
10546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10547 (eval $ac_link) 2>conftest.er1
10548 ac_status=$?
10549 grep -v '^ *+' conftest.er1 >conftest.err
10550 rm -f conftest.er1
10551 cat conftest.err >&5
10552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10553 (exit $ac_status); } &&
10554 { ac_try='test -z "$ac_c_werror_flag"
10555 || test ! -s conftest.err'
10556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10557 (eval $ac_try) 2>&5
10558 ac_status=$?
10559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10560 (exit $ac_status); }; } &&
10561 { ac_try='test -s conftest$ac_exeext'
10562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10563 (eval $ac_try) 2>&5
10564 ac_status=$?
10565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10566 (exit $ac_status); }; }; then
10567 eval "$as_ac_var=yes"
10568 else
10569 echo "$as_me: failed program was:" >&5
10570 sed 's/^/| /' conftest.$ac_ext >&5
10572 eval "$as_ac_var=no"
10574 rm -f conftest.err conftest.$ac_objext \
10575 conftest$ac_exeext conftest.$ac_ext
10577 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10578 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10579 if test `eval echo '${'$as_ac_var'}'` = yes; then
10580 cat >>confdefs.h <<_ACEOF
10581 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10582 _ACEOF
10585 done
10587 else
10589 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
10590 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
10591 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
10592 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
10593 echo $ECHO_N "(cached) $ECHO_C" >&6
10594 else
10598 ac_ext=cc
10599 ac_cpp='$CXXCPP $CPPFLAGS'
10600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10604 cat >conftest.$ac_ext <<_ACEOF
10605 /* confdefs.h. */
10606 _ACEOF
10607 cat confdefs.h >>conftest.$ac_ext
10608 cat >>conftest.$ac_ext <<_ACEOF
10609 /* end confdefs.h. */
10610 #include <math.h>
10611 #ifdef HAVE_IEEEFP_H
10612 #include <ieeefp.h>
10613 #endif
10616 main ()
10618 _fpclass(0);
10620 return 0;
10622 _ACEOF
10623 rm -f conftest.$ac_objext
10624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10625 (eval $ac_compile) 2>conftest.er1
10626 ac_status=$?
10627 grep -v '^ *+' conftest.er1 >conftest.err
10628 rm -f conftest.er1
10629 cat conftest.err >&5
10630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10631 (exit $ac_status); } &&
10632 { ac_try='test -z "$ac_cxx_werror_flag"
10633 || test ! -s conftest.err'
10634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10635 (eval $ac_try) 2>&5
10636 ac_status=$?
10637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10638 (exit $ac_status); }; } &&
10639 { ac_try='test -s conftest.$ac_objext'
10640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10641 (eval $ac_try) 2>&5
10642 ac_status=$?
10643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10644 (exit $ac_status); }; }; then
10645 glibcxx_cv_func__fpclass_use=yes
10646 else
10647 echo "$as_me: failed program was:" >&5
10648 sed 's/^/| /' conftest.$ac_ext >&5
10650 glibcxx_cv_func__fpclass_use=no
10652 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10653 ac_ext=c
10654 ac_cpp='$CPP $CPPFLAGS'
10655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10663 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
10664 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
10666 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
10668 for ac_func in _fpclass
10670 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10671 echo "$as_me:$LINENO: checking for $ac_func" >&5
10672 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10673 if eval "test \"\${$as_ac_var+set}\" = set"; then
10674 echo $ECHO_N "(cached) $ECHO_C" >&6
10675 else
10676 if test x$gcc_no_link = xyes; then
10677 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10678 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10679 { (exit 1); exit 1; }; }
10681 cat >conftest.$ac_ext <<_ACEOF
10682 /* confdefs.h. */
10683 _ACEOF
10684 cat confdefs.h >>conftest.$ac_ext
10685 cat >>conftest.$ac_ext <<_ACEOF
10686 /* end confdefs.h. */
10687 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10688 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10689 #define $ac_func innocuous_$ac_func
10691 /* System header to define __stub macros and hopefully few prototypes,
10692 which can conflict with char $ac_func (); below.
10693 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10694 <limits.h> exists even on freestanding compilers. */
10696 #ifdef __STDC__
10697 # include <limits.h>
10698 #else
10699 # include <assert.h>
10700 #endif
10702 #undef $ac_func
10704 /* Override any gcc2 internal prototype to avoid an error. */
10705 #ifdef __cplusplus
10706 extern "C"
10708 #endif
10709 /* We use char because int might match the return type of a gcc2
10710 builtin and then its argument prototype would still apply. */
10711 char $ac_func ();
10712 /* The GNU C library defines this for functions which it implements
10713 to always fail with ENOSYS. Some functions are actually named
10714 something starting with __ and the normal name is an alias. */
10715 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10716 choke me
10717 #else
10718 char (*f) () = $ac_func;
10719 #endif
10720 #ifdef __cplusplus
10722 #endif
10725 main ()
10727 return f != $ac_func;
10729 return 0;
10731 _ACEOF
10732 rm -f conftest.$ac_objext conftest$ac_exeext
10733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10734 (eval $ac_link) 2>conftest.er1
10735 ac_status=$?
10736 grep -v '^ *+' conftest.er1 >conftest.err
10737 rm -f conftest.er1
10738 cat conftest.err >&5
10739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10740 (exit $ac_status); } &&
10741 { ac_try='test -z "$ac_c_werror_flag"
10742 || test ! -s conftest.err'
10743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10744 (eval $ac_try) 2>&5
10745 ac_status=$?
10746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10747 (exit $ac_status); }; } &&
10748 { ac_try='test -s conftest$ac_exeext'
10749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10750 (eval $ac_try) 2>&5
10751 ac_status=$?
10752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10753 (exit $ac_status); }; }; then
10754 eval "$as_ac_var=yes"
10755 else
10756 echo "$as_me: failed program was:" >&5
10757 sed 's/^/| /' conftest.$ac_ext >&5
10759 eval "$as_ac_var=no"
10761 rm -f conftest.err conftest.$ac_objext \
10762 conftest$ac_exeext conftest.$ac_ext
10764 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10765 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10766 if test `eval echo '${'$as_ac_var'}'` = yes; then
10767 cat >>confdefs.h <<_ACEOF
10768 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10769 _ACEOF
10772 done
10782 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
10783 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
10784 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
10785 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
10786 echo $ECHO_N "(cached) $ECHO_C" >&6
10787 else
10791 ac_ext=cc
10792 ac_cpp='$CXXCPP $CPPFLAGS'
10793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10797 cat >conftest.$ac_ext <<_ACEOF
10798 /* confdefs.h. */
10799 _ACEOF
10800 cat confdefs.h >>conftest.$ac_ext
10801 cat >>conftest.$ac_ext <<_ACEOF
10802 /* end confdefs.h. */
10803 #include <math.h>
10804 #ifdef HAVE_IEEEFP_H
10805 #include <ieeefp.h>
10806 #endif
10809 main ()
10811 qfpclass(0);
10813 return 0;
10815 _ACEOF
10816 rm -f conftest.$ac_objext
10817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10818 (eval $ac_compile) 2>conftest.er1
10819 ac_status=$?
10820 grep -v '^ *+' conftest.er1 >conftest.err
10821 rm -f conftest.er1
10822 cat conftest.err >&5
10823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10824 (exit $ac_status); } &&
10825 { ac_try='test -z "$ac_cxx_werror_flag"
10826 || test ! -s conftest.err'
10827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10828 (eval $ac_try) 2>&5
10829 ac_status=$?
10830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10831 (exit $ac_status); }; } &&
10832 { ac_try='test -s conftest.$ac_objext'
10833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10834 (eval $ac_try) 2>&5
10835 ac_status=$?
10836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10837 (exit $ac_status); }; }; then
10838 glibcxx_cv_func_qfpclass_use=yes
10839 else
10840 echo "$as_me: failed program was:" >&5
10841 sed 's/^/| /' conftest.$ac_ext >&5
10843 glibcxx_cv_func_qfpclass_use=no
10845 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10846 ac_ext=c
10847 ac_cpp='$CPP $CPPFLAGS'
10848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10856 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
10857 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
10859 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
10861 for ac_func in qfpclass
10863 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10864 echo "$as_me:$LINENO: checking for $ac_func" >&5
10865 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10866 if eval "test \"\${$as_ac_var+set}\" = set"; then
10867 echo $ECHO_N "(cached) $ECHO_C" >&6
10868 else
10869 if test x$gcc_no_link = xyes; then
10870 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10871 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10872 { (exit 1); exit 1; }; }
10874 cat >conftest.$ac_ext <<_ACEOF
10875 /* confdefs.h. */
10876 _ACEOF
10877 cat confdefs.h >>conftest.$ac_ext
10878 cat >>conftest.$ac_ext <<_ACEOF
10879 /* end confdefs.h. */
10880 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10881 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10882 #define $ac_func innocuous_$ac_func
10884 /* System header to define __stub macros and hopefully few prototypes,
10885 which can conflict with char $ac_func (); below.
10886 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10887 <limits.h> exists even on freestanding compilers. */
10889 #ifdef __STDC__
10890 # include <limits.h>
10891 #else
10892 # include <assert.h>
10893 #endif
10895 #undef $ac_func
10897 /* Override any gcc2 internal prototype to avoid an error. */
10898 #ifdef __cplusplus
10899 extern "C"
10901 #endif
10902 /* We use char because int might match the return type of a gcc2
10903 builtin and then its argument prototype would still apply. */
10904 char $ac_func ();
10905 /* The GNU C library defines this for functions which it implements
10906 to always fail with ENOSYS. Some functions are actually named
10907 something starting with __ and the normal name is an alias. */
10908 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10909 choke me
10910 #else
10911 char (*f) () = $ac_func;
10912 #endif
10913 #ifdef __cplusplus
10915 #endif
10918 main ()
10920 return f != $ac_func;
10922 return 0;
10924 _ACEOF
10925 rm -f conftest.$ac_objext conftest$ac_exeext
10926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10927 (eval $ac_link) 2>conftest.er1
10928 ac_status=$?
10929 grep -v '^ *+' conftest.er1 >conftest.err
10930 rm -f conftest.er1
10931 cat conftest.err >&5
10932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10933 (exit $ac_status); } &&
10934 { ac_try='test -z "$ac_c_werror_flag"
10935 || test ! -s conftest.err'
10936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10937 (eval $ac_try) 2>&5
10938 ac_status=$?
10939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10940 (exit $ac_status); }; } &&
10941 { ac_try='test -s conftest$ac_exeext'
10942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10943 (eval $ac_try) 2>&5
10944 ac_status=$?
10945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10946 (exit $ac_status); }; }; then
10947 eval "$as_ac_var=yes"
10948 else
10949 echo "$as_me: failed program was:" >&5
10950 sed 's/^/| /' conftest.$ac_ext >&5
10952 eval "$as_ac_var=no"
10954 rm -f conftest.err conftest.$ac_objext \
10955 conftest$ac_exeext conftest.$ac_ext
10957 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10958 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10959 if test `eval echo '${'$as_ac_var'}'` = yes; then
10960 cat >>confdefs.h <<_ACEOF
10961 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10962 _ACEOF
10965 done
10967 else
10969 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
10970 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
10971 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
10972 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
10973 echo $ECHO_N "(cached) $ECHO_C" >&6
10974 else
10978 ac_ext=cc
10979 ac_cpp='$CXXCPP $CPPFLAGS'
10980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10984 cat >conftest.$ac_ext <<_ACEOF
10985 /* confdefs.h. */
10986 _ACEOF
10987 cat confdefs.h >>conftest.$ac_ext
10988 cat >>conftest.$ac_ext <<_ACEOF
10989 /* end confdefs.h. */
10990 #include <math.h>
10991 #ifdef HAVE_IEEEFP_H
10992 #include <ieeefp.h>
10993 #endif
10996 main ()
10998 _qfpclass(0);
11000 return 0;
11002 _ACEOF
11003 rm -f conftest.$ac_objext
11004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11005 (eval $ac_compile) 2>conftest.er1
11006 ac_status=$?
11007 grep -v '^ *+' conftest.er1 >conftest.err
11008 rm -f conftest.er1
11009 cat conftest.err >&5
11010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11011 (exit $ac_status); } &&
11012 { ac_try='test -z "$ac_cxx_werror_flag"
11013 || test ! -s conftest.err'
11014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11015 (eval $ac_try) 2>&5
11016 ac_status=$?
11017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11018 (exit $ac_status); }; } &&
11019 { ac_try='test -s conftest.$ac_objext'
11020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11021 (eval $ac_try) 2>&5
11022 ac_status=$?
11023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11024 (exit $ac_status); }; }; then
11025 glibcxx_cv_func__qfpclass_use=yes
11026 else
11027 echo "$as_me: failed program was:" >&5
11028 sed 's/^/| /' conftest.$ac_ext >&5
11030 glibcxx_cv_func__qfpclass_use=no
11032 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11033 ac_ext=c
11034 ac_cpp='$CPP $CPPFLAGS'
11035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11043 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
11044 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
11046 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
11048 for ac_func in _qfpclass
11050 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11051 echo "$as_me:$LINENO: checking for $ac_func" >&5
11052 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11053 if eval "test \"\${$as_ac_var+set}\" = set"; then
11054 echo $ECHO_N "(cached) $ECHO_C" >&6
11055 else
11056 if test x$gcc_no_link = xyes; then
11057 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11058 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11059 { (exit 1); exit 1; }; }
11061 cat >conftest.$ac_ext <<_ACEOF
11062 /* confdefs.h. */
11063 _ACEOF
11064 cat confdefs.h >>conftest.$ac_ext
11065 cat >>conftest.$ac_ext <<_ACEOF
11066 /* end confdefs.h. */
11067 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11068 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11069 #define $ac_func innocuous_$ac_func
11071 /* System header to define __stub macros and hopefully few prototypes,
11072 which can conflict with char $ac_func (); below.
11073 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11074 <limits.h> exists even on freestanding compilers. */
11076 #ifdef __STDC__
11077 # include <limits.h>
11078 #else
11079 # include <assert.h>
11080 #endif
11082 #undef $ac_func
11084 /* Override any gcc2 internal prototype to avoid an error. */
11085 #ifdef __cplusplus
11086 extern "C"
11088 #endif
11089 /* We use char because int might match the return type of a gcc2
11090 builtin and then its argument prototype would still apply. */
11091 char $ac_func ();
11092 /* The GNU C library defines this for functions which it implements
11093 to always fail with ENOSYS. Some functions are actually named
11094 something starting with __ and the normal name is an alias. */
11095 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11096 choke me
11097 #else
11098 char (*f) () = $ac_func;
11099 #endif
11100 #ifdef __cplusplus
11102 #endif
11105 main ()
11107 return f != $ac_func;
11109 return 0;
11111 _ACEOF
11112 rm -f conftest.$ac_objext conftest$ac_exeext
11113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11114 (eval $ac_link) 2>conftest.er1
11115 ac_status=$?
11116 grep -v '^ *+' conftest.er1 >conftest.err
11117 rm -f conftest.er1
11118 cat conftest.err >&5
11119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11120 (exit $ac_status); } &&
11121 { ac_try='test -z "$ac_c_werror_flag"
11122 || test ! -s conftest.err'
11123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11124 (eval $ac_try) 2>&5
11125 ac_status=$?
11126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11127 (exit $ac_status); }; } &&
11128 { ac_try='test -s conftest$ac_exeext'
11129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11130 (eval $ac_try) 2>&5
11131 ac_status=$?
11132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11133 (exit $ac_status); }; }; then
11134 eval "$as_ac_var=yes"
11135 else
11136 echo "$as_me: failed program was:" >&5
11137 sed 's/^/| /' conftest.$ac_ext >&5
11139 eval "$as_ac_var=no"
11141 rm -f conftest.err conftest.$ac_objext \
11142 conftest$ac_exeext conftest.$ac_ext
11144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11145 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11146 if test `eval echo '${'$as_ac_var'}'` = yes; then
11147 cat >>confdefs.h <<_ACEOF
11148 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11149 _ACEOF
11152 done
11162 echo "$as_me:$LINENO: checking for hypot declaration" >&5
11163 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
11164 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
11165 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
11166 echo $ECHO_N "(cached) $ECHO_C" >&6
11167 else
11171 ac_ext=cc
11172 ac_cpp='$CXXCPP $CPPFLAGS'
11173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11177 cat >conftest.$ac_ext <<_ACEOF
11178 /* confdefs.h. */
11179 _ACEOF
11180 cat confdefs.h >>conftest.$ac_ext
11181 cat >>conftest.$ac_ext <<_ACEOF
11182 /* end confdefs.h. */
11183 #include <math.h>
11185 main ()
11187 hypot(0, 0);
11189 return 0;
11191 _ACEOF
11192 rm -f conftest.$ac_objext
11193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11194 (eval $ac_compile) 2>conftest.er1
11195 ac_status=$?
11196 grep -v '^ *+' conftest.er1 >conftest.err
11197 rm -f conftest.er1
11198 cat conftest.err >&5
11199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11200 (exit $ac_status); } &&
11201 { ac_try='test -z "$ac_cxx_werror_flag"
11202 || test ! -s conftest.err'
11203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11204 (eval $ac_try) 2>&5
11205 ac_status=$?
11206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11207 (exit $ac_status); }; } &&
11208 { ac_try='test -s conftest.$ac_objext'
11209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11210 (eval $ac_try) 2>&5
11211 ac_status=$?
11212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11213 (exit $ac_status); }; }; then
11214 glibcxx_cv_func_hypot_use=yes
11215 else
11216 echo "$as_me: failed program was:" >&5
11217 sed 's/^/| /' conftest.$ac_ext >&5
11219 glibcxx_cv_func_hypot_use=no
11221 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11222 ac_ext=c
11223 ac_cpp='$CPP $CPPFLAGS'
11224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11232 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
11233 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
11235 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
11237 for ac_func in hypot
11239 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11240 echo "$as_me:$LINENO: checking for $ac_func" >&5
11241 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11242 if eval "test \"\${$as_ac_var+set}\" = set"; then
11243 echo $ECHO_N "(cached) $ECHO_C" >&6
11244 else
11245 if test x$gcc_no_link = xyes; then
11246 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11247 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11248 { (exit 1); exit 1; }; }
11250 cat >conftest.$ac_ext <<_ACEOF
11251 /* confdefs.h. */
11252 _ACEOF
11253 cat confdefs.h >>conftest.$ac_ext
11254 cat >>conftest.$ac_ext <<_ACEOF
11255 /* end confdefs.h. */
11256 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11257 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11258 #define $ac_func innocuous_$ac_func
11260 /* System header to define __stub macros and hopefully few prototypes,
11261 which can conflict with char $ac_func (); below.
11262 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11263 <limits.h> exists even on freestanding compilers. */
11265 #ifdef __STDC__
11266 # include <limits.h>
11267 #else
11268 # include <assert.h>
11269 #endif
11271 #undef $ac_func
11273 /* Override any gcc2 internal prototype to avoid an error. */
11274 #ifdef __cplusplus
11275 extern "C"
11277 #endif
11278 /* We use char because int might match the return type of a gcc2
11279 builtin and then its argument prototype would still apply. */
11280 char $ac_func ();
11281 /* The GNU C library defines this for functions which it implements
11282 to always fail with ENOSYS. Some functions are actually named
11283 something starting with __ and the normal name is an alias. */
11284 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11285 choke me
11286 #else
11287 char (*f) () = $ac_func;
11288 #endif
11289 #ifdef __cplusplus
11291 #endif
11294 main ()
11296 return f != $ac_func;
11298 return 0;
11300 _ACEOF
11301 rm -f conftest.$ac_objext conftest$ac_exeext
11302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11303 (eval $ac_link) 2>conftest.er1
11304 ac_status=$?
11305 grep -v '^ *+' conftest.er1 >conftest.err
11306 rm -f conftest.er1
11307 cat conftest.err >&5
11308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11309 (exit $ac_status); } &&
11310 { ac_try='test -z "$ac_c_werror_flag"
11311 || test ! -s conftest.err'
11312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11313 (eval $ac_try) 2>&5
11314 ac_status=$?
11315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11316 (exit $ac_status); }; } &&
11317 { ac_try='test -s conftest$ac_exeext'
11318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11319 (eval $ac_try) 2>&5
11320 ac_status=$?
11321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11322 (exit $ac_status); }; }; then
11323 eval "$as_ac_var=yes"
11324 else
11325 echo "$as_me: failed program was:" >&5
11326 sed 's/^/| /' conftest.$ac_ext >&5
11328 eval "$as_ac_var=no"
11330 rm -f conftest.err conftest.$ac_objext \
11331 conftest$ac_exeext conftest.$ac_ext
11333 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11334 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11335 if test `eval echo '${'$as_ac_var'}'` = yes; then
11336 cat >>confdefs.h <<_ACEOF
11337 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11338 _ACEOF
11341 done
11343 else
11345 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
11346 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
11347 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
11348 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
11349 echo $ECHO_N "(cached) $ECHO_C" >&6
11350 else
11354 ac_ext=cc
11355 ac_cpp='$CXXCPP $CPPFLAGS'
11356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11360 cat >conftest.$ac_ext <<_ACEOF
11361 /* confdefs.h. */
11362 _ACEOF
11363 cat confdefs.h >>conftest.$ac_ext
11364 cat >>conftest.$ac_ext <<_ACEOF
11365 /* end confdefs.h. */
11366 #include <math.h>
11368 main ()
11370 _hypot(0, 0);
11372 return 0;
11374 _ACEOF
11375 rm -f conftest.$ac_objext
11376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11377 (eval $ac_compile) 2>conftest.er1
11378 ac_status=$?
11379 grep -v '^ *+' conftest.er1 >conftest.err
11380 rm -f conftest.er1
11381 cat conftest.err >&5
11382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11383 (exit $ac_status); } &&
11384 { ac_try='test -z "$ac_cxx_werror_flag"
11385 || test ! -s conftest.err'
11386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11387 (eval $ac_try) 2>&5
11388 ac_status=$?
11389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11390 (exit $ac_status); }; } &&
11391 { ac_try='test -s conftest.$ac_objext'
11392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11393 (eval $ac_try) 2>&5
11394 ac_status=$?
11395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11396 (exit $ac_status); }; }; then
11397 glibcxx_cv_func__hypot_use=yes
11398 else
11399 echo "$as_me: failed program was:" >&5
11400 sed 's/^/| /' conftest.$ac_ext >&5
11402 glibcxx_cv_func__hypot_use=no
11404 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11405 ac_ext=c
11406 ac_cpp='$CPP $CPPFLAGS'
11407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11415 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
11416 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
11418 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
11420 for ac_func in _hypot
11422 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11423 echo "$as_me:$LINENO: checking for $ac_func" >&5
11424 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11425 if eval "test \"\${$as_ac_var+set}\" = set"; then
11426 echo $ECHO_N "(cached) $ECHO_C" >&6
11427 else
11428 if test x$gcc_no_link = xyes; then
11429 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11430 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11431 { (exit 1); exit 1; }; }
11433 cat >conftest.$ac_ext <<_ACEOF
11434 /* confdefs.h. */
11435 _ACEOF
11436 cat confdefs.h >>conftest.$ac_ext
11437 cat >>conftest.$ac_ext <<_ACEOF
11438 /* end confdefs.h. */
11439 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11440 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11441 #define $ac_func innocuous_$ac_func
11443 /* System header to define __stub macros and hopefully few prototypes,
11444 which can conflict with char $ac_func (); below.
11445 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11446 <limits.h> exists even on freestanding compilers. */
11448 #ifdef __STDC__
11449 # include <limits.h>
11450 #else
11451 # include <assert.h>
11452 #endif
11454 #undef $ac_func
11456 /* Override any gcc2 internal prototype to avoid an error. */
11457 #ifdef __cplusplus
11458 extern "C"
11460 #endif
11461 /* We use char because int might match the return type of a gcc2
11462 builtin and then its argument prototype would still apply. */
11463 char $ac_func ();
11464 /* The GNU C library defines this for functions which it implements
11465 to always fail with ENOSYS. Some functions are actually named
11466 something starting with __ and the normal name is an alias. */
11467 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11468 choke me
11469 #else
11470 char (*f) () = $ac_func;
11471 #endif
11472 #ifdef __cplusplus
11474 #endif
11477 main ()
11479 return f != $ac_func;
11481 return 0;
11483 _ACEOF
11484 rm -f conftest.$ac_objext conftest$ac_exeext
11485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11486 (eval $ac_link) 2>conftest.er1
11487 ac_status=$?
11488 grep -v '^ *+' conftest.er1 >conftest.err
11489 rm -f conftest.er1
11490 cat conftest.err >&5
11491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11492 (exit $ac_status); } &&
11493 { ac_try='test -z "$ac_c_werror_flag"
11494 || test ! -s conftest.err'
11495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11496 (eval $ac_try) 2>&5
11497 ac_status=$?
11498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11499 (exit $ac_status); }; } &&
11500 { ac_try='test -s conftest$ac_exeext'
11501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11502 (eval $ac_try) 2>&5
11503 ac_status=$?
11504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11505 (exit $ac_status); }; }; then
11506 eval "$as_ac_var=yes"
11507 else
11508 echo "$as_me: failed program was:" >&5
11509 sed 's/^/| /' conftest.$ac_ext >&5
11511 eval "$as_ac_var=no"
11513 rm -f conftest.err conftest.$ac_objext \
11514 conftest$ac_exeext conftest.$ac_ext
11516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11517 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11518 if test `eval echo '${'$as_ac_var'}'` = yes; then
11519 cat >>confdefs.h <<_ACEOF
11520 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11521 _ACEOF
11524 done
11534 echo "$as_me:$LINENO: checking for float trig functions" >&5
11535 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
11536 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
11537 echo $ECHO_N "(cached) $ECHO_C" >&6
11538 else
11542 ac_ext=cc
11543 ac_cpp='$CXXCPP $CPPFLAGS'
11544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11548 cat >conftest.$ac_ext <<_ACEOF
11549 /* confdefs.h. */
11550 _ACEOF
11551 cat confdefs.h >>conftest.$ac_ext
11552 cat >>conftest.$ac_ext <<_ACEOF
11553 /* end confdefs.h. */
11554 #include <math.h>
11556 main ()
11558 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
11560 return 0;
11562 _ACEOF
11563 rm -f conftest.$ac_objext
11564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11565 (eval $ac_compile) 2>conftest.er1
11566 ac_status=$?
11567 grep -v '^ *+' conftest.er1 >conftest.err
11568 rm -f conftest.er1
11569 cat conftest.err >&5
11570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11571 (exit $ac_status); } &&
11572 { ac_try='test -z "$ac_cxx_werror_flag"
11573 || test ! -s conftest.err'
11574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11575 (eval $ac_try) 2>&5
11576 ac_status=$?
11577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11578 (exit $ac_status); }; } &&
11579 { ac_try='test -s conftest.$ac_objext'
11580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11581 (eval $ac_try) 2>&5
11582 ac_status=$?
11583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11584 (exit $ac_status); }; }; then
11585 glibcxx_cv_func_float_trig_use=yes
11586 else
11587 echo "$as_me: failed program was:" >&5
11588 sed 's/^/| /' conftest.$ac_ext >&5
11590 glibcxx_cv_func_float_trig_use=no
11592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11593 ac_ext=c
11594 ac_cpp='$CPP $CPPFLAGS'
11595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11601 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
11602 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
11603 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
11613 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
11615 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11616 echo "$as_me:$LINENO: checking for $ac_func" >&5
11617 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11618 if eval "test \"\${$as_ac_var+set}\" = set"; then
11619 echo $ECHO_N "(cached) $ECHO_C" >&6
11620 else
11621 if test x$gcc_no_link = xyes; then
11622 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11623 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11624 { (exit 1); exit 1; }; }
11626 cat >conftest.$ac_ext <<_ACEOF
11627 /* confdefs.h. */
11628 _ACEOF
11629 cat confdefs.h >>conftest.$ac_ext
11630 cat >>conftest.$ac_ext <<_ACEOF
11631 /* end confdefs.h. */
11632 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11633 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11634 #define $ac_func innocuous_$ac_func
11636 /* System header to define __stub macros and hopefully few prototypes,
11637 which can conflict with char $ac_func (); below.
11638 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11639 <limits.h> exists even on freestanding compilers. */
11641 #ifdef __STDC__
11642 # include <limits.h>
11643 #else
11644 # include <assert.h>
11645 #endif
11647 #undef $ac_func
11649 /* Override any gcc2 internal prototype to avoid an error. */
11650 #ifdef __cplusplus
11651 extern "C"
11653 #endif
11654 /* We use char because int might match the return type of a gcc2
11655 builtin and then its argument prototype would still apply. */
11656 char $ac_func ();
11657 /* The GNU C library defines this for functions which it implements
11658 to always fail with ENOSYS. Some functions are actually named
11659 something starting with __ and the normal name is an alias. */
11660 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11661 choke me
11662 #else
11663 char (*f) () = $ac_func;
11664 #endif
11665 #ifdef __cplusplus
11667 #endif
11670 main ()
11672 return f != $ac_func;
11674 return 0;
11676 _ACEOF
11677 rm -f conftest.$ac_objext conftest$ac_exeext
11678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11679 (eval $ac_link) 2>conftest.er1
11680 ac_status=$?
11681 grep -v '^ *+' conftest.er1 >conftest.err
11682 rm -f conftest.er1
11683 cat conftest.err >&5
11684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11685 (exit $ac_status); } &&
11686 { ac_try='test -z "$ac_c_werror_flag"
11687 || test ! -s conftest.err'
11688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11689 (eval $ac_try) 2>&5
11690 ac_status=$?
11691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11692 (exit $ac_status); }; } &&
11693 { ac_try='test -s conftest$ac_exeext'
11694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11695 (eval $ac_try) 2>&5
11696 ac_status=$?
11697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11698 (exit $ac_status); }; }; then
11699 eval "$as_ac_var=yes"
11700 else
11701 echo "$as_me: failed program was:" >&5
11702 sed 's/^/| /' conftest.$ac_ext >&5
11704 eval "$as_ac_var=no"
11706 rm -f conftest.err conftest.$ac_objext \
11707 conftest$ac_exeext conftest.$ac_ext
11709 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11710 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11711 if test `eval echo '${'$as_ac_var'}'` = yes; then
11712 cat >>confdefs.h <<_ACEOF
11713 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11714 _ACEOF
11717 done
11719 else
11720 echo "$as_me:$LINENO: checking for _float trig functions" >&5
11721 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
11722 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
11723 echo $ECHO_N "(cached) $ECHO_C" >&6
11724 else
11728 ac_ext=cc
11729 ac_cpp='$CXXCPP $CPPFLAGS'
11730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11734 cat >conftest.$ac_ext <<_ACEOF
11735 /* confdefs.h. */
11736 _ACEOF
11737 cat confdefs.h >>conftest.$ac_ext
11738 cat >>conftest.$ac_ext <<_ACEOF
11739 /* end confdefs.h. */
11740 #include <math.h>
11742 main ()
11744 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
11746 return 0;
11748 _ACEOF
11749 rm -f conftest.$ac_objext
11750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11751 (eval $ac_compile) 2>conftest.er1
11752 ac_status=$?
11753 grep -v '^ *+' conftest.er1 >conftest.err
11754 rm -f conftest.er1
11755 cat conftest.err >&5
11756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11757 (exit $ac_status); } &&
11758 { ac_try='test -z "$ac_cxx_werror_flag"
11759 || test ! -s conftest.err'
11760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11761 (eval $ac_try) 2>&5
11762 ac_status=$?
11763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11764 (exit $ac_status); }; } &&
11765 { ac_try='test -s conftest.$ac_objext'
11766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11767 (eval $ac_try) 2>&5
11768 ac_status=$?
11769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11770 (exit $ac_status); }; }; then
11771 glibcxx_cv_func__float_trig_use=yes
11772 else
11773 echo "$as_me: failed program was:" >&5
11774 sed 's/^/| /' conftest.$ac_ext >&5
11776 glibcxx_cv_func__float_trig_use=no
11778 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11779 ac_ext=c
11780 ac_cpp='$CPP $CPPFLAGS'
11781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11787 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
11788 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
11789 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
11799 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
11801 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11802 echo "$as_me:$LINENO: checking for $ac_func" >&5
11803 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11804 if eval "test \"\${$as_ac_var+set}\" = set"; then
11805 echo $ECHO_N "(cached) $ECHO_C" >&6
11806 else
11807 if test x$gcc_no_link = xyes; then
11808 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11809 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11810 { (exit 1); exit 1; }; }
11812 cat >conftest.$ac_ext <<_ACEOF
11813 /* confdefs.h. */
11814 _ACEOF
11815 cat confdefs.h >>conftest.$ac_ext
11816 cat >>conftest.$ac_ext <<_ACEOF
11817 /* end confdefs.h. */
11818 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11819 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11820 #define $ac_func innocuous_$ac_func
11822 /* System header to define __stub macros and hopefully few prototypes,
11823 which can conflict with char $ac_func (); below.
11824 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11825 <limits.h> exists even on freestanding compilers. */
11827 #ifdef __STDC__
11828 # include <limits.h>
11829 #else
11830 # include <assert.h>
11831 #endif
11833 #undef $ac_func
11835 /* Override any gcc2 internal prototype to avoid an error. */
11836 #ifdef __cplusplus
11837 extern "C"
11839 #endif
11840 /* We use char because int might match the return type of a gcc2
11841 builtin and then its argument prototype would still apply. */
11842 char $ac_func ();
11843 /* The GNU C library defines this for functions which it implements
11844 to always fail with ENOSYS. Some functions are actually named
11845 something starting with __ and the normal name is an alias. */
11846 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11847 choke me
11848 #else
11849 char (*f) () = $ac_func;
11850 #endif
11851 #ifdef __cplusplus
11853 #endif
11856 main ()
11858 return f != $ac_func;
11860 return 0;
11862 _ACEOF
11863 rm -f conftest.$ac_objext conftest$ac_exeext
11864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11865 (eval $ac_link) 2>conftest.er1
11866 ac_status=$?
11867 grep -v '^ *+' conftest.er1 >conftest.err
11868 rm -f conftest.er1
11869 cat conftest.err >&5
11870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11871 (exit $ac_status); } &&
11872 { ac_try='test -z "$ac_c_werror_flag"
11873 || test ! -s conftest.err'
11874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11875 (eval $ac_try) 2>&5
11876 ac_status=$?
11877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11878 (exit $ac_status); }; } &&
11879 { ac_try='test -s conftest$ac_exeext'
11880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11881 (eval $ac_try) 2>&5
11882 ac_status=$?
11883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11884 (exit $ac_status); }; }; then
11885 eval "$as_ac_var=yes"
11886 else
11887 echo "$as_me: failed program was:" >&5
11888 sed 's/^/| /' conftest.$ac_ext >&5
11890 eval "$as_ac_var=no"
11892 rm -f conftest.err conftest.$ac_objext \
11893 conftest$ac_exeext conftest.$ac_ext
11895 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11896 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11897 if test `eval echo '${'$as_ac_var'}'` = yes; then
11898 cat >>confdefs.h <<_ACEOF
11899 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11900 _ACEOF
11903 done
11921 echo "$as_me:$LINENO: checking for float round functions" >&5
11922 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
11923 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
11924 echo $ECHO_N "(cached) $ECHO_C" >&6
11925 else
11929 ac_ext=cc
11930 ac_cpp='$CXXCPP $CPPFLAGS'
11931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11935 cat >conftest.$ac_ext <<_ACEOF
11936 /* confdefs.h. */
11937 _ACEOF
11938 cat confdefs.h >>conftest.$ac_ext
11939 cat >>conftest.$ac_ext <<_ACEOF
11940 /* end confdefs.h. */
11941 #include <math.h>
11943 main ()
11945 ceilf (0); floorf (0);
11947 return 0;
11949 _ACEOF
11950 rm -f conftest.$ac_objext
11951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11952 (eval $ac_compile) 2>conftest.er1
11953 ac_status=$?
11954 grep -v '^ *+' conftest.er1 >conftest.err
11955 rm -f conftest.er1
11956 cat conftest.err >&5
11957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11958 (exit $ac_status); } &&
11959 { ac_try='test -z "$ac_cxx_werror_flag"
11960 || test ! -s conftest.err'
11961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11962 (eval $ac_try) 2>&5
11963 ac_status=$?
11964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11965 (exit $ac_status); }; } &&
11966 { ac_try='test -s conftest.$ac_objext'
11967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11968 (eval $ac_try) 2>&5
11969 ac_status=$?
11970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11971 (exit $ac_status); }; }; then
11972 glibcxx_cv_func_float_round_use=yes
11973 else
11974 echo "$as_me: failed program was:" >&5
11975 sed 's/^/| /' conftest.$ac_ext >&5
11977 glibcxx_cv_func_float_round_use=no
11979 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11980 ac_ext=c
11981 ac_cpp='$CPP $CPPFLAGS'
11982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11988 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
11989 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
11990 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
11993 for ac_func in ceilf floorf
11995 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11996 echo "$as_me:$LINENO: checking for $ac_func" >&5
11997 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11998 if eval "test \"\${$as_ac_var+set}\" = set"; then
11999 echo $ECHO_N "(cached) $ECHO_C" >&6
12000 else
12001 if test x$gcc_no_link = xyes; then
12002 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12003 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12004 { (exit 1); exit 1; }; }
12006 cat >conftest.$ac_ext <<_ACEOF
12007 /* confdefs.h. */
12008 _ACEOF
12009 cat confdefs.h >>conftest.$ac_ext
12010 cat >>conftest.$ac_ext <<_ACEOF
12011 /* end confdefs.h. */
12012 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12013 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12014 #define $ac_func innocuous_$ac_func
12016 /* System header to define __stub macros and hopefully few prototypes,
12017 which can conflict with char $ac_func (); below.
12018 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12019 <limits.h> exists even on freestanding compilers. */
12021 #ifdef __STDC__
12022 # include <limits.h>
12023 #else
12024 # include <assert.h>
12025 #endif
12027 #undef $ac_func
12029 /* Override any gcc2 internal prototype to avoid an error. */
12030 #ifdef __cplusplus
12031 extern "C"
12033 #endif
12034 /* We use char because int might match the return type of a gcc2
12035 builtin and then its argument prototype would still apply. */
12036 char $ac_func ();
12037 /* The GNU C library defines this for functions which it implements
12038 to always fail with ENOSYS. Some functions are actually named
12039 something starting with __ and the normal name is an alias. */
12040 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12041 choke me
12042 #else
12043 char (*f) () = $ac_func;
12044 #endif
12045 #ifdef __cplusplus
12047 #endif
12050 main ()
12052 return f != $ac_func;
12054 return 0;
12056 _ACEOF
12057 rm -f conftest.$ac_objext conftest$ac_exeext
12058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12059 (eval $ac_link) 2>conftest.er1
12060 ac_status=$?
12061 grep -v '^ *+' conftest.er1 >conftest.err
12062 rm -f conftest.er1
12063 cat conftest.err >&5
12064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12065 (exit $ac_status); } &&
12066 { ac_try='test -z "$ac_c_werror_flag"
12067 || test ! -s conftest.err'
12068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12069 (eval $ac_try) 2>&5
12070 ac_status=$?
12071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12072 (exit $ac_status); }; } &&
12073 { ac_try='test -s conftest$ac_exeext'
12074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12075 (eval $ac_try) 2>&5
12076 ac_status=$?
12077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12078 (exit $ac_status); }; }; then
12079 eval "$as_ac_var=yes"
12080 else
12081 echo "$as_me: failed program was:" >&5
12082 sed 's/^/| /' conftest.$ac_ext >&5
12084 eval "$as_ac_var=no"
12086 rm -f conftest.err conftest.$ac_objext \
12087 conftest$ac_exeext conftest.$ac_ext
12089 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12090 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12091 if test `eval echo '${'$as_ac_var'}'` = yes; then
12092 cat >>confdefs.h <<_ACEOF
12093 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12094 _ACEOF
12097 done
12099 else
12100 echo "$as_me:$LINENO: checking for _float round functions" >&5
12101 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
12102 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
12103 echo $ECHO_N "(cached) $ECHO_C" >&6
12104 else
12108 ac_ext=cc
12109 ac_cpp='$CXXCPP $CPPFLAGS'
12110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12114 cat >conftest.$ac_ext <<_ACEOF
12115 /* confdefs.h. */
12116 _ACEOF
12117 cat confdefs.h >>conftest.$ac_ext
12118 cat >>conftest.$ac_ext <<_ACEOF
12119 /* end confdefs.h. */
12120 #include <math.h>
12122 main ()
12124 _ceilf (0); _floorf (0);
12126 return 0;
12128 _ACEOF
12129 rm -f conftest.$ac_objext
12130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12131 (eval $ac_compile) 2>conftest.er1
12132 ac_status=$?
12133 grep -v '^ *+' conftest.er1 >conftest.err
12134 rm -f conftest.er1
12135 cat conftest.err >&5
12136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12137 (exit $ac_status); } &&
12138 { ac_try='test -z "$ac_cxx_werror_flag"
12139 || test ! -s conftest.err'
12140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12141 (eval $ac_try) 2>&5
12142 ac_status=$?
12143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12144 (exit $ac_status); }; } &&
12145 { ac_try='test -s conftest.$ac_objext'
12146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12147 (eval $ac_try) 2>&5
12148 ac_status=$?
12149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12150 (exit $ac_status); }; }; then
12151 glibcxx_cv_func__float_round_use=yes
12152 else
12153 echo "$as_me: failed program was:" >&5
12154 sed 's/^/| /' conftest.$ac_ext >&5
12156 glibcxx_cv_func__float_round_use=no
12158 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12159 ac_ext=c
12160 ac_cpp='$CPP $CPPFLAGS'
12161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12167 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
12168 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
12169 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
12172 for ac_func in _ceilf _floorf
12174 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12175 echo "$as_me:$LINENO: checking for $ac_func" >&5
12176 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12177 if eval "test \"\${$as_ac_var+set}\" = set"; then
12178 echo $ECHO_N "(cached) $ECHO_C" >&6
12179 else
12180 if test x$gcc_no_link = xyes; then
12181 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12182 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12183 { (exit 1); exit 1; }; }
12185 cat >conftest.$ac_ext <<_ACEOF
12186 /* confdefs.h. */
12187 _ACEOF
12188 cat confdefs.h >>conftest.$ac_ext
12189 cat >>conftest.$ac_ext <<_ACEOF
12190 /* end confdefs.h. */
12191 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12192 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12193 #define $ac_func innocuous_$ac_func
12195 /* System header to define __stub macros and hopefully few prototypes,
12196 which can conflict with char $ac_func (); below.
12197 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12198 <limits.h> exists even on freestanding compilers. */
12200 #ifdef __STDC__
12201 # include <limits.h>
12202 #else
12203 # include <assert.h>
12204 #endif
12206 #undef $ac_func
12208 /* Override any gcc2 internal prototype to avoid an error. */
12209 #ifdef __cplusplus
12210 extern "C"
12212 #endif
12213 /* We use char because int might match the return type of a gcc2
12214 builtin and then its argument prototype would still apply. */
12215 char $ac_func ();
12216 /* The GNU C library defines this for functions which it implements
12217 to always fail with ENOSYS. Some functions are actually named
12218 something starting with __ and the normal name is an alias. */
12219 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12220 choke me
12221 #else
12222 char (*f) () = $ac_func;
12223 #endif
12224 #ifdef __cplusplus
12226 #endif
12229 main ()
12231 return f != $ac_func;
12233 return 0;
12235 _ACEOF
12236 rm -f conftest.$ac_objext conftest$ac_exeext
12237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12238 (eval $ac_link) 2>conftest.er1
12239 ac_status=$?
12240 grep -v '^ *+' conftest.er1 >conftest.err
12241 rm -f conftest.er1
12242 cat conftest.err >&5
12243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12244 (exit $ac_status); } &&
12245 { ac_try='test -z "$ac_c_werror_flag"
12246 || test ! -s conftest.err'
12247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12248 (eval $ac_try) 2>&5
12249 ac_status=$?
12250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12251 (exit $ac_status); }; } &&
12252 { ac_try='test -s conftest$ac_exeext'
12253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12254 (eval $ac_try) 2>&5
12255 ac_status=$?
12256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12257 (exit $ac_status); }; }; then
12258 eval "$as_ac_var=yes"
12259 else
12260 echo "$as_me: failed program was:" >&5
12261 sed 's/^/| /' conftest.$ac_ext >&5
12263 eval "$as_ac_var=no"
12265 rm -f conftest.err conftest.$ac_objext \
12266 conftest$ac_exeext conftest.$ac_ext
12268 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12269 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12270 if test `eval echo '${'$as_ac_var'}'` = yes; then
12271 cat >>confdefs.h <<_ACEOF
12272 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12273 _ACEOF
12276 done
12288 echo "$as_me:$LINENO: checking for expf declaration" >&5
12289 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
12290 if test x${glibcxx_cv_func_expf_use+set} != xset; then
12291 if test "${glibcxx_cv_func_expf_use+set}" = set; then
12292 echo $ECHO_N "(cached) $ECHO_C" >&6
12293 else
12297 ac_ext=cc
12298 ac_cpp='$CXXCPP $CPPFLAGS'
12299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12303 cat >conftest.$ac_ext <<_ACEOF
12304 /* confdefs.h. */
12305 _ACEOF
12306 cat confdefs.h >>conftest.$ac_ext
12307 cat >>conftest.$ac_ext <<_ACEOF
12308 /* end confdefs.h. */
12309 #include <math.h>
12310 #ifdef HAVE_IEEEFP_H
12311 #include <ieeefp.h>
12312 #endif
12315 main ()
12317 expf(0);
12319 return 0;
12321 _ACEOF
12322 rm -f conftest.$ac_objext
12323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12324 (eval $ac_compile) 2>conftest.er1
12325 ac_status=$?
12326 grep -v '^ *+' conftest.er1 >conftest.err
12327 rm -f conftest.er1
12328 cat conftest.err >&5
12329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12330 (exit $ac_status); } &&
12331 { ac_try='test -z "$ac_cxx_werror_flag"
12332 || test ! -s conftest.err'
12333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12334 (eval $ac_try) 2>&5
12335 ac_status=$?
12336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12337 (exit $ac_status); }; } &&
12338 { ac_try='test -s conftest.$ac_objext'
12339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12340 (eval $ac_try) 2>&5
12341 ac_status=$?
12342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12343 (exit $ac_status); }; }; then
12344 glibcxx_cv_func_expf_use=yes
12345 else
12346 echo "$as_me: failed program was:" >&5
12347 sed 's/^/| /' conftest.$ac_ext >&5
12349 glibcxx_cv_func_expf_use=no
12351 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12352 ac_ext=c
12353 ac_cpp='$CPP $CPPFLAGS'
12354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12362 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
12363 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
12365 if test x$glibcxx_cv_func_expf_use = x"yes"; then
12367 for ac_func in expf
12369 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12370 echo "$as_me:$LINENO: checking for $ac_func" >&5
12371 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12372 if eval "test \"\${$as_ac_var+set}\" = set"; then
12373 echo $ECHO_N "(cached) $ECHO_C" >&6
12374 else
12375 if test x$gcc_no_link = xyes; then
12376 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12377 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12378 { (exit 1); exit 1; }; }
12380 cat >conftest.$ac_ext <<_ACEOF
12381 /* confdefs.h. */
12382 _ACEOF
12383 cat confdefs.h >>conftest.$ac_ext
12384 cat >>conftest.$ac_ext <<_ACEOF
12385 /* end confdefs.h. */
12386 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12387 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12388 #define $ac_func innocuous_$ac_func
12390 /* System header to define __stub macros and hopefully few prototypes,
12391 which can conflict with char $ac_func (); below.
12392 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12393 <limits.h> exists even on freestanding compilers. */
12395 #ifdef __STDC__
12396 # include <limits.h>
12397 #else
12398 # include <assert.h>
12399 #endif
12401 #undef $ac_func
12403 /* Override any gcc2 internal prototype to avoid an error. */
12404 #ifdef __cplusplus
12405 extern "C"
12407 #endif
12408 /* We use char because int might match the return type of a gcc2
12409 builtin and then its argument prototype would still apply. */
12410 char $ac_func ();
12411 /* The GNU C library defines this for functions which it implements
12412 to always fail with ENOSYS. Some functions are actually named
12413 something starting with __ and the normal name is an alias. */
12414 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12415 choke me
12416 #else
12417 char (*f) () = $ac_func;
12418 #endif
12419 #ifdef __cplusplus
12421 #endif
12424 main ()
12426 return f != $ac_func;
12428 return 0;
12430 _ACEOF
12431 rm -f conftest.$ac_objext conftest$ac_exeext
12432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12433 (eval $ac_link) 2>conftest.er1
12434 ac_status=$?
12435 grep -v '^ *+' conftest.er1 >conftest.err
12436 rm -f conftest.er1
12437 cat conftest.err >&5
12438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12439 (exit $ac_status); } &&
12440 { ac_try='test -z "$ac_c_werror_flag"
12441 || test ! -s conftest.err'
12442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12443 (eval $ac_try) 2>&5
12444 ac_status=$?
12445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12446 (exit $ac_status); }; } &&
12447 { ac_try='test -s conftest$ac_exeext'
12448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12449 (eval $ac_try) 2>&5
12450 ac_status=$?
12451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12452 (exit $ac_status); }; }; then
12453 eval "$as_ac_var=yes"
12454 else
12455 echo "$as_me: failed program was:" >&5
12456 sed 's/^/| /' conftest.$ac_ext >&5
12458 eval "$as_ac_var=no"
12460 rm -f conftest.err conftest.$ac_objext \
12461 conftest$ac_exeext conftest.$ac_ext
12463 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12464 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12465 if test `eval echo '${'$as_ac_var'}'` = yes; then
12466 cat >>confdefs.h <<_ACEOF
12467 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12468 _ACEOF
12471 done
12473 else
12475 echo "$as_me:$LINENO: checking for _expf declaration" >&5
12476 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
12477 if test x${glibcxx_cv_func__expf_use+set} != xset; then
12478 if test "${glibcxx_cv_func__expf_use+set}" = set; then
12479 echo $ECHO_N "(cached) $ECHO_C" >&6
12480 else
12484 ac_ext=cc
12485 ac_cpp='$CXXCPP $CPPFLAGS'
12486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12490 cat >conftest.$ac_ext <<_ACEOF
12491 /* confdefs.h. */
12492 _ACEOF
12493 cat confdefs.h >>conftest.$ac_ext
12494 cat >>conftest.$ac_ext <<_ACEOF
12495 /* end confdefs.h. */
12496 #include <math.h>
12497 #ifdef HAVE_IEEEFP_H
12498 #include <ieeefp.h>
12499 #endif
12502 main ()
12504 _expf(0);
12506 return 0;
12508 _ACEOF
12509 rm -f conftest.$ac_objext
12510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12511 (eval $ac_compile) 2>conftest.er1
12512 ac_status=$?
12513 grep -v '^ *+' conftest.er1 >conftest.err
12514 rm -f conftest.er1
12515 cat conftest.err >&5
12516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12517 (exit $ac_status); } &&
12518 { ac_try='test -z "$ac_cxx_werror_flag"
12519 || test ! -s conftest.err'
12520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12521 (eval $ac_try) 2>&5
12522 ac_status=$?
12523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12524 (exit $ac_status); }; } &&
12525 { ac_try='test -s conftest.$ac_objext'
12526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12527 (eval $ac_try) 2>&5
12528 ac_status=$?
12529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12530 (exit $ac_status); }; }; then
12531 glibcxx_cv_func__expf_use=yes
12532 else
12533 echo "$as_me: failed program was:" >&5
12534 sed 's/^/| /' conftest.$ac_ext >&5
12536 glibcxx_cv_func__expf_use=no
12538 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12539 ac_ext=c
12540 ac_cpp='$CPP $CPPFLAGS'
12541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12549 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
12550 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
12552 if test x$glibcxx_cv_func__expf_use = x"yes"; then
12554 for ac_func in _expf
12556 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12557 echo "$as_me:$LINENO: checking for $ac_func" >&5
12558 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12559 if eval "test \"\${$as_ac_var+set}\" = set"; then
12560 echo $ECHO_N "(cached) $ECHO_C" >&6
12561 else
12562 if test x$gcc_no_link = xyes; then
12563 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12564 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12565 { (exit 1); exit 1; }; }
12567 cat >conftest.$ac_ext <<_ACEOF
12568 /* confdefs.h. */
12569 _ACEOF
12570 cat confdefs.h >>conftest.$ac_ext
12571 cat >>conftest.$ac_ext <<_ACEOF
12572 /* end confdefs.h. */
12573 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12574 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12575 #define $ac_func innocuous_$ac_func
12577 /* System header to define __stub macros and hopefully few prototypes,
12578 which can conflict with char $ac_func (); below.
12579 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12580 <limits.h> exists even on freestanding compilers. */
12582 #ifdef __STDC__
12583 # include <limits.h>
12584 #else
12585 # include <assert.h>
12586 #endif
12588 #undef $ac_func
12590 /* Override any gcc2 internal prototype to avoid an error. */
12591 #ifdef __cplusplus
12592 extern "C"
12594 #endif
12595 /* We use char because int might match the return type of a gcc2
12596 builtin and then its argument prototype would still apply. */
12597 char $ac_func ();
12598 /* The GNU C library defines this for functions which it implements
12599 to always fail with ENOSYS. Some functions are actually named
12600 something starting with __ and the normal name is an alias. */
12601 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12602 choke me
12603 #else
12604 char (*f) () = $ac_func;
12605 #endif
12606 #ifdef __cplusplus
12608 #endif
12611 main ()
12613 return f != $ac_func;
12615 return 0;
12617 _ACEOF
12618 rm -f conftest.$ac_objext conftest$ac_exeext
12619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12620 (eval $ac_link) 2>conftest.er1
12621 ac_status=$?
12622 grep -v '^ *+' conftest.er1 >conftest.err
12623 rm -f conftest.er1
12624 cat conftest.err >&5
12625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12626 (exit $ac_status); } &&
12627 { ac_try='test -z "$ac_c_werror_flag"
12628 || test ! -s conftest.err'
12629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12630 (eval $ac_try) 2>&5
12631 ac_status=$?
12632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12633 (exit $ac_status); }; } &&
12634 { ac_try='test -s conftest$ac_exeext'
12635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12636 (eval $ac_try) 2>&5
12637 ac_status=$?
12638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12639 (exit $ac_status); }; }; then
12640 eval "$as_ac_var=yes"
12641 else
12642 echo "$as_me: failed program was:" >&5
12643 sed 's/^/| /' conftest.$ac_ext >&5
12645 eval "$as_ac_var=no"
12647 rm -f conftest.err conftest.$ac_objext \
12648 conftest$ac_exeext conftest.$ac_ext
12650 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12651 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12652 if test `eval echo '${'$as_ac_var'}'` = yes; then
12653 cat >>confdefs.h <<_ACEOF
12654 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12655 _ACEOF
12658 done
12668 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
12669 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
12670 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
12671 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
12672 echo $ECHO_N "(cached) $ECHO_C" >&6
12673 else
12677 ac_ext=cc
12678 ac_cpp='$CXXCPP $CPPFLAGS'
12679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12683 cat >conftest.$ac_ext <<_ACEOF
12684 /* confdefs.h. */
12685 _ACEOF
12686 cat confdefs.h >>conftest.$ac_ext
12687 cat >>conftest.$ac_ext <<_ACEOF
12688 /* end confdefs.h. */
12689 #include <math.h>
12690 #ifdef HAVE_IEEEFP_H
12691 #include <ieeefp.h>
12692 #endif
12695 main ()
12697 isnanf(0);
12699 return 0;
12701 _ACEOF
12702 rm -f conftest.$ac_objext
12703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12704 (eval $ac_compile) 2>conftest.er1
12705 ac_status=$?
12706 grep -v '^ *+' conftest.er1 >conftest.err
12707 rm -f conftest.er1
12708 cat conftest.err >&5
12709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12710 (exit $ac_status); } &&
12711 { ac_try='test -z "$ac_cxx_werror_flag"
12712 || test ! -s conftest.err'
12713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12714 (eval $ac_try) 2>&5
12715 ac_status=$?
12716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12717 (exit $ac_status); }; } &&
12718 { ac_try='test -s conftest.$ac_objext'
12719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12720 (eval $ac_try) 2>&5
12721 ac_status=$?
12722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12723 (exit $ac_status); }; }; then
12724 glibcxx_cv_func_isnanf_use=yes
12725 else
12726 echo "$as_me: failed program was:" >&5
12727 sed 's/^/| /' conftest.$ac_ext >&5
12729 glibcxx_cv_func_isnanf_use=no
12731 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12732 ac_ext=c
12733 ac_cpp='$CPP $CPPFLAGS'
12734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12742 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
12743 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
12745 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
12747 for ac_func in isnanf
12749 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12750 echo "$as_me:$LINENO: checking for $ac_func" >&5
12751 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12752 if eval "test \"\${$as_ac_var+set}\" = set"; then
12753 echo $ECHO_N "(cached) $ECHO_C" >&6
12754 else
12755 if test x$gcc_no_link = xyes; then
12756 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12757 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12758 { (exit 1); exit 1; }; }
12760 cat >conftest.$ac_ext <<_ACEOF
12761 /* confdefs.h. */
12762 _ACEOF
12763 cat confdefs.h >>conftest.$ac_ext
12764 cat >>conftest.$ac_ext <<_ACEOF
12765 /* end confdefs.h. */
12766 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12767 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12768 #define $ac_func innocuous_$ac_func
12770 /* System header to define __stub macros and hopefully few prototypes,
12771 which can conflict with char $ac_func (); below.
12772 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12773 <limits.h> exists even on freestanding compilers. */
12775 #ifdef __STDC__
12776 # include <limits.h>
12777 #else
12778 # include <assert.h>
12779 #endif
12781 #undef $ac_func
12783 /* Override any gcc2 internal prototype to avoid an error. */
12784 #ifdef __cplusplus
12785 extern "C"
12787 #endif
12788 /* We use char because int might match the return type of a gcc2
12789 builtin and then its argument prototype would still apply. */
12790 char $ac_func ();
12791 /* The GNU C library defines this for functions which it implements
12792 to always fail with ENOSYS. Some functions are actually named
12793 something starting with __ and the normal name is an alias. */
12794 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12795 choke me
12796 #else
12797 char (*f) () = $ac_func;
12798 #endif
12799 #ifdef __cplusplus
12801 #endif
12804 main ()
12806 return f != $ac_func;
12808 return 0;
12810 _ACEOF
12811 rm -f conftest.$ac_objext conftest$ac_exeext
12812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12813 (eval $ac_link) 2>conftest.er1
12814 ac_status=$?
12815 grep -v '^ *+' conftest.er1 >conftest.err
12816 rm -f conftest.er1
12817 cat conftest.err >&5
12818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12819 (exit $ac_status); } &&
12820 { ac_try='test -z "$ac_c_werror_flag"
12821 || test ! -s conftest.err'
12822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12823 (eval $ac_try) 2>&5
12824 ac_status=$?
12825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12826 (exit $ac_status); }; } &&
12827 { ac_try='test -s conftest$ac_exeext'
12828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12829 (eval $ac_try) 2>&5
12830 ac_status=$?
12831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12832 (exit $ac_status); }; }; then
12833 eval "$as_ac_var=yes"
12834 else
12835 echo "$as_me: failed program was:" >&5
12836 sed 's/^/| /' conftest.$ac_ext >&5
12838 eval "$as_ac_var=no"
12840 rm -f conftest.err conftest.$ac_objext \
12841 conftest$ac_exeext conftest.$ac_ext
12843 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12844 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12845 if test `eval echo '${'$as_ac_var'}'` = yes; then
12846 cat >>confdefs.h <<_ACEOF
12847 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12848 _ACEOF
12851 done
12853 else
12855 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
12856 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
12857 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
12858 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
12859 echo $ECHO_N "(cached) $ECHO_C" >&6
12860 else
12864 ac_ext=cc
12865 ac_cpp='$CXXCPP $CPPFLAGS'
12866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12870 cat >conftest.$ac_ext <<_ACEOF
12871 /* confdefs.h. */
12872 _ACEOF
12873 cat confdefs.h >>conftest.$ac_ext
12874 cat >>conftest.$ac_ext <<_ACEOF
12875 /* end confdefs.h. */
12876 #include <math.h>
12877 #ifdef HAVE_IEEEFP_H
12878 #include <ieeefp.h>
12879 #endif
12882 main ()
12884 _isnanf(0);
12886 return 0;
12888 _ACEOF
12889 rm -f conftest.$ac_objext
12890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12891 (eval $ac_compile) 2>conftest.er1
12892 ac_status=$?
12893 grep -v '^ *+' conftest.er1 >conftest.err
12894 rm -f conftest.er1
12895 cat conftest.err >&5
12896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12897 (exit $ac_status); } &&
12898 { ac_try='test -z "$ac_cxx_werror_flag"
12899 || test ! -s conftest.err'
12900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12901 (eval $ac_try) 2>&5
12902 ac_status=$?
12903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12904 (exit $ac_status); }; } &&
12905 { ac_try='test -s conftest.$ac_objext'
12906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12907 (eval $ac_try) 2>&5
12908 ac_status=$?
12909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12910 (exit $ac_status); }; }; then
12911 glibcxx_cv_func__isnanf_use=yes
12912 else
12913 echo "$as_me: failed program was:" >&5
12914 sed 's/^/| /' conftest.$ac_ext >&5
12916 glibcxx_cv_func__isnanf_use=no
12918 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12919 ac_ext=c
12920 ac_cpp='$CPP $CPPFLAGS'
12921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12929 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
12930 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
12932 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
12934 for ac_func in _isnanf
12936 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12937 echo "$as_me:$LINENO: checking for $ac_func" >&5
12938 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12939 if eval "test \"\${$as_ac_var+set}\" = set"; then
12940 echo $ECHO_N "(cached) $ECHO_C" >&6
12941 else
12942 if test x$gcc_no_link = xyes; then
12943 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12944 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12945 { (exit 1); exit 1; }; }
12947 cat >conftest.$ac_ext <<_ACEOF
12948 /* confdefs.h. */
12949 _ACEOF
12950 cat confdefs.h >>conftest.$ac_ext
12951 cat >>conftest.$ac_ext <<_ACEOF
12952 /* end confdefs.h. */
12953 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12954 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12955 #define $ac_func innocuous_$ac_func
12957 /* System header to define __stub macros and hopefully few prototypes,
12958 which can conflict with char $ac_func (); below.
12959 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12960 <limits.h> exists even on freestanding compilers. */
12962 #ifdef __STDC__
12963 # include <limits.h>
12964 #else
12965 # include <assert.h>
12966 #endif
12968 #undef $ac_func
12970 /* Override any gcc2 internal prototype to avoid an error. */
12971 #ifdef __cplusplus
12972 extern "C"
12974 #endif
12975 /* We use char because int might match the return type of a gcc2
12976 builtin and then its argument prototype would still apply. */
12977 char $ac_func ();
12978 /* The GNU C library defines this for functions which it implements
12979 to always fail with ENOSYS. Some functions are actually named
12980 something starting with __ and the normal name is an alias. */
12981 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12982 choke me
12983 #else
12984 char (*f) () = $ac_func;
12985 #endif
12986 #ifdef __cplusplus
12988 #endif
12991 main ()
12993 return f != $ac_func;
12995 return 0;
12997 _ACEOF
12998 rm -f conftest.$ac_objext conftest$ac_exeext
12999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13000 (eval $ac_link) 2>conftest.er1
13001 ac_status=$?
13002 grep -v '^ *+' conftest.er1 >conftest.err
13003 rm -f conftest.er1
13004 cat conftest.err >&5
13005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13006 (exit $ac_status); } &&
13007 { ac_try='test -z "$ac_c_werror_flag"
13008 || test ! -s conftest.err'
13009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13010 (eval $ac_try) 2>&5
13011 ac_status=$?
13012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13013 (exit $ac_status); }; } &&
13014 { ac_try='test -s conftest$ac_exeext'
13015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13016 (eval $ac_try) 2>&5
13017 ac_status=$?
13018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13019 (exit $ac_status); }; }; then
13020 eval "$as_ac_var=yes"
13021 else
13022 echo "$as_me: failed program was:" >&5
13023 sed 's/^/| /' conftest.$ac_ext >&5
13025 eval "$as_ac_var=no"
13027 rm -f conftest.err conftest.$ac_objext \
13028 conftest$ac_exeext conftest.$ac_ext
13030 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13031 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13032 if test `eval echo '${'$as_ac_var'}'` = yes; then
13033 cat >>confdefs.h <<_ACEOF
13034 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13035 _ACEOF
13038 done
13048 echo "$as_me:$LINENO: checking for isinff declaration" >&5
13049 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
13050 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
13051 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
13052 echo $ECHO_N "(cached) $ECHO_C" >&6
13053 else
13057 ac_ext=cc
13058 ac_cpp='$CXXCPP $CPPFLAGS'
13059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13063 cat >conftest.$ac_ext <<_ACEOF
13064 /* confdefs.h. */
13065 _ACEOF
13066 cat confdefs.h >>conftest.$ac_ext
13067 cat >>conftest.$ac_ext <<_ACEOF
13068 /* end confdefs.h. */
13069 #include <math.h>
13070 #ifdef HAVE_IEEEFP_H
13071 #include <ieeefp.h>
13072 #endif
13075 main ()
13077 isinff(0);
13079 return 0;
13081 _ACEOF
13082 rm -f conftest.$ac_objext
13083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13084 (eval $ac_compile) 2>conftest.er1
13085 ac_status=$?
13086 grep -v '^ *+' conftest.er1 >conftest.err
13087 rm -f conftest.er1
13088 cat conftest.err >&5
13089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13090 (exit $ac_status); } &&
13091 { ac_try='test -z "$ac_cxx_werror_flag"
13092 || test ! -s conftest.err'
13093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13094 (eval $ac_try) 2>&5
13095 ac_status=$?
13096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13097 (exit $ac_status); }; } &&
13098 { ac_try='test -s conftest.$ac_objext'
13099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13100 (eval $ac_try) 2>&5
13101 ac_status=$?
13102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13103 (exit $ac_status); }; }; then
13104 glibcxx_cv_func_isinff_use=yes
13105 else
13106 echo "$as_me: failed program was:" >&5
13107 sed 's/^/| /' conftest.$ac_ext >&5
13109 glibcxx_cv_func_isinff_use=no
13111 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13112 ac_ext=c
13113 ac_cpp='$CPP $CPPFLAGS'
13114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13122 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
13123 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
13125 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
13127 for ac_func in isinff
13129 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13130 echo "$as_me:$LINENO: checking for $ac_func" >&5
13131 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13132 if eval "test \"\${$as_ac_var+set}\" = set"; then
13133 echo $ECHO_N "(cached) $ECHO_C" >&6
13134 else
13135 if test x$gcc_no_link = xyes; then
13136 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13137 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13138 { (exit 1); exit 1; }; }
13140 cat >conftest.$ac_ext <<_ACEOF
13141 /* confdefs.h. */
13142 _ACEOF
13143 cat confdefs.h >>conftest.$ac_ext
13144 cat >>conftest.$ac_ext <<_ACEOF
13145 /* end confdefs.h. */
13146 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13147 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13148 #define $ac_func innocuous_$ac_func
13150 /* System header to define __stub macros and hopefully few prototypes,
13151 which can conflict with char $ac_func (); below.
13152 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13153 <limits.h> exists even on freestanding compilers. */
13155 #ifdef __STDC__
13156 # include <limits.h>
13157 #else
13158 # include <assert.h>
13159 #endif
13161 #undef $ac_func
13163 /* Override any gcc2 internal prototype to avoid an error. */
13164 #ifdef __cplusplus
13165 extern "C"
13167 #endif
13168 /* We use char because int might match the return type of a gcc2
13169 builtin and then its argument prototype would still apply. */
13170 char $ac_func ();
13171 /* The GNU C library defines this for functions which it implements
13172 to always fail with ENOSYS. Some functions are actually named
13173 something starting with __ and the normal name is an alias. */
13174 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13175 choke me
13176 #else
13177 char (*f) () = $ac_func;
13178 #endif
13179 #ifdef __cplusplus
13181 #endif
13184 main ()
13186 return f != $ac_func;
13188 return 0;
13190 _ACEOF
13191 rm -f conftest.$ac_objext conftest$ac_exeext
13192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13193 (eval $ac_link) 2>conftest.er1
13194 ac_status=$?
13195 grep -v '^ *+' conftest.er1 >conftest.err
13196 rm -f conftest.er1
13197 cat conftest.err >&5
13198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13199 (exit $ac_status); } &&
13200 { ac_try='test -z "$ac_c_werror_flag"
13201 || test ! -s conftest.err'
13202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13203 (eval $ac_try) 2>&5
13204 ac_status=$?
13205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13206 (exit $ac_status); }; } &&
13207 { ac_try='test -s conftest$ac_exeext'
13208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13209 (eval $ac_try) 2>&5
13210 ac_status=$?
13211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13212 (exit $ac_status); }; }; then
13213 eval "$as_ac_var=yes"
13214 else
13215 echo "$as_me: failed program was:" >&5
13216 sed 's/^/| /' conftest.$ac_ext >&5
13218 eval "$as_ac_var=no"
13220 rm -f conftest.err conftest.$ac_objext \
13221 conftest$ac_exeext conftest.$ac_ext
13223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13224 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13225 if test `eval echo '${'$as_ac_var'}'` = yes; then
13226 cat >>confdefs.h <<_ACEOF
13227 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13228 _ACEOF
13231 done
13233 else
13235 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
13236 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
13237 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
13238 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
13239 echo $ECHO_N "(cached) $ECHO_C" >&6
13240 else
13244 ac_ext=cc
13245 ac_cpp='$CXXCPP $CPPFLAGS'
13246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13250 cat >conftest.$ac_ext <<_ACEOF
13251 /* confdefs.h. */
13252 _ACEOF
13253 cat confdefs.h >>conftest.$ac_ext
13254 cat >>conftest.$ac_ext <<_ACEOF
13255 /* end confdefs.h. */
13256 #include <math.h>
13257 #ifdef HAVE_IEEEFP_H
13258 #include <ieeefp.h>
13259 #endif
13262 main ()
13264 _isinff(0);
13266 return 0;
13268 _ACEOF
13269 rm -f conftest.$ac_objext
13270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13271 (eval $ac_compile) 2>conftest.er1
13272 ac_status=$?
13273 grep -v '^ *+' conftest.er1 >conftest.err
13274 rm -f conftest.er1
13275 cat conftest.err >&5
13276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13277 (exit $ac_status); } &&
13278 { ac_try='test -z "$ac_cxx_werror_flag"
13279 || test ! -s conftest.err'
13280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13281 (eval $ac_try) 2>&5
13282 ac_status=$?
13283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13284 (exit $ac_status); }; } &&
13285 { ac_try='test -s conftest.$ac_objext'
13286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13287 (eval $ac_try) 2>&5
13288 ac_status=$?
13289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13290 (exit $ac_status); }; }; then
13291 glibcxx_cv_func__isinff_use=yes
13292 else
13293 echo "$as_me: failed program was:" >&5
13294 sed 's/^/| /' conftest.$ac_ext >&5
13296 glibcxx_cv_func__isinff_use=no
13298 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13299 ac_ext=c
13300 ac_cpp='$CPP $CPPFLAGS'
13301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13309 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
13310 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
13312 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
13314 for ac_func in _isinff
13316 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13317 echo "$as_me:$LINENO: checking for $ac_func" >&5
13318 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13319 if eval "test \"\${$as_ac_var+set}\" = set"; then
13320 echo $ECHO_N "(cached) $ECHO_C" >&6
13321 else
13322 if test x$gcc_no_link = xyes; then
13323 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13324 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13325 { (exit 1); exit 1; }; }
13327 cat >conftest.$ac_ext <<_ACEOF
13328 /* confdefs.h. */
13329 _ACEOF
13330 cat confdefs.h >>conftest.$ac_ext
13331 cat >>conftest.$ac_ext <<_ACEOF
13332 /* end confdefs.h. */
13333 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13334 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13335 #define $ac_func innocuous_$ac_func
13337 /* System header to define __stub macros and hopefully few prototypes,
13338 which can conflict with char $ac_func (); below.
13339 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13340 <limits.h> exists even on freestanding compilers. */
13342 #ifdef __STDC__
13343 # include <limits.h>
13344 #else
13345 # include <assert.h>
13346 #endif
13348 #undef $ac_func
13350 /* Override any gcc2 internal prototype to avoid an error. */
13351 #ifdef __cplusplus
13352 extern "C"
13354 #endif
13355 /* We use char because int might match the return type of a gcc2
13356 builtin and then its argument prototype would still apply. */
13357 char $ac_func ();
13358 /* The GNU C library defines this for functions which it implements
13359 to always fail with ENOSYS. Some functions are actually named
13360 something starting with __ and the normal name is an alias. */
13361 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13362 choke me
13363 #else
13364 char (*f) () = $ac_func;
13365 #endif
13366 #ifdef __cplusplus
13368 #endif
13371 main ()
13373 return f != $ac_func;
13375 return 0;
13377 _ACEOF
13378 rm -f conftest.$ac_objext conftest$ac_exeext
13379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13380 (eval $ac_link) 2>conftest.er1
13381 ac_status=$?
13382 grep -v '^ *+' conftest.er1 >conftest.err
13383 rm -f conftest.er1
13384 cat conftest.err >&5
13385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13386 (exit $ac_status); } &&
13387 { ac_try='test -z "$ac_c_werror_flag"
13388 || test ! -s conftest.err'
13389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13390 (eval $ac_try) 2>&5
13391 ac_status=$?
13392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13393 (exit $ac_status); }; } &&
13394 { ac_try='test -s conftest$ac_exeext'
13395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13396 (eval $ac_try) 2>&5
13397 ac_status=$?
13398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13399 (exit $ac_status); }; }; then
13400 eval "$as_ac_var=yes"
13401 else
13402 echo "$as_me: failed program was:" >&5
13403 sed 's/^/| /' conftest.$ac_ext >&5
13405 eval "$as_ac_var=no"
13407 rm -f conftest.err conftest.$ac_objext \
13408 conftest$ac_exeext conftest.$ac_ext
13410 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13411 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13412 if test `eval echo '${'$as_ac_var'}'` = yes; then
13413 cat >>confdefs.h <<_ACEOF
13414 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13415 _ACEOF
13418 done
13428 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
13429 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
13430 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
13431 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
13432 echo $ECHO_N "(cached) $ECHO_C" >&6
13433 else
13437 ac_ext=cc
13438 ac_cpp='$CXXCPP $CPPFLAGS'
13439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13443 cat >conftest.$ac_ext <<_ACEOF
13444 /* confdefs.h. */
13445 _ACEOF
13446 cat confdefs.h >>conftest.$ac_ext
13447 cat >>conftest.$ac_ext <<_ACEOF
13448 /* end confdefs.h. */
13449 #include <math.h>
13451 main ()
13453 atan2f(0, 0);
13455 return 0;
13457 _ACEOF
13458 rm -f conftest.$ac_objext
13459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13460 (eval $ac_compile) 2>conftest.er1
13461 ac_status=$?
13462 grep -v '^ *+' conftest.er1 >conftest.err
13463 rm -f conftest.er1
13464 cat conftest.err >&5
13465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13466 (exit $ac_status); } &&
13467 { ac_try='test -z "$ac_cxx_werror_flag"
13468 || test ! -s conftest.err'
13469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13470 (eval $ac_try) 2>&5
13471 ac_status=$?
13472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13473 (exit $ac_status); }; } &&
13474 { ac_try='test -s conftest.$ac_objext'
13475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13476 (eval $ac_try) 2>&5
13477 ac_status=$?
13478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13479 (exit $ac_status); }; }; then
13480 glibcxx_cv_func_atan2f_use=yes
13481 else
13482 echo "$as_me: failed program was:" >&5
13483 sed 's/^/| /' conftest.$ac_ext >&5
13485 glibcxx_cv_func_atan2f_use=no
13487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13488 ac_ext=c
13489 ac_cpp='$CPP $CPPFLAGS'
13490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13498 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
13499 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
13501 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
13503 for ac_func in atan2f
13505 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13506 echo "$as_me:$LINENO: checking for $ac_func" >&5
13507 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13508 if eval "test \"\${$as_ac_var+set}\" = set"; then
13509 echo $ECHO_N "(cached) $ECHO_C" >&6
13510 else
13511 if test x$gcc_no_link = xyes; then
13512 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13513 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13514 { (exit 1); exit 1; }; }
13516 cat >conftest.$ac_ext <<_ACEOF
13517 /* confdefs.h. */
13518 _ACEOF
13519 cat confdefs.h >>conftest.$ac_ext
13520 cat >>conftest.$ac_ext <<_ACEOF
13521 /* end confdefs.h. */
13522 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13523 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13524 #define $ac_func innocuous_$ac_func
13526 /* System header to define __stub macros and hopefully few prototypes,
13527 which can conflict with char $ac_func (); below.
13528 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13529 <limits.h> exists even on freestanding compilers. */
13531 #ifdef __STDC__
13532 # include <limits.h>
13533 #else
13534 # include <assert.h>
13535 #endif
13537 #undef $ac_func
13539 /* Override any gcc2 internal prototype to avoid an error. */
13540 #ifdef __cplusplus
13541 extern "C"
13543 #endif
13544 /* We use char because int might match the return type of a gcc2
13545 builtin and then its argument prototype would still apply. */
13546 char $ac_func ();
13547 /* The GNU C library defines this for functions which it implements
13548 to always fail with ENOSYS. Some functions are actually named
13549 something starting with __ and the normal name is an alias. */
13550 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13551 choke me
13552 #else
13553 char (*f) () = $ac_func;
13554 #endif
13555 #ifdef __cplusplus
13557 #endif
13560 main ()
13562 return f != $ac_func;
13564 return 0;
13566 _ACEOF
13567 rm -f conftest.$ac_objext conftest$ac_exeext
13568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13569 (eval $ac_link) 2>conftest.er1
13570 ac_status=$?
13571 grep -v '^ *+' conftest.er1 >conftest.err
13572 rm -f conftest.er1
13573 cat conftest.err >&5
13574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13575 (exit $ac_status); } &&
13576 { ac_try='test -z "$ac_c_werror_flag"
13577 || test ! -s conftest.err'
13578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13579 (eval $ac_try) 2>&5
13580 ac_status=$?
13581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13582 (exit $ac_status); }; } &&
13583 { ac_try='test -s conftest$ac_exeext'
13584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13585 (eval $ac_try) 2>&5
13586 ac_status=$?
13587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13588 (exit $ac_status); }; }; then
13589 eval "$as_ac_var=yes"
13590 else
13591 echo "$as_me: failed program was:" >&5
13592 sed 's/^/| /' conftest.$ac_ext >&5
13594 eval "$as_ac_var=no"
13596 rm -f conftest.err conftest.$ac_objext \
13597 conftest$ac_exeext conftest.$ac_ext
13599 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13600 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13601 if test `eval echo '${'$as_ac_var'}'` = yes; then
13602 cat >>confdefs.h <<_ACEOF
13603 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13604 _ACEOF
13607 done
13609 else
13611 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
13612 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
13613 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
13614 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
13615 echo $ECHO_N "(cached) $ECHO_C" >&6
13616 else
13620 ac_ext=cc
13621 ac_cpp='$CXXCPP $CPPFLAGS'
13622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13626 cat >conftest.$ac_ext <<_ACEOF
13627 /* confdefs.h. */
13628 _ACEOF
13629 cat confdefs.h >>conftest.$ac_ext
13630 cat >>conftest.$ac_ext <<_ACEOF
13631 /* end confdefs.h. */
13632 #include <math.h>
13634 main ()
13636 _atan2f(0, 0);
13638 return 0;
13640 _ACEOF
13641 rm -f conftest.$ac_objext
13642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13643 (eval $ac_compile) 2>conftest.er1
13644 ac_status=$?
13645 grep -v '^ *+' conftest.er1 >conftest.err
13646 rm -f conftest.er1
13647 cat conftest.err >&5
13648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13649 (exit $ac_status); } &&
13650 { ac_try='test -z "$ac_cxx_werror_flag"
13651 || test ! -s conftest.err'
13652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13653 (eval $ac_try) 2>&5
13654 ac_status=$?
13655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13656 (exit $ac_status); }; } &&
13657 { ac_try='test -s conftest.$ac_objext'
13658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13659 (eval $ac_try) 2>&5
13660 ac_status=$?
13661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13662 (exit $ac_status); }; }; then
13663 glibcxx_cv_func__atan2f_use=yes
13664 else
13665 echo "$as_me: failed program was:" >&5
13666 sed 's/^/| /' conftest.$ac_ext >&5
13668 glibcxx_cv_func__atan2f_use=no
13670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13671 ac_ext=c
13672 ac_cpp='$CPP $CPPFLAGS'
13673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13681 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
13682 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
13684 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
13686 for ac_func in _atan2f
13688 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13689 echo "$as_me:$LINENO: checking for $ac_func" >&5
13690 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13691 if eval "test \"\${$as_ac_var+set}\" = set"; then
13692 echo $ECHO_N "(cached) $ECHO_C" >&6
13693 else
13694 if test x$gcc_no_link = xyes; then
13695 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13696 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13697 { (exit 1); exit 1; }; }
13699 cat >conftest.$ac_ext <<_ACEOF
13700 /* confdefs.h. */
13701 _ACEOF
13702 cat confdefs.h >>conftest.$ac_ext
13703 cat >>conftest.$ac_ext <<_ACEOF
13704 /* end confdefs.h. */
13705 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13706 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13707 #define $ac_func innocuous_$ac_func
13709 /* System header to define __stub macros and hopefully few prototypes,
13710 which can conflict with char $ac_func (); below.
13711 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13712 <limits.h> exists even on freestanding compilers. */
13714 #ifdef __STDC__
13715 # include <limits.h>
13716 #else
13717 # include <assert.h>
13718 #endif
13720 #undef $ac_func
13722 /* Override any gcc2 internal prototype to avoid an error. */
13723 #ifdef __cplusplus
13724 extern "C"
13726 #endif
13727 /* We use char because int might match the return type of a gcc2
13728 builtin and then its argument prototype would still apply. */
13729 char $ac_func ();
13730 /* The GNU C library defines this for functions which it implements
13731 to always fail with ENOSYS. Some functions are actually named
13732 something starting with __ and the normal name is an alias. */
13733 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13734 choke me
13735 #else
13736 char (*f) () = $ac_func;
13737 #endif
13738 #ifdef __cplusplus
13740 #endif
13743 main ()
13745 return f != $ac_func;
13747 return 0;
13749 _ACEOF
13750 rm -f conftest.$ac_objext conftest$ac_exeext
13751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13752 (eval $ac_link) 2>conftest.er1
13753 ac_status=$?
13754 grep -v '^ *+' conftest.er1 >conftest.err
13755 rm -f conftest.er1
13756 cat conftest.err >&5
13757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13758 (exit $ac_status); } &&
13759 { ac_try='test -z "$ac_c_werror_flag"
13760 || test ! -s conftest.err'
13761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13762 (eval $ac_try) 2>&5
13763 ac_status=$?
13764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13765 (exit $ac_status); }; } &&
13766 { ac_try='test -s conftest$ac_exeext'
13767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13768 (eval $ac_try) 2>&5
13769 ac_status=$?
13770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13771 (exit $ac_status); }; }; then
13772 eval "$as_ac_var=yes"
13773 else
13774 echo "$as_me: failed program was:" >&5
13775 sed 's/^/| /' conftest.$ac_ext >&5
13777 eval "$as_ac_var=no"
13779 rm -f conftest.err conftest.$ac_objext \
13780 conftest$ac_exeext conftest.$ac_ext
13782 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13783 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13784 if test `eval echo '${'$as_ac_var'}'` = yes; then
13785 cat >>confdefs.h <<_ACEOF
13786 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13787 _ACEOF
13790 done
13800 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
13801 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
13802 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
13803 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
13804 echo $ECHO_N "(cached) $ECHO_C" >&6
13805 else
13809 ac_ext=cc
13810 ac_cpp='$CXXCPP $CPPFLAGS'
13811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13815 cat >conftest.$ac_ext <<_ACEOF
13816 /* confdefs.h. */
13817 _ACEOF
13818 cat confdefs.h >>conftest.$ac_ext
13819 cat >>conftest.$ac_ext <<_ACEOF
13820 /* end confdefs.h. */
13821 #include <math.h>
13822 #ifdef HAVE_IEEEFP_H
13823 #include <ieeefp.h>
13824 #endif
13827 main ()
13829 fabsf(0);
13831 return 0;
13833 _ACEOF
13834 rm -f conftest.$ac_objext
13835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13836 (eval $ac_compile) 2>conftest.er1
13837 ac_status=$?
13838 grep -v '^ *+' conftest.er1 >conftest.err
13839 rm -f conftest.er1
13840 cat conftest.err >&5
13841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13842 (exit $ac_status); } &&
13843 { ac_try='test -z "$ac_cxx_werror_flag"
13844 || test ! -s conftest.err'
13845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13846 (eval $ac_try) 2>&5
13847 ac_status=$?
13848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13849 (exit $ac_status); }; } &&
13850 { ac_try='test -s conftest.$ac_objext'
13851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13852 (eval $ac_try) 2>&5
13853 ac_status=$?
13854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13855 (exit $ac_status); }; }; then
13856 glibcxx_cv_func_fabsf_use=yes
13857 else
13858 echo "$as_me: failed program was:" >&5
13859 sed 's/^/| /' conftest.$ac_ext >&5
13861 glibcxx_cv_func_fabsf_use=no
13863 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13864 ac_ext=c
13865 ac_cpp='$CPP $CPPFLAGS'
13866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13874 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
13875 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
13877 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
13879 for ac_func in fabsf
13881 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13882 echo "$as_me:$LINENO: checking for $ac_func" >&5
13883 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13884 if eval "test \"\${$as_ac_var+set}\" = set"; then
13885 echo $ECHO_N "(cached) $ECHO_C" >&6
13886 else
13887 if test x$gcc_no_link = xyes; then
13888 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13889 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13890 { (exit 1); exit 1; }; }
13892 cat >conftest.$ac_ext <<_ACEOF
13893 /* confdefs.h. */
13894 _ACEOF
13895 cat confdefs.h >>conftest.$ac_ext
13896 cat >>conftest.$ac_ext <<_ACEOF
13897 /* end confdefs.h. */
13898 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13899 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13900 #define $ac_func innocuous_$ac_func
13902 /* System header to define __stub macros and hopefully few prototypes,
13903 which can conflict with char $ac_func (); below.
13904 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13905 <limits.h> exists even on freestanding compilers. */
13907 #ifdef __STDC__
13908 # include <limits.h>
13909 #else
13910 # include <assert.h>
13911 #endif
13913 #undef $ac_func
13915 /* Override any gcc2 internal prototype to avoid an error. */
13916 #ifdef __cplusplus
13917 extern "C"
13919 #endif
13920 /* We use char because int might match the return type of a gcc2
13921 builtin and then its argument prototype would still apply. */
13922 char $ac_func ();
13923 /* The GNU C library defines this for functions which it implements
13924 to always fail with ENOSYS. Some functions are actually named
13925 something starting with __ and the normal name is an alias. */
13926 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13927 choke me
13928 #else
13929 char (*f) () = $ac_func;
13930 #endif
13931 #ifdef __cplusplus
13933 #endif
13936 main ()
13938 return f != $ac_func;
13940 return 0;
13942 _ACEOF
13943 rm -f conftest.$ac_objext conftest$ac_exeext
13944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13945 (eval $ac_link) 2>conftest.er1
13946 ac_status=$?
13947 grep -v '^ *+' conftest.er1 >conftest.err
13948 rm -f conftest.er1
13949 cat conftest.err >&5
13950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13951 (exit $ac_status); } &&
13952 { ac_try='test -z "$ac_c_werror_flag"
13953 || test ! -s conftest.err'
13954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13955 (eval $ac_try) 2>&5
13956 ac_status=$?
13957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13958 (exit $ac_status); }; } &&
13959 { ac_try='test -s conftest$ac_exeext'
13960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13961 (eval $ac_try) 2>&5
13962 ac_status=$?
13963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13964 (exit $ac_status); }; }; then
13965 eval "$as_ac_var=yes"
13966 else
13967 echo "$as_me: failed program was:" >&5
13968 sed 's/^/| /' conftest.$ac_ext >&5
13970 eval "$as_ac_var=no"
13972 rm -f conftest.err conftest.$ac_objext \
13973 conftest$ac_exeext conftest.$ac_ext
13975 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13976 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13977 if test `eval echo '${'$as_ac_var'}'` = yes; then
13978 cat >>confdefs.h <<_ACEOF
13979 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13980 _ACEOF
13983 done
13985 else
13987 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
13988 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
13989 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
13990 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
13991 echo $ECHO_N "(cached) $ECHO_C" >&6
13992 else
13996 ac_ext=cc
13997 ac_cpp='$CXXCPP $CPPFLAGS'
13998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14002 cat >conftest.$ac_ext <<_ACEOF
14003 /* confdefs.h. */
14004 _ACEOF
14005 cat confdefs.h >>conftest.$ac_ext
14006 cat >>conftest.$ac_ext <<_ACEOF
14007 /* end confdefs.h. */
14008 #include <math.h>
14009 #ifdef HAVE_IEEEFP_H
14010 #include <ieeefp.h>
14011 #endif
14014 main ()
14016 _fabsf(0);
14018 return 0;
14020 _ACEOF
14021 rm -f conftest.$ac_objext
14022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14023 (eval $ac_compile) 2>conftest.er1
14024 ac_status=$?
14025 grep -v '^ *+' conftest.er1 >conftest.err
14026 rm -f conftest.er1
14027 cat conftest.err >&5
14028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14029 (exit $ac_status); } &&
14030 { ac_try='test -z "$ac_cxx_werror_flag"
14031 || test ! -s conftest.err'
14032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14033 (eval $ac_try) 2>&5
14034 ac_status=$?
14035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14036 (exit $ac_status); }; } &&
14037 { ac_try='test -s conftest.$ac_objext'
14038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14039 (eval $ac_try) 2>&5
14040 ac_status=$?
14041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14042 (exit $ac_status); }; }; then
14043 glibcxx_cv_func__fabsf_use=yes
14044 else
14045 echo "$as_me: failed program was:" >&5
14046 sed 's/^/| /' conftest.$ac_ext >&5
14048 glibcxx_cv_func__fabsf_use=no
14050 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14051 ac_ext=c
14052 ac_cpp='$CPP $CPPFLAGS'
14053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14061 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
14062 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
14064 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
14066 for ac_func in _fabsf
14068 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14069 echo "$as_me:$LINENO: checking for $ac_func" >&5
14070 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14071 if eval "test \"\${$as_ac_var+set}\" = set"; then
14072 echo $ECHO_N "(cached) $ECHO_C" >&6
14073 else
14074 if test x$gcc_no_link = xyes; then
14075 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14076 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14077 { (exit 1); exit 1; }; }
14079 cat >conftest.$ac_ext <<_ACEOF
14080 /* confdefs.h. */
14081 _ACEOF
14082 cat confdefs.h >>conftest.$ac_ext
14083 cat >>conftest.$ac_ext <<_ACEOF
14084 /* end confdefs.h. */
14085 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14086 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14087 #define $ac_func innocuous_$ac_func
14089 /* System header to define __stub macros and hopefully few prototypes,
14090 which can conflict with char $ac_func (); below.
14091 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14092 <limits.h> exists even on freestanding compilers. */
14094 #ifdef __STDC__
14095 # include <limits.h>
14096 #else
14097 # include <assert.h>
14098 #endif
14100 #undef $ac_func
14102 /* Override any gcc2 internal prototype to avoid an error. */
14103 #ifdef __cplusplus
14104 extern "C"
14106 #endif
14107 /* We use char because int might match the return type of a gcc2
14108 builtin and then its argument prototype would still apply. */
14109 char $ac_func ();
14110 /* The GNU C library defines this for functions which it implements
14111 to always fail with ENOSYS. Some functions are actually named
14112 something starting with __ and the normal name is an alias. */
14113 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14114 choke me
14115 #else
14116 char (*f) () = $ac_func;
14117 #endif
14118 #ifdef __cplusplus
14120 #endif
14123 main ()
14125 return f != $ac_func;
14127 return 0;
14129 _ACEOF
14130 rm -f conftest.$ac_objext conftest$ac_exeext
14131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14132 (eval $ac_link) 2>conftest.er1
14133 ac_status=$?
14134 grep -v '^ *+' conftest.er1 >conftest.err
14135 rm -f conftest.er1
14136 cat conftest.err >&5
14137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14138 (exit $ac_status); } &&
14139 { ac_try='test -z "$ac_c_werror_flag"
14140 || test ! -s conftest.err'
14141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14142 (eval $ac_try) 2>&5
14143 ac_status=$?
14144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14145 (exit $ac_status); }; } &&
14146 { ac_try='test -s conftest$ac_exeext'
14147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14148 (eval $ac_try) 2>&5
14149 ac_status=$?
14150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14151 (exit $ac_status); }; }; then
14152 eval "$as_ac_var=yes"
14153 else
14154 echo "$as_me: failed program was:" >&5
14155 sed 's/^/| /' conftest.$ac_ext >&5
14157 eval "$as_ac_var=no"
14159 rm -f conftest.err conftest.$ac_objext \
14160 conftest$ac_exeext conftest.$ac_ext
14162 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14163 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14164 if test `eval echo '${'$as_ac_var'}'` = yes; then
14165 cat >>confdefs.h <<_ACEOF
14166 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14167 _ACEOF
14170 done
14180 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
14181 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
14182 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
14183 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
14184 echo $ECHO_N "(cached) $ECHO_C" >&6
14185 else
14189 ac_ext=cc
14190 ac_cpp='$CXXCPP $CPPFLAGS'
14191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14195 cat >conftest.$ac_ext <<_ACEOF
14196 /* confdefs.h. */
14197 _ACEOF
14198 cat confdefs.h >>conftest.$ac_ext
14199 cat >>conftest.$ac_ext <<_ACEOF
14200 /* end confdefs.h. */
14201 #include <math.h>
14203 main ()
14205 fmodf(0, 0);
14207 return 0;
14209 _ACEOF
14210 rm -f conftest.$ac_objext
14211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14212 (eval $ac_compile) 2>conftest.er1
14213 ac_status=$?
14214 grep -v '^ *+' conftest.er1 >conftest.err
14215 rm -f conftest.er1
14216 cat conftest.err >&5
14217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14218 (exit $ac_status); } &&
14219 { ac_try='test -z "$ac_cxx_werror_flag"
14220 || test ! -s conftest.err'
14221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14222 (eval $ac_try) 2>&5
14223 ac_status=$?
14224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14225 (exit $ac_status); }; } &&
14226 { ac_try='test -s conftest.$ac_objext'
14227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14228 (eval $ac_try) 2>&5
14229 ac_status=$?
14230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14231 (exit $ac_status); }; }; then
14232 glibcxx_cv_func_fmodf_use=yes
14233 else
14234 echo "$as_me: failed program was:" >&5
14235 sed 's/^/| /' conftest.$ac_ext >&5
14237 glibcxx_cv_func_fmodf_use=no
14239 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14240 ac_ext=c
14241 ac_cpp='$CPP $CPPFLAGS'
14242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14250 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
14251 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
14253 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
14255 for ac_func in fmodf
14257 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14258 echo "$as_me:$LINENO: checking for $ac_func" >&5
14259 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14260 if eval "test \"\${$as_ac_var+set}\" = set"; then
14261 echo $ECHO_N "(cached) $ECHO_C" >&6
14262 else
14263 if test x$gcc_no_link = xyes; then
14264 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14265 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14266 { (exit 1); exit 1; }; }
14268 cat >conftest.$ac_ext <<_ACEOF
14269 /* confdefs.h. */
14270 _ACEOF
14271 cat confdefs.h >>conftest.$ac_ext
14272 cat >>conftest.$ac_ext <<_ACEOF
14273 /* end confdefs.h. */
14274 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14275 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14276 #define $ac_func innocuous_$ac_func
14278 /* System header to define __stub macros and hopefully few prototypes,
14279 which can conflict with char $ac_func (); below.
14280 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14281 <limits.h> exists even on freestanding compilers. */
14283 #ifdef __STDC__
14284 # include <limits.h>
14285 #else
14286 # include <assert.h>
14287 #endif
14289 #undef $ac_func
14291 /* Override any gcc2 internal prototype to avoid an error. */
14292 #ifdef __cplusplus
14293 extern "C"
14295 #endif
14296 /* We use char because int might match the return type of a gcc2
14297 builtin and then its argument prototype would still apply. */
14298 char $ac_func ();
14299 /* The GNU C library defines this for functions which it implements
14300 to always fail with ENOSYS. Some functions are actually named
14301 something starting with __ and the normal name is an alias. */
14302 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14303 choke me
14304 #else
14305 char (*f) () = $ac_func;
14306 #endif
14307 #ifdef __cplusplus
14309 #endif
14312 main ()
14314 return f != $ac_func;
14316 return 0;
14318 _ACEOF
14319 rm -f conftest.$ac_objext conftest$ac_exeext
14320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14321 (eval $ac_link) 2>conftest.er1
14322 ac_status=$?
14323 grep -v '^ *+' conftest.er1 >conftest.err
14324 rm -f conftest.er1
14325 cat conftest.err >&5
14326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14327 (exit $ac_status); } &&
14328 { ac_try='test -z "$ac_c_werror_flag"
14329 || test ! -s conftest.err'
14330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14331 (eval $ac_try) 2>&5
14332 ac_status=$?
14333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14334 (exit $ac_status); }; } &&
14335 { ac_try='test -s conftest$ac_exeext'
14336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14337 (eval $ac_try) 2>&5
14338 ac_status=$?
14339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14340 (exit $ac_status); }; }; then
14341 eval "$as_ac_var=yes"
14342 else
14343 echo "$as_me: failed program was:" >&5
14344 sed 's/^/| /' conftest.$ac_ext >&5
14346 eval "$as_ac_var=no"
14348 rm -f conftest.err conftest.$ac_objext \
14349 conftest$ac_exeext conftest.$ac_ext
14351 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14352 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14353 if test `eval echo '${'$as_ac_var'}'` = yes; then
14354 cat >>confdefs.h <<_ACEOF
14355 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14356 _ACEOF
14359 done
14361 else
14363 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
14364 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
14365 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
14366 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
14367 echo $ECHO_N "(cached) $ECHO_C" >&6
14368 else
14372 ac_ext=cc
14373 ac_cpp='$CXXCPP $CPPFLAGS'
14374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14378 cat >conftest.$ac_ext <<_ACEOF
14379 /* confdefs.h. */
14380 _ACEOF
14381 cat confdefs.h >>conftest.$ac_ext
14382 cat >>conftest.$ac_ext <<_ACEOF
14383 /* end confdefs.h. */
14384 #include <math.h>
14386 main ()
14388 _fmodf(0, 0);
14390 return 0;
14392 _ACEOF
14393 rm -f conftest.$ac_objext
14394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14395 (eval $ac_compile) 2>conftest.er1
14396 ac_status=$?
14397 grep -v '^ *+' conftest.er1 >conftest.err
14398 rm -f conftest.er1
14399 cat conftest.err >&5
14400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14401 (exit $ac_status); } &&
14402 { ac_try='test -z "$ac_cxx_werror_flag"
14403 || test ! -s conftest.err'
14404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14405 (eval $ac_try) 2>&5
14406 ac_status=$?
14407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14408 (exit $ac_status); }; } &&
14409 { ac_try='test -s conftest.$ac_objext'
14410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14411 (eval $ac_try) 2>&5
14412 ac_status=$?
14413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14414 (exit $ac_status); }; }; then
14415 glibcxx_cv_func__fmodf_use=yes
14416 else
14417 echo "$as_me: failed program was:" >&5
14418 sed 's/^/| /' conftest.$ac_ext >&5
14420 glibcxx_cv_func__fmodf_use=no
14422 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14423 ac_ext=c
14424 ac_cpp='$CPP $CPPFLAGS'
14425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14433 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
14434 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
14436 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
14438 for ac_func in _fmodf
14440 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14441 echo "$as_me:$LINENO: checking for $ac_func" >&5
14442 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14443 if eval "test \"\${$as_ac_var+set}\" = set"; then
14444 echo $ECHO_N "(cached) $ECHO_C" >&6
14445 else
14446 if test x$gcc_no_link = xyes; then
14447 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14448 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14449 { (exit 1); exit 1; }; }
14451 cat >conftest.$ac_ext <<_ACEOF
14452 /* confdefs.h. */
14453 _ACEOF
14454 cat confdefs.h >>conftest.$ac_ext
14455 cat >>conftest.$ac_ext <<_ACEOF
14456 /* end confdefs.h. */
14457 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14458 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14459 #define $ac_func innocuous_$ac_func
14461 /* System header to define __stub macros and hopefully few prototypes,
14462 which can conflict with char $ac_func (); below.
14463 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14464 <limits.h> exists even on freestanding compilers. */
14466 #ifdef __STDC__
14467 # include <limits.h>
14468 #else
14469 # include <assert.h>
14470 #endif
14472 #undef $ac_func
14474 /* Override any gcc2 internal prototype to avoid an error. */
14475 #ifdef __cplusplus
14476 extern "C"
14478 #endif
14479 /* We use char because int might match the return type of a gcc2
14480 builtin and then its argument prototype would still apply. */
14481 char $ac_func ();
14482 /* The GNU C library defines this for functions which it implements
14483 to always fail with ENOSYS. Some functions are actually named
14484 something starting with __ and the normal name is an alias. */
14485 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14486 choke me
14487 #else
14488 char (*f) () = $ac_func;
14489 #endif
14490 #ifdef __cplusplus
14492 #endif
14495 main ()
14497 return f != $ac_func;
14499 return 0;
14501 _ACEOF
14502 rm -f conftest.$ac_objext conftest$ac_exeext
14503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14504 (eval $ac_link) 2>conftest.er1
14505 ac_status=$?
14506 grep -v '^ *+' conftest.er1 >conftest.err
14507 rm -f conftest.er1
14508 cat conftest.err >&5
14509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14510 (exit $ac_status); } &&
14511 { ac_try='test -z "$ac_c_werror_flag"
14512 || test ! -s conftest.err'
14513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14514 (eval $ac_try) 2>&5
14515 ac_status=$?
14516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14517 (exit $ac_status); }; } &&
14518 { ac_try='test -s conftest$ac_exeext'
14519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14520 (eval $ac_try) 2>&5
14521 ac_status=$?
14522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14523 (exit $ac_status); }; }; then
14524 eval "$as_ac_var=yes"
14525 else
14526 echo "$as_me: failed program was:" >&5
14527 sed 's/^/| /' conftest.$ac_ext >&5
14529 eval "$as_ac_var=no"
14531 rm -f conftest.err conftest.$ac_objext \
14532 conftest$ac_exeext conftest.$ac_ext
14534 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14535 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14536 if test `eval echo '${'$as_ac_var'}'` = yes; then
14537 cat >>confdefs.h <<_ACEOF
14538 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14539 _ACEOF
14542 done
14552 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
14553 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
14554 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
14555 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
14556 echo $ECHO_N "(cached) $ECHO_C" >&6
14557 else
14561 ac_ext=cc
14562 ac_cpp='$CXXCPP $CPPFLAGS'
14563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14567 cat >conftest.$ac_ext <<_ACEOF
14568 /* confdefs.h. */
14569 _ACEOF
14570 cat confdefs.h >>conftest.$ac_ext
14571 cat >>conftest.$ac_ext <<_ACEOF
14572 /* end confdefs.h. */
14573 #include <math.h>
14575 main ()
14577 frexpf(0, 0);
14579 return 0;
14581 _ACEOF
14582 rm -f conftest.$ac_objext
14583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14584 (eval $ac_compile) 2>conftest.er1
14585 ac_status=$?
14586 grep -v '^ *+' conftest.er1 >conftest.err
14587 rm -f conftest.er1
14588 cat conftest.err >&5
14589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14590 (exit $ac_status); } &&
14591 { ac_try='test -z "$ac_cxx_werror_flag"
14592 || test ! -s conftest.err'
14593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14594 (eval $ac_try) 2>&5
14595 ac_status=$?
14596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14597 (exit $ac_status); }; } &&
14598 { ac_try='test -s conftest.$ac_objext'
14599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14600 (eval $ac_try) 2>&5
14601 ac_status=$?
14602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14603 (exit $ac_status); }; }; then
14604 glibcxx_cv_func_frexpf_use=yes
14605 else
14606 echo "$as_me: failed program was:" >&5
14607 sed 's/^/| /' conftest.$ac_ext >&5
14609 glibcxx_cv_func_frexpf_use=no
14611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14612 ac_ext=c
14613 ac_cpp='$CPP $CPPFLAGS'
14614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14622 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
14623 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
14625 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
14627 for ac_func in frexpf
14629 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14630 echo "$as_me:$LINENO: checking for $ac_func" >&5
14631 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14632 if eval "test \"\${$as_ac_var+set}\" = set"; then
14633 echo $ECHO_N "(cached) $ECHO_C" >&6
14634 else
14635 if test x$gcc_no_link = xyes; then
14636 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14637 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14638 { (exit 1); exit 1; }; }
14640 cat >conftest.$ac_ext <<_ACEOF
14641 /* confdefs.h. */
14642 _ACEOF
14643 cat confdefs.h >>conftest.$ac_ext
14644 cat >>conftest.$ac_ext <<_ACEOF
14645 /* end confdefs.h. */
14646 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14647 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14648 #define $ac_func innocuous_$ac_func
14650 /* System header to define __stub macros and hopefully few prototypes,
14651 which can conflict with char $ac_func (); below.
14652 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14653 <limits.h> exists even on freestanding compilers. */
14655 #ifdef __STDC__
14656 # include <limits.h>
14657 #else
14658 # include <assert.h>
14659 #endif
14661 #undef $ac_func
14663 /* Override any gcc2 internal prototype to avoid an error. */
14664 #ifdef __cplusplus
14665 extern "C"
14667 #endif
14668 /* We use char because int might match the return type of a gcc2
14669 builtin and then its argument prototype would still apply. */
14670 char $ac_func ();
14671 /* The GNU C library defines this for functions which it implements
14672 to always fail with ENOSYS. Some functions are actually named
14673 something starting with __ and the normal name is an alias. */
14674 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14675 choke me
14676 #else
14677 char (*f) () = $ac_func;
14678 #endif
14679 #ifdef __cplusplus
14681 #endif
14684 main ()
14686 return f != $ac_func;
14688 return 0;
14690 _ACEOF
14691 rm -f conftest.$ac_objext conftest$ac_exeext
14692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14693 (eval $ac_link) 2>conftest.er1
14694 ac_status=$?
14695 grep -v '^ *+' conftest.er1 >conftest.err
14696 rm -f conftest.er1
14697 cat conftest.err >&5
14698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14699 (exit $ac_status); } &&
14700 { ac_try='test -z "$ac_c_werror_flag"
14701 || test ! -s conftest.err'
14702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14703 (eval $ac_try) 2>&5
14704 ac_status=$?
14705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14706 (exit $ac_status); }; } &&
14707 { ac_try='test -s conftest$ac_exeext'
14708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14709 (eval $ac_try) 2>&5
14710 ac_status=$?
14711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14712 (exit $ac_status); }; }; then
14713 eval "$as_ac_var=yes"
14714 else
14715 echo "$as_me: failed program was:" >&5
14716 sed 's/^/| /' conftest.$ac_ext >&5
14718 eval "$as_ac_var=no"
14720 rm -f conftest.err conftest.$ac_objext \
14721 conftest$ac_exeext conftest.$ac_ext
14723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14724 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14725 if test `eval echo '${'$as_ac_var'}'` = yes; then
14726 cat >>confdefs.h <<_ACEOF
14727 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14728 _ACEOF
14731 done
14733 else
14735 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
14736 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
14737 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
14738 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
14739 echo $ECHO_N "(cached) $ECHO_C" >&6
14740 else
14744 ac_ext=cc
14745 ac_cpp='$CXXCPP $CPPFLAGS'
14746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14750 cat >conftest.$ac_ext <<_ACEOF
14751 /* confdefs.h. */
14752 _ACEOF
14753 cat confdefs.h >>conftest.$ac_ext
14754 cat >>conftest.$ac_ext <<_ACEOF
14755 /* end confdefs.h. */
14756 #include <math.h>
14758 main ()
14760 _frexpf(0, 0);
14762 return 0;
14764 _ACEOF
14765 rm -f conftest.$ac_objext
14766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14767 (eval $ac_compile) 2>conftest.er1
14768 ac_status=$?
14769 grep -v '^ *+' conftest.er1 >conftest.err
14770 rm -f conftest.er1
14771 cat conftest.err >&5
14772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14773 (exit $ac_status); } &&
14774 { ac_try='test -z "$ac_cxx_werror_flag"
14775 || test ! -s conftest.err'
14776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14777 (eval $ac_try) 2>&5
14778 ac_status=$?
14779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14780 (exit $ac_status); }; } &&
14781 { ac_try='test -s conftest.$ac_objext'
14782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14783 (eval $ac_try) 2>&5
14784 ac_status=$?
14785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14786 (exit $ac_status); }; }; then
14787 glibcxx_cv_func__frexpf_use=yes
14788 else
14789 echo "$as_me: failed program was:" >&5
14790 sed 's/^/| /' conftest.$ac_ext >&5
14792 glibcxx_cv_func__frexpf_use=no
14794 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14795 ac_ext=c
14796 ac_cpp='$CPP $CPPFLAGS'
14797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14805 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
14806 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
14808 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
14810 for ac_func in _frexpf
14812 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14813 echo "$as_me:$LINENO: checking for $ac_func" >&5
14814 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14815 if eval "test \"\${$as_ac_var+set}\" = set"; then
14816 echo $ECHO_N "(cached) $ECHO_C" >&6
14817 else
14818 if test x$gcc_no_link = xyes; then
14819 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14820 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14821 { (exit 1); exit 1; }; }
14823 cat >conftest.$ac_ext <<_ACEOF
14824 /* confdefs.h. */
14825 _ACEOF
14826 cat confdefs.h >>conftest.$ac_ext
14827 cat >>conftest.$ac_ext <<_ACEOF
14828 /* end confdefs.h. */
14829 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14830 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14831 #define $ac_func innocuous_$ac_func
14833 /* System header to define __stub macros and hopefully few prototypes,
14834 which can conflict with char $ac_func (); below.
14835 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14836 <limits.h> exists even on freestanding compilers. */
14838 #ifdef __STDC__
14839 # include <limits.h>
14840 #else
14841 # include <assert.h>
14842 #endif
14844 #undef $ac_func
14846 /* Override any gcc2 internal prototype to avoid an error. */
14847 #ifdef __cplusplus
14848 extern "C"
14850 #endif
14851 /* We use char because int might match the return type of a gcc2
14852 builtin and then its argument prototype would still apply. */
14853 char $ac_func ();
14854 /* The GNU C library defines this for functions which it implements
14855 to always fail with ENOSYS. Some functions are actually named
14856 something starting with __ and the normal name is an alias. */
14857 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14858 choke me
14859 #else
14860 char (*f) () = $ac_func;
14861 #endif
14862 #ifdef __cplusplus
14864 #endif
14867 main ()
14869 return f != $ac_func;
14871 return 0;
14873 _ACEOF
14874 rm -f conftest.$ac_objext conftest$ac_exeext
14875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14876 (eval $ac_link) 2>conftest.er1
14877 ac_status=$?
14878 grep -v '^ *+' conftest.er1 >conftest.err
14879 rm -f conftest.er1
14880 cat conftest.err >&5
14881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14882 (exit $ac_status); } &&
14883 { ac_try='test -z "$ac_c_werror_flag"
14884 || test ! -s conftest.err'
14885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14886 (eval $ac_try) 2>&5
14887 ac_status=$?
14888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14889 (exit $ac_status); }; } &&
14890 { ac_try='test -s conftest$ac_exeext'
14891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14892 (eval $ac_try) 2>&5
14893 ac_status=$?
14894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14895 (exit $ac_status); }; }; then
14896 eval "$as_ac_var=yes"
14897 else
14898 echo "$as_me: failed program was:" >&5
14899 sed 's/^/| /' conftest.$ac_ext >&5
14901 eval "$as_ac_var=no"
14903 rm -f conftest.err conftest.$ac_objext \
14904 conftest$ac_exeext conftest.$ac_ext
14906 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14907 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14908 if test `eval echo '${'$as_ac_var'}'` = yes; then
14909 cat >>confdefs.h <<_ACEOF
14910 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14911 _ACEOF
14914 done
14924 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
14925 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
14926 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
14927 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
14928 echo $ECHO_N "(cached) $ECHO_C" >&6
14929 else
14933 ac_ext=cc
14934 ac_cpp='$CXXCPP $CPPFLAGS'
14935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14939 cat >conftest.$ac_ext <<_ACEOF
14940 /* confdefs.h. */
14941 _ACEOF
14942 cat confdefs.h >>conftest.$ac_ext
14943 cat >>conftest.$ac_ext <<_ACEOF
14944 /* end confdefs.h. */
14945 #include <math.h>
14947 main ()
14949 hypotf(0, 0);
14951 return 0;
14953 _ACEOF
14954 rm -f conftest.$ac_objext
14955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14956 (eval $ac_compile) 2>conftest.er1
14957 ac_status=$?
14958 grep -v '^ *+' conftest.er1 >conftest.err
14959 rm -f conftest.er1
14960 cat conftest.err >&5
14961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14962 (exit $ac_status); } &&
14963 { ac_try='test -z "$ac_cxx_werror_flag"
14964 || test ! -s conftest.err'
14965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14966 (eval $ac_try) 2>&5
14967 ac_status=$?
14968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14969 (exit $ac_status); }; } &&
14970 { ac_try='test -s conftest.$ac_objext'
14971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14972 (eval $ac_try) 2>&5
14973 ac_status=$?
14974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14975 (exit $ac_status); }; }; then
14976 glibcxx_cv_func_hypotf_use=yes
14977 else
14978 echo "$as_me: failed program was:" >&5
14979 sed 's/^/| /' conftest.$ac_ext >&5
14981 glibcxx_cv_func_hypotf_use=no
14983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14984 ac_ext=c
14985 ac_cpp='$CPP $CPPFLAGS'
14986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14994 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
14995 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
14997 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
14999 for ac_func in hypotf
15001 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15002 echo "$as_me:$LINENO: checking for $ac_func" >&5
15003 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15004 if eval "test \"\${$as_ac_var+set}\" = set"; then
15005 echo $ECHO_N "(cached) $ECHO_C" >&6
15006 else
15007 if test x$gcc_no_link = xyes; then
15008 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15009 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15010 { (exit 1); exit 1; }; }
15012 cat >conftest.$ac_ext <<_ACEOF
15013 /* confdefs.h. */
15014 _ACEOF
15015 cat confdefs.h >>conftest.$ac_ext
15016 cat >>conftest.$ac_ext <<_ACEOF
15017 /* end confdefs.h. */
15018 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15019 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15020 #define $ac_func innocuous_$ac_func
15022 /* System header to define __stub macros and hopefully few prototypes,
15023 which can conflict with char $ac_func (); below.
15024 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15025 <limits.h> exists even on freestanding compilers. */
15027 #ifdef __STDC__
15028 # include <limits.h>
15029 #else
15030 # include <assert.h>
15031 #endif
15033 #undef $ac_func
15035 /* Override any gcc2 internal prototype to avoid an error. */
15036 #ifdef __cplusplus
15037 extern "C"
15039 #endif
15040 /* We use char because int might match the return type of a gcc2
15041 builtin and then its argument prototype would still apply. */
15042 char $ac_func ();
15043 /* The GNU C library defines this for functions which it implements
15044 to always fail with ENOSYS. Some functions are actually named
15045 something starting with __ and the normal name is an alias. */
15046 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15047 choke me
15048 #else
15049 char (*f) () = $ac_func;
15050 #endif
15051 #ifdef __cplusplus
15053 #endif
15056 main ()
15058 return f != $ac_func;
15060 return 0;
15062 _ACEOF
15063 rm -f conftest.$ac_objext conftest$ac_exeext
15064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15065 (eval $ac_link) 2>conftest.er1
15066 ac_status=$?
15067 grep -v '^ *+' conftest.er1 >conftest.err
15068 rm -f conftest.er1
15069 cat conftest.err >&5
15070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15071 (exit $ac_status); } &&
15072 { ac_try='test -z "$ac_c_werror_flag"
15073 || test ! -s conftest.err'
15074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15075 (eval $ac_try) 2>&5
15076 ac_status=$?
15077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15078 (exit $ac_status); }; } &&
15079 { ac_try='test -s conftest$ac_exeext'
15080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15081 (eval $ac_try) 2>&5
15082 ac_status=$?
15083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15084 (exit $ac_status); }; }; then
15085 eval "$as_ac_var=yes"
15086 else
15087 echo "$as_me: failed program was:" >&5
15088 sed 's/^/| /' conftest.$ac_ext >&5
15090 eval "$as_ac_var=no"
15092 rm -f conftest.err conftest.$ac_objext \
15093 conftest$ac_exeext conftest.$ac_ext
15095 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15096 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15097 if test `eval echo '${'$as_ac_var'}'` = yes; then
15098 cat >>confdefs.h <<_ACEOF
15099 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15100 _ACEOF
15103 done
15105 else
15107 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
15108 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
15109 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
15110 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
15111 echo $ECHO_N "(cached) $ECHO_C" >&6
15112 else
15116 ac_ext=cc
15117 ac_cpp='$CXXCPP $CPPFLAGS'
15118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15122 cat >conftest.$ac_ext <<_ACEOF
15123 /* confdefs.h. */
15124 _ACEOF
15125 cat confdefs.h >>conftest.$ac_ext
15126 cat >>conftest.$ac_ext <<_ACEOF
15127 /* end confdefs.h. */
15128 #include <math.h>
15130 main ()
15132 _hypotf(0, 0);
15134 return 0;
15136 _ACEOF
15137 rm -f conftest.$ac_objext
15138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15139 (eval $ac_compile) 2>conftest.er1
15140 ac_status=$?
15141 grep -v '^ *+' conftest.er1 >conftest.err
15142 rm -f conftest.er1
15143 cat conftest.err >&5
15144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15145 (exit $ac_status); } &&
15146 { ac_try='test -z "$ac_cxx_werror_flag"
15147 || test ! -s conftest.err'
15148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15149 (eval $ac_try) 2>&5
15150 ac_status=$?
15151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15152 (exit $ac_status); }; } &&
15153 { ac_try='test -s conftest.$ac_objext'
15154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15155 (eval $ac_try) 2>&5
15156 ac_status=$?
15157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15158 (exit $ac_status); }; }; then
15159 glibcxx_cv_func__hypotf_use=yes
15160 else
15161 echo "$as_me: failed program was:" >&5
15162 sed 's/^/| /' conftest.$ac_ext >&5
15164 glibcxx_cv_func__hypotf_use=no
15166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15167 ac_ext=c
15168 ac_cpp='$CPP $CPPFLAGS'
15169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15177 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
15178 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
15180 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
15182 for ac_func in _hypotf
15184 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15185 echo "$as_me:$LINENO: checking for $ac_func" >&5
15186 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15187 if eval "test \"\${$as_ac_var+set}\" = set"; then
15188 echo $ECHO_N "(cached) $ECHO_C" >&6
15189 else
15190 if test x$gcc_no_link = xyes; then
15191 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15192 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15193 { (exit 1); exit 1; }; }
15195 cat >conftest.$ac_ext <<_ACEOF
15196 /* confdefs.h. */
15197 _ACEOF
15198 cat confdefs.h >>conftest.$ac_ext
15199 cat >>conftest.$ac_ext <<_ACEOF
15200 /* end confdefs.h. */
15201 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15202 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15203 #define $ac_func innocuous_$ac_func
15205 /* System header to define __stub macros and hopefully few prototypes,
15206 which can conflict with char $ac_func (); below.
15207 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15208 <limits.h> exists even on freestanding compilers. */
15210 #ifdef __STDC__
15211 # include <limits.h>
15212 #else
15213 # include <assert.h>
15214 #endif
15216 #undef $ac_func
15218 /* Override any gcc2 internal prototype to avoid an error. */
15219 #ifdef __cplusplus
15220 extern "C"
15222 #endif
15223 /* We use char because int might match the return type of a gcc2
15224 builtin and then its argument prototype would still apply. */
15225 char $ac_func ();
15226 /* The GNU C library defines this for functions which it implements
15227 to always fail with ENOSYS. Some functions are actually named
15228 something starting with __ and the normal name is an alias. */
15229 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15230 choke me
15231 #else
15232 char (*f) () = $ac_func;
15233 #endif
15234 #ifdef __cplusplus
15236 #endif
15239 main ()
15241 return f != $ac_func;
15243 return 0;
15245 _ACEOF
15246 rm -f conftest.$ac_objext conftest$ac_exeext
15247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15248 (eval $ac_link) 2>conftest.er1
15249 ac_status=$?
15250 grep -v '^ *+' conftest.er1 >conftest.err
15251 rm -f conftest.er1
15252 cat conftest.err >&5
15253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15254 (exit $ac_status); } &&
15255 { ac_try='test -z "$ac_c_werror_flag"
15256 || test ! -s conftest.err'
15257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15258 (eval $ac_try) 2>&5
15259 ac_status=$?
15260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15261 (exit $ac_status); }; } &&
15262 { ac_try='test -s conftest$ac_exeext'
15263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15264 (eval $ac_try) 2>&5
15265 ac_status=$?
15266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15267 (exit $ac_status); }; }; then
15268 eval "$as_ac_var=yes"
15269 else
15270 echo "$as_me: failed program was:" >&5
15271 sed 's/^/| /' conftest.$ac_ext >&5
15273 eval "$as_ac_var=no"
15275 rm -f conftest.err conftest.$ac_objext \
15276 conftest$ac_exeext conftest.$ac_ext
15278 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15279 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15280 if test `eval echo '${'$as_ac_var'}'` = yes; then
15281 cat >>confdefs.h <<_ACEOF
15282 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15283 _ACEOF
15286 done
15296 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
15297 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
15298 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
15299 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
15300 echo $ECHO_N "(cached) $ECHO_C" >&6
15301 else
15305 ac_ext=cc
15306 ac_cpp='$CXXCPP $CPPFLAGS'
15307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15311 cat >conftest.$ac_ext <<_ACEOF
15312 /* confdefs.h. */
15313 _ACEOF
15314 cat confdefs.h >>conftest.$ac_ext
15315 cat >>conftest.$ac_ext <<_ACEOF
15316 /* end confdefs.h. */
15317 #include <math.h>
15319 main ()
15321 ldexpf(0, 0);
15323 return 0;
15325 _ACEOF
15326 rm -f conftest.$ac_objext
15327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15328 (eval $ac_compile) 2>conftest.er1
15329 ac_status=$?
15330 grep -v '^ *+' conftest.er1 >conftest.err
15331 rm -f conftest.er1
15332 cat conftest.err >&5
15333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15334 (exit $ac_status); } &&
15335 { ac_try='test -z "$ac_cxx_werror_flag"
15336 || test ! -s conftest.err'
15337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15338 (eval $ac_try) 2>&5
15339 ac_status=$?
15340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15341 (exit $ac_status); }; } &&
15342 { ac_try='test -s conftest.$ac_objext'
15343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15344 (eval $ac_try) 2>&5
15345 ac_status=$?
15346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15347 (exit $ac_status); }; }; then
15348 glibcxx_cv_func_ldexpf_use=yes
15349 else
15350 echo "$as_me: failed program was:" >&5
15351 sed 's/^/| /' conftest.$ac_ext >&5
15353 glibcxx_cv_func_ldexpf_use=no
15355 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15356 ac_ext=c
15357 ac_cpp='$CPP $CPPFLAGS'
15358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15366 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
15367 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
15369 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
15371 for ac_func in ldexpf
15373 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15374 echo "$as_me:$LINENO: checking for $ac_func" >&5
15375 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15376 if eval "test \"\${$as_ac_var+set}\" = set"; then
15377 echo $ECHO_N "(cached) $ECHO_C" >&6
15378 else
15379 if test x$gcc_no_link = xyes; then
15380 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15381 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15382 { (exit 1); exit 1; }; }
15384 cat >conftest.$ac_ext <<_ACEOF
15385 /* confdefs.h. */
15386 _ACEOF
15387 cat confdefs.h >>conftest.$ac_ext
15388 cat >>conftest.$ac_ext <<_ACEOF
15389 /* end confdefs.h. */
15390 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15391 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15392 #define $ac_func innocuous_$ac_func
15394 /* System header to define __stub macros and hopefully few prototypes,
15395 which can conflict with char $ac_func (); below.
15396 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15397 <limits.h> exists even on freestanding compilers. */
15399 #ifdef __STDC__
15400 # include <limits.h>
15401 #else
15402 # include <assert.h>
15403 #endif
15405 #undef $ac_func
15407 /* Override any gcc2 internal prototype to avoid an error. */
15408 #ifdef __cplusplus
15409 extern "C"
15411 #endif
15412 /* We use char because int might match the return type of a gcc2
15413 builtin and then its argument prototype would still apply. */
15414 char $ac_func ();
15415 /* The GNU C library defines this for functions which it implements
15416 to always fail with ENOSYS. Some functions are actually named
15417 something starting with __ and the normal name is an alias. */
15418 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15419 choke me
15420 #else
15421 char (*f) () = $ac_func;
15422 #endif
15423 #ifdef __cplusplus
15425 #endif
15428 main ()
15430 return f != $ac_func;
15432 return 0;
15434 _ACEOF
15435 rm -f conftest.$ac_objext conftest$ac_exeext
15436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15437 (eval $ac_link) 2>conftest.er1
15438 ac_status=$?
15439 grep -v '^ *+' conftest.er1 >conftest.err
15440 rm -f conftest.er1
15441 cat conftest.err >&5
15442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15443 (exit $ac_status); } &&
15444 { ac_try='test -z "$ac_c_werror_flag"
15445 || test ! -s conftest.err'
15446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15447 (eval $ac_try) 2>&5
15448 ac_status=$?
15449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15450 (exit $ac_status); }; } &&
15451 { ac_try='test -s conftest$ac_exeext'
15452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15453 (eval $ac_try) 2>&5
15454 ac_status=$?
15455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15456 (exit $ac_status); }; }; then
15457 eval "$as_ac_var=yes"
15458 else
15459 echo "$as_me: failed program was:" >&5
15460 sed 's/^/| /' conftest.$ac_ext >&5
15462 eval "$as_ac_var=no"
15464 rm -f conftest.err conftest.$ac_objext \
15465 conftest$ac_exeext conftest.$ac_ext
15467 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15468 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15469 if test `eval echo '${'$as_ac_var'}'` = yes; then
15470 cat >>confdefs.h <<_ACEOF
15471 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15472 _ACEOF
15475 done
15477 else
15479 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
15480 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
15481 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
15482 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
15483 echo $ECHO_N "(cached) $ECHO_C" >&6
15484 else
15488 ac_ext=cc
15489 ac_cpp='$CXXCPP $CPPFLAGS'
15490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15494 cat >conftest.$ac_ext <<_ACEOF
15495 /* confdefs.h. */
15496 _ACEOF
15497 cat confdefs.h >>conftest.$ac_ext
15498 cat >>conftest.$ac_ext <<_ACEOF
15499 /* end confdefs.h. */
15500 #include <math.h>
15502 main ()
15504 _ldexpf(0, 0);
15506 return 0;
15508 _ACEOF
15509 rm -f conftest.$ac_objext
15510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15511 (eval $ac_compile) 2>conftest.er1
15512 ac_status=$?
15513 grep -v '^ *+' conftest.er1 >conftest.err
15514 rm -f conftest.er1
15515 cat conftest.err >&5
15516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15517 (exit $ac_status); } &&
15518 { ac_try='test -z "$ac_cxx_werror_flag"
15519 || test ! -s conftest.err'
15520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15521 (eval $ac_try) 2>&5
15522 ac_status=$?
15523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15524 (exit $ac_status); }; } &&
15525 { ac_try='test -s conftest.$ac_objext'
15526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15527 (eval $ac_try) 2>&5
15528 ac_status=$?
15529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15530 (exit $ac_status); }; }; then
15531 glibcxx_cv_func__ldexpf_use=yes
15532 else
15533 echo "$as_me: failed program was:" >&5
15534 sed 's/^/| /' conftest.$ac_ext >&5
15536 glibcxx_cv_func__ldexpf_use=no
15538 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15539 ac_ext=c
15540 ac_cpp='$CPP $CPPFLAGS'
15541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15549 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
15550 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
15552 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
15554 for ac_func in _ldexpf
15556 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15557 echo "$as_me:$LINENO: checking for $ac_func" >&5
15558 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15559 if eval "test \"\${$as_ac_var+set}\" = set"; then
15560 echo $ECHO_N "(cached) $ECHO_C" >&6
15561 else
15562 if test x$gcc_no_link = xyes; then
15563 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15564 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15565 { (exit 1); exit 1; }; }
15567 cat >conftest.$ac_ext <<_ACEOF
15568 /* confdefs.h. */
15569 _ACEOF
15570 cat confdefs.h >>conftest.$ac_ext
15571 cat >>conftest.$ac_ext <<_ACEOF
15572 /* end confdefs.h. */
15573 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15574 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15575 #define $ac_func innocuous_$ac_func
15577 /* System header to define __stub macros and hopefully few prototypes,
15578 which can conflict with char $ac_func (); below.
15579 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15580 <limits.h> exists even on freestanding compilers. */
15582 #ifdef __STDC__
15583 # include <limits.h>
15584 #else
15585 # include <assert.h>
15586 #endif
15588 #undef $ac_func
15590 /* Override any gcc2 internal prototype to avoid an error. */
15591 #ifdef __cplusplus
15592 extern "C"
15594 #endif
15595 /* We use char because int might match the return type of a gcc2
15596 builtin and then its argument prototype would still apply. */
15597 char $ac_func ();
15598 /* The GNU C library defines this for functions which it implements
15599 to always fail with ENOSYS. Some functions are actually named
15600 something starting with __ and the normal name is an alias. */
15601 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15602 choke me
15603 #else
15604 char (*f) () = $ac_func;
15605 #endif
15606 #ifdef __cplusplus
15608 #endif
15611 main ()
15613 return f != $ac_func;
15615 return 0;
15617 _ACEOF
15618 rm -f conftest.$ac_objext conftest$ac_exeext
15619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15620 (eval $ac_link) 2>conftest.er1
15621 ac_status=$?
15622 grep -v '^ *+' conftest.er1 >conftest.err
15623 rm -f conftest.er1
15624 cat conftest.err >&5
15625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15626 (exit $ac_status); } &&
15627 { ac_try='test -z "$ac_c_werror_flag"
15628 || test ! -s conftest.err'
15629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15630 (eval $ac_try) 2>&5
15631 ac_status=$?
15632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15633 (exit $ac_status); }; } &&
15634 { ac_try='test -s conftest$ac_exeext'
15635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15636 (eval $ac_try) 2>&5
15637 ac_status=$?
15638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15639 (exit $ac_status); }; }; then
15640 eval "$as_ac_var=yes"
15641 else
15642 echo "$as_me: failed program was:" >&5
15643 sed 's/^/| /' conftest.$ac_ext >&5
15645 eval "$as_ac_var=no"
15647 rm -f conftest.err conftest.$ac_objext \
15648 conftest$ac_exeext conftest.$ac_ext
15650 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15651 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15652 if test `eval echo '${'$as_ac_var'}'` = yes; then
15653 cat >>confdefs.h <<_ACEOF
15654 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15655 _ACEOF
15658 done
15668 echo "$as_me:$LINENO: checking for logf declaration" >&5
15669 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
15670 if test x${glibcxx_cv_func_logf_use+set} != xset; then
15671 if test "${glibcxx_cv_func_logf_use+set}" = set; then
15672 echo $ECHO_N "(cached) $ECHO_C" >&6
15673 else
15677 ac_ext=cc
15678 ac_cpp='$CXXCPP $CPPFLAGS'
15679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15683 cat >conftest.$ac_ext <<_ACEOF
15684 /* confdefs.h. */
15685 _ACEOF
15686 cat confdefs.h >>conftest.$ac_ext
15687 cat >>conftest.$ac_ext <<_ACEOF
15688 /* end confdefs.h. */
15689 #include <math.h>
15690 #ifdef HAVE_IEEEFP_H
15691 #include <ieeefp.h>
15692 #endif
15695 main ()
15697 logf(0);
15699 return 0;
15701 _ACEOF
15702 rm -f conftest.$ac_objext
15703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15704 (eval $ac_compile) 2>conftest.er1
15705 ac_status=$?
15706 grep -v '^ *+' conftest.er1 >conftest.err
15707 rm -f conftest.er1
15708 cat conftest.err >&5
15709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15710 (exit $ac_status); } &&
15711 { ac_try='test -z "$ac_cxx_werror_flag"
15712 || test ! -s conftest.err'
15713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15714 (eval $ac_try) 2>&5
15715 ac_status=$?
15716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15717 (exit $ac_status); }; } &&
15718 { ac_try='test -s conftest.$ac_objext'
15719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15720 (eval $ac_try) 2>&5
15721 ac_status=$?
15722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15723 (exit $ac_status); }; }; then
15724 glibcxx_cv_func_logf_use=yes
15725 else
15726 echo "$as_me: failed program was:" >&5
15727 sed 's/^/| /' conftest.$ac_ext >&5
15729 glibcxx_cv_func_logf_use=no
15731 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15732 ac_ext=c
15733 ac_cpp='$CPP $CPPFLAGS'
15734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15742 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
15743 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
15745 if test x$glibcxx_cv_func_logf_use = x"yes"; then
15747 for ac_func in logf
15749 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15750 echo "$as_me:$LINENO: checking for $ac_func" >&5
15751 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15752 if eval "test \"\${$as_ac_var+set}\" = set"; then
15753 echo $ECHO_N "(cached) $ECHO_C" >&6
15754 else
15755 if test x$gcc_no_link = xyes; then
15756 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15757 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15758 { (exit 1); exit 1; }; }
15760 cat >conftest.$ac_ext <<_ACEOF
15761 /* confdefs.h. */
15762 _ACEOF
15763 cat confdefs.h >>conftest.$ac_ext
15764 cat >>conftest.$ac_ext <<_ACEOF
15765 /* end confdefs.h. */
15766 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15767 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15768 #define $ac_func innocuous_$ac_func
15770 /* System header to define __stub macros and hopefully few prototypes,
15771 which can conflict with char $ac_func (); below.
15772 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15773 <limits.h> exists even on freestanding compilers. */
15775 #ifdef __STDC__
15776 # include <limits.h>
15777 #else
15778 # include <assert.h>
15779 #endif
15781 #undef $ac_func
15783 /* Override any gcc2 internal prototype to avoid an error. */
15784 #ifdef __cplusplus
15785 extern "C"
15787 #endif
15788 /* We use char because int might match the return type of a gcc2
15789 builtin and then its argument prototype would still apply. */
15790 char $ac_func ();
15791 /* The GNU C library defines this for functions which it implements
15792 to always fail with ENOSYS. Some functions are actually named
15793 something starting with __ and the normal name is an alias. */
15794 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15795 choke me
15796 #else
15797 char (*f) () = $ac_func;
15798 #endif
15799 #ifdef __cplusplus
15801 #endif
15804 main ()
15806 return f != $ac_func;
15808 return 0;
15810 _ACEOF
15811 rm -f conftest.$ac_objext conftest$ac_exeext
15812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15813 (eval $ac_link) 2>conftest.er1
15814 ac_status=$?
15815 grep -v '^ *+' conftest.er1 >conftest.err
15816 rm -f conftest.er1
15817 cat conftest.err >&5
15818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15819 (exit $ac_status); } &&
15820 { ac_try='test -z "$ac_c_werror_flag"
15821 || test ! -s conftest.err'
15822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15823 (eval $ac_try) 2>&5
15824 ac_status=$?
15825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15826 (exit $ac_status); }; } &&
15827 { ac_try='test -s conftest$ac_exeext'
15828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15829 (eval $ac_try) 2>&5
15830 ac_status=$?
15831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15832 (exit $ac_status); }; }; then
15833 eval "$as_ac_var=yes"
15834 else
15835 echo "$as_me: failed program was:" >&5
15836 sed 's/^/| /' conftest.$ac_ext >&5
15838 eval "$as_ac_var=no"
15840 rm -f conftest.err conftest.$ac_objext \
15841 conftest$ac_exeext conftest.$ac_ext
15843 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15844 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15845 if test `eval echo '${'$as_ac_var'}'` = yes; then
15846 cat >>confdefs.h <<_ACEOF
15847 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15848 _ACEOF
15851 done
15853 else
15855 echo "$as_me:$LINENO: checking for _logf declaration" >&5
15856 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
15857 if test x${glibcxx_cv_func__logf_use+set} != xset; then
15858 if test "${glibcxx_cv_func__logf_use+set}" = set; then
15859 echo $ECHO_N "(cached) $ECHO_C" >&6
15860 else
15864 ac_ext=cc
15865 ac_cpp='$CXXCPP $CPPFLAGS'
15866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15870 cat >conftest.$ac_ext <<_ACEOF
15871 /* confdefs.h. */
15872 _ACEOF
15873 cat confdefs.h >>conftest.$ac_ext
15874 cat >>conftest.$ac_ext <<_ACEOF
15875 /* end confdefs.h. */
15876 #include <math.h>
15877 #ifdef HAVE_IEEEFP_H
15878 #include <ieeefp.h>
15879 #endif
15882 main ()
15884 _logf(0);
15886 return 0;
15888 _ACEOF
15889 rm -f conftest.$ac_objext
15890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15891 (eval $ac_compile) 2>conftest.er1
15892 ac_status=$?
15893 grep -v '^ *+' conftest.er1 >conftest.err
15894 rm -f conftest.er1
15895 cat conftest.err >&5
15896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15897 (exit $ac_status); } &&
15898 { ac_try='test -z "$ac_cxx_werror_flag"
15899 || test ! -s conftest.err'
15900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15901 (eval $ac_try) 2>&5
15902 ac_status=$?
15903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15904 (exit $ac_status); }; } &&
15905 { ac_try='test -s conftest.$ac_objext'
15906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15907 (eval $ac_try) 2>&5
15908 ac_status=$?
15909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15910 (exit $ac_status); }; }; then
15911 glibcxx_cv_func__logf_use=yes
15912 else
15913 echo "$as_me: failed program was:" >&5
15914 sed 's/^/| /' conftest.$ac_ext >&5
15916 glibcxx_cv_func__logf_use=no
15918 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15919 ac_ext=c
15920 ac_cpp='$CPP $CPPFLAGS'
15921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15929 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
15930 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
15932 if test x$glibcxx_cv_func__logf_use = x"yes"; then
15934 for ac_func in _logf
15936 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15937 echo "$as_me:$LINENO: checking for $ac_func" >&5
15938 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15939 if eval "test \"\${$as_ac_var+set}\" = set"; then
15940 echo $ECHO_N "(cached) $ECHO_C" >&6
15941 else
15942 if test x$gcc_no_link = xyes; then
15943 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15944 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15945 { (exit 1); exit 1; }; }
15947 cat >conftest.$ac_ext <<_ACEOF
15948 /* confdefs.h. */
15949 _ACEOF
15950 cat confdefs.h >>conftest.$ac_ext
15951 cat >>conftest.$ac_ext <<_ACEOF
15952 /* end confdefs.h. */
15953 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15954 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15955 #define $ac_func innocuous_$ac_func
15957 /* System header to define __stub macros and hopefully few prototypes,
15958 which can conflict with char $ac_func (); below.
15959 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15960 <limits.h> exists even on freestanding compilers. */
15962 #ifdef __STDC__
15963 # include <limits.h>
15964 #else
15965 # include <assert.h>
15966 #endif
15968 #undef $ac_func
15970 /* Override any gcc2 internal prototype to avoid an error. */
15971 #ifdef __cplusplus
15972 extern "C"
15974 #endif
15975 /* We use char because int might match the return type of a gcc2
15976 builtin and then its argument prototype would still apply. */
15977 char $ac_func ();
15978 /* The GNU C library defines this for functions which it implements
15979 to always fail with ENOSYS. Some functions are actually named
15980 something starting with __ and the normal name is an alias. */
15981 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15982 choke me
15983 #else
15984 char (*f) () = $ac_func;
15985 #endif
15986 #ifdef __cplusplus
15988 #endif
15991 main ()
15993 return f != $ac_func;
15995 return 0;
15997 _ACEOF
15998 rm -f conftest.$ac_objext conftest$ac_exeext
15999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16000 (eval $ac_link) 2>conftest.er1
16001 ac_status=$?
16002 grep -v '^ *+' conftest.er1 >conftest.err
16003 rm -f conftest.er1
16004 cat conftest.err >&5
16005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16006 (exit $ac_status); } &&
16007 { ac_try='test -z "$ac_c_werror_flag"
16008 || test ! -s conftest.err'
16009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16010 (eval $ac_try) 2>&5
16011 ac_status=$?
16012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16013 (exit $ac_status); }; } &&
16014 { ac_try='test -s conftest$ac_exeext'
16015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16016 (eval $ac_try) 2>&5
16017 ac_status=$?
16018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16019 (exit $ac_status); }; }; then
16020 eval "$as_ac_var=yes"
16021 else
16022 echo "$as_me: failed program was:" >&5
16023 sed 's/^/| /' conftest.$ac_ext >&5
16025 eval "$as_ac_var=no"
16027 rm -f conftest.err conftest.$ac_objext \
16028 conftest$ac_exeext conftest.$ac_ext
16030 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16031 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16032 if test `eval echo '${'$as_ac_var'}'` = yes; then
16033 cat >>confdefs.h <<_ACEOF
16034 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16035 _ACEOF
16038 done
16048 echo "$as_me:$LINENO: checking for log10f declaration" >&5
16049 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
16050 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
16051 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
16052 echo $ECHO_N "(cached) $ECHO_C" >&6
16053 else
16057 ac_ext=cc
16058 ac_cpp='$CXXCPP $CPPFLAGS'
16059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16063 cat >conftest.$ac_ext <<_ACEOF
16064 /* confdefs.h. */
16065 _ACEOF
16066 cat confdefs.h >>conftest.$ac_ext
16067 cat >>conftest.$ac_ext <<_ACEOF
16068 /* end confdefs.h. */
16069 #include <math.h>
16070 #ifdef HAVE_IEEEFP_H
16071 #include <ieeefp.h>
16072 #endif
16075 main ()
16077 log10f(0);
16079 return 0;
16081 _ACEOF
16082 rm -f conftest.$ac_objext
16083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16084 (eval $ac_compile) 2>conftest.er1
16085 ac_status=$?
16086 grep -v '^ *+' conftest.er1 >conftest.err
16087 rm -f conftest.er1
16088 cat conftest.err >&5
16089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16090 (exit $ac_status); } &&
16091 { ac_try='test -z "$ac_cxx_werror_flag"
16092 || test ! -s conftest.err'
16093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16094 (eval $ac_try) 2>&5
16095 ac_status=$?
16096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16097 (exit $ac_status); }; } &&
16098 { ac_try='test -s conftest.$ac_objext'
16099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16100 (eval $ac_try) 2>&5
16101 ac_status=$?
16102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16103 (exit $ac_status); }; }; then
16104 glibcxx_cv_func_log10f_use=yes
16105 else
16106 echo "$as_me: failed program was:" >&5
16107 sed 's/^/| /' conftest.$ac_ext >&5
16109 glibcxx_cv_func_log10f_use=no
16111 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16112 ac_ext=c
16113 ac_cpp='$CPP $CPPFLAGS'
16114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16122 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
16123 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
16125 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
16127 for ac_func in log10f
16129 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16130 echo "$as_me:$LINENO: checking for $ac_func" >&5
16131 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16132 if eval "test \"\${$as_ac_var+set}\" = set"; then
16133 echo $ECHO_N "(cached) $ECHO_C" >&6
16134 else
16135 if test x$gcc_no_link = xyes; then
16136 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16137 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16138 { (exit 1); exit 1; }; }
16140 cat >conftest.$ac_ext <<_ACEOF
16141 /* confdefs.h. */
16142 _ACEOF
16143 cat confdefs.h >>conftest.$ac_ext
16144 cat >>conftest.$ac_ext <<_ACEOF
16145 /* end confdefs.h. */
16146 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16147 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16148 #define $ac_func innocuous_$ac_func
16150 /* System header to define __stub macros and hopefully few prototypes,
16151 which can conflict with char $ac_func (); below.
16152 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16153 <limits.h> exists even on freestanding compilers. */
16155 #ifdef __STDC__
16156 # include <limits.h>
16157 #else
16158 # include <assert.h>
16159 #endif
16161 #undef $ac_func
16163 /* Override any gcc2 internal prototype to avoid an error. */
16164 #ifdef __cplusplus
16165 extern "C"
16167 #endif
16168 /* We use char because int might match the return type of a gcc2
16169 builtin and then its argument prototype would still apply. */
16170 char $ac_func ();
16171 /* The GNU C library defines this for functions which it implements
16172 to always fail with ENOSYS. Some functions are actually named
16173 something starting with __ and the normal name is an alias. */
16174 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16175 choke me
16176 #else
16177 char (*f) () = $ac_func;
16178 #endif
16179 #ifdef __cplusplus
16181 #endif
16184 main ()
16186 return f != $ac_func;
16188 return 0;
16190 _ACEOF
16191 rm -f conftest.$ac_objext conftest$ac_exeext
16192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16193 (eval $ac_link) 2>conftest.er1
16194 ac_status=$?
16195 grep -v '^ *+' conftest.er1 >conftest.err
16196 rm -f conftest.er1
16197 cat conftest.err >&5
16198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16199 (exit $ac_status); } &&
16200 { ac_try='test -z "$ac_c_werror_flag"
16201 || test ! -s conftest.err'
16202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16203 (eval $ac_try) 2>&5
16204 ac_status=$?
16205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16206 (exit $ac_status); }; } &&
16207 { ac_try='test -s conftest$ac_exeext'
16208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16209 (eval $ac_try) 2>&5
16210 ac_status=$?
16211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16212 (exit $ac_status); }; }; then
16213 eval "$as_ac_var=yes"
16214 else
16215 echo "$as_me: failed program was:" >&5
16216 sed 's/^/| /' conftest.$ac_ext >&5
16218 eval "$as_ac_var=no"
16220 rm -f conftest.err conftest.$ac_objext \
16221 conftest$ac_exeext conftest.$ac_ext
16223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16224 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16225 if test `eval echo '${'$as_ac_var'}'` = yes; then
16226 cat >>confdefs.h <<_ACEOF
16227 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16228 _ACEOF
16231 done
16233 else
16235 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
16236 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
16237 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
16238 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
16239 echo $ECHO_N "(cached) $ECHO_C" >&6
16240 else
16244 ac_ext=cc
16245 ac_cpp='$CXXCPP $CPPFLAGS'
16246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16250 cat >conftest.$ac_ext <<_ACEOF
16251 /* confdefs.h. */
16252 _ACEOF
16253 cat confdefs.h >>conftest.$ac_ext
16254 cat >>conftest.$ac_ext <<_ACEOF
16255 /* end confdefs.h. */
16256 #include <math.h>
16257 #ifdef HAVE_IEEEFP_H
16258 #include <ieeefp.h>
16259 #endif
16262 main ()
16264 _log10f(0);
16266 return 0;
16268 _ACEOF
16269 rm -f conftest.$ac_objext
16270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16271 (eval $ac_compile) 2>conftest.er1
16272 ac_status=$?
16273 grep -v '^ *+' conftest.er1 >conftest.err
16274 rm -f conftest.er1
16275 cat conftest.err >&5
16276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16277 (exit $ac_status); } &&
16278 { ac_try='test -z "$ac_cxx_werror_flag"
16279 || test ! -s conftest.err'
16280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16281 (eval $ac_try) 2>&5
16282 ac_status=$?
16283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16284 (exit $ac_status); }; } &&
16285 { ac_try='test -s conftest.$ac_objext'
16286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16287 (eval $ac_try) 2>&5
16288 ac_status=$?
16289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16290 (exit $ac_status); }; }; then
16291 glibcxx_cv_func__log10f_use=yes
16292 else
16293 echo "$as_me: failed program was:" >&5
16294 sed 's/^/| /' conftest.$ac_ext >&5
16296 glibcxx_cv_func__log10f_use=no
16298 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16299 ac_ext=c
16300 ac_cpp='$CPP $CPPFLAGS'
16301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16309 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
16310 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
16312 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
16314 for ac_func in _log10f
16316 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16317 echo "$as_me:$LINENO: checking for $ac_func" >&5
16318 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16319 if eval "test \"\${$as_ac_var+set}\" = set"; then
16320 echo $ECHO_N "(cached) $ECHO_C" >&6
16321 else
16322 if test x$gcc_no_link = xyes; then
16323 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16324 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16325 { (exit 1); exit 1; }; }
16327 cat >conftest.$ac_ext <<_ACEOF
16328 /* confdefs.h. */
16329 _ACEOF
16330 cat confdefs.h >>conftest.$ac_ext
16331 cat >>conftest.$ac_ext <<_ACEOF
16332 /* end confdefs.h. */
16333 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16334 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16335 #define $ac_func innocuous_$ac_func
16337 /* System header to define __stub macros and hopefully few prototypes,
16338 which can conflict with char $ac_func (); below.
16339 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16340 <limits.h> exists even on freestanding compilers. */
16342 #ifdef __STDC__
16343 # include <limits.h>
16344 #else
16345 # include <assert.h>
16346 #endif
16348 #undef $ac_func
16350 /* Override any gcc2 internal prototype to avoid an error. */
16351 #ifdef __cplusplus
16352 extern "C"
16354 #endif
16355 /* We use char because int might match the return type of a gcc2
16356 builtin and then its argument prototype would still apply. */
16357 char $ac_func ();
16358 /* The GNU C library defines this for functions which it implements
16359 to always fail with ENOSYS. Some functions are actually named
16360 something starting with __ and the normal name is an alias. */
16361 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16362 choke me
16363 #else
16364 char (*f) () = $ac_func;
16365 #endif
16366 #ifdef __cplusplus
16368 #endif
16371 main ()
16373 return f != $ac_func;
16375 return 0;
16377 _ACEOF
16378 rm -f conftest.$ac_objext conftest$ac_exeext
16379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16380 (eval $ac_link) 2>conftest.er1
16381 ac_status=$?
16382 grep -v '^ *+' conftest.er1 >conftest.err
16383 rm -f conftest.er1
16384 cat conftest.err >&5
16385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16386 (exit $ac_status); } &&
16387 { ac_try='test -z "$ac_c_werror_flag"
16388 || test ! -s conftest.err'
16389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16390 (eval $ac_try) 2>&5
16391 ac_status=$?
16392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16393 (exit $ac_status); }; } &&
16394 { ac_try='test -s conftest$ac_exeext'
16395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16396 (eval $ac_try) 2>&5
16397 ac_status=$?
16398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16399 (exit $ac_status); }; }; then
16400 eval "$as_ac_var=yes"
16401 else
16402 echo "$as_me: failed program was:" >&5
16403 sed 's/^/| /' conftest.$ac_ext >&5
16405 eval "$as_ac_var=no"
16407 rm -f conftest.err conftest.$ac_objext \
16408 conftest$ac_exeext conftest.$ac_ext
16410 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16411 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16412 if test `eval echo '${'$as_ac_var'}'` = yes; then
16413 cat >>confdefs.h <<_ACEOF
16414 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16415 _ACEOF
16418 done
16428 echo "$as_me:$LINENO: checking for modff declaration" >&5
16429 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
16430 if test x${glibcxx_cv_func_modff_use+set} != xset; then
16431 if test "${glibcxx_cv_func_modff_use+set}" = set; then
16432 echo $ECHO_N "(cached) $ECHO_C" >&6
16433 else
16437 ac_ext=cc
16438 ac_cpp='$CXXCPP $CPPFLAGS'
16439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16443 cat >conftest.$ac_ext <<_ACEOF
16444 /* confdefs.h. */
16445 _ACEOF
16446 cat confdefs.h >>conftest.$ac_ext
16447 cat >>conftest.$ac_ext <<_ACEOF
16448 /* end confdefs.h. */
16449 #include <math.h>
16451 main ()
16453 modff(0, 0);
16455 return 0;
16457 _ACEOF
16458 rm -f conftest.$ac_objext
16459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16460 (eval $ac_compile) 2>conftest.er1
16461 ac_status=$?
16462 grep -v '^ *+' conftest.er1 >conftest.err
16463 rm -f conftest.er1
16464 cat conftest.err >&5
16465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16466 (exit $ac_status); } &&
16467 { ac_try='test -z "$ac_cxx_werror_flag"
16468 || test ! -s conftest.err'
16469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16470 (eval $ac_try) 2>&5
16471 ac_status=$?
16472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16473 (exit $ac_status); }; } &&
16474 { ac_try='test -s conftest.$ac_objext'
16475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16476 (eval $ac_try) 2>&5
16477 ac_status=$?
16478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16479 (exit $ac_status); }; }; then
16480 glibcxx_cv_func_modff_use=yes
16481 else
16482 echo "$as_me: failed program was:" >&5
16483 sed 's/^/| /' conftest.$ac_ext >&5
16485 glibcxx_cv_func_modff_use=no
16487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16488 ac_ext=c
16489 ac_cpp='$CPP $CPPFLAGS'
16490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16498 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
16499 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
16501 if test x$glibcxx_cv_func_modff_use = x"yes"; then
16503 for ac_func in modff
16505 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16506 echo "$as_me:$LINENO: checking for $ac_func" >&5
16507 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16508 if eval "test \"\${$as_ac_var+set}\" = set"; then
16509 echo $ECHO_N "(cached) $ECHO_C" >&6
16510 else
16511 if test x$gcc_no_link = xyes; then
16512 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16513 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16514 { (exit 1); exit 1; }; }
16516 cat >conftest.$ac_ext <<_ACEOF
16517 /* confdefs.h. */
16518 _ACEOF
16519 cat confdefs.h >>conftest.$ac_ext
16520 cat >>conftest.$ac_ext <<_ACEOF
16521 /* end confdefs.h. */
16522 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16523 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16524 #define $ac_func innocuous_$ac_func
16526 /* System header to define __stub macros and hopefully few prototypes,
16527 which can conflict with char $ac_func (); below.
16528 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16529 <limits.h> exists even on freestanding compilers. */
16531 #ifdef __STDC__
16532 # include <limits.h>
16533 #else
16534 # include <assert.h>
16535 #endif
16537 #undef $ac_func
16539 /* Override any gcc2 internal prototype to avoid an error. */
16540 #ifdef __cplusplus
16541 extern "C"
16543 #endif
16544 /* We use char because int might match the return type of a gcc2
16545 builtin and then its argument prototype would still apply. */
16546 char $ac_func ();
16547 /* The GNU C library defines this for functions which it implements
16548 to always fail with ENOSYS. Some functions are actually named
16549 something starting with __ and the normal name is an alias. */
16550 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16551 choke me
16552 #else
16553 char (*f) () = $ac_func;
16554 #endif
16555 #ifdef __cplusplus
16557 #endif
16560 main ()
16562 return f != $ac_func;
16564 return 0;
16566 _ACEOF
16567 rm -f conftest.$ac_objext conftest$ac_exeext
16568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16569 (eval $ac_link) 2>conftest.er1
16570 ac_status=$?
16571 grep -v '^ *+' conftest.er1 >conftest.err
16572 rm -f conftest.er1
16573 cat conftest.err >&5
16574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16575 (exit $ac_status); } &&
16576 { ac_try='test -z "$ac_c_werror_flag"
16577 || test ! -s conftest.err'
16578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16579 (eval $ac_try) 2>&5
16580 ac_status=$?
16581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16582 (exit $ac_status); }; } &&
16583 { ac_try='test -s conftest$ac_exeext'
16584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16585 (eval $ac_try) 2>&5
16586 ac_status=$?
16587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16588 (exit $ac_status); }; }; then
16589 eval "$as_ac_var=yes"
16590 else
16591 echo "$as_me: failed program was:" >&5
16592 sed 's/^/| /' conftest.$ac_ext >&5
16594 eval "$as_ac_var=no"
16596 rm -f conftest.err conftest.$ac_objext \
16597 conftest$ac_exeext conftest.$ac_ext
16599 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16600 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16601 if test `eval echo '${'$as_ac_var'}'` = yes; then
16602 cat >>confdefs.h <<_ACEOF
16603 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16604 _ACEOF
16607 done
16609 else
16611 echo "$as_me:$LINENO: checking for _modff declaration" >&5
16612 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
16613 if test x${glibcxx_cv_func__modff_use+set} != xset; then
16614 if test "${glibcxx_cv_func__modff_use+set}" = set; then
16615 echo $ECHO_N "(cached) $ECHO_C" >&6
16616 else
16620 ac_ext=cc
16621 ac_cpp='$CXXCPP $CPPFLAGS'
16622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16626 cat >conftest.$ac_ext <<_ACEOF
16627 /* confdefs.h. */
16628 _ACEOF
16629 cat confdefs.h >>conftest.$ac_ext
16630 cat >>conftest.$ac_ext <<_ACEOF
16631 /* end confdefs.h. */
16632 #include <math.h>
16634 main ()
16636 _modff(0, 0);
16638 return 0;
16640 _ACEOF
16641 rm -f conftest.$ac_objext
16642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16643 (eval $ac_compile) 2>conftest.er1
16644 ac_status=$?
16645 grep -v '^ *+' conftest.er1 >conftest.err
16646 rm -f conftest.er1
16647 cat conftest.err >&5
16648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16649 (exit $ac_status); } &&
16650 { ac_try='test -z "$ac_cxx_werror_flag"
16651 || test ! -s conftest.err'
16652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16653 (eval $ac_try) 2>&5
16654 ac_status=$?
16655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16656 (exit $ac_status); }; } &&
16657 { ac_try='test -s conftest.$ac_objext'
16658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16659 (eval $ac_try) 2>&5
16660 ac_status=$?
16661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16662 (exit $ac_status); }; }; then
16663 glibcxx_cv_func__modff_use=yes
16664 else
16665 echo "$as_me: failed program was:" >&5
16666 sed 's/^/| /' conftest.$ac_ext >&5
16668 glibcxx_cv_func__modff_use=no
16670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16671 ac_ext=c
16672 ac_cpp='$CPP $CPPFLAGS'
16673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16681 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
16682 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
16684 if test x$glibcxx_cv_func__modff_use = x"yes"; then
16686 for ac_func in _modff
16688 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16689 echo "$as_me:$LINENO: checking for $ac_func" >&5
16690 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16691 if eval "test \"\${$as_ac_var+set}\" = set"; then
16692 echo $ECHO_N "(cached) $ECHO_C" >&6
16693 else
16694 if test x$gcc_no_link = xyes; then
16695 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16696 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16697 { (exit 1); exit 1; }; }
16699 cat >conftest.$ac_ext <<_ACEOF
16700 /* confdefs.h. */
16701 _ACEOF
16702 cat confdefs.h >>conftest.$ac_ext
16703 cat >>conftest.$ac_ext <<_ACEOF
16704 /* end confdefs.h. */
16705 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16706 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16707 #define $ac_func innocuous_$ac_func
16709 /* System header to define __stub macros and hopefully few prototypes,
16710 which can conflict with char $ac_func (); below.
16711 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16712 <limits.h> exists even on freestanding compilers. */
16714 #ifdef __STDC__
16715 # include <limits.h>
16716 #else
16717 # include <assert.h>
16718 #endif
16720 #undef $ac_func
16722 /* Override any gcc2 internal prototype to avoid an error. */
16723 #ifdef __cplusplus
16724 extern "C"
16726 #endif
16727 /* We use char because int might match the return type of a gcc2
16728 builtin and then its argument prototype would still apply. */
16729 char $ac_func ();
16730 /* The GNU C library defines this for functions which it implements
16731 to always fail with ENOSYS. Some functions are actually named
16732 something starting with __ and the normal name is an alias. */
16733 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16734 choke me
16735 #else
16736 char (*f) () = $ac_func;
16737 #endif
16738 #ifdef __cplusplus
16740 #endif
16743 main ()
16745 return f != $ac_func;
16747 return 0;
16749 _ACEOF
16750 rm -f conftest.$ac_objext conftest$ac_exeext
16751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16752 (eval $ac_link) 2>conftest.er1
16753 ac_status=$?
16754 grep -v '^ *+' conftest.er1 >conftest.err
16755 rm -f conftest.er1
16756 cat conftest.err >&5
16757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16758 (exit $ac_status); } &&
16759 { ac_try='test -z "$ac_c_werror_flag"
16760 || test ! -s conftest.err'
16761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16762 (eval $ac_try) 2>&5
16763 ac_status=$?
16764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16765 (exit $ac_status); }; } &&
16766 { ac_try='test -s conftest$ac_exeext'
16767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16768 (eval $ac_try) 2>&5
16769 ac_status=$?
16770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16771 (exit $ac_status); }; }; then
16772 eval "$as_ac_var=yes"
16773 else
16774 echo "$as_me: failed program was:" >&5
16775 sed 's/^/| /' conftest.$ac_ext >&5
16777 eval "$as_ac_var=no"
16779 rm -f conftest.err conftest.$ac_objext \
16780 conftest$ac_exeext conftest.$ac_ext
16782 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16783 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16784 if test `eval echo '${'$as_ac_var'}'` = yes; then
16785 cat >>confdefs.h <<_ACEOF
16786 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16787 _ACEOF
16790 done
16800 echo "$as_me:$LINENO: checking for modf declaration" >&5
16801 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
16802 if test x${glibcxx_cv_func_modf_use+set} != xset; then
16803 if test "${glibcxx_cv_func_modf_use+set}" = set; then
16804 echo $ECHO_N "(cached) $ECHO_C" >&6
16805 else
16809 ac_ext=cc
16810 ac_cpp='$CXXCPP $CPPFLAGS'
16811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16815 cat >conftest.$ac_ext <<_ACEOF
16816 /* confdefs.h. */
16817 _ACEOF
16818 cat confdefs.h >>conftest.$ac_ext
16819 cat >>conftest.$ac_ext <<_ACEOF
16820 /* end confdefs.h. */
16821 #include <math.h>
16823 main ()
16825 modf(0, 0);
16827 return 0;
16829 _ACEOF
16830 rm -f conftest.$ac_objext
16831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16832 (eval $ac_compile) 2>conftest.er1
16833 ac_status=$?
16834 grep -v '^ *+' conftest.er1 >conftest.err
16835 rm -f conftest.er1
16836 cat conftest.err >&5
16837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16838 (exit $ac_status); } &&
16839 { ac_try='test -z "$ac_cxx_werror_flag"
16840 || test ! -s conftest.err'
16841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16842 (eval $ac_try) 2>&5
16843 ac_status=$?
16844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16845 (exit $ac_status); }; } &&
16846 { ac_try='test -s conftest.$ac_objext'
16847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16848 (eval $ac_try) 2>&5
16849 ac_status=$?
16850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16851 (exit $ac_status); }; }; then
16852 glibcxx_cv_func_modf_use=yes
16853 else
16854 echo "$as_me: failed program was:" >&5
16855 sed 's/^/| /' conftest.$ac_ext >&5
16857 glibcxx_cv_func_modf_use=no
16859 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16860 ac_ext=c
16861 ac_cpp='$CPP $CPPFLAGS'
16862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16870 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
16871 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
16873 if test x$glibcxx_cv_func_modf_use = x"yes"; then
16875 for ac_func in modf
16877 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16878 echo "$as_me:$LINENO: checking for $ac_func" >&5
16879 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16880 if eval "test \"\${$as_ac_var+set}\" = set"; then
16881 echo $ECHO_N "(cached) $ECHO_C" >&6
16882 else
16883 if test x$gcc_no_link = xyes; then
16884 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16885 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16886 { (exit 1); exit 1; }; }
16888 cat >conftest.$ac_ext <<_ACEOF
16889 /* confdefs.h. */
16890 _ACEOF
16891 cat confdefs.h >>conftest.$ac_ext
16892 cat >>conftest.$ac_ext <<_ACEOF
16893 /* end confdefs.h. */
16894 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16895 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16896 #define $ac_func innocuous_$ac_func
16898 /* System header to define __stub macros and hopefully few prototypes,
16899 which can conflict with char $ac_func (); below.
16900 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16901 <limits.h> exists even on freestanding compilers. */
16903 #ifdef __STDC__
16904 # include <limits.h>
16905 #else
16906 # include <assert.h>
16907 #endif
16909 #undef $ac_func
16911 /* Override any gcc2 internal prototype to avoid an error. */
16912 #ifdef __cplusplus
16913 extern "C"
16915 #endif
16916 /* We use char because int might match the return type of a gcc2
16917 builtin and then its argument prototype would still apply. */
16918 char $ac_func ();
16919 /* The GNU C library defines this for functions which it implements
16920 to always fail with ENOSYS. Some functions are actually named
16921 something starting with __ and the normal name is an alias. */
16922 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16923 choke me
16924 #else
16925 char (*f) () = $ac_func;
16926 #endif
16927 #ifdef __cplusplus
16929 #endif
16932 main ()
16934 return f != $ac_func;
16936 return 0;
16938 _ACEOF
16939 rm -f conftest.$ac_objext conftest$ac_exeext
16940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16941 (eval $ac_link) 2>conftest.er1
16942 ac_status=$?
16943 grep -v '^ *+' conftest.er1 >conftest.err
16944 rm -f conftest.er1
16945 cat conftest.err >&5
16946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16947 (exit $ac_status); } &&
16948 { ac_try='test -z "$ac_c_werror_flag"
16949 || test ! -s conftest.err'
16950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16951 (eval $ac_try) 2>&5
16952 ac_status=$?
16953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16954 (exit $ac_status); }; } &&
16955 { ac_try='test -s conftest$ac_exeext'
16956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16957 (eval $ac_try) 2>&5
16958 ac_status=$?
16959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16960 (exit $ac_status); }; }; then
16961 eval "$as_ac_var=yes"
16962 else
16963 echo "$as_me: failed program was:" >&5
16964 sed 's/^/| /' conftest.$ac_ext >&5
16966 eval "$as_ac_var=no"
16968 rm -f conftest.err conftest.$ac_objext \
16969 conftest$ac_exeext conftest.$ac_ext
16971 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16972 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16973 if test `eval echo '${'$as_ac_var'}'` = yes; then
16974 cat >>confdefs.h <<_ACEOF
16975 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16976 _ACEOF
16979 done
16981 else
16983 echo "$as_me:$LINENO: checking for _modf declaration" >&5
16984 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
16985 if test x${glibcxx_cv_func__modf_use+set} != xset; then
16986 if test "${glibcxx_cv_func__modf_use+set}" = set; then
16987 echo $ECHO_N "(cached) $ECHO_C" >&6
16988 else
16992 ac_ext=cc
16993 ac_cpp='$CXXCPP $CPPFLAGS'
16994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16998 cat >conftest.$ac_ext <<_ACEOF
16999 /* confdefs.h. */
17000 _ACEOF
17001 cat confdefs.h >>conftest.$ac_ext
17002 cat >>conftest.$ac_ext <<_ACEOF
17003 /* end confdefs.h. */
17004 #include <math.h>
17006 main ()
17008 _modf(0, 0);
17010 return 0;
17012 _ACEOF
17013 rm -f conftest.$ac_objext
17014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17015 (eval $ac_compile) 2>conftest.er1
17016 ac_status=$?
17017 grep -v '^ *+' conftest.er1 >conftest.err
17018 rm -f conftest.er1
17019 cat conftest.err >&5
17020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17021 (exit $ac_status); } &&
17022 { ac_try='test -z "$ac_cxx_werror_flag"
17023 || test ! -s conftest.err'
17024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17025 (eval $ac_try) 2>&5
17026 ac_status=$?
17027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17028 (exit $ac_status); }; } &&
17029 { ac_try='test -s conftest.$ac_objext'
17030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17031 (eval $ac_try) 2>&5
17032 ac_status=$?
17033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17034 (exit $ac_status); }; }; then
17035 glibcxx_cv_func__modf_use=yes
17036 else
17037 echo "$as_me: failed program was:" >&5
17038 sed 's/^/| /' conftest.$ac_ext >&5
17040 glibcxx_cv_func__modf_use=no
17042 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17043 ac_ext=c
17044 ac_cpp='$CPP $CPPFLAGS'
17045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17053 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
17054 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
17056 if test x$glibcxx_cv_func__modf_use = x"yes"; then
17058 for ac_func in _modf
17060 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17061 echo "$as_me:$LINENO: checking for $ac_func" >&5
17062 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17063 if eval "test \"\${$as_ac_var+set}\" = set"; then
17064 echo $ECHO_N "(cached) $ECHO_C" >&6
17065 else
17066 if test x$gcc_no_link = xyes; then
17067 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17068 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17069 { (exit 1); exit 1; }; }
17071 cat >conftest.$ac_ext <<_ACEOF
17072 /* confdefs.h. */
17073 _ACEOF
17074 cat confdefs.h >>conftest.$ac_ext
17075 cat >>conftest.$ac_ext <<_ACEOF
17076 /* end confdefs.h. */
17077 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17078 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17079 #define $ac_func innocuous_$ac_func
17081 /* System header to define __stub macros and hopefully few prototypes,
17082 which can conflict with char $ac_func (); below.
17083 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17084 <limits.h> exists even on freestanding compilers. */
17086 #ifdef __STDC__
17087 # include <limits.h>
17088 #else
17089 # include <assert.h>
17090 #endif
17092 #undef $ac_func
17094 /* Override any gcc2 internal prototype to avoid an error. */
17095 #ifdef __cplusplus
17096 extern "C"
17098 #endif
17099 /* We use char because int might match the return type of a gcc2
17100 builtin and then its argument prototype would still apply. */
17101 char $ac_func ();
17102 /* The GNU C library defines this for functions which it implements
17103 to always fail with ENOSYS. Some functions are actually named
17104 something starting with __ and the normal name is an alias. */
17105 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17106 choke me
17107 #else
17108 char (*f) () = $ac_func;
17109 #endif
17110 #ifdef __cplusplus
17112 #endif
17115 main ()
17117 return f != $ac_func;
17119 return 0;
17121 _ACEOF
17122 rm -f conftest.$ac_objext conftest$ac_exeext
17123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17124 (eval $ac_link) 2>conftest.er1
17125 ac_status=$?
17126 grep -v '^ *+' conftest.er1 >conftest.err
17127 rm -f conftest.er1
17128 cat conftest.err >&5
17129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17130 (exit $ac_status); } &&
17131 { ac_try='test -z "$ac_c_werror_flag"
17132 || test ! -s conftest.err'
17133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17134 (eval $ac_try) 2>&5
17135 ac_status=$?
17136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17137 (exit $ac_status); }; } &&
17138 { ac_try='test -s conftest$ac_exeext'
17139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17140 (eval $ac_try) 2>&5
17141 ac_status=$?
17142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17143 (exit $ac_status); }; }; then
17144 eval "$as_ac_var=yes"
17145 else
17146 echo "$as_me: failed program was:" >&5
17147 sed 's/^/| /' conftest.$ac_ext >&5
17149 eval "$as_ac_var=no"
17151 rm -f conftest.err conftest.$ac_objext \
17152 conftest$ac_exeext conftest.$ac_ext
17154 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17155 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17156 if test `eval echo '${'$as_ac_var'}'` = yes; then
17157 cat >>confdefs.h <<_ACEOF
17158 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17159 _ACEOF
17162 done
17172 echo "$as_me:$LINENO: checking for powf declaration" >&5
17173 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
17174 if test x${glibcxx_cv_func_powf_use+set} != xset; then
17175 if test "${glibcxx_cv_func_powf_use+set}" = set; then
17176 echo $ECHO_N "(cached) $ECHO_C" >&6
17177 else
17181 ac_ext=cc
17182 ac_cpp='$CXXCPP $CPPFLAGS'
17183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17187 cat >conftest.$ac_ext <<_ACEOF
17188 /* confdefs.h. */
17189 _ACEOF
17190 cat confdefs.h >>conftest.$ac_ext
17191 cat >>conftest.$ac_ext <<_ACEOF
17192 /* end confdefs.h. */
17193 #include <math.h>
17195 main ()
17197 powf(0, 0);
17199 return 0;
17201 _ACEOF
17202 rm -f conftest.$ac_objext
17203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17204 (eval $ac_compile) 2>conftest.er1
17205 ac_status=$?
17206 grep -v '^ *+' conftest.er1 >conftest.err
17207 rm -f conftest.er1
17208 cat conftest.err >&5
17209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17210 (exit $ac_status); } &&
17211 { ac_try='test -z "$ac_cxx_werror_flag"
17212 || test ! -s conftest.err'
17213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17214 (eval $ac_try) 2>&5
17215 ac_status=$?
17216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17217 (exit $ac_status); }; } &&
17218 { ac_try='test -s conftest.$ac_objext'
17219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17220 (eval $ac_try) 2>&5
17221 ac_status=$?
17222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17223 (exit $ac_status); }; }; then
17224 glibcxx_cv_func_powf_use=yes
17225 else
17226 echo "$as_me: failed program was:" >&5
17227 sed 's/^/| /' conftest.$ac_ext >&5
17229 glibcxx_cv_func_powf_use=no
17231 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17232 ac_ext=c
17233 ac_cpp='$CPP $CPPFLAGS'
17234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17242 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
17243 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
17245 if test x$glibcxx_cv_func_powf_use = x"yes"; then
17247 for ac_func in powf
17249 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17250 echo "$as_me:$LINENO: checking for $ac_func" >&5
17251 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17252 if eval "test \"\${$as_ac_var+set}\" = set"; then
17253 echo $ECHO_N "(cached) $ECHO_C" >&6
17254 else
17255 if test x$gcc_no_link = xyes; then
17256 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17257 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17258 { (exit 1); exit 1; }; }
17260 cat >conftest.$ac_ext <<_ACEOF
17261 /* confdefs.h. */
17262 _ACEOF
17263 cat confdefs.h >>conftest.$ac_ext
17264 cat >>conftest.$ac_ext <<_ACEOF
17265 /* end confdefs.h. */
17266 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17267 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17268 #define $ac_func innocuous_$ac_func
17270 /* System header to define __stub macros and hopefully few prototypes,
17271 which can conflict with char $ac_func (); below.
17272 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17273 <limits.h> exists even on freestanding compilers. */
17275 #ifdef __STDC__
17276 # include <limits.h>
17277 #else
17278 # include <assert.h>
17279 #endif
17281 #undef $ac_func
17283 /* Override any gcc2 internal prototype to avoid an error. */
17284 #ifdef __cplusplus
17285 extern "C"
17287 #endif
17288 /* We use char because int might match the return type of a gcc2
17289 builtin and then its argument prototype would still apply. */
17290 char $ac_func ();
17291 /* The GNU C library defines this for functions which it implements
17292 to always fail with ENOSYS. Some functions are actually named
17293 something starting with __ and the normal name is an alias. */
17294 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17295 choke me
17296 #else
17297 char (*f) () = $ac_func;
17298 #endif
17299 #ifdef __cplusplus
17301 #endif
17304 main ()
17306 return f != $ac_func;
17308 return 0;
17310 _ACEOF
17311 rm -f conftest.$ac_objext conftest$ac_exeext
17312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17313 (eval $ac_link) 2>conftest.er1
17314 ac_status=$?
17315 grep -v '^ *+' conftest.er1 >conftest.err
17316 rm -f conftest.er1
17317 cat conftest.err >&5
17318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17319 (exit $ac_status); } &&
17320 { ac_try='test -z "$ac_c_werror_flag"
17321 || test ! -s conftest.err'
17322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17323 (eval $ac_try) 2>&5
17324 ac_status=$?
17325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17326 (exit $ac_status); }; } &&
17327 { ac_try='test -s conftest$ac_exeext'
17328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17329 (eval $ac_try) 2>&5
17330 ac_status=$?
17331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17332 (exit $ac_status); }; }; then
17333 eval "$as_ac_var=yes"
17334 else
17335 echo "$as_me: failed program was:" >&5
17336 sed 's/^/| /' conftest.$ac_ext >&5
17338 eval "$as_ac_var=no"
17340 rm -f conftest.err conftest.$ac_objext \
17341 conftest$ac_exeext conftest.$ac_ext
17343 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17344 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17345 if test `eval echo '${'$as_ac_var'}'` = yes; then
17346 cat >>confdefs.h <<_ACEOF
17347 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17348 _ACEOF
17351 done
17353 else
17355 echo "$as_me:$LINENO: checking for _powf declaration" >&5
17356 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
17357 if test x${glibcxx_cv_func__powf_use+set} != xset; then
17358 if test "${glibcxx_cv_func__powf_use+set}" = set; then
17359 echo $ECHO_N "(cached) $ECHO_C" >&6
17360 else
17364 ac_ext=cc
17365 ac_cpp='$CXXCPP $CPPFLAGS'
17366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17370 cat >conftest.$ac_ext <<_ACEOF
17371 /* confdefs.h. */
17372 _ACEOF
17373 cat confdefs.h >>conftest.$ac_ext
17374 cat >>conftest.$ac_ext <<_ACEOF
17375 /* end confdefs.h. */
17376 #include <math.h>
17378 main ()
17380 _powf(0, 0);
17382 return 0;
17384 _ACEOF
17385 rm -f conftest.$ac_objext
17386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17387 (eval $ac_compile) 2>conftest.er1
17388 ac_status=$?
17389 grep -v '^ *+' conftest.er1 >conftest.err
17390 rm -f conftest.er1
17391 cat conftest.err >&5
17392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17393 (exit $ac_status); } &&
17394 { ac_try='test -z "$ac_cxx_werror_flag"
17395 || test ! -s conftest.err'
17396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17397 (eval $ac_try) 2>&5
17398 ac_status=$?
17399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17400 (exit $ac_status); }; } &&
17401 { ac_try='test -s conftest.$ac_objext'
17402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17403 (eval $ac_try) 2>&5
17404 ac_status=$?
17405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17406 (exit $ac_status); }; }; then
17407 glibcxx_cv_func__powf_use=yes
17408 else
17409 echo "$as_me: failed program was:" >&5
17410 sed 's/^/| /' conftest.$ac_ext >&5
17412 glibcxx_cv_func__powf_use=no
17414 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17415 ac_ext=c
17416 ac_cpp='$CPP $CPPFLAGS'
17417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17425 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
17426 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
17428 if test x$glibcxx_cv_func__powf_use = x"yes"; then
17430 for ac_func in _powf
17432 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17433 echo "$as_me:$LINENO: checking for $ac_func" >&5
17434 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17435 if eval "test \"\${$as_ac_var+set}\" = set"; then
17436 echo $ECHO_N "(cached) $ECHO_C" >&6
17437 else
17438 if test x$gcc_no_link = xyes; then
17439 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17440 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17441 { (exit 1); exit 1; }; }
17443 cat >conftest.$ac_ext <<_ACEOF
17444 /* confdefs.h. */
17445 _ACEOF
17446 cat confdefs.h >>conftest.$ac_ext
17447 cat >>conftest.$ac_ext <<_ACEOF
17448 /* end confdefs.h. */
17449 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17450 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17451 #define $ac_func innocuous_$ac_func
17453 /* System header to define __stub macros and hopefully few prototypes,
17454 which can conflict with char $ac_func (); below.
17455 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17456 <limits.h> exists even on freestanding compilers. */
17458 #ifdef __STDC__
17459 # include <limits.h>
17460 #else
17461 # include <assert.h>
17462 #endif
17464 #undef $ac_func
17466 /* Override any gcc2 internal prototype to avoid an error. */
17467 #ifdef __cplusplus
17468 extern "C"
17470 #endif
17471 /* We use char because int might match the return type of a gcc2
17472 builtin and then its argument prototype would still apply. */
17473 char $ac_func ();
17474 /* The GNU C library defines this for functions which it implements
17475 to always fail with ENOSYS. Some functions are actually named
17476 something starting with __ and the normal name is an alias. */
17477 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17478 choke me
17479 #else
17480 char (*f) () = $ac_func;
17481 #endif
17482 #ifdef __cplusplus
17484 #endif
17487 main ()
17489 return f != $ac_func;
17491 return 0;
17493 _ACEOF
17494 rm -f conftest.$ac_objext conftest$ac_exeext
17495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17496 (eval $ac_link) 2>conftest.er1
17497 ac_status=$?
17498 grep -v '^ *+' conftest.er1 >conftest.err
17499 rm -f conftest.er1
17500 cat conftest.err >&5
17501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17502 (exit $ac_status); } &&
17503 { ac_try='test -z "$ac_c_werror_flag"
17504 || test ! -s conftest.err'
17505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17506 (eval $ac_try) 2>&5
17507 ac_status=$?
17508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17509 (exit $ac_status); }; } &&
17510 { ac_try='test -s conftest$ac_exeext'
17511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17512 (eval $ac_try) 2>&5
17513 ac_status=$?
17514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17515 (exit $ac_status); }; }; then
17516 eval "$as_ac_var=yes"
17517 else
17518 echo "$as_me: failed program was:" >&5
17519 sed 's/^/| /' conftest.$ac_ext >&5
17521 eval "$as_ac_var=no"
17523 rm -f conftest.err conftest.$ac_objext \
17524 conftest$ac_exeext conftest.$ac_ext
17526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17527 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17528 if test `eval echo '${'$as_ac_var'}'` = yes; then
17529 cat >>confdefs.h <<_ACEOF
17530 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17531 _ACEOF
17534 done
17544 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
17545 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
17546 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
17547 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
17548 echo $ECHO_N "(cached) $ECHO_C" >&6
17549 else
17553 ac_ext=cc
17554 ac_cpp='$CXXCPP $CPPFLAGS'
17555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17559 cat >conftest.$ac_ext <<_ACEOF
17560 /* confdefs.h. */
17561 _ACEOF
17562 cat confdefs.h >>conftest.$ac_ext
17563 cat >>conftest.$ac_ext <<_ACEOF
17564 /* end confdefs.h. */
17565 #include <math.h>
17566 #ifdef HAVE_IEEEFP_H
17567 #include <ieeefp.h>
17568 #endif
17571 main ()
17573 sqrtf(0);
17575 return 0;
17577 _ACEOF
17578 rm -f conftest.$ac_objext
17579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17580 (eval $ac_compile) 2>conftest.er1
17581 ac_status=$?
17582 grep -v '^ *+' conftest.er1 >conftest.err
17583 rm -f conftest.er1
17584 cat conftest.err >&5
17585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17586 (exit $ac_status); } &&
17587 { ac_try='test -z "$ac_cxx_werror_flag"
17588 || test ! -s conftest.err'
17589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17590 (eval $ac_try) 2>&5
17591 ac_status=$?
17592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17593 (exit $ac_status); }; } &&
17594 { ac_try='test -s conftest.$ac_objext'
17595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17596 (eval $ac_try) 2>&5
17597 ac_status=$?
17598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17599 (exit $ac_status); }; }; then
17600 glibcxx_cv_func_sqrtf_use=yes
17601 else
17602 echo "$as_me: failed program was:" >&5
17603 sed 's/^/| /' conftest.$ac_ext >&5
17605 glibcxx_cv_func_sqrtf_use=no
17607 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17608 ac_ext=c
17609 ac_cpp='$CPP $CPPFLAGS'
17610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17618 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
17619 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
17621 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
17623 for ac_func in sqrtf
17625 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17626 echo "$as_me:$LINENO: checking for $ac_func" >&5
17627 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17628 if eval "test \"\${$as_ac_var+set}\" = set"; then
17629 echo $ECHO_N "(cached) $ECHO_C" >&6
17630 else
17631 if test x$gcc_no_link = xyes; then
17632 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17633 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17634 { (exit 1); exit 1; }; }
17636 cat >conftest.$ac_ext <<_ACEOF
17637 /* confdefs.h. */
17638 _ACEOF
17639 cat confdefs.h >>conftest.$ac_ext
17640 cat >>conftest.$ac_ext <<_ACEOF
17641 /* end confdefs.h. */
17642 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17643 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17644 #define $ac_func innocuous_$ac_func
17646 /* System header to define __stub macros and hopefully few prototypes,
17647 which can conflict with char $ac_func (); below.
17648 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17649 <limits.h> exists even on freestanding compilers. */
17651 #ifdef __STDC__
17652 # include <limits.h>
17653 #else
17654 # include <assert.h>
17655 #endif
17657 #undef $ac_func
17659 /* Override any gcc2 internal prototype to avoid an error. */
17660 #ifdef __cplusplus
17661 extern "C"
17663 #endif
17664 /* We use char because int might match the return type of a gcc2
17665 builtin and then its argument prototype would still apply. */
17666 char $ac_func ();
17667 /* The GNU C library defines this for functions which it implements
17668 to always fail with ENOSYS. Some functions are actually named
17669 something starting with __ and the normal name is an alias. */
17670 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17671 choke me
17672 #else
17673 char (*f) () = $ac_func;
17674 #endif
17675 #ifdef __cplusplus
17677 #endif
17680 main ()
17682 return f != $ac_func;
17684 return 0;
17686 _ACEOF
17687 rm -f conftest.$ac_objext conftest$ac_exeext
17688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17689 (eval $ac_link) 2>conftest.er1
17690 ac_status=$?
17691 grep -v '^ *+' conftest.er1 >conftest.err
17692 rm -f conftest.er1
17693 cat conftest.err >&5
17694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17695 (exit $ac_status); } &&
17696 { ac_try='test -z "$ac_c_werror_flag"
17697 || test ! -s conftest.err'
17698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17699 (eval $ac_try) 2>&5
17700 ac_status=$?
17701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17702 (exit $ac_status); }; } &&
17703 { ac_try='test -s conftest$ac_exeext'
17704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17705 (eval $ac_try) 2>&5
17706 ac_status=$?
17707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17708 (exit $ac_status); }; }; then
17709 eval "$as_ac_var=yes"
17710 else
17711 echo "$as_me: failed program was:" >&5
17712 sed 's/^/| /' conftest.$ac_ext >&5
17714 eval "$as_ac_var=no"
17716 rm -f conftest.err conftest.$ac_objext \
17717 conftest$ac_exeext conftest.$ac_ext
17719 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17720 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17721 if test `eval echo '${'$as_ac_var'}'` = yes; then
17722 cat >>confdefs.h <<_ACEOF
17723 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17724 _ACEOF
17727 done
17729 else
17731 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
17732 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
17733 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
17734 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
17735 echo $ECHO_N "(cached) $ECHO_C" >&6
17736 else
17740 ac_ext=cc
17741 ac_cpp='$CXXCPP $CPPFLAGS'
17742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17746 cat >conftest.$ac_ext <<_ACEOF
17747 /* confdefs.h. */
17748 _ACEOF
17749 cat confdefs.h >>conftest.$ac_ext
17750 cat >>conftest.$ac_ext <<_ACEOF
17751 /* end confdefs.h. */
17752 #include <math.h>
17753 #ifdef HAVE_IEEEFP_H
17754 #include <ieeefp.h>
17755 #endif
17758 main ()
17760 _sqrtf(0);
17762 return 0;
17764 _ACEOF
17765 rm -f conftest.$ac_objext
17766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17767 (eval $ac_compile) 2>conftest.er1
17768 ac_status=$?
17769 grep -v '^ *+' conftest.er1 >conftest.err
17770 rm -f conftest.er1
17771 cat conftest.err >&5
17772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17773 (exit $ac_status); } &&
17774 { ac_try='test -z "$ac_cxx_werror_flag"
17775 || test ! -s conftest.err'
17776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17777 (eval $ac_try) 2>&5
17778 ac_status=$?
17779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17780 (exit $ac_status); }; } &&
17781 { ac_try='test -s conftest.$ac_objext'
17782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17783 (eval $ac_try) 2>&5
17784 ac_status=$?
17785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17786 (exit $ac_status); }; }; then
17787 glibcxx_cv_func__sqrtf_use=yes
17788 else
17789 echo "$as_me: failed program was:" >&5
17790 sed 's/^/| /' conftest.$ac_ext >&5
17792 glibcxx_cv_func__sqrtf_use=no
17794 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17795 ac_ext=c
17796 ac_cpp='$CPP $CPPFLAGS'
17797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17805 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
17806 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
17808 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
17810 for ac_func in _sqrtf
17812 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17813 echo "$as_me:$LINENO: checking for $ac_func" >&5
17814 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17815 if eval "test \"\${$as_ac_var+set}\" = set"; then
17816 echo $ECHO_N "(cached) $ECHO_C" >&6
17817 else
17818 if test x$gcc_no_link = xyes; then
17819 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17820 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17821 { (exit 1); exit 1; }; }
17823 cat >conftest.$ac_ext <<_ACEOF
17824 /* confdefs.h. */
17825 _ACEOF
17826 cat confdefs.h >>conftest.$ac_ext
17827 cat >>conftest.$ac_ext <<_ACEOF
17828 /* end confdefs.h. */
17829 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17830 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17831 #define $ac_func innocuous_$ac_func
17833 /* System header to define __stub macros and hopefully few prototypes,
17834 which can conflict with char $ac_func (); below.
17835 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17836 <limits.h> exists even on freestanding compilers. */
17838 #ifdef __STDC__
17839 # include <limits.h>
17840 #else
17841 # include <assert.h>
17842 #endif
17844 #undef $ac_func
17846 /* Override any gcc2 internal prototype to avoid an error. */
17847 #ifdef __cplusplus
17848 extern "C"
17850 #endif
17851 /* We use char because int might match the return type of a gcc2
17852 builtin and then its argument prototype would still apply. */
17853 char $ac_func ();
17854 /* The GNU C library defines this for functions which it implements
17855 to always fail with ENOSYS. Some functions are actually named
17856 something starting with __ and the normal name is an alias. */
17857 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17858 choke me
17859 #else
17860 char (*f) () = $ac_func;
17861 #endif
17862 #ifdef __cplusplus
17864 #endif
17867 main ()
17869 return f != $ac_func;
17871 return 0;
17873 _ACEOF
17874 rm -f conftest.$ac_objext conftest$ac_exeext
17875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17876 (eval $ac_link) 2>conftest.er1
17877 ac_status=$?
17878 grep -v '^ *+' conftest.er1 >conftest.err
17879 rm -f conftest.er1
17880 cat conftest.err >&5
17881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17882 (exit $ac_status); } &&
17883 { ac_try='test -z "$ac_c_werror_flag"
17884 || test ! -s conftest.err'
17885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17886 (eval $ac_try) 2>&5
17887 ac_status=$?
17888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17889 (exit $ac_status); }; } &&
17890 { ac_try='test -s conftest$ac_exeext'
17891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17892 (eval $ac_try) 2>&5
17893 ac_status=$?
17894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17895 (exit $ac_status); }; }; then
17896 eval "$as_ac_var=yes"
17897 else
17898 echo "$as_me: failed program was:" >&5
17899 sed 's/^/| /' conftest.$ac_ext >&5
17901 eval "$as_ac_var=no"
17903 rm -f conftest.err conftest.$ac_objext \
17904 conftest$ac_exeext conftest.$ac_ext
17906 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17907 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17908 if test `eval echo '${'$as_ac_var'}'` = yes; then
17909 cat >>confdefs.h <<_ACEOF
17910 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17911 _ACEOF
17914 done
17924 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
17925 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
17926 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
17927 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
17928 echo $ECHO_N "(cached) $ECHO_C" >&6
17929 else
17933 ac_ext=cc
17934 ac_cpp='$CXXCPP $CPPFLAGS'
17935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17939 cat >conftest.$ac_ext <<_ACEOF
17940 /* confdefs.h. */
17941 _ACEOF
17942 cat confdefs.h >>conftest.$ac_ext
17943 cat >>conftest.$ac_ext <<_ACEOF
17944 /* end confdefs.h. */
17945 #include <math.h>
17947 main ()
17949 sincosf(0, 0, 0);
17951 return 0;
17953 _ACEOF
17954 rm -f conftest.$ac_objext
17955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17956 (eval $ac_compile) 2>conftest.er1
17957 ac_status=$?
17958 grep -v '^ *+' conftest.er1 >conftest.err
17959 rm -f conftest.er1
17960 cat conftest.err >&5
17961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17962 (exit $ac_status); } &&
17963 { ac_try='test -z "$ac_cxx_werror_flag"
17964 || test ! -s conftest.err'
17965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17966 (eval $ac_try) 2>&5
17967 ac_status=$?
17968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17969 (exit $ac_status); }; } &&
17970 { ac_try='test -s conftest.$ac_objext'
17971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17972 (eval $ac_try) 2>&5
17973 ac_status=$?
17974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17975 (exit $ac_status); }; }; then
17976 glibcxx_cv_func_sincosf_use=yes
17977 else
17978 echo "$as_me: failed program was:" >&5
17979 sed 's/^/| /' conftest.$ac_ext >&5
17981 glibcxx_cv_func_sincosf_use=no
17983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17984 ac_ext=c
17985 ac_cpp='$CPP $CPPFLAGS'
17986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17994 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
17995 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
17997 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
17999 for ac_func in sincosf
18001 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18002 echo "$as_me:$LINENO: checking for $ac_func" >&5
18003 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18004 if eval "test \"\${$as_ac_var+set}\" = set"; then
18005 echo $ECHO_N "(cached) $ECHO_C" >&6
18006 else
18007 if test x$gcc_no_link = xyes; then
18008 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18009 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18010 { (exit 1); exit 1; }; }
18012 cat >conftest.$ac_ext <<_ACEOF
18013 /* confdefs.h. */
18014 _ACEOF
18015 cat confdefs.h >>conftest.$ac_ext
18016 cat >>conftest.$ac_ext <<_ACEOF
18017 /* end confdefs.h. */
18018 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18019 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18020 #define $ac_func innocuous_$ac_func
18022 /* System header to define __stub macros and hopefully few prototypes,
18023 which can conflict with char $ac_func (); below.
18024 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18025 <limits.h> exists even on freestanding compilers. */
18027 #ifdef __STDC__
18028 # include <limits.h>
18029 #else
18030 # include <assert.h>
18031 #endif
18033 #undef $ac_func
18035 /* Override any gcc2 internal prototype to avoid an error. */
18036 #ifdef __cplusplus
18037 extern "C"
18039 #endif
18040 /* We use char because int might match the return type of a gcc2
18041 builtin and then its argument prototype would still apply. */
18042 char $ac_func ();
18043 /* The GNU C library defines this for functions which it implements
18044 to always fail with ENOSYS. Some functions are actually named
18045 something starting with __ and the normal name is an alias. */
18046 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18047 choke me
18048 #else
18049 char (*f) () = $ac_func;
18050 #endif
18051 #ifdef __cplusplus
18053 #endif
18056 main ()
18058 return f != $ac_func;
18060 return 0;
18062 _ACEOF
18063 rm -f conftest.$ac_objext conftest$ac_exeext
18064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18065 (eval $ac_link) 2>conftest.er1
18066 ac_status=$?
18067 grep -v '^ *+' conftest.er1 >conftest.err
18068 rm -f conftest.er1
18069 cat conftest.err >&5
18070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18071 (exit $ac_status); } &&
18072 { ac_try='test -z "$ac_c_werror_flag"
18073 || test ! -s conftest.err'
18074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18075 (eval $ac_try) 2>&5
18076 ac_status=$?
18077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18078 (exit $ac_status); }; } &&
18079 { ac_try='test -s conftest$ac_exeext'
18080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18081 (eval $ac_try) 2>&5
18082 ac_status=$?
18083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18084 (exit $ac_status); }; }; then
18085 eval "$as_ac_var=yes"
18086 else
18087 echo "$as_me: failed program was:" >&5
18088 sed 's/^/| /' conftest.$ac_ext >&5
18090 eval "$as_ac_var=no"
18092 rm -f conftest.err conftest.$ac_objext \
18093 conftest$ac_exeext conftest.$ac_ext
18095 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18096 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18097 if test `eval echo '${'$as_ac_var'}'` = yes; then
18098 cat >>confdefs.h <<_ACEOF
18099 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18100 _ACEOF
18103 done
18105 else
18107 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
18108 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
18109 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
18110 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
18111 echo $ECHO_N "(cached) $ECHO_C" >&6
18112 else
18116 ac_ext=cc
18117 ac_cpp='$CXXCPP $CPPFLAGS'
18118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18122 cat >conftest.$ac_ext <<_ACEOF
18123 /* confdefs.h. */
18124 _ACEOF
18125 cat confdefs.h >>conftest.$ac_ext
18126 cat >>conftest.$ac_ext <<_ACEOF
18127 /* end confdefs.h. */
18128 #include <math.h>
18130 main ()
18132 _sincosf(0, 0, 0);
18134 return 0;
18136 _ACEOF
18137 rm -f conftest.$ac_objext
18138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18139 (eval $ac_compile) 2>conftest.er1
18140 ac_status=$?
18141 grep -v '^ *+' conftest.er1 >conftest.err
18142 rm -f conftest.er1
18143 cat conftest.err >&5
18144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18145 (exit $ac_status); } &&
18146 { ac_try='test -z "$ac_cxx_werror_flag"
18147 || test ! -s conftest.err'
18148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18149 (eval $ac_try) 2>&5
18150 ac_status=$?
18151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18152 (exit $ac_status); }; } &&
18153 { ac_try='test -s conftest.$ac_objext'
18154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18155 (eval $ac_try) 2>&5
18156 ac_status=$?
18157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18158 (exit $ac_status); }; }; then
18159 glibcxx_cv_func__sincosf_use=yes
18160 else
18161 echo "$as_me: failed program was:" >&5
18162 sed 's/^/| /' conftest.$ac_ext >&5
18164 glibcxx_cv_func__sincosf_use=no
18166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18167 ac_ext=c
18168 ac_cpp='$CPP $CPPFLAGS'
18169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18177 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
18178 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
18180 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
18182 for ac_func in _sincosf
18184 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18185 echo "$as_me:$LINENO: checking for $ac_func" >&5
18186 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18187 if eval "test \"\${$as_ac_var+set}\" = set"; then
18188 echo $ECHO_N "(cached) $ECHO_C" >&6
18189 else
18190 if test x$gcc_no_link = xyes; then
18191 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18192 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18193 { (exit 1); exit 1; }; }
18195 cat >conftest.$ac_ext <<_ACEOF
18196 /* confdefs.h. */
18197 _ACEOF
18198 cat confdefs.h >>conftest.$ac_ext
18199 cat >>conftest.$ac_ext <<_ACEOF
18200 /* end confdefs.h. */
18201 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18202 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18203 #define $ac_func innocuous_$ac_func
18205 /* System header to define __stub macros and hopefully few prototypes,
18206 which can conflict with char $ac_func (); below.
18207 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18208 <limits.h> exists even on freestanding compilers. */
18210 #ifdef __STDC__
18211 # include <limits.h>
18212 #else
18213 # include <assert.h>
18214 #endif
18216 #undef $ac_func
18218 /* Override any gcc2 internal prototype to avoid an error. */
18219 #ifdef __cplusplus
18220 extern "C"
18222 #endif
18223 /* We use char because int might match the return type of a gcc2
18224 builtin and then its argument prototype would still apply. */
18225 char $ac_func ();
18226 /* The GNU C library defines this for functions which it implements
18227 to always fail with ENOSYS. Some functions are actually named
18228 something starting with __ and the normal name is an alias. */
18229 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18230 choke me
18231 #else
18232 char (*f) () = $ac_func;
18233 #endif
18234 #ifdef __cplusplus
18236 #endif
18239 main ()
18241 return f != $ac_func;
18243 return 0;
18245 _ACEOF
18246 rm -f conftest.$ac_objext conftest$ac_exeext
18247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18248 (eval $ac_link) 2>conftest.er1
18249 ac_status=$?
18250 grep -v '^ *+' conftest.er1 >conftest.err
18251 rm -f conftest.er1
18252 cat conftest.err >&5
18253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18254 (exit $ac_status); } &&
18255 { ac_try='test -z "$ac_c_werror_flag"
18256 || test ! -s conftest.err'
18257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18258 (eval $ac_try) 2>&5
18259 ac_status=$?
18260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18261 (exit $ac_status); }; } &&
18262 { ac_try='test -s conftest$ac_exeext'
18263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18264 (eval $ac_try) 2>&5
18265 ac_status=$?
18266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18267 (exit $ac_status); }; }; then
18268 eval "$as_ac_var=yes"
18269 else
18270 echo "$as_me: failed program was:" >&5
18271 sed 's/^/| /' conftest.$ac_ext >&5
18273 eval "$as_ac_var=no"
18275 rm -f conftest.err conftest.$ac_objext \
18276 conftest$ac_exeext conftest.$ac_ext
18278 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18279 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18280 if test `eval echo '${'$as_ac_var'}'` = yes; then
18281 cat >>confdefs.h <<_ACEOF
18282 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18283 _ACEOF
18286 done
18296 echo "$as_me:$LINENO: checking for finitef declaration" >&5
18297 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
18298 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
18299 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
18300 echo $ECHO_N "(cached) $ECHO_C" >&6
18301 else
18305 ac_ext=cc
18306 ac_cpp='$CXXCPP $CPPFLAGS'
18307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18311 cat >conftest.$ac_ext <<_ACEOF
18312 /* confdefs.h. */
18313 _ACEOF
18314 cat confdefs.h >>conftest.$ac_ext
18315 cat >>conftest.$ac_ext <<_ACEOF
18316 /* end confdefs.h. */
18317 #include <math.h>
18318 #ifdef HAVE_IEEEFP_H
18319 #include <ieeefp.h>
18320 #endif
18323 main ()
18325 finitef(0);
18327 return 0;
18329 _ACEOF
18330 rm -f conftest.$ac_objext
18331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18332 (eval $ac_compile) 2>conftest.er1
18333 ac_status=$?
18334 grep -v '^ *+' conftest.er1 >conftest.err
18335 rm -f conftest.er1
18336 cat conftest.err >&5
18337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18338 (exit $ac_status); } &&
18339 { ac_try='test -z "$ac_cxx_werror_flag"
18340 || test ! -s conftest.err'
18341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18342 (eval $ac_try) 2>&5
18343 ac_status=$?
18344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18345 (exit $ac_status); }; } &&
18346 { ac_try='test -s conftest.$ac_objext'
18347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18348 (eval $ac_try) 2>&5
18349 ac_status=$?
18350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18351 (exit $ac_status); }; }; then
18352 glibcxx_cv_func_finitef_use=yes
18353 else
18354 echo "$as_me: failed program was:" >&5
18355 sed 's/^/| /' conftest.$ac_ext >&5
18357 glibcxx_cv_func_finitef_use=no
18359 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18360 ac_ext=c
18361 ac_cpp='$CPP $CPPFLAGS'
18362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18370 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
18371 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
18373 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
18375 for ac_func in finitef
18377 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18378 echo "$as_me:$LINENO: checking for $ac_func" >&5
18379 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18380 if eval "test \"\${$as_ac_var+set}\" = set"; then
18381 echo $ECHO_N "(cached) $ECHO_C" >&6
18382 else
18383 if test x$gcc_no_link = xyes; then
18384 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18385 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18386 { (exit 1); exit 1; }; }
18388 cat >conftest.$ac_ext <<_ACEOF
18389 /* confdefs.h. */
18390 _ACEOF
18391 cat confdefs.h >>conftest.$ac_ext
18392 cat >>conftest.$ac_ext <<_ACEOF
18393 /* end confdefs.h. */
18394 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18395 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18396 #define $ac_func innocuous_$ac_func
18398 /* System header to define __stub macros and hopefully few prototypes,
18399 which can conflict with char $ac_func (); below.
18400 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18401 <limits.h> exists even on freestanding compilers. */
18403 #ifdef __STDC__
18404 # include <limits.h>
18405 #else
18406 # include <assert.h>
18407 #endif
18409 #undef $ac_func
18411 /* Override any gcc2 internal prototype to avoid an error. */
18412 #ifdef __cplusplus
18413 extern "C"
18415 #endif
18416 /* We use char because int might match the return type of a gcc2
18417 builtin and then its argument prototype would still apply. */
18418 char $ac_func ();
18419 /* The GNU C library defines this for functions which it implements
18420 to always fail with ENOSYS. Some functions are actually named
18421 something starting with __ and the normal name is an alias. */
18422 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18423 choke me
18424 #else
18425 char (*f) () = $ac_func;
18426 #endif
18427 #ifdef __cplusplus
18429 #endif
18432 main ()
18434 return f != $ac_func;
18436 return 0;
18438 _ACEOF
18439 rm -f conftest.$ac_objext conftest$ac_exeext
18440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18441 (eval $ac_link) 2>conftest.er1
18442 ac_status=$?
18443 grep -v '^ *+' conftest.er1 >conftest.err
18444 rm -f conftest.er1
18445 cat conftest.err >&5
18446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18447 (exit $ac_status); } &&
18448 { ac_try='test -z "$ac_c_werror_flag"
18449 || test ! -s conftest.err'
18450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18451 (eval $ac_try) 2>&5
18452 ac_status=$?
18453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18454 (exit $ac_status); }; } &&
18455 { ac_try='test -s conftest$ac_exeext'
18456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18457 (eval $ac_try) 2>&5
18458 ac_status=$?
18459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18460 (exit $ac_status); }; }; then
18461 eval "$as_ac_var=yes"
18462 else
18463 echo "$as_me: failed program was:" >&5
18464 sed 's/^/| /' conftest.$ac_ext >&5
18466 eval "$as_ac_var=no"
18468 rm -f conftest.err conftest.$ac_objext \
18469 conftest$ac_exeext conftest.$ac_ext
18471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18472 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18473 if test `eval echo '${'$as_ac_var'}'` = yes; then
18474 cat >>confdefs.h <<_ACEOF
18475 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18476 _ACEOF
18479 done
18481 else
18483 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
18484 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
18485 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
18486 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
18487 echo $ECHO_N "(cached) $ECHO_C" >&6
18488 else
18492 ac_ext=cc
18493 ac_cpp='$CXXCPP $CPPFLAGS'
18494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18498 cat >conftest.$ac_ext <<_ACEOF
18499 /* confdefs.h. */
18500 _ACEOF
18501 cat confdefs.h >>conftest.$ac_ext
18502 cat >>conftest.$ac_ext <<_ACEOF
18503 /* end confdefs.h. */
18504 #include <math.h>
18505 #ifdef HAVE_IEEEFP_H
18506 #include <ieeefp.h>
18507 #endif
18510 main ()
18512 _finitef(0);
18514 return 0;
18516 _ACEOF
18517 rm -f conftest.$ac_objext
18518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18519 (eval $ac_compile) 2>conftest.er1
18520 ac_status=$?
18521 grep -v '^ *+' conftest.er1 >conftest.err
18522 rm -f conftest.er1
18523 cat conftest.err >&5
18524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18525 (exit $ac_status); } &&
18526 { ac_try='test -z "$ac_cxx_werror_flag"
18527 || test ! -s conftest.err'
18528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18529 (eval $ac_try) 2>&5
18530 ac_status=$?
18531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18532 (exit $ac_status); }; } &&
18533 { ac_try='test -s conftest.$ac_objext'
18534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18535 (eval $ac_try) 2>&5
18536 ac_status=$?
18537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18538 (exit $ac_status); }; }; then
18539 glibcxx_cv_func__finitef_use=yes
18540 else
18541 echo "$as_me: failed program was:" >&5
18542 sed 's/^/| /' conftest.$ac_ext >&5
18544 glibcxx_cv_func__finitef_use=no
18546 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18547 ac_ext=c
18548 ac_cpp='$CPP $CPPFLAGS'
18549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18557 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
18558 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
18560 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
18562 for ac_func in _finitef
18564 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18565 echo "$as_me:$LINENO: checking for $ac_func" >&5
18566 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18567 if eval "test \"\${$as_ac_var+set}\" = set"; then
18568 echo $ECHO_N "(cached) $ECHO_C" >&6
18569 else
18570 if test x$gcc_no_link = xyes; then
18571 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18572 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18573 { (exit 1); exit 1; }; }
18575 cat >conftest.$ac_ext <<_ACEOF
18576 /* confdefs.h. */
18577 _ACEOF
18578 cat confdefs.h >>conftest.$ac_ext
18579 cat >>conftest.$ac_ext <<_ACEOF
18580 /* end confdefs.h. */
18581 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18582 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18583 #define $ac_func innocuous_$ac_func
18585 /* System header to define __stub macros and hopefully few prototypes,
18586 which can conflict with char $ac_func (); below.
18587 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18588 <limits.h> exists even on freestanding compilers. */
18590 #ifdef __STDC__
18591 # include <limits.h>
18592 #else
18593 # include <assert.h>
18594 #endif
18596 #undef $ac_func
18598 /* Override any gcc2 internal prototype to avoid an error. */
18599 #ifdef __cplusplus
18600 extern "C"
18602 #endif
18603 /* We use char because int might match the return type of a gcc2
18604 builtin and then its argument prototype would still apply. */
18605 char $ac_func ();
18606 /* The GNU C library defines this for functions which it implements
18607 to always fail with ENOSYS. Some functions are actually named
18608 something starting with __ and the normal name is an alias. */
18609 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18610 choke me
18611 #else
18612 char (*f) () = $ac_func;
18613 #endif
18614 #ifdef __cplusplus
18616 #endif
18619 main ()
18621 return f != $ac_func;
18623 return 0;
18625 _ACEOF
18626 rm -f conftest.$ac_objext conftest$ac_exeext
18627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18628 (eval $ac_link) 2>conftest.er1
18629 ac_status=$?
18630 grep -v '^ *+' conftest.er1 >conftest.err
18631 rm -f conftest.er1
18632 cat conftest.err >&5
18633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18634 (exit $ac_status); } &&
18635 { ac_try='test -z "$ac_c_werror_flag"
18636 || test ! -s conftest.err'
18637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18638 (eval $ac_try) 2>&5
18639 ac_status=$?
18640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18641 (exit $ac_status); }; } &&
18642 { ac_try='test -s conftest$ac_exeext'
18643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18644 (eval $ac_try) 2>&5
18645 ac_status=$?
18646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18647 (exit $ac_status); }; }; then
18648 eval "$as_ac_var=yes"
18649 else
18650 echo "$as_me: failed program was:" >&5
18651 sed 's/^/| /' conftest.$ac_ext >&5
18653 eval "$as_ac_var=no"
18655 rm -f conftest.err conftest.$ac_objext \
18656 conftest$ac_exeext conftest.$ac_ext
18658 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18659 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18660 if test `eval echo '${'$as_ac_var'}'` = yes; then
18661 cat >>confdefs.h <<_ACEOF
18662 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18663 _ACEOF
18666 done
18676 echo "$as_me:$LINENO: checking for long double trig functions" >&5
18677 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
18678 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
18679 echo $ECHO_N "(cached) $ECHO_C" >&6
18680 else
18684 ac_ext=cc
18685 ac_cpp='$CXXCPP $CPPFLAGS'
18686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18690 cat >conftest.$ac_ext <<_ACEOF
18691 /* confdefs.h. */
18692 _ACEOF
18693 cat confdefs.h >>conftest.$ac_ext
18694 cat >>conftest.$ac_ext <<_ACEOF
18695 /* end confdefs.h. */
18696 #include <math.h>
18698 main ()
18700 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
18702 return 0;
18704 _ACEOF
18705 rm -f conftest.$ac_objext
18706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18707 (eval $ac_compile) 2>conftest.er1
18708 ac_status=$?
18709 grep -v '^ *+' conftest.er1 >conftest.err
18710 rm -f conftest.er1
18711 cat conftest.err >&5
18712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18713 (exit $ac_status); } &&
18714 { ac_try='test -z "$ac_cxx_werror_flag"
18715 || test ! -s conftest.err'
18716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18717 (eval $ac_try) 2>&5
18718 ac_status=$?
18719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18720 (exit $ac_status); }; } &&
18721 { ac_try='test -s conftest.$ac_objext'
18722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18723 (eval $ac_try) 2>&5
18724 ac_status=$?
18725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18726 (exit $ac_status); }; }; then
18727 glibcxx_cv_func_long_double_trig_use=yes
18728 else
18729 echo "$as_me: failed program was:" >&5
18730 sed 's/^/| /' conftest.$ac_ext >&5
18732 glibcxx_cv_func_long_double_trig_use=no
18734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18735 ac_ext=c
18736 ac_cpp='$CPP $CPPFLAGS'
18737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18743 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
18744 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
18745 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
18755 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
18757 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18758 echo "$as_me:$LINENO: checking for $ac_func" >&5
18759 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18760 if eval "test \"\${$as_ac_var+set}\" = set"; then
18761 echo $ECHO_N "(cached) $ECHO_C" >&6
18762 else
18763 if test x$gcc_no_link = xyes; then
18764 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18765 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18766 { (exit 1); exit 1; }; }
18768 cat >conftest.$ac_ext <<_ACEOF
18769 /* confdefs.h. */
18770 _ACEOF
18771 cat confdefs.h >>conftest.$ac_ext
18772 cat >>conftest.$ac_ext <<_ACEOF
18773 /* end confdefs.h. */
18774 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18775 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18776 #define $ac_func innocuous_$ac_func
18778 /* System header to define __stub macros and hopefully few prototypes,
18779 which can conflict with char $ac_func (); below.
18780 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18781 <limits.h> exists even on freestanding compilers. */
18783 #ifdef __STDC__
18784 # include <limits.h>
18785 #else
18786 # include <assert.h>
18787 #endif
18789 #undef $ac_func
18791 /* Override any gcc2 internal prototype to avoid an error. */
18792 #ifdef __cplusplus
18793 extern "C"
18795 #endif
18796 /* We use char because int might match the return type of a gcc2
18797 builtin and then its argument prototype would still apply. */
18798 char $ac_func ();
18799 /* The GNU C library defines this for functions which it implements
18800 to always fail with ENOSYS. Some functions are actually named
18801 something starting with __ and the normal name is an alias. */
18802 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18803 choke me
18804 #else
18805 char (*f) () = $ac_func;
18806 #endif
18807 #ifdef __cplusplus
18809 #endif
18812 main ()
18814 return f != $ac_func;
18816 return 0;
18818 _ACEOF
18819 rm -f conftest.$ac_objext conftest$ac_exeext
18820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18821 (eval $ac_link) 2>conftest.er1
18822 ac_status=$?
18823 grep -v '^ *+' conftest.er1 >conftest.err
18824 rm -f conftest.er1
18825 cat conftest.err >&5
18826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18827 (exit $ac_status); } &&
18828 { ac_try='test -z "$ac_c_werror_flag"
18829 || test ! -s conftest.err'
18830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18831 (eval $ac_try) 2>&5
18832 ac_status=$?
18833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18834 (exit $ac_status); }; } &&
18835 { ac_try='test -s conftest$ac_exeext'
18836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18837 (eval $ac_try) 2>&5
18838 ac_status=$?
18839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18840 (exit $ac_status); }; }; then
18841 eval "$as_ac_var=yes"
18842 else
18843 echo "$as_me: failed program was:" >&5
18844 sed 's/^/| /' conftest.$ac_ext >&5
18846 eval "$as_ac_var=no"
18848 rm -f conftest.err conftest.$ac_objext \
18849 conftest$ac_exeext conftest.$ac_ext
18851 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18852 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18853 if test `eval echo '${'$as_ac_var'}'` = yes; then
18854 cat >>confdefs.h <<_ACEOF
18855 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18856 _ACEOF
18859 done
18861 else
18862 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
18863 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
18864 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
18865 echo $ECHO_N "(cached) $ECHO_C" >&6
18866 else
18870 ac_ext=cc
18871 ac_cpp='$CXXCPP $CPPFLAGS'
18872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18876 cat >conftest.$ac_ext <<_ACEOF
18877 /* confdefs.h. */
18878 _ACEOF
18879 cat confdefs.h >>conftest.$ac_ext
18880 cat >>conftest.$ac_ext <<_ACEOF
18881 /* end confdefs.h. */
18882 #include <math.h>
18884 main ()
18886 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
18888 return 0;
18890 _ACEOF
18891 rm -f conftest.$ac_objext
18892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18893 (eval $ac_compile) 2>conftest.er1
18894 ac_status=$?
18895 grep -v '^ *+' conftest.er1 >conftest.err
18896 rm -f conftest.er1
18897 cat conftest.err >&5
18898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18899 (exit $ac_status); } &&
18900 { ac_try='test -z "$ac_cxx_werror_flag"
18901 || test ! -s conftest.err'
18902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18903 (eval $ac_try) 2>&5
18904 ac_status=$?
18905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18906 (exit $ac_status); }; } &&
18907 { ac_try='test -s conftest.$ac_objext'
18908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18909 (eval $ac_try) 2>&5
18910 ac_status=$?
18911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18912 (exit $ac_status); }; }; then
18913 glibcxx_cv_func__long_double_trig_use=yes
18914 else
18915 echo "$as_me: failed program was:" >&5
18916 sed 's/^/| /' conftest.$ac_ext >&5
18918 glibcxx_cv_func__long_double_trig_use=no
18920 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18921 ac_ext=c
18922 ac_cpp='$CPP $CPPFLAGS'
18923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18929 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
18930 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
18931 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
18941 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
18943 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18944 echo "$as_me:$LINENO: checking for $ac_func" >&5
18945 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18946 if eval "test \"\${$as_ac_var+set}\" = set"; then
18947 echo $ECHO_N "(cached) $ECHO_C" >&6
18948 else
18949 if test x$gcc_no_link = xyes; then
18950 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18951 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18952 { (exit 1); exit 1; }; }
18954 cat >conftest.$ac_ext <<_ACEOF
18955 /* confdefs.h. */
18956 _ACEOF
18957 cat confdefs.h >>conftest.$ac_ext
18958 cat >>conftest.$ac_ext <<_ACEOF
18959 /* end confdefs.h. */
18960 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18961 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18962 #define $ac_func innocuous_$ac_func
18964 /* System header to define __stub macros and hopefully few prototypes,
18965 which can conflict with char $ac_func (); below.
18966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18967 <limits.h> exists even on freestanding compilers. */
18969 #ifdef __STDC__
18970 # include <limits.h>
18971 #else
18972 # include <assert.h>
18973 #endif
18975 #undef $ac_func
18977 /* Override any gcc2 internal prototype to avoid an error. */
18978 #ifdef __cplusplus
18979 extern "C"
18981 #endif
18982 /* We use char because int might match the return type of a gcc2
18983 builtin and then its argument prototype would still apply. */
18984 char $ac_func ();
18985 /* The GNU C library defines this for functions which it implements
18986 to always fail with ENOSYS. Some functions are actually named
18987 something starting with __ and the normal name is an alias. */
18988 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18989 choke me
18990 #else
18991 char (*f) () = $ac_func;
18992 #endif
18993 #ifdef __cplusplus
18995 #endif
18998 main ()
19000 return f != $ac_func;
19002 return 0;
19004 _ACEOF
19005 rm -f conftest.$ac_objext conftest$ac_exeext
19006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19007 (eval $ac_link) 2>conftest.er1
19008 ac_status=$?
19009 grep -v '^ *+' conftest.er1 >conftest.err
19010 rm -f conftest.er1
19011 cat conftest.err >&5
19012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19013 (exit $ac_status); } &&
19014 { ac_try='test -z "$ac_c_werror_flag"
19015 || test ! -s conftest.err'
19016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19017 (eval $ac_try) 2>&5
19018 ac_status=$?
19019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19020 (exit $ac_status); }; } &&
19021 { ac_try='test -s conftest$ac_exeext'
19022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19023 (eval $ac_try) 2>&5
19024 ac_status=$?
19025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19026 (exit $ac_status); }; }; then
19027 eval "$as_ac_var=yes"
19028 else
19029 echo "$as_me: failed program was:" >&5
19030 sed 's/^/| /' conftest.$ac_ext >&5
19032 eval "$as_ac_var=no"
19034 rm -f conftest.err conftest.$ac_objext \
19035 conftest$ac_exeext conftest.$ac_ext
19037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19038 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19039 if test `eval echo '${'$as_ac_var'}'` = yes; then
19040 cat >>confdefs.h <<_ACEOF
19041 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19042 _ACEOF
19045 done
19063 echo "$as_me:$LINENO: checking for long double round functions" >&5
19064 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
19065 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
19066 echo $ECHO_N "(cached) $ECHO_C" >&6
19067 else
19071 ac_ext=cc
19072 ac_cpp='$CXXCPP $CPPFLAGS'
19073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19077 cat >conftest.$ac_ext <<_ACEOF
19078 /* confdefs.h. */
19079 _ACEOF
19080 cat confdefs.h >>conftest.$ac_ext
19081 cat >>conftest.$ac_ext <<_ACEOF
19082 /* end confdefs.h. */
19083 #include <math.h>
19085 main ()
19087 ceill (0); floorl (0);
19089 return 0;
19091 _ACEOF
19092 rm -f conftest.$ac_objext
19093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19094 (eval $ac_compile) 2>conftest.er1
19095 ac_status=$?
19096 grep -v '^ *+' conftest.er1 >conftest.err
19097 rm -f conftest.er1
19098 cat conftest.err >&5
19099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19100 (exit $ac_status); } &&
19101 { ac_try='test -z "$ac_cxx_werror_flag"
19102 || test ! -s conftest.err'
19103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19104 (eval $ac_try) 2>&5
19105 ac_status=$?
19106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19107 (exit $ac_status); }; } &&
19108 { ac_try='test -s conftest.$ac_objext'
19109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19110 (eval $ac_try) 2>&5
19111 ac_status=$?
19112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19113 (exit $ac_status); }; }; then
19114 glibcxx_cv_func_long_double_round_use=yes
19115 else
19116 echo "$as_me: failed program was:" >&5
19117 sed 's/^/| /' conftest.$ac_ext >&5
19119 glibcxx_cv_func_long_double_round_use=no
19121 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19122 ac_ext=c
19123 ac_cpp='$CPP $CPPFLAGS'
19124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19130 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
19131 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
19132 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
19135 for ac_func in ceill floorl
19137 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19138 echo "$as_me:$LINENO: checking for $ac_func" >&5
19139 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19140 if eval "test \"\${$as_ac_var+set}\" = set"; then
19141 echo $ECHO_N "(cached) $ECHO_C" >&6
19142 else
19143 if test x$gcc_no_link = xyes; then
19144 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19145 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19146 { (exit 1); exit 1; }; }
19148 cat >conftest.$ac_ext <<_ACEOF
19149 /* confdefs.h. */
19150 _ACEOF
19151 cat confdefs.h >>conftest.$ac_ext
19152 cat >>conftest.$ac_ext <<_ACEOF
19153 /* end confdefs.h. */
19154 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19155 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19156 #define $ac_func innocuous_$ac_func
19158 /* System header to define __stub macros and hopefully few prototypes,
19159 which can conflict with char $ac_func (); below.
19160 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19161 <limits.h> exists even on freestanding compilers. */
19163 #ifdef __STDC__
19164 # include <limits.h>
19165 #else
19166 # include <assert.h>
19167 #endif
19169 #undef $ac_func
19171 /* Override any gcc2 internal prototype to avoid an error. */
19172 #ifdef __cplusplus
19173 extern "C"
19175 #endif
19176 /* We use char because int might match the return type of a gcc2
19177 builtin and then its argument prototype would still apply. */
19178 char $ac_func ();
19179 /* The GNU C library defines this for functions which it implements
19180 to always fail with ENOSYS. Some functions are actually named
19181 something starting with __ and the normal name is an alias. */
19182 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19183 choke me
19184 #else
19185 char (*f) () = $ac_func;
19186 #endif
19187 #ifdef __cplusplus
19189 #endif
19192 main ()
19194 return f != $ac_func;
19196 return 0;
19198 _ACEOF
19199 rm -f conftest.$ac_objext conftest$ac_exeext
19200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19201 (eval $ac_link) 2>conftest.er1
19202 ac_status=$?
19203 grep -v '^ *+' conftest.er1 >conftest.err
19204 rm -f conftest.er1
19205 cat conftest.err >&5
19206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19207 (exit $ac_status); } &&
19208 { ac_try='test -z "$ac_c_werror_flag"
19209 || test ! -s conftest.err'
19210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19211 (eval $ac_try) 2>&5
19212 ac_status=$?
19213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19214 (exit $ac_status); }; } &&
19215 { ac_try='test -s conftest$ac_exeext'
19216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19217 (eval $ac_try) 2>&5
19218 ac_status=$?
19219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19220 (exit $ac_status); }; }; then
19221 eval "$as_ac_var=yes"
19222 else
19223 echo "$as_me: failed program was:" >&5
19224 sed 's/^/| /' conftest.$ac_ext >&5
19226 eval "$as_ac_var=no"
19228 rm -f conftest.err conftest.$ac_objext \
19229 conftest$ac_exeext conftest.$ac_ext
19231 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19232 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19233 if test `eval echo '${'$as_ac_var'}'` = yes; then
19234 cat >>confdefs.h <<_ACEOF
19235 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19236 _ACEOF
19239 done
19241 else
19242 echo "$as_me:$LINENO: checking for _long double round functions" >&5
19243 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
19244 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
19245 echo $ECHO_N "(cached) $ECHO_C" >&6
19246 else
19250 ac_ext=cc
19251 ac_cpp='$CXXCPP $CPPFLAGS'
19252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19256 cat >conftest.$ac_ext <<_ACEOF
19257 /* confdefs.h. */
19258 _ACEOF
19259 cat confdefs.h >>conftest.$ac_ext
19260 cat >>conftest.$ac_ext <<_ACEOF
19261 /* end confdefs.h. */
19262 #include <math.h>
19264 main ()
19266 _ceill (0); _floorl (0);
19268 return 0;
19270 _ACEOF
19271 rm -f conftest.$ac_objext
19272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19273 (eval $ac_compile) 2>conftest.er1
19274 ac_status=$?
19275 grep -v '^ *+' conftest.er1 >conftest.err
19276 rm -f conftest.er1
19277 cat conftest.err >&5
19278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19279 (exit $ac_status); } &&
19280 { ac_try='test -z "$ac_cxx_werror_flag"
19281 || test ! -s conftest.err'
19282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19283 (eval $ac_try) 2>&5
19284 ac_status=$?
19285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19286 (exit $ac_status); }; } &&
19287 { ac_try='test -s conftest.$ac_objext'
19288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19289 (eval $ac_try) 2>&5
19290 ac_status=$?
19291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19292 (exit $ac_status); }; }; then
19293 glibcxx_cv_func__long_double_round_use=yes
19294 else
19295 echo "$as_me: failed program was:" >&5
19296 sed 's/^/| /' conftest.$ac_ext >&5
19298 glibcxx_cv_func__long_double_round_use=no
19300 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19301 ac_ext=c
19302 ac_cpp='$CPP $CPPFLAGS'
19303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19309 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
19310 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
19311 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
19314 for ac_func in _ceill _floorl
19316 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19317 echo "$as_me:$LINENO: checking for $ac_func" >&5
19318 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19319 if eval "test \"\${$as_ac_var+set}\" = set"; then
19320 echo $ECHO_N "(cached) $ECHO_C" >&6
19321 else
19322 if test x$gcc_no_link = xyes; then
19323 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19324 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19325 { (exit 1); exit 1; }; }
19327 cat >conftest.$ac_ext <<_ACEOF
19328 /* confdefs.h. */
19329 _ACEOF
19330 cat confdefs.h >>conftest.$ac_ext
19331 cat >>conftest.$ac_ext <<_ACEOF
19332 /* end confdefs.h. */
19333 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19334 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19335 #define $ac_func innocuous_$ac_func
19337 /* System header to define __stub macros and hopefully few prototypes,
19338 which can conflict with char $ac_func (); below.
19339 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19340 <limits.h> exists even on freestanding compilers. */
19342 #ifdef __STDC__
19343 # include <limits.h>
19344 #else
19345 # include <assert.h>
19346 #endif
19348 #undef $ac_func
19350 /* Override any gcc2 internal prototype to avoid an error. */
19351 #ifdef __cplusplus
19352 extern "C"
19354 #endif
19355 /* We use char because int might match the return type of a gcc2
19356 builtin and then its argument prototype would still apply. */
19357 char $ac_func ();
19358 /* The GNU C library defines this for functions which it implements
19359 to always fail with ENOSYS. Some functions are actually named
19360 something starting with __ and the normal name is an alias. */
19361 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19362 choke me
19363 #else
19364 char (*f) () = $ac_func;
19365 #endif
19366 #ifdef __cplusplus
19368 #endif
19371 main ()
19373 return f != $ac_func;
19375 return 0;
19377 _ACEOF
19378 rm -f conftest.$ac_objext conftest$ac_exeext
19379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19380 (eval $ac_link) 2>conftest.er1
19381 ac_status=$?
19382 grep -v '^ *+' conftest.er1 >conftest.err
19383 rm -f conftest.er1
19384 cat conftest.err >&5
19385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19386 (exit $ac_status); } &&
19387 { ac_try='test -z "$ac_c_werror_flag"
19388 || test ! -s conftest.err'
19389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19390 (eval $ac_try) 2>&5
19391 ac_status=$?
19392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19393 (exit $ac_status); }; } &&
19394 { ac_try='test -s conftest$ac_exeext'
19395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19396 (eval $ac_try) 2>&5
19397 ac_status=$?
19398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19399 (exit $ac_status); }; }; then
19400 eval "$as_ac_var=yes"
19401 else
19402 echo "$as_me: failed program was:" >&5
19403 sed 's/^/| /' conftest.$ac_ext >&5
19405 eval "$as_ac_var=no"
19407 rm -f conftest.err conftest.$ac_objext \
19408 conftest$ac_exeext conftest.$ac_ext
19410 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19411 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19412 if test `eval echo '${'$as_ac_var'}'` = yes; then
19413 cat >>confdefs.h <<_ACEOF
19414 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19415 _ACEOF
19418 done
19430 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
19431 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
19432 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
19433 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
19434 echo $ECHO_N "(cached) $ECHO_C" >&6
19435 else
19439 ac_ext=cc
19440 ac_cpp='$CXXCPP $CPPFLAGS'
19441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19445 cat >conftest.$ac_ext <<_ACEOF
19446 /* confdefs.h. */
19447 _ACEOF
19448 cat confdefs.h >>conftest.$ac_ext
19449 cat >>conftest.$ac_ext <<_ACEOF
19450 /* end confdefs.h. */
19451 #include <math.h>
19452 #ifdef HAVE_IEEEFP_H
19453 #include <ieeefp.h>
19454 #endif
19457 main ()
19459 isnanl(0);
19461 return 0;
19463 _ACEOF
19464 rm -f conftest.$ac_objext
19465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19466 (eval $ac_compile) 2>conftest.er1
19467 ac_status=$?
19468 grep -v '^ *+' conftest.er1 >conftest.err
19469 rm -f conftest.er1
19470 cat conftest.err >&5
19471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19472 (exit $ac_status); } &&
19473 { ac_try='test -z "$ac_cxx_werror_flag"
19474 || test ! -s conftest.err'
19475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19476 (eval $ac_try) 2>&5
19477 ac_status=$?
19478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19479 (exit $ac_status); }; } &&
19480 { ac_try='test -s conftest.$ac_objext'
19481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19482 (eval $ac_try) 2>&5
19483 ac_status=$?
19484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19485 (exit $ac_status); }; }; then
19486 glibcxx_cv_func_isnanl_use=yes
19487 else
19488 echo "$as_me: failed program was:" >&5
19489 sed 's/^/| /' conftest.$ac_ext >&5
19491 glibcxx_cv_func_isnanl_use=no
19493 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19494 ac_ext=c
19495 ac_cpp='$CPP $CPPFLAGS'
19496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19504 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
19505 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
19507 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
19509 for ac_func in isnanl
19511 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19512 echo "$as_me:$LINENO: checking for $ac_func" >&5
19513 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19514 if eval "test \"\${$as_ac_var+set}\" = set"; then
19515 echo $ECHO_N "(cached) $ECHO_C" >&6
19516 else
19517 if test x$gcc_no_link = xyes; then
19518 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19519 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19520 { (exit 1); exit 1; }; }
19522 cat >conftest.$ac_ext <<_ACEOF
19523 /* confdefs.h. */
19524 _ACEOF
19525 cat confdefs.h >>conftest.$ac_ext
19526 cat >>conftest.$ac_ext <<_ACEOF
19527 /* end confdefs.h. */
19528 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19529 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19530 #define $ac_func innocuous_$ac_func
19532 /* System header to define __stub macros and hopefully few prototypes,
19533 which can conflict with char $ac_func (); below.
19534 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19535 <limits.h> exists even on freestanding compilers. */
19537 #ifdef __STDC__
19538 # include <limits.h>
19539 #else
19540 # include <assert.h>
19541 #endif
19543 #undef $ac_func
19545 /* Override any gcc2 internal prototype to avoid an error. */
19546 #ifdef __cplusplus
19547 extern "C"
19549 #endif
19550 /* We use char because int might match the return type of a gcc2
19551 builtin and then its argument prototype would still apply. */
19552 char $ac_func ();
19553 /* The GNU C library defines this for functions which it implements
19554 to always fail with ENOSYS. Some functions are actually named
19555 something starting with __ and the normal name is an alias. */
19556 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19557 choke me
19558 #else
19559 char (*f) () = $ac_func;
19560 #endif
19561 #ifdef __cplusplus
19563 #endif
19566 main ()
19568 return f != $ac_func;
19570 return 0;
19572 _ACEOF
19573 rm -f conftest.$ac_objext conftest$ac_exeext
19574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19575 (eval $ac_link) 2>conftest.er1
19576 ac_status=$?
19577 grep -v '^ *+' conftest.er1 >conftest.err
19578 rm -f conftest.er1
19579 cat conftest.err >&5
19580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19581 (exit $ac_status); } &&
19582 { ac_try='test -z "$ac_c_werror_flag"
19583 || test ! -s conftest.err'
19584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19585 (eval $ac_try) 2>&5
19586 ac_status=$?
19587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19588 (exit $ac_status); }; } &&
19589 { ac_try='test -s conftest$ac_exeext'
19590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19591 (eval $ac_try) 2>&5
19592 ac_status=$?
19593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19594 (exit $ac_status); }; }; then
19595 eval "$as_ac_var=yes"
19596 else
19597 echo "$as_me: failed program was:" >&5
19598 sed 's/^/| /' conftest.$ac_ext >&5
19600 eval "$as_ac_var=no"
19602 rm -f conftest.err conftest.$ac_objext \
19603 conftest$ac_exeext conftest.$ac_ext
19605 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19606 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19607 if test `eval echo '${'$as_ac_var'}'` = yes; then
19608 cat >>confdefs.h <<_ACEOF
19609 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19610 _ACEOF
19613 done
19615 else
19617 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
19618 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
19619 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
19620 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
19621 echo $ECHO_N "(cached) $ECHO_C" >&6
19622 else
19626 ac_ext=cc
19627 ac_cpp='$CXXCPP $CPPFLAGS'
19628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19632 cat >conftest.$ac_ext <<_ACEOF
19633 /* confdefs.h. */
19634 _ACEOF
19635 cat confdefs.h >>conftest.$ac_ext
19636 cat >>conftest.$ac_ext <<_ACEOF
19637 /* end confdefs.h. */
19638 #include <math.h>
19639 #ifdef HAVE_IEEEFP_H
19640 #include <ieeefp.h>
19641 #endif
19644 main ()
19646 _isnanl(0);
19648 return 0;
19650 _ACEOF
19651 rm -f conftest.$ac_objext
19652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19653 (eval $ac_compile) 2>conftest.er1
19654 ac_status=$?
19655 grep -v '^ *+' conftest.er1 >conftest.err
19656 rm -f conftest.er1
19657 cat conftest.err >&5
19658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19659 (exit $ac_status); } &&
19660 { ac_try='test -z "$ac_cxx_werror_flag"
19661 || test ! -s conftest.err'
19662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19663 (eval $ac_try) 2>&5
19664 ac_status=$?
19665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19666 (exit $ac_status); }; } &&
19667 { ac_try='test -s conftest.$ac_objext'
19668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19669 (eval $ac_try) 2>&5
19670 ac_status=$?
19671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19672 (exit $ac_status); }; }; then
19673 glibcxx_cv_func__isnanl_use=yes
19674 else
19675 echo "$as_me: failed program was:" >&5
19676 sed 's/^/| /' conftest.$ac_ext >&5
19678 glibcxx_cv_func__isnanl_use=no
19680 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19681 ac_ext=c
19682 ac_cpp='$CPP $CPPFLAGS'
19683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19691 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
19692 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
19694 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
19696 for ac_func in _isnanl
19698 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19699 echo "$as_me:$LINENO: checking for $ac_func" >&5
19700 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19701 if eval "test \"\${$as_ac_var+set}\" = set"; then
19702 echo $ECHO_N "(cached) $ECHO_C" >&6
19703 else
19704 if test x$gcc_no_link = xyes; then
19705 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19706 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19707 { (exit 1); exit 1; }; }
19709 cat >conftest.$ac_ext <<_ACEOF
19710 /* confdefs.h. */
19711 _ACEOF
19712 cat confdefs.h >>conftest.$ac_ext
19713 cat >>conftest.$ac_ext <<_ACEOF
19714 /* end confdefs.h. */
19715 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19716 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19717 #define $ac_func innocuous_$ac_func
19719 /* System header to define __stub macros and hopefully few prototypes,
19720 which can conflict with char $ac_func (); below.
19721 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19722 <limits.h> exists even on freestanding compilers. */
19724 #ifdef __STDC__
19725 # include <limits.h>
19726 #else
19727 # include <assert.h>
19728 #endif
19730 #undef $ac_func
19732 /* Override any gcc2 internal prototype to avoid an error. */
19733 #ifdef __cplusplus
19734 extern "C"
19736 #endif
19737 /* We use char because int might match the return type of a gcc2
19738 builtin and then its argument prototype would still apply. */
19739 char $ac_func ();
19740 /* The GNU C library defines this for functions which it implements
19741 to always fail with ENOSYS. Some functions are actually named
19742 something starting with __ and the normal name is an alias. */
19743 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19744 choke me
19745 #else
19746 char (*f) () = $ac_func;
19747 #endif
19748 #ifdef __cplusplus
19750 #endif
19753 main ()
19755 return f != $ac_func;
19757 return 0;
19759 _ACEOF
19760 rm -f conftest.$ac_objext conftest$ac_exeext
19761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19762 (eval $ac_link) 2>conftest.er1
19763 ac_status=$?
19764 grep -v '^ *+' conftest.er1 >conftest.err
19765 rm -f conftest.er1
19766 cat conftest.err >&5
19767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19768 (exit $ac_status); } &&
19769 { ac_try='test -z "$ac_c_werror_flag"
19770 || test ! -s conftest.err'
19771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19772 (eval $ac_try) 2>&5
19773 ac_status=$?
19774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19775 (exit $ac_status); }; } &&
19776 { ac_try='test -s conftest$ac_exeext'
19777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19778 (eval $ac_try) 2>&5
19779 ac_status=$?
19780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19781 (exit $ac_status); }; }; then
19782 eval "$as_ac_var=yes"
19783 else
19784 echo "$as_me: failed program was:" >&5
19785 sed 's/^/| /' conftest.$ac_ext >&5
19787 eval "$as_ac_var=no"
19789 rm -f conftest.err conftest.$ac_objext \
19790 conftest$ac_exeext conftest.$ac_ext
19792 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19793 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19794 if test `eval echo '${'$as_ac_var'}'` = yes; then
19795 cat >>confdefs.h <<_ACEOF
19796 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19797 _ACEOF
19800 done
19810 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
19811 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
19812 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
19813 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
19814 echo $ECHO_N "(cached) $ECHO_C" >&6
19815 else
19819 ac_ext=cc
19820 ac_cpp='$CXXCPP $CPPFLAGS'
19821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19825 cat >conftest.$ac_ext <<_ACEOF
19826 /* confdefs.h. */
19827 _ACEOF
19828 cat confdefs.h >>conftest.$ac_ext
19829 cat >>conftest.$ac_ext <<_ACEOF
19830 /* end confdefs.h. */
19831 #include <math.h>
19832 #ifdef HAVE_IEEEFP_H
19833 #include <ieeefp.h>
19834 #endif
19837 main ()
19839 isinfl(0);
19841 return 0;
19843 _ACEOF
19844 rm -f conftest.$ac_objext
19845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19846 (eval $ac_compile) 2>conftest.er1
19847 ac_status=$?
19848 grep -v '^ *+' conftest.er1 >conftest.err
19849 rm -f conftest.er1
19850 cat conftest.err >&5
19851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19852 (exit $ac_status); } &&
19853 { ac_try='test -z "$ac_cxx_werror_flag"
19854 || test ! -s conftest.err'
19855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19856 (eval $ac_try) 2>&5
19857 ac_status=$?
19858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19859 (exit $ac_status); }; } &&
19860 { ac_try='test -s conftest.$ac_objext'
19861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19862 (eval $ac_try) 2>&5
19863 ac_status=$?
19864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19865 (exit $ac_status); }; }; then
19866 glibcxx_cv_func_isinfl_use=yes
19867 else
19868 echo "$as_me: failed program was:" >&5
19869 sed 's/^/| /' conftest.$ac_ext >&5
19871 glibcxx_cv_func_isinfl_use=no
19873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19874 ac_ext=c
19875 ac_cpp='$CPP $CPPFLAGS'
19876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19884 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
19885 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
19887 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
19889 for ac_func in isinfl
19891 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19892 echo "$as_me:$LINENO: checking for $ac_func" >&5
19893 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19894 if eval "test \"\${$as_ac_var+set}\" = set"; then
19895 echo $ECHO_N "(cached) $ECHO_C" >&6
19896 else
19897 if test x$gcc_no_link = xyes; then
19898 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19899 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19900 { (exit 1); exit 1; }; }
19902 cat >conftest.$ac_ext <<_ACEOF
19903 /* confdefs.h. */
19904 _ACEOF
19905 cat confdefs.h >>conftest.$ac_ext
19906 cat >>conftest.$ac_ext <<_ACEOF
19907 /* end confdefs.h. */
19908 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19909 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19910 #define $ac_func innocuous_$ac_func
19912 /* System header to define __stub macros and hopefully few prototypes,
19913 which can conflict with char $ac_func (); below.
19914 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19915 <limits.h> exists even on freestanding compilers. */
19917 #ifdef __STDC__
19918 # include <limits.h>
19919 #else
19920 # include <assert.h>
19921 #endif
19923 #undef $ac_func
19925 /* Override any gcc2 internal prototype to avoid an error. */
19926 #ifdef __cplusplus
19927 extern "C"
19929 #endif
19930 /* We use char because int might match the return type of a gcc2
19931 builtin and then its argument prototype would still apply. */
19932 char $ac_func ();
19933 /* The GNU C library defines this for functions which it implements
19934 to always fail with ENOSYS. Some functions are actually named
19935 something starting with __ and the normal name is an alias. */
19936 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19937 choke me
19938 #else
19939 char (*f) () = $ac_func;
19940 #endif
19941 #ifdef __cplusplus
19943 #endif
19946 main ()
19948 return f != $ac_func;
19950 return 0;
19952 _ACEOF
19953 rm -f conftest.$ac_objext conftest$ac_exeext
19954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19955 (eval $ac_link) 2>conftest.er1
19956 ac_status=$?
19957 grep -v '^ *+' conftest.er1 >conftest.err
19958 rm -f conftest.er1
19959 cat conftest.err >&5
19960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19961 (exit $ac_status); } &&
19962 { ac_try='test -z "$ac_c_werror_flag"
19963 || test ! -s conftest.err'
19964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19965 (eval $ac_try) 2>&5
19966 ac_status=$?
19967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19968 (exit $ac_status); }; } &&
19969 { ac_try='test -s conftest$ac_exeext'
19970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19971 (eval $ac_try) 2>&5
19972 ac_status=$?
19973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19974 (exit $ac_status); }; }; then
19975 eval "$as_ac_var=yes"
19976 else
19977 echo "$as_me: failed program was:" >&5
19978 sed 's/^/| /' conftest.$ac_ext >&5
19980 eval "$as_ac_var=no"
19982 rm -f conftest.err conftest.$ac_objext \
19983 conftest$ac_exeext conftest.$ac_ext
19985 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19986 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19987 if test `eval echo '${'$as_ac_var'}'` = yes; then
19988 cat >>confdefs.h <<_ACEOF
19989 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19990 _ACEOF
19993 done
19995 else
19997 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
19998 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
19999 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
20000 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
20001 echo $ECHO_N "(cached) $ECHO_C" >&6
20002 else
20006 ac_ext=cc
20007 ac_cpp='$CXXCPP $CPPFLAGS'
20008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20012 cat >conftest.$ac_ext <<_ACEOF
20013 /* confdefs.h. */
20014 _ACEOF
20015 cat confdefs.h >>conftest.$ac_ext
20016 cat >>conftest.$ac_ext <<_ACEOF
20017 /* end confdefs.h. */
20018 #include <math.h>
20019 #ifdef HAVE_IEEEFP_H
20020 #include <ieeefp.h>
20021 #endif
20024 main ()
20026 _isinfl(0);
20028 return 0;
20030 _ACEOF
20031 rm -f conftest.$ac_objext
20032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20033 (eval $ac_compile) 2>conftest.er1
20034 ac_status=$?
20035 grep -v '^ *+' conftest.er1 >conftest.err
20036 rm -f conftest.er1
20037 cat conftest.err >&5
20038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20039 (exit $ac_status); } &&
20040 { ac_try='test -z "$ac_cxx_werror_flag"
20041 || test ! -s conftest.err'
20042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20043 (eval $ac_try) 2>&5
20044 ac_status=$?
20045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20046 (exit $ac_status); }; } &&
20047 { ac_try='test -s conftest.$ac_objext'
20048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20049 (eval $ac_try) 2>&5
20050 ac_status=$?
20051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20052 (exit $ac_status); }; }; then
20053 glibcxx_cv_func__isinfl_use=yes
20054 else
20055 echo "$as_me: failed program was:" >&5
20056 sed 's/^/| /' conftest.$ac_ext >&5
20058 glibcxx_cv_func__isinfl_use=no
20060 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20061 ac_ext=c
20062 ac_cpp='$CPP $CPPFLAGS'
20063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20071 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
20072 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
20074 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
20076 for ac_func in _isinfl
20078 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20079 echo "$as_me:$LINENO: checking for $ac_func" >&5
20080 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20081 if eval "test \"\${$as_ac_var+set}\" = set"; then
20082 echo $ECHO_N "(cached) $ECHO_C" >&6
20083 else
20084 if test x$gcc_no_link = xyes; then
20085 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20086 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20087 { (exit 1); exit 1; }; }
20089 cat >conftest.$ac_ext <<_ACEOF
20090 /* confdefs.h. */
20091 _ACEOF
20092 cat confdefs.h >>conftest.$ac_ext
20093 cat >>conftest.$ac_ext <<_ACEOF
20094 /* end confdefs.h. */
20095 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20096 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20097 #define $ac_func innocuous_$ac_func
20099 /* System header to define __stub macros and hopefully few prototypes,
20100 which can conflict with char $ac_func (); below.
20101 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20102 <limits.h> exists even on freestanding compilers. */
20104 #ifdef __STDC__
20105 # include <limits.h>
20106 #else
20107 # include <assert.h>
20108 #endif
20110 #undef $ac_func
20112 /* Override any gcc2 internal prototype to avoid an error. */
20113 #ifdef __cplusplus
20114 extern "C"
20116 #endif
20117 /* We use char because int might match the return type of a gcc2
20118 builtin and then its argument prototype would still apply. */
20119 char $ac_func ();
20120 /* The GNU C library defines this for functions which it implements
20121 to always fail with ENOSYS. Some functions are actually named
20122 something starting with __ and the normal name is an alias. */
20123 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20124 choke me
20125 #else
20126 char (*f) () = $ac_func;
20127 #endif
20128 #ifdef __cplusplus
20130 #endif
20133 main ()
20135 return f != $ac_func;
20137 return 0;
20139 _ACEOF
20140 rm -f conftest.$ac_objext conftest$ac_exeext
20141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20142 (eval $ac_link) 2>conftest.er1
20143 ac_status=$?
20144 grep -v '^ *+' conftest.er1 >conftest.err
20145 rm -f conftest.er1
20146 cat conftest.err >&5
20147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20148 (exit $ac_status); } &&
20149 { ac_try='test -z "$ac_c_werror_flag"
20150 || test ! -s conftest.err'
20151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20152 (eval $ac_try) 2>&5
20153 ac_status=$?
20154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20155 (exit $ac_status); }; } &&
20156 { ac_try='test -s conftest$ac_exeext'
20157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20158 (eval $ac_try) 2>&5
20159 ac_status=$?
20160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20161 (exit $ac_status); }; }; then
20162 eval "$as_ac_var=yes"
20163 else
20164 echo "$as_me: failed program was:" >&5
20165 sed 's/^/| /' conftest.$ac_ext >&5
20167 eval "$as_ac_var=no"
20169 rm -f conftest.err conftest.$ac_objext \
20170 conftest$ac_exeext conftest.$ac_ext
20172 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20173 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20174 if test `eval echo '${'$as_ac_var'}'` = yes; then
20175 cat >>confdefs.h <<_ACEOF
20176 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20177 _ACEOF
20180 done
20190 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
20191 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
20192 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
20193 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
20194 echo $ECHO_N "(cached) $ECHO_C" >&6
20195 else
20199 ac_ext=cc
20200 ac_cpp='$CXXCPP $CPPFLAGS'
20201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20205 cat >conftest.$ac_ext <<_ACEOF
20206 /* confdefs.h. */
20207 _ACEOF
20208 cat confdefs.h >>conftest.$ac_ext
20209 cat >>conftest.$ac_ext <<_ACEOF
20210 /* end confdefs.h. */
20211 #include <math.h>
20213 main ()
20215 copysignl(0, 0);
20217 return 0;
20219 _ACEOF
20220 rm -f conftest.$ac_objext
20221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20222 (eval $ac_compile) 2>conftest.er1
20223 ac_status=$?
20224 grep -v '^ *+' conftest.er1 >conftest.err
20225 rm -f conftest.er1
20226 cat conftest.err >&5
20227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20228 (exit $ac_status); } &&
20229 { ac_try='test -z "$ac_cxx_werror_flag"
20230 || test ! -s conftest.err'
20231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20232 (eval $ac_try) 2>&5
20233 ac_status=$?
20234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20235 (exit $ac_status); }; } &&
20236 { ac_try='test -s conftest.$ac_objext'
20237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20238 (eval $ac_try) 2>&5
20239 ac_status=$?
20240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20241 (exit $ac_status); }; }; then
20242 glibcxx_cv_func_copysignl_use=yes
20243 else
20244 echo "$as_me: failed program was:" >&5
20245 sed 's/^/| /' conftest.$ac_ext >&5
20247 glibcxx_cv_func_copysignl_use=no
20249 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20250 ac_ext=c
20251 ac_cpp='$CPP $CPPFLAGS'
20252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20260 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
20261 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
20263 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
20265 for ac_func in copysignl
20267 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20268 echo "$as_me:$LINENO: checking for $ac_func" >&5
20269 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20270 if eval "test \"\${$as_ac_var+set}\" = set"; then
20271 echo $ECHO_N "(cached) $ECHO_C" >&6
20272 else
20273 if test x$gcc_no_link = xyes; then
20274 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20275 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20276 { (exit 1); exit 1; }; }
20278 cat >conftest.$ac_ext <<_ACEOF
20279 /* confdefs.h. */
20280 _ACEOF
20281 cat confdefs.h >>conftest.$ac_ext
20282 cat >>conftest.$ac_ext <<_ACEOF
20283 /* end confdefs.h. */
20284 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20285 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20286 #define $ac_func innocuous_$ac_func
20288 /* System header to define __stub macros and hopefully few prototypes,
20289 which can conflict with char $ac_func (); below.
20290 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20291 <limits.h> exists even on freestanding compilers. */
20293 #ifdef __STDC__
20294 # include <limits.h>
20295 #else
20296 # include <assert.h>
20297 #endif
20299 #undef $ac_func
20301 /* Override any gcc2 internal prototype to avoid an error. */
20302 #ifdef __cplusplus
20303 extern "C"
20305 #endif
20306 /* We use char because int might match the return type of a gcc2
20307 builtin and then its argument prototype would still apply. */
20308 char $ac_func ();
20309 /* The GNU C library defines this for functions which it implements
20310 to always fail with ENOSYS. Some functions are actually named
20311 something starting with __ and the normal name is an alias. */
20312 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20313 choke me
20314 #else
20315 char (*f) () = $ac_func;
20316 #endif
20317 #ifdef __cplusplus
20319 #endif
20322 main ()
20324 return f != $ac_func;
20326 return 0;
20328 _ACEOF
20329 rm -f conftest.$ac_objext conftest$ac_exeext
20330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20331 (eval $ac_link) 2>conftest.er1
20332 ac_status=$?
20333 grep -v '^ *+' conftest.er1 >conftest.err
20334 rm -f conftest.er1
20335 cat conftest.err >&5
20336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20337 (exit $ac_status); } &&
20338 { ac_try='test -z "$ac_c_werror_flag"
20339 || test ! -s conftest.err'
20340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20341 (eval $ac_try) 2>&5
20342 ac_status=$?
20343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20344 (exit $ac_status); }; } &&
20345 { ac_try='test -s conftest$ac_exeext'
20346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20347 (eval $ac_try) 2>&5
20348 ac_status=$?
20349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20350 (exit $ac_status); }; }; then
20351 eval "$as_ac_var=yes"
20352 else
20353 echo "$as_me: failed program was:" >&5
20354 sed 's/^/| /' conftest.$ac_ext >&5
20356 eval "$as_ac_var=no"
20358 rm -f conftest.err conftest.$ac_objext \
20359 conftest$ac_exeext conftest.$ac_ext
20361 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20362 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20363 if test `eval echo '${'$as_ac_var'}'` = yes; then
20364 cat >>confdefs.h <<_ACEOF
20365 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20366 _ACEOF
20369 done
20371 else
20373 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
20374 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
20375 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
20376 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
20377 echo $ECHO_N "(cached) $ECHO_C" >&6
20378 else
20382 ac_ext=cc
20383 ac_cpp='$CXXCPP $CPPFLAGS'
20384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20388 cat >conftest.$ac_ext <<_ACEOF
20389 /* confdefs.h. */
20390 _ACEOF
20391 cat confdefs.h >>conftest.$ac_ext
20392 cat >>conftest.$ac_ext <<_ACEOF
20393 /* end confdefs.h. */
20394 #include <math.h>
20396 main ()
20398 _copysignl(0, 0);
20400 return 0;
20402 _ACEOF
20403 rm -f conftest.$ac_objext
20404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20405 (eval $ac_compile) 2>conftest.er1
20406 ac_status=$?
20407 grep -v '^ *+' conftest.er1 >conftest.err
20408 rm -f conftest.er1
20409 cat conftest.err >&5
20410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20411 (exit $ac_status); } &&
20412 { ac_try='test -z "$ac_cxx_werror_flag"
20413 || test ! -s conftest.err'
20414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20415 (eval $ac_try) 2>&5
20416 ac_status=$?
20417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20418 (exit $ac_status); }; } &&
20419 { ac_try='test -s conftest.$ac_objext'
20420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20421 (eval $ac_try) 2>&5
20422 ac_status=$?
20423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20424 (exit $ac_status); }; }; then
20425 glibcxx_cv_func__copysignl_use=yes
20426 else
20427 echo "$as_me: failed program was:" >&5
20428 sed 's/^/| /' conftest.$ac_ext >&5
20430 glibcxx_cv_func__copysignl_use=no
20432 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20433 ac_ext=c
20434 ac_cpp='$CPP $CPPFLAGS'
20435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20443 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
20444 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
20446 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
20448 for ac_func in _copysignl
20450 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20451 echo "$as_me:$LINENO: checking for $ac_func" >&5
20452 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20453 if eval "test \"\${$as_ac_var+set}\" = set"; then
20454 echo $ECHO_N "(cached) $ECHO_C" >&6
20455 else
20456 if test x$gcc_no_link = xyes; then
20457 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20458 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20459 { (exit 1); exit 1; }; }
20461 cat >conftest.$ac_ext <<_ACEOF
20462 /* confdefs.h. */
20463 _ACEOF
20464 cat confdefs.h >>conftest.$ac_ext
20465 cat >>conftest.$ac_ext <<_ACEOF
20466 /* end confdefs.h. */
20467 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20468 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20469 #define $ac_func innocuous_$ac_func
20471 /* System header to define __stub macros and hopefully few prototypes,
20472 which can conflict with char $ac_func (); below.
20473 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20474 <limits.h> exists even on freestanding compilers. */
20476 #ifdef __STDC__
20477 # include <limits.h>
20478 #else
20479 # include <assert.h>
20480 #endif
20482 #undef $ac_func
20484 /* Override any gcc2 internal prototype to avoid an error. */
20485 #ifdef __cplusplus
20486 extern "C"
20488 #endif
20489 /* We use char because int might match the return type of a gcc2
20490 builtin and then its argument prototype would still apply. */
20491 char $ac_func ();
20492 /* The GNU C library defines this for functions which it implements
20493 to always fail with ENOSYS. Some functions are actually named
20494 something starting with __ and the normal name is an alias. */
20495 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20496 choke me
20497 #else
20498 char (*f) () = $ac_func;
20499 #endif
20500 #ifdef __cplusplus
20502 #endif
20505 main ()
20507 return f != $ac_func;
20509 return 0;
20511 _ACEOF
20512 rm -f conftest.$ac_objext conftest$ac_exeext
20513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20514 (eval $ac_link) 2>conftest.er1
20515 ac_status=$?
20516 grep -v '^ *+' conftest.er1 >conftest.err
20517 rm -f conftest.er1
20518 cat conftest.err >&5
20519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20520 (exit $ac_status); } &&
20521 { ac_try='test -z "$ac_c_werror_flag"
20522 || test ! -s conftest.err'
20523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20524 (eval $ac_try) 2>&5
20525 ac_status=$?
20526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20527 (exit $ac_status); }; } &&
20528 { ac_try='test -s conftest$ac_exeext'
20529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20530 (eval $ac_try) 2>&5
20531 ac_status=$?
20532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20533 (exit $ac_status); }; }; then
20534 eval "$as_ac_var=yes"
20535 else
20536 echo "$as_me: failed program was:" >&5
20537 sed 's/^/| /' conftest.$ac_ext >&5
20539 eval "$as_ac_var=no"
20541 rm -f conftest.err conftest.$ac_objext \
20542 conftest$ac_exeext conftest.$ac_ext
20544 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20545 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20546 if test `eval echo '${'$as_ac_var'}'` = yes; then
20547 cat >>confdefs.h <<_ACEOF
20548 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20549 _ACEOF
20552 done
20562 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
20563 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
20564 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
20565 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
20566 echo $ECHO_N "(cached) $ECHO_C" >&6
20567 else
20571 ac_ext=cc
20572 ac_cpp='$CXXCPP $CPPFLAGS'
20573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20577 cat >conftest.$ac_ext <<_ACEOF
20578 /* confdefs.h. */
20579 _ACEOF
20580 cat confdefs.h >>conftest.$ac_ext
20581 cat >>conftest.$ac_ext <<_ACEOF
20582 /* end confdefs.h. */
20583 #include <math.h>
20585 main ()
20587 atan2l(0, 0);
20589 return 0;
20591 _ACEOF
20592 rm -f conftest.$ac_objext
20593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20594 (eval $ac_compile) 2>conftest.er1
20595 ac_status=$?
20596 grep -v '^ *+' conftest.er1 >conftest.err
20597 rm -f conftest.er1
20598 cat conftest.err >&5
20599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20600 (exit $ac_status); } &&
20601 { ac_try='test -z "$ac_cxx_werror_flag"
20602 || test ! -s conftest.err'
20603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20604 (eval $ac_try) 2>&5
20605 ac_status=$?
20606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20607 (exit $ac_status); }; } &&
20608 { ac_try='test -s conftest.$ac_objext'
20609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20610 (eval $ac_try) 2>&5
20611 ac_status=$?
20612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20613 (exit $ac_status); }; }; then
20614 glibcxx_cv_func_atan2l_use=yes
20615 else
20616 echo "$as_me: failed program was:" >&5
20617 sed 's/^/| /' conftest.$ac_ext >&5
20619 glibcxx_cv_func_atan2l_use=no
20621 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20622 ac_ext=c
20623 ac_cpp='$CPP $CPPFLAGS'
20624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20632 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
20633 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
20635 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
20637 for ac_func in atan2l
20639 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20640 echo "$as_me:$LINENO: checking for $ac_func" >&5
20641 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20642 if eval "test \"\${$as_ac_var+set}\" = set"; then
20643 echo $ECHO_N "(cached) $ECHO_C" >&6
20644 else
20645 if test x$gcc_no_link = xyes; then
20646 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20647 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20648 { (exit 1); exit 1; }; }
20650 cat >conftest.$ac_ext <<_ACEOF
20651 /* confdefs.h. */
20652 _ACEOF
20653 cat confdefs.h >>conftest.$ac_ext
20654 cat >>conftest.$ac_ext <<_ACEOF
20655 /* end confdefs.h. */
20656 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20657 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20658 #define $ac_func innocuous_$ac_func
20660 /* System header to define __stub macros and hopefully few prototypes,
20661 which can conflict with char $ac_func (); below.
20662 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20663 <limits.h> exists even on freestanding compilers. */
20665 #ifdef __STDC__
20666 # include <limits.h>
20667 #else
20668 # include <assert.h>
20669 #endif
20671 #undef $ac_func
20673 /* Override any gcc2 internal prototype to avoid an error. */
20674 #ifdef __cplusplus
20675 extern "C"
20677 #endif
20678 /* We use char because int might match the return type of a gcc2
20679 builtin and then its argument prototype would still apply. */
20680 char $ac_func ();
20681 /* The GNU C library defines this for functions which it implements
20682 to always fail with ENOSYS. Some functions are actually named
20683 something starting with __ and the normal name is an alias. */
20684 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20685 choke me
20686 #else
20687 char (*f) () = $ac_func;
20688 #endif
20689 #ifdef __cplusplus
20691 #endif
20694 main ()
20696 return f != $ac_func;
20698 return 0;
20700 _ACEOF
20701 rm -f conftest.$ac_objext conftest$ac_exeext
20702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20703 (eval $ac_link) 2>conftest.er1
20704 ac_status=$?
20705 grep -v '^ *+' conftest.er1 >conftest.err
20706 rm -f conftest.er1
20707 cat conftest.err >&5
20708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20709 (exit $ac_status); } &&
20710 { ac_try='test -z "$ac_c_werror_flag"
20711 || test ! -s conftest.err'
20712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20713 (eval $ac_try) 2>&5
20714 ac_status=$?
20715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20716 (exit $ac_status); }; } &&
20717 { ac_try='test -s conftest$ac_exeext'
20718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20719 (eval $ac_try) 2>&5
20720 ac_status=$?
20721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20722 (exit $ac_status); }; }; then
20723 eval "$as_ac_var=yes"
20724 else
20725 echo "$as_me: failed program was:" >&5
20726 sed 's/^/| /' conftest.$ac_ext >&5
20728 eval "$as_ac_var=no"
20730 rm -f conftest.err conftest.$ac_objext \
20731 conftest$ac_exeext conftest.$ac_ext
20733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20734 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20735 if test `eval echo '${'$as_ac_var'}'` = yes; then
20736 cat >>confdefs.h <<_ACEOF
20737 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20738 _ACEOF
20741 done
20743 else
20745 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
20746 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
20747 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
20748 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
20749 echo $ECHO_N "(cached) $ECHO_C" >&6
20750 else
20754 ac_ext=cc
20755 ac_cpp='$CXXCPP $CPPFLAGS'
20756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20760 cat >conftest.$ac_ext <<_ACEOF
20761 /* confdefs.h. */
20762 _ACEOF
20763 cat confdefs.h >>conftest.$ac_ext
20764 cat >>conftest.$ac_ext <<_ACEOF
20765 /* end confdefs.h. */
20766 #include <math.h>
20768 main ()
20770 _atan2l(0, 0);
20772 return 0;
20774 _ACEOF
20775 rm -f conftest.$ac_objext
20776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20777 (eval $ac_compile) 2>conftest.er1
20778 ac_status=$?
20779 grep -v '^ *+' conftest.er1 >conftest.err
20780 rm -f conftest.er1
20781 cat conftest.err >&5
20782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20783 (exit $ac_status); } &&
20784 { ac_try='test -z "$ac_cxx_werror_flag"
20785 || test ! -s conftest.err'
20786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20787 (eval $ac_try) 2>&5
20788 ac_status=$?
20789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20790 (exit $ac_status); }; } &&
20791 { ac_try='test -s conftest.$ac_objext'
20792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20793 (eval $ac_try) 2>&5
20794 ac_status=$?
20795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20796 (exit $ac_status); }; }; then
20797 glibcxx_cv_func__atan2l_use=yes
20798 else
20799 echo "$as_me: failed program was:" >&5
20800 sed 's/^/| /' conftest.$ac_ext >&5
20802 glibcxx_cv_func__atan2l_use=no
20804 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20805 ac_ext=c
20806 ac_cpp='$CPP $CPPFLAGS'
20807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20815 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
20816 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
20818 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
20820 for ac_func in _atan2l
20822 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20823 echo "$as_me:$LINENO: checking for $ac_func" >&5
20824 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20825 if eval "test \"\${$as_ac_var+set}\" = set"; then
20826 echo $ECHO_N "(cached) $ECHO_C" >&6
20827 else
20828 if test x$gcc_no_link = xyes; then
20829 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20830 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20831 { (exit 1); exit 1; }; }
20833 cat >conftest.$ac_ext <<_ACEOF
20834 /* confdefs.h. */
20835 _ACEOF
20836 cat confdefs.h >>conftest.$ac_ext
20837 cat >>conftest.$ac_ext <<_ACEOF
20838 /* end confdefs.h. */
20839 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20840 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20841 #define $ac_func innocuous_$ac_func
20843 /* System header to define __stub macros and hopefully few prototypes,
20844 which can conflict with char $ac_func (); below.
20845 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20846 <limits.h> exists even on freestanding compilers. */
20848 #ifdef __STDC__
20849 # include <limits.h>
20850 #else
20851 # include <assert.h>
20852 #endif
20854 #undef $ac_func
20856 /* Override any gcc2 internal prototype to avoid an error. */
20857 #ifdef __cplusplus
20858 extern "C"
20860 #endif
20861 /* We use char because int might match the return type of a gcc2
20862 builtin and then its argument prototype would still apply. */
20863 char $ac_func ();
20864 /* The GNU C library defines this for functions which it implements
20865 to always fail with ENOSYS. Some functions are actually named
20866 something starting with __ and the normal name is an alias. */
20867 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20868 choke me
20869 #else
20870 char (*f) () = $ac_func;
20871 #endif
20872 #ifdef __cplusplus
20874 #endif
20877 main ()
20879 return f != $ac_func;
20881 return 0;
20883 _ACEOF
20884 rm -f conftest.$ac_objext conftest$ac_exeext
20885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20886 (eval $ac_link) 2>conftest.er1
20887 ac_status=$?
20888 grep -v '^ *+' conftest.er1 >conftest.err
20889 rm -f conftest.er1
20890 cat conftest.err >&5
20891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20892 (exit $ac_status); } &&
20893 { ac_try='test -z "$ac_c_werror_flag"
20894 || test ! -s conftest.err'
20895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20896 (eval $ac_try) 2>&5
20897 ac_status=$?
20898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20899 (exit $ac_status); }; } &&
20900 { ac_try='test -s conftest$ac_exeext'
20901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20902 (eval $ac_try) 2>&5
20903 ac_status=$?
20904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20905 (exit $ac_status); }; }; then
20906 eval "$as_ac_var=yes"
20907 else
20908 echo "$as_me: failed program was:" >&5
20909 sed 's/^/| /' conftest.$ac_ext >&5
20911 eval "$as_ac_var=no"
20913 rm -f conftest.err conftest.$ac_objext \
20914 conftest$ac_exeext conftest.$ac_ext
20916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20917 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20918 if test `eval echo '${'$as_ac_var'}'` = yes; then
20919 cat >>confdefs.h <<_ACEOF
20920 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20921 _ACEOF
20924 done
20934 echo "$as_me:$LINENO: checking for expl declaration" >&5
20935 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
20936 if test x${glibcxx_cv_func_expl_use+set} != xset; then
20937 if test "${glibcxx_cv_func_expl_use+set}" = set; then
20938 echo $ECHO_N "(cached) $ECHO_C" >&6
20939 else
20943 ac_ext=cc
20944 ac_cpp='$CXXCPP $CPPFLAGS'
20945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20949 cat >conftest.$ac_ext <<_ACEOF
20950 /* confdefs.h. */
20951 _ACEOF
20952 cat confdefs.h >>conftest.$ac_ext
20953 cat >>conftest.$ac_ext <<_ACEOF
20954 /* end confdefs.h. */
20955 #include <math.h>
20956 #ifdef HAVE_IEEEFP_H
20957 #include <ieeefp.h>
20958 #endif
20961 main ()
20963 expl(0);
20965 return 0;
20967 _ACEOF
20968 rm -f conftest.$ac_objext
20969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20970 (eval $ac_compile) 2>conftest.er1
20971 ac_status=$?
20972 grep -v '^ *+' conftest.er1 >conftest.err
20973 rm -f conftest.er1
20974 cat conftest.err >&5
20975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20976 (exit $ac_status); } &&
20977 { ac_try='test -z "$ac_cxx_werror_flag"
20978 || test ! -s conftest.err'
20979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20980 (eval $ac_try) 2>&5
20981 ac_status=$?
20982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20983 (exit $ac_status); }; } &&
20984 { ac_try='test -s conftest.$ac_objext'
20985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20986 (eval $ac_try) 2>&5
20987 ac_status=$?
20988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20989 (exit $ac_status); }; }; then
20990 glibcxx_cv_func_expl_use=yes
20991 else
20992 echo "$as_me: failed program was:" >&5
20993 sed 's/^/| /' conftest.$ac_ext >&5
20995 glibcxx_cv_func_expl_use=no
20997 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20998 ac_ext=c
20999 ac_cpp='$CPP $CPPFLAGS'
21000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21008 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
21009 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
21011 if test x$glibcxx_cv_func_expl_use = x"yes"; then
21013 for ac_func in expl
21015 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21016 echo "$as_me:$LINENO: checking for $ac_func" >&5
21017 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21018 if eval "test \"\${$as_ac_var+set}\" = set"; then
21019 echo $ECHO_N "(cached) $ECHO_C" >&6
21020 else
21021 if test x$gcc_no_link = xyes; then
21022 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21023 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21024 { (exit 1); exit 1; }; }
21026 cat >conftest.$ac_ext <<_ACEOF
21027 /* confdefs.h. */
21028 _ACEOF
21029 cat confdefs.h >>conftest.$ac_ext
21030 cat >>conftest.$ac_ext <<_ACEOF
21031 /* end confdefs.h. */
21032 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21033 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21034 #define $ac_func innocuous_$ac_func
21036 /* System header to define __stub macros and hopefully few prototypes,
21037 which can conflict with char $ac_func (); below.
21038 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21039 <limits.h> exists even on freestanding compilers. */
21041 #ifdef __STDC__
21042 # include <limits.h>
21043 #else
21044 # include <assert.h>
21045 #endif
21047 #undef $ac_func
21049 /* Override any gcc2 internal prototype to avoid an error. */
21050 #ifdef __cplusplus
21051 extern "C"
21053 #endif
21054 /* We use char because int might match the return type of a gcc2
21055 builtin and then its argument prototype would still apply. */
21056 char $ac_func ();
21057 /* The GNU C library defines this for functions which it implements
21058 to always fail with ENOSYS. Some functions are actually named
21059 something starting with __ and the normal name is an alias. */
21060 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21061 choke me
21062 #else
21063 char (*f) () = $ac_func;
21064 #endif
21065 #ifdef __cplusplus
21067 #endif
21070 main ()
21072 return f != $ac_func;
21074 return 0;
21076 _ACEOF
21077 rm -f conftest.$ac_objext conftest$ac_exeext
21078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21079 (eval $ac_link) 2>conftest.er1
21080 ac_status=$?
21081 grep -v '^ *+' conftest.er1 >conftest.err
21082 rm -f conftest.er1
21083 cat conftest.err >&5
21084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21085 (exit $ac_status); } &&
21086 { ac_try='test -z "$ac_c_werror_flag"
21087 || test ! -s conftest.err'
21088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21089 (eval $ac_try) 2>&5
21090 ac_status=$?
21091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21092 (exit $ac_status); }; } &&
21093 { ac_try='test -s conftest$ac_exeext'
21094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21095 (eval $ac_try) 2>&5
21096 ac_status=$?
21097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21098 (exit $ac_status); }; }; then
21099 eval "$as_ac_var=yes"
21100 else
21101 echo "$as_me: failed program was:" >&5
21102 sed 's/^/| /' conftest.$ac_ext >&5
21104 eval "$as_ac_var=no"
21106 rm -f conftest.err conftest.$ac_objext \
21107 conftest$ac_exeext conftest.$ac_ext
21109 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21110 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21111 if test `eval echo '${'$as_ac_var'}'` = yes; then
21112 cat >>confdefs.h <<_ACEOF
21113 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21114 _ACEOF
21117 done
21119 else
21121 echo "$as_me:$LINENO: checking for _expl declaration" >&5
21122 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
21123 if test x${glibcxx_cv_func__expl_use+set} != xset; then
21124 if test "${glibcxx_cv_func__expl_use+set}" = set; then
21125 echo $ECHO_N "(cached) $ECHO_C" >&6
21126 else
21130 ac_ext=cc
21131 ac_cpp='$CXXCPP $CPPFLAGS'
21132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21136 cat >conftest.$ac_ext <<_ACEOF
21137 /* confdefs.h. */
21138 _ACEOF
21139 cat confdefs.h >>conftest.$ac_ext
21140 cat >>conftest.$ac_ext <<_ACEOF
21141 /* end confdefs.h. */
21142 #include <math.h>
21143 #ifdef HAVE_IEEEFP_H
21144 #include <ieeefp.h>
21145 #endif
21148 main ()
21150 _expl(0);
21152 return 0;
21154 _ACEOF
21155 rm -f conftest.$ac_objext
21156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21157 (eval $ac_compile) 2>conftest.er1
21158 ac_status=$?
21159 grep -v '^ *+' conftest.er1 >conftest.err
21160 rm -f conftest.er1
21161 cat conftest.err >&5
21162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21163 (exit $ac_status); } &&
21164 { ac_try='test -z "$ac_cxx_werror_flag"
21165 || test ! -s conftest.err'
21166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21167 (eval $ac_try) 2>&5
21168 ac_status=$?
21169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21170 (exit $ac_status); }; } &&
21171 { ac_try='test -s conftest.$ac_objext'
21172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21173 (eval $ac_try) 2>&5
21174 ac_status=$?
21175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21176 (exit $ac_status); }; }; then
21177 glibcxx_cv_func__expl_use=yes
21178 else
21179 echo "$as_me: failed program was:" >&5
21180 sed 's/^/| /' conftest.$ac_ext >&5
21182 glibcxx_cv_func__expl_use=no
21184 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21185 ac_ext=c
21186 ac_cpp='$CPP $CPPFLAGS'
21187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21195 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
21196 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
21198 if test x$glibcxx_cv_func__expl_use = x"yes"; then
21200 for ac_func in _expl
21202 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21203 echo "$as_me:$LINENO: checking for $ac_func" >&5
21204 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21205 if eval "test \"\${$as_ac_var+set}\" = set"; then
21206 echo $ECHO_N "(cached) $ECHO_C" >&6
21207 else
21208 if test x$gcc_no_link = xyes; then
21209 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21210 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21211 { (exit 1); exit 1; }; }
21213 cat >conftest.$ac_ext <<_ACEOF
21214 /* confdefs.h. */
21215 _ACEOF
21216 cat confdefs.h >>conftest.$ac_ext
21217 cat >>conftest.$ac_ext <<_ACEOF
21218 /* end confdefs.h. */
21219 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21220 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21221 #define $ac_func innocuous_$ac_func
21223 /* System header to define __stub macros and hopefully few prototypes,
21224 which can conflict with char $ac_func (); below.
21225 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21226 <limits.h> exists even on freestanding compilers. */
21228 #ifdef __STDC__
21229 # include <limits.h>
21230 #else
21231 # include <assert.h>
21232 #endif
21234 #undef $ac_func
21236 /* Override any gcc2 internal prototype to avoid an error. */
21237 #ifdef __cplusplus
21238 extern "C"
21240 #endif
21241 /* We use char because int might match the return type of a gcc2
21242 builtin and then its argument prototype would still apply. */
21243 char $ac_func ();
21244 /* The GNU C library defines this for functions which it implements
21245 to always fail with ENOSYS. Some functions are actually named
21246 something starting with __ and the normal name is an alias. */
21247 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21248 choke me
21249 #else
21250 char (*f) () = $ac_func;
21251 #endif
21252 #ifdef __cplusplus
21254 #endif
21257 main ()
21259 return f != $ac_func;
21261 return 0;
21263 _ACEOF
21264 rm -f conftest.$ac_objext conftest$ac_exeext
21265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21266 (eval $ac_link) 2>conftest.er1
21267 ac_status=$?
21268 grep -v '^ *+' conftest.er1 >conftest.err
21269 rm -f conftest.er1
21270 cat conftest.err >&5
21271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21272 (exit $ac_status); } &&
21273 { ac_try='test -z "$ac_c_werror_flag"
21274 || test ! -s conftest.err'
21275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21276 (eval $ac_try) 2>&5
21277 ac_status=$?
21278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21279 (exit $ac_status); }; } &&
21280 { ac_try='test -s conftest$ac_exeext'
21281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21282 (eval $ac_try) 2>&5
21283 ac_status=$?
21284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21285 (exit $ac_status); }; }; then
21286 eval "$as_ac_var=yes"
21287 else
21288 echo "$as_me: failed program was:" >&5
21289 sed 's/^/| /' conftest.$ac_ext >&5
21291 eval "$as_ac_var=no"
21293 rm -f conftest.err conftest.$ac_objext \
21294 conftest$ac_exeext conftest.$ac_ext
21296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21297 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21298 if test `eval echo '${'$as_ac_var'}'` = yes; then
21299 cat >>confdefs.h <<_ACEOF
21300 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21301 _ACEOF
21304 done
21314 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
21315 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
21316 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
21317 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
21318 echo $ECHO_N "(cached) $ECHO_C" >&6
21319 else
21323 ac_ext=cc
21324 ac_cpp='$CXXCPP $CPPFLAGS'
21325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21329 cat >conftest.$ac_ext <<_ACEOF
21330 /* confdefs.h. */
21331 _ACEOF
21332 cat confdefs.h >>conftest.$ac_ext
21333 cat >>conftest.$ac_ext <<_ACEOF
21334 /* end confdefs.h. */
21335 #include <math.h>
21336 #ifdef HAVE_IEEEFP_H
21337 #include <ieeefp.h>
21338 #endif
21341 main ()
21343 fabsl(0);
21345 return 0;
21347 _ACEOF
21348 rm -f conftest.$ac_objext
21349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21350 (eval $ac_compile) 2>conftest.er1
21351 ac_status=$?
21352 grep -v '^ *+' conftest.er1 >conftest.err
21353 rm -f conftest.er1
21354 cat conftest.err >&5
21355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21356 (exit $ac_status); } &&
21357 { ac_try='test -z "$ac_cxx_werror_flag"
21358 || test ! -s conftest.err'
21359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21360 (eval $ac_try) 2>&5
21361 ac_status=$?
21362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21363 (exit $ac_status); }; } &&
21364 { ac_try='test -s conftest.$ac_objext'
21365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21366 (eval $ac_try) 2>&5
21367 ac_status=$?
21368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21369 (exit $ac_status); }; }; then
21370 glibcxx_cv_func_fabsl_use=yes
21371 else
21372 echo "$as_me: failed program was:" >&5
21373 sed 's/^/| /' conftest.$ac_ext >&5
21375 glibcxx_cv_func_fabsl_use=no
21377 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21378 ac_ext=c
21379 ac_cpp='$CPP $CPPFLAGS'
21380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21388 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
21389 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
21391 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
21393 for ac_func in fabsl
21395 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21396 echo "$as_me:$LINENO: checking for $ac_func" >&5
21397 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21398 if eval "test \"\${$as_ac_var+set}\" = set"; then
21399 echo $ECHO_N "(cached) $ECHO_C" >&6
21400 else
21401 if test x$gcc_no_link = xyes; then
21402 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21403 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21404 { (exit 1); exit 1; }; }
21406 cat >conftest.$ac_ext <<_ACEOF
21407 /* confdefs.h. */
21408 _ACEOF
21409 cat confdefs.h >>conftest.$ac_ext
21410 cat >>conftest.$ac_ext <<_ACEOF
21411 /* end confdefs.h. */
21412 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21413 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21414 #define $ac_func innocuous_$ac_func
21416 /* System header to define __stub macros and hopefully few prototypes,
21417 which can conflict with char $ac_func (); below.
21418 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21419 <limits.h> exists even on freestanding compilers. */
21421 #ifdef __STDC__
21422 # include <limits.h>
21423 #else
21424 # include <assert.h>
21425 #endif
21427 #undef $ac_func
21429 /* Override any gcc2 internal prototype to avoid an error. */
21430 #ifdef __cplusplus
21431 extern "C"
21433 #endif
21434 /* We use char because int might match the return type of a gcc2
21435 builtin and then its argument prototype would still apply. */
21436 char $ac_func ();
21437 /* The GNU C library defines this for functions which it implements
21438 to always fail with ENOSYS. Some functions are actually named
21439 something starting with __ and the normal name is an alias. */
21440 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21441 choke me
21442 #else
21443 char (*f) () = $ac_func;
21444 #endif
21445 #ifdef __cplusplus
21447 #endif
21450 main ()
21452 return f != $ac_func;
21454 return 0;
21456 _ACEOF
21457 rm -f conftest.$ac_objext conftest$ac_exeext
21458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21459 (eval $ac_link) 2>conftest.er1
21460 ac_status=$?
21461 grep -v '^ *+' conftest.er1 >conftest.err
21462 rm -f conftest.er1
21463 cat conftest.err >&5
21464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21465 (exit $ac_status); } &&
21466 { ac_try='test -z "$ac_c_werror_flag"
21467 || test ! -s conftest.err'
21468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21469 (eval $ac_try) 2>&5
21470 ac_status=$?
21471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21472 (exit $ac_status); }; } &&
21473 { ac_try='test -s conftest$ac_exeext'
21474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21475 (eval $ac_try) 2>&5
21476 ac_status=$?
21477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21478 (exit $ac_status); }; }; then
21479 eval "$as_ac_var=yes"
21480 else
21481 echo "$as_me: failed program was:" >&5
21482 sed 's/^/| /' conftest.$ac_ext >&5
21484 eval "$as_ac_var=no"
21486 rm -f conftest.err conftest.$ac_objext \
21487 conftest$ac_exeext conftest.$ac_ext
21489 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21490 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21491 if test `eval echo '${'$as_ac_var'}'` = yes; then
21492 cat >>confdefs.h <<_ACEOF
21493 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21494 _ACEOF
21497 done
21499 else
21501 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
21502 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
21503 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
21504 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
21505 echo $ECHO_N "(cached) $ECHO_C" >&6
21506 else
21510 ac_ext=cc
21511 ac_cpp='$CXXCPP $CPPFLAGS'
21512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21516 cat >conftest.$ac_ext <<_ACEOF
21517 /* confdefs.h. */
21518 _ACEOF
21519 cat confdefs.h >>conftest.$ac_ext
21520 cat >>conftest.$ac_ext <<_ACEOF
21521 /* end confdefs.h. */
21522 #include <math.h>
21523 #ifdef HAVE_IEEEFP_H
21524 #include <ieeefp.h>
21525 #endif
21528 main ()
21530 _fabsl(0);
21532 return 0;
21534 _ACEOF
21535 rm -f conftest.$ac_objext
21536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21537 (eval $ac_compile) 2>conftest.er1
21538 ac_status=$?
21539 grep -v '^ *+' conftest.er1 >conftest.err
21540 rm -f conftest.er1
21541 cat conftest.err >&5
21542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21543 (exit $ac_status); } &&
21544 { ac_try='test -z "$ac_cxx_werror_flag"
21545 || test ! -s conftest.err'
21546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21547 (eval $ac_try) 2>&5
21548 ac_status=$?
21549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21550 (exit $ac_status); }; } &&
21551 { ac_try='test -s conftest.$ac_objext'
21552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21553 (eval $ac_try) 2>&5
21554 ac_status=$?
21555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21556 (exit $ac_status); }; }; then
21557 glibcxx_cv_func__fabsl_use=yes
21558 else
21559 echo "$as_me: failed program was:" >&5
21560 sed 's/^/| /' conftest.$ac_ext >&5
21562 glibcxx_cv_func__fabsl_use=no
21564 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21565 ac_ext=c
21566 ac_cpp='$CPP $CPPFLAGS'
21567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21575 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
21576 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
21578 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
21580 for ac_func in _fabsl
21582 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21583 echo "$as_me:$LINENO: checking for $ac_func" >&5
21584 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21585 if eval "test \"\${$as_ac_var+set}\" = set"; then
21586 echo $ECHO_N "(cached) $ECHO_C" >&6
21587 else
21588 if test x$gcc_no_link = xyes; then
21589 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21590 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21591 { (exit 1); exit 1; }; }
21593 cat >conftest.$ac_ext <<_ACEOF
21594 /* confdefs.h. */
21595 _ACEOF
21596 cat confdefs.h >>conftest.$ac_ext
21597 cat >>conftest.$ac_ext <<_ACEOF
21598 /* end confdefs.h. */
21599 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21600 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21601 #define $ac_func innocuous_$ac_func
21603 /* System header to define __stub macros and hopefully few prototypes,
21604 which can conflict with char $ac_func (); below.
21605 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21606 <limits.h> exists even on freestanding compilers. */
21608 #ifdef __STDC__
21609 # include <limits.h>
21610 #else
21611 # include <assert.h>
21612 #endif
21614 #undef $ac_func
21616 /* Override any gcc2 internal prototype to avoid an error. */
21617 #ifdef __cplusplus
21618 extern "C"
21620 #endif
21621 /* We use char because int might match the return type of a gcc2
21622 builtin and then its argument prototype would still apply. */
21623 char $ac_func ();
21624 /* The GNU C library defines this for functions which it implements
21625 to always fail with ENOSYS. Some functions are actually named
21626 something starting with __ and the normal name is an alias. */
21627 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21628 choke me
21629 #else
21630 char (*f) () = $ac_func;
21631 #endif
21632 #ifdef __cplusplus
21634 #endif
21637 main ()
21639 return f != $ac_func;
21641 return 0;
21643 _ACEOF
21644 rm -f conftest.$ac_objext conftest$ac_exeext
21645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21646 (eval $ac_link) 2>conftest.er1
21647 ac_status=$?
21648 grep -v '^ *+' conftest.er1 >conftest.err
21649 rm -f conftest.er1
21650 cat conftest.err >&5
21651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21652 (exit $ac_status); } &&
21653 { ac_try='test -z "$ac_c_werror_flag"
21654 || test ! -s conftest.err'
21655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21656 (eval $ac_try) 2>&5
21657 ac_status=$?
21658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21659 (exit $ac_status); }; } &&
21660 { ac_try='test -s conftest$ac_exeext'
21661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21662 (eval $ac_try) 2>&5
21663 ac_status=$?
21664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21665 (exit $ac_status); }; }; then
21666 eval "$as_ac_var=yes"
21667 else
21668 echo "$as_me: failed program was:" >&5
21669 sed 's/^/| /' conftest.$ac_ext >&5
21671 eval "$as_ac_var=no"
21673 rm -f conftest.err conftest.$ac_objext \
21674 conftest$ac_exeext conftest.$ac_ext
21676 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21677 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21678 if test `eval echo '${'$as_ac_var'}'` = yes; then
21679 cat >>confdefs.h <<_ACEOF
21680 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21681 _ACEOF
21684 done
21694 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
21695 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
21696 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
21697 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
21698 echo $ECHO_N "(cached) $ECHO_C" >&6
21699 else
21703 ac_ext=cc
21704 ac_cpp='$CXXCPP $CPPFLAGS'
21705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21709 cat >conftest.$ac_ext <<_ACEOF
21710 /* confdefs.h. */
21711 _ACEOF
21712 cat confdefs.h >>conftest.$ac_ext
21713 cat >>conftest.$ac_ext <<_ACEOF
21714 /* end confdefs.h. */
21715 #include <math.h>
21717 main ()
21719 fmodl(0, 0);
21721 return 0;
21723 _ACEOF
21724 rm -f conftest.$ac_objext
21725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21726 (eval $ac_compile) 2>conftest.er1
21727 ac_status=$?
21728 grep -v '^ *+' conftest.er1 >conftest.err
21729 rm -f conftest.er1
21730 cat conftest.err >&5
21731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21732 (exit $ac_status); } &&
21733 { ac_try='test -z "$ac_cxx_werror_flag"
21734 || test ! -s conftest.err'
21735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21736 (eval $ac_try) 2>&5
21737 ac_status=$?
21738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21739 (exit $ac_status); }; } &&
21740 { ac_try='test -s conftest.$ac_objext'
21741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21742 (eval $ac_try) 2>&5
21743 ac_status=$?
21744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21745 (exit $ac_status); }; }; then
21746 glibcxx_cv_func_fmodl_use=yes
21747 else
21748 echo "$as_me: failed program was:" >&5
21749 sed 's/^/| /' conftest.$ac_ext >&5
21751 glibcxx_cv_func_fmodl_use=no
21753 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21754 ac_ext=c
21755 ac_cpp='$CPP $CPPFLAGS'
21756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21764 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
21765 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
21767 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
21769 for ac_func in fmodl
21771 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21772 echo "$as_me:$LINENO: checking for $ac_func" >&5
21773 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21774 if eval "test \"\${$as_ac_var+set}\" = set"; then
21775 echo $ECHO_N "(cached) $ECHO_C" >&6
21776 else
21777 if test x$gcc_no_link = xyes; then
21778 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21779 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21780 { (exit 1); exit 1; }; }
21782 cat >conftest.$ac_ext <<_ACEOF
21783 /* confdefs.h. */
21784 _ACEOF
21785 cat confdefs.h >>conftest.$ac_ext
21786 cat >>conftest.$ac_ext <<_ACEOF
21787 /* end confdefs.h. */
21788 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21789 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21790 #define $ac_func innocuous_$ac_func
21792 /* System header to define __stub macros and hopefully few prototypes,
21793 which can conflict with char $ac_func (); below.
21794 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21795 <limits.h> exists even on freestanding compilers. */
21797 #ifdef __STDC__
21798 # include <limits.h>
21799 #else
21800 # include <assert.h>
21801 #endif
21803 #undef $ac_func
21805 /* Override any gcc2 internal prototype to avoid an error. */
21806 #ifdef __cplusplus
21807 extern "C"
21809 #endif
21810 /* We use char because int might match the return type of a gcc2
21811 builtin and then its argument prototype would still apply. */
21812 char $ac_func ();
21813 /* The GNU C library defines this for functions which it implements
21814 to always fail with ENOSYS. Some functions are actually named
21815 something starting with __ and the normal name is an alias. */
21816 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21817 choke me
21818 #else
21819 char (*f) () = $ac_func;
21820 #endif
21821 #ifdef __cplusplus
21823 #endif
21826 main ()
21828 return f != $ac_func;
21830 return 0;
21832 _ACEOF
21833 rm -f conftest.$ac_objext conftest$ac_exeext
21834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21835 (eval $ac_link) 2>conftest.er1
21836 ac_status=$?
21837 grep -v '^ *+' conftest.er1 >conftest.err
21838 rm -f conftest.er1
21839 cat conftest.err >&5
21840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21841 (exit $ac_status); } &&
21842 { ac_try='test -z "$ac_c_werror_flag"
21843 || test ! -s conftest.err'
21844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21845 (eval $ac_try) 2>&5
21846 ac_status=$?
21847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21848 (exit $ac_status); }; } &&
21849 { ac_try='test -s conftest$ac_exeext'
21850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21851 (eval $ac_try) 2>&5
21852 ac_status=$?
21853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21854 (exit $ac_status); }; }; then
21855 eval "$as_ac_var=yes"
21856 else
21857 echo "$as_me: failed program was:" >&5
21858 sed 's/^/| /' conftest.$ac_ext >&5
21860 eval "$as_ac_var=no"
21862 rm -f conftest.err conftest.$ac_objext \
21863 conftest$ac_exeext conftest.$ac_ext
21865 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21866 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21867 if test `eval echo '${'$as_ac_var'}'` = yes; then
21868 cat >>confdefs.h <<_ACEOF
21869 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21870 _ACEOF
21873 done
21875 else
21877 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
21878 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
21879 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
21880 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
21881 echo $ECHO_N "(cached) $ECHO_C" >&6
21882 else
21886 ac_ext=cc
21887 ac_cpp='$CXXCPP $CPPFLAGS'
21888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21892 cat >conftest.$ac_ext <<_ACEOF
21893 /* confdefs.h. */
21894 _ACEOF
21895 cat confdefs.h >>conftest.$ac_ext
21896 cat >>conftest.$ac_ext <<_ACEOF
21897 /* end confdefs.h. */
21898 #include <math.h>
21900 main ()
21902 _fmodl(0, 0);
21904 return 0;
21906 _ACEOF
21907 rm -f conftest.$ac_objext
21908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21909 (eval $ac_compile) 2>conftest.er1
21910 ac_status=$?
21911 grep -v '^ *+' conftest.er1 >conftest.err
21912 rm -f conftest.er1
21913 cat conftest.err >&5
21914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21915 (exit $ac_status); } &&
21916 { ac_try='test -z "$ac_cxx_werror_flag"
21917 || test ! -s conftest.err'
21918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21919 (eval $ac_try) 2>&5
21920 ac_status=$?
21921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21922 (exit $ac_status); }; } &&
21923 { ac_try='test -s conftest.$ac_objext'
21924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21925 (eval $ac_try) 2>&5
21926 ac_status=$?
21927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21928 (exit $ac_status); }; }; then
21929 glibcxx_cv_func__fmodl_use=yes
21930 else
21931 echo "$as_me: failed program was:" >&5
21932 sed 's/^/| /' conftest.$ac_ext >&5
21934 glibcxx_cv_func__fmodl_use=no
21936 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21937 ac_ext=c
21938 ac_cpp='$CPP $CPPFLAGS'
21939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21947 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
21948 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
21950 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
21952 for ac_func in _fmodl
21954 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21955 echo "$as_me:$LINENO: checking for $ac_func" >&5
21956 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21957 if eval "test \"\${$as_ac_var+set}\" = set"; then
21958 echo $ECHO_N "(cached) $ECHO_C" >&6
21959 else
21960 if test x$gcc_no_link = xyes; then
21961 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21962 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21963 { (exit 1); exit 1; }; }
21965 cat >conftest.$ac_ext <<_ACEOF
21966 /* confdefs.h. */
21967 _ACEOF
21968 cat confdefs.h >>conftest.$ac_ext
21969 cat >>conftest.$ac_ext <<_ACEOF
21970 /* end confdefs.h. */
21971 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21972 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21973 #define $ac_func innocuous_$ac_func
21975 /* System header to define __stub macros and hopefully few prototypes,
21976 which can conflict with char $ac_func (); below.
21977 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21978 <limits.h> exists even on freestanding compilers. */
21980 #ifdef __STDC__
21981 # include <limits.h>
21982 #else
21983 # include <assert.h>
21984 #endif
21986 #undef $ac_func
21988 /* Override any gcc2 internal prototype to avoid an error. */
21989 #ifdef __cplusplus
21990 extern "C"
21992 #endif
21993 /* We use char because int might match the return type of a gcc2
21994 builtin and then its argument prototype would still apply. */
21995 char $ac_func ();
21996 /* The GNU C library defines this for functions which it implements
21997 to always fail with ENOSYS. Some functions are actually named
21998 something starting with __ and the normal name is an alias. */
21999 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22000 choke me
22001 #else
22002 char (*f) () = $ac_func;
22003 #endif
22004 #ifdef __cplusplus
22006 #endif
22009 main ()
22011 return f != $ac_func;
22013 return 0;
22015 _ACEOF
22016 rm -f conftest.$ac_objext conftest$ac_exeext
22017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22018 (eval $ac_link) 2>conftest.er1
22019 ac_status=$?
22020 grep -v '^ *+' conftest.er1 >conftest.err
22021 rm -f conftest.er1
22022 cat conftest.err >&5
22023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22024 (exit $ac_status); } &&
22025 { ac_try='test -z "$ac_c_werror_flag"
22026 || test ! -s conftest.err'
22027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22028 (eval $ac_try) 2>&5
22029 ac_status=$?
22030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22031 (exit $ac_status); }; } &&
22032 { ac_try='test -s conftest$ac_exeext'
22033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22034 (eval $ac_try) 2>&5
22035 ac_status=$?
22036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22037 (exit $ac_status); }; }; then
22038 eval "$as_ac_var=yes"
22039 else
22040 echo "$as_me: failed program was:" >&5
22041 sed 's/^/| /' conftest.$ac_ext >&5
22043 eval "$as_ac_var=no"
22045 rm -f conftest.err conftest.$ac_objext \
22046 conftest$ac_exeext conftest.$ac_ext
22048 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22049 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22050 if test `eval echo '${'$as_ac_var'}'` = yes; then
22051 cat >>confdefs.h <<_ACEOF
22052 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22053 _ACEOF
22056 done
22066 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
22067 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
22068 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
22069 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
22070 echo $ECHO_N "(cached) $ECHO_C" >&6
22071 else
22075 ac_ext=cc
22076 ac_cpp='$CXXCPP $CPPFLAGS'
22077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22081 cat >conftest.$ac_ext <<_ACEOF
22082 /* confdefs.h. */
22083 _ACEOF
22084 cat confdefs.h >>conftest.$ac_ext
22085 cat >>conftest.$ac_ext <<_ACEOF
22086 /* end confdefs.h. */
22087 #include <math.h>
22089 main ()
22091 frexpl(0, 0);
22093 return 0;
22095 _ACEOF
22096 rm -f conftest.$ac_objext
22097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22098 (eval $ac_compile) 2>conftest.er1
22099 ac_status=$?
22100 grep -v '^ *+' conftest.er1 >conftest.err
22101 rm -f conftest.er1
22102 cat conftest.err >&5
22103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22104 (exit $ac_status); } &&
22105 { ac_try='test -z "$ac_cxx_werror_flag"
22106 || test ! -s conftest.err'
22107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22108 (eval $ac_try) 2>&5
22109 ac_status=$?
22110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22111 (exit $ac_status); }; } &&
22112 { ac_try='test -s conftest.$ac_objext'
22113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22114 (eval $ac_try) 2>&5
22115 ac_status=$?
22116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22117 (exit $ac_status); }; }; then
22118 glibcxx_cv_func_frexpl_use=yes
22119 else
22120 echo "$as_me: failed program was:" >&5
22121 sed 's/^/| /' conftest.$ac_ext >&5
22123 glibcxx_cv_func_frexpl_use=no
22125 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22126 ac_ext=c
22127 ac_cpp='$CPP $CPPFLAGS'
22128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22136 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
22137 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
22139 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
22141 for ac_func in frexpl
22143 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22144 echo "$as_me:$LINENO: checking for $ac_func" >&5
22145 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22146 if eval "test \"\${$as_ac_var+set}\" = set"; then
22147 echo $ECHO_N "(cached) $ECHO_C" >&6
22148 else
22149 if test x$gcc_no_link = xyes; then
22150 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22151 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22152 { (exit 1); exit 1; }; }
22154 cat >conftest.$ac_ext <<_ACEOF
22155 /* confdefs.h. */
22156 _ACEOF
22157 cat confdefs.h >>conftest.$ac_ext
22158 cat >>conftest.$ac_ext <<_ACEOF
22159 /* end confdefs.h. */
22160 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22161 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22162 #define $ac_func innocuous_$ac_func
22164 /* System header to define __stub macros and hopefully few prototypes,
22165 which can conflict with char $ac_func (); below.
22166 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22167 <limits.h> exists even on freestanding compilers. */
22169 #ifdef __STDC__
22170 # include <limits.h>
22171 #else
22172 # include <assert.h>
22173 #endif
22175 #undef $ac_func
22177 /* Override any gcc2 internal prototype to avoid an error. */
22178 #ifdef __cplusplus
22179 extern "C"
22181 #endif
22182 /* We use char because int might match the return type of a gcc2
22183 builtin and then its argument prototype would still apply. */
22184 char $ac_func ();
22185 /* The GNU C library defines this for functions which it implements
22186 to always fail with ENOSYS. Some functions are actually named
22187 something starting with __ and the normal name is an alias. */
22188 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22189 choke me
22190 #else
22191 char (*f) () = $ac_func;
22192 #endif
22193 #ifdef __cplusplus
22195 #endif
22198 main ()
22200 return f != $ac_func;
22202 return 0;
22204 _ACEOF
22205 rm -f conftest.$ac_objext conftest$ac_exeext
22206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22207 (eval $ac_link) 2>conftest.er1
22208 ac_status=$?
22209 grep -v '^ *+' conftest.er1 >conftest.err
22210 rm -f conftest.er1
22211 cat conftest.err >&5
22212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22213 (exit $ac_status); } &&
22214 { ac_try='test -z "$ac_c_werror_flag"
22215 || test ! -s conftest.err'
22216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22217 (eval $ac_try) 2>&5
22218 ac_status=$?
22219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22220 (exit $ac_status); }; } &&
22221 { ac_try='test -s conftest$ac_exeext'
22222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22223 (eval $ac_try) 2>&5
22224 ac_status=$?
22225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22226 (exit $ac_status); }; }; then
22227 eval "$as_ac_var=yes"
22228 else
22229 echo "$as_me: failed program was:" >&5
22230 sed 's/^/| /' conftest.$ac_ext >&5
22232 eval "$as_ac_var=no"
22234 rm -f conftest.err conftest.$ac_objext \
22235 conftest$ac_exeext conftest.$ac_ext
22237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22238 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22239 if test `eval echo '${'$as_ac_var'}'` = yes; then
22240 cat >>confdefs.h <<_ACEOF
22241 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22242 _ACEOF
22245 done
22247 else
22249 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
22250 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
22251 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
22252 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
22253 echo $ECHO_N "(cached) $ECHO_C" >&6
22254 else
22258 ac_ext=cc
22259 ac_cpp='$CXXCPP $CPPFLAGS'
22260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22264 cat >conftest.$ac_ext <<_ACEOF
22265 /* confdefs.h. */
22266 _ACEOF
22267 cat confdefs.h >>conftest.$ac_ext
22268 cat >>conftest.$ac_ext <<_ACEOF
22269 /* end confdefs.h. */
22270 #include <math.h>
22272 main ()
22274 _frexpl(0, 0);
22276 return 0;
22278 _ACEOF
22279 rm -f conftest.$ac_objext
22280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22281 (eval $ac_compile) 2>conftest.er1
22282 ac_status=$?
22283 grep -v '^ *+' conftest.er1 >conftest.err
22284 rm -f conftest.er1
22285 cat conftest.err >&5
22286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22287 (exit $ac_status); } &&
22288 { ac_try='test -z "$ac_cxx_werror_flag"
22289 || test ! -s conftest.err'
22290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22291 (eval $ac_try) 2>&5
22292 ac_status=$?
22293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22294 (exit $ac_status); }; } &&
22295 { ac_try='test -s conftest.$ac_objext'
22296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22297 (eval $ac_try) 2>&5
22298 ac_status=$?
22299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22300 (exit $ac_status); }; }; then
22301 glibcxx_cv_func__frexpl_use=yes
22302 else
22303 echo "$as_me: failed program was:" >&5
22304 sed 's/^/| /' conftest.$ac_ext >&5
22306 glibcxx_cv_func__frexpl_use=no
22308 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22309 ac_ext=c
22310 ac_cpp='$CPP $CPPFLAGS'
22311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22319 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
22320 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
22322 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
22324 for ac_func in _frexpl
22326 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22327 echo "$as_me:$LINENO: checking for $ac_func" >&5
22328 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22329 if eval "test \"\${$as_ac_var+set}\" = set"; then
22330 echo $ECHO_N "(cached) $ECHO_C" >&6
22331 else
22332 if test x$gcc_no_link = xyes; then
22333 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22334 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22335 { (exit 1); exit 1; }; }
22337 cat >conftest.$ac_ext <<_ACEOF
22338 /* confdefs.h. */
22339 _ACEOF
22340 cat confdefs.h >>conftest.$ac_ext
22341 cat >>conftest.$ac_ext <<_ACEOF
22342 /* end confdefs.h. */
22343 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22344 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22345 #define $ac_func innocuous_$ac_func
22347 /* System header to define __stub macros and hopefully few prototypes,
22348 which can conflict with char $ac_func (); below.
22349 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22350 <limits.h> exists even on freestanding compilers. */
22352 #ifdef __STDC__
22353 # include <limits.h>
22354 #else
22355 # include <assert.h>
22356 #endif
22358 #undef $ac_func
22360 /* Override any gcc2 internal prototype to avoid an error. */
22361 #ifdef __cplusplus
22362 extern "C"
22364 #endif
22365 /* We use char because int might match the return type of a gcc2
22366 builtin and then its argument prototype would still apply. */
22367 char $ac_func ();
22368 /* The GNU C library defines this for functions which it implements
22369 to always fail with ENOSYS. Some functions are actually named
22370 something starting with __ and the normal name is an alias. */
22371 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22372 choke me
22373 #else
22374 char (*f) () = $ac_func;
22375 #endif
22376 #ifdef __cplusplus
22378 #endif
22381 main ()
22383 return f != $ac_func;
22385 return 0;
22387 _ACEOF
22388 rm -f conftest.$ac_objext conftest$ac_exeext
22389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22390 (eval $ac_link) 2>conftest.er1
22391 ac_status=$?
22392 grep -v '^ *+' conftest.er1 >conftest.err
22393 rm -f conftest.er1
22394 cat conftest.err >&5
22395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22396 (exit $ac_status); } &&
22397 { ac_try='test -z "$ac_c_werror_flag"
22398 || test ! -s conftest.err'
22399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22400 (eval $ac_try) 2>&5
22401 ac_status=$?
22402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22403 (exit $ac_status); }; } &&
22404 { ac_try='test -s conftest$ac_exeext'
22405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22406 (eval $ac_try) 2>&5
22407 ac_status=$?
22408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22409 (exit $ac_status); }; }; then
22410 eval "$as_ac_var=yes"
22411 else
22412 echo "$as_me: failed program was:" >&5
22413 sed 's/^/| /' conftest.$ac_ext >&5
22415 eval "$as_ac_var=no"
22417 rm -f conftest.err conftest.$ac_objext \
22418 conftest$ac_exeext conftest.$ac_ext
22420 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22421 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22422 if test `eval echo '${'$as_ac_var'}'` = yes; then
22423 cat >>confdefs.h <<_ACEOF
22424 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22425 _ACEOF
22428 done
22438 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
22439 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
22440 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
22441 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
22442 echo $ECHO_N "(cached) $ECHO_C" >&6
22443 else
22447 ac_ext=cc
22448 ac_cpp='$CXXCPP $CPPFLAGS'
22449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22453 cat >conftest.$ac_ext <<_ACEOF
22454 /* confdefs.h. */
22455 _ACEOF
22456 cat confdefs.h >>conftest.$ac_ext
22457 cat >>conftest.$ac_ext <<_ACEOF
22458 /* end confdefs.h. */
22459 #include <math.h>
22461 main ()
22463 hypotl(0, 0);
22465 return 0;
22467 _ACEOF
22468 rm -f conftest.$ac_objext
22469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22470 (eval $ac_compile) 2>conftest.er1
22471 ac_status=$?
22472 grep -v '^ *+' conftest.er1 >conftest.err
22473 rm -f conftest.er1
22474 cat conftest.err >&5
22475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22476 (exit $ac_status); } &&
22477 { ac_try='test -z "$ac_cxx_werror_flag"
22478 || test ! -s conftest.err'
22479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22480 (eval $ac_try) 2>&5
22481 ac_status=$?
22482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22483 (exit $ac_status); }; } &&
22484 { ac_try='test -s conftest.$ac_objext'
22485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22486 (eval $ac_try) 2>&5
22487 ac_status=$?
22488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22489 (exit $ac_status); }; }; then
22490 glibcxx_cv_func_hypotl_use=yes
22491 else
22492 echo "$as_me: failed program was:" >&5
22493 sed 's/^/| /' conftest.$ac_ext >&5
22495 glibcxx_cv_func_hypotl_use=no
22497 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22498 ac_ext=c
22499 ac_cpp='$CPP $CPPFLAGS'
22500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22508 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
22509 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
22511 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
22513 for ac_func in hypotl
22515 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22516 echo "$as_me:$LINENO: checking for $ac_func" >&5
22517 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22518 if eval "test \"\${$as_ac_var+set}\" = set"; then
22519 echo $ECHO_N "(cached) $ECHO_C" >&6
22520 else
22521 if test x$gcc_no_link = xyes; then
22522 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22523 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22524 { (exit 1); exit 1; }; }
22526 cat >conftest.$ac_ext <<_ACEOF
22527 /* confdefs.h. */
22528 _ACEOF
22529 cat confdefs.h >>conftest.$ac_ext
22530 cat >>conftest.$ac_ext <<_ACEOF
22531 /* end confdefs.h. */
22532 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22533 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22534 #define $ac_func innocuous_$ac_func
22536 /* System header to define __stub macros and hopefully few prototypes,
22537 which can conflict with char $ac_func (); below.
22538 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22539 <limits.h> exists even on freestanding compilers. */
22541 #ifdef __STDC__
22542 # include <limits.h>
22543 #else
22544 # include <assert.h>
22545 #endif
22547 #undef $ac_func
22549 /* Override any gcc2 internal prototype to avoid an error. */
22550 #ifdef __cplusplus
22551 extern "C"
22553 #endif
22554 /* We use char because int might match the return type of a gcc2
22555 builtin and then its argument prototype would still apply. */
22556 char $ac_func ();
22557 /* The GNU C library defines this for functions which it implements
22558 to always fail with ENOSYS. Some functions are actually named
22559 something starting with __ and the normal name is an alias. */
22560 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22561 choke me
22562 #else
22563 char (*f) () = $ac_func;
22564 #endif
22565 #ifdef __cplusplus
22567 #endif
22570 main ()
22572 return f != $ac_func;
22574 return 0;
22576 _ACEOF
22577 rm -f conftest.$ac_objext conftest$ac_exeext
22578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22579 (eval $ac_link) 2>conftest.er1
22580 ac_status=$?
22581 grep -v '^ *+' conftest.er1 >conftest.err
22582 rm -f conftest.er1
22583 cat conftest.err >&5
22584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22585 (exit $ac_status); } &&
22586 { ac_try='test -z "$ac_c_werror_flag"
22587 || test ! -s conftest.err'
22588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22589 (eval $ac_try) 2>&5
22590 ac_status=$?
22591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22592 (exit $ac_status); }; } &&
22593 { ac_try='test -s conftest$ac_exeext'
22594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22595 (eval $ac_try) 2>&5
22596 ac_status=$?
22597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22598 (exit $ac_status); }; }; then
22599 eval "$as_ac_var=yes"
22600 else
22601 echo "$as_me: failed program was:" >&5
22602 sed 's/^/| /' conftest.$ac_ext >&5
22604 eval "$as_ac_var=no"
22606 rm -f conftest.err conftest.$ac_objext \
22607 conftest$ac_exeext conftest.$ac_ext
22609 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22610 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22611 if test `eval echo '${'$as_ac_var'}'` = yes; then
22612 cat >>confdefs.h <<_ACEOF
22613 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22614 _ACEOF
22617 done
22619 else
22621 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
22622 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
22623 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
22624 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
22625 echo $ECHO_N "(cached) $ECHO_C" >&6
22626 else
22630 ac_ext=cc
22631 ac_cpp='$CXXCPP $CPPFLAGS'
22632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22636 cat >conftest.$ac_ext <<_ACEOF
22637 /* confdefs.h. */
22638 _ACEOF
22639 cat confdefs.h >>conftest.$ac_ext
22640 cat >>conftest.$ac_ext <<_ACEOF
22641 /* end confdefs.h. */
22642 #include <math.h>
22644 main ()
22646 _hypotl(0, 0);
22648 return 0;
22650 _ACEOF
22651 rm -f conftest.$ac_objext
22652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22653 (eval $ac_compile) 2>conftest.er1
22654 ac_status=$?
22655 grep -v '^ *+' conftest.er1 >conftest.err
22656 rm -f conftest.er1
22657 cat conftest.err >&5
22658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22659 (exit $ac_status); } &&
22660 { ac_try='test -z "$ac_cxx_werror_flag"
22661 || test ! -s conftest.err'
22662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22663 (eval $ac_try) 2>&5
22664 ac_status=$?
22665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22666 (exit $ac_status); }; } &&
22667 { ac_try='test -s conftest.$ac_objext'
22668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22669 (eval $ac_try) 2>&5
22670 ac_status=$?
22671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22672 (exit $ac_status); }; }; then
22673 glibcxx_cv_func__hypotl_use=yes
22674 else
22675 echo "$as_me: failed program was:" >&5
22676 sed 's/^/| /' conftest.$ac_ext >&5
22678 glibcxx_cv_func__hypotl_use=no
22680 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22681 ac_ext=c
22682 ac_cpp='$CPP $CPPFLAGS'
22683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22691 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
22692 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
22694 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
22696 for ac_func in _hypotl
22698 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22699 echo "$as_me:$LINENO: checking for $ac_func" >&5
22700 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22701 if eval "test \"\${$as_ac_var+set}\" = set"; then
22702 echo $ECHO_N "(cached) $ECHO_C" >&6
22703 else
22704 if test x$gcc_no_link = xyes; then
22705 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22706 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22707 { (exit 1); exit 1; }; }
22709 cat >conftest.$ac_ext <<_ACEOF
22710 /* confdefs.h. */
22711 _ACEOF
22712 cat confdefs.h >>conftest.$ac_ext
22713 cat >>conftest.$ac_ext <<_ACEOF
22714 /* end confdefs.h. */
22715 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22716 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22717 #define $ac_func innocuous_$ac_func
22719 /* System header to define __stub macros and hopefully few prototypes,
22720 which can conflict with char $ac_func (); below.
22721 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22722 <limits.h> exists even on freestanding compilers. */
22724 #ifdef __STDC__
22725 # include <limits.h>
22726 #else
22727 # include <assert.h>
22728 #endif
22730 #undef $ac_func
22732 /* Override any gcc2 internal prototype to avoid an error. */
22733 #ifdef __cplusplus
22734 extern "C"
22736 #endif
22737 /* We use char because int might match the return type of a gcc2
22738 builtin and then its argument prototype would still apply. */
22739 char $ac_func ();
22740 /* The GNU C library defines this for functions which it implements
22741 to always fail with ENOSYS. Some functions are actually named
22742 something starting with __ and the normal name is an alias. */
22743 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22744 choke me
22745 #else
22746 char (*f) () = $ac_func;
22747 #endif
22748 #ifdef __cplusplus
22750 #endif
22753 main ()
22755 return f != $ac_func;
22757 return 0;
22759 _ACEOF
22760 rm -f conftest.$ac_objext conftest$ac_exeext
22761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22762 (eval $ac_link) 2>conftest.er1
22763 ac_status=$?
22764 grep -v '^ *+' conftest.er1 >conftest.err
22765 rm -f conftest.er1
22766 cat conftest.err >&5
22767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22768 (exit $ac_status); } &&
22769 { ac_try='test -z "$ac_c_werror_flag"
22770 || test ! -s conftest.err'
22771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22772 (eval $ac_try) 2>&5
22773 ac_status=$?
22774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22775 (exit $ac_status); }; } &&
22776 { ac_try='test -s conftest$ac_exeext'
22777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22778 (eval $ac_try) 2>&5
22779 ac_status=$?
22780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22781 (exit $ac_status); }; }; then
22782 eval "$as_ac_var=yes"
22783 else
22784 echo "$as_me: failed program was:" >&5
22785 sed 's/^/| /' conftest.$ac_ext >&5
22787 eval "$as_ac_var=no"
22789 rm -f conftest.err conftest.$ac_objext \
22790 conftest$ac_exeext conftest.$ac_ext
22792 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22793 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22794 if test `eval echo '${'$as_ac_var'}'` = yes; then
22795 cat >>confdefs.h <<_ACEOF
22796 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22797 _ACEOF
22800 done
22810 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
22811 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
22812 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
22813 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
22814 echo $ECHO_N "(cached) $ECHO_C" >&6
22815 else
22819 ac_ext=cc
22820 ac_cpp='$CXXCPP $CPPFLAGS'
22821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22825 cat >conftest.$ac_ext <<_ACEOF
22826 /* confdefs.h. */
22827 _ACEOF
22828 cat confdefs.h >>conftest.$ac_ext
22829 cat >>conftest.$ac_ext <<_ACEOF
22830 /* end confdefs.h. */
22831 #include <math.h>
22833 main ()
22835 ldexpl(0, 0);
22837 return 0;
22839 _ACEOF
22840 rm -f conftest.$ac_objext
22841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22842 (eval $ac_compile) 2>conftest.er1
22843 ac_status=$?
22844 grep -v '^ *+' conftest.er1 >conftest.err
22845 rm -f conftest.er1
22846 cat conftest.err >&5
22847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22848 (exit $ac_status); } &&
22849 { ac_try='test -z "$ac_cxx_werror_flag"
22850 || test ! -s conftest.err'
22851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22852 (eval $ac_try) 2>&5
22853 ac_status=$?
22854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22855 (exit $ac_status); }; } &&
22856 { ac_try='test -s conftest.$ac_objext'
22857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22858 (eval $ac_try) 2>&5
22859 ac_status=$?
22860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22861 (exit $ac_status); }; }; then
22862 glibcxx_cv_func_ldexpl_use=yes
22863 else
22864 echo "$as_me: failed program was:" >&5
22865 sed 's/^/| /' conftest.$ac_ext >&5
22867 glibcxx_cv_func_ldexpl_use=no
22869 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22870 ac_ext=c
22871 ac_cpp='$CPP $CPPFLAGS'
22872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22880 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
22881 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
22883 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
22885 for ac_func in ldexpl
22887 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22888 echo "$as_me:$LINENO: checking for $ac_func" >&5
22889 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22890 if eval "test \"\${$as_ac_var+set}\" = set"; then
22891 echo $ECHO_N "(cached) $ECHO_C" >&6
22892 else
22893 if test x$gcc_no_link = xyes; then
22894 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22895 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22896 { (exit 1); exit 1; }; }
22898 cat >conftest.$ac_ext <<_ACEOF
22899 /* confdefs.h. */
22900 _ACEOF
22901 cat confdefs.h >>conftest.$ac_ext
22902 cat >>conftest.$ac_ext <<_ACEOF
22903 /* end confdefs.h. */
22904 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22905 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22906 #define $ac_func innocuous_$ac_func
22908 /* System header to define __stub macros and hopefully few prototypes,
22909 which can conflict with char $ac_func (); below.
22910 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22911 <limits.h> exists even on freestanding compilers. */
22913 #ifdef __STDC__
22914 # include <limits.h>
22915 #else
22916 # include <assert.h>
22917 #endif
22919 #undef $ac_func
22921 /* Override any gcc2 internal prototype to avoid an error. */
22922 #ifdef __cplusplus
22923 extern "C"
22925 #endif
22926 /* We use char because int might match the return type of a gcc2
22927 builtin and then its argument prototype would still apply. */
22928 char $ac_func ();
22929 /* The GNU C library defines this for functions which it implements
22930 to always fail with ENOSYS. Some functions are actually named
22931 something starting with __ and the normal name is an alias. */
22932 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22933 choke me
22934 #else
22935 char (*f) () = $ac_func;
22936 #endif
22937 #ifdef __cplusplus
22939 #endif
22942 main ()
22944 return f != $ac_func;
22946 return 0;
22948 _ACEOF
22949 rm -f conftest.$ac_objext conftest$ac_exeext
22950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22951 (eval $ac_link) 2>conftest.er1
22952 ac_status=$?
22953 grep -v '^ *+' conftest.er1 >conftest.err
22954 rm -f conftest.er1
22955 cat conftest.err >&5
22956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22957 (exit $ac_status); } &&
22958 { ac_try='test -z "$ac_c_werror_flag"
22959 || test ! -s conftest.err'
22960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22961 (eval $ac_try) 2>&5
22962 ac_status=$?
22963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22964 (exit $ac_status); }; } &&
22965 { ac_try='test -s conftest$ac_exeext'
22966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22967 (eval $ac_try) 2>&5
22968 ac_status=$?
22969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22970 (exit $ac_status); }; }; then
22971 eval "$as_ac_var=yes"
22972 else
22973 echo "$as_me: failed program was:" >&5
22974 sed 's/^/| /' conftest.$ac_ext >&5
22976 eval "$as_ac_var=no"
22978 rm -f conftest.err conftest.$ac_objext \
22979 conftest$ac_exeext conftest.$ac_ext
22981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22982 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22983 if test `eval echo '${'$as_ac_var'}'` = yes; then
22984 cat >>confdefs.h <<_ACEOF
22985 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22986 _ACEOF
22989 done
22991 else
22993 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
22994 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
22995 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
22996 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
22997 echo $ECHO_N "(cached) $ECHO_C" >&6
22998 else
23002 ac_ext=cc
23003 ac_cpp='$CXXCPP $CPPFLAGS'
23004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23008 cat >conftest.$ac_ext <<_ACEOF
23009 /* confdefs.h. */
23010 _ACEOF
23011 cat confdefs.h >>conftest.$ac_ext
23012 cat >>conftest.$ac_ext <<_ACEOF
23013 /* end confdefs.h. */
23014 #include <math.h>
23016 main ()
23018 _ldexpl(0, 0);
23020 return 0;
23022 _ACEOF
23023 rm -f conftest.$ac_objext
23024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23025 (eval $ac_compile) 2>conftest.er1
23026 ac_status=$?
23027 grep -v '^ *+' conftest.er1 >conftest.err
23028 rm -f conftest.er1
23029 cat conftest.err >&5
23030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23031 (exit $ac_status); } &&
23032 { ac_try='test -z "$ac_cxx_werror_flag"
23033 || test ! -s conftest.err'
23034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23035 (eval $ac_try) 2>&5
23036 ac_status=$?
23037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23038 (exit $ac_status); }; } &&
23039 { ac_try='test -s conftest.$ac_objext'
23040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23041 (eval $ac_try) 2>&5
23042 ac_status=$?
23043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23044 (exit $ac_status); }; }; then
23045 glibcxx_cv_func__ldexpl_use=yes
23046 else
23047 echo "$as_me: failed program was:" >&5
23048 sed 's/^/| /' conftest.$ac_ext >&5
23050 glibcxx_cv_func__ldexpl_use=no
23052 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23053 ac_ext=c
23054 ac_cpp='$CPP $CPPFLAGS'
23055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23063 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
23064 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
23066 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
23068 for ac_func in _ldexpl
23070 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23071 echo "$as_me:$LINENO: checking for $ac_func" >&5
23072 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23073 if eval "test \"\${$as_ac_var+set}\" = set"; then
23074 echo $ECHO_N "(cached) $ECHO_C" >&6
23075 else
23076 if test x$gcc_no_link = xyes; then
23077 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23078 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23079 { (exit 1); exit 1; }; }
23081 cat >conftest.$ac_ext <<_ACEOF
23082 /* confdefs.h. */
23083 _ACEOF
23084 cat confdefs.h >>conftest.$ac_ext
23085 cat >>conftest.$ac_ext <<_ACEOF
23086 /* end confdefs.h. */
23087 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23088 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23089 #define $ac_func innocuous_$ac_func
23091 /* System header to define __stub macros and hopefully few prototypes,
23092 which can conflict with char $ac_func (); below.
23093 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23094 <limits.h> exists even on freestanding compilers. */
23096 #ifdef __STDC__
23097 # include <limits.h>
23098 #else
23099 # include <assert.h>
23100 #endif
23102 #undef $ac_func
23104 /* Override any gcc2 internal prototype to avoid an error. */
23105 #ifdef __cplusplus
23106 extern "C"
23108 #endif
23109 /* We use char because int might match the return type of a gcc2
23110 builtin and then its argument prototype would still apply. */
23111 char $ac_func ();
23112 /* The GNU C library defines this for functions which it implements
23113 to always fail with ENOSYS. Some functions are actually named
23114 something starting with __ and the normal name is an alias. */
23115 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23116 choke me
23117 #else
23118 char (*f) () = $ac_func;
23119 #endif
23120 #ifdef __cplusplus
23122 #endif
23125 main ()
23127 return f != $ac_func;
23129 return 0;
23131 _ACEOF
23132 rm -f conftest.$ac_objext conftest$ac_exeext
23133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23134 (eval $ac_link) 2>conftest.er1
23135 ac_status=$?
23136 grep -v '^ *+' conftest.er1 >conftest.err
23137 rm -f conftest.er1
23138 cat conftest.err >&5
23139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23140 (exit $ac_status); } &&
23141 { ac_try='test -z "$ac_c_werror_flag"
23142 || test ! -s conftest.err'
23143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23144 (eval $ac_try) 2>&5
23145 ac_status=$?
23146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23147 (exit $ac_status); }; } &&
23148 { ac_try='test -s conftest$ac_exeext'
23149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23150 (eval $ac_try) 2>&5
23151 ac_status=$?
23152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23153 (exit $ac_status); }; }; then
23154 eval "$as_ac_var=yes"
23155 else
23156 echo "$as_me: failed program was:" >&5
23157 sed 's/^/| /' conftest.$ac_ext >&5
23159 eval "$as_ac_var=no"
23161 rm -f conftest.err conftest.$ac_objext \
23162 conftest$ac_exeext conftest.$ac_ext
23164 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23165 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23166 if test `eval echo '${'$as_ac_var'}'` = yes; then
23167 cat >>confdefs.h <<_ACEOF
23168 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23169 _ACEOF
23172 done
23182 echo "$as_me:$LINENO: checking for logl declaration" >&5
23183 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
23184 if test x${glibcxx_cv_func_logl_use+set} != xset; then
23185 if test "${glibcxx_cv_func_logl_use+set}" = set; then
23186 echo $ECHO_N "(cached) $ECHO_C" >&6
23187 else
23191 ac_ext=cc
23192 ac_cpp='$CXXCPP $CPPFLAGS'
23193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23197 cat >conftest.$ac_ext <<_ACEOF
23198 /* confdefs.h. */
23199 _ACEOF
23200 cat confdefs.h >>conftest.$ac_ext
23201 cat >>conftest.$ac_ext <<_ACEOF
23202 /* end confdefs.h. */
23203 #include <math.h>
23204 #ifdef HAVE_IEEEFP_H
23205 #include <ieeefp.h>
23206 #endif
23209 main ()
23211 logl(0);
23213 return 0;
23215 _ACEOF
23216 rm -f conftest.$ac_objext
23217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23218 (eval $ac_compile) 2>conftest.er1
23219 ac_status=$?
23220 grep -v '^ *+' conftest.er1 >conftest.err
23221 rm -f conftest.er1
23222 cat conftest.err >&5
23223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23224 (exit $ac_status); } &&
23225 { ac_try='test -z "$ac_cxx_werror_flag"
23226 || test ! -s conftest.err'
23227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23228 (eval $ac_try) 2>&5
23229 ac_status=$?
23230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23231 (exit $ac_status); }; } &&
23232 { ac_try='test -s conftest.$ac_objext'
23233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23234 (eval $ac_try) 2>&5
23235 ac_status=$?
23236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23237 (exit $ac_status); }; }; then
23238 glibcxx_cv_func_logl_use=yes
23239 else
23240 echo "$as_me: failed program was:" >&5
23241 sed 's/^/| /' conftest.$ac_ext >&5
23243 glibcxx_cv_func_logl_use=no
23245 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23246 ac_ext=c
23247 ac_cpp='$CPP $CPPFLAGS'
23248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23256 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
23257 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
23259 if test x$glibcxx_cv_func_logl_use = x"yes"; then
23261 for ac_func in logl
23263 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23264 echo "$as_me:$LINENO: checking for $ac_func" >&5
23265 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23266 if eval "test \"\${$as_ac_var+set}\" = set"; then
23267 echo $ECHO_N "(cached) $ECHO_C" >&6
23268 else
23269 if test x$gcc_no_link = xyes; then
23270 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23271 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23272 { (exit 1); exit 1; }; }
23274 cat >conftest.$ac_ext <<_ACEOF
23275 /* confdefs.h. */
23276 _ACEOF
23277 cat confdefs.h >>conftest.$ac_ext
23278 cat >>conftest.$ac_ext <<_ACEOF
23279 /* end confdefs.h. */
23280 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23281 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23282 #define $ac_func innocuous_$ac_func
23284 /* System header to define __stub macros and hopefully few prototypes,
23285 which can conflict with char $ac_func (); below.
23286 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23287 <limits.h> exists even on freestanding compilers. */
23289 #ifdef __STDC__
23290 # include <limits.h>
23291 #else
23292 # include <assert.h>
23293 #endif
23295 #undef $ac_func
23297 /* Override any gcc2 internal prototype to avoid an error. */
23298 #ifdef __cplusplus
23299 extern "C"
23301 #endif
23302 /* We use char because int might match the return type of a gcc2
23303 builtin and then its argument prototype would still apply. */
23304 char $ac_func ();
23305 /* The GNU C library defines this for functions which it implements
23306 to always fail with ENOSYS. Some functions are actually named
23307 something starting with __ and the normal name is an alias. */
23308 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23309 choke me
23310 #else
23311 char (*f) () = $ac_func;
23312 #endif
23313 #ifdef __cplusplus
23315 #endif
23318 main ()
23320 return f != $ac_func;
23322 return 0;
23324 _ACEOF
23325 rm -f conftest.$ac_objext conftest$ac_exeext
23326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23327 (eval $ac_link) 2>conftest.er1
23328 ac_status=$?
23329 grep -v '^ *+' conftest.er1 >conftest.err
23330 rm -f conftest.er1
23331 cat conftest.err >&5
23332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23333 (exit $ac_status); } &&
23334 { ac_try='test -z "$ac_c_werror_flag"
23335 || test ! -s conftest.err'
23336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23337 (eval $ac_try) 2>&5
23338 ac_status=$?
23339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23340 (exit $ac_status); }; } &&
23341 { ac_try='test -s conftest$ac_exeext'
23342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23343 (eval $ac_try) 2>&5
23344 ac_status=$?
23345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23346 (exit $ac_status); }; }; then
23347 eval "$as_ac_var=yes"
23348 else
23349 echo "$as_me: failed program was:" >&5
23350 sed 's/^/| /' conftest.$ac_ext >&5
23352 eval "$as_ac_var=no"
23354 rm -f conftest.err conftest.$ac_objext \
23355 conftest$ac_exeext conftest.$ac_ext
23357 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23358 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23359 if test `eval echo '${'$as_ac_var'}'` = yes; then
23360 cat >>confdefs.h <<_ACEOF
23361 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23362 _ACEOF
23365 done
23367 else
23369 echo "$as_me:$LINENO: checking for _logl declaration" >&5
23370 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
23371 if test x${glibcxx_cv_func__logl_use+set} != xset; then
23372 if test "${glibcxx_cv_func__logl_use+set}" = set; then
23373 echo $ECHO_N "(cached) $ECHO_C" >&6
23374 else
23378 ac_ext=cc
23379 ac_cpp='$CXXCPP $CPPFLAGS'
23380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23384 cat >conftest.$ac_ext <<_ACEOF
23385 /* confdefs.h. */
23386 _ACEOF
23387 cat confdefs.h >>conftest.$ac_ext
23388 cat >>conftest.$ac_ext <<_ACEOF
23389 /* end confdefs.h. */
23390 #include <math.h>
23391 #ifdef HAVE_IEEEFP_H
23392 #include <ieeefp.h>
23393 #endif
23396 main ()
23398 _logl(0);
23400 return 0;
23402 _ACEOF
23403 rm -f conftest.$ac_objext
23404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23405 (eval $ac_compile) 2>conftest.er1
23406 ac_status=$?
23407 grep -v '^ *+' conftest.er1 >conftest.err
23408 rm -f conftest.er1
23409 cat conftest.err >&5
23410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23411 (exit $ac_status); } &&
23412 { ac_try='test -z "$ac_cxx_werror_flag"
23413 || test ! -s conftest.err'
23414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23415 (eval $ac_try) 2>&5
23416 ac_status=$?
23417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23418 (exit $ac_status); }; } &&
23419 { ac_try='test -s conftest.$ac_objext'
23420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23421 (eval $ac_try) 2>&5
23422 ac_status=$?
23423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23424 (exit $ac_status); }; }; then
23425 glibcxx_cv_func__logl_use=yes
23426 else
23427 echo "$as_me: failed program was:" >&5
23428 sed 's/^/| /' conftest.$ac_ext >&5
23430 glibcxx_cv_func__logl_use=no
23432 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23433 ac_ext=c
23434 ac_cpp='$CPP $CPPFLAGS'
23435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23443 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
23444 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
23446 if test x$glibcxx_cv_func__logl_use = x"yes"; then
23448 for ac_func in _logl
23450 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23451 echo "$as_me:$LINENO: checking for $ac_func" >&5
23452 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23453 if eval "test \"\${$as_ac_var+set}\" = set"; then
23454 echo $ECHO_N "(cached) $ECHO_C" >&6
23455 else
23456 if test x$gcc_no_link = xyes; then
23457 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23458 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23459 { (exit 1); exit 1; }; }
23461 cat >conftest.$ac_ext <<_ACEOF
23462 /* confdefs.h. */
23463 _ACEOF
23464 cat confdefs.h >>conftest.$ac_ext
23465 cat >>conftest.$ac_ext <<_ACEOF
23466 /* end confdefs.h. */
23467 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23468 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23469 #define $ac_func innocuous_$ac_func
23471 /* System header to define __stub macros and hopefully few prototypes,
23472 which can conflict with char $ac_func (); below.
23473 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23474 <limits.h> exists even on freestanding compilers. */
23476 #ifdef __STDC__
23477 # include <limits.h>
23478 #else
23479 # include <assert.h>
23480 #endif
23482 #undef $ac_func
23484 /* Override any gcc2 internal prototype to avoid an error. */
23485 #ifdef __cplusplus
23486 extern "C"
23488 #endif
23489 /* We use char because int might match the return type of a gcc2
23490 builtin and then its argument prototype would still apply. */
23491 char $ac_func ();
23492 /* The GNU C library defines this for functions which it implements
23493 to always fail with ENOSYS. Some functions are actually named
23494 something starting with __ and the normal name is an alias. */
23495 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23496 choke me
23497 #else
23498 char (*f) () = $ac_func;
23499 #endif
23500 #ifdef __cplusplus
23502 #endif
23505 main ()
23507 return f != $ac_func;
23509 return 0;
23511 _ACEOF
23512 rm -f conftest.$ac_objext conftest$ac_exeext
23513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23514 (eval $ac_link) 2>conftest.er1
23515 ac_status=$?
23516 grep -v '^ *+' conftest.er1 >conftest.err
23517 rm -f conftest.er1
23518 cat conftest.err >&5
23519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23520 (exit $ac_status); } &&
23521 { ac_try='test -z "$ac_c_werror_flag"
23522 || test ! -s conftest.err'
23523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23524 (eval $ac_try) 2>&5
23525 ac_status=$?
23526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23527 (exit $ac_status); }; } &&
23528 { ac_try='test -s conftest$ac_exeext'
23529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23530 (eval $ac_try) 2>&5
23531 ac_status=$?
23532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23533 (exit $ac_status); }; }; then
23534 eval "$as_ac_var=yes"
23535 else
23536 echo "$as_me: failed program was:" >&5
23537 sed 's/^/| /' conftest.$ac_ext >&5
23539 eval "$as_ac_var=no"
23541 rm -f conftest.err conftest.$ac_objext \
23542 conftest$ac_exeext conftest.$ac_ext
23544 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23545 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23546 if test `eval echo '${'$as_ac_var'}'` = yes; then
23547 cat >>confdefs.h <<_ACEOF
23548 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23549 _ACEOF
23552 done
23562 echo "$as_me:$LINENO: checking for log10l declaration" >&5
23563 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
23564 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
23565 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
23566 echo $ECHO_N "(cached) $ECHO_C" >&6
23567 else
23571 ac_ext=cc
23572 ac_cpp='$CXXCPP $CPPFLAGS'
23573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23577 cat >conftest.$ac_ext <<_ACEOF
23578 /* confdefs.h. */
23579 _ACEOF
23580 cat confdefs.h >>conftest.$ac_ext
23581 cat >>conftest.$ac_ext <<_ACEOF
23582 /* end confdefs.h. */
23583 #include <math.h>
23584 #ifdef HAVE_IEEEFP_H
23585 #include <ieeefp.h>
23586 #endif
23589 main ()
23591 log10l(0);
23593 return 0;
23595 _ACEOF
23596 rm -f conftest.$ac_objext
23597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23598 (eval $ac_compile) 2>conftest.er1
23599 ac_status=$?
23600 grep -v '^ *+' conftest.er1 >conftest.err
23601 rm -f conftest.er1
23602 cat conftest.err >&5
23603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23604 (exit $ac_status); } &&
23605 { ac_try='test -z "$ac_cxx_werror_flag"
23606 || test ! -s conftest.err'
23607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23608 (eval $ac_try) 2>&5
23609 ac_status=$?
23610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23611 (exit $ac_status); }; } &&
23612 { ac_try='test -s conftest.$ac_objext'
23613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23614 (eval $ac_try) 2>&5
23615 ac_status=$?
23616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23617 (exit $ac_status); }; }; then
23618 glibcxx_cv_func_log10l_use=yes
23619 else
23620 echo "$as_me: failed program was:" >&5
23621 sed 's/^/| /' conftest.$ac_ext >&5
23623 glibcxx_cv_func_log10l_use=no
23625 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23626 ac_ext=c
23627 ac_cpp='$CPP $CPPFLAGS'
23628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23636 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
23637 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
23639 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
23641 for ac_func in log10l
23643 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23644 echo "$as_me:$LINENO: checking for $ac_func" >&5
23645 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23646 if eval "test \"\${$as_ac_var+set}\" = set"; then
23647 echo $ECHO_N "(cached) $ECHO_C" >&6
23648 else
23649 if test x$gcc_no_link = xyes; then
23650 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23651 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23652 { (exit 1); exit 1; }; }
23654 cat >conftest.$ac_ext <<_ACEOF
23655 /* confdefs.h. */
23656 _ACEOF
23657 cat confdefs.h >>conftest.$ac_ext
23658 cat >>conftest.$ac_ext <<_ACEOF
23659 /* end confdefs.h. */
23660 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23661 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23662 #define $ac_func innocuous_$ac_func
23664 /* System header to define __stub macros and hopefully few prototypes,
23665 which can conflict with char $ac_func (); below.
23666 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23667 <limits.h> exists even on freestanding compilers. */
23669 #ifdef __STDC__
23670 # include <limits.h>
23671 #else
23672 # include <assert.h>
23673 #endif
23675 #undef $ac_func
23677 /* Override any gcc2 internal prototype to avoid an error. */
23678 #ifdef __cplusplus
23679 extern "C"
23681 #endif
23682 /* We use char because int might match the return type of a gcc2
23683 builtin and then its argument prototype would still apply. */
23684 char $ac_func ();
23685 /* The GNU C library defines this for functions which it implements
23686 to always fail with ENOSYS. Some functions are actually named
23687 something starting with __ and the normal name is an alias. */
23688 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23689 choke me
23690 #else
23691 char (*f) () = $ac_func;
23692 #endif
23693 #ifdef __cplusplus
23695 #endif
23698 main ()
23700 return f != $ac_func;
23702 return 0;
23704 _ACEOF
23705 rm -f conftest.$ac_objext conftest$ac_exeext
23706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23707 (eval $ac_link) 2>conftest.er1
23708 ac_status=$?
23709 grep -v '^ *+' conftest.er1 >conftest.err
23710 rm -f conftest.er1
23711 cat conftest.err >&5
23712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23713 (exit $ac_status); } &&
23714 { ac_try='test -z "$ac_c_werror_flag"
23715 || test ! -s conftest.err'
23716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23717 (eval $ac_try) 2>&5
23718 ac_status=$?
23719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23720 (exit $ac_status); }; } &&
23721 { ac_try='test -s conftest$ac_exeext'
23722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23723 (eval $ac_try) 2>&5
23724 ac_status=$?
23725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23726 (exit $ac_status); }; }; then
23727 eval "$as_ac_var=yes"
23728 else
23729 echo "$as_me: failed program was:" >&5
23730 sed 's/^/| /' conftest.$ac_ext >&5
23732 eval "$as_ac_var=no"
23734 rm -f conftest.err conftest.$ac_objext \
23735 conftest$ac_exeext conftest.$ac_ext
23737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23738 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23739 if test `eval echo '${'$as_ac_var'}'` = yes; then
23740 cat >>confdefs.h <<_ACEOF
23741 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23742 _ACEOF
23745 done
23747 else
23749 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
23750 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
23751 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
23752 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
23753 echo $ECHO_N "(cached) $ECHO_C" >&6
23754 else
23758 ac_ext=cc
23759 ac_cpp='$CXXCPP $CPPFLAGS'
23760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23764 cat >conftest.$ac_ext <<_ACEOF
23765 /* confdefs.h. */
23766 _ACEOF
23767 cat confdefs.h >>conftest.$ac_ext
23768 cat >>conftest.$ac_ext <<_ACEOF
23769 /* end confdefs.h. */
23770 #include <math.h>
23771 #ifdef HAVE_IEEEFP_H
23772 #include <ieeefp.h>
23773 #endif
23776 main ()
23778 _log10l(0);
23780 return 0;
23782 _ACEOF
23783 rm -f conftest.$ac_objext
23784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23785 (eval $ac_compile) 2>conftest.er1
23786 ac_status=$?
23787 grep -v '^ *+' conftest.er1 >conftest.err
23788 rm -f conftest.er1
23789 cat conftest.err >&5
23790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23791 (exit $ac_status); } &&
23792 { ac_try='test -z "$ac_cxx_werror_flag"
23793 || test ! -s conftest.err'
23794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23795 (eval $ac_try) 2>&5
23796 ac_status=$?
23797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23798 (exit $ac_status); }; } &&
23799 { ac_try='test -s conftest.$ac_objext'
23800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23801 (eval $ac_try) 2>&5
23802 ac_status=$?
23803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23804 (exit $ac_status); }; }; then
23805 glibcxx_cv_func__log10l_use=yes
23806 else
23807 echo "$as_me: failed program was:" >&5
23808 sed 's/^/| /' conftest.$ac_ext >&5
23810 glibcxx_cv_func__log10l_use=no
23812 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23813 ac_ext=c
23814 ac_cpp='$CPP $CPPFLAGS'
23815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23823 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
23824 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
23826 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
23828 for ac_func in _log10l
23830 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23831 echo "$as_me:$LINENO: checking for $ac_func" >&5
23832 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23833 if eval "test \"\${$as_ac_var+set}\" = set"; then
23834 echo $ECHO_N "(cached) $ECHO_C" >&6
23835 else
23836 if test x$gcc_no_link = xyes; then
23837 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23838 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23839 { (exit 1); exit 1; }; }
23841 cat >conftest.$ac_ext <<_ACEOF
23842 /* confdefs.h. */
23843 _ACEOF
23844 cat confdefs.h >>conftest.$ac_ext
23845 cat >>conftest.$ac_ext <<_ACEOF
23846 /* end confdefs.h. */
23847 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23848 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23849 #define $ac_func innocuous_$ac_func
23851 /* System header to define __stub macros and hopefully few prototypes,
23852 which can conflict with char $ac_func (); below.
23853 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23854 <limits.h> exists even on freestanding compilers. */
23856 #ifdef __STDC__
23857 # include <limits.h>
23858 #else
23859 # include <assert.h>
23860 #endif
23862 #undef $ac_func
23864 /* Override any gcc2 internal prototype to avoid an error. */
23865 #ifdef __cplusplus
23866 extern "C"
23868 #endif
23869 /* We use char because int might match the return type of a gcc2
23870 builtin and then its argument prototype would still apply. */
23871 char $ac_func ();
23872 /* The GNU C library defines this for functions which it implements
23873 to always fail with ENOSYS. Some functions are actually named
23874 something starting with __ and the normal name is an alias. */
23875 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23876 choke me
23877 #else
23878 char (*f) () = $ac_func;
23879 #endif
23880 #ifdef __cplusplus
23882 #endif
23885 main ()
23887 return f != $ac_func;
23889 return 0;
23891 _ACEOF
23892 rm -f conftest.$ac_objext conftest$ac_exeext
23893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23894 (eval $ac_link) 2>conftest.er1
23895 ac_status=$?
23896 grep -v '^ *+' conftest.er1 >conftest.err
23897 rm -f conftest.er1
23898 cat conftest.err >&5
23899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23900 (exit $ac_status); } &&
23901 { ac_try='test -z "$ac_c_werror_flag"
23902 || test ! -s conftest.err'
23903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23904 (eval $ac_try) 2>&5
23905 ac_status=$?
23906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23907 (exit $ac_status); }; } &&
23908 { ac_try='test -s conftest$ac_exeext'
23909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23910 (eval $ac_try) 2>&5
23911 ac_status=$?
23912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23913 (exit $ac_status); }; }; then
23914 eval "$as_ac_var=yes"
23915 else
23916 echo "$as_me: failed program was:" >&5
23917 sed 's/^/| /' conftest.$ac_ext >&5
23919 eval "$as_ac_var=no"
23921 rm -f conftest.err conftest.$ac_objext \
23922 conftest$ac_exeext conftest.$ac_ext
23924 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23925 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23926 if test `eval echo '${'$as_ac_var'}'` = yes; then
23927 cat >>confdefs.h <<_ACEOF
23928 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23929 _ACEOF
23932 done
23942 echo "$as_me:$LINENO: checking for modfl declaration" >&5
23943 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
23944 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
23945 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
23946 echo $ECHO_N "(cached) $ECHO_C" >&6
23947 else
23951 ac_ext=cc
23952 ac_cpp='$CXXCPP $CPPFLAGS'
23953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23957 cat >conftest.$ac_ext <<_ACEOF
23958 /* confdefs.h. */
23959 _ACEOF
23960 cat confdefs.h >>conftest.$ac_ext
23961 cat >>conftest.$ac_ext <<_ACEOF
23962 /* end confdefs.h. */
23963 #include <math.h>
23965 main ()
23967 modfl(0, 0);
23969 return 0;
23971 _ACEOF
23972 rm -f conftest.$ac_objext
23973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23974 (eval $ac_compile) 2>conftest.er1
23975 ac_status=$?
23976 grep -v '^ *+' conftest.er1 >conftest.err
23977 rm -f conftest.er1
23978 cat conftest.err >&5
23979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23980 (exit $ac_status); } &&
23981 { ac_try='test -z "$ac_cxx_werror_flag"
23982 || test ! -s conftest.err'
23983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23984 (eval $ac_try) 2>&5
23985 ac_status=$?
23986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23987 (exit $ac_status); }; } &&
23988 { ac_try='test -s conftest.$ac_objext'
23989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23990 (eval $ac_try) 2>&5
23991 ac_status=$?
23992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23993 (exit $ac_status); }; }; then
23994 glibcxx_cv_func_modfl_use=yes
23995 else
23996 echo "$as_me: failed program was:" >&5
23997 sed 's/^/| /' conftest.$ac_ext >&5
23999 glibcxx_cv_func_modfl_use=no
24001 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24002 ac_ext=c
24003 ac_cpp='$CPP $CPPFLAGS'
24004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24012 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
24013 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
24015 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
24017 for ac_func in modfl
24019 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24020 echo "$as_me:$LINENO: checking for $ac_func" >&5
24021 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24022 if eval "test \"\${$as_ac_var+set}\" = set"; then
24023 echo $ECHO_N "(cached) $ECHO_C" >&6
24024 else
24025 if test x$gcc_no_link = xyes; then
24026 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24027 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24028 { (exit 1); exit 1; }; }
24030 cat >conftest.$ac_ext <<_ACEOF
24031 /* confdefs.h. */
24032 _ACEOF
24033 cat confdefs.h >>conftest.$ac_ext
24034 cat >>conftest.$ac_ext <<_ACEOF
24035 /* end confdefs.h. */
24036 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24037 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24038 #define $ac_func innocuous_$ac_func
24040 /* System header to define __stub macros and hopefully few prototypes,
24041 which can conflict with char $ac_func (); below.
24042 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24043 <limits.h> exists even on freestanding compilers. */
24045 #ifdef __STDC__
24046 # include <limits.h>
24047 #else
24048 # include <assert.h>
24049 #endif
24051 #undef $ac_func
24053 /* Override any gcc2 internal prototype to avoid an error. */
24054 #ifdef __cplusplus
24055 extern "C"
24057 #endif
24058 /* We use char because int might match the return type of a gcc2
24059 builtin and then its argument prototype would still apply. */
24060 char $ac_func ();
24061 /* The GNU C library defines this for functions which it implements
24062 to always fail with ENOSYS. Some functions are actually named
24063 something starting with __ and the normal name is an alias. */
24064 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24065 choke me
24066 #else
24067 char (*f) () = $ac_func;
24068 #endif
24069 #ifdef __cplusplus
24071 #endif
24074 main ()
24076 return f != $ac_func;
24078 return 0;
24080 _ACEOF
24081 rm -f conftest.$ac_objext conftest$ac_exeext
24082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24083 (eval $ac_link) 2>conftest.er1
24084 ac_status=$?
24085 grep -v '^ *+' conftest.er1 >conftest.err
24086 rm -f conftest.er1
24087 cat conftest.err >&5
24088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24089 (exit $ac_status); } &&
24090 { ac_try='test -z "$ac_c_werror_flag"
24091 || test ! -s conftest.err'
24092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24093 (eval $ac_try) 2>&5
24094 ac_status=$?
24095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24096 (exit $ac_status); }; } &&
24097 { ac_try='test -s conftest$ac_exeext'
24098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24099 (eval $ac_try) 2>&5
24100 ac_status=$?
24101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24102 (exit $ac_status); }; }; then
24103 eval "$as_ac_var=yes"
24104 else
24105 echo "$as_me: failed program was:" >&5
24106 sed 's/^/| /' conftest.$ac_ext >&5
24108 eval "$as_ac_var=no"
24110 rm -f conftest.err conftest.$ac_objext \
24111 conftest$ac_exeext conftest.$ac_ext
24113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24114 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24115 if test `eval echo '${'$as_ac_var'}'` = yes; then
24116 cat >>confdefs.h <<_ACEOF
24117 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24118 _ACEOF
24121 done
24123 else
24125 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
24126 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
24127 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
24128 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
24129 echo $ECHO_N "(cached) $ECHO_C" >&6
24130 else
24134 ac_ext=cc
24135 ac_cpp='$CXXCPP $CPPFLAGS'
24136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24140 cat >conftest.$ac_ext <<_ACEOF
24141 /* confdefs.h. */
24142 _ACEOF
24143 cat confdefs.h >>conftest.$ac_ext
24144 cat >>conftest.$ac_ext <<_ACEOF
24145 /* end confdefs.h. */
24146 #include <math.h>
24148 main ()
24150 _modfl(0, 0);
24152 return 0;
24154 _ACEOF
24155 rm -f conftest.$ac_objext
24156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24157 (eval $ac_compile) 2>conftest.er1
24158 ac_status=$?
24159 grep -v '^ *+' conftest.er1 >conftest.err
24160 rm -f conftest.er1
24161 cat conftest.err >&5
24162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24163 (exit $ac_status); } &&
24164 { ac_try='test -z "$ac_cxx_werror_flag"
24165 || test ! -s conftest.err'
24166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24167 (eval $ac_try) 2>&5
24168 ac_status=$?
24169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24170 (exit $ac_status); }; } &&
24171 { ac_try='test -s conftest.$ac_objext'
24172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24173 (eval $ac_try) 2>&5
24174 ac_status=$?
24175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24176 (exit $ac_status); }; }; then
24177 glibcxx_cv_func__modfl_use=yes
24178 else
24179 echo "$as_me: failed program was:" >&5
24180 sed 's/^/| /' conftest.$ac_ext >&5
24182 glibcxx_cv_func__modfl_use=no
24184 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24185 ac_ext=c
24186 ac_cpp='$CPP $CPPFLAGS'
24187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24195 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
24196 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
24198 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
24200 for ac_func in _modfl
24202 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24203 echo "$as_me:$LINENO: checking for $ac_func" >&5
24204 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24205 if eval "test \"\${$as_ac_var+set}\" = set"; then
24206 echo $ECHO_N "(cached) $ECHO_C" >&6
24207 else
24208 if test x$gcc_no_link = xyes; then
24209 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24210 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24211 { (exit 1); exit 1; }; }
24213 cat >conftest.$ac_ext <<_ACEOF
24214 /* confdefs.h. */
24215 _ACEOF
24216 cat confdefs.h >>conftest.$ac_ext
24217 cat >>conftest.$ac_ext <<_ACEOF
24218 /* end confdefs.h. */
24219 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24220 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24221 #define $ac_func innocuous_$ac_func
24223 /* System header to define __stub macros and hopefully few prototypes,
24224 which can conflict with char $ac_func (); below.
24225 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24226 <limits.h> exists even on freestanding compilers. */
24228 #ifdef __STDC__
24229 # include <limits.h>
24230 #else
24231 # include <assert.h>
24232 #endif
24234 #undef $ac_func
24236 /* Override any gcc2 internal prototype to avoid an error. */
24237 #ifdef __cplusplus
24238 extern "C"
24240 #endif
24241 /* We use char because int might match the return type of a gcc2
24242 builtin and then its argument prototype would still apply. */
24243 char $ac_func ();
24244 /* The GNU C library defines this for functions which it implements
24245 to always fail with ENOSYS. Some functions are actually named
24246 something starting with __ and the normal name is an alias. */
24247 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24248 choke me
24249 #else
24250 char (*f) () = $ac_func;
24251 #endif
24252 #ifdef __cplusplus
24254 #endif
24257 main ()
24259 return f != $ac_func;
24261 return 0;
24263 _ACEOF
24264 rm -f conftest.$ac_objext conftest$ac_exeext
24265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24266 (eval $ac_link) 2>conftest.er1
24267 ac_status=$?
24268 grep -v '^ *+' conftest.er1 >conftest.err
24269 rm -f conftest.er1
24270 cat conftest.err >&5
24271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24272 (exit $ac_status); } &&
24273 { ac_try='test -z "$ac_c_werror_flag"
24274 || test ! -s conftest.err'
24275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24276 (eval $ac_try) 2>&5
24277 ac_status=$?
24278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24279 (exit $ac_status); }; } &&
24280 { ac_try='test -s conftest$ac_exeext'
24281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24282 (eval $ac_try) 2>&5
24283 ac_status=$?
24284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24285 (exit $ac_status); }; }; then
24286 eval "$as_ac_var=yes"
24287 else
24288 echo "$as_me: failed program was:" >&5
24289 sed 's/^/| /' conftest.$ac_ext >&5
24291 eval "$as_ac_var=no"
24293 rm -f conftest.err conftest.$ac_objext \
24294 conftest$ac_exeext conftest.$ac_ext
24296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24297 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24298 if test `eval echo '${'$as_ac_var'}'` = yes; then
24299 cat >>confdefs.h <<_ACEOF
24300 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24301 _ACEOF
24304 done
24314 echo "$as_me:$LINENO: checking for powl declaration" >&5
24315 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
24316 if test x${glibcxx_cv_func_powl_use+set} != xset; then
24317 if test "${glibcxx_cv_func_powl_use+set}" = set; then
24318 echo $ECHO_N "(cached) $ECHO_C" >&6
24319 else
24323 ac_ext=cc
24324 ac_cpp='$CXXCPP $CPPFLAGS'
24325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24329 cat >conftest.$ac_ext <<_ACEOF
24330 /* confdefs.h. */
24331 _ACEOF
24332 cat confdefs.h >>conftest.$ac_ext
24333 cat >>conftest.$ac_ext <<_ACEOF
24334 /* end confdefs.h. */
24335 #include <math.h>
24337 main ()
24339 powl(0, 0);
24341 return 0;
24343 _ACEOF
24344 rm -f conftest.$ac_objext
24345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24346 (eval $ac_compile) 2>conftest.er1
24347 ac_status=$?
24348 grep -v '^ *+' conftest.er1 >conftest.err
24349 rm -f conftest.er1
24350 cat conftest.err >&5
24351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24352 (exit $ac_status); } &&
24353 { ac_try='test -z "$ac_cxx_werror_flag"
24354 || test ! -s conftest.err'
24355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24356 (eval $ac_try) 2>&5
24357 ac_status=$?
24358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24359 (exit $ac_status); }; } &&
24360 { ac_try='test -s conftest.$ac_objext'
24361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24362 (eval $ac_try) 2>&5
24363 ac_status=$?
24364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24365 (exit $ac_status); }; }; then
24366 glibcxx_cv_func_powl_use=yes
24367 else
24368 echo "$as_me: failed program was:" >&5
24369 sed 's/^/| /' conftest.$ac_ext >&5
24371 glibcxx_cv_func_powl_use=no
24373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24374 ac_ext=c
24375 ac_cpp='$CPP $CPPFLAGS'
24376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24384 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
24385 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
24387 if test x$glibcxx_cv_func_powl_use = x"yes"; then
24389 for ac_func in powl
24391 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24392 echo "$as_me:$LINENO: checking for $ac_func" >&5
24393 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24394 if eval "test \"\${$as_ac_var+set}\" = set"; then
24395 echo $ECHO_N "(cached) $ECHO_C" >&6
24396 else
24397 if test x$gcc_no_link = xyes; then
24398 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24399 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24400 { (exit 1); exit 1; }; }
24402 cat >conftest.$ac_ext <<_ACEOF
24403 /* confdefs.h. */
24404 _ACEOF
24405 cat confdefs.h >>conftest.$ac_ext
24406 cat >>conftest.$ac_ext <<_ACEOF
24407 /* end confdefs.h. */
24408 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24409 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24410 #define $ac_func innocuous_$ac_func
24412 /* System header to define __stub macros and hopefully few prototypes,
24413 which can conflict with char $ac_func (); below.
24414 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24415 <limits.h> exists even on freestanding compilers. */
24417 #ifdef __STDC__
24418 # include <limits.h>
24419 #else
24420 # include <assert.h>
24421 #endif
24423 #undef $ac_func
24425 /* Override any gcc2 internal prototype to avoid an error. */
24426 #ifdef __cplusplus
24427 extern "C"
24429 #endif
24430 /* We use char because int might match the return type of a gcc2
24431 builtin and then its argument prototype would still apply. */
24432 char $ac_func ();
24433 /* The GNU C library defines this for functions which it implements
24434 to always fail with ENOSYS. Some functions are actually named
24435 something starting with __ and the normal name is an alias. */
24436 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24437 choke me
24438 #else
24439 char (*f) () = $ac_func;
24440 #endif
24441 #ifdef __cplusplus
24443 #endif
24446 main ()
24448 return f != $ac_func;
24450 return 0;
24452 _ACEOF
24453 rm -f conftest.$ac_objext conftest$ac_exeext
24454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24455 (eval $ac_link) 2>conftest.er1
24456 ac_status=$?
24457 grep -v '^ *+' conftest.er1 >conftest.err
24458 rm -f conftest.er1
24459 cat conftest.err >&5
24460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24461 (exit $ac_status); } &&
24462 { ac_try='test -z "$ac_c_werror_flag"
24463 || test ! -s conftest.err'
24464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24465 (eval $ac_try) 2>&5
24466 ac_status=$?
24467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24468 (exit $ac_status); }; } &&
24469 { ac_try='test -s conftest$ac_exeext'
24470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24471 (eval $ac_try) 2>&5
24472 ac_status=$?
24473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24474 (exit $ac_status); }; }; then
24475 eval "$as_ac_var=yes"
24476 else
24477 echo "$as_me: failed program was:" >&5
24478 sed 's/^/| /' conftest.$ac_ext >&5
24480 eval "$as_ac_var=no"
24482 rm -f conftest.err conftest.$ac_objext \
24483 conftest$ac_exeext conftest.$ac_ext
24485 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24486 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24487 if test `eval echo '${'$as_ac_var'}'` = yes; then
24488 cat >>confdefs.h <<_ACEOF
24489 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24490 _ACEOF
24493 done
24495 else
24497 echo "$as_me:$LINENO: checking for _powl declaration" >&5
24498 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
24499 if test x${glibcxx_cv_func__powl_use+set} != xset; then
24500 if test "${glibcxx_cv_func__powl_use+set}" = set; then
24501 echo $ECHO_N "(cached) $ECHO_C" >&6
24502 else
24506 ac_ext=cc
24507 ac_cpp='$CXXCPP $CPPFLAGS'
24508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24512 cat >conftest.$ac_ext <<_ACEOF
24513 /* confdefs.h. */
24514 _ACEOF
24515 cat confdefs.h >>conftest.$ac_ext
24516 cat >>conftest.$ac_ext <<_ACEOF
24517 /* end confdefs.h. */
24518 #include <math.h>
24520 main ()
24522 _powl(0, 0);
24524 return 0;
24526 _ACEOF
24527 rm -f conftest.$ac_objext
24528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24529 (eval $ac_compile) 2>conftest.er1
24530 ac_status=$?
24531 grep -v '^ *+' conftest.er1 >conftest.err
24532 rm -f conftest.er1
24533 cat conftest.err >&5
24534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24535 (exit $ac_status); } &&
24536 { ac_try='test -z "$ac_cxx_werror_flag"
24537 || test ! -s conftest.err'
24538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24539 (eval $ac_try) 2>&5
24540 ac_status=$?
24541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24542 (exit $ac_status); }; } &&
24543 { ac_try='test -s conftest.$ac_objext'
24544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24545 (eval $ac_try) 2>&5
24546 ac_status=$?
24547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24548 (exit $ac_status); }; }; then
24549 glibcxx_cv_func__powl_use=yes
24550 else
24551 echo "$as_me: failed program was:" >&5
24552 sed 's/^/| /' conftest.$ac_ext >&5
24554 glibcxx_cv_func__powl_use=no
24556 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24557 ac_ext=c
24558 ac_cpp='$CPP $CPPFLAGS'
24559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24567 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
24568 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
24570 if test x$glibcxx_cv_func__powl_use = x"yes"; then
24572 for ac_func in _powl
24574 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24575 echo "$as_me:$LINENO: checking for $ac_func" >&5
24576 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24577 if eval "test \"\${$as_ac_var+set}\" = set"; then
24578 echo $ECHO_N "(cached) $ECHO_C" >&6
24579 else
24580 if test x$gcc_no_link = xyes; then
24581 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24582 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24583 { (exit 1); exit 1; }; }
24585 cat >conftest.$ac_ext <<_ACEOF
24586 /* confdefs.h. */
24587 _ACEOF
24588 cat confdefs.h >>conftest.$ac_ext
24589 cat >>conftest.$ac_ext <<_ACEOF
24590 /* end confdefs.h. */
24591 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24592 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24593 #define $ac_func innocuous_$ac_func
24595 /* System header to define __stub macros and hopefully few prototypes,
24596 which can conflict with char $ac_func (); below.
24597 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24598 <limits.h> exists even on freestanding compilers. */
24600 #ifdef __STDC__
24601 # include <limits.h>
24602 #else
24603 # include <assert.h>
24604 #endif
24606 #undef $ac_func
24608 /* Override any gcc2 internal prototype to avoid an error. */
24609 #ifdef __cplusplus
24610 extern "C"
24612 #endif
24613 /* We use char because int might match the return type of a gcc2
24614 builtin and then its argument prototype would still apply. */
24615 char $ac_func ();
24616 /* The GNU C library defines this for functions which it implements
24617 to always fail with ENOSYS. Some functions are actually named
24618 something starting with __ and the normal name is an alias. */
24619 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24620 choke me
24621 #else
24622 char (*f) () = $ac_func;
24623 #endif
24624 #ifdef __cplusplus
24626 #endif
24629 main ()
24631 return f != $ac_func;
24633 return 0;
24635 _ACEOF
24636 rm -f conftest.$ac_objext conftest$ac_exeext
24637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24638 (eval $ac_link) 2>conftest.er1
24639 ac_status=$?
24640 grep -v '^ *+' conftest.er1 >conftest.err
24641 rm -f conftest.er1
24642 cat conftest.err >&5
24643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24644 (exit $ac_status); } &&
24645 { ac_try='test -z "$ac_c_werror_flag"
24646 || test ! -s conftest.err'
24647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24648 (eval $ac_try) 2>&5
24649 ac_status=$?
24650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24651 (exit $ac_status); }; } &&
24652 { ac_try='test -s conftest$ac_exeext'
24653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24654 (eval $ac_try) 2>&5
24655 ac_status=$?
24656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24657 (exit $ac_status); }; }; then
24658 eval "$as_ac_var=yes"
24659 else
24660 echo "$as_me: failed program was:" >&5
24661 sed 's/^/| /' conftest.$ac_ext >&5
24663 eval "$as_ac_var=no"
24665 rm -f conftest.err conftest.$ac_objext \
24666 conftest$ac_exeext conftest.$ac_ext
24668 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24669 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24670 if test `eval echo '${'$as_ac_var'}'` = yes; then
24671 cat >>confdefs.h <<_ACEOF
24672 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24673 _ACEOF
24676 done
24686 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
24687 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
24688 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
24689 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
24690 echo $ECHO_N "(cached) $ECHO_C" >&6
24691 else
24695 ac_ext=cc
24696 ac_cpp='$CXXCPP $CPPFLAGS'
24697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24701 cat >conftest.$ac_ext <<_ACEOF
24702 /* confdefs.h. */
24703 _ACEOF
24704 cat confdefs.h >>conftest.$ac_ext
24705 cat >>conftest.$ac_ext <<_ACEOF
24706 /* end confdefs.h. */
24707 #include <math.h>
24708 #ifdef HAVE_IEEEFP_H
24709 #include <ieeefp.h>
24710 #endif
24713 main ()
24715 sqrtl(0);
24717 return 0;
24719 _ACEOF
24720 rm -f conftest.$ac_objext
24721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24722 (eval $ac_compile) 2>conftest.er1
24723 ac_status=$?
24724 grep -v '^ *+' conftest.er1 >conftest.err
24725 rm -f conftest.er1
24726 cat conftest.err >&5
24727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24728 (exit $ac_status); } &&
24729 { ac_try='test -z "$ac_cxx_werror_flag"
24730 || test ! -s conftest.err'
24731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24732 (eval $ac_try) 2>&5
24733 ac_status=$?
24734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24735 (exit $ac_status); }; } &&
24736 { ac_try='test -s conftest.$ac_objext'
24737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24738 (eval $ac_try) 2>&5
24739 ac_status=$?
24740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24741 (exit $ac_status); }; }; then
24742 glibcxx_cv_func_sqrtl_use=yes
24743 else
24744 echo "$as_me: failed program was:" >&5
24745 sed 's/^/| /' conftest.$ac_ext >&5
24747 glibcxx_cv_func_sqrtl_use=no
24749 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24750 ac_ext=c
24751 ac_cpp='$CPP $CPPFLAGS'
24752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24760 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
24761 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
24763 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
24765 for ac_func in sqrtl
24767 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24768 echo "$as_me:$LINENO: checking for $ac_func" >&5
24769 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24770 if eval "test \"\${$as_ac_var+set}\" = set"; then
24771 echo $ECHO_N "(cached) $ECHO_C" >&6
24772 else
24773 if test x$gcc_no_link = xyes; then
24774 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24775 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24776 { (exit 1); exit 1; }; }
24778 cat >conftest.$ac_ext <<_ACEOF
24779 /* confdefs.h. */
24780 _ACEOF
24781 cat confdefs.h >>conftest.$ac_ext
24782 cat >>conftest.$ac_ext <<_ACEOF
24783 /* end confdefs.h. */
24784 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24785 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24786 #define $ac_func innocuous_$ac_func
24788 /* System header to define __stub macros and hopefully few prototypes,
24789 which can conflict with char $ac_func (); below.
24790 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24791 <limits.h> exists even on freestanding compilers. */
24793 #ifdef __STDC__
24794 # include <limits.h>
24795 #else
24796 # include <assert.h>
24797 #endif
24799 #undef $ac_func
24801 /* Override any gcc2 internal prototype to avoid an error. */
24802 #ifdef __cplusplus
24803 extern "C"
24805 #endif
24806 /* We use char because int might match the return type of a gcc2
24807 builtin and then its argument prototype would still apply. */
24808 char $ac_func ();
24809 /* The GNU C library defines this for functions which it implements
24810 to always fail with ENOSYS. Some functions are actually named
24811 something starting with __ and the normal name is an alias. */
24812 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24813 choke me
24814 #else
24815 char (*f) () = $ac_func;
24816 #endif
24817 #ifdef __cplusplus
24819 #endif
24822 main ()
24824 return f != $ac_func;
24826 return 0;
24828 _ACEOF
24829 rm -f conftest.$ac_objext conftest$ac_exeext
24830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24831 (eval $ac_link) 2>conftest.er1
24832 ac_status=$?
24833 grep -v '^ *+' conftest.er1 >conftest.err
24834 rm -f conftest.er1
24835 cat conftest.err >&5
24836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24837 (exit $ac_status); } &&
24838 { ac_try='test -z "$ac_c_werror_flag"
24839 || test ! -s conftest.err'
24840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24841 (eval $ac_try) 2>&5
24842 ac_status=$?
24843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24844 (exit $ac_status); }; } &&
24845 { ac_try='test -s conftest$ac_exeext'
24846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24847 (eval $ac_try) 2>&5
24848 ac_status=$?
24849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24850 (exit $ac_status); }; }; then
24851 eval "$as_ac_var=yes"
24852 else
24853 echo "$as_me: failed program was:" >&5
24854 sed 's/^/| /' conftest.$ac_ext >&5
24856 eval "$as_ac_var=no"
24858 rm -f conftest.err conftest.$ac_objext \
24859 conftest$ac_exeext conftest.$ac_ext
24861 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24862 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24863 if test `eval echo '${'$as_ac_var'}'` = yes; then
24864 cat >>confdefs.h <<_ACEOF
24865 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24866 _ACEOF
24869 done
24871 else
24873 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
24874 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
24875 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
24876 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
24877 echo $ECHO_N "(cached) $ECHO_C" >&6
24878 else
24882 ac_ext=cc
24883 ac_cpp='$CXXCPP $CPPFLAGS'
24884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24888 cat >conftest.$ac_ext <<_ACEOF
24889 /* confdefs.h. */
24890 _ACEOF
24891 cat confdefs.h >>conftest.$ac_ext
24892 cat >>conftest.$ac_ext <<_ACEOF
24893 /* end confdefs.h. */
24894 #include <math.h>
24895 #ifdef HAVE_IEEEFP_H
24896 #include <ieeefp.h>
24897 #endif
24900 main ()
24902 _sqrtl(0);
24904 return 0;
24906 _ACEOF
24907 rm -f conftest.$ac_objext
24908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24909 (eval $ac_compile) 2>conftest.er1
24910 ac_status=$?
24911 grep -v '^ *+' conftest.er1 >conftest.err
24912 rm -f conftest.er1
24913 cat conftest.err >&5
24914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24915 (exit $ac_status); } &&
24916 { ac_try='test -z "$ac_cxx_werror_flag"
24917 || test ! -s conftest.err'
24918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24919 (eval $ac_try) 2>&5
24920 ac_status=$?
24921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24922 (exit $ac_status); }; } &&
24923 { ac_try='test -s conftest.$ac_objext'
24924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24925 (eval $ac_try) 2>&5
24926 ac_status=$?
24927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24928 (exit $ac_status); }; }; then
24929 glibcxx_cv_func__sqrtl_use=yes
24930 else
24931 echo "$as_me: failed program was:" >&5
24932 sed 's/^/| /' conftest.$ac_ext >&5
24934 glibcxx_cv_func__sqrtl_use=no
24936 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24937 ac_ext=c
24938 ac_cpp='$CPP $CPPFLAGS'
24939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24947 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
24948 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
24950 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
24952 for ac_func in _sqrtl
24954 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24955 echo "$as_me:$LINENO: checking for $ac_func" >&5
24956 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24957 if eval "test \"\${$as_ac_var+set}\" = set"; then
24958 echo $ECHO_N "(cached) $ECHO_C" >&6
24959 else
24960 if test x$gcc_no_link = xyes; then
24961 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24962 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24963 { (exit 1); exit 1; }; }
24965 cat >conftest.$ac_ext <<_ACEOF
24966 /* confdefs.h. */
24967 _ACEOF
24968 cat confdefs.h >>conftest.$ac_ext
24969 cat >>conftest.$ac_ext <<_ACEOF
24970 /* end confdefs.h. */
24971 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24972 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24973 #define $ac_func innocuous_$ac_func
24975 /* System header to define __stub macros and hopefully few prototypes,
24976 which can conflict with char $ac_func (); below.
24977 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24978 <limits.h> exists even on freestanding compilers. */
24980 #ifdef __STDC__
24981 # include <limits.h>
24982 #else
24983 # include <assert.h>
24984 #endif
24986 #undef $ac_func
24988 /* Override any gcc2 internal prototype to avoid an error. */
24989 #ifdef __cplusplus
24990 extern "C"
24992 #endif
24993 /* We use char because int might match the return type of a gcc2
24994 builtin and then its argument prototype would still apply. */
24995 char $ac_func ();
24996 /* The GNU C library defines this for functions which it implements
24997 to always fail with ENOSYS. Some functions are actually named
24998 something starting with __ and the normal name is an alias. */
24999 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25000 choke me
25001 #else
25002 char (*f) () = $ac_func;
25003 #endif
25004 #ifdef __cplusplus
25006 #endif
25009 main ()
25011 return f != $ac_func;
25013 return 0;
25015 _ACEOF
25016 rm -f conftest.$ac_objext conftest$ac_exeext
25017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25018 (eval $ac_link) 2>conftest.er1
25019 ac_status=$?
25020 grep -v '^ *+' conftest.er1 >conftest.err
25021 rm -f conftest.er1
25022 cat conftest.err >&5
25023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25024 (exit $ac_status); } &&
25025 { ac_try='test -z "$ac_c_werror_flag"
25026 || test ! -s conftest.err'
25027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25028 (eval $ac_try) 2>&5
25029 ac_status=$?
25030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25031 (exit $ac_status); }; } &&
25032 { ac_try='test -s conftest$ac_exeext'
25033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25034 (eval $ac_try) 2>&5
25035 ac_status=$?
25036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25037 (exit $ac_status); }; }; then
25038 eval "$as_ac_var=yes"
25039 else
25040 echo "$as_me: failed program was:" >&5
25041 sed 's/^/| /' conftest.$ac_ext >&5
25043 eval "$as_ac_var=no"
25045 rm -f conftest.err conftest.$ac_objext \
25046 conftest$ac_exeext conftest.$ac_ext
25048 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25049 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25050 if test `eval echo '${'$as_ac_var'}'` = yes; then
25051 cat >>confdefs.h <<_ACEOF
25052 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25053 _ACEOF
25056 done
25066 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
25067 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
25068 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
25069 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
25070 echo $ECHO_N "(cached) $ECHO_C" >&6
25071 else
25075 ac_ext=cc
25076 ac_cpp='$CXXCPP $CPPFLAGS'
25077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25081 cat >conftest.$ac_ext <<_ACEOF
25082 /* confdefs.h. */
25083 _ACEOF
25084 cat confdefs.h >>conftest.$ac_ext
25085 cat >>conftest.$ac_ext <<_ACEOF
25086 /* end confdefs.h. */
25087 #include <math.h>
25089 main ()
25091 sincosl(0, 0, 0);
25093 return 0;
25095 _ACEOF
25096 rm -f conftest.$ac_objext
25097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25098 (eval $ac_compile) 2>conftest.er1
25099 ac_status=$?
25100 grep -v '^ *+' conftest.er1 >conftest.err
25101 rm -f conftest.er1
25102 cat conftest.err >&5
25103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25104 (exit $ac_status); } &&
25105 { ac_try='test -z "$ac_cxx_werror_flag"
25106 || test ! -s conftest.err'
25107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25108 (eval $ac_try) 2>&5
25109 ac_status=$?
25110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25111 (exit $ac_status); }; } &&
25112 { ac_try='test -s conftest.$ac_objext'
25113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25114 (eval $ac_try) 2>&5
25115 ac_status=$?
25116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25117 (exit $ac_status); }; }; then
25118 glibcxx_cv_func_sincosl_use=yes
25119 else
25120 echo "$as_me: failed program was:" >&5
25121 sed 's/^/| /' conftest.$ac_ext >&5
25123 glibcxx_cv_func_sincosl_use=no
25125 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25126 ac_ext=c
25127 ac_cpp='$CPP $CPPFLAGS'
25128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25136 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
25137 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
25139 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
25141 for ac_func in sincosl
25143 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25144 echo "$as_me:$LINENO: checking for $ac_func" >&5
25145 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25146 if eval "test \"\${$as_ac_var+set}\" = set"; then
25147 echo $ECHO_N "(cached) $ECHO_C" >&6
25148 else
25149 if test x$gcc_no_link = xyes; then
25150 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25151 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25152 { (exit 1); exit 1; }; }
25154 cat >conftest.$ac_ext <<_ACEOF
25155 /* confdefs.h. */
25156 _ACEOF
25157 cat confdefs.h >>conftest.$ac_ext
25158 cat >>conftest.$ac_ext <<_ACEOF
25159 /* end confdefs.h. */
25160 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25161 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25162 #define $ac_func innocuous_$ac_func
25164 /* System header to define __stub macros and hopefully few prototypes,
25165 which can conflict with char $ac_func (); below.
25166 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25167 <limits.h> exists even on freestanding compilers. */
25169 #ifdef __STDC__
25170 # include <limits.h>
25171 #else
25172 # include <assert.h>
25173 #endif
25175 #undef $ac_func
25177 /* Override any gcc2 internal prototype to avoid an error. */
25178 #ifdef __cplusplus
25179 extern "C"
25181 #endif
25182 /* We use char because int might match the return type of a gcc2
25183 builtin and then its argument prototype would still apply. */
25184 char $ac_func ();
25185 /* The GNU C library defines this for functions which it implements
25186 to always fail with ENOSYS. Some functions are actually named
25187 something starting with __ and the normal name is an alias. */
25188 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25189 choke me
25190 #else
25191 char (*f) () = $ac_func;
25192 #endif
25193 #ifdef __cplusplus
25195 #endif
25198 main ()
25200 return f != $ac_func;
25202 return 0;
25204 _ACEOF
25205 rm -f conftest.$ac_objext conftest$ac_exeext
25206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25207 (eval $ac_link) 2>conftest.er1
25208 ac_status=$?
25209 grep -v '^ *+' conftest.er1 >conftest.err
25210 rm -f conftest.er1
25211 cat conftest.err >&5
25212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25213 (exit $ac_status); } &&
25214 { ac_try='test -z "$ac_c_werror_flag"
25215 || test ! -s conftest.err'
25216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25217 (eval $ac_try) 2>&5
25218 ac_status=$?
25219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25220 (exit $ac_status); }; } &&
25221 { ac_try='test -s conftest$ac_exeext'
25222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25223 (eval $ac_try) 2>&5
25224 ac_status=$?
25225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25226 (exit $ac_status); }; }; then
25227 eval "$as_ac_var=yes"
25228 else
25229 echo "$as_me: failed program was:" >&5
25230 sed 's/^/| /' conftest.$ac_ext >&5
25232 eval "$as_ac_var=no"
25234 rm -f conftest.err conftest.$ac_objext \
25235 conftest$ac_exeext conftest.$ac_ext
25237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25238 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25239 if test `eval echo '${'$as_ac_var'}'` = yes; then
25240 cat >>confdefs.h <<_ACEOF
25241 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25242 _ACEOF
25245 done
25247 else
25249 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
25250 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
25251 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
25252 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
25253 echo $ECHO_N "(cached) $ECHO_C" >&6
25254 else
25258 ac_ext=cc
25259 ac_cpp='$CXXCPP $CPPFLAGS'
25260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25264 cat >conftest.$ac_ext <<_ACEOF
25265 /* confdefs.h. */
25266 _ACEOF
25267 cat confdefs.h >>conftest.$ac_ext
25268 cat >>conftest.$ac_ext <<_ACEOF
25269 /* end confdefs.h. */
25270 #include <math.h>
25272 main ()
25274 _sincosl(0, 0, 0);
25276 return 0;
25278 _ACEOF
25279 rm -f conftest.$ac_objext
25280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25281 (eval $ac_compile) 2>conftest.er1
25282 ac_status=$?
25283 grep -v '^ *+' conftest.er1 >conftest.err
25284 rm -f conftest.er1
25285 cat conftest.err >&5
25286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25287 (exit $ac_status); } &&
25288 { ac_try='test -z "$ac_cxx_werror_flag"
25289 || test ! -s conftest.err'
25290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25291 (eval $ac_try) 2>&5
25292 ac_status=$?
25293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25294 (exit $ac_status); }; } &&
25295 { ac_try='test -s conftest.$ac_objext'
25296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25297 (eval $ac_try) 2>&5
25298 ac_status=$?
25299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25300 (exit $ac_status); }; }; then
25301 glibcxx_cv_func__sincosl_use=yes
25302 else
25303 echo "$as_me: failed program was:" >&5
25304 sed 's/^/| /' conftest.$ac_ext >&5
25306 glibcxx_cv_func__sincosl_use=no
25308 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25309 ac_ext=c
25310 ac_cpp='$CPP $CPPFLAGS'
25311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25319 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
25320 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
25322 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
25324 for ac_func in _sincosl
25326 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25327 echo "$as_me:$LINENO: checking for $ac_func" >&5
25328 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25329 if eval "test \"\${$as_ac_var+set}\" = set"; then
25330 echo $ECHO_N "(cached) $ECHO_C" >&6
25331 else
25332 if test x$gcc_no_link = xyes; then
25333 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25334 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25335 { (exit 1); exit 1; }; }
25337 cat >conftest.$ac_ext <<_ACEOF
25338 /* confdefs.h. */
25339 _ACEOF
25340 cat confdefs.h >>conftest.$ac_ext
25341 cat >>conftest.$ac_ext <<_ACEOF
25342 /* end confdefs.h. */
25343 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25344 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25345 #define $ac_func innocuous_$ac_func
25347 /* System header to define __stub macros and hopefully few prototypes,
25348 which can conflict with char $ac_func (); below.
25349 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25350 <limits.h> exists even on freestanding compilers. */
25352 #ifdef __STDC__
25353 # include <limits.h>
25354 #else
25355 # include <assert.h>
25356 #endif
25358 #undef $ac_func
25360 /* Override any gcc2 internal prototype to avoid an error. */
25361 #ifdef __cplusplus
25362 extern "C"
25364 #endif
25365 /* We use char because int might match the return type of a gcc2
25366 builtin and then its argument prototype would still apply. */
25367 char $ac_func ();
25368 /* The GNU C library defines this for functions which it implements
25369 to always fail with ENOSYS. Some functions are actually named
25370 something starting with __ and the normal name is an alias. */
25371 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25372 choke me
25373 #else
25374 char (*f) () = $ac_func;
25375 #endif
25376 #ifdef __cplusplus
25378 #endif
25381 main ()
25383 return f != $ac_func;
25385 return 0;
25387 _ACEOF
25388 rm -f conftest.$ac_objext conftest$ac_exeext
25389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25390 (eval $ac_link) 2>conftest.er1
25391 ac_status=$?
25392 grep -v '^ *+' conftest.er1 >conftest.err
25393 rm -f conftest.er1
25394 cat conftest.err >&5
25395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25396 (exit $ac_status); } &&
25397 { ac_try='test -z "$ac_c_werror_flag"
25398 || test ! -s conftest.err'
25399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25400 (eval $ac_try) 2>&5
25401 ac_status=$?
25402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25403 (exit $ac_status); }; } &&
25404 { ac_try='test -s conftest$ac_exeext'
25405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25406 (eval $ac_try) 2>&5
25407 ac_status=$?
25408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25409 (exit $ac_status); }; }; then
25410 eval "$as_ac_var=yes"
25411 else
25412 echo "$as_me: failed program was:" >&5
25413 sed 's/^/| /' conftest.$ac_ext >&5
25415 eval "$as_ac_var=no"
25417 rm -f conftest.err conftest.$ac_objext \
25418 conftest$ac_exeext conftest.$ac_ext
25420 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25421 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25422 if test `eval echo '${'$as_ac_var'}'` = yes; then
25423 cat >>confdefs.h <<_ACEOF
25424 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25425 _ACEOF
25428 done
25438 echo "$as_me:$LINENO: checking for finitel declaration" >&5
25439 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
25440 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
25441 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
25442 echo $ECHO_N "(cached) $ECHO_C" >&6
25443 else
25447 ac_ext=cc
25448 ac_cpp='$CXXCPP $CPPFLAGS'
25449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25453 cat >conftest.$ac_ext <<_ACEOF
25454 /* confdefs.h. */
25455 _ACEOF
25456 cat confdefs.h >>conftest.$ac_ext
25457 cat >>conftest.$ac_ext <<_ACEOF
25458 /* end confdefs.h. */
25459 #include <math.h>
25460 #ifdef HAVE_IEEEFP_H
25461 #include <ieeefp.h>
25462 #endif
25465 main ()
25467 finitel(0);
25469 return 0;
25471 _ACEOF
25472 rm -f conftest.$ac_objext
25473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25474 (eval $ac_compile) 2>conftest.er1
25475 ac_status=$?
25476 grep -v '^ *+' conftest.er1 >conftest.err
25477 rm -f conftest.er1
25478 cat conftest.err >&5
25479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25480 (exit $ac_status); } &&
25481 { ac_try='test -z "$ac_cxx_werror_flag"
25482 || test ! -s conftest.err'
25483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25484 (eval $ac_try) 2>&5
25485 ac_status=$?
25486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25487 (exit $ac_status); }; } &&
25488 { ac_try='test -s conftest.$ac_objext'
25489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25490 (eval $ac_try) 2>&5
25491 ac_status=$?
25492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25493 (exit $ac_status); }; }; then
25494 glibcxx_cv_func_finitel_use=yes
25495 else
25496 echo "$as_me: failed program was:" >&5
25497 sed 's/^/| /' conftest.$ac_ext >&5
25499 glibcxx_cv_func_finitel_use=no
25501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25502 ac_ext=c
25503 ac_cpp='$CPP $CPPFLAGS'
25504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25512 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
25513 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
25515 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
25517 for ac_func in finitel
25519 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25520 echo "$as_me:$LINENO: checking for $ac_func" >&5
25521 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25522 if eval "test \"\${$as_ac_var+set}\" = set"; then
25523 echo $ECHO_N "(cached) $ECHO_C" >&6
25524 else
25525 if test x$gcc_no_link = xyes; then
25526 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25527 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25528 { (exit 1); exit 1; }; }
25530 cat >conftest.$ac_ext <<_ACEOF
25531 /* confdefs.h. */
25532 _ACEOF
25533 cat confdefs.h >>conftest.$ac_ext
25534 cat >>conftest.$ac_ext <<_ACEOF
25535 /* end confdefs.h. */
25536 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25537 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25538 #define $ac_func innocuous_$ac_func
25540 /* System header to define __stub macros and hopefully few prototypes,
25541 which can conflict with char $ac_func (); below.
25542 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25543 <limits.h> exists even on freestanding compilers. */
25545 #ifdef __STDC__
25546 # include <limits.h>
25547 #else
25548 # include <assert.h>
25549 #endif
25551 #undef $ac_func
25553 /* Override any gcc2 internal prototype to avoid an error. */
25554 #ifdef __cplusplus
25555 extern "C"
25557 #endif
25558 /* We use char because int might match the return type of a gcc2
25559 builtin and then its argument prototype would still apply. */
25560 char $ac_func ();
25561 /* The GNU C library defines this for functions which it implements
25562 to always fail with ENOSYS. Some functions are actually named
25563 something starting with __ and the normal name is an alias. */
25564 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25565 choke me
25566 #else
25567 char (*f) () = $ac_func;
25568 #endif
25569 #ifdef __cplusplus
25571 #endif
25574 main ()
25576 return f != $ac_func;
25578 return 0;
25580 _ACEOF
25581 rm -f conftest.$ac_objext conftest$ac_exeext
25582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25583 (eval $ac_link) 2>conftest.er1
25584 ac_status=$?
25585 grep -v '^ *+' conftest.er1 >conftest.err
25586 rm -f conftest.er1
25587 cat conftest.err >&5
25588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25589 (exit $ac_status); } &&
25590 { ac_try='test -z "$ac_c_werror_flag"
25591 || test ! -s conftest.err'
25592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25593 (eval $ac_try) 2>&5
25594 ac_status=$?
25595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25596 (exit $ac_status); }; } &&
25597 { ac_try='test -s conftest$ac_exeext'
25598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25599 (eval $ac_try) 2>&5
25600 ac_status=$?
25601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25602 (exit $ac_status); }; }; then
25603 eval "$as_ac_var=yes"
25604 else
25605 echo "$as_me: failed program was:" >&5
25606 sed 's/^/| /' conftest.$ac_ext >&5
25608 eval "$as_ac_var=no"
25610 rm -f conftest.err conftest.$ac_objext \
25611 conftest$ac_exeext conftest.$ac_ext
25613 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25614 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25615 if test `eval echo '${'$as_ac_var'}'` = yes; then
25616 cat >>confdefs.h <<_ACEOF
25617 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25618 _ACEOF
25621 done
25623 else
25625 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
25626 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
25627 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
25628 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
25629 echo $ECHO_N "(cached) $ECHO_C" >&6
25630 else
25634 ac_ext=cc
25635 ac_cpp='$CXXCPP $CPPFLAGS'
25636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25640 cat >conftest.$ac_ext <<_ACEOF
25641 /* confdefs.h. */
25642 _ACEOF
25643 cat confdefs.h >>conftest.$ac_ext
25644 cat >>conftest.$ac_ext <<_ACEOF
25645 /* end confdefs.h. */
25646 #include <math.h>
25647 #ifdef HAVE_IEEEFP_H
25648 #include <ieeefp.h>
25649 #endif
25652 main ()
25654 _finitel(0);
25656 return 0;
25658 _ACEOF
25659 rm -f conftest.$ac_objext
25660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25661 (eval $ac_compile) 2>conftest.er1
25662 ac_status=$?
25663 grep -v '^ *+' conftest.er1 >conftest.err
25664 rm -f conftest.er1
25665 cat conftest.err >&5
25666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25667 (exit $ac_status); } &&
25668 { ac_try='test -z "$ac_cxx_werror_flag"
25669 || test ! -s conftest.err'
25670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25671 (eval $ac_try) 2>&5
25672 ac_status=$?
25673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25674 (exit $ac_status); }; } &&
25675 { ac_try='test -s conftest.$ac_objext'
25676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25677 (eval $ac_try) 2>&5
25678 ac_status=$?
25679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25680 (exit $ac_status); }; }; then
25681 glibcxx_cv_func__finitel_use=yes
25682 else
25683 echo "$as_me: failed program was:" >&5
25684 sed 's/^/| /' conftest.$ac_ext >&5
25686 glibcxx_cv_func__finitel_use=no
25688 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25689 ac_ext=c
25690 ac_cpp='$CPP $CPPFLAGS'
25691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25699 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
25700 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
25702 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
25704 for ac_func in _finitel
25706 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25707 echo "$as_me:$LINENO: checking for $ac_func" >&5
25708 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25709 if eval "test \"\${$as_ac_var+set}\" = set"; then
25710 echo $ECHO_N "(cached) $ECHO_C" >&6
25711 else
25712 if test x$gcc_no_link = xyes; then
25713 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25714 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25715 { (exit 1); exit 1; }; }
25717 cat >conftest.$ac_ext <<_ACEOF
25718 /* confdefs.h. */
25719 _ACEOF
25720 cat confdefs.h >>conftest.$ac_ext
25721 cat >>conftest.$ac_ext <<_ACEOF
25722 /* end confdefs.h. */
25723 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25724 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25725 #define $ac_func innocuous_$ac_func
25727 /* System header to define __stub macros and hopefully few prototypes,
25728 which can conflict with char $ac_func (); below.
25729 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25730 <limits.h> exists even on freestanding compilers. */
25732 #ifdef __STDC__
25733 # include <limits.h>
25734 #else
25735 # include <assert.h>
25736 #endif
25738 #undef $ac_func
25740 /* Override any gcc2 internal prototype to avoid an error. */
25741 #ifdef __cplusplus
25742 extern "C"
25744 #endif
25745 /* We use char because int might match the return type of a gcc2
25746 builtin and then its argument prototype would still apply. */
25747 char $ac_func ();
25748 /* The GNU C library defines this for functions which it implements
25749 to always fail with ENOSYS. Some functions are actually named
25750 something starting with __ and the normal name is an alias. */
25751 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25752 choke me
25753 #else
25754 char (*f) () = $ac_func;
25755 #endif
25756 #ifdef __cplusplus
25758 #endif
25761 main ()
25763 return f != $ac_func;
25765 return 0;
25767 _ACEOF
25768 rm -f conftest.$ac_objext conftest$ac_exeext
25769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25770 (eval $ac_link) 2>conftest.er1
25771 ac_status=$?
25772 grep -v '^ *+' conftest.er1 >conftest.err
25773 rm -f conftest.er1
25774 cat conftest.err >&5
25775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25776 (exit $ac_status); } &&
25777 { ac_try='test -z "$ac_c_werror_flag"
25778 || test ! -s conftest.err'
25779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25780 (eval $ac_try) 2>&5
25781 ac_status=$?
25782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25783 (exit $ac_status); }; } &&
25784 { ac_try='test -s conftest$ac_exeext'
25785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25786 (eval $ac_try) 2>&5
25787 ac_status=$?
25788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25789 (exit $ac_status); }; }; then
25790 eval "$as_ac_var=yes"
25791 else
25792 echo "$as_me: failed program was:" >&5
25793 sed 's/^/| /' conftest.$ac_ext >&5
25795 eval "$as_ac_var=no"
25797 rm -f conftest.err conftest.$ac_objext \
25798 conftest$ac_exeext conftest.$ac_ext
25800 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25801 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25802 if test `eval echo '${'$as_ac_var'}'` = yes; then
25803 cat >>confdefs.h <<_ACEOF
25804 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25805 _ACEOF
25808 done
25817 LIBS="$ac_save_LIBS"
25818 CXXFLAGS="$ac_save_CXXFLAGS"
25822 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
25823 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
25824 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
25825 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
25826 echo $ECHO_N "(cached) $ECHO_C" >&6
25827 else
25831 ac_ext=cc
25832 ac_cpp='$CXXCPP $CPPFLAGS'
25833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25837 cat >conftest.$ac_ext <<_ACEOF
25838 /* confdefs.h. */
25839 _ACEOF
25840 cat confdefs.h >>conftest.$ac_ext
25841 cat >>conftest.$ac_ext <<_ACEOF
25842 /* end confdefs.h. */
25843 #include <math.h>
25845 main ()
25847 __builtin_abs(0);
25849 return 0;
25851 _ACEOF
25852 rm -f conftest.$ac_objext
25853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25854 (eval $ac_compile) 2>conftest.er1
25855 ac_status=$?
25856 grep -v '^ *+' conftest.er1 >conftest.err
25857 rm -f conftest.er1
25858 cat conftest.err >&5
25859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25860 (exit $ac_status); } &&
25861 { ac_try='test -z "$ac_cxx_werror_flag"
25862 || test ! -s conftest.err'
25863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25864 (eval $ac_try) 2>&5
25865 ac_status=$?
25866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25867 (exit $ac_status); }; } &&
25868 { ac_try='test -s conftest.$ac_objext'
25869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25870 (eval $ac_try) 2>&5
25871 ac_status=$?
25872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25873 (exit $ac_status); }; }; then
25874 glibcxx_cv_func___builtin_abs_use=yes
25875 else
25876 echo "$as_me: failed program was:" >&5
25877 sed 's/^/| /' conftest.$ac_ext >&5
25879 glibcxx_cv_func___builtin_abs_use=no
25881 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25882 ac_ext=c
25883 ac_cpp='$CPP $CPPFLAGS'
25884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25892 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
25893 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
25894 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
25895 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
25896 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
25897 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
25898 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
25899 echo $ECHO_N "(cached) $ECHO_C" >&6
25900 else
25902 if test x$gcc_no_link = xyes; then
25903 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25904 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25905 { (exit 1); exit 1; }; }
25907 cat >conftest.$ac_ext <<_ACEOF
25908 /* confdefs.h. */
25909 _ACEOF
25910 cat confdefs.h >>conftest.$ac_ext
25911 cat >>conftest.$ac_ext <<_ACEOF
25912 /* end confdefs.h. */
25913 #include <math.h>
25915 main ()
25917 __builtin_abs(0);
25919 return 0;
25921 _ACEOF
25922 rm -f conftest.$ac_objext conftest$ac_exeext
25923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25924 (eval $ac_link) 2>conftest.er1
25925 ac_status=$?
25926 grep -v '^ *+' conftest.er1 >conftest.err
25927 rm -f conftest.er1
25928 cat conftest.err >&5
25929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25930 (exit $ac_status); } &&
25931 { ac_try='test -z "$ac_c_werror_flag"
25932 || test ! -s conftest.err'
25933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25934 (eval $ac_try) 2>&5
25935 ac_status=$?
25936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25937 (exit $ac_status); }; } &&
25938 { ac_try='test -s conftest$ac_exeext'
25939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25940 (eval $ac_try) 2>&5
25941 ac_status=$?
25942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25943 (exit $ac_status); }; }; then
25944 glibcxx_cv_func___builtin_abs_link=yes
25945 else
25946 echo "$as_me: failed program was:" >&5
25947 sed 's/^/| /' conftest.$ac_ext >&5
25949 glibcxx_cv_func___builtin_abs_link=no
25951 rm -f conftest.err conftest.$ac_objext \
25952 conftest$ac_exeext conftest.$ac_ext
25957 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
25958 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
25960 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
25962 cat >>confdefs.h <<\_ACEOF
25963 #define HAVE___BUILTIN_ABS 1
25964 _ACEOF
25971 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
25972 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
25973 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
25974 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
25975 echo $ECHO_N "(cached) $ECHO_C" >&6
25976 else
25980 ac_ext=cc
25981 ac_cpp='$CXXCPP $CPPFLAGS'
25982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25986 cat >conftest.$ac_ext <<_ACEOF
25987 /* confdefs.h. */
25988 _ACEOF
25989 cat confdefs.h >>conftest.$ac_ext
25990 cat >>conftest.$ac_ext <<_ACEOF
25991 /* end confdefs.h. */
25992 #include <math.h>
25994 main ()
25996 __builtin_fabsf(0);
25998 return 0;
26000 _ACEOF
26001 rm -f conftest.$ac_objext
26002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26003 (eval $ac_compile) 2>conftest.er1
26004 ac_status=$?
26005 grep -v '^ *+' conftest.er1 >conftest.err
26006 rm -f conftest.er1
26007 cat conftest.err >&5
26008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26009 (exit $ac_status); } &&
26010 { ac_try='test -z "$ac_cxx_werror_flag"
26011 || test ! -s conftest.err'
26012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26013 (eval $ac_try) 2>&5
26014 ac_status=$?
26015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26016 (exit $ac_status); }; } &&
26017 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
26023 glibcxx_cv_func___builtin_fabsf_use=yes
26024 else
26025 echo "$as_me: failed program was:" >&5
26026 sed 's/^/| /' conftest.$ac_ext >&5
26028 glibcxx_cv_func___builtin_fabsf_use=no
26030 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26031 ac_ext=c
26032 ac_cpp='$CPP $CPPFLAGS'
26033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26041 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
26042 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
26043 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
26044 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
26045 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
26046 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
26047 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
26048 echo $ECHO_N "(cached) $ECHO_C" >&6
26049 else
26051 if test x$gcc_no_link = xyes; then
26052 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26053 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26054 { (exit 1); exit 1; }; }
26056 cat >conftest.$ac_ext <<_ACEOF
26057 /* confdefs.h. */
26058 _ACEOF
26059 cat confdefs.h >>conftest.$ac_ext
26060 cat >>conftest.$ac_ext <<_ACEOF
26061 /* end confdefs.h. */
26062 #include <math.h>
26064 main ()
26066 __builtin_fabsf(0);
26068 return 0;
26070 _ACEOF
26071 rm -f conftest.$ac_objext conftest$ac_exeext
26072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26073 (eval $ac_link) 2>conftest.er1
26074 ac_status=$?
26075 grep -v '^ *+' conftest.er1 >conftest.err
26076 rm -f conftest.er1
26077 cat conftest.err >&5
26078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26079 (exit $ac_status); } &&
26080 { ac_try='test -z "$ac_c_werror_flag"
26081 || test ! -s conftest.err'
26082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26083 (eval $ac_try) 2>&5
26084 ac_status=$?
26085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26086 (exit $ac_status); }; } &&
26087 { ac_try='test -s conftest$ac_exeext'
26088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26089 (eval $ac_try) 2>&5
26090 ac_status=$?
26091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26092 (exit $ac_status); }; }; then
26093 glibcxx_cv_func___builtin_fabsf_link=yes
26094 else
26095 echo "$as_me: failed program was:" >&5
26096 sed 's/^/| /' conftest.$ac_ext >&5
26098 glibcxx_cv_func___builtin_fabsf_link=no
26100 rm -f conftest.err conftest.$ac_objext \
26101 conftest$ac_exeext conftest.$ac_ext
26106 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
26107 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
26109 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
26111 cat >>confdefs.h <<\_ACEOF
26112 #define HAVE___BUILTIN_FABSF 1
26113 _ACEOF
26120 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
26121 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
26122 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
26123 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
26124 echo $ECHO_N "(cached) $ECHO_C" >&6
26125 else
26129 ac_ext=cc
26130 ac_cpp='$CXXCPP $CPPFLAGS'
26131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26135 cat >conftest.$ac_ext <<_ACEOF
26136 /* confdefs.h. */
26137 _ACEOF
26138 cat confdefs.h >>conftest.$ac_ext
26139 cat >>conftest.$ac_ext <<_ACEOF
26140 /* end confdefs.h. */
26141 #include <math.h>
26143 main ()
26145 __builtin_fabs(0);
26147 return 0;
26149 _ACEOF
26150 rm -f conftest.$ac_objext
26151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26152 (eval $ac_compile) 2>conftest.er1
26153 ac_status=$?
26154 grep -v '^ *+' conftest.er1 >conftest.err
26155 rm -f conftest.er1
26156 cat conftest.err >&5
26157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26158 (exit $ac_status); } &&
26159 { ac_try='test -z "$ac_cxx_werror_flag"
26160 || test ! -s conftest.err'
26161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26162 (eval $ac_try) 2>&5
26163 ac_status=$?
26164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26165 (exit $ac_status); }; } &&
26166 { ac_try='test -s conftest.$ac_objext'
26167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26168 (eval $ac_try) 2>&5
26169 ac_status=$?
26170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26171 (exit $ac_status); }; }; then
26172 glibcxx_cv_func___builtin_fabs_use=yes
26173 else
26174 echo "$as_me: failed program was:" >&5
26175 sed 's/^/| /' conftest.$ac_ext >&5
26177 glibcxx_cv_func___builtin_fabs_use=no
26179 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26180 ac_ext=c
26181 ac_cpp='$CPP $CPPFLAGS'
26182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26190 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
26191 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
26192 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
26193 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
26194 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
26195 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
26196 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
26197 echo $ECHO_N "(cached) $ECHO_C" >&6
26198 else
26200 if test x$gcc_no_link = xyes; then
26201 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26202 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26203 { (exit 1); exit 1; }; }
26205 cat >conftest.$ac_ext <<_ACEOF
26206 /* confdefs.h. */
26207 _ACEOF
26208 cat confdefs.h >>conftest.$ac_ext
26209 cat >>conftest.$ac_ext <<_ACEOF
26210 /* end confdefs.h. */
26211 #include <math.h>
26213 main ()
26215 __builtin_fabs(0);
26217 return 0;
26219 _ACEOF
26220 rm -f conftest.$ac_objext conftest$ac_exeext
26221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26222 (eval $ac_link) 2>conftest.er1
26223 ac_status=$?
26224 grep -v '^ *+' conftest.er1 >conftest.err
26225 rm -f conftest.er1
26226 cat conftest.err >&5
26227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26228 (exit $ac_status); } &&
26229 { ac_try='test -z "$ac_c_werror_flag"
26230 || test ! -s conftest.err'
26231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26232 (eval $ac_try) 2>&5
26233 ac_status=$?
26234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26235 (exit $ac_status); }; } &&
26236 { ac_try='test -s conftest$ac_exeext'
26237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26238 (eval $ac_try) 2>&5
26239 ac_status=$?
26240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26241 (exit $ac_status); }; }; then
26242 glibcxx_cv_func___builtin_fabs_link=yes
26243 else
26244 echo "$as_me: failed program was:" >&5
26245 sed 's/^/| /' conftest.$ac_ext >&5
26247 glibcxx_cv_func___builtin_fabs_link=no
26249 rm -f conftest.err conftest.$ac_objext \
26250 conftest$ac_exeext conftest.$ac_ext
26255 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
26256 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
26258 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
26260 cat >>confdefs.h <<\_ACEOF
26261 #define HAVE___BUILTIN_FABS 1
26262 _ACEOF
26269 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
26270 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
26271 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
26272 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
26273 echo $ECHO_N "(cached) $ECHO_C" >&6
26274 else
26278 ac_ext=cc
26279 ac_cpp='$CXXCPP $CPPFLAGS'
26280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26284 cat >conftest.$ac_ext <<_ACEOF
26285 /* confdefs.h. */
26286 _ACEOF
26287 cat confdefs.h >>conftest.$ac_ext
26288 cat >>conftest.$ac_ext <<_ACEOF
26289 /* end confdefs.h. */
26290 #include <math.h>
26292 main ()
26294 __builtin_fabsl(0);
26296 return 0;
26298 _ACEOF
26299 rm -f conftest.$ac_objext
26300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26301 (eval $ac_compile) 2>conftest.er1
26302 ac_status=$?
26303 grep -v '^ *+' conftest.er1 >conftest.err
26304 rm -f conftest.er1
26305 cat conftest.err >&5
26306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26307 (exit $ac_status); } &&
26308 { ac_try='test -z "$ac_cxx_werror_flag"
26309 || test ! -s conftest.err'
26310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26311 (eval $ac_try) 2>&5
26312 ac_status=$?
26313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26314 (exit $ac_status); }; } &&
26315 { ac_try='test -s conftest.$ac_objext'
26316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26317 (eval $ac_try) 2>&5
26318 ac_status=$?
26319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26320 (exit $ac_status); }; }; then
26321 glibcxx_cv_func___builtin_fabsl_use=yes
26322 else
26323 echo "$as_me: failed program was:" >&5
26324 sed 's/^/| /' conftest.$ac_ext >&5
26326 glibcxx_cv_func___builtin_fabsl_use=no
26328 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26329 ac_ext=c
26330 ac_cpp='$CPP $CPPFLAGS'
26331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26339 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
26340 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
26341 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
26342 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
26343 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
26344 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
26345 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
26346 echo $ECHO_N "(cached) $ECHO_C" >&6
26347 else
26349 if test x$gcc_no_link = xyes; then
26350 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26351 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26352 { (exit 1); exit 1; }; }
26354 cat >conftest.$ac_ext <<_ACEOF
26355 /* confdefs.h. */
26356 _ACEOF
26357 cat confdefs.h >>conftest.$ac_ext
26358 cat >>conftest.$ac_ext <<_ACEOF
26359 /* end confdefs.h. */
26360 #include <math.h>
26362 main ()
26364 __builtin_fabsl(0);
26366 return 0;
26368 _ACEOF
26369 rm -f conftest.$ac_objext conftest$ac_exeext
26370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26371 (eval $ac_link) 2>conftest.er1
26372 ac_status=$?
26373 grep -v '^ *+' conftest.er1 >conftest.err
26374 rm -f conftest.er1
26375 cat conftest.err >&5
26376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26377 (exit $ac_status); } &&
26378 { ac_try='test -z "$ac_c_werror_flag"
26379 || test ! -s conftest.err'
26380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26381 (eval $ac_try) 2>&5
26382 ac_status=$?
26383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26384 (exit $ac_status); }; } &&
26385 { ac_try='test -s conftest$ac_exeext'
26386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26387 (eval $ac_try) 2>&5
26388 ac_status=$?
26389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26390 (exit $ac_status); }; }; then
26391 glibcxx_cv_func___builtin_fabsl_link=yes
26392 else
26393 echo "$as_me: failed program was:" >&5
26394 sed 's/^/| /' conftest.$ac_ext >&5
26396 glibcxx_cv_func___builtin_fabsl_link=no
26398 rm -f conftest.err conftest.$ac_objext \
26399 conftest$ac_exeext conftest.$ac_ext
26404 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
26405 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
26407 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
26409 cat >>confdefs.h <<\_ACEOF
26410 #define HAVE___BUILTIN_FABSL 1
26411 _ACEOF
26418 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
26419 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
26420 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
26421 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
26422 echo $ECHO_N "(cached) $ECHO_C" >&6
26423 else
26427 ac_ext=cc
26428 ac_cpp='$CXXCPP $CPPFLAGS'
26429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26433 cat >conftest.$ac_ext <<_ACEOF
26434 /* confdefs.h. */
26435 _ACEOF
26436 cat confdefs.h >>conftest.$ac_ext
26437 cat >>conftest.$ac_ext <<_ACEOF
26438 /* end confdefs.h. */
26439 #include <math.h>
26441 main ()
26443 __builtin_labs(0);
26445 return 0;
26447 _ACEOF
26448 rm -f conftest.$ac_objext
26449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26450 (eval $ac_compile) 2>conftest.er1
26451 ac_status=$?
26452 grep -v '^ *+' conftest.er1 >conftest.err
26453 rm -f conftest.er1
26454 cat conftest.err >&5
26455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26456 (exit $ac_status); } &&
26457 { ac_try='test -z "$ac_cxx_werror_flag"
26458 || test ! -s conftest.err'
26459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26460 (eval $ac_try) 2>&5
26461 ac_status=$?
26462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26463 (exit $ac_status); }; } &&
26464 { ac_try='test -s conftest.$ac_objext'
26465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26466 (eval $ac_try) 2>&5
26467 ac_status=$?
26468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26469 (exit $ac_status); }; }; then
26470 glibcxx_cv_func___builtin_labs_use=yes
26471 else
26472 echo "$as_me: failed program was:" >&5
26473 sed 's/^/| /' conftest.$ac_ext >&5
26475 glibcxx_cv_func___builtin_labs_use=no
26477 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26478 ac_ext=c
26479 ac_cpp='$CPP $CPPFLAGS'
26480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26488 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
26489 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
26490 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
26491 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
26492 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
26493 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
26494 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
26495 echo $ECHO_N "(cached) $ECHO_C" >&6
26496 else
26498 if test x$gcc_no_link = xyes; then
26499 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26500 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26501 { (exit 1); exit 1; }; }
26503 cat >conftest.$ac_ext <<_ACEOF
26504 /* confdefs.h. */
26505 _ACEOF
26506 cat confdefs.h >>conftest.$ac_ext
26507 cat >>conftest.$ac_ext <<_ACEOF
26508 /* end confdefs.h. */
26509 #include <math.h>
26511 main ()
26513 __builtin_labs(0);
26515 return 0;
26517 _ACEOF
26518 rm -f conftest.$ac_objext conftest$ac_exeext
26519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26520 (eval $ac_link) 2>conftest.er1
26521 ac_status=$?
26522 grep -v '^ *+' conftest.er1 >conftest.err
26523 rm -f conftest.er1
26524 cat conftest.err >&5
26525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26526 (exit $ac_status); } &&
26527 { ac_try='test -z "$ac_c_werror_flag"
26528 || test ! -s conftest.err'
26529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26530 (eval $ac_try) 2>&5
26531 ac_status=$?
26532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26533 (exit $ac_status); }; } &&
26534 { ac_try='test -s conftest$ac_exeext'
26535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26536 (eval $ac_try) 2>&5
26537 ac_status=$?
26538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26539 (exit $ac_status); }; }; then
26540 glibcxx_cv_func___builtin_labs_link=yes
26541 else
26542 echo "$as_me: failed program was:" >&5
26543 sed 's/^/| /' conftest.$ac_ext >&5
26545 glibcxx_cv_func___builtin_labs_link=no
26547 rm -f conftest.err conftest.$ac_objext \
26548 conftest$ac_exeext conftest.$ac_ext
26553 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
26554 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
26556 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
26558 cat >>confdefs.h <<\_ACEOF
26559 #define HAVE___BUILTIN_LABS 1
26560 _ACEOF
26568 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
26569 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
26570 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
26571 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
26572 echo $ECHO_N "(cached) $ECHO_C" >&6
26573 else
26577 ac_ext=cc
26578 ac_cpp='$CXXCPP $CPPFLAGS'
26579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26583 cat >conftest.$ac_ext <<_ACEOF
26584 /* confdefs.h. */
26585 _ACEOF
26586 cat confdefs.h >>conftest.$ac_ext
26587 cat >>conftest.$ac_ext <<_ACEOF
26588 /* end confdefs.h. */
26589 #include <math.h>
26591 main ()
26593 __builtin_sqrtf(0);
26595 return 0;
26597 _ACEOF
26598 rm -f conftest.$ac_objext
26599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26600 (eval $ac_compile) 2>conftest.er1
26601 ac_status=$?
26602 grep -v '^ *+' conftest.er1 >conftest.err
26603 rm -f conftest.er1
26604 cat conftest.err >&5
26605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26606 (exit $ac_status); } &&
26607 { ac_try='test -z "$ac_cxx_werror_flag"
26608 || test ! -s conftest.err'
26609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26610 (eval $ac_try) 2>&5
26611 ac_status=$?
26612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26613 (exit $ac_status); }; } &&
26614 { ac_try='test -s conftest.$ac_objext'
26615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26616 (eval $ac_try) 2>&5
26617 ac_status=$?
26618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26619 (exit $ac_status); }; }; then
26620 glibcxx_cv_func___builtin_sqrtf_use=yes
26621 else
26622 echo "$as_me: failed program was:" >&5
26623 sed 's/^/| /' conftest.$ac_ext >&5
26625 glibcxx_cv_func___builtin_sqrtf_use=no
26627 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26628 ac_ext=c
26629 ac_cpp='$CPP $CPPFLAGS'
26630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26638 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
26639 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
26640 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
26641 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
26642 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
26643 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
26644 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
26645 echo $ECHO_N "(cached) $ECHO_C" >&6
26646 else
26648 if test x$gcc_no_link = xyes; then
26649 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26650 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26651 { (exit 1); exit 1; }; }
26653 cat >conftest.$ac_ext <<_ACEOF
26654 /* confdefs.h. */
26655 _ACEOF
26656 cat confdefs.h >>conftest.$ac_ext
26657 cat >>conftest.$ac_ext <<_ACEOF
26658 /* end confdefs.h. */
26659 #include <math.h>
26661 main ()
26663 __builtin_sqrtf(0);
26665 return 0;
26667 _ACEOF
26668 rm -f conftest.$ac_objext conftest$ac_exeext
26669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26670 (eval $ac_link) 2>conftest.er1
26671 ac_status=$?
26672 grep -v '^ *+' conftest.er1 >conftest.err
26673 rm -f conftest.er1
26674 cat conftest.err >&5
26675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26676 (exit $ac_status); } &&
26677 { ac_try='test -z "$ac_c_werror_flag"
26678 || test ! -s conftest.err'
26679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26680 (eval $ac_try) 2>&5
26681 ac_status=$?
26682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26683 (exit $ac_status); }; } &&
26684 { ac_try='test -s conftest$ac_exeext'
26685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26686 (eval $ac_try) 2>&5
26687 ac_status=$?
26688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26689 (exit $ac_status); }; }; then
26690 glibcxx_cv_func___builtin_sqrtf_link=yes
26691 else
26692 echo "$as_me: failed program was:" >&5
26693 sed 's/^/| /' conftest.$ac_ext >&5
26695 glibcxx_cv_func___builtin_sqrtf_link=no
26697 rm -f conftest.err conftest.$ac_objext \
26698 conftest$ac_exeext conftest.$ac_ext
26703 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
26704 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
26706 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
26708 cat >>confdefs.h <<\_ACEOF
26709 #define HAVE___BUILTIN_SQRTF 1
26710 _ACEOF
26717 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
26718 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
26719 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
26720 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
26721 echo $ECHO_N "(cached) $ECHO_C" >&6
26722 else
26726 ac_ext=cc
26727 ac_cpp='$CXXCPP $CPPFLAGS'
26728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26732 cat >conftest.$ac_ext <<_ACEOF
26733 /* confdefs.h. */
26734 _ACEOF
26735 cat confdefs.h >>conftest.$ac_ext
26736 cat >>conftest.$ac_ext <<_ACEOF
26737 /* end confdefs.h. */
26738 #include <math.h>
26740 main ()
26742 __builtin_sqrt(0);
26744 return 0;
26746 _ACEOF
26747 rm -f conftest.$ac_objext
26748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26749 (eval $ac_compile) 2>conftest.er1
26750 ac_status=$?
26751 grep -v '^ *+' conftest.er1 >conftest.err
26752 rm -f conftest.er1
26753 cat conftest.err >&5
26754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26755 (exit $ac_status); } &&
26756 { ac_try='test -z "$ac_cxx_werror_flag"
26757 || test ! -s conftest.err'
26758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26759 (eval $ac_try) 2>&5
26760 ac_status=$?
26761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26762 (exit $ac_status); }; } &&
26763 { ac_try='test -s conftest.$ac_objext'
26764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26765 (eval $ac_try) 2>&5
26766 ac_status=$?
26767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26768 (exit $ac_status); }; }; then
26769 glibcxx_cv_func___builtin_sqrt_use=yes
26770 else
26771 echo "$as_me: failed program was:" >&5
26772 sed 's/^/| /' conftest.$ac_ext >&5
26774 glibcxx_cv_func___builtin_sqrt_use=no
26776 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26777 ac_ext=c
26778 ac_cpp='$CPP $CPPFLAGS'
26779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26787 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
26788 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
26789 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
26790 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
26791 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
26792 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
26793 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
26794 echo $ECHO_N "(cached) $ECHO_C" >&6
26795 else
26797 if test x$gcc_no_link = xyes; then
26798 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26799 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26800 { (exit 1); exit 1; }; }
26802 cat >conftest.$ac_ext <<_ACEOF
26803 /* confdefs.h. */
26804 _ACEOF
26805 cat confdefs.h >>conftest.$ac_ext
26806 cat >>conftest.$ac_ext <<_ACEOF
26807 /* end confdefs.h. */
26808 #include <math.h>
26810 main ()
26812 __builtin_sqrt(0);
26814 return 0;
26816 _ACEOF
26817 rm -f conftest.$ac_objext conftest$ac_exeext
26818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26819 (eval $ac_link) 2>conftest.er1
26820 ac_status=$?
26821 grep -v '^ *+' conftest.er1 >conftest.err
26822 rm -f conftest.er1
26823 cat conftest.err >&5
26824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26825 (exit $ac_status); } &&
26826 { ac_try='test -z "$ac_c_werror_flag"
26827 || test ! -s conftest.err'
26828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26829 (eval $ac_try) 2>&5
26830 ac_status=$?
26831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26832 (exit $ac_status); }; } &&
26833 { ac_try='test -s conftest$ac_exeext'
26834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26835 (eval $ac_try) 2>&5
26836 ac_status=$?
26837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26838 (exit $ac_status); }; }; then
26839 glibcxx_cv_func___builtin_sqrt_link=yes
26840 else
26841 echo "$as_me: failed program was:" >&5
26842 sed 's/^/| /' conftest.$ac_ext >&5
26844 glibcxx_cv_func___builtin_sqrt_link=no
26846 rm -f conftest.err conftest.$ac_objext \
26847 conftest$ac_exeext conftest.$ac_ext
26852 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
26853 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
26855 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
26857 cat >>confdefs.h <<\_ACEOF
26858 #define HAVE___BUILTIN_SQRT 1
26859 _ACEOF
26866 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
26867 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
26868 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
26869 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
26870 echo $ECHO_N "(cached) $ECHO_C" >&6
26871 else
26875 ac_ext=cc
26876 ac_cpp='$CXXCPP $CPPFLAGS'
26877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26881 cat >conftest.$ac_ext <<_ACEOF
26882 /* confdefs.h. */
26883 _ACEOF
26884 cat confdefs.h >>conftest.$ac_ext
26885 cat >>conftest.$ac_ext <<_ACEOF
26886 /* end confdefs.h. */
26887 #include <math.h>
26889 main ()
26891 __builtin_sqrtl(0);
26893 return 0;
26895 _ACEOF
26896 rm -f conftest.$ac_objext
26897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26898 (eval $ac_compile) 2>conftest.er1
26899 ac_status=$?
26900 grep -v '^ *+' conftest.er1 >conftest.err
26901 rm -f conftest.er1
26902 cat conftest.err >&5
26903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26904 (exit $ac_status); } &&
26905 { ac_try='test -z "$ac_cxx_werror_flag"
26906 || test ! -s conftest.err'
26907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26908 (eval $ac_try) 2>&5
26909 ac_status=$?
26910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26911 (exit $ac_status); }; } &&
26912 { ac_try='test -s conftest.$ac_objext'
26913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26914 (eval $ac_try) 2>&5
26915 ac_status=$?
26916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26917 (exit $ac_status); }; }; then
26918 glibcxx_cv_func___builtin_sqrtl_use=yes
26919 else
26920 echo "$as_me: failed program was:" >&5
26921 sed 's/^/| /' conftest.$ac_ext >&5
26923 glibcxx_cv_func___builtin_sqrtl_use=no
26925 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26926 ac_ext=c
26927 ac_cpp='$CPP $CPPFLAGS'
26928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26936 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
26937 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
26938 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
26939 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
26940 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
26941 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
26942 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
26943 echo $ECHO_N "(cached) $ECHO_C" >&6
26944 else
26946 if test x$gcc_no_link = xyes; then
26947 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26948 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26949 { (exit 1); exit 1; }; }
26951 cat >conftest.$ac_ext <<_ACEOF
26952 /* confdefs.h. */
26953 _ACEOF
26954 cat confdefs.h >>conftest.$ac_ext
26955 cat >>conftest.$ac_ext <<_ACEOF
26956 /* end confdefs.h. */
26957 #include <math.h>
26959 main ()
26961 __builtin_sqrtl(0);
26963 return 0;
26965 _ACEOF
26966 rm -f conftest.$ac_objext conftest$ac_exeext
26967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26968 (eval $ac_link) 2>conftest.er1
26969 ac_status=$?
26970 grep -v '^ *+' conftest.er1 >conftest.err
26971 rm -f conftest.er1
26972 cat conftest.err >&5
26973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26974 (exit $ac_status); } &&
26975 { ac_try='test -z "$ac_c_werror_flag"
26976 || test ! -s conftest.err'
26977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26978 (eval $ac_try) 2>&5
26979 ac_status=$?
26980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26981 (exit $ac_status); }; } &&
26982 { ac_try='test -s conftest$ac_exeext'
26983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26984 (eval $ac_try) 2>&5
26985 ac_status=$?
26986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26987 (exit $ac_status); }; }; then
26988 glibcxx_cv_func___builtin_sqrtl_link=yes
26989 else
26990 echo "$as_me: failed program was:" >&5
26991 sed 's/^/| /' conftest.$ac_ext >&5
26993 glibcxx_cv_func___builtin_sqrtl_link=no
26995 rm -f conftest.err conftest.$ac_objext \
26996 conftest$ac_exeext conftest.$ac_ext
27001 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
27002 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
27004 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
27006 cat >>confdefs.h <<\_ACEOF
27007 #define HAVE___BUILTIN_SQRTL 1
27008 _ACEOF
27016 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
27017 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
27018 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
27019 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
27020 echo $ECHO_N "(cached) $ECHO_C" >&6
27021 else
27025 ac_ext=cc
27026 ac_cpp='$CXXCPP $CPPFLAGS'
27027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27031 cat >conftest.$ac_ext <<_ACEOF
27032 /* confdefs.h. */
27033 _ACEOF
27034 cat confdefs.h >>conftest.$ac_ext
27035 cat >>conftest.$ac_ext <<_ACEOF
27036 /* end confdefs.h. */
27037 #include <math.h>
27039 main ()
27041 __builtin_sinf(0);
27043 return 0;
27045 _ACEOF
27046 rm -f conftest.$ac_objext
27047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27048 (eval $ac_compile) 2>conftest.er1
27049 ac_status=$?
27050 grep -v '^ *+' conftest.er1 >conftest.err
27051 rm -f conftest.er1
27052 cat conftest.err >&5
27053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27054 (exit $ac_status); } &&
27055 { ac_try='test -z "$ac_cxx_werror_flag"
27056 || test ! -s conftest.err'
27057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27058 (eval $ac_try) 2>&5
27059 ac_status=$?
27060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27061 (exit $ac_status); }; } &&
27062 { ac_try='test -s conftest.$ac_objext'
27063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27064 (eval $ac_try) 2>&5
27065 ac_status=$?
27066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27067 (exit $ac_status); }; }; then
27068 glibcxx_cv_func___builtin_sinf_use=yes
27069 else
27070 echo "$as_me: failed program was:" >&5
27071 sed 's/^/| /' conftest.$ac_ext >&5
27073 glibcxx_cv_func___builtin_sinf_use=no
27075 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27076 ac_ext=c
27077 ac_cpp='$CPP $CPPFLAGS'
27078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27086 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
27087 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
27088 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
27089 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
27090 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
27091 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
27092 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
27093 echo $ECHO_N "(cached) $ECHO_C" >&6
27094 else
27096 if test x$gcc_no_link = xyes; then
27097 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27098 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27099 { (exit 1); exit 1; }; }
27101 cat >conftest.$ac_ext <<_ACEOF
27102 /* confdefs.h. */
27103 _ACEOF
27104 cat confdefs.h >>conftest.$ac_ext
27105 cat >>conftest.$ac_ext <<_ACEOF
27106 /* end confdefs.h. */
27107 #include <math.h>
27109 main ()
27111 __builtin_sinf(0);
27113 return 0;
27115 _ACEOF
27116 rm -f conftest.$ac_objext conftest$ac_exeext
27117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27118 (eval $ac_link) 2>conftest.er1
27119 ac_status=$?
27120 grep -v '^ *+' conftest.er1 >conftest.err
27121 rm -f conftest.er1
27122 cat conftest.err >&5
27123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27124 (exit $ac_status); } &&
27125 { ac_try='test -z "$ac_c_werror_flag"
27126 || test ! -s conftest.err'
27127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27128 (eval $ac_try) 2>&5
27129 ac_status=$?
27130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27131 (exit $ac_status); }; } &&
27132 { ac_try='test -s conftest$ac_exeext'
27133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27134 (eval $ac_try) 2>&5
27135 ac_status=$?
27136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27137 (exit $ac_status); }; }; then
27138 glibcxx_cv_func___builtin_sinf_link=yes
27139 else
27140 echo "$as_me: failed program was:" >&5
27141 sed 's/^/| /' conftest.$ac_ext >&5
27143 glibcxx_cv_func___builtin_sinf_link=no
27145 rm -f conftest.err conftest.$ac_objext \
27146 conftest$ac_exeext conftest.$ac_ext
27151 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
27152 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
27154 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
27156 cat >>confdefs.h <<\_ACEOF
27157 #define HAVE___BUILTIN_SINF 1
27158 _ACEOF
27165 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
27166 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
27167 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
27168 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
27169 echo $ECHO_N "(cached) $ECHO_C" >&6
27170 else
27174 ac_ext=cc
27175 ac_cpp='$CXXCPP $CPPFLAGS'
27176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27180 cat >conftest.$ac_ext <<_ACEOF
27181 /* confdefs.h. */
27182 _ACEOF
27183 cat confdefs.h >>conftest.$ac_ext
27184 cat >>conftest.$ac_ext <<_ACEOF
27185 /* end confdefs.h. */
27186 #include <math.h>
27188 main ()
27190 __builtin_sin(0);
27192 return 0;
27194 _ACEOF
27195 rm -f conftest.$ac_objext
27196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27197 (eval $ac_compile) 2>conftest.er1
27198 ac_status=$?
27199 grep -v '^ *+' conftest.er1 >conftest.err
27200 rm -f conftest.er1
27201 cat conftest.err >&5
27202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27203 (exit $ac_status); } &&
27204 { ac_try='test -z "$ac_cxx_werror_flag"
27205 || test ! -s conftest.err'
27206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27207 (eval $ac_try) 2>&5
27208 ac_status=$?
27209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27210 (exit $ac_status); }; } &&
27211 { ac_try='test -s conftest.$ac_objext'
27212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27213 (eval $ac_try) 2>&5
27214 ac_status=$?
27215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27216 (exit $ac_status); }; }; then
27217 glibcxx_cv_func___builtin_sin_use=yes
27218 else
27219 echo "$as_me: failed program was:" >&5
27220 sed 's/^/| /' conftest.$ac_ext >&5
27222 glibcxx_cv_func___builtin_sin_use=no
27224 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27225 ac_ext=c
27226 ac_cpp='$CPP $CPPFLAGS'
27227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27235 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
27236 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
27237 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
27238 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
27239 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
27240 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
27241 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
27242 echo $ECHO_N "(cached) $ECHO_C" >&6
27243 else
27245 if test x$gcc_no_link = xyes; then
27246 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27247 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27248 { (exit 1); exit 1; }; }
27250 cat >conftest.$ac_ext <<_ACEOF
27251 /* confdefs.h. */
27252 _ACEOF
27253 cat confdefs.h >>conftest.$ac_ext
27254 cat >>conftest.$ac_ext <<_ACEOF
27255 /* end confdefs.h. */
27256 #include <math.h>
27258 main ()
27260 __builtin_sin(0);
27262 return 0;
27264 _ACEOF
27265 rm -f conftest.$ac_objext conftest$ac_exeext
27266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27267 (eval $ac_link) 2>conftest.er1
27268 ac_status=$?
27269 grep -v '^ *+' conftest.er1 >conftest.err
27270 rm -f conftest.er1
27271 cat conftest.err >&5
27272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27273 (exit $ac_status); } &&
27274 { ac_try='test -z "$ac_c_werror_flag"
27275 || test ! -s conftest.err'
27276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27277 (eval $ac_try) 2>&5
27278 ac_status=$?
27279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27280 (exit $ac_status); }; } &&
27281 { ac_try='test -s conftest$ac_exeext'
27282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27283 (eval $ac_try) 2>&5
27284 ac_status=$?
27285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27286 (exit $ac_status); }; }; then
27287 glibcxx_cv_func___builtin_sin_link=yes
27288 else
27289 echo "$as_me: failed program was:" >&5
27290 sed 's/^/| /' conftest.$ac_ext >&5
27292 glibcxx_cv_func___builtin_sin_link=no
27294 rm -f conftest.err conftest.$ac_objext \
27295 conftest$ac_exeext conftest.$ac_ext
27300 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
27301 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
27303 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
27305 cat >>confdefs.h <<\_ACEOF
27306 #define HAVE___BUILTIN_SIN 1
27307 _ACEOF
27314 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
27315 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
27316 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
27317 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
27318 echo $ECHO_N "(cached) $ECHO_C" >&6
27319 else
27323 ac_ext=cc
27324 ac_cpp='$CXXCPP $CPPFLAGS'
27325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27329 cat >conftest.$ac_ext <<_ACEOF
27330 /* confdefs.h. */
27331 _ACEOF
27332 cat confdefs.h >>conftest.$ac_ext
27333 cat >>conftest.$ac_ext <<_ACEOF
27334 /* end confdefs.h. */
27335 #include <math.h>
27337 main ()
27339 __builtin_sinl(0);
27341 return 0;
27343 _ACEOF
27344 rm -f conftest.$ac_objext
27345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27346 (eval $ac_compile) 2>conftest.er1
27347 ac_status=$?
27348 grep -v '^ *+' conftest.er1 >conftest.err
27349 rm -f conftest.er1
27350 cat conftest.err >&5
27351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27352 (exit $ac_status); } &&
27353 { ac_try='test -z "$ac_cxx_werror_flag"
27354 || test ! -s conftest.err'
27355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27356 (eval $ac_try) 2>&5
27357 ac_status=$?
27358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27359 (exit $ac_status); }; } &&
27360 { ac_try='test -s conftest.$ac_objext'
27361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27362 (eval $ac_try) 2>&5
27363 ac_status=$?
27364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27365 (exit $ac_status); }; }; then
27366 glibcxx_cv_func___builtin_sinl_use=yes
27367 else
27368 echo "$as_me: failed program was:" >&5
27369 sed 's/^/| /' conftest.$ac_ext >&5
27371 glibcxx_cv_func___builtin_sinl_use=no
27373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27374 ac_ext=c
27375 ac_cpp='$CPP $CPPFLAGS'
27376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27384 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
27385 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
27386 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
27387 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
27388 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
27389 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
27390 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
27391 echo $ECHO_N "(cached) $ECHO_C" >&6
27392 else
27394 if test x$gcc_no_link = xyes; then
27395 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27396 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27397 { (exit 1); exit 1; }; }
27399 cat >conftest.$ac_ext <<_ACEOF
27400 /* confdefs.h. */
27401 _ACEOF
27402 cat confdefs.h >>conftest.$ac_ext
27403 cat >>conftest.$ac_ext <<_ACEOF
27404 /* end confdefs.h. */
27405 #include <math.h>
27407 main ()
27409 __builtin_sinl(0);
27411 return 0;
27413 _ACEOF
27414 rm -f conftest.$ac_objext conftest$ac_exeext
27415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27416 (eval $ac_link) 2>conftest.er1
27417 ac_status=$?
27418 grep -v '^ *+' conftest.er1 >conftest.err
27419 rm -f conftest.er1
27420 cat conftest.err >&5
27421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27422 (exit $ac_status); } &&
27423 { ac_try='test -z "$ac_c_werror_flag"
27424 || test ! -s conftest.err'
27425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27426 (eval $ac_try) 2>&5
27427 ac_status=$?
27428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27429 (exit $ac_status); }; } &&
27430 { ac_try='test -s conftest$ac_exeext'
27431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27432 (eval $ac_try) 2>&5
27433 ac_status=$?
27434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27435 (exit $ac_status); }; }; then
27436 glibcxx_cv_func___builtin_sinl_link=yes
27437 else
27438 echo "$as_me: failed program was:" >&5
27439 sed 's/^/| /' conftest.$ac_ext >&5
27441 glibcxx_cv_func___builtin_sinl_link=no
27443 rm -f conftest.err conftest.$ac_objext \
27444 conftest$ac_exeext conftest.$ac_ext
27449 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
27450 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
27452 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
27454 cat >>confdefs.h <<\_ACEOF
27455 #define HAVE___BUILTIN_SINL 1
27456 _ACEOF
27464 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
27465 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
27466 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
27467 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
27468 echo $ECHO_N "(cached) $ECHO_C" >&6
27469 else
27473 ac_ext=cc
27474 ac_cpp='$CXXCPP $CPPFLAGS'
27475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27479 cat >conftest.$ac_ext <<_ACEOF
27480 /* confdefs.h. */
27481 _ACEOF
27482 cat confdefs.h >>conftest.$ac_ext
27483 cat >>conftest.$ac_ext <<_ACEOF
27484 /* end confdefs.h. */
27485 #include <math.h>
27487 main ()
27489 __builtin_cosf(0);
27491 return 0;
27493 _ACEOF
27494 rm -f conftest.$ac_objext
27495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27496 (eval $ac_compile) 2>conftest.er1
27497 ac_status=$?
27498 grep -v '^ *+' conftest.er1 >conftest.err
27499 rm -f conftest.er1
27500 cat conftest.err >&5
27501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27502 (exit $ac_status); } &&
27503 { ac_try='test -z "$ac_cxx_werror_flag"
27504 || test ! -s conftest.err'
27505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27506 (eval $ac_try) 2>&5
27507 ac_status=$?
27508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27509 (exit $ac_status); }; } &&
27510 { ac_try='test -s conftest.$ac_objext'
27511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27512 (eval $ac_try) 2>&5
27513 ac_status=$?
27514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27515 (exit $ac_status); }; }; then
27516 glibcxx_cv_func___builtin_cosf_use=yes
27517 else
27518 echo "$as_me: failed program was:" >&5
27519 sed 's/^/| /' conftest.$ac_ext >&5
27521 glibcxx_cv_func___builtin_cosf_use=no
27523 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27524 ac_ext=c
27525 ac_cpp='$CPP $CPPFLAGS'
27526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27534 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
27535 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
27536 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
27537 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
27538 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
27539 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
27540 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
27541 echo $ECHO_N "(cached) $ECHO_C" >&6
27542 else
27544 if test x$gcc_no_link = xyes; then
27545 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27546 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27547 { (exit 1); exit 1; }; }
27549 cat >conftest.$ac_ext <<_ACEOF
27550 /* confdefs.h. */
27551 _ACEOF
27552 cat confdefs.h >>conftest.$ac_ext
27553 cat >>conftest.$ac_ext <<_ACEOF
27554 /* end confdefs.h. */
27555 #include <math.h>
27557 main ()
27559 __builtin_cosf(0);
27561 return 0;
27563 _ACEOF
27564 rm -f conftest.$ac_objext conftest$ac_exeext
27565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27566 (eval $ac_link) 2>conftest.er1
27567 ac_status=$?
27568 grep -v '^ *+' conftest.er1 >conftest.err
27569 rm -f conftest.er1
27570 cat conftest.err >&5
27571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27572 (exit $ac_status); } &&
27573 { ac_try='test -z "$ac_c_werror_flag"
27574 || test ! -s conftest.err'
27575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27576 (eval $ac_try) 2>&5
27577 ac_status=$?
27578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27579 (exit $ac_status); }; } &&
27580 { ac_try='test -s conftest$ac_exeext'
27581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27582 (eval $ac_try) 2>&5
27583 ac_status=$?
27584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27585 (exit $ac_status); }; }; then
27586 glibcxx_cv_func___builtin_cosf_link=yes
27587 else
27588 echo "$as_me: failed program was:" >&5
27589 sed 's/^/| /' conftest.$ac_ext >&5
27591 glibcxx_cv_func___builtin_cosf_link=no
27593 rm -f conftest.err conftest.$ac_objext \
27594 conftest$ac_exeext conftest.$ac_ext
27599 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
27600 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
27602 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
27604 cat >>confdefs.h <<\_ACEOF
27605 #define HAVE___BUILTIN_COSF 1
27606 _ACEOF
27613 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
27614 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
27615 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
27616 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
27617 echo $ECHO_N "(cached) $ECHO_C" >&6
27618 else
27622 ac_ext=cc
27623 ac_cpp='$CXXCPP $CPPFLAGS'
27624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27628 cat >conftest.$ac_ext <<_ACEOF
27629 /* confdefs.h. */
27630 _ACEOF
27631 cat confdefs.h >>conftest.$ac_ext
27632 cat >>conftest.$ac_ext <<_ACEOF
27633 /* end confdefs.h. */
27634 #include <math.h>
27636 main ()
27638 __builtin_cos(0);
27640 return 0;
27642 _ACEOF
27643 rm -f conftest.$ac_objext
27644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27645 (eval $ac_compile) 2>conftest.er1
27646 ac_status=$?
27647 grep -v '^ *+' conftest.er1 >conftest.err
27648 rm -f conftest.er1
27649 cat conftest.err >&5
27650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27651 (exit $ac_status); } &&
27652 { ac_try='test -z "$ac_cxx_werror_flag"
27653 || test ! -s conftest.err'
27654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27655 (eval $ac_try) 2>&5
27656 ac_status=$?
27657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27658 (exit $ac_status); }; } &&
27659 { ac_try='test -s conftest.$ac_objext'
27660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27661 (eval $ac_try) 2>&5
27662 ac_status=$?
27663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27664 (exit $ac_status); }; }; then
27665 glibcxx_cv_func___builtin_cos_use=yes
27666 else
27667 echo "$as_me: failed program was:" >&5
27668 sed 's/^/| /' conftest.$ac_ext >&5
27670 glibcxx_cv_func___builtin_cos_use=no
27672 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27673 ac_ext=c
27674 ac_cpp='$CPP $CPPFLAGS'
27675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27683 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
27684 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
27685 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
27686 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
27687 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
27688 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
27689 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
27690 echo $ECHO_N "(cached) $ECHO_C" >&6
27691 else
27693 if test x$gcc_no_link = xyes; then
27694 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27695 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27696 { (exit 1); exit 1; }; }
27698 cat >conftest.$ac_ext <<_ACEOF
27699 /* confdefs.h. */
27700 _ACEOF
27701 cat confdefs.h >>conftest.$ac_ext
27702 cat >>conftest.$ac_ext <<_ACEOF
27703 /* end confdefs.h. */
27704 #include <math.h>
27706 main ()
27708 __builtin_cos(0);
27710 return 0;
27712 _ACEOF
27713 rm -f conftest.$ac_objext conftest$ac_exeext
27714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27715 (eval $ac_link) 2>conftest.er1
27716 ac_status=$?
27717 grep -v '^ *+' conftest.er1 >conftest.err
27718 rm -f conftest.er1
27719 cat conftest.err >&5
27720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27721 (exit $ac_status); } &&
27722 { ac_try='test -z "$ac_c_werror_flag"
27723 || test ! -s conftest.err'
27724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27725 (eval $ac_try) 2>&5
27726 ac_status=$?
27727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27728 (exit $ac_status); }; } &&
27729 { ac_try='test -s conftest$ac_exeext'
27730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27731 (eval $ac_try) 2>&5
27732 ac_status=$?
27733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27734 (exit $ac_status); }; }; then
27735 glibcxx_cv_func___builtin_cos_link=yes
27736 else
27737 echo "$as_me: failed program was:" >&5
27738 sed 's/^/| /' conftest.$ac_ext >&5
27740 glibcxx_cv_func___builtin_cos_link=no
27742 rm -f conftest.err conftest.$ac_objext \
27743 conftest$ac_exeext conftest.$ac_ext
27748 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
27749 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
27751 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
27753 cat >>confdefs.h <<\_ACEOF
27754 #define HAVE___BUILTIN_COS 1
27755 _ACEOF
27762 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
27763 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
27764 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
27765 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
27766 echo $ECHO_N "(cached) $ECHO_C" >&6
27767 else
27771 ac_ext=cc
27772 ac_cpp='$CXXCPP $CPPFLAGS'
27773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27777 cat >conftest.$ac_ext <<_ACEOF
27778 /* confdefs.h. */
27779 _ACEOF
27780 cat confdefs.h >>conftest.$ac_ext
27781 cat >>conftest.$ac_ext <<_ACEOF
27782 /* end confdefs.h. */
27783 #include <math.h>
27785 main ()
27787 __builtin_cosl(0);
27789 return 0;
27791 _ACEOF
27792 rm -f conftest.$ac_objext
27793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27794 (eval $ac_compile) 2>conftest.er1
27795 ac_status=$?
27796 grep -v '^ *+' conftest.er1 >conftest.err
27797 rm -f conftest.er1
27798 cat conftest.err >&5
27799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27800 (exit $ac_status); } &&
27801 { ac_try='test -z "$ac_cxx_werror_flag"
27802 || test ! -s conftest.err'
27803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27804 (eval $ac_try) 2>&5
27805 ac_status=$?
27806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27807 (exit $ac_status); }; } &&
27808 { ac_try='test -s conftest.$ac_objext'
27809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27810 (eval $ac_try) 2>&5
27811 ac_status=$?
27812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27813 (exit $ac_status); }; }; then
27814 glibcxx_cv_func___builtin_cosl_use=yes
27815 else
27816 echo "$as_me: failed program was:" >&5
27817 sed 's/^/| /' conftest.$ac_ext >&5
27819 glibcxx_cv_func___builtin_cosl_use=no
27821 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27822 ac_ext=c
27823 ac_cpp='$CPP $CPPFLAGS'
27824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27832 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
27833 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
27834 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
27835 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
27836 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
27837 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
27838 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
27839 echo $ECHO_N "(cached) $ECHO_C" >&6
27840 else
27842 if test x$gcc_no_link = xyes; then
27843 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27844 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27845 { (exit 1); exit 1; }; }
27847 cat >conftest.$ac_ext <<_ACEOF
27848 /* confdefs.h. */
27849 _ACEOF
27850 cat confdefs.h >>conftest.$ac_ext
27851 cat >>conftest.$ac_ext <<_ACEOF
27852 /* end confdefs.h. */
27853 #include <math.h>
27855 main ()
27857 __builtin_cosl(0);
27859 return 0;
27861 _ACEOF
27862 rm -f conftest.$ac_objext conftest$ac_exeext
27863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27864 (eval $ac_link) 2>conftest.er1
27865 ac_status=$?
27866 grep -v '^ *+' conftest.er1 >conftest.err
27867 rm -f conftest.er1
27868 cat conftest.err >&5
27869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27870 (exit $ac_status); } &&
27871 { ac_try='test -z "$ac_c_werror_flag"
27872 || test ! -s conftest.err'
27873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27874 (eval $ac_try) 2>&5
27875 ac_status=$?
27876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27877 (exit $ac_status); }; } &&
27878 { ac_try='test -s conftest$ac_exeext'
27879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27880 (eval $ac_try) 2>&5
27881 ac_status=$?
27882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27883 (exit $ac_status); }; }; then
27884 glibcxx_cv_func___builtin_cosl_link=yes
27885 else
27886 echo "$as_me: failed program was:" >&5
27887 sed 's/^/| /' conftest.$ac_ext >&5
27889 glibcxx_cv_func___builtin_cosl_link=no
27891 rm -f conftest.err conftest.$ac_objext \
27892 conftest$ac_exeext conftest.$ac_ext
27897 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
27898 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
27900 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
27902 cat >>confdefs.h <<\_ACEOF
27903 #define HAVE___BUILTIN_COSL 1
27904 _ACEOF
27913 echo "$as_me:$LINENO: checking for main in -lm" >&5
27914 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
27915 if test "${ac_cv_lib_m_main+set}" = set; then
27916 echo $ECHO_N "(cached) $ECHO_C" >&6
27917 else
27918 ac_check_lib_save_LIBS=$LIBS
27919 LIBS="-lm $LIBS"
27920 if test x$gcc_no_link = xyes; then
27921 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27922 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27923 { (exit 1); exit 1; }; }
27925 cat >conftest.$ac_ext <<_ACEOF
27926 /* confdefs.h. */
27927 _ACEOF
27928 cat confdefs.h >>conftest.$ac_ext
27929 cat >>conftest.$ac_ext <<_ACEOF
27930 /* end confdefs.h. */
27934 main ()
27936 main ();
27938 return 0;
27940 _ACEOF
27941 rm -f conftest.$ac_objext conftest$ac_exeext
27942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27943 (eval $ac_link) 2>conftest.er1
27944 ac_status=$?
27945 grep -v '^ *+' conftest.er1 >conftest.err
27946 rm -f conftest.er1
27947 cat conftest.err >&5
27948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27949 (exit $ac_status); } &&
27950 { ac_try='test -z "$ac_c_werror_flag"
27951 || test ! -s conftest.err'
27952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27953 (eval $ac_try) 2>&5
27954 ac_status=$?
27955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27956 (exit $ac_status); }; } &&
27957 { ac_try='test -s conftest$ac_exeext'
27958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27959 (eval $ac_try) 2>&5
27960 ac_status=$?
27961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27962 (exit $ac_status); }; }; then
27963 ac_cv_lib_m_main=yes
27964 else
27965 echo "$as_me: failed program was:" >&5
27966 sed 's/^/| /' conftest.$ac_ext >&5
27968 ac_cv_lib_m_main=no
27970 rm -f conftest.err conftest.$ac_objext \
27971 conftest$ac_exeext conftest.$ac_ext
27972 LIBS=$ac_check_lib_save_LIBS
27974 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
27975 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
27976 if test $ac_cv_lib_m_main = yes; then
27977 cat >>confdefs.h <<_ACEOF
27978 #define HAVE_LIBM 1
27979 _ACEOF
27981 LIBS="-lm $LIBS"
27986 for ac_func in copysignf
27988 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27989 echo "$as_me:$LINENO: checking for $ac_func" >&5
27990 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27991 if eval "test \"\${$as_ac_var+set}\" = set"; then
27992 echo $ECHO_N "(cached) $ECHO_C" >&6
27993 else
27994 if test x$gcc_no_link = xyes; then
27995 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27996 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27997 { (exit 1); exit 1; }; }
27999 cat >conftest.$ac_ext <<_ACEOF
28000 /* confdefs.h. */
28001 _ACEOF
28002 cat confdefs.h >>conftest.$ac_ext
28003 cat >>conftest.$ac_ext <<_ACEOF
28004 /* end confdefs.h. */
28005 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28006 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28007 #define $ac_func innocuous_$ac_func
28009 /* System header to define __stub macros and hopefully few prototypes,
28010 which can conflict with char $ac_func (); below.
28011 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28012 <limits.h> exists even on freestanding compilers. */
28014 #ifdef __STDC__
28015 # include <limits.h>
28016 #else
28017 # include <assert.h>
28018 #endif
28020 #undef $ac_func
28022 /* Override any gcc2 internal prototype to avoid an error. */
28023 #ifdef __cplusplus
28024 extern "C"
28026 #endif
28027 /* We use char because int might match the return type of a gcc2
28028 builtin and then its argument prototype would still apply. */
28029 char $ac_func ();
28030 /* The GNU C library defines this for functions which it implements
28031 to always fail with ENOSYS. Some functions are actually named
28032 something starting with __ and the normal name is an alias. */
28033 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28034 choke me
28035 #else
28036 char (*f) () = $ac_func;
28037 #endif
28038 #ifdef __cplusplus
28040 #endif
28043 main ()
28045 return f != $ac_func;
28047 return 0;
28049 _ACEOF
28050 rm -f conftest.$ac_objext conftest$ac_exeext
28051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28052 (eval $ac_link) 2>conftest.er1
28053 ac_status=$?
28054 grep -v '^ *+' conftest.er1 >conftest.err
28055 rm -f conftest.er1
28056 cat conftest.err >&5
28057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28058 (exit $ac_status); } &&
28059 { ac_try='test -z "$ac_c_werror_flag"
28060 || test ! -s conftest.err'
28061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28062 (eval $ac_try) 2>&5
28063 ac_status=$?
28064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28065 (exit $ac_status); }; } &&
28066 { ac_try='test -s conftest$ac_exeext'
28067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28068 (eval $ac_try) 2>&5
28069 ac_status=$?
28070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28071 (exit $ac_status); }; }; then
28072 eval "$as_ac_var=yes"
28073 else
28074 echo "$as_me: failed program was:" >&5
28075 sed 's/^/| /' conftest.$ac_ext >&5
28077 eval "$as_ac_var=no"
28079 rm -f conftest.err conftest.$ac_objext \
28080 conftest$ac_exeext conftest.$ac_ext
28082 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28083 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28084 if test `eval echo '${'$as_ac_var'}'` = yes; then
28085 cat >>confdefs.h <<_ACEOF
28086 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28087 _ACEOF
28089 else
28090 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
28092 done
28096 for ac_func in __signbit
28098 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28099 echo "$as_me:$LINENO: checking for $ac_func" >&5
28100 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28101 if eval "test \"\${$as_ac_var+set}\" = set"; then
28102 echo $ECHO_N "(cached) $ECHO_C" >&6
28103 else
28104 if test x$gcc_no_link = xyes; then
28105 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28106 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28107 { (exit 1); exit 1; }; }
28109 cat >conftest.$ac_ext <<_ACEOF
28110 /* confdefs.h. */
28111 _ACEOF
28112 cat confdefs.h >>conftest.$ac_ext
28113 cat >>conftest.$ac_ext <<_ACEOF
28114 /* end confdefs.h. */
28115 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28116 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28117 #define $ac_func innocuous_$ac_func
28119 /* System header to define __stub macros and hopefully few prototypes,
28120 which can conflict with char $ac_func (); below.
28121 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28122 <limits.h> exists even on freestanding compilers. */
28124 #ifdef __STDC__
28125 # include <limits.h>
28126 #else
28127 # include <assert.h>
28128 #endif
28130 #undef $ac_func
28132 /* Override any gcc2 internal prototype to avoid an error. */
28133 #ifdef __cplusplus
28134 extern "C"
28136 #endif
28137 /* We use char because int might match the return type of a gcc2
28138 builtin and then its argument prototype would still apply. */
28139 char $ac_func ();
28140 /* The GNU C library defines this for functions which it implements
28141 to always fail with ENOSYS. Some functions are actually named
28142 something starting with __ and the normal name is an alias. */
28143 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28144 choke me
28145 #else
28146 char (*f) () = $ac_func;
28147 #endif
28148 #ifdef __cplusplus
28150 #endif
28153 main ()
28155 return f != $ac_func;
28157 return 0;
28159 _ACEOF
28160 rm -f conftest.$ac_objext conftest$ac_exeext
28161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28162 (eval $ac_link) 2>conftest.er1
28163 ac_status=$?
28164 grep -v '^ *+' conftest.er1 >conftest.err
28165 rm -f conftest.er1
28166 cat conftest.err >&5
28167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28168 (exit $ac_status); } &&
28169 { ac_try='test -z "$ac_c_werror_flag"
28170 || test ! -s conftest.err'
28171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28172 (eval $ac_try) 2>&5
28173 ac_status=$?
28174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28175 (exit $ac_status); }; } &&
28176 { ac_try='test -s conftest$ac_exeext'
28177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28178 (eval $ac_try) 2>&5
28179 ac_status=$?
28180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28181 (exit $ac_status); }; }; then
28182 eval "$as_ac_var=yes"
28183 else
28184 echo "$as_me: failed program was:" >&5
28185 sed 's/^/| /' conftest.$ac_ext >&5
28187 eval "$as_ac_var=no"
28189 rm -f conftest.err conftest.$ac_objext \
28190 conftest$ac_exeext conftest.$ac_ext
28192 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28193 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28194 if test `eval echo '${'$as_ac_var'}'` = yes; then
28195 cat >>confdefs.h <<_ACEOF
28196 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28197 _ACEOF
28199 else
28200 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
28202 done
28206 for ac_func in __signbitf
28208 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28209 echo "$as_me:$LINENO: checking for $ac_func" >&5
28210 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28211 if eval "test \"\${$as_ac_var+set}\" = set"; then
28212 echo $ECHO_N "(cached) $ECHO_C" >&6
28213 else
28214 if test x$gcc_no_link = xyes; then
28215 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28216 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28217 { (exit 1); exit 1; }; }
28219 cat >conftest.$ac_ext <<_ACEOF
28220 /* confdefs.h. */
28221 _ACEOF
28222 cat confdefs.h >>conftest.$ac_ext
28223 cat >>conftest.$ac_ext <<_ACEOF
28224 /* end confdefs.h. */
28225 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28226 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28227 #define $ac_func innocuous_$ac_func
28229 /* System header to define __stub macros and hopefully few prototypes,
28230 which can conflict with char $ac_func (); below.
28231 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28232 <limits.h> exists even on freestanding compilers. */
28234 #ifdef __STDC__
28235 # include <limits.h>
28236 #else
28237 # include <assert.h>
28238 #endif
28240 #undef $ac_func
28242 /* Override any gcc2 internal prototype to avoid an error. */
28243 #ifdef __cplusplus
28244 extern "C"
28246 #endif
28247 /* We use char because int might match the return type of a gcc2
28248 builtin and then its argument prototype would still apply. */
28249 char $ac_func ();
28250 /* The GNU C library defines this for functions which it implements
28251 to always fail with ENOSYS. Some functions are actually named
28252 something starting with __ and the normal name is an alias. */
28253 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28254 choke me
28255 #else
28256 char (*f) () = $ac_func;
28257 #endif
28258 #ifdef __cplusplus
28260 #endif
28263 main ()
28265 return f != $ac_func;
28267 return 0;
28269 _ACEOF
28270 rm -f conftest.$ac_objext conftest$ac_exeext
28271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28272 (eval $ac_link) 2>conftest.er1
28273 ac_status=$?
28274 grep -v '^ *+' conftest.er1 >conftest.err
28275 rm -f conftest.er1
28276 cat conftest.err >&5
28277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28278 (exit $ac_status); } &&
28279 { ac_try='test -z "$ac_c_werror_flag"
28280 || test ! -s conftest.err'
28281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28282 (eval $ac_try) 2>&5
28283 ac_status=$?
28284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28285 (exit $ac_status); }; } &&
28286 { ac_try='test -s conftest$ac_exeext'
28287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28288 (eval $ac_try) 2>&5
28289 ac_status=$?
28290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28291 (exit $ac_status); }; }; then
28292 eval "$as_ac_var=yes"
28293 else
28294 echo "$as_me: failed program was:" >&5
28295 sed 's/^/| /' conftest.$ac_ext >&5
28297 eval "$as_ac_var=no"
28299 rm -f conftest.err conftest.$ac_objext \
28300 conftest$ac_exeext conftest.$ac_ext
28302 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28303 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28304 if test `eval echo '${'$as_ac_var'}'` = yes; then
28305 cat >>confdefs.h <<_ACEOF
28306 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28307 _ACEOF
28309 else
28310 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
28312 done
28315 if test x$ac_cv_func_copysignl = x"yes"; then
28317 for ac_func in __signbitl
28319 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28320 echo "$as_me:$LINENO: checking for $ac_func" >&5
28321 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28322 if eval "test \"\${$as_ac_var+set}\" = set"; then
28323 echo $ECHO_N "(cached) $ECHO_C" >&6
28324 else
28325 if test x$gcc_no_link = xyes; then
28326 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28327 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28328 { (exit 1); exit 1; }; }
28330 cat >conftest.$ac_ext <<_ACEOF
28331 /* confdefs.h. */
28332 _ACEOF
28333 cat confdefs.h >>conftest.$ac_ext
28334 cat >>conftest.$ac_ext <<_ACEOF
28335 /* end confdefs.h. */
28336 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28337 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28338 #define $ac_func innocuous_$ac_func
28340 /* System header to define __stub macros and hopefully few prototypes,
28341 which can conflict with char $ac_func (); below.
28342 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28343 <limits.h> exists even on freestanding compilers. */
28345 #ifdef __STDC__
28346 # include <limits.h>
28347 #else
28348 # include <assert.h>
28349 #endif
28351 #undef $ac_func
28353 /* Override any gcc2 internal prototype to avoid an error. */
28354 #ifdef __cplusplus
28355 extern "C"
28357 #endif
28358 /* We use char because int might match the return type of a gcc2
28359 builtin and then its argument prototype would still apply. */
28360 char $ac_func ();
28361 /* The GNU C library defines this for functions which it implements
28362 to always fail with ENOSYS. Some functions are actually named
28363 something starting with __ and the normal name is an alias. */
28364 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28365 choke me
28366 #else
28367 char (*f) () = $ac_func;
28368 #endif
28369 #ifdef __cplusplus
28371 #endif
28374 main ()
28376 return f != $ac_func;
28378 return 0;
28380 _ACEOF
28381 rm -f conftest.$ac_objext conftest$ac_exeext
28382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28383 (eval $ac_link) 2>conftest.er1
28384 ac_status=$?
28385 grep -v '^ *+' conftest.er1 >conftest.err
28386 rm -f conftest.er1
28387 cat conftest.err >&5
28388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28389 (exit $ac_status); } &&
28390 { ac_try='test -z "$ac_c_werror_flag"
28391 || test ! -s conftest.err'
28392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28393 (eval $ac_try) 2>&5
28394 ac_status=$?
28395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28396 (exit $ac_status); }; } &&
28397 { ac_try='test -s conftest$ac_exeext'
28398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28399 (eval $ac_try) 2>&5
28400 ac_status=$?
28401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28402 (exit $ac_status); }; }; then
28403 eval "$as_ac_var=yes"
28404 else
28405 echo "$as_me: failed program was:" >&5
28406 sed 's/^/| /' conftest.$ac_ext >&5
28408 eval "$as_ac_var=no"
28410 rm -f conftest.err conftest.$ac_objext \
28411 conftest$ac_exeext conftest.$ac_ext
28413 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28414 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28415 if test `eval echo '${'$as_ac_var'}'` = yes; then
28416 cat >>confdefs.h <<_ACEOF
28417 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28418 _ACEOF
28420 else
28421 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
28423 done
28427 # Used in libmath/Makefile.am.
28428 if test -n "$LIBMATHOBJS"; then
28429 need_libmath=yes
28435 enable_iconv=no
28436 # Only continue checking if the ISO C99 headers exist and support is on.
28437 if test x"$enable_wchar_t" = xyes; then
28439 # Use iconv for wchar_t to char conversions. As such, check for
28440 # X/Open Portability Guide, version 2 features (XPG2).
28441 if test "${ac_cv_header_iconv_h+set}" = set; then
28442 echo "$as_me:$LINENO: checking for iconv.h" >&5
28443 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28444 if test "${ac_cv_header_iconv_h+set}" = set; then
28445 echo $ECHO_N "(cached) $ECHO_C" >&6
28447 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28448 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28449 else
28450 # Is the header compilable?
28451 echo "$as_me:$LINENO: checking iconv.h usability" >&5
28452 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
28453 cat >conftest.$ac_ext <<_ACEOF
28454 /* confdefs.h. */
28455 _ACEOF
28456 cat confdefs.h >>conftest.$ac_ext
28457 cat >>conftest.$ac_ext <<_ACEOF
28458 /* end confdefs.h. */
28459 $ac_includes_default
28460 #include <iconv.h>
28461 _ACEOF
28462 rm -f conftest.$ac_objext
28463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28464 (eval $ac_compile) 2>conftest.er1
28465 ac_status=$?
28466 grep -v '^ *+' conftest.er1 >conftest.err
28467 rm -f conftest.er1
28468 cat conftest.err >&5
28469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28470 (exit $ac_status); } &&
28471 { ac_try='test -z "$ac_c_werror_flag"
28472 || test ! -s conftest.err'
28473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28474 (eval $ac_try) 2>&5
28475 ac_status=$?
28476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28477 (exit $ac_status); }; } &&
28478 { ac_try='test -s conftest.$ac_objext'
28479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28480 (eval $ac_try) 2>&5
28481 ac_status=$?
28482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28483 (exit $ac_status); }; }; then
28484 ac_header_compiler=yes
28485 else
28486 echo "$as_me: failed program was:" >&5
28487 sed 's/^/| /' conftest.$ac_ext >&5
28489 ac_header_compiler=no
28491 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28492 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28493 echo "${ECHO_T}$ac_header_compiler" >&6
28495 # Is the header present?
28496 echo "$as_me:$LINENO: checking iconv.h presence" >&5
28497 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
28498 cat >conftest.$ac_ext <<_ACEOF
28499 /* confdefs.h. */
28500 _ACEOF
28501 cat confdefs.h >>conftest.$ac_ext
28502 cat >>conftest.$ac_ext <<_ACEOF
28503 /* end confdefs.h. */
28504 #include <iconv.h>
28505 _ACEOF
28506 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28507 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28508 ac_status=$?
28509 grep -v '^ *+' conftest.er1 >conftest.err
28510 rm -f conftest.er1
28511 cat conftest.err >&5
28512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28513 (exit $ac_status); } >/dev/null; then
28514 if test -s conftest.err; then
28515 ac_cpp_err=$ac_c_preproc_warn_flag
28516 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28517 else
28518 ac_cpp_err=
28520 else
28521 ac_cpp_err=yes
28523 if test -z "$ac_cpp_err"; then
28524 ac_header_preproc=yes
28525 else
28526 echo "$as_me: failed program was:" >&5
28527 sed 's/^/| /' conftest.$ac_ext >&5
28529 ac_header_preproc=no
28531 rm -f conftest.err conftest.$ac_ext
28532 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28533 echo "${ECHO_T}$ac_header_preproc" >&6
28535 # So? What about this header?
28536 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28537 yes:no: )
28538 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
28539 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28540 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
28541 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
28542 ac_header_preproc=yes
28544 no:yes:* )
28545 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
28546 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
28547 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
28548 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
28549 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
28550 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
28551 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
28552 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
28553 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
28554 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
28555 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
28556 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
28558 cat <<\_ASBOX
28559 ## ----------------------------------------- ##
28560 ## Report this to the package-unused lists. ##
28561 ## ----------------------------------------- ##
28562 _ASBOX
28564 sed "s/^/$as_me: WARNING: /" >&2
28566 esac
28567 echo "$as_me:$LINENO: checking for iconv.h" >&5
28568 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28569 if test "${ac_cv_header_iconv_h+set}" = set; then
28570 echo $ECHO_N "(cached) $ECHO_C" >&6
28571 else
28572 ac_cv_header_iconv_h=$ac_header_preproc
28574 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28575 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28578 if test $ac_cv_header_iconv_h = yes; then
28579 ac_has_iconv_h=yes
28580 else
28581 ac_has_iconv_h=no
28585 if test "${ac_cv_header_langinfo_h+set}" = set; then
28586 echo "$as_me:$LINENO: checking for langinfo.h" >&5
28587 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
28588 if test "${ac_cv_header_langinfo_h+set}" = set; then
28589 echo $ECHO_N "(cached) $ECHO_C" >&6
28591 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
28592 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
28593 else
28594 # Is the header compilable?
28595 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
28596 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
28597 cat >conftest.$ac_ext <<_ACEOF
28598 /* confdefs.h. */
28599 _ACEOF
28600 cat confdefs.h >>conftest.$ac_ext
28601 cat >>conftest.$ac_ext <<_ACEOF
28602 /* end confdefs.h. */
28603 $ac_includes_default
28604 #include <langinfo.h>
28605 _ACEOF
28606 rm -f conftest.$ac_objext
28607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28608 (eval $ac_compile) 2>conftest.er1
28609 ac_status=$?
28610 grep -v '^ *+' conftest.er1 >conftest.err
28611 rm -f conftest.er1
28612 cat conftest.err >&5
28613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28614 (exit $ac_status); } &&
28615 { ac_try='test -z "$ac_c_werror_flag"
28616 || test ! -s conftest.err'
28617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28618 (eval $ac_try) 2>&5
28619 ac_status=$?
28620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28621 (exit $ac_status); }; } &&
28622 { ac_try='test -s conftest.$ac_objext'
28623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28624 (eval $ac_try) 2>&5
28625 ac_status=$?
28626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28627 (exit $ac_status); }; }; then
28628 ac_header_compiler=yes
28629 else
28630 echo "$as_me: failed program was:" >&5
28631 sed 's/^/| /' conftest.$ac_ext >&5
28633 ac_header_compiler=no
28635 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28636 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28637 echo "${ECHO_T}$ac_header_compiler" >&6
28639 # Is the header present?
28640 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
28641 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
28642 cat >conftest.$ac_ext <<_ACEOF
28643 /* confdefs.h. */
28644 _ACEOF
28645 cat confdefs.h >>conftest.$ac_ext
28646 cat >>conftest.$ac_ext <<_ACEOF
28647 /* end confdefs.h. */
28648 #include <langinfo.h>
28649 _ACEOF
28650 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28651 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28652 ac_status=$?
28653 grep -v '^ *+' conftest.er1 >conftest.err
28654 rm -f conftest.er1
28655 cat conftest.err >&5
28656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28657 (exit $ac_status); } >/dev/null; then
28658 if test -s conftest.err; then
28659 ac_cpp_err=$ac_c_preproc_warn_flag
28660 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28661 else
28662 ac_cpp_err=
28664 else
28665 ac_cpp_err=yes
28667 if test -z "$ac_cpp_err"; then
28668 ac_header_preproc=yes
28669 else
28670 echo "$as_me: failed program was:" >&5
28671 sed 's/^/| /' conftest.$ac_ext >&5
28673 ac_header_preproc=no
28675 rm -f conftest.err conftest.$ac_ext
28676 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28677 echo "${ECHO_T}$ac_header_preproc" >&6
28679 # So? What about this header?
28680 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28681 yes:no: )
28682 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
28683 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28684 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
28685 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
28686 ac_header_preproc=yes
28688 no:yes:* )
28689 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
28690 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
28691 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
28692 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
28693 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
28694 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
28695 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
28696 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
28697 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
28698 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
28699 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
28700 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
28702 cat <<\_ASBOX
28703 ## ----------------------------------------- ##
28704 ## Report this to the package-unused lists. ##
28705 ## ----------------------------------------- ##
28706 _ASBOX
28708 sed "s/^/$as_me: WARNING: /" >&2
28710 esac
28711 echo "$as_me:$LINENO: checking for langinfo.h" >&5
28712 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
28713 if test "${ac_cv_header_langinfo_h+set}" = set; then
28714 echo $ECHO_N "(cached) $ECHO_C" >&6
28715 else
28716 ac_cv_header_langinfo_h=$ac_header_preproc
28718 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
28719 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
28722 if test $ac_cv_header_langinfo_h = yes; then
28723 ac_has_langinfo_h=yes
28724 else
28725 ac_has_langinfo_h=no
28730 # Check for existence of libiconv.a providing XPG2 wchar_t support.
28731 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
28732 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
28733 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
28734 echo $ECHO_N "(cached) $ECHO_C" >&6
28735 else
28736 ac_check_lib_save_LIBS=$LIBS
28737 LIBS="-liconv $LIBS"
28738 if test x$gcc_no_link = xyes; then
28739 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28740 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28741 { (exit 1); exit 1; }; }
28743 cat >conftest.$ac_ext <<_ACEOF
28744 /* confdefs.h. */
28745 _ACEOF
28746 cat confdefs.h >>conftest.$ac_ext
28747 cat >>conftest.$ac_ext <<_ACEOF
28748 /* end confdefs.h. */
28750 /* Override any gcc2 internal prototype to avoid an error. */
28751 #ifdef __cplusplus
28752 extern "C"
28753 #endif
28754 /* We use char because int might match the return type of a gcc2
28755 builtin and then its argument prototype would still apply. */
28756 char iconv ();
28758 main ()
28760 iconv ();
28762 return 0;
28764 _ACEOF
28765 rm -f conftest.$ac_objext conftest$ac_exeext
28766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28767 (eval $ac_link) 2>conftest.er1
28768 ac_status=$?
28769 grep -v '^ *+' conftest.er1 >conftest.err
28770 rm -f conftest.er1
28771 cat conftest.err >&5
28772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28773 (exit $ac_status); } &&
28774 { ac_try='test -z "$ac_c_werror_flag"
28775 || test ! -s conftest.err'
28776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28777 (eval $ac_try) 2>&5
28778 ac_status=$?
28779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28780 (exit $ac_status); }; } &&
28781 { ac_try='test -s conftest$ac_exeext'
28782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28783 (eval $ac_try) 2>&5
28784 ac_status=$?
28785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28786 (exit $ac_status); }; }; then
28787 ac_cv_lib_iconv_iconv=yes
28788 else
28789 echo "$as_me: failed program was:" >&5
28790 sed 's/^/| /' conftest.$ac_ext >&5
28792 ac_cv_lib_iconv_iconv=no
28794 rm -f conftest.err conftest.$ac_objext \
28795 conftest$ac_exeext conftest.$ac_ext
28796 LIBS=$ac_check_lib_save_LIBS
28798 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
28799 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
28800 if test $ac_cv_lib_iconv_iconv = yes; then
28801 LIBICONV="-liconv"
28804 ac_save_LIBS="$LIBS"
28805 LIBS="$LIBS $LIBICONV"
28812 for ac_func in iconv_open iconv_close iconv nl_langinfo
28814 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28815 echo "$as_me:$LINENO: checking for $ac_func" >&5
28816 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28817 if eval "test \"\${$as_ac_var+set}\" = set"; then
28818 echo $ECHO_N "(cached) $ECHO_C" >&6
28819 else
28820 if test x$gcc_no_link = xyes; then
28821 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28822 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28823 { (exit 1); exit 1; }; }
28825 cat >conftest.$ac_ext <<_ACEOF
28826 /* confdefs.h. */
28827 _ACEOF
28828 cat confdefs.h >>conftest.$ac_ext
28829 cat >>conftest.$ac_ext <<_ACEOF
28830 /* end confdefs.h. */
28831 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28832 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28833 #define $ac_func innocuous_$ac_func
28835 /* System header to define __stub macros and hopefully few prototypes,
28836 which can conflict with char $ac_func (); below.
28837 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28838 <limits.h> exists even on freestanding compilers. */
28840 #ifdef __STDC__
28841 # include <limits.h>
28842 #else
28843 # include <assert.h>
28844 #endif
28846 #undef $ac_func
28848 /* Override any gcc2 internal prototype to avoid an error. */
28849 #ifdef __cplusplus
28850 extern "C"
28852 #endif
28853 /* We use char because int might match the return type of a gcc2
28854 builtin and then its argument prototype would still apply. */
28855 char $ac_func ();
28856 /* The GNU C library defines this for functions which it implements
28857 to always fail with ENOSYS. Some functions are actually named
28858 something starting with __ and the normal name is an alias. */
28859 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28860 choke me
28861 #else
28862 char (*f) () = $ac_func;
28863 #endif
28864 #ifdef __cplusplus
28866 #endif
28869 main ()
28871 return f != $ac_func;
28873 return 0;
28875 _ACEOF
28876 rm -f conftest.$ac_objext conftest$ac_exeext
28877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28878 (eval $ac_link) 2>conftest.er1
28879 ac_status=$?
28880 grep -v '^ *+' conftest.er1 >conftest.err
28881 rm -f conftest.er1
28882 cat conftest.err >&5
28883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28884 (exit $ac_status); } &&
28885 { ac_try='test -z "$ac_c_werror_flag"
28886 || test ! -s conftest.err'
28887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28888 (eval $ac_try) 2>&5
28889 ac_status=$?
28890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28891 (exit $ac_status); }; } &&
28892 { ac_try='test -s conftest$ac_exeext'
28893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28894 (eval $ac_try) 2>&5
28895 ac_status=$?
28896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28897 (exit $ac_status); }; }; then
28898 eval "$as_ac_var=yes"
28899 else
28900 echo "$as_me: failed program was:" >&5
28901 sed 's/^/| /' conftest.$ac_ext >&5
28903 eval "$as_ac_var=no"
28905 rm -f conftest.err conftest.$ac_objext \
28906 conftest$ac_exeext conftest.$ac_ext
28908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28909 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28910 if test `eval echo '${'$as_ac_var'}'` = yes; then
28911 cat >>confdefs.h <<_ACEOF
28912 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28913 _ACEOF
28914 ac_XPG2funcs=yes
28915 else
28916 ac_XPG2funcs=no
28918 done
28921 LIBS="$ac_save_LIBS"
28923 if test x"$ac_has_iconv_h" = xyes &&
28924 test x"$ac_has_langinfo_h" = xyes &&
28925 test x"$ac_XPG2funcs" = xyes;
28926 then
28928 cat >>confdefs.h <<\_ACEOF
28929 #define _GLIBCXX_USE_ICONV 1
28930 _ACEOF
28932 enable_iconv=yes
28935 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
28936 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
28937 echo "$as_me:$LINENO: result: $enable_iconv" >&5
28938 echo "${ECHO_T}$enable_iconv" >&6
28941 ac_test_CXXFLAGS="${CXXFLAGS+set}"
28942 ac_save_CXXFLAGS="$CXXFLAGS"
28943 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
28946 echo "$as_me:$LINENO: checking for strtold declaration" >&5
28947 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
28948 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
28949 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
28950 echo $ECHO_N "(cached) $ECHO_C" >&6
28951 else
28955 ac_ext=cc
28956 ac_cpp='$CXXCPP $CPPFLAGS'
28957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28961 cat >conftest.$ac_ext <<_ACEOF
28962 /* confdefs.h. */
28963 _ACEOF
28964 cat confdefs.h >>conftest.$ac_ext
28965 cat >>conftest.$ac_ext <<_ACEOF
28966 /* end confdefs.h. */
28967 #include <stdlib.h>
28969 main ()
28971 strtold(0, 0);
28973 return 0;
28975 _ACEOF
28976 rm -f conftest.$ac_objext
28977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28978 (eval $ac_compile) 2>conftest.er1
28979 ac_status=$?
28980 grep -v '^ *+' conftest.er1 >conftest.err
28981 rm -f conftest.er1
28982 cat conftest.err >&5
28983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28984 (exit $ac_status); } &&
28985 { ac_try='test -z "$ac_cxx_werror_flag"
28986 || test ! -s conftest.err'
28987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28988 (eval $ac_try) 2>&5
28989 ac_status=$?
28990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28991 (exit $ac_status); }; } &&
28992 { ac_try='test -s conftest.$ac_objext'
28993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28994 (eval $ac_try) 2>&5
28995 ac_status=$?
28996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28997 (exit $ac_status); }; }; then
28998 glibcxx_cv_func_strtold_use=yes
28999 else
29000 echo "$as_me: failed program was:" >&5
29001 sed 's/^/| /' conftest.$ac_ext >&5
29003 glibcxx_cv_func_strtold_use=no
29005 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29006 ac_ext=c
29007 ac_cpp='$CPP $CPPFLAGS'
29008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29016 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
29017 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
29018 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
29020 for ac_func in strtold
29022 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29023 echo "$as_me:$LINENO: checking for $ac_func" >&5
29024 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29025 if eval "test \"\${$as_ac_var+set}\" = set"; then
29026 echo $ECHO_N "(cached) $ECHO_C" >&6
29027 else
29028 if test x$gcc_no_link = xyes; then
29029 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29030 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29031 { (exit 1); exit 1; }; }
29033 cat >conftest.$ac_ext <<_ACEOF
29034 /* confdefs.h. */
29035 _ACEOF
29036 cat confdefs.h >>conftest.$ac_ext
29037 cat >>conftest.$ac_ext <<_ACEOF
29038 /* end confdefs.h. */
29039 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29040 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29041 #define $ac_func innocuous_$ac_func
29043 /* System header to define __stub macros and hopefully few prototypes,
29044 which can conflict with char $ac_func (); below.
29045 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29046 <limits.h> exists even on freestanding compilers. */
29048 #ifdef __STDC__
29049 # include <limits.h>
29050 #else
29051 # include <assert.h>
29052 #endif
29054 #undef $ac_func
29056 /* Override any gcc2 internal prototype to avoid an error. */
29057 #ifdef __cplusplus
29058 extern "C"
29060 #endif
29061 /* We use char because int might match the return type of a gcc2
29062 builtin and then its argument prototype would still apply. */
29063 char $ac_func ();
29064 /* The GNU C library defines this for functions which it implements
29065 to always fail with ENOSYS. Some functions are actually named
29066 something starting with __ and the normal name is an alias. */
29067 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29068 choke me
29069 #else
29070 char (*f) () = $ac_func;
29071 #endif
29072 #ifdef __cplusplus
29074 #endif
29077 main ()
29079 return f != $ac_func;
29081 return 0;
29083 _ACEOF
29084 rm -f conftest.$ac_objext conftest$ac_exeext
29085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29086 (eval $ac_link) 2>conftest.er1
29087 ac_status=$?
29088 grep -v '^ *+' conftest.er1 >conftest.err
29089 rm -f conftest.er1
29090 cat conftest.err >&5
29091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29092 (exit $ac_status); } &&
29093 { ac_try='test -z "$ac_c_werror_flag"
29094 || test ! -s conftest.err'
29095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29096 (eval $ac_try) 2>&5
29097 ac_status=$?
29098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29099 (exit $ac_status); }; } &&
29100 { ac_try='test -s conftest$ac_exeext'
29101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29102 (eval $ac_try) 2>&5
29103 ac_status=$?
29104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29105 (exit $ac_status); }; }; then
29106 eval "$as_ac_var=yes"
29107 else
29108 echo "$as_me: failed program was:" >&5
29109 sed 's/^/| /' conftest.$ac_ext >&5
29111 eval "$as_ac_var=no"
29113 rm -f conftest.err conftest.$ac_objext \
29114 conftest$ac_exeext conftest.$ac_ext
29116 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29117 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29118 if test `eval echo '${'$as_ac_var'}'` = yes; then
29119 cat >>confdefs.h <<_ACEOF
29120 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29121 _ACEOF
29124 done
29132 echo "$as_me:$LINENO: checking for strtof declaration" >&5
29133 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
29134 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
29135 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
29136 echo $ECHO_N "(cached) $ECHO_C" >&6
29137 else
29141 ac_ext=cc
29142 ac_cpp='$CXXCPP $CPPFLAGS'
29143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29147 cat >conftest.$ac_ext <<_ACEOF
29148 /* confdefs.h. */
29149 _ACEOF
29150 cat confdefs.h >>conftest.$ac_ext
29151 cat >>conftest.$ac_ext <<_ACEOF
29152 /* end confdefs.h. */
29153 #include <stdlib.h>
29155 main ()
29157 strtof(0, 0);
29159 return 0;
29161 _ACEOF
29162 rm -f conftest.$ac_objext
29163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29164 (eval $ac_compile) 2>conftest.er1
29165 ac_status=$?
29166 grep -v '^ *+' conftest.er1 >conftest.err
29167 rm -f conftest.er1
29168 cat conftest.err >&5
29169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29170 (exit $ac_status); } &&
29171 { ac_try='test -z "$ac_cxx_werror_flag"
29172 || test ! -s conftest.err'
29173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29174 (eval $ac_try) 2>&5
29175 ac_status=$?
29176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29177 (exit $ac_status); }; } &&
29178 { ac_try='test -s conftest.$ac_objext'
29179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29180 (eval $ac_try) 2>&5
29181 ac_status=$?
29182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29183 (exit $ac_status); }; }; then
29184 glibcxx_cv_func_strtof_use=yes
29185 else
29186 echo "$as_me: failed program was:" >&5
29187 sed 's/^/| /' conftest.$ac_ext >&5
29189 glibcxx_cv_func_strtof_use=no
29191 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29192 ac_ext=c
29193 ac_cpp='$CPP $CPPFLAGS'
29194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29202 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
29203 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
29204 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
29206 for ac_func in strtof
29208 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29209 echo "$as_me:$LINENO: checking for $ac_func" >&5
29210 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29211 if eval "test \"\${$as_ac_var+set}\" = set"; then
29212 echo $ECHO_N "(cached) $ECHO_C" >&6
29213 else
29214 if test x$gcc_no_link = xyes; then
29215 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29216 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29217 { (exit 1); exit 1; }; }
29219 cat >conftest.$ac_ext <<_ACEOF
29220 /* confdefs.h. */
29221 _ACEOF
29222 cat confdefs.h >>conftest.$ac_ext
29223 cat >>conftest.$ac_ext <<_ACEOF
29224 /* end confdefs.h. */
29225 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29226 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29227 #define $ac_func innocuous_$ac_func
29229 /* System header to define __stub macros and hopefully few prototypes,
29230 which can conflict with char $ac_func (); below.
29231 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29232 <limits.h> exists even on freestanding compilers. */
29234 #ifdef __STDC__
29235 # include <limits.h>
29236 #else
29237 # include <assert.h>
29238 #endif
29240 #undef $ac_func
29242 /* Override any gcc2 internal prototype to avoid an error. */
29243 #ifdef __cplusplus
29244 extern "C"
29246 #endif
29247 /* We use char because int might match the return type of a gcc2
29248 builtin and then its argument prototype would still apply. */
29249 char $ac_func ();
29250 /* The GNU C library defines this for functions which it implements
29251 to always fail with ENOSYS. Some functions are actually named
29252 something starting with __ and the normal name is an alias. */
29253 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29254 choke me
29255 #else
29256 char (*f) () = $ac_func;
29257 #endif
29258 #ifdef __cplusplus
29260 #endif
29263 main ()
29265 return f != $ac_func;
29267 return 0;
29269 _ACEOF
29270 rm -f conftest.$ac_objext conftest$ac_exeext
29271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29272 (eval $ac_link) 2>conftest.er1
29273 ac_status=$?
29274 grep -v '^ *+' conftest.er1 >conftest.err
29275 rm -f conftest.er1
29276 cat conftest.err >&5
29277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29278 (exit $ac_status); } &&
29279 { ac_try='test -z "$ac_c_werror_flag"
29280 || test ! -s conftest.err'
29281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29282 (eval $ac_try) 2>&5
29283 ac_status=$?
29284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29285 (exit $ac_status); }; } &&
29286 { ac_try='test -s conftest$ac_exeext'
29287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29288 (eval $ac_try) 2>&5
29289 ac_status=$?
29290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29291 (exit $ac_status); }; }; then
29292 eval "$as_ac_var=yes"
29293 else
29294 echo "$as_me: failed program was:" >&5
29295 sed 's/^/| /' conftest.$ac_ext >&5
29297 eval "$as_ac_var=no"
29299 rm -f conftest.err conftest.$ac_objext \
29300 conftest$ac_exeext conftest.$ac_ext
29302 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29303 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29304 if test `eval echo '${'$as_ac_var'}'` = yes; then
29305 cat >>confdefs.h <<_ACEOF
29306 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29307 _ACEOF
29310 done
29318 CXXFLAGS="$ac_save_CXXFLAGS"
29321 # For showmanyc_helper().
29324 for ac_header in sys/ioctl.h sys/filio.h
29326 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29327 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29328 echo "$as_me:$LINENO: checking for $ac_header" >&5
29329 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29330 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29331 echo $ECHO_N "(cached) $ECHO_C" >&6
29333 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29334 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29335 else
29336 # Is the header compilable?
29337 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29338 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29339 cat >conftest.$ac_ext <<_ACEOF
29340 /* confdefs.h. */
29341 _ACEOF
29342 cat confdefs.h >>conftest.$ac_ext
29343 cat >>conftest.$ac_ext <<_ACEOF
29344 /* end confdefs.h. */
29345 $ac_includes_default
29346 #include <$ac_header>
29347 _ACEOF
29348 rm -f conftest.$ac_objext
29349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29350 (eval $ac_compile) 2>conftest.er1
29351 ac_status=$?
29352 grep -v '^ *+' conftest.er1 >conftest.err
29353 rm -f conftest.er1
29354 cat conftest.err >&5
29355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29356 (exit $ac_status); } &&
29357 { ac_try='test -z "$ac_c_werror_flag"
29358 || test ! -s conftest.err'
29359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29360 (eval $ac_try) 2>&5
29361 ac_status=$?
29362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29363 (exit $ac_status); }; } &&
29364 { ac_try='test -s conftest.$ac_objext'
29365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29366 (eval $ac_try) 2>&5
29367 ac_status=$?
29368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29369 (exit $ac_status); }; }; then
29370 ac_header_compiler=yes
29371 else
29372 echo "$as_me: failed program was:" >&5
29373 sed 's/^/| /' conftest.$ac_ext >&5
29375 ac_header_compiler=no
29377 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29378 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29379 echo "${ECHO_T}$ac_header_compiler" >&6
29381 # Is the header present?
29382 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29383 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29384 cat >conftest.$ac_ext <<_ACEOF
29385 /* confdefs.h. */
29386 _ACEOF
29387 cat confdefs.h >>conftest.$ac_ext
29388 cat >>conftest.$ac_ext <<_ACEOF
29389 /* end confdefs.h. */
29390 #include <$ac_header>
29391 _ACEOF
29392 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29393 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29394 ac_status=$?
29395 grep -v '^ *+' conftest.er1 >conftest.err
29396 rm -f conftest.er1
29397 cat conftest.err >&5
29398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29399 (exit $ac_status); } >/dev/null; then
29400 if test -s conftest.err; then
29401 ac_cpp_err=$ac_c_preproc_warn_flag
29402 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29403 else
29404 ac_cpp_err=
29406 else
29407 ac_cpp_err=yes
29409 if test -z "$ac_cpp_err"; then
29410 ac_header_preproc=yes
29411 else
29412 echo "$as_me: failed program was:" >&5
29413 sed 's/^/| /' conftest.$ac_ext >&5
29415 ac_header_preproc=no
29417 rm -f conftest.err conftest.$ac_ext
29418 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29419 echo "${ECHO_T}$ac_header_preproc" >&6
29421 # So? What about this header?
29422 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29423 yes:no: )
29424 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29425 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29426 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29427 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29428 ac_header_preproc=yes
29430 no:yes:* )
29431 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29432 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29433 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29434 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29435 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29436 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29437 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29438 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29439 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29440 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29441 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29442 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29444 cat <<\_ASBOX
29445 ## ----------------------------------------- ##
29446 ## Report this to the package-unused lists. ##
29447 ## ----------------------------------------- ##
29448 _ASBOX
29450 sed "s/^/$as_me: WARNING: /" >&2
29452 esac
29453 echo "$as_me:$LINENO: checking for $ac_header" >&5
29454 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29455 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29456 echo $ECHO_N "(cached) $ECHO_C" >&6
29457 else
29458 eval "$as_ac_Header=\$ac_header_preproc"
29460 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29461 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29464 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29465 cat >>confdefs.h <<_ACEOF
29466 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29467 _ACEOF
29471 done
29474 echo "$as_me:$LINENO: checking for poll" >&5
29475 echo $ECHO_N "checking for poll... $ECHO_C" >&6
29476 if test "${glibcxx_cv_POLL+set}" = set; then
29477 echo $ECHO_N "(cached) $ECHO_C" >&6
29478 else
29480 if test x$gcc_no_link = xyes; then
29481 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29482 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29483 { (exit 1); exit 1; }; }
29485 cat >conftest.$ac_ext <<_ACEOF
29486 /* confdefs.h. */
29487 _ACEOF
29488 cat confdefs.h >>conftest.$ac_ext
29489 cat >>conftest.$ac_ext <<_ACEOF
29490 /* end confdefs.h. */
29491 #include <poll.h>
29493 main ()
29495 struct pollfd pfd[1];
29496 pfd[0].events = POLLIN;
29497 poll(pfd, 1, 0);
29499 return 0;
29501 _ACEOF
29502 rm -f conftest.$ac_objext conftest$ac_exeext
29503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29504 (eval $ac_link) 2>conftest.er1
29505 ac_status=$?
29506 grep -v '^ *+' conftest.er1 >conftest.err
29507 rm -f conftest.er1
29508 cat conftest.err >&5
29509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29510 (exit $ac_status); } &&
29511 { ac_try='test -z "$ac_c_werror_flag"
29512 || test ! -s conftest.err'
29513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29514 (eval $ac_try) 2>&5
29515 ac_status=$?
29516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29517 (exit $ac_status); }; } &&
29518 { ac_try='test -s conftest$ac_exeext'
29519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29520 (eval $ac_try) 2>&5
29521 ac_status=$?
29522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29523 (exit $ac_status); }; }; then
29524 glibcxx_cv_POLL=yes
29525 else
29526 echo "$as_me: failed program was:" >&5
29527 sed 's/^/| /' conftest.$ac_ext >&5
29529 glibcxx_cv_POLL=no
29531 rm -f conftest.err conftest.$ac_objext \
29532 conftest$ac_exeext conftest.$ac_ext
29536 if test $glibcxx_cv_POLL = yes; then
29538 cat >>confdefs.h <<\_ACEOF
29539 #define HAVE_POLL 1
29540 _ACEOF
29543 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
29544 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
29547 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
29548 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
29549 if test "${glibcxx_cv_S_ISREG+set}" = set; then
29550 echo $ECHO_N "(cached) $ECHO_C" >&6
29551 else
29553 if test x$gcc_no_link = xyes; then
29554 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29555 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29556 { (exit 1); exit 1; }; }
29558 cat >conftest.$ac_ext <<_ACEOF
29559 /* confdefs.h. */
29560 _ACEOF
29561 cat confdefs.h >>conftest.$ac_ext
29562 cat >>conftest.$ac_ext <<_ACEOF
29563 /* end confdefs.h. */
29564 #include <sys/stat.h>
29566 main ()
29568 struct stat buffer;
29569 fstat(0, &buffer);
29570 S_ISREG(buffer.st_mode);
29572 return 0;
29574 _ACEOF
29575 rm -f conftest.$ac_objext conftest$ac_exeext
29576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29577 (eval $ac_link) 2>conftest.er1
29578 ac_status=$?
29579 grep -v '^ *+' conftest.er1 >conftest.err
29580 rm -f conftest.er1
29581 cat conftest.err >&5
29582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29583 (exit $ac_status); } &&
29584 { ac_try='test -z "$ac_c_werror_flag"
29585 || test ! -s conftest.err'
29586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29587 (eval $ac_try) 2>&5
29588 ac_status=$?
29589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29590 (exit $ac_status); }; } &&
29591 { ac_try='test -s conftest$ac_exeext'
29592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29593 (eval $ac_try) 2>&5
29594 ac_status=$?
29595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29596 (exit $ac_status); }; }; then
29597 glibcxx_cv_S_ISREG=yes
29598 else
29599 echo "$as_me: failed program was:" >&5
29600 sed 's/^/| /' conftest.$ac_ext >&5
29602 glibcxx_cv_S_ISREG=no
29604 rm -f conftest.err conftest.$ac_objext \
29605 conftest$ac_exeext conftest.$ac_ext
29609 if test "${glibcxx_cv_S_IFREG+set}" = set; then
29610 echo $ECHO_N "(cached) $ECHO_C" >&6
29611 else
29613 if test x$gcc_no_link = xyes; then
29614 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29615 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29616 { (exit 1); exit 1; }; }
29618 cat >conftest.$ac_ext <<_ACEOF
29619 /* confdefs.h. */
29620 _ACEOF
29621 cat confdefs.h >>conftest.$ac_ext
29622 cat >>conftest.$ac_ext <<_ACEOF
29623 /* end confdefs.h. */
29624 #include <sys/stat.h>
29626 main ()
29628 struct stat buffer;
29629 fstat(0, &buffer);
29630 S_IFREG & buffer.st_mode;
29632 return 0;
29634 _ACEOF
29635 rm -f conftest.$ac_objext conftest$ac_exeext
29636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29637 (eval $ac_link) 2>conftest.er1
29638 ac_status=$?
29639 grep -v '^ *+' conftest.er1 >conftest.err
29640 rm -f conftest.er1
29641 cat conftest.err >&5
29642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29643 (exit $ac_status); } &&
29644 { ac_try='test -z "$ac_c_werror_flag"
29645 || test ! -s conftest.err'
29646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29647 (eval $ac_try) 2>&5
29648 ac_status=$?
29649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29650 (exit $ac_status); }; } &&
29651 { ac_try='test -s conftest$ac_exeext'
29652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29653 (eval $ac_try) 2>&5
29654 ac_status=$?
29655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29656 (exit $ac_status); }; }; then
29657 glibcxx_cv_S_IFREG=yes
29658 else
29659 echo "$as_me: failed program was:" >&5
29660 sed 's/^/| /' conftest.$ac_ext >&5
29662 glibcxx_cv_S_IFREG=no
29664 rm -f conftest.err conftest.$ac_objext \
29665 conftest$ac_exeext conftest.$ac_ext
29669 res=no
29670 if test $glibcxx_cv_S_ISREG = yes; then
29672 cat >>confdefs.h <<\_ACEOF
29673 #define HAVE_S_ISREG 1
29674 _ACEOF
29676 res=S_ISREG
29677 elif test $glibcxx_cv_S_IFREG = yes; then
29679 cat >>confdefs.h <<\_ACEOF
29680 #define HAVE_S_IFREG 1
29681 _ACEOF
29683 res=S_IFREG
29685 echo "$as_me:$LINENO: result: $res" >&5
29686 echo "${ECHO_T}$res" >&6
29689 # For xsputn_2().
29691 for ac_header in sys/uio.h
29693 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29694 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29695 echo "$as_me:$LINENO: checking for $ac_header" >&5
29696 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29697 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29698 echo $ECHO_N "(cached) $ECHO_C" >&6
29700 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29701 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29702 else
29703 # Is the header compilable?
29704 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29705 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29706 cat >conftest.$ac_ext <<_ACEOF
29707 /* confdefs.h. */
29708 _ACEOF
29709 cat confdefs.h >>conftest.$ac_ext
29710 cat >>conftest.$ac_ext <<_ACEOF
29711 /* end confdefs.h. */
29712 $ac_includes_default
29713 #include <$ac_header>
29714 _ACEOF
29715 rm -f conftest.$ac_objext
29716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29717 (eval $ac_compile) 2>conftest.er1
29718 ac_status=$?
29719 grep -v '^ *+' conftest.er1 >conftest.err
29720 rm -f conftest.er1
29721 cat conftest.err >&5
29722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29723 (exit $ac_status); } &&
29724 { ac_try='test -z "$ac_c_werror_flag"
29725 || test ! -s conftest.err'
29726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29727 (eval $ac_try) 2>&5
29728 ac_status=$?
29729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29730 (exit $ac_status); }; } &&
29731 { ac_try='test -s conftest.$ac_objext'
29732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29733 (eval $ac_try) 2>&5
29734 ac_status=$?
29735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29736 (exit $ac_status); }; }; then
29737 ac_header_compiler=yes
29738 else
29739 echo "$as_me: failed program was:" >&5
29740 sed 's/^/| /' conftest.$ac_ext >&5
29742 ac_header_compiler=no
29744 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29745 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29746 echo "${ECHO_T}$ac_header_compiler" >&6
29748 # Is the header present?
29749 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29750 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29751 cat >conftest.$ac_ext <<_ACEOF
29752 /* confdefs.h. */
29753 _ACEOF
29754 cat confdefs.h >>conftest.$ac_ext
29755 cat >>conftest.$ac_ext <<_ACEOF
29756 /* end confdefs.h. */
29757 #include <$ac_header>
29758 _ACEOF
29759 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29760 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29761 ac_status=$?
29762 grep -v '^ *+' conftest.er1 >conftest.err
29763 rm -f conftest.er1
29764 cat conftest.err >&5
29765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29766 (exit $ac_status); } >/dev/null; then
29767 if test -s conftest.err; then
29768 ac_cpp_err=$ac_c_preproc_warn_flag
29769 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29770 else
29771 ac_cpp_err=
29773 else
29774 ac_cpp_err=yes
29776 if test -z "$ac_cpp_err"; then
29777 ac_header_preproc=yes
29778 else
29779 echo "$as_me: failed program was:" >&5
29780 sed 's/^/| /' conftest.$ac_ext >&5
29782 ac_header_preproc=no
29784 rm -f conftest.err conftest.$ac_ext
29785 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29786 echo "${ECHO_T}$ac_header_preproc" >&6
29788 # So? What about this header?
29789 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29790 yes:no: )
29791 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29792 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29793 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29794 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29795 ac_header_preproc=yes
29797 no:yes:* )
29798 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29799 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29800 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29801 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29802 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29803 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29804 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29805 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29806 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29807 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29808 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29809 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29811 cat <<\_ASBOX
29812 ## ----------------------------------------- ##
29813 ## Report this to the package-unused lists. ##
29814 ## ----------------------------------------- ##
29815 _ASBOX
29817 sed "s/^/$as_me: WARNING: /" >&2
29819 esac
29820 echo "$as_me:$LINENO: checking for $ac_header" >&5
29821 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29822 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29823 echo $ECHO_N "(cached) $ECHO_C" >&6
29824 else
29825 eval "$as_ac_Header=\$ac_header_preproc"
29827 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29828 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29831 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29832 cat >>confdefs.h <<_ACEOF
29833 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29834 _ACEOF
29838 done
29841 echo "$as_me:$LINENO: checking for writev" >&5
29842 echo $ECHO_N "checking for writev... $ECHO_C" >&6
29843 if test "${glibcxx_cv_WRITEV+set}" = set; then
29844 echo $ECHO_N "(cached) $ECHO_C" >&6
29845 else
29847 if test x$gcc_no_link = xyes; then
29848 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29849 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29850 { (exit 1); exit 1; }; }
29852 cat >conftest.$ac_ext <<_ACEOF
29853 /* confdefs.h. */
29854 _ACEOF
29855 cat confdefs.h >>conftest.$ac_ext
29856 cat >>conftest.$ac_ext <<_ACEOF
29857 /* end confdefs.h. */
29858 #include <sys/uio.h>
29860 main ()
29862 struct iovec iov[2];
29863 writev(0, iov, 0);
29865 return 0;
29867 _ACEOF
29868 rm -f conftest.$ac_objext conftest$ac_exeext
29869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29870 (eval $ac_link) 2>conftest.er1
29871 ac_status=$?
29872 grep -v '^ *+' conftest.er1 >conftest.err
29873 rm -f conftest.er1
29874 cat conftest.err >&5
29875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29876 (exit $ac_status); } &&
29877 { ac_try='test -z "$ac_c_werror_flag"
29878 || test ! -s conftest.err'
29879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29880 (eval $ac_try) 2>&5
29881 ac_status=$?
29882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29883 (exit $ac_status); }; } &&
29884 { ac_try='test -s conftest$ac_exeext'
29885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29886 (eval $ac_try) 2>&5
29887 ac_status=$?
29888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29889 (exit $ac_status); }; }; then
29890 glibcxx_cv_WRITEV=yes
29891 else
29892 echo "$as_me: failed program was:" >&5
29893 sed 's/^/| /' conftest.$ac_ext >&5
29895 glibcxx_cv_WRITEV=no
29897 rm -f conftest.err conftest.$ac_objext \
29898 conftest$ac_exeext conftest.$ac_ext
29902 if test $glibcxx_cv_WRITEV = yes; then
29904 cat >>confdefs.h <<\_ACEOF
29905 #define HAVE_WRITEV 1
29906 _ACEOF
29909 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
29910 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
29913 # For the __streamoff_base_type typedef.
29915 echo "$as_me:$LINENO: checking for int64_t" >&5
29916 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
29917 if test "${glibcxx_cv_INT64_T+set}" = set; then
29918 echo $ECHO_N "(cached) $ECHO_C" >&6
29919 else
29921 cat >conftest.$ac_ext <<_ACEOF
29922 /* confdefs.h. */
29923 _ACEOF
29924 cat confdefs.h >>conftest.$ac_ext
29925 cat >>conftest.$ac_ext <<_ACEOF
29926 /* end confdefs.h. */
29927 #include <stdint.h>
29929 main ()
29931 int64_t var;
29933 return 0;
29935 _ACEOF
29936 rm -f conftest.$ac_objext
29937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29938 (eval $ac_compile) 2>conftest.er1
29939 ac_status=$?
29940 grep -v '^ *+' conftest.er1 >conftest.err
29941 rm -f conftest.er1
29942 cat conftest.err >&5
29943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29944 (exit $ac_status); } &&
29945 { ac_try='test -z "$ac_c_werror_flag"
29946 || test ! -s conftest.err'
29947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29948 (eval $ac_try) 2>&5
29949 ac_status=$?
29950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29951 (exit $ac_status); }; } &&
29952 { ac_try='test -s conftest.$ac_objext'
29953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29954 (eval $ac_try) 2>&5
29955 ac_status=$?
29956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29957 (exit $ac_status); }; }; then
29958 glibcxx_cv_INT64_T=yes
29959 else
29960 echo "$as_me: failed program was:" >&5
29961 sed 's/^/| /' conftest.$ac_ext >&5
29963 glibcxx_cv_INT64_T=no
29965 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29969 if test $glibcxx_cv_INT64_T = yes; then
29971 cat >>confdefs.h <<\_ACEOF
29972 #define HAVE_INT64_T 1
29973 _ACEOF
29976 echo "$as_me:$LINENO: result: $glibcxx_cv_INT64_T" >&5
29977 echo "${ECHO_T}$glibcxx_cv_INT64_T" >&6
29980 # For LFS support.
29984 ac_ext=cc
29985 ac_cpp='$CXXCPP $CPPFLAGS'
29986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29990 ac_save_CXXFLAGS="$CXXFLAGS"
29991 CXXFLAGS="$CXXFLAGS -fno-exceptions"
29992 echo "$as_me:$LINENO: checking for LFS support" >&5
29993 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
29994 if test "${glibcxx_cv_LFS+set}" = set; then
29995 echo $ECHO_N "(cached) $ECHO_C" >&6
29996 else
29998 if test x$gcc_no_link = xyes; then
29999 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30000 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30001 { (exit 1); exit 1; }; }
30003 cat >conftest.$ac_ext <<_ACEOF
30004 /* confdefs.h. */
30005 _ACEOF
30006 cat confdefs.h >>conftest.$ac_ext
30007 cat >>conftest.$ac_ext <<_ACEOF
30008 /* end confdefs.h. */
30009 #include <unistd.h>
30010 #include <stdio.h>
30011 #include <sys/stat.h>
30014 main ()
30016 FILE* fp;
30017 fopen64("t", "w");
30018 fseeko64(fp, 0, SEEK_CUR);
30019 ftello64(fp);
30020 lseek64(1, 0, SEEK_CUR);
30021 struct stat64 buf;
30022 fstat64(1, &buf);
30024 return 0;
30026 _ACEOF
30027 rm -f conftest.$ac_objext conftest$ac_exeext
30028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30029 (eval $ac_link) 2>conftest.er1
30030 ac_status=$?
30031 grep -v '^ *+' conftest.er1 >conftest.err
30032 rm -f conftest.er1
30033 cat conftest.err >&5
30034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30035 (exit $ac_status); } &&
30036 { ac_try='test -z "$ac_cxx_werror_flag"
30037 || test ! -s conftest.err'
30038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30039 (eval $ac_try) 2>&5
30040 ac_status=$?
30041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30042 (exit $ac_status); }; } &&
30043 { ac_try='test -s conftest$ac_exeext'
30044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30045 (eval $ac_try) 2>&5
30046 ac_status=$?
30047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30048 (exit $ac_status); }; }; then
30049 glibcxx_cv_LFS=yes
30050 else
30051 echo "$as_me: failed program was:" >&5
30052 sed 's/^/| /' conftest.$ac_ext >&5
30054 glibcxx_cv_LFS=no
30056 rm -f conftest.err conftest.$ac_objext \
30057 conftest$ac_exeext conftest.$ac_ext
30061 if test $glibcxx_cv_LFS = yes; then
30063 cat >>confdefs.h <<\_ACEOF
30064 #define _GLIBCXX_USE_LFS 1
30065 _ACEOF
30068 echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
30069 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
30070 CXXFLAGS="$ac_save_CXXFLAGS"
30071 ac_ext=c
30072 ac_cpp='$CPP $CPPFLAGS'
30073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30079 # For C99 support to TR1.
30084 ac_ext=cc
30085 ac_cpp='$CXXCPP $CPPFLAGS'
30086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30091 # Check for the existence of <complex.h> complex math functions used
30092 # by tr1/complex.
30094 for ac_header in complex.h
30096 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30097 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30098 echo "$as_me:$LINENO: checking for $ac_header" >&5
30099 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30100 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30101 echo $ECHO_N "(cached) $ECHO_C" >&6
30103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30104 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30105 else
30106 # Is the header compilable?
30107 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30108 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30109 cat >conftest.$ac_ext <<_ACEOF
30110 /* confdefs.h. */
30111 _ACEOF
30112 cat confdefs.h >>conftest.$ac_ext
30113 cat >>conftest.$ac_ext <<_ACEOF
30114 /* end confdefs.h. */
30115 $ac_includes_default
30116 #include <$ac_header>
30117 _ACEOF
30118 rm -f conftest.$ac_objext
30119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30120 (eval $ac_compile) 2>conftest.er1
30121 ac_status=$?
30122 grep -v '^ *+' conftest.er1 >conftest.err
30123 rm -f conftest.er1
30124 cat conftest.err >&5
30125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30126 (exit $ac_status); } &&
30127 { ac_try='test -z "$ac_cxx_werror_flag"
30128 || test ! -s conftest.err'
30129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30130 (eval $ac_try) 2>&5
30131 ac_status=$?
30132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30133 (exit $ac_status); }; } &&
30134 { ac_try='test -s conftest.$ac_objext'
30135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30136 (eval $ac_try) 2>&5
30137 ac_status=$?
30138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30139 (exit $ac_status); }; }; then
30140 ac_header_compiler=yes
30141 else
30142 echo "$as_me: failed program was:" >&5
30143 sed 's/^/| /' conftest.$ac_ext >&5
30145 ac_header_compiler=no
30147 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30148 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30149 echo "${ECHO_T}$ac_header_compiler" >&6
30151 # Is the header present?
30152 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30153 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30154 cat >conftest.$ac_ext <<_ACEOF
30155 /* confdefs.h. */
30156 _ACEOF
30157 cat confdefs.h >>conftest.$ac_ext
30158 cat >>conftest.$ac_ext <<_ACEOF
30159 /* end confdefs.h. */
30160 #include <$ac_header>
30161 _ACEOF
30162 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30163 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30164 ac_status=$?
30165 grep -v '^ *+' conftest.er1 >conftest.err
30166 rm -f conftest.er1
30167 cat conftest.err >&5
30168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30169 (exit $ac_status); } >/dev/null; then
30170 if test -s conftest.err; then
30171 ac_cpp_err=$ac_cxx_preproc_warn_flag
30172 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
30173 else
30174 ac_cpp_err=
30176 else
30177 ac_cpp_err=yes
30179 if test -z "$ac_cpp_err"; then
30180 ac_header_preproc=yes
30181 else
30182 echo "$as_me: failed program was:" >&5
30183 sed 's/^/| /' conftest.$ac_ext >&5
30185 ac_header_preproc=no
30187 rm -f conftest.err conftest.$ac_ext
30188 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30189 echo "${ECHO_T}$ac_header_preproc" >&6
30191 # So? What about this header?
30192 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
30193 yes:no: )
30194 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30195 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30196 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30197 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30198 ac_header_preproc=yes
30200 no:yes:* )
30201 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30202 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30203 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30204 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30205 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30206 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30207 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30208 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30209 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30210 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30211 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30212 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30214 cat <<\_ASBOX
30215 ## ----------------------------------------- ##
30216 ## Report this to the package-unused lists. ##
30217 ## ----------------------------------------- ##
30218 _ASBOX
30220 sed "s/^/$as_me: WARNING: /" >&2
30222 esac
30223 echo "$as_me:$LINENO: checking for $ac_header" >&5
30224 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30225 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30226 echo $ECHO_N "(cached) $ECHO_C" >&6
30227 else
30228 eval "$as_ac_Header=\$ac_header_preproc"
30230 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30231 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30234 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30235 cat >>confdefs.h <<_ACEOF
30236 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30237 _ACEOF
30238 ac_has_complex_h=yes
30239 else
30240 ac_has_complex_h=no
30243 done
30245 ac_c99_complex_tr1=no;
30246 if test x"$ac_has_complex_h" = x"yes"; then
30247 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <complex.h>" >&5
30248 echo $ECHO_N "checking for ISO C99 support to TR1 in <complex.h>... $ECHO_C" >&6
30249 cat >conftest.$ac_ext <<_ACEOF
30250 /* confdefs.h. */
30251 _ACEOF
30252 cat confdefs.h >>conftest.$ac_ext
30253 cat >>conftest.$ac_ext <<_ACEOF
30254 /* end confdefs.h. */
30255 #include <complex.h>
30257 main ()
30259 typedef __complex__ float float_type; float_type tmpf;
30260 cacosf(tmpf);
30261 casinf(tmpf);
30262 catanf(tmpf);
30263 cacoshf(tmpf);
30264 casinhf(tmpf);
30265 catanhf(tmpf);
30266 typedef __complex__ double double_type; double_type tmpd;
30267 cacos(tmpd);
30268 casin(tmpd);
30269 catan(tmpd);
30270 cacosh(tmpd);
30271 casinh(tmpd);
30272 catanh(tmpd);
30273 typedef __complex__ long double ld_type; ld_type tmpld;
30274 cacosl(tmpld);
30275 casinl(tmpld);
30276 catanl(tmpld);
30277 cacoshl(tmpld);
30278 casinhl(tmpld);
30279 catanhl(tmpld);
30282 return 0;
30284 _ACEOF
30285 rm -f conftest.$ac_objext
30286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30287 (eval $ac_compile) 2>conftest.er1
30288 ac_status=$?
30289 grep -v '^ *+' conftest.er1 >conftest.err
30290 rm -f conftest.er1
30291 cat conftest.err >&5
30292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30293 (exit $ac_status); } &&
30294 { ac_try='test -z "$ac_cxx_werror_flag"
30295 || test ! -s conftest.err'
30296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30297 (eval $ac_try) 2>&5
30298 ac_status=$?
30299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30300 (exit $ac_status); }; } &&
30301 { ac_try='test -s conftest.$ac_objext'
30302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30303 (eval $ac_try) 2>&5
30304 ac_status=$?
30305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30306 (exit $ac_status); }; }; then
30307 ac_c99_complex_tr1=yes
30308 else
30309 echo "$as_me: failed program was:" >&5
30310 sed 's/^/| /' conftest.$ac_ext >&5
30312 ac_c99_complex_tr1=no
30314 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30316 echo "$as_me:$LINENO: result: $ac_c99_complex_tr1" >&5
30317 echo "${ECHO_T}$ac_c99_complex_tr1" >&6
30318 if test x"$ac_c99_complex_tr1" = x"yes"; then
30320 cat >>confdefs.h <<\_ACEOF
30321 #define _GLIBCXX_USE_C99_COMPLEX_TR1 1
30322 _ACEOF
30326 # Check for the existence of <ctype.h> functions.
30327 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <ctype.h>" >&5
30328 echo $ECHO_N "checking for ISO C99 support to TR1 in <ctype.h>... $ECHO_C" >&6
30329 if test "${ac_c99_ctype_tr1+set}" = set; then
30330 echo $ECHO_N "(cached) $ECHO_C" >&6
30331 else
30333 cat >conftest.$ac_ext <<_ACEOF
30334 /* confdefs.h. */
30335 _ACEOF
30336 cat confdefs.h >>conftest.$ac_ext
30337 cat >>conftest.$ac_ext <<_ACEOF
30338 /* end confdefs.h. */
30339 #include <ctype.h>
30341 main ()
30343 int ch;
30344 int ret;
30345 ret = isblank(ch);
30348 return 0;
30350 _ACEOF
30351 rm -f conftest.$ac_objext
30352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30353 (eval $ac_compile) 2>conftest.er1
30354 ac_status=$?
30355 grep -v '^ *+' conftest.er1 >conftest.err
30356 rm -f conftest.er1
30357 cat conftest.err >&5
30358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30359 (exit $ac_status); } &&
30360 { ac_try='test -z "$ac_cxx_werror_flag"
30361 || test ! -s conftest.err'
30362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30363 (eval $ac_try) 2>&5
30364 ac_status=$?
30365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30366 (exit $ac_status); }; } &&
30367 { ac_try='test -s conftest.$ac_objext'
30368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30369 (eval $ac_try) 2>&5
30370 ac_status=$?
30371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30372 (exit $ac_status); }; }; then
30373 ac_c99_ctype_tr1=yes
30374 else
30375 echo "$as_me: failed program was:" >&5
30376 sed 's/^/| /' conftest.$ac_ext >&5
30378 ac_c99_ctype_tr1=no
30380 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30384 echo "$as_me:$LINENO: result: $ac_c99_ctype_tr1" >&5
30385 echo "${ECHO_T}$ac_c99_ctype_tr1" >&6
30386 if test x"$ac_c99_ctype_tr1" = x"yes"; then
30388 cat >>confdefs.h <<\_ACEOF
30389 #define _GLIBCXX_USE_C99_CTYPE_TR1 1
30390 _ACEOF
30394 # Check for the existence of <fenv.h> functions.
30396 for ac_header in fenv.h
30398 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30399 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30400 echo "$as_me:$LINENO: checking for $ac_header" >&5
30401 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30402 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30403 echo $ECHO_N "(cached) $ECHO_C" >&6
30405 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30406 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30407 else
30408 # Is the header compilable?
30409 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30410 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30411 cat >conftest.$ac_ext <<_ACEOF
30412 /* confdefs.h. */
30413 _ACEOF
30414 cat confdefs.h >>conftest.$ac_ext
30415 cat >>conftest.$ac_ext <<_ACEOF
30416 /* end confdefs.h. */
30417 $ac_includes_default
30418 #include <$ac_header>
30419 _ACEOF
30420 rm -f conftest.$ac_objext
30421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30422 (eval $ac_compile) 2>conftest.er1
30423 ac_status=$?
30424 grep -v '^ *+' conftest.er1 >conftest.err
30425 rm -f conftest.er1
30426 cat conftest.err >&5
30427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30428 (exit $ac_status); } &&
30429 { ac_try='test -z "$ac_cxx_werror_flag"
30430 || test ! -s conftest.err'
30431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30432 (eval $ac_try) 2>&5
30433 ac_status=$?
30434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30435 (exit $ac_status); }; } &&
30436 { ac_try='test -s conftest.$ac_objext'
30437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30438 (eval $ac_try) 2>&5
30439 ac_status=$?
30440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30441 (exit $ac_status); }; }; then
30442 ac_header_compiler=yes
30443 else
30444 echo "$as_me: failed program was:" >&5
30445 sed 's/^/| /' conftest.$ac_ext >&5
30447 ac_header_compiler=no
30449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30450 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30451 echo "${ECHO_T}$ac_header_compiler" >&6
30453 # Is the header present?
30454 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30455 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30456 cat >conftest.$ac_ext <<_ACEOF
30457 /* confdefs.h. */
30458 _ACEOF
30459 cat confdefs.h >>conftest.$ac_ext
30460 cat >>conftest.$ac_ext <<_ACEOF
30461 /* end confdefs.h. */
30462 #include <$ac_header>
30463 _ACEOF
30464 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30465 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30466 ac_status=$?
30467 grep -v '^ *+' conftest.er1 >conftest.err
30468 rm -f conftest.er1
30469 cat conftest.err >&5
30470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30471 (exit $ac_status); } >/dev/null; then
30472 if test -s conftest.err; then
30473 ac_cpp_err=$ac_cxx_preproc_warn_flag
30474 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
30475 else
30476 ac_cpp_err=
30478 else
30479 ac_cpp_err=yes
30481 if test -z "$ac_cpp_err"; then
30482 ac_header_preproc=yes
30483 else
30484 echo "$as_me: failed program was:" >&5
30485 sed 's/^/| /' conftest.$ac_ext >&5
30487 ac_header_preproc=no
30489 rm -f conftest.err conftest.$ac_ext
30490 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30491 echo "${ECHO_T}$ac_header_preproc" >&6
30493 # So? What about this header?
30494 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
30495 yes:no: )
30496 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30497 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30498 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30499 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30500 ac_header_preproc=yes
30502 no:yes:* )
30503 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30504 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30505 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30506 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30507 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30508 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30509 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30510 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30511 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30512 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30513 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30514 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30516 cat <<\_ASBOX
30517 ## ----------------------------------------- ##
30518 ## Report this to the package-unused lists. ##
30519 ## ----------------------------------------- ##
30520 _ASBOX
30522 sed "s/^/$as_me: WARNING: /" >&2
30524 esac
30525 echo "$as_me:$LINENO: checking for $ac_header" >&5
30526 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30527 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30528 echo $ECHO_N "(cached) $ECHO_C" >&6
30529 else
30530 eval "$as_ac_Header=\$ac_header_preproc"
30532 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30533 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30536 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30537 cat >>confdefs.h <<_ACEOF
30538 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30539 _ACEOF
30540 ac_has_fenv_h=yes
30541 else
30542 ac_has_fenv_h=no
30545 done
30547 ac_c99_fenv_tr1=no;
30548 if test x"$ac_has_fenv_h" = x"yes"; then
30549 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <fenv.h>" >&5
30550 echo $ECHO_N "checking for ISO C99 support to TR1 in <fenv.h>... $ECHO_C" >&6
30551 cat >conftest.$ac_ext <<_ACEOF
30552 /* confdefs.h. */
30553 _ACEOF
30554 cat confdefs.h >>conftest.$ac_ext
30555 cat >>conftest.$ac_ext <<_ACEOF
30556 /* end confdefs.h. */
30557 #include <fenv.h>
30559 main ()
30561 int except, mode;
30562 fexcept_t* pflag;
30563 fenv_t* penv;
30564 int ret;
30565 ret = feclearexcept(except);
30566 ret = fegetexceptflag(pflag, except);
30567 ret = feraiseexcept(except);
30568 ret = fesetexceptflag(pflag, except);
30569 ret = fetestexcept(except);
30570 ret = fegetround();
30571 ret = fesetround(mode);
30572 ret = fegetenv(penv);
30573 ret = feholdexcept(penv);
30574 ret = fesetenv(penv);
30575 ret = feupdateenv(penv);
30578 return 0;
30580 _ACEOF
30581 rm -f conftest.$ac_objext
30582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30583 (eval $ac_compile) 2>conftest.er1
30584 ac_status=$?
30585 grep -v '^ *+' conftest.er1 >conftest.err
30586 rm -f conftest.er1
30587 cat conftest.err >&5
30588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30589 (exit $ac_status); } &&
30590 { ac_try='test -z "$ac_cxx_werror_flag"
30591 || test ! -s conftest.err'
30592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30593 (eval $ac_try) 2>&5
30594 ac_status=$?
30595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30596 (exit $ac_status); }; } &&
30597 { ac_try='test -s conftest.$ac_objext'
30598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30599 (eval $ac_try) 2>&5
30600 ac_status=$?
30601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30602 (exit $ac_status); }; }; then
30603 ac_c99_fenv_tr1=yes
30604 else
30605 echo "$as_me: failed program was:" >&5
30606 sed 's/^/| /' conftest.$ac_ext >&5
30608 ac_c99_fenv_tr1=no
30610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30612 echo "$as_me:$LINENO: result: $ac_c99_fenv_tr1" >&5
30613 echo "${ECHO_T}$ac_c99_fenv_tr1" >&6
30614 if test x"$ac_c99_fenv_tr1" = x"yes"; then
30616 cat >>confdefs.h <<\_ACEOF
30617 #define _GLIBCXX_USE_C99_FENV_TR1 1
30618 _ACEOF
30622 # Check for the existence of <stdint.h> types.
30623 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <stdint.h>" >&5
30624 echo $ECHO_N "checking for ISO C99 support to TR1 in <stdint.h>... $ECHO_C" >&6
30625 if test "${ac_c99_stdint_tr1+set}" = set; then
30626 echo $ECHO_N "(cached) $ECHO_C" >&6
30627 else
30629 cat >conftest.$ac_ext <<_ACEOF
30630 /* confdefs.h. */
30631 _ACEOF
30632 cat confdefs.h >>conftest.$ac_ext
30633 cat >>conftest.$ac_ext <<_ACEOF
30634 /* end confdefs.h. */
30635 #include <stdint.h>
30637 main ()
30639 typedef int8_t my_int8_t;
30640 typedef int16_t my_int16_t;
30641 typedef int32_t my_int32_t;
30642 typedef int64_t my_int64_t;
30643 typedef int_fast8_t my_int_fast8_t;
30644 typedef int_fast16_t my_int_fast16_t;
30645 typedef int_fast32_t my_int_fast32_t;
30646 typedef int_fast64_t my_int_fast64_t;
30647 typedef int_least8_t my_int_least8_t;
30648 typedef int_least16_t my_int_least16_t;
30649 typedef int_least32_t my_int_least32_t;
30650 typedef int_least64_t my_int_least64_t;
30651 typedef intmax_t my_intmax_t;
30652 typedef intptr_t my_intptr_t;
30653 typedef uint8_t my_uint8_t;
30654 typedef uint16_t my_uint16_t;
30655 typedef uint32_t my_uint32_t;
30656 typedef uint64_t my_uint64_t;
30657 typedef uint_fast8_t my_uint_fast8_t;
30658 typedef uint_fast16_t my_uint_fast16_t;
30659 typedef uint_fast32_t my_uint_fast32_t;
30660 typedef uint_fast64_t my_uint_fast64_t;
30661 typedef uint_least8_t my_uint_least8_t;
30662 typedef uint_least16_t my_uint_least16_t;
30663 typedef uint_least32_t my_uint_least32_t;
30664 typedef uint_least64_t my_uint_least64_t;
30665 typedef uintmax_t my_uintmax_t;
30666 typedef uintptr_t my_uintptr_t;
30669 return 0;
30671 _ACEOF
30672 rm -f conftest.$ac_objext
30673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30674 (eval $ac_compile) 2>conftest.er1
30675 ac_status=$?
30676 grep -v '^ *+' conftest.er1 >conftest.err
30677 rm -f conftest.er1
30678 cat conftest.err >&5
30679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30680 (exit $ac_status); } &&
30681 { ac_try='test -z "$ac_cxx_werror_flag"
30682 || test ! -s conftest.err'
30683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30684 (eval $ac_try) 2>&5
30685 ac_status=$?
30686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30687 (exit $ac_status); }; } &&
30688 { ac_try='test -s conftest.$ac_objext'
30689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30690 (eval $ac_try) 2>&5
30691 ac_status=$?
30692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30693 (exit $ac_status); }; }; then
30694 ac_c99_stdint_tr1=yes
30695 else
30696 echo "$as_me: failed program was:" >&5
30697 sed 's/^/| /' conftest.$ac_ext >&5
30699 ac_c99_stdint_tr1=no
30701 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30705 echo "$as_me:$LINENO: result: $ac_c99_stdint_tr1" >&5
30706 echo "${ECHO_T}$ac_c99_stdint_tr1" >&6
30707 if test x"$ac_c99_stdint_tr1" = x"yes"; then
30709 cat >>confdefs.h <<\_ACEOF
30710 #define _GLIBCXX_USE_C99_STDINT_TR1 1
30711 _ACEOF
30715 # Check for the existence of <math.h> functions.
30716 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <math.h>" >&5
30717 echo $ECHO_N "checking for ISO C99 support to TR1 in <math.h>... $ECHO_C" >&6
30718 if test "${ac_c99_math_tr1+set}" = set; then
30719 echo $ECHO_N "(cached) $ECHO_C" >&6
30720 else
30722 cat >conftest.$ac_ext <<_ACEOF
30723 /* confdefs.h. */
30724 _ACEOF
30725 cat confdefs.h >>conftest.$ac_ext
30726 cat >>conftest.$ac_ext <<_ACEOF
30727 /* end confdefs.h. */
30728 #include <math.h>
30730 main ()
30732 typedef double_t my_double_t;
30733 typedef float_t my_float_t;
30734 acosh(0.0);
30735 acoshf(0.0f);
30736 acoshl(0.0l);
30737 asinh(0.0);
30738 asinhf(0.0f);
30739 asinhl(0.0l);
30740 atanh(0.0);
30741 atanhf(0.0f);
30742 atanhl(0.0l);
30743 cbrt(0.0);
30744 cbrtf(0.0f);
30745 cbrtl(0.0l);
30746 copysign(0.0, 0.0);
30747 copysignf(0.0f, 0.0f);
30748 copysignl(0.0l, 0.0l);
30749 erf(0.0);
30750 erff(0.0f);
30751 erfl(0.0l);
30752 erfc(0.0);
30753 erfcf(0.0f);
30754 erfcl(0.0l);
30755 exp2(0.0);
30756 exp2f(0.0f);
30757 exp2l(0.0l);
30758 expm1(0.0);
30759 expm1f(0.0f);
30760 expm1l(0.0l);
30761 fdim(0.0, 0.0);
30762 fdimf(0.0f, 0.0f);
30763 fdiml(0.0l, 0.0l);
30764 fma(0.0, 0.0, 0.0);
30765 fmaf(0.0f, 0.0f, 0.0f);
30766 fmal(0.0l, 0.0l, 0.0l);
30767 fmax(0.0, 0.0);
30768 fmaxf(0.0f, 0.0f);
30769 fmaxl(0.0l, 0.0l);
30770 fmin(0.0, 0.0);
30771 fminf(0.0f, 0.0f);
30772 fminl(0.0l, 0.0l);
30773 hypot(0.0, 0.0);
30774 hypotf(0.0f, 0.0f);
30775 hypotl(0.0l, 0.0l);
30776 ilogb(0.0);
30777 ilogbf(0.0f);
30778 ilogbl(0.0l);
30779 lgamma(0.0);
30780 lgammaf(0.0f);
30781 lgammal(0.0l);
30782 llrint(0.0);
30783 llrintf(0.0f);
30784 llrintl(0.0l);
30785 llround(0.0);
30786 llroundf(0.0f);
30787 llroundl(0.0l);
30788 log1p(0.0);
30789 log1pf(0.0f);
30790 log1pl(0.0l);
30791 log2(0.0);
30792 log2f(0.0f);
30793 log2l(0.0l);
30794 logb(0.0);
30795 logbf(0.0f);
30796 logbl(0.0l);
30797 lrint(0.0);
30798 lrintf(0.0f);
30799 lrintl(0.0l);
30800 lround(0.0);
30801 lroundf(0.0f);
30802 lroundl(0.0l);
30803 nan(0);
30804 nanf(0);
30805 nanl(0);
30806 nearbyint(0.0);
30807 nearbyintf(0.0f);
30808 nearbyintl(0.0l);
30809 nextafter(0.0, 0.0);
30810 nextafterf(0.0f, 0.0f);
30811 nextafterl(0.0l, 0.0l);
30812 nexttoward(0.0, 0.0);
30813 nexttowardf(0.0f, 0.0f);
30814 nexttowardl(0.0l, 0.0l);
30815 remainder(0.0, 0.0);
30816 remainderf(0.0f, 0.0f);
30817 remainderl(0.0l, 0.0l);
30818 remquo(0.0, 0.0, 0);
30819 remquo(0.0f, 0.0f, 0);
30820 remquo(0.0l, 0.0l, 0);
30821 rint(0.0);
30822 rintf(0.0f);
30823 rintl(0.0l);
30824 round(0.0);
30825 roundf(0.0f);
30826 roundl(0.0l);
30827 scalbln(0.0, 0l);
30828 scalblnf(0.0f, 0l);
30829 scalblnl(0.0l, 0l);
30830 scalbn(0.0, 0);
30831 scalbnf(0.0f, 0);
30832 scalbnl(0.0l, 0);
30833 tgamma(0.0);
30834 tgammaf(0.0f);
30835 tgammal(0.0l);
30836 trunc(0.0);
30837 truncf(0.0f);
30838 truncl(0.0l);
30841 return 0;
30843 _ACEOF
30844 rm -f conftest.$ac_objext
30845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30846 (eval $ac_compile) 2>conftest.er1
30847 ac_status=$?
30848 grep -v '^ *+' conftest.er1 >conftest.err
30849 rm -f conftest.er1
30850 cat conftest.err >&5
30851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30852 (exit $ac_status); } &&
30853 { ac_try='test -z "$ac_cxx_werror_flag"
30854 || test ! -s conftest.err'
30855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30856 (eval $ac_try) 2>&5
30857 ac_status=$?
30858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30859 (exit $ac_status); }; } &&
30860 { ac_try='test -s conftest.$ac_objext'
30861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30862 (eval $ac_try) 2>&5
30863 ac_status=$?
30864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30865 (exit $ac_status); }; }; then
30866 ac_c99_math_tr1=yes
30867 else
30868 echo "$as_me: failed program was:" >&5
30869 sed 's/^/| /' conftest.$ac_ext >&5
30871 ac_c99_math_tr1=no
30873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30877 echo "$as_me:$LINENO: result: $ac_c99_math_tr1" >&5
30878 echo "${ECHO_T}$ac_c99_math_tr1" >&6
30879 if test x"$ac_c99_math_tr1" = x"yes"; then
30881 cat >>confdefs.h <<\_ACEOF
30882 #define _GLIBCXX_USE_C99_MATH_TR1 1
30883 _ACEOF
30887 # Check for the existence of <inttypes.h> functions (NB: doesn't make
30888 # sense if the previous check fails, per C99, 7.8/1).
30889 ac_c99_inttypes_tr1=no;
30890 if test x"$ac_c99_stdint_tr1" = x"yes"; then
30891 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
30892 echo $ECHO_N "checking for ISO C99 support to TR1 in <inttypes.h>... $ECHO_C" >&6
30893 cat >conftest.$ac_ext <<_ACEOF
30894 /* confdefs.h. */
30895 _ACEOF
30896 cat confdefs.h >>conftest.$ac_ext
30897 cat >>conftest.$ac_ext <<_ACEOF
30898 /* end confdefs.h. */
30899 #include <inttypes.h>
30901 main ()
30903 intmax_t i, numer, denom, base;
30904 const char* s;
30905 char** endptr;
30906 intmax_t ret = imaxabs(i);
30907 imaxdiv_t dret = imaxdiv(numer, denom);
30908 ret = strtoimax(s, endptr, base);
30909 uintmax_t uret = strtoumax(s, endptr, base);
30912 return 0;
30914 _ACEOF
30915 rm -f conftest.$ac_objext
30916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30917 (eval $ac_compile) 2>conftest.er1
30918 ac_status=$?
30919 grep -v '^ *+' conftest.er1 >conftest.err
30920 rm -f conftest.er1
30921 cat conftest.err >&5
30922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30923 (exit $ac_status); } &&
30924 { ac_try='test -z "$ac_cxx_werror_flag"
30925 || test ! -s conftest.err'
30926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30927 (eval $ac_try) 2>&5
30928 ac_status=$?
30929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30930 (exit $ac_status); }; } &&
30931 { ac_try='test -s conftest.$ac_objext'
30932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30933 (eval $ac_try) 2>&5
30934 ac_status=$?
30935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30936 (exit $ac_status); }; }; then
30937 ac_c99_inttypes_tr1=yes
30938 else
30939 echo "$as_me: failed program was:" >&5
30940 sed 's/^/| /' conftest.$ac_ext >&5
30942 ac_c99_inttypes_tr1=no
30944 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30946 echo "$as_me:$LINENO: result: $ac_c99_inttypes_tr1" >&5
30947 echo "${ECHO_T}$ac_c99_inttypes_tr1" >&6
30948 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
30950 cat >>confdefs.h <<\_ACEOF
30951 #define _GLIBCXX_USE_C99_INTTYPES_TR1 1
30952 _ACEOF
30956 # Check for the existence of the <stdbool.h> header.
30958 for ac_header in stdbool.h
30960 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30961 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30962 echo "$as_me:$LINENO: checking for $ac_header" >&5
30963 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30964 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30965 echo $ECHO_N "(cached) $ECHO_C" >&6
30967 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30968 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30969 else
30970 # Is the header compilable?
30971 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30972 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30973 cat >conftest.$ac_ext <<_ACEOF
30974 /* confdefs.h. */
30975 _ACEOF
30976 cat confdefs.h >>conftest.$ac_ext
30977 cat >>conftest.$ac_ext <<_ACEOF
30978 /* end confdefs.h. */
30979 $ac_includes_default
30980 #include <$ac_header>
30981 _ACEOF
30982 rm -f conftest.$ac_objext
30983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30984 (eval $ac_compile) 2>conftest.er1
30985 ac_status=$?
30986 grep -v '^ *+' conftest.er1 >conftest.err
30987 rm -f conftest.er1
30988 cat conftest.err >&5
30989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30990 (exit $ac_status); } &&
30991 { ac_try='test -z "$ac_cxx_werror_flag"
30992 || test ! -s conftest.err'
30993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30994 (eval $ac_try) 2>&5
30995 ac_status=$?
30996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30997 (exit $ac_status); }; } &&
30998 { ac_try='test -s conftest.$ac_objext'
30999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31000 (eval $ac_try) 2>&5
31001 ac_status=$?
31002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31003 (exit $ac_status); }; }; then
31004 ac_header_compiler=yes
31005 else
31006 echo "$as_me: failed program was:" >&5
31007 sed 's/^/| /' conftest.$ac_ext >&5
31009 ac_header_compiler=no
31011 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31012 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31013 echo "${ECHO_T}$ac_header_compiler" >&6
31015 # Is the header present?
31016 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31017 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31018 cat >conftest.$ac_ext <<_ACEOF
31019 /* confdefs.h. */
31020 _ACEOF
31021 cat confdefs.h >>conftest.$ac_ext
31022 cat >>conftest.$ac_ext <<_ACEOF
31023 /* end confdefs.h. */
31024 #include <$ac_header>
31025 _ACEOF
31026 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31027 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31028 ac_status=$?
31029 grep -v '^ *+' conftest.er1 >conftest.err
31030 rm -f conftest.er1
31031 cat conftest.err >&5
31032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31033 (exit $ac_status); } >/dev/null; then
31034 if test -s conftest.err; then
31035 ac_cpp_err=$ac_cxx_preproc_warn_flag
31036 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
31037 else
31038 ac_cpp_err=
31040 else
31041 ac_cpp_err=yes
31043 if test -z "$ac_cpp_err"; then
31044 ac_header_preproc=yes
31045 else
31046 echo "$as_me: failed program was:" >&5
31047 sed 's/^/| /' conftest.$ac_ext >&5
31049 ac_header_preproc=no
31051 rm -f conftest.err conftest.$ac_ext
31052 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31053 echo "${ECHO_T}$ac_header_preproc" >&6
31055 # So? What about this header?
31056 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
31057 yes:no: )
31058 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31059 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31060 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31061 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31062 ac_header_preproc=yes
31064 no:yes:* )
31065 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31066 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31067 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31068 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31069 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31070 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31071 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31072 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31073 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31074 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31075 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31076 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31078 cat <<\_ASBOX
31079 ## ----------------------------------------- ##
31080 ## Report this to the package-unused lists. ##
31081 ## ----------------------------------------- ##
31082 _ASBOX
31084 sed "s/^/$as_me: WARNING: /" >&2
31086 esac
31087 echo "$as_me:$LINENO: checking for $ac_header" >&5
31088 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31089 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31090 echo $ECHO_N "(cached) $ECHO_C" >&6
31091 else
31092 eval "$as_ac_Header=\$ac_header_preproc"
31094 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31095 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31098 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31099 cat >>confdefs.h <<_ACEOF
31100 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31101 _ACEOF
31105 done
31108 ac_ext=c
31109 ac_cpp='$CPP $CPPFLAGS'
31110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31116 # For dev/random and dev/urandom for TR1.
31119 echo "$as_me:$LINENO: checking for \"dev/random\" and \"dev/urandom\" for TR1 random_device" >&5
31120 echo $ECHO_N "checking for \"dev/random\" and \"dev/urandom\" for TR1 random_device... $ECHO_C" >&6
31121 if test "${ac_random_tr1+set}" = set; then
31122 echo $ECHO_N "(cached) $ECHO_C" >&6
31123 else
31125 if test "$cross_compiling" = yes; then
31126 ac_random_tr1=no
31127 else
31128 cat >conftest.$ac_ext <<_ACEOF
31129 /* confdefs.h. */
31130 _ACEOF
31131 cat confdefs.h >>conftest.$ac_ext
31132 cat >>conftest.$ac_ext <<_ACEOF
31133 /* end confdefs.h. */
31134 #include <stdio.h>
31135 int main()
31137 return !(fopen("/dev/random", "r")
31138 && fopen("/dev/urandom", "r"));
31141 _ACEOF
31142 rm -f conftest$ac_exeext
31143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31144 (eval $ac_link) 2>&5
31145 ac_status=$?
31146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31147 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31149 (eval $ac_try) 2>&5
31150 ac_status=$?
31151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31152 (exit $ac_status); }; }; then
31153 ac_random_tr1=yes
31154 else
31155 echo "$as_me: program exited with status $ac_status" >&5
31156 echo "$as_me: failed program was:" >&5
31157 sed 's/^/| /' conftest.$ac_ext >&5
31159 ( exit $ac_status )
31160 ac_random_tr1=no
31162 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31167 echo "$as_me:$LINENO: result: $ac_random_tr1" >&5
31168 echo "${ECHO_T}$ac_random_tr1" >&6
31169 if test x"$ac_random_tr1" = x"yes"; then
31171 cat >>confdefs.h <<\_ACEOF
31172 #define _GLIBCXX_USE_RANDOM_TR1 1
31173 _ACEOF
31179 # For TLS support.
31181 # Check whether --enable-tls or --disable-tls was given.
31182 if test "${enable_tls+set}" = set; then
31183 enableval="$enable_tls"
31185 case "$enableval" in
31186 yes|no) ;;
31187 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
31188 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
31189 { (exit 1); exit 1; }; } ;;
31190 esac
31192 else
31193 enable_tls=yes
31196 echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
31197 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
31198 if test "${have_tls+set}" = set; then
31199 echo $ECHO_N "(cached) $ECHO_C" >&6
31200 else
31202 if test "$cross_compiling" = yes; then
31203 cat >conftest.$ac_ext <<_ACEOF
31204 __thread int foo;
31205 _ACEOF
31206 rm -f conftest.$ac_objext
31207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31208 (eval $ac_compile) 2>conftest.er1
31209 ac_status=$?
31210 grep -v '^ *+' conftest.er1 >conftest.err
31211 rm -f conftest.er1
31212 cat conftest.err >&5
31213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31214 (exit $ac_status); } &&
31215 { ac_try='test -z "$ac_c_werror_flag"
31216 || test ! -s conftest.err'
31217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31218 (eval $ac_try) 2>&5
31219 ac_status=$?
31220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31221 (exit $ac_status); }; } &&
31222 { ac_try='test -s conftest.$ac_objext'
31223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31224 (eval $ac_try) 2>&5
31225 ac_status=$?
31226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31227 (exit $ac_status); }; }; then
31228 have_tls=yes
31229 else
31230 echo "$as_me: failed program was:" >&5
31231 sed 's/^/| /' conftest.$ac_ext >&5
31233 have_tls=no
31235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31237 else
31238 cat >conftest.$ac_ext <<_ACEOF
31239 __thread int a; int b; int main() { return a = b; }
31240 _ACEOF
31241 rm -f conftest$ac_exeext
31242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31243 (eval $ac_link) 2>&5
31244 ac_status=$?
31245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31246 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31248 (eval $ac_try) 2>&5
31249 ac_status=$?
31250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31251 (exit $ac_status); }; }; then
31252 save_LDFLAGS="$LDFLAGS"
31253 LDFLAGS="-static $LDFLAGS"
31254 if test "$cross_compiling" = yes; then
31255 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
31256 See \`config.log' for more details." >&5
31257 echo "$as_me: error: cannot run test program while cross compiling
31258 See \`config.log' for more details." >&2;}
31259 { (exit 1); exit 1; }; }
31260 else
31261 cat >conftest.$ac_ext <<_ACEOF
31262 __thread int a; int b; int main() { return a = b; }
31263 _ACEOF
31264 rm -f conftest$ac_exeext
31265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31266 (eval $ac_link) 2>&5
31267 ac_status=$?
31268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31269 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31271 (eval $ac_try) 2>&5
31272 ac_status=$?
31273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31274 (exit $ac_status); }; }; then
31275 have_tls=yes
31276 else
31277 echo "$as_me: program exited with status $ac_status" >&5
31278 echo "$as_me: failed program was:" >&5
31279 sed 's/^/| /' conftest.$ac_ext >&5
31281 ( exit $ac_status )
31282 have_tls=no
31284 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31286 LDFLAGS="$save_LDFLAGS"
31287 else
31288 echo "$as_me: program exited with status $ac_status" >&5
31289 echo "$as_me: failed program was:" >&5
31290 sed 's/^/| /' conftest.$ac_ext >&5
31292 ( exit $ac_status )
31293 have_tls=no
31295 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31298 echo "$as_me:$LINENO: result: $have_tls" >&5
31299 echo "${ECHO_T}$have_tls" >&6
31300 if test "$enable_tls $have_tls" = "yes yes"; then
31302 cat >>confdefs.h <<\_ACEOF
31303 #define HAVE_TLS 1
31304 _ACEOF
31309 if test "${ac_cv_header_locale_h+set}" = set; then
31310 echo "$as_me:$LINENO: checking for locale.h" >&5
31311 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
31312 if test "${ac_cv_header_locale_h+set}" = set; then
31313 echo $ECHO_N "(cached) $ECHO_C" >&6
31315 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
31316 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
31317 else
31318 # Is the header compilable?
31319 echo "$as_me:$LINENO: checking locale.h usability" >&5
31320 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
31321 cat >conftest.$ac_ext <<_ACEOF
31322 /* confdefs.h. */
31323 _ACEOF
31324 cat confdefs.h >>conftest.$ac_ext
31325 cat >>conftest.$ac_ext <<_ACEOF
31326 /* end confdefs.h. */
31327 $ac_includes_default
31328 #include <locale.h>
31329 _ACEOF
31330 rm -f conftest.$ac_objext
31331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31332 (eval $ac_compile) 2>conftest.er1
31333 ac_status=$?
31334 grep -v '^ *+' conftest.er1 >conftest.err
31335 rm -f conftest.er1
31336 cat conftest.err >&5
31337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31338 (exit $ac_status); } &&
31339 { ac_try='test -z "$ac_c_werror_flag"
31340 || test ! -s conftest.err'
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); }; } &&
31346 { ac_try='test -s conftest.$ac_objext'
31347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31348 (eval $ac_try) 2>&5
31349 ac_status=$?
31350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31351 (exit $ac_status); }; }; then
31352 ac_header_compiler=yes
31353 else
31354 echo "$as_me: failed program was:" >&5
31355 sed 's/^/| /' conftest.$ac_ext >&5
31357 ac_header_compiler=no
31359 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31360 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31361 echo "${ECHO_T}$ac_header_compiler" >&6
31363 # Is the header present?
31364 echo "$as_me:$LINENO: checking locale.h presence" >&5
31365 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
31366 cat >conftest.$ac_ext <<_ACEOF
31367 /* confdefs.h. */
31368 _ACEOF
31369 cat confdefs.h >>conftest.$ac_ext
31370 cat >>conftest.$ac_ext <<_ACEOF
31371 /* end confdefs.h. */
31372 #include <locale.h>
31373 _ACEOF
31374 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31375 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31376 ac_status=$?
31377 grep -v '^ *+' conftest.er1 >conftest.err
31378 rm -f conftest.er1
31379 cat conftest.err >&5
31380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31381 (exit $ac_status); } >/dev/null; then
31382 if test -s conftest.err; then
31383 ac_cpp_err=$ac_c_preproc_warn_flag
31384 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31385 else
31386 ac_cpp_err=
31388 else
31389 ac_cpp_err=yes
31391 if test -z "$ac_cpp_err"; then
31392 ac_header_preproc=yes
31393 else
31394 echo "$as_me: failed program was:" >&5
31395 sed 's/^/| /' conftest.$ac_ext >&5
31397 ac_header_preproc=no
31399 rm -f conftest.err conftest.$ac_ext
31400 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31401 echo "${ECHO_T}$ac_header_preproc" >&6
31403 # So? What about this header?
31404 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31405 yes:no: )
31406 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
31407 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31408 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
31409 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
31410 ac_header_preproc=yes
31412 no:yes:* )
31413 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
31414 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
31415 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
31416 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
31417 { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
31418 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
31419 { echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5
31420 echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;}
31421 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
31422 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
31423 { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
31424 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
31426 cat <<\_ASBOX
31427 ## ----------------------------------------- ##
31428 ## Report this to the package-unused lists. ##
31429 ## ----------------------------------------- ##
31430 _ASBOX
31432 sed "s/^/$as_me: WARNING: /" >&2
31434 esac
31435 echo "$as_me:$LINENO: checking for locale.h" >&5
31436 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
31437 if test "${ac_cv_header_locale_h+set}" = set; then
31438 echo $ECHO_N "(cached) $ECHO_C" >&6
31439 else
31440 ac_cv_header_locale_h=$ac_header_preproc
31442 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
31443 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
31446 if test $ac_cv_header_locale_h = yes; then
31448 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
31449 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
31450 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
31451 echo $ECHO_N "(cached) $ECHO_C" >&6
31452 else
31453 if test x$gcc_no_link = xyes; then
31454 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31455 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31456 { (exit 1); exit 1; }; }
31458 cat >conftest.$ac_ext <<_ACEOF
31459 /* confdefs.h. */
31460 _ACEOF
31461 cat confdefs.h >>conftest.$ac_ext
31462 cat >>conftest.$ac_ext <<_ACEOF
31463 /* end confdefs.h. */
31464 #include <locale.h>
31466 main ()
31468 return LC_MESSAGES
31470 return 0;
31472 _ACEOF
31473 rm -f conftest.$ac_objext conftest$ac_exeext
31474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31475 (eval $ac_link) 2>conftest.er1
31476 ac_status=$?
31477 grep -v '^ *+' conftest.er1 >conftest.err
31478 rm -f conftest.er1
31479 cat conftest.err >&5
31480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31481 (exit $ac_status); } &&
31482 { ac_try='test -z "$ac_c_werror_flag"
31483 || test ! -s conftest.err'
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); }; } &&
31489 { ac_try='test -s conftest$ac_exeext'
31490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31491 (eval $ac_try) 2>&5
31492 ac_status=$?
31493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31494 (exit $ac_status); }; }; then
31495 ac_cv_val_LC_MESSAGES=yes
31496 else
31497 echo "$as_me: failed program was:" >&5
31498 sed 's/^/| /' conftest.$ac_ext >&5
31500 ac_cv_val_LC_MESSAGES=no
31502 rm -f conftest.err conftest.$ac_objext \
31503 conftest$ac_exeext conftest.$ac_ext
31505 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
31506 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
31507 if test $ac_cv_val_LC_MESSAGES = yes; then
31509 cat >>confdefs.h <<\_ACEOF
31510 #define HAVE_LC_MESSAGES 1
31511 _ACEOF
31520 cat >conftest.$ac_ext <<_ACEOF
31521 /* confdefs.h. */
31522 _ACEOF
31523 cat confdefs.h >>conftest.$ac_ext
31524 cat >>conftest.$ac_ext <<_ACEOF
31525 /* end confdefs.h. */
31526 #include <setjmp.h>
31528 main ()
31530 sigjmp_buf env;
31531 while (! sigsetjmp (env, 1))
31532 siglongjmp (env, 1);
31535 return 0;
31537 _ACEOF
31538 rm -f conftest.$ac_objext
31539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31540 (eval $ac_compile) 2>conftest.er1
31541 ac_status=$?
31542 grep -v '^ *+' conftest.er1 >conftest.err
31543 rm -f conftest.er1
31544 cat conftest.err >&5
31545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31546 (exit $ac_status); } &&
31547 { ac_try='test -z "$ac_c_werror_flag"
31548 || test ! -s conftest.err'
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); }; } &&
31554 { ac_try='test -s conftest.$ac_objext'
31555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31556 (eval $ac_try) 2>&5
31557 ac_status=$?
31558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31559 (exit $ac_status); }; }; then
31561 cat >>confdefs.h <<\_ACEOF
31562 #define HAVE_SIGSETJMP 1
31563 _ACEOF
31565 else
31566 echo "$as_me: failed program was:" >&5
31567 sed 's/^/| /' conftest.$ac_ext >&5
31570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31572 if test x$gcc_no_link = xyes; then
31573 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
31574 ac_cv_func_mmap_fixed_mapped=no
31577 if test "x${ac_cv_func_mmap_fixed_mapped}" != xno; then
31580 for ac_header in stdlib.h unistd.h
31582 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31583 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31584 echo "$as_me:$LINENO: checking for $ac_header" >&5
31585 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31586 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31587 echo $ECHO_N "(cached) $ECHO_C" >&6
31589 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31590 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31591 else
31592 # Is the header compilable?
31593 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31594 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31595 cat >conftest.$ac_ext <<_ACEOF
31596 /* confdefs.h. */
31597 _ACEOF
31598 cat confdefs.h >>conftest.$ac_ext
31599 cat >>conftest.$ac_ext <<_ACEOF
31600 /* end confdefs.h. */
31601 $ac_includes_default
31602 #include <$ac_header>
31603 _ACEOF
31604 rm -f conftest.$ac_objext
31605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31606 (eval $ac_compile) 2>conftest.er1
31607 ac_status=$?
31608 grep -v '^ *+' conftest.er1 >conftest.err
31609 rm -f conftest.er1
31610 cat conftest.err >&5
31611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31612 (exit $ac_status); } &&
31613 { ac_try='test -z "$ac_c_werror_flag"
31614 || test ! -s conftest.err'
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); }; } &&
31620 { ac_try='test -s conftest.$ac_objext'
31621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31622 (eval $ac_try) 2>&5
31623 ac_status=$?
31624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31625 (exit $ac_status); }; }; then
31626 ac_header_compiler=yes
31627 else
31628 echo "$as_me: failed program was:" >&5
31629 sed 's/^/| /' conftest.$ac_ext >&5
31631 ac_header_compiler=no
31633 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31634 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31635 echo "${ECHO_T}$ac_header_compiler" >&6
31637 # Is the header present?
31638 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31639 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31640 cat >conftest.$ac_ext <<_ACEOF
31641 /* confdefs.h. */
31642 _ACEOF
31643 cat confdefs.h >>conftest.$ac_ext
31644 cat >>conftest.$ac_ext <<_ACEOF
31645 /* end confdefs.h. */
31646 #include <$ac_header>
31647 _ACEOF
31648 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31649 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31650 ac_status=$?
31651 grep -v '^ *+' conftest.er1 >conftest.err
31652 rm -f conftest.er1
31653 cat conftest.err >&5
31654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31655 (exit $ac_status); } >/dev/null; then
31656 if test -s conftest.err; then
31657 ac_cpp_err=$ac_c_preproc_warn_flag
31658 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31659 else
31660 ac_cpp_err=
31662 else
31663 ac_cpp_err=yes
31665 if test -z "$ac_cpp_err"; then
31666 ac_header_preproc=yes
31667 else
31668 echo "$as_me: failed program was:" >&5
31669 sed 's/^/| /' conftest.$ac_ext >&5
31671 ac_header_preproc=no
31673 rm -f conftest.err conftest.$ac_ext
31674 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31675 echo "${ECHO_T}$ac_header_preproc" >&6
31677 # So? What about this header?
31678 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31679 yes:no: )
31680 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31681 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31682 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31683 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31684 ac_header_preproc=yes
31686 no:yes:* )
31687 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31688 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31689 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31690 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31691 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31692 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31693 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31694 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31695 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31696 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31697 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31698 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31700 cat <<\_ASBOX
31701 ## ----------------------------------------- ##
31702 ## Report this to the package-unused lists. ##
31703 ## ----------------------------------------- ##
31704 _ASBOX
31706 sed "s/^/$as_me: WARNING: /" >&2
31708 esac
31709 echo "$as_me:$LINENO: checking for $ac_header" >&5
31710 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31711 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31712 echo $ECHO_N "(cached) $ECHO_C" >&6
31713 else
31714 eval "$as_ac_Header=\$ac_header_preproc"
31716 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31717 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31720 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31721 cat >>confdefs.h <<_ACEOF
31722 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31723 _ACEOF
31727 done
31730 for ac_func in getpagesize
31732 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31733 echo "$as_me:$LINENO: checking for $ac_func" >&5
31734 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31735 if eval "test \"\${$as_ac_var+set}\" = set"; then
31736 echo $ECHO_N "(cached) $ECHO_C" >&6
31737 else
31738 if test x$gcc_no_link = xyes; then
31739 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31740 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31741 { (exit 1); exit 1; }; }
31743 cat >conftest.$ac_ext <<_ACEOF
31744 /* confdefs.h. */
31745 _ACEOF
31746 cat confdefs.h >>conftest.$ac_ext
31747 cat >>conftest.$ac_ext <<_ACEOF
31748 /* end confdefs.h. */
31749 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31750 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31751 #define $ac_func innocuous_$ac_func
31753 /* System header to define __stub macros and hopefully few prototypes,
31754 which can conflict with char $ac_func (); below.
31755 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31756 <limits.h> exists even on freestanding compilers. */
31758 #ifdef __STDC__
31759 # include <limits.h>
31760 #else
31761 # include <assert.h>
31762 #endif
31764 #undef $ac_func
31766 /* Override any gcc2 internal prototype to avoid an error. */
31767 #ifdef __cplusplus
31768 extern "C"
31770 #endif
31771 /* We use char because int might match the return type of a gcc2
31772 builtin and then its argument prototype would still apply. */
31773 char $ac_func ();
31774 /* The GNU C library defines this for functions which it implements
31775 to always fail with ENOSYS. Some functions are actually named
31776 something starting with __ and the normal name is an alias. */
31777 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31778 choke me
31779 #else
31780 char (*f) () = $ac_func;
31781 #endif
31782 #ifdef __cplusplus
31784 #endif
31787 main ()
31789 return f != $ac_func;
31791 return 0;
31793 _ACEOF
31794 rm -f conftest.$ac_objext conftest$ac_exeext
31795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31796 (eval $ac_link) 2>conftest.er1
31797 ac_status=$?
31798 grep -v '^ *+' conftest.er1 >conftest.err
31799 rm -f conftest.er1
31800 cat conftest.err >&5
31801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31802 (exit $ac_status); } &&
31803 { ac_try='test -z "$ac_c_werror_flag"
31804 || test ! -s conftest.err'
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); }; } &&
31810 { ac_try='test -s conftest$ac_exeext'
31811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31812 (eval $ac_try) 2>&5
31813 ac_status=$?
31814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31815 (exit $ac_status); }; }; then
31816 eval "$as_ac_var=yes"
31817 else
31818 echo "$as_me: failed program was:" >&5
31819 sed 's/^/| /' conftest.$ac_ext >&5
31821 eval "$as_ac_var=no"
31823 rm -f conftest.err conftest.$ac_objext \
31824 conftest$ac_exeext conftest.$ac_ext
31826 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31827 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31828 if test `eval echo '${'$as_ac_var'}'` = yes; then
31829 cat >>confdefs.h <<_ACEOF
31830 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31831 _ACEOF
31834 done
31836 echo "$as_me:$LINENO: checking for working mmap" >&5
31837 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
31838 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
31839 echo $ECHO_N "(cached) $ECHO_C" >&6
31840 else
31841 if test "$cross_compiling" = yes; then
31842 ac_cv_func_mmap_fixed_mapped=no
31843 else
31844 cat >conftest.$ac_ext <<_ACEOF
31845 /* confdefs.h. */
31846 _ACEOF
31847 cat confdefs.h >>conftest.$ac_ext
31848 cat >>conftest.$ac_ext <<_ACEOF
31849 /* end confdefs.h. */
31850 $ac_includes_default
31851 /* malloc might have been renamed as rpl_malloc. */
31852 #undef malloc
31854 /* Thanks to Mike Haertel and Jim Avera for this test.
31855 Here is a matrix of mmap possibilities:
31856 mmap private not fixed
31857 mmap private fixed at somewhere currently unmapped
31858 mmap private fixed at somewhere already mapped
31859 mmap shared not fixed
31860 mmap shared fixed at somewhere currently unmapped
31861 mmap shared fixed at somewhere already mapped
31862 For private mappings, we should verify that changes cannot be read()
31863 back from the file, nor mmap's back from the file at a different
31864 address. (There have been systems where private was not correctly
31865 implemented like the infamous i386 svr4.0, and systems where the
31866 VM page cache was not coherent with the file system buffer cache
31867 like early versions of FreeBSD and possibly contemporary NetBSD.)
31868 For shared mappings, we should conversely verify that changes get
31869 propagated back to all the places they're supposed to be.
31871 Grep wants private fixed already mapped.
31872 The main things grep needs to know about mmap are:
31873 * does it exist and is it safe to write into the mmap'd area
31874 * how to use it (BSD variants) */
31876 #include <fcntl.h>
31877 #include <sys/mman.h>
31879 #if !STDC_HEADERS && !HAVE_STDLIB_H
31880 char *malloc ();
31881 #endif
31883 /* This mess was copied from the GNU getpagesize.h. */
31884 #if !HAVE_GETPAGESIZE
31885 /* Assume that all systems that can run configure have sys/param.h. */
31886 # if !HAVE_SYS_PARAM_H
31887 # define HAVE_SYS_PARAM_H 1
31888 # endif
31890 # ifdef _SC_PAGESIZE
31891 # define getpagesize() sysconf(_SC_PAGESIZE)
31892 # else /* no _SC_PAGESIZE */
31893 # if HAVE_SYS_PARAM_H
31894 # include <sys/param.h>
31895 # ifdef EXEC_PAGESIZE
31896 # define getpagesize() EXEC_PAGESIZE
31897 # else /* no EXEC_PAGESIZE */
31898 # ifdef NBPG
31899 # define getpagesize() NBPG * CLSIZE
31900 # ifndef CLSIZE
31901 # define CLSIZE 1
31902 # endif /* no CLSIZE */
31903 # else /* no NBPG */
31904 # ifdef NBPC
31905 # define getpagesize() NBPC
31906 # else /* no NBPC */
31907 # ifdef PAGESIZE
31908 # define getpagesize() PAGESIZE
31909 # endif /* PAGESIZE */
31910 # endif /* no NBPC */
31911 # endif /* no NBPG */
31912 # endif /* no EXEC_PAGESIZE */
31913 # else /* no HAVE_SYS_PARAM_H */
31914 # define getpagesize() 8192 /* punt totally */
31915 # endif /* no HAVE_SYS_PARAM_H */
31916 # endif /* no _SC_PAGESIZE */
31918 #endif /* no HAVE_GETPAGESIZE */
31921 main ()
31923 char *data, *data2, *data3;
31924 int i, pagesize;
31925 int fd;
31927 pagesize = getpagesize ();
31929 /* First, make a file with some known garbage in it. */
31930 data = (char *) malloc (pagesize);
31931 if (!data)
31932 exit (1);
31933 for (i = 0; i < pagesize; ++i)
31934 *(data + i) = rand ();
31935 umask (0);
31936 fd = creat ("conftest.mmap", 0600);
31937 if (fd < 0)
31938 exit (1);
31939 if (write (fd, data, pagesize) != pagesize)
31940 exit (1);
31941 close (fd);
31943 /* Next, try to mmap the file at a fixed address which already has
31944 something else allocated at it. If we can, also make sure that
31945 we see the same garbage. */
31946 fd = open ("conftest.mmap", O_RDWR);
31947 if (fd < 0)
31948 exit (1);
31949 data2 = (char *) malloc (2 * pagesize);
31950 if (!data2)
31951 exit (1);
31952 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
31953 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
31954 MAP_PRIVATE | MAP_FIXED, fd, 0L))
31955 exit (1);
31956 for (i = 0; i < pagesize; ++i)
31957 if (*(data + i) != *(data2 + i))
31958 exit (1);
31960 /* Finally, make sure that changes to the mapped area do not
31961 percolate back to the file as seen by read(). (This is a bug on
31962 some variants of i386 svr4.0.) */
31963 for (i = 0; i < pagesize; ++i)
31964 *(data2 + i) = *(data2 + i) + 1;
31965 data3 = (char *) malloc (pagesize);
31966 if (!data3)
31967 exit (1);
31968 if (read (fd, data3, pagesize) != pagesize)
31969 exit (1);
31970 for (i = 0; i < pagesize; ++i)
31971 if (*(data + i) != *(data3 + i))
31972 exit (1);
31973 close (fd);
31974 exit (0);
31976 _ACEOF
31977 rm -f conftest$ac_exeext
31978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31979 (eval $ac_link) 2>&5
31980 ac_status=$?
31981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31982 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31984 (eval $ac_try) 2>&5
31985 ac_status=$?
31986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31987 (exit $ac_status); }; }; then
31988 ac_cv_func_mmap_fixed_mapped=yes
31989 else
31990 echo "$as_me: program exited with status $ac_status" >&5
31991 echo "$as_me: failed program was:" >&5
31992 sed 's/^/| /' conftest.$ac_ext >&5
31994 ( exit $ac_status )
31995 ac_cv_func_mmap_fixed_mapped=no
31997 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32000 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
32001 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
32002 if test $ac_cv_func_mmap_fixed_mapped = yes; then
32004 cat >>confdefs.h <<\_ACEOF
32005 #define HAVE_MMAP 1
32006 _ACEOF
32009 rm -f conftest.mmap
32013 else
32015 # This lets us hard-code the functionality we know we'll have in the cross
32016 # target environment. "Let" is a sugar-coated word placed on an especially
32017 # dull and tedious hack, actually.
32019 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
32020 # that involve linking, can't be used:
32021 # "cannot open sim-crt0.o"
32022 # "cannot open crt0.o"
32023 # etc. All this is because there currently exists no unified, consistent
32024 # way for top level CC information to be passed down to target directories:
32025 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
32026 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
32027 # crosses can be removed.
32029 # If Canadian cross, then don't pick up tools from the build directory.
32030 # Used only in GLIBCXX_EXPORT_INCLUDES.
32031 if test -n "$with_cross_host" &&
32032 test x"$build_alias" != x"$with_cross_host" &&
32033 test x"$build" != x"$target";
32034 then
32035 CANADIAN=yes
32036 else
32037 CANADIAN=no
32040 # Construct crosses by hand, eliminating bits that need ld...
32041 # GLIBCXX_CHECK_COMPILER_FEATURES
32042 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
32043 # GLIBCXX_CHECK_MATH_SUPPORT
32045 # First, test for "known" system libraries. We may be using newlib even
32046 # on a hosted environment.
32047 if test "x${with_newlib}" = "xyes"; then
32048 os_include_dir="os/newlib"
32049 cat >>confdefs.h <<\_ACEOF
32050 #define HAVE_HYPOT 1
32051 _ACEOF
32054 # GLIBCXX_CHECK_STDLIB_SUPPORT
32055 cat >>confdefs.h <<\_ACEOF
32056 #define HAVE_STRTOF 1
32057 _ACEOF
32059 # AC_FUNC_MMAP
32060 cat >>confdefs.h <<\_ACEOF
32061 #define HAVE_MMAP 1
32062 _ACEOF
32065 cat >>confdefs.h <<\_ACEOF
32066 #define HAVE_ACOSF 1
32067 _ACEOF
32069 cat >>confdefs.h <<\_ACEOF
32070 #define HAVE_ASINF 1
32071 _ACEOF
32073 cat >>confdefs.h <<\_ACEOF
32074 #define HAVE_ATAN2F 1
32075 _ACEOF
32077 cat >>confdefs.h <<\_ACEOF
32078 #define HAVE_ATANF 1
32079 _ACEOF
32081 cat >>confdefs.h <<\_ACEOF
32082 #define HAVE_CEILF 1
32083 _ACEOF
32085 cat >>confdefs.h <<\_ACEOF
32086 #define HAVE_COPYSIGN 1
32087 _ACEOF
32089 cat >>confdefs.h <<\_ACEOF
32090 #define HAVE_COPYSIGNF 1
32091 _ACEOF
32093 cat >>confdefs.h <<\_ACEOF
32094 #define HAVE_COSF 1
32095 _ACEOF
32097 cat >>confdefs.h <<\_ACEOF
32098 #define HAVE_COSHF 1
32099 _ACEOF
32101 cat >>confdefs.h <<\_ACEOF
32102 #define HAVE_EXPF 1
32103 _ACEOF
32105 cat >>confdefs.h <<\_ACEOF
32106 #define HAVE_FABSF 1
32107 _ACEOF
32109 cat >>confdefs.h <<\_ACEOF
32110 #define HAVE_FLOORF 1
32111 _ACEOF
32113 cat >>confdefs.h <<\_ACEOF
32114 #define HAVE_FMODF 1
32115 _ACEOF
32117 cat >>confdefs.h <<\_ACEOF
32118 #define HAVE_FREXPF 1
32119 _ACEOF
32121 cat >>confdefs.h <<\_ACEOF
32122 #define HAVE_LDEXPF 1
32123 _ACEOF
32125 cat >>confdefs.h <<\_ACEOF
32126 #define HAVE_LOG10F 1
32127 _ACEOF
32129 cat >>confdefs.h <<\_ACEOF
32130 #define HAVE_LOGF 1
32131 _ACEOF
32133 cat >>confdefs.h <<\_ACEOF
32134 #define HAVE_MODFF 1
32135 _ACEOF
32137 cat >>confdefs.h <<\_ACEOF
32138 #define HAVE_POWF 1
32139 _ACEOF
32141 cat >>confdefs.h <<\_ACEOF
32142 #define HAVE_SINF 1
32143 _ACEOF
32145 cat >>confdefs.h <<\_ACEOF
32146 #define HAVE_SINHF 1
32147 _ACEOF
32149 cat >>confdefs.h <<\_ACEOF
32150 #define HAVE_SQRTF 1
32151 _ACEOF
32153 cat >>confdefs.h <<\_ACEOF
32154 #define HAVE_TANF 1
32155 _ACEOF
32157 cat >>confdefs.h <<\_ACEOF
32158 #define HAVE_TANHF 1
32159 _ACEOF
32162 cat >>confdefs.h <<\_ACEOF
32163 #define HAVE_S_ISREG 1
32164 _ACEOF
32166 cat >>confdefs.h <<\_ACEOF
32167 #define HAVE_S_IFREG 1
32168 _ACEOF
32170 else
32172 # Base decisions on target environment.
32173 case "${host}" in
32174 arm*-*-symbianelf*)
32175 # This is a freestanding configuration; there is nothing to do here.
32178 *-darwin*)
32179 # Darwin versions vary, but the linker should work in a cross environment,
32180 # so we just check for all the features here.
32181 # Check for available headers.
32195 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
32196 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
32197 sys/types.h
32199 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32200 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32201 echo "$as_me:$LINENO: checking for $ac_header" >&5
32202 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32203 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32204 echo $ECHO_N "(cached) $ECHO_C" >&6
32206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32207 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32208 else
32209 # Is the header compilable?
32210 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32211 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32212 cat >conftest.$ac_ext <<_ACEOF
32213 /* confdefs.h. */
32214 _ACEOF
32215 cat confdefs.h >>conftest.$ac_ext
32216 cat >>conftest.$ac_ext <<_ACEOF
32217 /* end confdefs.h. */
32218 $ac_includes_default
32219 #include <$ac_header>
32220 _ACEOF
32221 rm -f conftest.$ac_objext
32222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32223 (eval $ac_compile) 2>conftest.er1
32224 ac_status=$?
32225 grep -v '^ *+' conftest.er1 >conftest.err
32226 rm -f conftest.er1
32227 cat conftest.err >&5
32228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32229 (exit $ac_status); } &&
32230 { ac_try='test -z "$ac_c_werror_flag"
32231 || test ! -s conftest.err'
32232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32233 (eval $ac_try) 2>&5
32234 ac_status=$?
32235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32236 (exit $ac_status); }; } &&
32237 { ac_try='test -s conftest.$ac_objext'
32238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32239 (eval $ac_try) 2>&5
32240 ac_status=$?
32241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32242 (exit $ac_status); }; }; then
32243 ac_header_compiler=yes
32244 else
32245 echo "$as_me: failed program was:" >&5
32246 sed 's/^/| /' conftest.$ac_ext >&5
32248 ac_header_compiler=no
32250 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32251 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32252 echo "${ECHO_T}$ac_header_compiler" >&6
32254 # Is the header present?
32255 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32256 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32257 cat >conftest.$ac_ext <<_ACEOF
32258 /* confdefs.h. */
32259 _ACEOF
32260 cat confdefs.h >>conftest.$ac_ext
32261 cat >>conftest.$ac_ext <<_ACEOF
32262 /* end confdefs.h. */
32263 #include <$ac_header>
32264 _ACEOF
32265 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32266 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32267 ac_status=$?
32268 grep -v '^ *+' conftest.er1 >conftest.err
32269 rm -f conftest.er1
32270 cat conftest.err >&5
32271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32272 (exit $ac_status); } >/dev/null; then
32273 if test -s conftest.err; then
32274 ac_cpp_err=$ac_c_preproc_warn_flag
32275 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
32276 else
32277 ac_cpp_err=
32279 else
32280 ac_cpp_err=yes
32282 if test -z "$ac_cpp_err"; then
32283 ac_header_preproc=yes
32284 else
32285 echo "$as_me: failed program was:" >&5
32286 sed 's/^/| /' conftest.$ac_ext >&5
32288 ac_header_preproc=no
32290 rm -f conftest.err conftest.$ac_ext
32291 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32292 echo "${ECHO_T}$ac_header_preproc" >&6
32294 # So? What about this header?
32295 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32296 yes:no: )
32297 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32298 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32299 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32300 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32301 ac_header_preproc=yes
32303 no:yes:* )
32304 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32305 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32306 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32307 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32308 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32309 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32310 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32311 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32312 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32313 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32314 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32315 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32317 cat <<\_ASBOX
32318 ## ----------------------------------------- ##
32319 ## Report this to the package-unused lists. ##
32320 ## ----------------------------------------- ##
32321 _ASBOX
32323 sed "s/^/$as_me: WARNING: /" >&2
32325 esac
32326 echo "$as_me:$LINENO: checking for $ac_header" >&5
32327 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32328 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32329 echo $ECHO_N "(cached) $ECHO_C" >&6
32330 else
32331 eval "$as_ac_Header=\$ac_header_preproc"
32333 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32334 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32337 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32338 cat >>confdefs.h <<_ACEOF
32339 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32340 _ACEOF
32344 done
32348 # All these tests are for C++; save the language and the compiler flags.
32349 # The CXXFLAGS thing is suspicious, but based on similar bits previously
32350 # found in GLIBCXX_CONFIGURE.
32353 ac_ext=cc
32354 ac_cpp='$CXXCPP $CPPFLAGS'
32355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32359 ac_test_CXXFLAGS="${CXXFLAGS+set}"
32360 ac_save_CXXFLAGS="$CXXFLAGS"
32362 # Check for maintainer-mode bits.
32363 if test x"$USE_MAINTAINER_MODE" = xno; then
32364 WERROR=''
32365 else
32366 WERROR='-Werror'
32369 # Check for -ffunction-sections -fdata-sections
32370 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
32371 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
32372 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
32373 cat >conftest.$ac_ext <<_ACEOF
32374 /* confdefs.h. */
32375 _ACEOF
32376 cat confdefs.h >>conftest.$ac_ext
32377 cat >>conftest.$ac_ext <<_ACEOF
32378 /* end confdefs.h. */
32381 main ()
32383 int foo;
32385 return 0;
32387 _ACEOF
32388 rm -f conftest.$ac_objext
32389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32390 (eval $ac_compile) 2>conftest.er1
32391 ac_status=$?
32392 grep -v '^ *+' conftest.er1 >conftest.err
32393 rm -f conftest.er1
32394 cat conftest.err >&5
32395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32396 (exit $ac_status); } &&
32397 { ac_try='test -z "$ac_cxx_werror_flag"
32398 || test ! -s conftest.err'
32399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32400 (eval $ac_try) 2>&5
32401 ac_status=$?
32402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32403 (exit $ac_status); }; } &&
32404 { ac_try='test -s conftest.$ac_objext'
32405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32406 (eval $ac_try) 2>&5
32407 ac_status=$?
32408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32409 (exit $ac_status); }; }; then
32410 ac_fdsections=yes
32411 else
32412 echo "$as_me: failed program was:" >&5
32413 sed 's/^/| /' conftest.$ac_ext >&5
32415 ac_fdsections=no
32417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32418 if test "$ac_test_CXXFLAGS" = set; then
32419 CXXFLAGS="$ac_save_CXXFLAGS"
32420 else
32421 # this is the suspicious part
32422 CXXFLAGS=''
32424 if test x"$ac_fdsections" = x"yes"; then
32425 SECTION_FLAGS='-ffunction-sections -fdata-sections'
32427 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
32428 echo "${ECHO_T}$ac_fdsections" >&6
32430 ac_ext=c
32431 ac_cpp='$CPP $CPPFLAGS'
32432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32439 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
32441 ac_test_CXXFLAGS="${CXXFLAGS+set}"
32442 ac_save_CXXFLAGS="$CXXFLAGS"
32443 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32445 echo "$as_me:$LINENO: checking for sin in -lm" >&5
32446 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
32447 if test "${ac_cv_lib_m_sin+set}" = set; then
32448 echo $ECHO_N "(cached) $ECHO_C" >&6
32449 else
32450 ac_check_lib_save_LIBS=$LIBS
32451 LIBS="-lm $LIBS"
32452 if test x$gcc_no_link = xyes; then
32453 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32454 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32455 { (exit 1); exit 1; }; }
32457 cat >conftest.$ac_ext <<_ACEOF
32458 /* confdefs.h. */
32459 _ACEOF
32460 cat confdefs.h >>conftest.$ac_ext
32461 cat >>conftest.$ac_ext <<_ACEOF
32462 /* end confdefs.h. */
32464 /* Override any gcc2 internal prototype to avoid an error. */
32465 #ifdef __cplusplus
32466 extern "C"
32467 #endif
32468 /* We use char because int might match the return type of a gcc2
32469 builtin and then its argument prototype would still apply. */
32470 char sin ();
32472 main ()
32474 sin ();
32476 return 0;
32478 _ACEOF
32479 rm -f conftest.$ac_objext conftest$ac_exeext
32480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32481 (eval $ac_link) 2>conftest.er1
32482 ac_status=$?
32483 grep -v '^ *+' conftest.er1 >conftest.err
32484 rm -f conftest.er1
32485 cat conftest.err >&5
32486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32487 (exit $ac_status); } &&
32488 { ac_try='test -z "$ac_c_werror_flag"
32489 || test ! -s conftest.err'
32490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32491 (eval $ac_try) 2>&5
32492 ac_status=$?
32493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32494 (exit $ac_status); }; } &&
32495 { ac_try='test -s conftest$ac_exeext'
32496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32497 (eval $ac_try) 2>&5
32498 ac_status=$?
32499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32500 (exit $ac_status); }; }; then
32501 ac_cv_lib_m_sin=yes
32502 else
32503 echo "$as_me: failed program was:" >&5
32504 sed 's/^/| /' conftest.$ac_ext >&5
32506 ac_cv_lib_m_sin=no
32508 rm -f conftest.err conftest.$ac_objext \
32509 conftest$ac_exeext conftest.$ac_ext
32510 LIBS=$ac_check_lib_save_LIBS
32512 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
32513 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
32514 if test $ac_cv_lib_m_sin = yes; then
32515 libm="-lm"
32518 ac_save_LIBS="$LIBS"
32519 LIBS="$LIBS $libm"
32523 echo "$as_me:$LINENO: checking for isinf declaration" >&5
32524 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
32525 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
32526 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
32527 echo $ECHO_N "(cached) $ECHO_C" >&6
32528 else
32532 ac_ext=cc
32533 ac_cpp='$CXXCPP $CPPFLAGS'
32534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32538 cat >conftest.$ac_ext <<_ACEOF
32539 /* confdefs.h. */
32540 _ACEOF
32541 cat confdefs.h >>conftest.$ac_ext
32542 cat >>conftest.$ac_ext <<_ACEOF
32543 /* end confdefs.h. */
32544 #include <math.h>
32545 #ifdef HAVE_IEEEFP_H
32546 #include <ieeefp.h>
32547 #endif
32550 main ()
32552 isinf(0);
32554 return 0;
32556 _ACEOF
32557 rm -f conftest.$ac_objext
32558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32559 (eval $ac_compile) 2>conftest.er1
32560 ac_status=$?
32561 grep -v '^ *+' conftest.er1 >conftest.err
32562 rm -f conftest.er1
32563 cat conftest.err >&5
32564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32565 (exit $ac_status); } &&
32566 { ac_try='test -z "$ac_cxx_werror_flag"
32567 || test ! -s conftest.err'
32568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32569 (eval $ac_try) 2>&5
32570 ac_status=$?
32571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32572 (exit $ac_status); }; } &&
32573 { ac_try='test -s conftest.$ac_objext'
32574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32575 (eval $ac_try) 2>&5
32576 ac_status=$?
32577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32578 (exit $ac_status); }; }; then
32579 glibcxx_cv_func_isinf_use=yes
32580 else
32581 echo "$as_me: failed program was:" >&5
32582 sed 's/^/| /' conftest.$ac_ext >&5
32584 glibcxx_cv_func_isinf_use=no
32586 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32587 ac_ext=c
32588 ac_cpp='$CPP $CPPFLAGS'
32589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32597 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
32598 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
32600 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
32602 for ac_func in isinf
32604 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32605 echo "$as_me:$LINENO: checking for $ac_func" >&5
32606 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32607 if eval "test \"\${$as_ac_var+set}\" = set"; then
32608 echo $ECHO_N "(cached) $ECHO_C" >&6
32609 else
32610 if test x$gcc_no_link = xyes; then
32611 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32612 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32613 { (exit 1); exit 1; }; }
32615 cat >conftest.$ac_ext <<_ACEOF
32616 /* confdefs.h. */
32617 _ACEOF
32618 cat confdefs.h >>conftest.$ac_ext
32619 cat >>conftest.$ac_ext <<_ACEOF
32620 /* end confdefs.h. */
32621 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32622 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32623 #define $ac_func innocuous_$ac_func
32625 /* System header to define __stub macros and hopefully few prototypes,
32626 which can conflict with char $ac_func (); below.
32627 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32628 <limits.h> exists even on freestanding compilers. */
32630 #ifdef __STDC__
32631 # include <limits.h>
32632 #else
32633 # include <assert.h>
32634 #endif
32636 #undef $ac_func
32638 /* Override any gcc2 internal prototype to avoid an error. */
32639 #ifdef __cplusplus
32640 extern "C"
32642 #endif
32643 /* We use char because int might match the return type of a gcc2
32644 builtin and then its argument prototype would still apply. */
32645 char $ac_func ();
32646 /* The GNU C library defines this for functions which it implements
32647 to always fail with ENOSYS. Some functions are actually named
32648 something starting with __ and the normal name is an alias. */
32649 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32650 choke me
32651 #else
32652 char (*f) () = $ac_func;
32653 #endif
32654 #ifdef __cplusplus
32656 #endif
32659 main ()
32661 return f != $ac_func;
32663 return 0;
32665 _ACEOF
32666 rm -f conftest.$ac_objext conftest$ac_exeext
32667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32668 (eval $ac_link) 2>conftest.er1
32669 ac_status=$?
32670 grep -v '^ *+' conftest.er1 >conftest.err
32671 rm -f conftest.er1
32672 cat conftest.err >&5
32673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32674 (exit $ac_status); } &&
32675 { ac_try='test -z "$ac_c_werror_flag"
32676 || test ! -s conftest.err'
32677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32678 (eval $ac_try) 2>&5
32679 ac_status=$?
32680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32681 (exit $ac_status); }; } &&
32682 { ac_try='test -s conftest$ac_exeext'
32683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32684 (eval $ac_try) 2>&5
32685 ac_status=$?
32686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32687 (exit $ac_status); }; }; then
32688 eval "$as_ac_var=yes"
32689 else
32690 echo "$as_me: failed program was:" >&5
32691 sed 's/^/| /' conftest.$ac_ext >&5
32693 eval "$as_ac_var=no"
32695 rm -f conftest.err conftest.$ac_objext \
32696 conftest$ac_exeext conftest.$ac_ext
32698 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32699 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32700 if test `eval echo '${'$as_ac_var'}'` = yes; then
32701 cat >>confdefs.h <<_ACEOF
32702 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32703 _ACEOF
32706 done
32708 else
32710 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
32711 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
32712 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
32713 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
32714 echo $ECHO_N "(cached) $ECHO_C" >&6
32715 else
32719 ac_ext=cc
32720 ac_cpp='$CXXCPP $CPPFLAGS'
32721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32725 cat >conftest.$ac_ext <<_ACEOF
32726 /* confdefs.h. */
32727 _ACEOF
32728 cat confdefs.h >>conftest.$ac_ext
32729 cat >>conftest.$ac_ext <<_ACEOF
32730 /* end confdefs.h. */
32731 #include <math.h>
32732 #ifdef HAVE_IEEEFP_H
32733 #include <ieeefp.h>
32734 #endif
32737 main ()
32739 _isinf(0);
32741 return 0;
32743 _ACEOF
32744 rm -f conftest.$ac_objext
32745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32746 (eval $ac_compile) 2>conftest.er1
32747 ac_status=$?
32748 grep -v '^ *+' conftest.er1 >conftest.err
32749 rm -f conftest.er1
32750 cat conftest.err >&5
32751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32752 (exit $ac_status); } &&
32753 { ac_try='test -z "$ac_cxx_werror_flag"
32754 || test ! -s conftest.err'
32755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32756 (eval $ac_try) 2>&5
32757 ac_status=$?
32758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32759 (exit $ac_status); }; } &&
32760 { ac_try='test -s conftest.$ac_objext'
32761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32762 (eval $ac_try) 2>&5
32763 ac_status=$?
32764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32765 (exit $ac_status); }; }; then
32766 glibcxx_cv_func__isinf_use=yes
32767 else
32768 echo "$as_me: failed program was:" >&5
32769 sed 's/^/| /' conftest.$ac_ext >&5
32771 glibcxx_cv_func__isinf_use=no
32773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32774 ac_ext=c
32775 ac_cpp='$CPP $CPPFLAGS'
32776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32784 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
32785 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
32787 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
32789 for ac_func in _isinf
32791 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32792 echo "$as_me:$LINENO: checking for $ac_func" >&5
32793 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32794 if eval "test \"\${$as_ac_var+set}\" = set"; then
32795 echo $ECHO_N "(cached) $ECHO_C" >&6
32796 else
32797 if test x$gcc_no_link = xyes; then
32798 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32799 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32800 { (exit 1); exit 1; }; }
32802 cat >conftest.$ac_ext <<_ACEOF
32803 /* confdefs.h. */
32804 _ACEOF
32805 cat confdefs.h >>conftest.$ac_ext
32806 cat >>conftest.$ac_ext <<_ACEOF
32807 /* end confdefs.h. */
32808 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32809 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32810 #define $ac_func innocuous_$ac_func
32812 /* System header to define __stub macros and hopefully few prototypes,
32813 which can conflict with char $ac_func (); below.
32814 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32815 <limits.h> exists even on freestanding compilers. */
32817 #ifdef __STDC__
32818 # include <limits.h>
32819 #else
32820 # include <assert.h>
32821 #endif
32823 #undef $ac_func
32825 /* Override any gcc2 internal prototype to avoid an error. */
32826 #ifdef __cplusplus
32827 extern "C"
32829 #endif
32830 /* We use char because int might match the return type of a gcc2
32831 builtin and then its argument prototype would still apply. */
32832 char $ac_func ();
32833 /* The GNU C library defines this for functions which it implements
32834 to always fail with ENOSYS. Some functions are actually named
32835 something starting with __ and the normal name is an alias. */
32836 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32837 choke me
32838 #else
32839 char (*f) () = $ac_func;
32840 #endif
32841 #ifdef __cplusplus
32843 #endif
32846 main ()
32848 return f != $ac_func;
32850 return 0;
32852 _ACEOF
32853 rm -f conftest.$ac_objext conftest$ac_exeext
32854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32855 (eval $ac_link) 2>conftest.er1
32856 ac_status=$?
32857 grep -v '^ *+' conftest.er1 >conftest.err
32858 rm -f conftest.er1
32859 cat conftest.err >&5
32860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32861 (exit $ac_status); } &&
32862 { ac_try='test -z "$ac_c_werror_flag"
32863 || test ! -s conftest.err'
32864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32865 (eval $ac_try) 2>&5
32866 ac_status=$?
32867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32868 (exit $ac_status); }; } &&
32869 { ac_try='test -s conftest$ac_exeext'
32870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32871 (eval $ac_try) 2>&5
32872 ac_status=$?
32873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32874 (exit $ac_status); }; }; then
32875 eval "$as_ac_var=yes"
32876 else
32877 echo "$as_me: failed program was:" >&5
32878 sed 's/^/| /' conftest.$ac_ext >&5
32880 eval "$as_ac_var=no"
32882 rm -f conftest.err conftest.$ac_objext \
32883 conftest$ac_exeext conftest.$ac_ext
32885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32886 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32887 if test `eval echo '${'$as_ac_var'}'` = yes; then
32888 cat >>confdefs.h <<_ACEOF
32889 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32890 _ACEOF
32893 done
32903 echo "$as_me:$LINENO: checking for isnan declaration" >&5
32904 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
32905 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
32906 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
32907 echo $ECHO_N "(cached) $ECHO_C" >&6
32908 else
32912 ac_ext=cc
32913 ac_cpp='$CXXCPP $CPPFLAGS'
32914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32918 cat >conftest.$ac_ext <<_ACEOF
32919 /* confdefs.h. */
32920 _ACEOF
32921 cat confdefs.h >>conftest.$ac_ext
32922 cat >>conftest.$ac_ext <<_ACEOF
32923 /* end confdefs.h. */
32924 #include <math.h>
32925 #ifdef HAVE_IEEEFP_H
32926 #include <ieeefp.h>
32927 #endif
32930 main ()
32932 isnan(0);
32934 return 0;
32936 _ACEOF
32937 rm -f conftest.$ac_objext
32938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32939 (eval $ac_compile) 2>conftest.er1
32940 ac_status=$?
32941 grep -v '^ *+' conftest.er1 >conftest.err
32942 rm -f conftest.er1
32943 cat conftest.err >&5
32944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32945 (exit $ac_status); } &&
32946 { ac_try='test -z "$ac_cxx_werror_flag"
32947 || test ! -s conftest.err'
32948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32949 (eval $ac_try) 2>&5
32950 ac_status=$?
32951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32952 (exit $ac_status); }; } &&
32953 { ac_try='test -s conftest.$ac_objext'
32954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32955 (eval $ac_try) 2>&5
32956 ac_status=$?
32957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32958 (exit $ac_status); }; }; then
32959 glibcxx_cv_func_isnan_use=yes
32960 else
32961 echo "$as_me: failed program was:" >&5
32962 sed 's/^/| /' conftest.$ac_ext >&5
32964 glibcxx_cv_func_isnan_use=no
32966 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32967 ac_ext=c
32968 ac_cpp='$CPP $CPPFLAGS'
32969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32977 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
32978 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
32980 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
32982 for ac_func in isnan
32984 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32985 echo "$as_me:$LINENO: checking for $ac_func" >&5
32986 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32987 if eval "test \"\${$as_ac_var+set}\" = set"; then
32988 echo $ECHO_N "(cached) $ECHO_C" >&6
32989 else
32990 if test x$gcc_no_link = xyes; then
32991 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32992 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32993 { (exit 1); exit 1; }; }
32995 cat >conftest.$ac_ext <<_ACEOF
32996 /* confdefs.h. */
32997 _ACEOF
32998 cat confdefs.h >>conftest.$ac_ext
32999 cat >>conftest.$ac_ext <<_ACEOF
33000 /* end confdefs.h. */
33001 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33002 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33003 #define $ac_func innocuous_$ac_func
33005 /* System header to define __stub macros and hopefully few prototypes,
33006 which can conflict with char $ac_func (); below.
33007 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33008 <limits.h> exists even on freestanding compilers. */
33010 #ifdef __STDC__
33011 # include <limits.h>
33012 #else
33013 # include <assert.h>
33014 #endif
33016 #undef $ac_func
33018 /* Override any gcc2 internal prototype to avoid an error. */
33019 #ifdef __cplusplus
33020 extern "C"
33022 #endif
33023 /* We use char because int might match the return type of a gcc2
33024 builtin and then its argument prototype would still apply. */
33025 char $ac_func ();
33026 /* The GNU C library defines this for functions which it implements
33027 to always fail with ENOSYS. Some functions are actually named
33028 something starting with __ and the normal name is an alias. */
33029 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33030 choke me
33031 #else
33032 char (*f) () = $ac_func;
33033 #endif
33034 #ifdef __cplusplus
33036 #endif
33039 main ()
33041 return f != $ac_func;
33043 return 0;
33045 _ACEOF
33046 rm -f conftest.$ac_objext conftest$ac_exeext
33047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33048 (eval $ac_link) 2>conftest.er1
33049 ac_status=$?
33050 grep -v '^ *+' conftest.er1 >conftest.err
33051 rm -f conftest.er1
33052 cat conftest.err >&5
33053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33054 (exit $ac_status); } &&
33055 { ac_try='test -z "$ac_c_werror_flag"
33056 || test ! -s conftest.err'
33057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33058 (eval $ac_try) 2>&5
33059 ac_status=$?
33060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33061 (exit $ac_status); }; } &&
33062 { ac_try='test -s conftest$ac_exeext'
33063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33064 (eval $ac_try) 2>&5
33065 ac_status=$?
33066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33067 (exit $ac_status); }; }; then
33068 eval "$as_ac_var=yes"
33069 else
33070 echo "$as_me: failed program was:" >&5
33071 sed 's/^/| /' conftest.$ac_ext >&5
33073 eval "$as_ac_var=no"
33075 rm -f conftest.err conftest.$ac_objext \
33076 conftest$ac_exeext conftest.$ac_ext
33078 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33079 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33080 if test `eval echo '${'$as_ac_var'}'` = yes; then
33081 cat >>confdefs.h <<_ACEOF
33082 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33083 _ACEOF
33086 done
33088 else
33090 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
33091 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
33092 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
33093 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
33094 echo $ECHO_N "(cached) $ECHO_C" >&6
33095 else
33099 ac_ext=cc
33100 ac_cpp='$CXXCPP $CPPFLAGS'
33101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33105 cat >conftest.$ac_ext <<_ACEOF
33106 /* confdefs.h. */
33107 _ACEOF
33108 cat confdefs.h >>conftest.$ac_ext
33109 cat >>conftest.$ac_ext <<_ACEOF
33110 /* end confdefs.h. */
33111 #include <math.h>
33112 #ifdef HAVE_IEEEFP_H
33113 #include <ieeefp.h>
33114 #endif
33117 main ()
33119 _isnan(0);
33121 return 0;
33123 _ACEOF
33124 rm -f conftest.$ac_objext
33125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33126 (eval $ac_compile) 2>conftest.er1
33127 ac_status=$?
33128 grep -v '^ *+' conftest.er1 >conftest.err
33129 rm -f conftest.er1
33130 cat conftest.err >&5
33131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33132 (exit $ac_status); } &&
33133 { ac_try='test -z "$ac_cxx_werror_flag"
33134 || test ! -s conftest.err'
33135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33136 (eval $ac_try) 2>&5
33137 ac_status=$?
33138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33139 (exit $ac_status); }; } &&
33140 { ac_try='test -s conftest.$ac_objext'
33141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33142 (eval $ac_try) 2>&5
33143 ac_status=$?
33144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33145 (exit $ac_status); }; }; then
33146 glibcxx_cv_func__isnan_use=yes
33147 else
33148 echo "$as_me: failed program was:" >&5
33149 sed 's/^/| /' conftest.$ac_ext >&5
33151 glibcxx_cv_func__isnan_use=no
33153 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33154 ac_ext=c
33155 ac_cpp='$CPP $CPPFLAGS'
33156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33164 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
33165 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
33167 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
33169 for ac_func in _isnan
33171 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33172 echo "$as_me:$LINENO: checking for $ac_func" >&5
33173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33174 if eval "test \"\${$as_ac_var+set}\" = set"; then
33175 echo $ECHO_N "(cached) $ECHO_C" >&6
33176 else
33177 if test x$gcc_no_link = xyes; then
33178 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33179 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33180 { (exit 1); exit 1; }; }
33182 cat >conftest.$ac_ext <<_ACEOF
33183 /* confdefs.h. */
33184 _ACEOF
33185 cat confdefs.h >>conftest.$ac_ext
33186 cat >>conftest.$ac_ext <<_ACEOF
33187 /* end confdefs.h. */
33188 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33189 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33190 #define $ac_func innocuous_$ac_func
33192 /* System header to define __stub macros and hopefully few prototypes,
33193 which can conflict with char $ac_func (); below.
33194 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33195 <limits.h> exists even on freestanding compilers. */
33197 #ifdef __STDC__
33198 # include <limits.h>
33199 #else
33200 # include <assert.h>
33201 #endif
33203 #undef $ac_func
33205 /* Override any gcc2 internal prototype to avoid an error. */
33206 #ifdef __cplusplus
33207 extern "C"
33209 #endif
33210 /* We use char because int might match the return type of a gcc2
33211 builtin and then its argument prototype would still apply. */
33212 char $ac_func ();
33213 /* The GNU C library defines this for functions which it implements
33214 to always fail with ENOSYS. Some functions are actually named
33215 something starting with __ and the normal name is an alias. */
33216 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33217 choke me
33218 #else
33219 char (*f) () = $ac_func;
33220 #endif
33221 #ifdef __cplusplus
33223 #endif
33226 main ()
33228 return f != $ac_func;
33230 return 0;
33232 _ACEOF
33233 rm -f conftest.$ac_objext conftest$ac_exeext
33234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33235 (eval $ac_link) 2>conftest.er1
33236 ac_status=$?
33237 grep -v '^ *+' conftest.er1 >conftest.err
33238 rm -f conftest.er1
33239 cat conftest.err >&5
33240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33241 (exit $ac_status); } &&
33242 { ac_try='test -z "$ac_c_werror_flag"
33243 || test ! -s conftest.err'
33244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33245 (eval $ac_try) 2>&5
33246 ac_status=$?
33247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33248 (exit $ac_status); }; } &&
33249 { ac_try='test -s conftest$ac_exeext'
33250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33251 (eval $ac_try) 2>&5
33252 ac_status=$?
33253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33254 (exit $ac_status); }; }; then
33255 eval "$as_ac_var=yes"
33256 else
33257 echo "$as_me: failed program was:" >&5
33258 sed 's/^/| /' conftest.$ac_ext >&5
33260 eval "$as_ac_var=no"
33262 rm -f conftest.err conftest.$ac_objext \
33263 conftest$ac_exeext conftest.$ac_ext
33265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33266 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33267 if test `eval echo '${'$as_ac_var'}'` = yes; then
33268 cat >>confdefs.h <<_ACEOF
33269 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33270 _ACEOF
33273 done
33283 echo "$as_me:$LINENO: checking for finite declaration" >&5
33284 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
33285 if test x${glibcxx_cv_func_finite_use+set} != xset; then
33286 if test "${glibcxx_cv_func_finite_use+set}" = set; then
33287 echo $ECHO_N "(cached) $ECHO_C" >&6
33288 else
33292 ac_ext=cc
33293 ac_cpp='$CXXCPP $CPPFLAGS'
33294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33298 cat >conftest.$ac_ext <<_ACEOF
33299 /* confdefs.h. */
33300 _ACEOF
33301 cat confdefs.h >>conftest.$ac_ext
33302 cat >>conftest.$ac_ext <<_ACEOF
33303 /* end confdefs.h. */
33304 #include <math.h>
33305 #ifdef HAVE_IEEEFP_H
33306 #include <ieeefp.h>
33307 #endif
33310 main ()
33312 finite(0);
33314 return 0;
33316 _ACEOF
33317 rm -f conftest.$ac_objext
33318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33319 (eval $ac_compile) 2>conftest.er1
33320 ac_status=$?
33321 grep -v '^ *+' conftest.er1 >conftest.err
33322 rm -f conftest.er1
33323 cat conftest.err >&5
33324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33325 (exit $ac_status); } &&
33326 { ac_try='test -z "$ac_cxx_werror_flag"
33327 || test ! -s conftest.err'
33328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33329 (eval $ac_try) 2>&5
33330 ac_status=$?
33331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33332 (exit $ac_status); }; } &&
33333 { ac_try='test -s conftest.$ac_objext'
33334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33335 (eval $ac_try) 2>&5
33336 ac_status=$?
33337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33338 (exit $ac_status); }; }; then
33339 glibcxx_cv_func_finite_use=yes
33340 else
33341 echo "$as_me: failed program was:" >&5
33342 sed 's/^/| /' conftest.$ac_ext >&5
33344 glibcxx_cv_func_finite_use=no
33346 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33347 ac_ext=c
33348 ac_cpp='$CPP $CPPFLAGS'
33349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33357 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
33358 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
33360 if test x$glibcxx_cv_func_finite_use = x"yes"; then
33362 for ac_func in finite
33364 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33365 echo "$as_me:$LINENO: checking for $ac_func" >&5
33366 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33367 if eval "test \"\${$as_ac_var+set}\" = set"; then
33368 echo $ECHO_N "(cached) $ECHO_C" >&6
33369 else
33370 if test x$gcc_no_link = xyes; then
33371 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33372 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33373 { (exit 1); exit 1; }; }
33375 cat >conftest.$ac_ext <<_ACEOF
33376 /* confdefs.h. */
33377 _ACEOF
33378 cat confdefs.h >>conftest.$ac_ext
33379 cat >>conftest.$ac_ext <<_ACEOF
33380 /* end confdefs.h. */
33381 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33382 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33383 #define $ac_func innocuous_$ac_func
33385 /* System header to define __stub macros and hopefully few prototypes,
33386 which can conflict with char $ac_func (); below.
33387 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33388 <limits.h> exists even on freestanding compilers. */
33390 #ifdef __STDC__
33391 # include <limits.h>
33392 #else
33393 # include <assert.h>
33394 #endif
33396 #undef $ac_func
33398 /* Override any gcc2 internal prototype to avoid an error. */
33399 #ifdef __cplusplus
33400 extern "C"
33402 #endif
33403 /* We use char because int might match the return type of a gcc2
33404 builtin and then its argument prototype would still apply. */
33405 char $ac_func ();
33406 /* The GNU C library defines this for functions which it implements
33407 to always fail with ENOSYS. Some functions are actually named
33408 something starting with __ and the normal name is an alias. */
33409 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33410 choke me
33411 #else
33412 char (*f) () = $ac_func;
33413 #endif
33414 #ifdef __cplusplus
33416 #endif
33419 main ()
33421 return f != $ac_func;
33423 return 0;
33425 _ACEOF
33426 rm -f conftest.$ac_objext conftest$ac_exeext
33427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33428 (eval $ac_link) 2>conftest.er1
33429 ac_status=$?
33430 grep -v '^ *+' conftest.er1 >conftest.err
33431 rm -f conftest.er1
33432 cat conftest.err >&5
33433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33434 (exit $ac_status); } &&
33435 { ac_try='test -z "$ac_c_werror_flag"
33436 || test ! -s conftest.err'
33437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33438 (eval $ac_try) 2>&5
33439 ac_status=$?
33440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33441 (exit $ac_status); }; } &&
33442 { ac_try='test -s conftest$ac_exeext'
33443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33444 (eval $ac_try) 2>&5
33445 ac_status=$?
33446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33447 (exit $ac_status); }; }; then
33448 eval "$as_ac_var=yes"
33449 else
33450 echo "$as_me: failed program was:" >&5
33451 sed 's/^/| /' conftest.$ac_ext >&5
33453 eval "$as_ac_var=no"
33455 rm -f conftest.err conftest.$ac_objext \
33456 conftest$ac_exeext conftest.$ac_ext
33458 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33459 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33460 if test `eval echo '${'$as_ac_var'}'` = yes; then
33461 cat >>confdefs.h <<_ACEOF
33462 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33463 _ACEOF
33466 done
33468 else
33470 echo "$as_me:$LINENO: checking for _finite declaration" >&5
33471 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
33472 if test x${glibcxx_cv_func__finite_use+set} != xset; then
33473 if test "${glibcxx_cv_func__finite_use+set}" = set; then
33474 echo $ECHO_N "(cached) $ECHO_C" >&6
33475 else
33479 ac_ext=cc
33480 ac_cpp='$CXXCPP $CPPFLAGS'
33481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33485 cat >conftest.$ac_ext <<_ACEOF
33486 /* confdefs.h. */
33487 _ACEOF
33488 cat confdefs.h >>conftest.$ac_ext
33489 cat >>conftest.$ac_ext <<_ACEOF
33490 /* end confdefs.h. */
33491 #include <math.h>
33492 #ifdef HAVE_IEEEFP_H
33493 #include <ieeefp.h>
33494 #endif
33497 main ()
33499 _finite(0);
33501 return 0;
33503 _ACEOF
33504 rm -f conftest.$ac_objext
33505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33506 (eval $ac_compile) 2>conftest.er1
33507 ac_status=$?
33508 grep -v '^ *+' conftest.er1 >conftest.err
33509 rm -f conftest.er1
33510 cat conftest.err >&5
33511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33512 (exit $ac_status); } &&
33513 { ac_try='test -z "$ac_cxx_werror_flag"
33514 || test ! -s conftest.err'
33515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33516 (eval $ac_try) 2>&5
33517 ac_status=$?
33518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33519 (exit $ac_status); }; } &&
33520 { ac_try='test -s conftest.$ac_objext'
33521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33522 (eval $ac_try) 2>&5
33523 ac_status=$?
33524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33525 (exit $ac_status); }; }; then
33526 glibcxx_cv_func__finite_use=yes
33527 else
33528 echo "$as_me: failed program was:" >&5
33529 sed 's/^/| /' conftest.$ac_ext >&5
33531 glibcxx_cv_func__finite_use=no
33533 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33534 ac_ext=c
33535 ac_cpp='$CPP $CPPFLAGS'
33536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33544 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
33545 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
33547 if test x$glibcxx_cv_func__finite_use = x"yes"; then
33549 for ac_func in _finite
33551 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33552 echo "$as_me:$LINENO: checking for $ac_func" >&5
33553 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33554 if eval "test \"\${$as_ac_var+set}\" = set"; then
33555 echo $ECHO_N "(cached) $ECHO_C" >&6
33556 else
33557 if test x$gcc_no_link = xyes; then
33558 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33559 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33560 { (exit 1); exit 1; }; }
33562 cat >conftest.$ac_ext <<_ACEOF
33563 /* confdefs.h. */
33564 _ACEOF
33565 cat confdefs.h >>conftest.$ac_ext
33566 cat >>conftest.$ac_ext <<_ACEOF
33567 /* end confdefs.h. */
33568 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33569 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33570 #define $ac_func innocuous_$ac_func
33572 /* System header to define __stub macros and hopefully few prototypes,
33573 which can conflict with char $ac_func (); below.
33574 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33575 <limits.h> exists even on freestanding compilers. */
33577 #ifdef __STDC__
33578 # include <limits.h>
33579 #else
33580 # include <assert.h>
33581 #endif
33583 #undef $ac_func
33585 /* Override any gcc2 internal prototype to avoid an error. */
33586 #ifdef __cplusplus
33587 extern "C"
33589 #endif
33590 /* We use char because int might match the return type of a gcc2
33591 builtin and then its argument prototype would still apply. */
33592 char $ac_func ();
33593 /* The GNU C library defines this for functions which it implements
33594 to always fail with ENOSYS. Some functions are actually named
33595 something starting with __ and the normal name is an alias. */
33596 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33597 choke me
33598 #else
33599 char (*f) () = $ac_func;
33600 #endif
33601 #ifdef __cplusplus
33603 #endif
33606 main ()
33608 return f != $ac_func;
33610 return 0;
33612 _ACEOF
33613 rm -f conftest.$ac_objext conftest$ac_exeext
33614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33615 (eval $ac_link) 2>conftest.er1
33616 ac_status=$?
33617 grep -v '^ *+' conftest.er1 >conftest.err
33618 rm -f conftest.er1
33619 cat conftest.err >&5
33620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33621 (exit $ac_status); } &&
33622 { ac_try='test -z "$ac_c_werror_flag"
33623 || test ! -s conftest.err'
33624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33625 (eval $ac_try) 2>&5
33626 ac_status=$?
33627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33628 (exit $ac_status); }; } &&
33629 { ac_try='test -s conftest$ac_exeext'
33630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33631 (eval $ac_try) 2>&5
33632 ac_status=$?
33633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33634 (exit $ac_status); }; }; then
33635 eval "$as_ac_var=yes"
33636 else
33637 echo "$as_me: failed program was:" >&5
33638 sed 's/^/| /' conftest.$ac_ext >&5
33640 eval "$as_ac_var=no"
33642 rm -f conftest.err conftest.$ac_objext \
33643 conftest$ac_exeext conftest.$ac_ext
33645 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33646 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33647 if test `eval echo '${'$as_ac_var'}'` = yes; then
33648 cat >>confdefs.h <<_ACEOF
33649 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33650 _ACEOF
33653 done
33663 echo "$as_me:$LINENO: checking for copysign declaration" >&5
33664 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
33665 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
33666 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
33667 echo $ECHO_N "(cached) $ECHO_C" >&6
33668 else
33672 ac_ext=cc
33673 ac_cpp='$CXXCPP $CPPFLAGS'
33674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33678 cat >conftest.$ac_ext <<_ACEOF
33679 /* confdefs.h. */
33680 _ACEOF
33681 cat confdefs.h >>conftest.$ac_ext
33682 cat >>conftest.$ac_ext <<_ACEOF
33683 /* end confdefs.h. */
33684 #include <math.h>
33686 main ()
33688 copysign(0, 0);
33690 return 0;
33692 _ACEOF
33693 rm -f conftest.$ac_objext
33694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33695 (eval $ac_compile) 2>conftest.er1
33696 ac_status=$?
33697 grep -v '^ *+' conftest.er1 >conftest.err
33698 rm -f conftest.er1
33699 cat conftest.err >&5
33700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33701 (exit $ac_status); } &&
33702 { ac_try='test -z "$ac_cxx_werror_flag"
33703 || test ! -s conftest.err'
33704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33705 (eval $ac_try) 2>&5
33706 ac_status=$?
33707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33708 (exit $ac_status); }; } &&
33709 { ac_try='test -s conftest.$ac_objext'
33710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33711 (eval $ac_try) 2>&5
33712 ac_status=$?
33713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33714 (exit $ac_status); }; }; then
33715 glibcxx_cv_func_copysign_use=yes
33716 else
33717 echo "$as_me: failed program was:" >&5
33718 sed 's/^/| /' conftest.$ac_ext >&5
33720 glibcxx_cv_func_copysign_use=no
33722 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33723 ac_ext=c
33724 ac_cpp='$CPP $CPPFLAGS'
33725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33733 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
33734 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
33736 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
33738 for ac_func in copysign
33740 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33741 echo "$as_me:$LINENO: checking for $ac_func" >&5
33742 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33743 if eval "test \"\${$as_ac_var+set}\" = set"; then
33744 echo $ECHO_N "(cached) $ECHO_C" >&6
33745 else
33746 if test x$gcc_no_link = xyes; then
33747 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33748 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33749 { (exit 1); exit 1; }; }
33751 cat >conftest.$ac_ext <<_ACEOF
33752 /* confdefs.h. */
33753 _ACEOF
33754 cat confdefs.h >>conftest.$ac_ext
33755 cat >>conftest.$ac_ext <<_ACEOF
33756 /* end confdefs.h. */
33757 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33758 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33759 #define $ac_func innocuous_$ac_func
33761 /* System header to define __stub macros and hopefully few prototypes,
33762 which can conflict with char $ac_func (); below.
33763 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33764 <limits.h> exists even on freestanding compilers. */
33766 #ifdef __STDC__
33767 # include <limits.h>
33768 #else
33769 # include <assert.h>
33770 #endif
33772 #undef $ac_func
33774 /* Override any gcc2 internal prototype to avoid an error. */
33775 #ifdef __cplusplus
33776 extern "C"
33778 #endif
33779 /* We use char because int might match the return type of a gcc2
33780 builtin and then its argument prototype would still apply. */
33781 char $ac_func ();
33782 /* The GNU C library defines this for functions which it implements
33783 to always fail with ENOSYS. Some functions are actually named
33784 something starting with __ and the normal name is an alias. */
33785 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33786 choke me
33787 #else
33788 char (*f) () = $ac_func;
33789 #endif
33790 #ifdef __cplusplus
33792 #endif
33795 main ()
33797 return f != $ac_func;
33799 return 0;
33801 _ACEOF
33802 rm -f conftest.$ac_objext conftest$ac_exeext
33803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33804 (eval $ac_link) 2>conftest.er1
33805 ac_status=$?
33806 grep -v '^ *+' conftest.er1 >conftest.err
33807 rm -f conftest.er1
33808 cat conftest.err >&5
33809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33810 (exit $ac_status); } &&
33811 { ac_try='test -z "$ac_c_werror_flag"
33812 || test ! -s conftest.err'
33813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33814 (eval $ac_try) 2>&5
33815 ac_status=$?
33816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33817 (exit $ac_status); }; } &&
33818 { ac_try='test -s conftest$ac_exeext'
33819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33820 (eval $ac_try) 2>&5
33821 ac_status=$?
33822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33823 (exit $ac_status); }; }; then
33824 eval "$as_ac_var=yes"
33825 else
33826 echo "$as_me: failed program was:" >&5
33827 sed 's/^/| /' conftest.$ac_ext >&5
33829 eval "$as_ac_var=no"
33831 rm -f conftest.err conftest.$ac_objext \
33832 conftest$ac_exeext conftest.$ac_ext
33834 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33835 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33836 if test `eval echo '${'$as_ac_var'}'` = yes; then
33837 cat >>confdefs.h <<_ACEOF
33838 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33839 _ACEOF
33842 done
33844 else
33846 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
33847 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
33848 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
33849 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
33850 echo $ECHO_N "(cached) $ECHO_C" >&6
33851 else
33855 ac_ext=cc
33856 ac_cpp='$CXXCPP $CPPFLAGS'
33857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33861 cat >conftest.$ac_ext <<_ACEOF
33862 /* confdefs.h. */
33863 _ACEOF
33864 cat confdefs.h >>conftest.$ac_ext
33865 cat >>conftest.$ac_ext <<_ACEOF
33866 /* end confdefs.h. */
33867 #include <math.h>
33869 main ()
33871 _copysign(0, 0);
33873 return 0;
33875 _ACEOF
33876 rm -f conftest.$ac_objext
33877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33878 (eval $ac_compile) 2>conftest.er1
33879 ac_status=$?
33880 grep -v '^ *+' conftest.er1 >conftest.err
33881 rm -f conftest.er1
33882 cat conftest.err >&5
33883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33884 (exit $ac_status); } &&
33885 { ac_try='test -z "$ac_cxx_werror_flag"
33886 || test ! -s conftest.err'
33887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33888 (eval $ac_try) 2>&5
33889 ac_status=$?
33890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33891 (exit $ac_status); }; } &&
33892 { ac_try='test -s conftest.$ac_objext'
33893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33894 (eval $ac_try) 2>&5
33895 ac_status=$?
33896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33897 (exit $ac_status); }; }; then
33898 glibcxx_cv_func__copysign_use=yes
33899 else
33900 echo "$as_me: failed program was:" >&5
33901 sed 's/^/| /' conftest.$ac_ext >&5
33903 glibcxx_cv_func__copysign_use=no
33905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33906 ac_ext=c
33907 ac_cpp='$CPP $CPPFLAGS'
33908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33916 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
33917 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
33919 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
33921 for ac_func in _copysign
33923 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33924 echo "$as_me:$LINENO: checking for $ac_func" >&5
33925 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33926 if eval "test \"\${$as_ac_var+set}\" = set"; then
33927 echo $ECHO_N "(cached) $ECHO_C" >&6
33928 else
33929 if test x$gcc_no_link = xyes; then
33930 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33931 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33932 { (exit 1); exit 1; }; }
33934 cat >conftest.$ac_ext <<_ACEOF
33935 /* confdefs.h. */
33936 _ACEOF
33937 cat confdefs.h >>conftest.$ac_ext
33938 cat >>conftest.$ac_ext <<_ACEOF
33939 /* end confdefs.h. */
33940 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33941 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33942 #define $ac_func innocuous_$ac_func
33944 /* System header to define __stub macros and hopefully few prototypes,
33945 which can conflict with char $ac_func (); below.
33946 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33947 <limits.h> exists even on freestanding compilers. */
33949 #ifdef __STDC__
33950 # include <limits.h>
33951 #else
33952 # include <assert.h>
33953 #endif
33955 #undef $ac_func
33957 /* Override any gcc2 internal prototype to avoid an error. */
33958 #ifdef __cplusplus
33959 extern "C"
33961 #endif
33962 /* We use char because int might match the return type of a gcc2
33963 builtin and then its argument prototype would still apply. */
33964 char $ac_func ();
33965 /* The GNU C library defines this for functions which it implements
33966 to always fail with ENOSYS. Some functions are actually named
33967 something starting with __ and the normal name is an alias. */
33968 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33969 choke me
33970 #else
33971 char (*f) () = $ac_func;
33972 #endif
33973 #ifdef __cplusplus
33975 #endif
33978 main ()
33980 return f != $ac_func;
33982 return 0;
33984 _ACEOF
33985 rm -f conftest.$ac_objext conftest$ac_exeext
33986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33987 (eval $ac_link) 2>conftest.er1
33988 ac_status=$?
33989 grep -v '^ *+' conftest.er1 >conftest.err
33990 rm -f conftest.er1
33991 cat conftest.err >&5
33992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33993 (exit $ac_status); } &&
33994 { ac_try='test -z "$ac_c_werror_flag"
33995 || test ! -s conftest.err'
33996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33997 (eval $ac_try) 2>&5
33998 ac_status=$?
33999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34000 (exit $ac_status); }; } &&
34001 { ac_try='test -s conftest$ac_exeext'
34002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34003 (eval $ac_try) 2>&5
34004 ac_status=$?
34005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34006 (exit $ac_status); }; }; then
34007 eval "$as_ac_var=yes"
34008 else
34009 echo "$as_me: failed program was:" >&5
34010 sed 's/^/| /' conftest.$ac_ext >&5
34012 eval "$as_ac_var=no"
34014 rm -f conftest.err conftest.$ac_objext \
34015 conftest$ac_exeext conftest.$ac_ext
34017 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34018 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34019 if test `eval echo '${'$as_ac_var'}'` = yes; then
34020 cat >>confdefs.h <<_ACEOF
34021 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34022 _ACEOF
34025 done
34035 echo "$as_me:$LINENO: checking for sincos declaration" >&5
34036 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
34037 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
34038 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
34039 echo $ECHO_N "(cached) $ECHO_C" >&6
34040 else
34044 ac_ext=cc
34045 ac_cpp='$CXXCPP $CPPFLAGS'
34046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34050 cat >conftest.$ac_ext <<_ACEOF
34051 /* confdefs.h. */
34052 _ACEOF
34053 cat confdefs.h >>conftest.$ac_ext
34054 cat >>conftest.$ac_ext <<_ACEOF
34055 /* end confdefs.h. */
34056 #include <math.h>
34058 main ()
34060 sincos(0, 0, 0);
34062 return 0;
34064 _ACEOF
34065 rm -f conftest.$ac_objext
34066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34067 (eval $ac_compile) 2>conftest.er1
34068 ac_status=$?
34069 grep -v '^ *+' conftest.er1 >conftest.err
34070 rm -f conftest.er1
34071 cat conftest.err >&5
34072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34073 (exit $ac_status); } &&
34074 { ac_try='test -z "$ac_cxx_werror_flag"
34075 || test ! -s conftest.err'
34076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34077 (eval $ac_try) 2>&5
34078 ac_status=$?
34079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34080 (exit $ac_status); }; } &&
34081 { ac_try='test -s conftest.$ac_objext'
34082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34083 (eval $ac_try) 2>&5
34084 ac_status=$?
34085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34086 (exit $ac_status); }; }; then
34087 glibcxx_cv_func_sincos_use=yes
34088 else
34089 echo "$as_me: failed program was:" >&5
34090 sed 's/^/| /' conftest.$ac_ext >&5
34092 glibcxx_cv_func_sincos_use=no
34094 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34095 ac_ext=c
34096 ac_cpp='$CPP $CPPFLAGS'
34097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34105 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
34106 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
34108 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
34110 for ac_func in sincos
34112 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34113 echo "$as_me:$LINENO: checking for $ac_func" >&5
34114 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34115 if eval "test \"\${$as_ac_var+set}\" = set"; then
34116 echo $ECHO_N "(cached) $ECHO_C" >&6
34117 else
34118 if test x$gcc_no_link = xyes; then
34119 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34120 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34121 { (exit 1); exit 1; }; }
34123 cat >conftest.$ac_ext <<_ACEOF
34124 /* confdefs.h. */
34125 _ACEOF
34126 cat confdefs.h >>conftest.$ac_ext
34127 cat >>conftest.$ac_ext <<_ACEOF
34128 /* end confdefs.h. */
34129 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34130 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34131 #define $ac_func innocuous_$ac_func
34133 /* System header to define __stub macros and hopefully few prototypes,
34134 which can conflict with char $ac_func (); below.
34135 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34136 <limits.h> exists even on freestanding compilers. */
34138 #ifdef __STDC__
34139 # include <limits.h>
34140 #else
34141 # include <assert.h>
34142 #endif
34144 #undef $ac_func
34146 /* Override any gcc2 internal prototype to avoid an error. */
34147 #ifdef __cplusplus
34148 extern "C"
34150 #endif
34151 /* We use char because int might match the return type of a gcc2
34152 builtin and then its argument prototype would still apply. */
34153 char $ac_func ();
34154 /* The GNU C library defines this for functions which it implements
34155 to always fail with ENOSYS. Some functions are actually named
34156 something starting with __ and the normal name is an alias. */
34157 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34158 choke me
34159 #else
34160 char (*f) () = $ac_func;
34161 #endif
34162 #ifdef __cplusplus
34164 #endif
34167 main ()
34169 return f != $ac_func;
34171 return 0;
34173 _ACEOF
34174 rm -f conftest.$ac_objext conftest$ac_exeext
34175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34176 (eval $ac_link) 2>conftest.er1
34177 ac_status=$?
34178 grep -v '^ *+' conftest.er1 >conftest.err
34179 rm -f conftest.er1
34180 cat conftest.err >&5
34181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34182 (exit $ac_status); } &&
34183 { ac_try='test -z "$ac_c_werror_flag"
34184 || test ! -s conftest.err'
34185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34186 (eval $ac_try) 2>&5
34187 ac_status=$?
34188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34189 (exit $ac_status); }; } &&
34190 { ac_try='test -s conftest$ac_exeext'
34191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34192 (eval $ac_try) 2>&5
34193 ac_status=$?
34194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34195 (exit $ac_status); }; }; then
34196 eval "$as_ac_var=yes"
34197 else
34198 echo "$as_me: failed program was:" >&5
34199 sed 's/^/| /' conftest.$ac_ext >&5
34201 eval "$as_ac_var=no"
34203 rm -f conftest.err conftest.$ac_objext \
34204 conftest$ac_exeext conftest.$ac_ext
34206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34207 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34208 if test `eval echo '${'$as_ac_var'}'` = yes; then
34209 cat >>confdefs.h <<_ACEOF
34210 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34211 _ACEOF
34214 done
34216 else
34218 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
34219 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
34220 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
34221 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
34222 echo $ECHO_N "(cached) $ECHO_C" >&6
34223 else
34227 ac_ext=cc
34228 ac_cpp='$CXXCPP $CPPFLAGS'
34229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34233 cat >conftest.$ac_ext <<_ACEOF
34234 /* confdefs.h. */
34235 _ACEOF
34236 cat confdefs.h >>conftest.$ac_ext
34237 cat >>conftest.$ac_ext <<_ACEOF
34238 /* end confdefs.h. */
34239 #include <math.h>
34241 main ()
34243 _sincos(0, 0, 0);
34245 return 0;
34247 _ACEOF
34248 rm -f conftest.$ac_objext
34249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34250 (eval $ac_compile) 2>conftest.er1
34251 ac_status=$?
34252 grep -v '^ *+' conftest.er1 >conftest.err
34253 rm -f conftest.er1
34254 cat conftest.err >&5
34255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34256 (exit $ac_status); } &&
34257 { ac_try='test -z "$ac_cxx_werror_flag"
34258 || test ! -s conftest.err'
34259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34260 (eval $ac_try) 2>&5
34261 ac_status=$?
34262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34263 (exit $ac_status); }; } &&
34264 { ac_try='test -s conftest.$ac_objext'
34265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34266 (eval $ac_try) 2>&5
34267 ac_status=$?
34268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34269 (exit $ac_status); }; }; then
34270 glibcxx_cv_func__sincos_use=yes
34271 else
34272 echo "$as_me: failed program was:" >&5
34273 sed 's/^/| /' conftest.$ac_ext >&5
34275 glibcxx_cv_func__sincos_use=no
34277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34278 ac_ext=c
34279 ac_cpp='$CPP $CPPFLAGS'
34280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34288 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
34289 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
34291 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
34293 for ac_func in _sincos
34295 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34296 echo "$as_me:$LINENO: checking for $ac_func" >&5
34297 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34298 if eval "test \"\${$as_ac_var+set}\" = set"; then
34299 echo $ECHO_N "(cached) $ECHO_C" >&6
34300 else
34301 if test x$gcc_no_link = xyes; then
34302 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34303 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34304 { (exit 1); exit 1; }; }
34306 cat >conftest.$ac_ext <<_ACEOF
34307 /* confdefs.h. */
34308 _ACEOF
34309 cat confdefs.h >>conftest.$ac_ext
34310 cat >>conftest.$ac_ext <<_ACEOF
34311 /* end confdefs.h. */
34312 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34313 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34314 #define $ac_func innocuous_$ac_func
34316 /* System header to define __stub macros and hopefully few prototypes,
34317 which can conflict with char $ac_func (); below.
34318 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34319 <limits.h> exists even on freestanding compilers. */
34321 #ifdef __STDC__
34322 # include <limits.h>
34323 #else
34324 # include <assert.h>
34325 #endif
34327 #undef $ac_func
34329 /* Override any gcc2 internal prototype to avoid an error. */
34330 #ifdef __cplusplus
34331 extern "C"
34333 #endif
34334 /* We use char because int might match the return type of a gcc2
34335 builtin and then its argument prototype would still apply. */
34336 char $ac_func ();
34337 /* The GNU C library defines this for functions which it implements
34338 to always fail with ENOSYS. Some functions are actually named
34339 something starting with __ and the normal name is an alias. */
34340 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34341 choke me
34342 #else
34343 char (*f) () = $ac_func;
34344 #endif
34345 #ifdef __cplusplus
34347 #endif
34350 main ()
34352 return f != $ac_func;
34354 return 0;
34356 _ACEOF
34357 rm -f conftest.$ac_objext conftest$ac_exeext
34358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34359 (eval $ac_link) 2>conftest.er1
34360 ac_status=$?
34361 grep -v '^ *+' conftest.er1 >conftest.err
34362 rm -f conftest.er1
34363 cat conftest.err >&5
34364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34365 (exit $ac_status); } &&
34366 { ac_try='test -z "$ac_c_werror_flag"
34367 || test ! -s conftest.err'
34368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34369 (eval $ac_try) 2>&5
34370 ac_status=$?
34371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34372 (exit $ac_status); }; } &&
34373 { ac_try='test -s conftest$ac_exeext'
34374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34375 (eval $ac_try) 2>&5
34376 ac_status=$?
34377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34378 (exit $ac_status); }; }; then
34379 eval "$as_ac_var=yes"
34380 else
34381 echo "$as_me: failed program was:" >&5
34382 sed 's/^/| /' conftest.$ac_ext >&5
34384 eval "$as_ac_var=no"
34386 rm -f conftest.err conftest.$ac_objext \
34387 conftest$ac_exeext conftest.$ac_ext
34389 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34390 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34391 if test `eval echo '${'$as_ac_var'}'` = yes; then
34392 cat >>confdefs.h <<_ACEOF
34393 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34394 _ACEOF
34397 done
34407 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
34408 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
34409 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
34410 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
34411 echo $ECHO_N "(cached) $ECHO_C" >&6
34412 else
34416 ac_ext=cc
34417 ac_cpp='$CXXCPP $CPPFLAGS'
34418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34422 cat >conftest.$ac_ext <<_ACEOF
34423 /* confdefs.h. */
34424 _ACEOF
34425 cat confdefs.h >>conftest.$ac_ext
34426 cat >>conftest.$ac_ext <<_ACEOF
34427 /* end confdefs.h. */
34428 #include <math.h>
34429 #ifdef HAVE_IEEEFP_H
34430 #include <ieeefp.h>
34431 #endif
34434 main ()
34436 fpclass(0);
34438 return 0;
34440 _ACEOF
34441 rm -f conftest.$ac_objext
34442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34443 (eval $ac_compile) 2>conftest.er1
34444 ac_status=$?
34445 grep -v '^ *+' conftest.er1 >conftest.err
34446 rm -f conftest.er1
34447 cat conftest.err >&5
34448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34449 (exit $ac_status); } &&
34450 { ac_try='test -z "$ac_cxx_werror_flag"
34451 || test ! -s conftest.err'
34452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34453 (eval $ac_try) 2>&5
34454 ac_status=$?
34455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34456 (exit $ac_status); }; } &&
34457 { ac_try='test -s conftest.$ac_objext'
34458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34459 (eval $ac_try) 2>&5
34460 ac_status=$?
34461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34462 (exit $ac_status); }; }; then
34463 glibcxx_cv_func_fpclass_use=yes
34464 else
34465 echo "$as_me: failed program was:" >&5
34466 sed 's/^/| /' conftest.$ac_ext >&5
34468 glibcxx_cv_func_fpclass_use=no
34470 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34471 ac_ext=c
34472 ac_cpp='$CPP $CPPFLAGS'
34473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34481 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
34482 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
34484 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
34486 for ac_func in fpclass
34488 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34489 echo "$as_me:$LINENO: checking for $ac_func" >&5
34490 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34491 if eval "test \"\${$as_ac_var+set}\" = set"; then
34492 echo $ECHO_N "(cached) $ECHO_C" >&6
34493 else
34494 if test x$gcc_no_link = xyes; then
34495 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34496 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34497 { (exit 1); exit 1; }; }
34499 cat >conftest.$ac_ext <<_ACEOF
34500 /* confdefs.h. */
34501 _ACEOF
34502 cat confdefs.h >>conftest.$ac_ext
34503 cat >>conftest.$ac_ext <<_ACEOF
34504 /* end confdefs.h. */
34505 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34506 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34507 #define $ac_func innocuous_$ac_func
34509 /* System header to define __stub macros and hopefully few prototypes,
34510 which can conflict with char $ac_func (); below.
34511 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34512 <limits.h> exists even on freestanding compilers. */
34514 #ifdef __STDC__
34515 # include <limits.h>
34516 #else
34517 # include <assert.h>
34518 #endif
34520 #undef $ac_func
34522 /* Override any gcc2 internal prototype to avoid an error. */
34523 #ifdef __cplusplus
34524 extern "C"
34526 #endif
34527 /* We use char because int might match the return type of a gcc2
34528 builtin and then its argument prototype would still apply. */
34529 char $ac_func ();
34530 /* The GNU C library defines this for functions which it implements
34531 to always fail with ENOSYS. Some functions are actually named
34532 something starting with __ and the normal name is an alias. */
34533 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34534 choke me
34535 #else
34536 char (*f) () = $ac_func;
34537 #endif
34538 #ifdef __cplusplus
34540 #endif
34543 main ()
34545 return f != $ac_func;
34547 return 0;
34549 _ACEOF
34550 rm -f conftest.$ac_objext conftest$ac_exeext
34551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34552 (eval $ac_link) 2>conftest.er1
34553 ac_status=$?
34554 grep -v '^ *+' conftest.er1 >conftest.err
34555 rm -f conftest.er1
34556 cat conftest.err >&5
34557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34558 (exit $ac_status); } &&
34559 { ac_try='test -z "$ac_c_werror_flag"
34560 || test ! -s conftest.err'
34561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34562 (eval $ac_try) 2>&5
34563 ac_status=$?
34564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34565 (exit $ac_status); }; } &&
34566 { ac_try='test -s conftest$ac_exeext'
34567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34568 (eval $ac_try) 2>&5
34569 ac_status=$?
34570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34571 (exit $ac_status); }; }; then
34572 eval "$as_ac_var=yes"
34573 else
34574 echo "$as_me: failed program was:" >&5
34575 sed 's/^/| /' conftest.$ac_ext >&5
34577 eval "$as_ac_var=no"
34579 rm -f conftest.err conftest.$ac_objext \
34580 conftest$ac_exeext conftest.$ac_ext
34582 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34583 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34584 if test `eval echo '${'$as_ac_var'}'` = yes; then
34585 cat >>confdefs.h <<_ACEOF
34586 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34587 _ACEOF
34590 done
34592 else
34594 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
34595 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
34596 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
34597 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
34598 echo $ECHO_N "(cached) $ECHO_C" >&6
34599 else
34603 ac_ext=cc
34604 ac_cpp='$CXXCPP $CPPFLAGS'
34605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34609 cat >conftest.$ac_ext <<_ACEOF
34610 /* confdefs.h. */
34611 _ACEOF
34612 cat confdefs.h >>conftest.$ac_ext
34613 cat >>conftest.$ac_ext <<_ACEOF
34614 /* end confdefs.h. */
34615 #include <math.h>
34616 #ifdef HAVE_IEEEFP_H
34617 #include <ieeefp.h>
34618 #endif
34621 main ()
34623 _fpclass(0);
34625 return 0;
34627 _ACEOF
34628 rm -f conftest.$ac_objext
34629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34630 (eval $ac_compile) 2>conftest.er1
34631 ac_status=$?
34632 grep -v '^ *+' conftest.er1 >conftest.err
34633 rm -f conftest.er1
34634 cat conftest.err >&5
34635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34636 (exit $ac_status); } &&
34637 { ac_try='test -z "$ac_cxx_werror_flag"
34638 || test ! -s conftest.err'
34639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34640 (eval $ac_try) 2>&5
34641 ac_status=$?
34642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34643 (exit $ac_status); }; } &&
34644 { ac_try='test -s conftest.$ac_objext'
34645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34646 (eval $ac_try) 2>&5
34647 ac_status=$?
34648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34649 (exit $ac_status); }; }; then
34650 glibcxx_cv_func__fpclass_use=yes
34651 else
34652 echo "$as_me: failed program was:" >&5
34653 sed 's/^/| /' conftest.$ac_ext >&5
34655 glibcxx_cv_func__fpclass_use=no
34657 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34658 ac_ext=c
34659 ac_cpp='$CPP $CPPFLAGS'
34660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34668 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
34669 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
34671 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
34673 for ac_func in _fpclass
34675 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34676 echo "$as_me:$LINENO: checking for $ac_func" >&5
34677 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34678 if eval "test \"\${$as_ac_var+set}\" = set"; then
34679 echo $ECHO_N "(cached) $ECHO_C" >&6
34680 else
34681 if test x$gcc_no_link = xyes; then
34682 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34683 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34684 { (exit 1); exit 1; }; }
34686 cat >conftest.$ac_ext <<_ACEOF
34687 /* confdefs.h. */
34688 _ACEOF
34689 cat confdefs.h >>conftest.$ac_ext
34690 cat >>conftest.$ac_ext <<_ACEOF
34691 /* end confdefs.h. */
34692 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34693 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34694 #define $ac_func innocuous_$ac_func
34696 /* System header to define __stub macros and hopefully few prototypes,
34697 which can conflict with char $ac_func (); below.
34698 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34699 <limits.h> exists even on freestanding compilers. */
34701 #ifdef __STDC__
34702 # include <limits.h>
34703 #else
34704 # include <assert.h>
34705 #endif
34707 #undef $ac_func
34709 /* Override any gcc2 internal prototype to avoid an error. */
34710 #ifdef __cplusplus
34711 extern "C"
34713 #endif
34714 /* We use char because int might match the return type of a gcc2
34715 builtin and then its argument prototype would still apply. */
34716 char $ac_func ();
34717 /* The GNU C library defines this for functions which it implements
34718 to always fail with ENOSYS. Some functions are actually named
34719 something starting with __ and the normal name is an alias. */
34720 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34721 choke me
34722 #else
34723 char (*f) () = $ac_func;
34724 #endif
34725 #ifdef __cplusplus
34727 #endif
34730 main ()
34732 return f != $ac_func;
34734 return 0;
34736 _ACEOF
34737 rm -f conftest.$ac_objext conftest$ac_exeext
34738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34739 (eval $ac_link) 2>conftest.er1
34740 ac_status=$?
34741 grep -v '^ *+' conftest.er1 >conftest.err
34742 rm -f conftest.er1
34743 cat conftest.err >&5
34744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34745 (exit $ac_status); } &&
34746 { ac_try='test -z "$ac_c_werror_flag"
34747 || test ! -s conftest.err'
34748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34749 (eval $ac_try) 2>&5
34750 ac_status=$?
34751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34752 (exit $ac_status); }; } &&
34753 { ac_try='test -s conftest$ac_exeext'
34754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34755 (eval $ac_try) 2>&5
34756 ac_status=$?
34757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34758 (exit $ac_status); }; }; then
34759 eval "$as_ac_var=yes"
34760 else
34761 echo "$as_me: failed program was:" >&5
34762 sed 's/^/| /' conftest.$ac_ext >&5
34764 eval "$as_ac_var=no"
34766 rm -f conftest.err conftest.$ac_objext \
34767 conftest$ac_exeext conftest.$ac_ext
34769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34770 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34771 if test `eval echo '${'$as_ac_var'}'` = yes; then
34772 cat >>confdefs.h <<_ACEOF
34773 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34774 _ACEOF
34777 done
34787 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
34788 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
34789 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
34790 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
34791 echo $ECHO_N "(cached) $ECHO_C" >&6
34792 else
34796 ac_ext=cc
34797 ac_cpp='$CXXCPP $CPPFLAGS'
34798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34802 cat >conftest.$ac_ext <<_ACEOF
34803 /* confdefs.h. */
34804 _ACEOF
34805 cat confdefs.h >>conftest.$ac_ext
34806 cat >>conftest.$ac_ext <<_ACEOF
34807 /* end confdefs.h. */
34808 #include <math.h>
34809 #ifdef HAVE_IEEEFP_H
34810 #include <ieeefp.h>
34811 #endif
34814 main ()
34816 qfpclass(0);
34818 return 0;
34820 _ACEOF
34821 rm -f conftest.$ac_objext
34822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34823 (eval $ac_compile) 2>conftest.er1
34824 ac_status=$?
34825 grep -v '^ *+' conftest.er1 >conftest.err
34826 rm -f conftest.er1
34827 cat conftest.err >&5
34828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34829 (exit $ac_status); } &&
34830 { ac_try='test -z "$ac_cxx_werror_flag"
34831 || test ! -s conftest.err'
34832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34833 (eval $ac_try) 2>&5
34834 ac_status=$?
34835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34836 (exit $ac_status); }; } &&
34837 { ac_try='test -s conftest.$ac_objext'
34838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34839 (eval $ac_try) 2>&5
34840 ac_status=$?
34841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34842 (exit $ac_status); }; }; then
34843 glibcxx_cv_func_qfpclass_use=yes
34844 else
34845 echo "$as_me: failed program was:" >&5
34846 sed 's/^/| /' conftest.$ac_ext >&5
34848 glibcxx_cv_func_qfpclass_use=no
34850 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34851 ac_ext=c
34852 ac_cpp='$CPP $CPPFLAGS'
34853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34861 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
34862 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
34864 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
34866 for ac_func in qfpclass
34868 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34869 echo "$as_me:$LINENO: checking for $ac_func" >&5
34870 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34871 if eval "test \"\${$as_ac_var+set}\" = set"; then
34872 echo $ECHO_N "(cached) $ECHO_C" >&6
34873 else
34874 if test x$gcc_no_link = xyes; then
34875 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34876 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34877 { (exit 1); exit 1; }; }
34879 cat >conftest.$ac_ext <<_ACEOF
34880 /* confdefs.h. */
34881 _ACEOF
34882 cat confdefs.h >>conftest.$ac_ext
34883 cat >>conftest.$ac_ext <<_ACEOF
34884 /* end confdefs.h. */
34885 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34886 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34887 #define $ac_func innocuous_$ac_func
34889 /* System header to define __stub macros and hopefully few prototypes,
34890 which can conflict with char $ac_func (); below.
34891 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34892 <limits.h> exists even on freestanding compilers. */
34894 #ifdef __STDC__
34895 # include <limits.h>
34896 #else
34897 # include <assert.h>
34898 #endif
34900 #undef $ac_func
34902 /* Override any gcc2 internal prototype to avoid an error. */
34903 #ifdef __cplusplus
34904 extern "C"
34906 #endif
34907 /* We use char because int might match the return type of a gcc2
34908 builtin and then its argument prototype would still apply. */
34909 char $ac_func ();
34910 /* The GNU C library defines this for functions which it implements
34911 to always fail with ENOSYS. Some functions are actually named
34912 something starting with __ and the normal name is an alias. */
34913 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34914 choke me
34915 #else
34916 char (*f) () = $ac_func;
34917 #endif
34918 #ifdef __cplusplus
34920 #endif
34923 main ()
34925 return f != $ac_func;
34927 return 0;
34929 _ACEOF
34930 rm -f conftest.$ac_objext conftest$ac_exeext
34931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34932 (eval $ac_link) 2>conftest.er1
34933 ac_status=$?
34934 grep -v '^ *+' conftest.er1 >conftest.err
34935 rm -f conftest.er1
34936 cat conftest.err >&5
34937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34938 (exit $ac_status); } &&
34939 { ac_try='test -z "$ac_c_werror_flag"
34940 || test ! -s conftest.err'
34941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34942 (eval $ac_try) 2>&5
34943 ac_status=$?
34944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34945 (exit $ac_status); }; } &&
34946 { ac_try='test -s conftest$ac_exeext'
34947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34948 (eval $ac_try) 2>&5
34949 ac_status=$?
34950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34951 (exit $ac_status); }; }; then
34952 eval "$as_ac_var=yes"
34953 else
34954 echo "$as_me: failed program was:" >&5
34955 sed 's/^/| /' conftest.$ac_ext >&5
34957 eval "$as_ac_var=no"
34959 rm -f conftest.err conftest.$ac_objext \
34960 conftest$ac_exeext conftest.$ac_ext
34962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34963 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34964 if test `eval echo '${'$as_ac_var'}'` = yes; then
34965 cat >>confdefs.h <<_ACEOF
34966 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34967 _ACEOF
34970 done
34972 else
34974 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
34975 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
34976 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
34977 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
34978 echo $ECHO_N "(cached) $ECHO_C" >&6
34979 else
34983 ac_ext=cc
34984 ac_cpp='$CXXCPP $CPPFLAGS'
34985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34989 cat >conftest.$ac_ext <<_ACEOF
34990 /* confdefs.h. */
34991 _ACEOF
34992 cat confdefs.h >>conftest.$ac_ext
34993 cat >>conftest.$ac_ext <<_ACEOF
34994 /* end confdefs.h. */
34995 #include <math.h>
34996 #ifdef HAVE_IEEEFP_H
34997 #include <ieeefp.h>
34998 #endif
35001 main ()
35003 _qfpclass(0);
35005 return 0;
35007 _ACEOF
35008 rm -f conftest.$ac_objext
35009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35010 (eval $ac_compile) 2>conftest.er1
35011 ac_status=$?
35012 grep -v '^ *+' conftest.er1 >conftest.err
35013 rm -f conftest.er1
35014 cat conftest.err >&5
35015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35016 (exit $ac_status); } &&
35017 { ac_try='test -z "$ac_cxx_werror_flag"
35018 || test ! -s conftest.err'
35019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35020 (eval $ac_try) 2>&5
35021 ac_status=$?
35022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35023 (exit $ac_status); }; } &&
35024 { ac_try='test -s conftest.$ac_objext'
35025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35026 (eval $ac_try) 2>&5
35027 ac_status=$?
35028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35029 (exit $ac_status); }; }; then
35030 glibcxx_cv_func__qfpclass_use=yes
35031 else
35032 echo "$as_me: failed program was:" >&5
35033 sed 's/^/| /' conftest.$ac_ext >&5
35035 glibcxx_cv_func__qfpclass_use=no
35037 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35038 ac_ext=c
35039 ac_cpp='$CPP $CPPFLAGS'
35040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35048 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
35049 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
35051 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
35053 for ac_func in _qfpclass
35055 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35056 echo "$as_me:$LINENO: checking for $ac_func" >&5
35057 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35058 if eval "test \"\${$as_ac_var+set}\" = set"; then
35059 echo $ECHO_N "(cached) $ECHO_C" >&6
35060 else
35061 if test x$gcc_no_link = xyes; then
35062 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35063 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35064 { (exit 1); exit 1; }; }
35066 cat >conftest.$ac_ext <<_ACEOF
35067 /* confdefs.h. */
35068 _ACEOF
35069 cat confdefs.h >>conftest.$ac_ext
35070 cat >>conftest.$ac_ext <<_ACEOF
35071 /* end confdefs.h. */
35072 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35073 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35074 #define $ac_func innocuous_$ac_func
35076 /* System header to define __stub macros and hopefully few prototypes,
35077 which can conflict with char $ac_func (); below.
35078 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35079 <limits.h> exists even on freestanding compilers. */
35081 #ifdef __STDC__
35082 # include <limits.h>
35083 #else
35084 # include <assert.h>
35085 #endif
35087 #undef $ac_func
35089 /* Override any gcc2 internal prototype to avoid an error. */
35090 #ifdef __cplusplus
35091 extern "C"
35093 #endif
35094 /* We use char because int might match the return type of a gcc2
35095 builtin and then its argument prototype would still apply. */
35096 char $ac_func ();
35097 /* The GNU C library defines this for functions which it implements
35098 to always fail with ENOSYS. Some functions are actually named
35099 something starting with __ and the normal name is an alias. */
35100 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35101 choke me
35102 #else
35103 char (*f) () = $ac_func;
35104 #endif
35105 #ifdef __cplusplus
35107 #endif
35110 main ()
35112 return f != $ac_func;
35114 return 0;
35116 _ACEOF
35117 rm -f conftest.$ac_objext conftest$ac_exeext
35118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35119 (eval $ac_link) 2>conftest.er1
35120 ac_status=$?
35121 grep -v '^ *+' conftest.er1 >conftest.err
35122 rm -f conftest.er1
35123 cat conftest.err >&5
35124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35125 (exit $ac_status); } &&
35126 { ac_try='test -z "$ac_c_werror_flag"
35127 || test ! -s conftest.err'
35128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35129 (eval $ac_try) 2>&5
35130 ac_status=$?
35131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35132 (exit $ac_status); }; } &&
35133 { ac_try='test -s conftest$ac_exeext'
35134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35135 (eval $ac_try) 2>&5
35136 ac_status=$?
35137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35138 (exit $ac_status); }; }; then
35139 eval "$as_ac_var=yes"
35140 else
35141 echo "$as_me: failed program was:" >&5
35142 sed 's/^/| /' conftest.$ac_ext >&5
35144 eval "$as_ac_var=no"
35146 rm -f conftest.err conftest.$ac_objext \
35147 conftest$ac_exeext conftest.$ac_ext
35149 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35150 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35151 if test `eval echo '${'$as_ac_var'}'` = yes; then
35152 cat >>confdefs.h <<_ACEOF
35153 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35154 _ACEOF
35157 done
35167 echo "$as_me:$LINENO: checking for hypot declaration" >&5
35168 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
35169 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
35170 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
35171 echo $ECHO_N "(cached) $ECHO_C" >&6
35172 else
35176 ac_ext=cc
35177 ac_cpp='$CXXCPP $CPPFLAGS'
35178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35182 cat >conftest.$ac_ext <<_ACEOF
35183 /* confdefs.h. */
35184 _ACEOF
35185 cat confdefs.h >>conftest.$ac_ext
35186 cat >>conftest.$ac_ext <<_ACEOF
35187 /* end confdefs.h. */
35188 #include <math.h>
35190 main ()
35192 hypot(0, 0);
35194 return 0;
35196 _ACEOF
35197 rm -f conftest.$ac_objext
35198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35199 (eval $ac_compile) 2>conftest.er1
35200 ac_status=$?
35201 grep -v '^ *+' conftest.er1 >conftest.err
35202 rm -f conftest.er1
35203 cat conftest.err >&5
35204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35205 (exit $ac_status); } &&
35206 { ac_try='test -z "$ac_cxx_werror_flag"
35207 || test ! -s conftest.err'
35208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35209 (eval $ac_try) 2>&5
35210 ac_status=$?
35211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35212 (exit $ac_status); }; } &&
35213 { ac_try='test -s conftest.$ac_objext'
35214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35215 (eval $ac_try) 2>&5
35216 ac_status=$?
35217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35218 (exit $ac_status); }; }; then
35219 glibcxx_cv_func_hypot_use=yes
35220 else
35221 echo "$as_me: failed program was:" >&5
35222 sed 's/^/| /' conftest.$ac_ext >&5
35224 glibcxx_cv_func_hypot_use=no
35226 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35227 ac_ext=c
35228 ac_cpp='$CPP $CPPFLAGS'
35229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35237 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
35238 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
35240 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
35242 for ac_func in hypot
35244 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35245 echo "$as_me:$LINENO: checking for $ac_func" >&5
35246 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35247 if eval "test \"\${$as_ac_var+set}\" = set"; then
35248 echo $ECHO_N "(cached) $ECHO_C" >&6
35249 else
35250 if test x$gcc_no_link = xyes; then
35251 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35252 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35253 { (exit 1); exit 1; }; }
35255 cat >conftest.$ac_ext <<_ACEOF
35256 /* confdefs.h. */
35257 _ACEOF
35258 cat confdefs.h >>conftest.$ac_ext
35259 cat >>conftest.$ac_ext <<_ACEOF
35260 /* end confdefs.h. */
35261 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35262 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35263 #define $ac_func innocuous_$ac_func
35265 /* System header to define __stub macros and hopefully few prototypes,
35266 which can conflict with char $ac_func (); below.
35267 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35268 <limits.h> exists even on freestanding compilers. */
35270 #ifdef __STDC__
35271 # include <limits.h>
35272 #else
35273 # include <assert.h>
35274 #endif
35276 #undef $ac_func
35278 /* Override any gcc2 internal prototype to avoid an error. */
35279 #ifdef __cplusplus
35280 extern "C"
35282 #endif
35283 /* We use char because int might match the return type of a gcc2
35284 builtin and then its argument prototype would still apply. */
35285 char $ac_func ();
35286 /* The GNU C library defines this for functions which it implements
35287 to always fail with ENOSYS. Some functions are actually named
35288 something starting with __ and the normal name is an alias. */
35289 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35290 choke me
35291 #else
35292 char (*f) () = $ac_func;
35293 #endif
35294 #ifdef __cplusplus
35296 #endif
35299 main ()
35301 return f != $ac_func;
35303 return 0;
35305 _ACEOF
35306 rm -f conftest.$ac_objext conftest$ac_exeext
35307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35308 (eval $ac_link) 2>conftest.er1
35309 ac_status=$?
35310 grep -v '^ *+' conftest.er1 >conftest.err
35311 rm -f conftest.er1
35312 cat conftest.err >&5
35313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35314 (exit $ac_status); } &&
35315 { ac_try='test -z "$ac_c_werror_flag"
35316 || test ! -s conftest.err'
35317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35318 (eval $ac_try) 2>&5
35319 ac_status=$?
35320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35321 (exit $ac_status); }; } &&
35322 { ac_try='test -s conftest$ac_exeext'
35323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35324 (eval $ac_try) 2>&5
35325 ac_status=$?
35326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35327 (exit $ac_status); }; }; then
35328 eval "$as_ac_var=yes"
35329 else
35330 echo "$as_me: failed program was:" >&5
35331 sed 's/^/| /' conftest.$ac_ext >&5
35333 eval "$as_ac_var=no"
35335 rm -f conftest.err conftest.$ac_objext \
35336 conftest$ac_exeext conftest.$ac_ext
35338 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35339 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35340 if test `eval echo '${'$as_ac_var'}'` = yes; then
35341 cat >>confdefs.h <<_ACEOF
35342 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35343 _ACEOF
35346 done
35348 else
35350 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
35351 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
35352 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
35353 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
35354 echo $ECHO_N "(cached) $ECHO_C" >&6
35355 else
35359 ac_ext=cc
35360 ac_cpp='$CXXCPP $CPPFLAGS'
35361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35365 cat >conftest.$ac_ext <<_ACEOF
35366 /* confdefs.h. */
35367 _ACEOF
35368 cat confdefs.h >>conftest.$ac_ext
35369 cat >>conftest.$ac_ext <<_ACEOF
35370 /* end confdefs.h. */
35371 #include <math.h>
35373 main ()
35375 _hypot(0, 0);
35377 return 0;
35379 _ACEOF
35380 rm -f conftest.$ac_objext
35381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35382 (eval $ac_compile) 2>conftest.er1
35383 ac_status=$?
35384 grep -v '^ *+' conftest.er1 >conftest.err
35385 rm -f conftest.er1
35386 cat conftest.err >&5
35387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35388 (exit $ac_status); } &&
35389 { ac_try='test -z "$ac_cxx_werror_flag"
35390 || test ! -s conftest.err'
35391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35392 (eval $ac_try) 2>&5
35393 ac_status=$?
35394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35395 (exit $ac_status); }; } &&
35396 { ac_try='test -s conftest.$ac_objext'
35397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35398 (eval $ac_try) 2>&5
35399 ac_status=$?
35400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35401 (exit $ac_status); }; }; then
35402 glibcxx_cv_func__hypot_use=yes
35403 else
35404 echo "$as_me: failed program was:" >&5
35405 sed 's/^/| /' conftest.$ac_ext >&5
35407 glibcxx_cv_func__hypot_use=no
35409 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35410 ac_ext=c
35411 ac_cpp='$CPP $CPPFLAGS'
35412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35420 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
35421 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
35423 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
35425 for ac_func in _hypot
35427 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35428 echo "$as_me:$LINENO: checking for $ac_func" >&5
35429 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35430 if eval "test \"\${$as_ac_var+set}\" = set"; then
35431 echo $ECHO_N "(cached) $ECHO_C" >&6
35432 else
35433 if test x$gcc_no_link = xyes; then
35434 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35435 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35436 { (exit 1); exit 1; }; }
35438 cat >conftest.$ac_ext <<_ACEOF
35439 /* confdefs.h. */
35440 _ACEOF
35441 cat confdefs.h >>conftest.$ac_ext
35442 cat >>conftest.$ac_ext <<_ACEOF
35443 /* end confdefs.h. */
35444 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35445 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35446 #define $ac_func innocuous_$ac_func
35448 /* System header to define __stub macros and hopefully few prototypes,
35449 which can conflict with char $ac_func (); below.
35450 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35451 <limits.h> exists even on freestanding compilers. */
35453 #ifdef __STDC__
35454 # include <limits.h>
35455 #else
35456 # include <assert.h>
35457 #endif
35459 #undef $ac_func
35461 /* Override any gcc2 internal prototype to avoid an error. */
35462 #ifdef __cplusplus
35463 extern "C"
35465 #endif
35466 /* We use char because int might match the return type of a gcc2
35467 builtin and then its argument prototype would still apply. */
35468 char $ac_func ();
35469 /* The GNU C library defines this for functions which it implements
35470 to always fail with ENOSYS. Some functions are actually named
35471 something starting with __ and the normal name is an alias. */
35472 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35473 choke me
35474 #else
35475 char (*f) () = $ac_func;
35476 #endif
35477 #ifdef __cplusplus
35479 #endif
35482 main ()
35484 return f != $ac_func;
35486 return 0;
35488 _ACEOF
35489 rm -f conftest.$ac_objext conftest$ac_exeext
35490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35491 (eval $ac_link) 2>conftest.er1
35492 ac_status=$?
35493 grep -v '^ *+' conftest.er1 >conftest.err
35494 rm -f conftest.er1
35495 cat conftest.err >&5
35496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35497 (exit $ac_status); } &&
35498 { ac_try='test -z "$ac_c_werror_flag"
35499 || test ! -s conftest.err'
35500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35501 (eval $ac_try) 2>&5
35502 ac_status=$?
35503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35504 (exit $ac_status); }; } &&
35505 { ac_try='test -s conftest$ac_exeext'
35506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35507 (eval $ac_try) 2>&5
35508 ac_status=$?
35509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35510 (exit $ac_status); }; }; then
35511 eval "$as_ac_var=yes"
35512 else
35513 echo "$as_me: failed program was:" >&5
35514 sed 's/^/| /' conftest.$ac_ext >&5
35516 eval "$as_ac_var=no"
35518 rm -f conftest.err conftest.$ac_objext \
35519 conftest$ac_exeext conftest.$ac_ext
35521 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35522 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35523 if test `eval echo '${'$as_ac_var'}'` = yes; then
35524 cat >>confdefs.h <<_ACEOF
35525 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35526 _ACEOF
35529 done
35539 echo "$as_me:$LINENO: checking for float trig functions" >&5
35540 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
35541 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
35542 echo $ECHO_N "(cached) $ECHO_C" >&6
35543 else
35547 ac_ext=cc
35548 ac_cpp='$CXXCPP $CPPFLAGS'
35549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35553 cat >conftest.$ac_ext <<_ACEOF
35554 /* confdefs.h. */
35555 _ACEOF
35556 cat confdefs.h >>conftest.$ac_ext
35557 cat >>conftest.$ac_ext <<_ACEOF
35558 /* end confdefs.h. */
35559 #include <math.h>
35561 main ()
35563 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
35565 return 0;
35567 _ACEOF
35568 rm -f conftest.$ac_objext
35569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35570 (eval $ac_compile) 2>conftest.er1
35571 ac_status=$?
35572 grep -v '^ *+' conftest.er1 >conftest.err
35573 rm -f conftest.er1
35574 cat conftest.err >&5
35575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35576 (exit $ac_status); } &&
35577 { ac_try='test -z "$ac_cxx_werror_flag"
35578 || test ! -s conftest.err'
35579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35580 (eval $ac_try) 2>&5
35581 ac_status=$?
35582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35583 (exit $ac_status); }; } &&
35584 { ac_try='test -s conftest.$ac_objext'
35585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35586 (eval $ac_try) 2>&5
35587 ac_status=$?
35588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35589 (exit $ac_status); }; }; then
35590 glibcxx_cv_func_float_trig_use=yes
35591 else
35592 echo "$as_me: failed program was:" >&5
35593 sed 's/^/| /' conftest.$ac_ext >&5
35595 glibcxx_cv_func_float_trig_use=no
35597 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35598 ac_ext=c
35599 ac_cpp='$CPP $CPPFLAGS'
35600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35606 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
35607 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
35608 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
35618 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
35620 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35621 echo "$as_me:$LINENO: checking for $ac_func" >&5
35622 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35623 if eval "test \"\${$as_ac_var+set}\" = set"; then
35624 echo $ECHO_N "(cached) $ECHO_C" >&6
35625 else
35626 if test x$gcc_no_link = xyes; then
35627 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35628 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35629 { (exit 1); exit 1; }; }
35631 cat >conftest.$ac_ext <<_ACEOF
35632 /* confdefs.h. */
35633 _ACEOF
35634 cat confdefs.h >>conftest.$ac_ext
35635 cat >>conftest.$ac_ext <<_ACEOF
35636 /* end confdefs.h. */
35637 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35638 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35639 #define $ac_func innocuous_$ac_func
35641 /* System header to define __stub macros and hopefully few prototypes,
35642 which can conflict with char $ac_func (); below.
35643 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35644 <limits.h> exists even on freestanding compilers. */
35646 #ifdef __STDC__
35647 # include <limits.h>
35648 #else
35649 # include <assert.h>
35650 #endif
35652 #undef $ac_func
35654 /* Override any gcc2 internal prototype to avoid an error. */
35655 #ifdef __cplusplus
35656 extern "C"
35658 #endif
35659 /* We use char because int might match the return type of a gcc2
35660 builtin and then its argument prototype would still apply. */
35661 char $ac_func ();
35662 /* The GNU C library defines this for functions which it implements
35663 to always fail with ENOSYS. Some functions are actually named
35664 something starting with __ and the normal name is an alias. */
35665 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35666 choke me
35667 #else
35668 char (*f) () = $ac_func;
35669 #endif
35670 #ifdef __cplusplus
35672 #endif
35675 main ()
35677 return f != $ac_func;
35679 return 0;
35681 _ACEOF
35682 rm -f conftest.$ac_objext conftest$ac_exeext
35683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35684 (eval $ac_link) 2>conftest.er1
35685 ac_status=$?
35686 grep -v '^ *+' conftest.er1 >conftest.err
35687 rm -f conftest.er1
35688 cat conftest.err >&5
35689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35690 (exit $ac_status); } &&
35691 { ac_try='test -z "$ac_c_werror_flag"
35692 || test ! -s conftest.err'
35693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35694 (eval $ac_try) 2>&5
35695 ac_status=$?
35696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35697 (exit $ac_status); }; } &&
35698 { ac_try='test -s conftest$ac_exeext'
35699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35700 (eval $ac_try) 2>&5
35701 ac_status=$?
35702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35703 (exit $ac_status); }; }; then
35704 eval "$as_ac_var=yes"
35705 else
35706 echo "$as_me: failed program was:" >&5
35707 sed 's/^/| /' conftest.$ac_ext >&5
35709 eval "$as_ac_var=no"
35711 rm -f conftest.err conftest.$ac_objext \
35712 conftest$ac_exeext conftest.$ac_ext
35714 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35715 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35716 if test `eval echo '${'$as_ac_var'}'` = yes; then
35717 cat >>confdefs.h <<_ACEOF
35718 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35719 _ACEOF
35722 done
35724 else
35725 echo "$as_me:$LINENO: checking for _float trig functions" >&5
35726 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
35727 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
35728 echo $ECHO_N "(cached) $ECHO_C" >&6
35729 else
35733 ac_ext=cc
35734 ac_cpp='$CXXCPP $CPPFLAGS'
35735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35739 cat >conftest.$ac_ext <<_ACEOF
35740 /* confdefs.h. */
35741 _ACEOF
35742 cat confdefs.h >>conftest.$ac_ext
35743 cat >>conftest.$ac_ext <<_ACEOF
35744 /* end confdefs.h. */
35745 #include <math.h>
35747 main ()
35749 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
35751 return 0;
35753 _ACEOF
35754 rm -f conftest.$ac_objext
35755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35756 (eval $ac_compile) 2>conftest.er1
35757 ac_status=$?
35758 grep -v '^ *+' conftest.er1 >conftest.err
35759 rm -f conftest.er1
35760 cat conftest.err >&5
35761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35762 (exit $ac_status); } &&
35763 { ac_try='test -z "$ac_cxx_werror_flag"
35764 || test ! -s conftest.err'
35765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35766 (eval $ac_try) 2>&5
35767 ac_status=$?
35768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35769 (exit $ac_status); }; } &&
35770 { ac_try='test -s conftest.$ac_objext'
35771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35772 (eval $ac_try) 2>&5
35773 ac_status=$?
35774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35775 (exit $ac_status); }; }; then
35776 glibcxx_cv_func__float_trig_use=yes
35777 else
35778 echo "$as_me: failed program was:" >&5
35779 sed 's/^/| /' conftest.$ac_ext >&5
35781 glibcxx_cv_func__float_trig_use=no
35783 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35784 ac_ext=c
35785 ac_cpp='$CPP $CPPFLAGS'
35786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35792 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
35793 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
35794 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
35804 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
35806 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35807 echo "$as_me:$LINENO: checking for $ac_func" >&5
35808 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35809 if eval "test \"\${$as_ac_var+set}\" = set"; then
35810 echo $ECHO_N "(cached) $ECHO_C" >&6
35811 else
35812 if test x$gcc_no_link = xyes; then
35813 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35814 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35815 { (exit 1); exit 1; }; }
35817 cat >conftest.$ac_ext <<_ACEOF
35818 /* confdefs.h. */
35819 _ACEOF
35820 cat confdefs.h >>conftest.$ac_ext
35821 cat >>conftest.$ac_ext <<_ACEOF
35822 /* end confdefs.h. */
35823 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35824 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35825 #define $ac_func innocuous_$ac_func
35827 /* System header to define __stub macros and hopefully few prototypes,
35828 which can conflict with char $ac_func (); below.
35829 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35830 <limits.h> exists even on freestanding compilers. */
35832 #ifdef __STDC__
35833 # include <limits.h>
35834 #else
35835 # include <assert.h>
35836 #endif
35838 #undef $ac_func
35840 /* Override any gcc2 internal prototype to avoid an error. */
35841 #ifdef __cplusplus
35842 extern "C"
35844 #endif
35845 /* We use char because int might match the return type of a gcc2
35846 builtin and then its argument prototype would still apply. */
35847 char $ac_func ();
35848 /* The GNU C library defines this for functions which it implements
35849 to always fail with ENOSYS. Some functions are actually named
35850 something starting with __ and the normal name is an alias. */
35851 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35852 choke me
35853 #else
35854 char (*f) () = $ac_func;
35855 #endif
35856 #ifdef __cplusplus
35858 #endif
35861 main ()
35863 return f != $ac_func;
35865 return 0;
35867 _ACEOF
35868 rm -f conftest.$ac_objext conftest$ac_exeext
35869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35870 (eval $ac_link) 2>conftest.er1
35871 ac_status=$?
35872 grep -v '^ *+' conftest.er1 >conftest.err
35873 rm -f conftest.er1
35874 cat conftest.err >&5
35875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35876 (exit $ac_status); } &&
35877 { ac_try='test -z "$ac_c_werror_flag"
35878 || test ! -s conftest.err'
35879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35880 (eval $ac_try) 2>&5
35881 ac_status=$?
35882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35883 (exit $ac_status); }; } &&
35884 { ac_try='test -s conftest$ac_exeext'
35885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35886 (eval $ac_try) 2>&5
35887 ac_status=$?
35888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35889 (exit $ac_status); }; }; then
35890 eval "$as_ac_var=yes"
35891 else
35892 echo "$as_me: failed program was:" >&5
35893 sed 's/^/| /' conftest.$ac_ext >&5
35895 eval "$as_ac_var=no"
35897 rm -f conftest.err conftest.$ac_objext \
35898 conftest$ac_exeext conftest.$ac_ext
35900 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35901 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35902 if test `eval echo '${'$as_ac_var'}'` = yes; then
35903 cat >>confdefs.h <<_ACEOF
35904 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35905 _ACEOF
35908 done
35926 echo "$as_me:$LINENO: checking for float round functions" >&5
35927 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
35928 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
35929 echo $ECHO_N "(cached) $ECHO_C" >&6
35930 else
35934 ac_ext=cc
35935 ac_cpp='$CXXCPP $CPPFLAGS'
35936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35940 cat >conftest.$ac_ext <<_ACEOF
35941 /* confdefs.h. */
35942 _ACEOF
35943 cat confdefs.h >>conftest.$ac_ext
35944 cat >>conftest.$ac_ext <<_ACEOF
35945 /* end confdefs.h. */
35946 #include <math.h>
35948 main ()
35950 ceilf (0); floorf (0);
35952 return 0;
35954 _ACEOF
35955 rm -f conftest.$ac_objext
35956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35957 (eval $ac_compile) 2>conftest.er1
35958 ac_status=$?
35959 grep -v '^ *+' conftest.er1 >conftest.err
35960 rm -f conftest.er1
35961 cat conftest.err >&5
35962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35963 (exit $ac_status); } &&
35964 { ac_try='test -z "$ac_cxx_werror_flag"
35965 || test ! -s conftest.err'
35966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35967 (eval $ac_try) 2>&5
35968 ac_status=$?
35969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35970 (exit $ac_status); }; } &&
35971 { ac_try='test -s conftest.$ac_objext'
35972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35973 (eval $ac_try) 2>&5
35974 ac_status=$?
35975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35976 (exit $ac_status); }; }; then
35977 glibcxx_cv_func_float_round_use=yes
35978 else
35979 echo "$as_me: failed program was:" >&5
35980 sed 's/^/| /' conftest.$ac_ext >&5
35982 glibcxx_cv_func_float_round_use=no
35984 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35985 ac_ext=c
35986 ac_cpp='$CPP $CPPFLAGS'
35987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35993 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
35994 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
35995 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
35998 for ac_func in ceilf floorf
36000 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36001 echo "$as_me:$LINENO: checking for $ac_func" >&5
36002 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36003 if eval "test \"\${$as_ac_var+set}\" = set"; then
36004 echo $ECHO_N "(cached) $ECHO_C" >&6
36005 else
36006 if test x$gcc_no_link = xyes; then
36007 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36008 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36009 { (exit 1); exit 1; }; }
36011 cat >conftest.$ac_ext <<_ACEOF
36012 /* confdefs.h. */
36013 _ACEOF
36014 cat confdefs.h >>conftest.$ac_ext
36015 cat >>conftest.$ac_ext <<_ACEOF
36016 /* end confdefs.h. */
36017 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36018 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36019 #define $ac_func innocuous_$ac_func
36021 /* System header to define __stub macros and hopefully few prototypes,
36022 which can conflict with char $ac_func (); below.
36023 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36024 <limits.h> exists even on freestanding compilers. */
36026 #ifdef __STDC__
36027 # include <limits.h>
36028 #else
36029 # include <assert.h>
36030 #endif
36032 #undef $ac_func
36034 /* Override any gcc2 internal prototype to avoid an error. */
36035 #ifdef __cplusplus
36036 extern "C"
36038 #endif
36039 /* We use char because int might match the return type of a gcc2
36040 builtin and then its argument prototype would still apply. */
36041 char $ac_func ();
36042 /* The GNU C library defines this for functions which it implements
36043 to always fail with ENOSYS. Some functions are actually named
36044 something starting with __ and the normal name is an alias. */
36045 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36046 choke me
36047 #else
36048 char (*f) () = $ac_func;
36049 #endif
36050 #ifdef __cplusplus
36052 #endif
36055 main ()
36057 return f != $ac_func;
36059 return 0;
36061 _ACEOF
36062 rm -f conftest.$ac_objext conftest$ac_exeext
36063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36064 (eval $ac_link) 2>conftest.er1
36065 ac_status=$?
36066 grep -v '^ *+' conftest.er1 >conftest.err
36067 rm -f conftest.er1
36068 cat conftest.err >&5
36069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36070 (exit $ac_status); } &&
36071 { ac_try='test -z "$ac_c_werror_flag"
36072 || test ! -s conftest.err'
36073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36074 (eval $ac_try) 2>&5
36075 ac_status=$?
36076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36077 (exit $ac_status); }; } &&
36078 { ac_try='test -s conftest$ac_exeext'
36079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36080 (eval $ac_try) 2>&5
36081 ac_status=$?
36082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36083 (exit $ac_status); }; }; then
36084 eval "$as_ac_var=yes"
36085 else
36086 echo "$as_me: failed program was:" >&5
36087 sed 's/^/| /' conftest.$ac_ext >&5
36089 eval "$as_ac_var=no"
36091 rm -f conftest.err conftest.$ac_objext \
36092 conftest$ac_exeext conftest.$ac_ext
36094 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36095 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36096 if test `eval echo '${'$as_ac_var'}'` = yes; then
36097 cat >>confdefs.h <<_ACEOF
36098 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36099 _ACEOF
36102 done
36104 else
36105 echo "$as_me:$LINENO: checking for _float round functions" >&5
36106 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
36107 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
36108 echo $ECHO_N "(cached) $ECHO_C" >&6
36109 else
36113 ac_ext=cc
36114 ac_cpp='$CXXCPP $CPPFLAGS'
36115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36119 cat >conftest.$ac_ext <<_ACEOF
36120 /* confdefs.h. */
36121 _ACEOF
36122 cat confdefs.h >>conftest.$ac_ext
36123 cat >>conftest.$ac_ext <<_ACEOF
36124 /* end confdefs.h. */
36125 #include <math.h>
36127 main ()
36129 _ceilf (0); _floorf (0);
36131 return 0;
36133 _ACEOF
36134 rm -f conftest.$ac_objext
36135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36136 (eval $ac_compile) 2>conftest.er1
36137 ac_status=$?
36138 grep -v '^ *+' conftest.er1 >conftest.err
36139 rm -f conftest.er1
36140 cat conftest.err >&5
36141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36142 (exit $ac_status); } &&
36143 { ac_try='test -z "$ac_cxx_werror_flag"
36144 || test ! -s conftest.err'
36145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36146 (eval $ac_try) 2>&5
36147 ac_status=$?
36148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36149 (exit $ac_status); }; } &&
36150 { ac_try='test -s conftest.$ac_objext'
36151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36152 (eval $ac_try) 2>&5
36153 ac_status=$?
36154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36155 (exit $ac_status); }; }; then
36156 glibcxx_cv_func__float_round_use=yes
36157 else
36158 echo "$as_me: failed program was:" >&5
36159 sed 's/^/| /' conftest.$ac_ext >&5
36161 glibcxx_cv_func__float_round_use=no
36163 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36164 ac_ext=c
36165 ac_cpp='$CPP $CPPFLAGS'
36166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36172 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
36173 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
36174 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
36177 for ac_func in _ceilf _floorf
36179 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36180 echo "$as_me:$LINENO: checking for $ac_func" >&5
36181 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36182 if eval "test \"\${$as_ac_var+set}\" = set"; then
36183 echo $ECHO_N "(cached) $ECHO_C" >&6
36184 else
36185 if test x$gcc_no_link = xyes; then
36186 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36187 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36188 { (exit 1); exit 1; }; }
36190 cat >conftest.$ac_ext <<_ACEOF
36191 /* confdefs.h. */
36192 _ACEOF
36193 cat confdefs.h >>conftest.$ac_ext
36194 cat >>conftest.$ac_ext <<_ACEOF
36195 /* end confdefs.h. */
36196 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36197 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36198 #define $ac_func innocuous_$ac_func
36200 /* System header to define __stub macros and hopefully few prototypes,
36201 which can conflict with char $ac_func (); below.
36202 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36203 <limits.h> exists even on freestanding compilers. */
36205 #ifdef __STDC__
36206 # include <limits.h>
36207 #else
36208 # include <assert.h>
36209 #endif
36211 #undef $ac_func
36213 /* Override any gcc2 internal prototype to avoid an error. */
36214 #ifdef __cplusplus
36215 extern "C"
36217 #endif
36218 /* We use char because int might match the return type of a gcc2
36219 builtin and then its argument prototype would still apply. */
36220 char $ac_func ();
36221 /* The GNU C library defines this for functions which it implements
36222 to always fail with ENOSYS. Some functions are actually named
36223 something starting with __ and the normal name is an alias. */
36224 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36225 choke me
36226 #else
36227 char (*f) () = $ac_func;
36228 #endif
36229 #ifdef __cplusplus
36231 #endif
36234 main ()
36236 return f != $ac_func;
36238 return 0;
36240 _ACEOF
36241 rm -f conftest.$ac_objext conftest$ac_exeext
36242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36243 (eval $ac_link) 2>conftest.er1
36244 ac_status=$?
36245 grep -v '^ *+' conftest.er1 >conftest.err
36246 rm -f conftest.er1
36247 cat conftest.err >&5
36248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36249 (exit $ac_status); } &&
36250 { ac_try='test -z "$ac_c_werror_flag"
36251 || test ! -s conftest.err'
36252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36253 (eval $ac_try) 2>&5
36254 ac_status=$?
36255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36256 (exit $ac_status); }; } &&
36257 { ac_try='test -s conftest$ac_exeext'
36258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36259 (eval $ac_try) 2>&5
36260 ac_status=$?
36261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36262 (exit $ac_status); }; }; then
36263 eval "$as_ac_var=yes"
36264 else
36265 echo "$as_me: failed program was:" >&5
36266 sed 's/^/| /' conftest.$ac_ext >&5
36268 eval "$as_ac_var=no"
36270 rm -f conftest.err conftest.$ac_objext \
36271 conftest$ac_exeext conftest.$ac_ext
36273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36274 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36275 if test `eval echo '${'$as_ac_var'}'` = yes; then
36276 cat >>confdefs.h <<_ACEOF
36277 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36278 _ACEOF
36281 done
36293 echo "$as_me:$LINENO: checking for expf declaration" >&5
36294 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
36295 if test x${glibcxx_cv_func_expf_use+set} != xset; then
36296 if test "${glibcxx_cv_func_expf_use+set}" = set; then
36297 echo $ECHO_N "(cached) $ECHO_C" >&6
36298 else
36302 ac_ext=cc
36303 ac_cpp='$CXXCPP $CPPFLAGS'
36304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36308 cat >conftest.$ac_ext <<_ACEOF
36309 /* confdefs.h. */
36310 _ACEOF
36311 cat confdefs.h >>conftest.$ac_ext
36312 cat >>conftest.$ac_ext <<_ACEOF
36313 /* end confdefs.h. */
36314 #include <math.h>
36315 #ifdef HAVE_IEEEFP_H
36316 #include <ieeefp.h>
36317 #endif
36320 main ()
36322 expf(0);
36324 return 0;
36326 _ACEOF
36327 rm -f conftest.$ac_objext
36328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36329 (eval $ac_compile) 2>conftest.er1
36330 ac_status=$?
36331 grep -v '^ *+' conftest.er1 >conftest.err
36332 rm -f conftest.er1
36333 cat conftest.err >&5
36334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36335 (exit $ac_status); } &&
36336 { ac_try='test -z "$ac_cxx_werror_flag"
36337 || test ! -s conftest.err'
36338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36339 (eval $ac_try) 2>&5
36340 ac_status=$?
36341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36342 (exit $ac_status); }; } &&
36343 { ac_try='test -s conftest.$ac_objext'
36344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36345 (eval $ac_try) 2>&5
36346 ac_status=$?
36347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36348 (exit $ac_status); }; }; then
36349 glibcxx_cv_func_expf_use=yes
36350 else
36351 echo "$as_me: failed program was:" >&5
36352 sed 's/^/| /' conftest.$ac_ext >&5
36354 glibcxx_cv_func_expf_use=no
36356 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36357 ac_ext=c
36358 ac_cpp='$CPP $CPPFLAGS'
36359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36367 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
36368 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
36370 if test x$glibcxx_cv_func_expf_use = x"yes"; then
36372 for ac_func in expf
36374 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36375 echo "$as_me:$LINENO: checking for $ac_func" >&5
36376 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36377 if eval "test \"\${$as_ac_var+set}\" = set"; then
36378 echo $ECHO_N "(cached) $ECHO_C" >&6
36379 else
36380 if test x$gcc_no_link = xyes; then
36381 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36382 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36383 { (exit 1); exit 1; }; }
36385 cat >conftest.$ac_ext <<_ACEOF
36386 /* confdefs.h. */
36387 _ACEOF
36388 cat confdefs.h >>conftest.$ac_ext
36389 cat >>conftest.$ac_ext <<_ACEOF
36390 /* end confdefs.h. */
36391 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36392 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36393 #define $ac_func innocuous_$ac_func
36395 /* System header to define __stub macros and hopefully few prototypes,
36396 which can conflict with char $ac_func (); below.
36397 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36398 <limits.h> exists even on freestanding compilers. */
36400 #ifdef __STDC__
36401 # include <limits.h>
36402 #else
36403 # include <assert.h>
36404 #endif
36406 #undef $ac_func
36408 /* Override any gcc2 internal prototype to avoid an error. */
36409 #ifdef __cplusplus
36410 extern "C"
36412 #endif
36413 /* We use char because int might match the return type of a gcc2
36414 builtin and then its argument prototype would still apply. */
36415 char $ac_func ();
36416 /* The GNU C library defines this for functions which it implements
36417 to always fail with ENOSYS. Some functions are actually named
36418 something starting with __ and the normal name is an alias. */
36419 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36420 choke me
36421 #else
36422 char (*f) () = $ac_func;
36423 #endif
36424 #ifdef __cplusplus
36426 #endif
36429 main ()
36431 return f != $ac_func;
36433 return 0;
36435 _ACEOF
36436 rm -f conftest.$ac_objext conftest$ac_exeext
36437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36438 (eval $ac_link) 2>conftest.er1
36439 ac_status=$?
36440 grep -v '^ *+' conftest.er1 >conftest.err
36441 rm -f conftest.er1
36442 cat conftest.err >&5
36443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36444 (exit $ac_status); } &&
36445 { ac_try='test -z "$ac_c_werror_flag"
36446 || test ! -s conftest.err'
36447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36448 (eval $ac_try) 2>&5
36449 ac_status=$?
36450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36451 (exit $ac_status); }; } &&
36452 { ac_try='test -s conftest$ac_exeext'
36453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36454 (eval $ac_try) 2>&5
36455 ac_status=$?
36456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36457 (exit $ac_status); }; }; then
36458 eval "$as_ac_var=yes"
36459 else
36460 echo "$as_me: failed program was:" >&5
36461 sed 's/^/| /' conftest.$ac_ext >&5
36463 eval "$as_ac_var=no"
36465 rm -f conftest.err conftest.$ac_objext \
36466 conftest$ac_exeext conftest.$ac_ext
36468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36469 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36470 if test `eval echo '${'$as_ac_var'}'` = yes; then
36471 cat >>confdefs.h <<_ACEOF
36472 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36473 _ACEOF
36476 done
36478 else
36480 echo "$as_me:$LINENO: checking for _expf declaration" >&5
36481 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
36482 if test x${glibcxx_cv_func__expf_use+set} != xset; then
36483 if test "${glibcxx_cv_func__expf_use+set}" = set; then
36484 echo $ECHO_N "(cached) $ECHO_C" >&6
36485 else
36489 ac_ext=cc
36490 ac_cpp='$CXXCPP $CPPFLAGS'
36491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36495 cat >conftest.$ac_ext <<_ACEOF
36496 /* confdefs.h. */
36497 _ACEOF
36498 cat confdefs.h >>conftest.$ac_ext
36499 cat >>conftest.$ac_ext <<_ACEOF
36500 /* end confdefs.h. */
36501 #include <math.h>
36502 #ifdef HAVE_IEEEFP_H
36503 #include <ieeefp.h>
36504 #endif
36507 main ()
36509 _expf(0);
36511 return 0;
36513 _ACEOF
36514 rm -f conftest.$ac_objext
36515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36516 (eval $ac_compile) 2>conftest.er1
36517 ac_status=$?
36518 grep -v '^ *+' conftest.er1 >conftest.err
36519 rm -f conftest.er1
36520 cat conftest.err >&5
36521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36522 (exit $ac_status); } &&
36523 { ac_try='test -z "$ac_cxx_werror_flag"
36524 || test ! -s conftest.err'
36525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36526 (eval $ac_try) 2>&5
36527 ac_status=$?
36528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36529 (exit $ac_status); }; } &&
36530 { ac_try='test -s conftest.$ac_objext'
36531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36532 (eval $ac_try) 2>&5
36533 ac_status=$?
36534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36535 (exit $ac_status); }; }; then
36536 glibcxx_cv_func__expf_use=yes
36537 else
36538 echo "$as_me: failed program was:" >&5
36539 sed 's/^/| /' conftest.$ac_ext >&5
36541 glibcxx_cv_func__expf_use=no
36543 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36544 ac_ext=c
36545 ac_cpp='$CPP $CPPFLAGS'
36546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36554 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
36555 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
36557 if test x$glibcxx_cv_func__expf_use = x"yes"; then
36559 for ac_func in _expf
36561 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36562 echo "$as_me:$LINENO: checking for $ac_func" >&5
36563 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36564 if eval "test \"\${$as_ac_var+set}\" = set"; then
36565 echo $ECHO_N "(cached) $ECHO_C" >&6
36566 else
36567 if test x$gcc_no_link = xyes; then
36568 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36569 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36570 { (exit 1); exit 1; }; }
36572 cat >conftest.$ac_ext <<_ACEOF
36573 /* confdefs.h. */
36574 _ACEOF
36575 cat confdefs.h >>conftest.$ac_ext
36576 cat >>conftest.$ac_ext <<_ACEOF
36577 /* end confdefs.h. */
36578 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36579 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36580 #define $ac_func innocuous_$ac_func
36582 /* System header to define __stub macros and hopefully few prototypes,
36583 which can conflict with char $ac_func (); below.
36584 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36585 <limits.h> exists even on freestanding compilers. */
36587 #ifdef __STDC__
36588 # include <limits.h>
36589 #else
36590 # include <assert.h>
36591 #endif
36593 #undef $ac_func
36595 /* Override any gcc2 internal prototype to avoid an error. */
36596 #ifdef __cplusplus
36597 extern "C"
36599 #endif
36600 /* We use char because int might match the return type of a gcc2
36601 builtin and then its argument prototype would still apply. */
36602 char $ac_func ();
36603 /* The GNU C library defines this for functions which it implements
36604 to always fail with ENOSYS. Some functions are actually named
36605 something starting with __ and the normal name is an alias. */
36606 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36607 choke me
36608 #else
36609 char (*f) () = $ac_func;
36610 #endif
36611 #ifdef __cplusplus
36613 #endif
36616 main ()
36618 return f != $ac_func;
36620 return 0;
36622 _ACEOF
36623 rm -f conftest.$ac_objext conftest$ac_exeext
36624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36625 (eval $ac_link) 2>conftest.er1
36626 ac_status=$?
36627 grep -v '^ *+' conftest.er1 >conftest.err
36628 rm -f conftest.er1
36629 cat conftest.err >&5
36630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36631 (exit $ac_status); } &&
36632 { ac_try='test -z "$ac_c_werror_flag"
36633 || test ! -s conftest.err'
36634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36635 (eval $ac_try) 2>&5
36636 ac_status=$?
36637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36638 (exit $ac_status); }; } &&
36639 { ac_try='test -s conftest$ac_exeext'
36640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36641 (eval $ac_try) 2>&5
36642 ac_status=$?
36643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36644 (exit $ac_status); }; }; then
36645 eval "$as_ac_var=yes"
36646 else
36647 echo "$as_me: failed program was:" >&5
36648 sed 's/^/| /' conftest.$ac_ext >&5
36650 eval "$as_ac_var=no"
36652 rm -f conftest.err conftest.$ac_objext \
36653 conftest$ac_exeext conftest.$ac_ext
36655 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36656 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36657 if test `eval echo '${'$as_ac_var'}'` = yes; then
36658 cat >>confdefs.h <<_ACEOF
36659 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36660 _ACEOF
36663 done
36673 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
36674 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
36675 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
36676 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
36677 echo $ECHO_N "(cached) $ECHO_C" >&6
36678 else
36682 ac_ext=cc
36683 ac_cpp='$CXXCPP $CPPFLAGS'
36684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36688 cat >conftest.$ac_ext <<_ACEOF
36689 /* confdefs.h. */
36690 _ACEOF
36691 cat confdefs.h >>conftest.$ac_ext
36692 cat >>conftest.$ac_ext <<_ACEOF
36693 /* end confdefs.h. */
36694 #include <math.h>
36695 #ifdef HAVE_IEEEFP_H
36696 #include <ieeefp.h>
36697 #endif
36700 main ()
36702 isnanf(0);
36704 return 0;
36706 _ACEOF
36707 rm -f conftest.$ac_objext
36708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36709 (eval $ac_compile) 2>conftest.er1
36710 ac_status=$?
36711 grep -v '^ *+' conftest.er1 >conftest.err
36712 rm -f conftest.er1
36713 cat conftest.err >&5
36714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36715 (exit $ac_status); } &&
36716 { ac_try='test -z "$ac_cxx_werror_flag"
36717 || test ! -s conftest.err'
36718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36719 (eval $ac_try) 2>&5
36720 ac_status=$?
36721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36722 (exit $ac_status); }; } &&
36723 { ac_try='test -s conftest.$ac_objext'
36724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36725 (eval $ac_try) 2>&5
36726 ac_status=$?
36727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36728 (exit $ac_status); }; }; then
36729 glibcxx_cv_func_isnanf_use=yes
36730 else
36731 echo "$as_me: failed program was:" >&5
36732 sed 's/^/| /' conftest.$ac_ext >&5
36734 glibcxx_cv_func_isnanf_use=no
36736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36737 ac_ext=c
36738 ac_cpp='$CPP $CPPFLAGS'
36739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36747 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
36748 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
36750 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
36752 for ac_func in isnanf
36754 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36755 echo "$as_me:$LINENO: checking for $ac_func" >&5
36756 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36757 if eval "test \"\${$as_ac_var+set}\" = set"; then
36758 echo $ECHO_N "(cached) $ECHO_C" >&6
36759 else
36760 if test x$gcc_no_link = xyes; then
36761 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36762 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36763 { (exit 1); exit 1; }; }
36765 cat >conftest.$ac_ext <<_ACEOF
36766 /* confdefs.h. */
36767 _ACEOF
36768 cat confdefs.h >>conftest.$ac_ext
36769 cat >>conftest.$ac_ext <<_ACEOF
36770 /* end confdefs.h. */
36771 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36772 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36773 #define $ac_func innocuous_$ac_func
36775 /* System header to define __stub macros and hopefully few prototypes,
36776 which can conflict with char $ac_func (); below.
36777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36778 <limits.h> exists even on freestanding compilers. */
36780 #ifdef __STDC__
36781 # include <limits.h>
36782 #else
36783 # include <assert.h>
36784 #endif
36786 #undef $ac_func
36788 /* Override any gcc2 internal prototype to avoid an error. */
36789 #ifdef __cplusplus
36790 extern "C"
36792 #endif
36793 /* We use char because int might match the return type of a gcc2
36794 builtin and then its argument prototype would still apply. */
36795 char $ac_func ();
36796 /* The GNU C library defines this for functions which it implements
36797 to always fail with ENOSYS. Some functions are actually named
36798 something starting with __ and the normal name is an alias. */
36799 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36800 choke me
36801 #else
36802 char (*f) () = $ac_func;
36803 #endif
36804 #ifdef __cplusplus
36806 #endif
36809 main ()
36811 return f != $ac_func;
36813 return 0;
36815 _ACEOF
36816 rm -f conftest.$ac_objext conftest$ac_exeext
36817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36818 (eval $ac_link) 2>conftest.er1
36819 ac_status=$?
36820 grep -v '^ *+' conftest.er1 >conftest.err
36821 rm -f conftest.er1
36822 cat conftest.err >&5
36823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36824 (exit $ac_status); } &&
36825 { ac_try='test -z "$ac_c_werror_flag"
36826 || test ! -s conftest.err'
36827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36828 (eval $ac_try) 2>&5
36829 ac_status=$?
36830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36831 (exit $ac_status); }; } &&
36832 { ac_try='test -s conftest$ac_exeext'
36833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36834 (eval $ac_try) 2>&5
36835 ac_status=$?
36836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36837 (exit $ac_status); }; }; then
36838 eval "$as_ac_var=yes"
36839 else
36840 echo "$as_me: failed program was:" >&5
36841 sed 's/^/| /' conftest.$ac_ext >&5
36843 eval "$as_ac_var=no"
36845 rm -f conftest.err conftest.$ac_objext \
36846 conftest$ac_exeext conftest.$ac_ext
36848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36849 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36850 if test `eval echo '${'$as_ac_var'}'` = yes; then
36851 cat >>confdefs.h <<_ACEOF
36852 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36853 _ACEOF
36856 done
36858 else
36860 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
36861 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
36862 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
36863 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
36864 echo $ECHO_N "(cached) $ECHO_C" >&6
36865 else
36869 ac_ext=cc
36870 ac_cpp='$CXXCPP $CPPFLAGS'
36871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36875 cat >conftest.$ac_ext <<_ACEOF
36876 /* confdefs.h. */
36877 _ACEOF
36878 cat confdefs.h >>conftest.$ac_ext
36879 cat >>conftest.$ac_ext <<_ACEOF
36880 /* end confdefs.h. */
36881 #include <math.h>
36882 #ifdef HAVE_IEEEFP_H
36883 #include <ieeefp.h>
36884 #endif
36887 main ()
36889 _isnanf(0);
36891 return 0;
36893 _ACEOF
36894 rm -f conftest.$ac_objext
36895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36896 (eval $ac_compile) 2>conftest.er1
36897 ac_status=$?
36898 grep -v '^ *+' conftest.er1 >conftest.err
36899 rm -f conftest.er1
36900 cat conftest.err >&5
36901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36902 (exit $ac_status); } &&
36903 { ac_try='test -z "$ac_cxx_werror_flag"
36904 || test ! -s conftest.err'
36905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36906 (eval $ac_try) 2>&5
36907 ac_status=$?
36908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36909 (exit $ac_status); }; } &&
36910 { ac_try='test -s conftest.$ac_objext'
36911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36912 (eval $ac_try) 2>&5
36913 ac_status=$?
36914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36915 (exit $ac_status); }; }; then
36916 glibcxx_cv_func__isnanf_use=yes
36917 else
36918 echo "$as_me: failed program was:" >&5
36919 sed 's/^/| /' conftest.$ac_ext >&5
36921 glibcxx_cv_func__isnanf_use=no
36923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36924 ac_ext=c
36925 ac_cpp='$CPP $CPPFLAGS'
36926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36934 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
36935 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
36937 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
36939 for ac_func in _isnanf
36941 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36942 echo "$as_me:$LINENO: checking for $ac_func" >&5
36943 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36944 if eval "test \"\${$as_ac_var+set}\" = set"; then
36945 echo $ECHO_N "(cached) $ECHO_C" >&6
36946 else
36947 if test x$gcc_no_link = xyes; then
36948 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36949 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36950 { (exit 1); exit 1; }; }
36952 cat >conftest.$ac_ext <<_ACEOF
36953 /* confdefs.h. */
36954 _ACEOF
36955 cat confdefs.h >>conftest.$ac_ext
36956 cat >>conftest.$ac_ext <<_ACEOF
36957 /* end confdefs.h. */
36958 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36959 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36960 #define $ac_func innocuous_$ac_func
36962 /* System header to define __stub macros and hopefully few prototypes,
36963 which can conflict with char $ac_func (); below.
36964 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36965 <limits.h> exists even on freestanding compilers. */
36967 #ifdef __STDC__
36968 # include <limits.h>
36969 #else
36970 # include <assert.h>
36971 #endif
36973 #undef $ac_func
36975 /* Override any gcc2 internal prototype to avoid an error. */
36976 #ifdef __cplusplus
36977 extern "C"
36979 #endif
36980 /* We use char because int might match the return type of a gcc2
36981 builtin and then its argument prototype would still apply. */
36982 char $ac_func ();
36983 /* The GNU C library defines this for functions which it implements
36984 to always fail with ENOSYS. Some functions are actually named
36985 something starting with __ and the normal name is an alias. */
36986 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36987 choke me
36988 #else
36989 char (*f) () = $ac_func;
36990 #endif
36991 #ifdef __cplusplus
36993 #endif
36996 main ()
36998 return f != $ac_func;
37000 return 0;
37002 _ACEOF
37003 rm -f conftest.$ac_objext conftest$ac_exeext
37004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37005 (eval $ac_link) 2>conftest.er1
37006 ac_status=$?
37007 grep -v '^ *+' conftest.er1 >conftest.err
37008 rm -f conftest.er1
37009 cat conftest.err >&5
37010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37011 (exit $ac_status); } &&
37012 { ac_try='test -z "$ac_c_werror_flag"
37013 || test ! -s conftest.err'
37014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37015 (eval $ac_try) 2>&5
37016 ac_status=$?
37017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37018 (exit $ac_status); }; } &&
37019 { ac_try='test -s conftest$ac_exeext'
37020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37021 (eval $ac_try) 2>&5
37022 ac_status=$?
37023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37024 (exit $ac_status); }; }; then
37025 eval "$as_ac_var=yes"
37026 else
37027 echo "$as_me: failed program was:" >&5
37028 sed 's/^/| /' conftest.$ac_ext >&5
37030 eval "$as_ac_var=no"
37032 rm -f conftest.err conftest.$ac_objext \
37033 conftest$ac_exeext conftest.$ac_ext
37035 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37036 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37037 if test `eval echo '${'$as_ac_var'}'` = yes; then
37038 cat >>confdefs.h <<_ACEOF
37039 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37040 _ACEOF
37043 done
37053 echo "$as_me:$LINENO: checking for isinff declaration" >&5
37054 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
37055 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
37056 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
37057 echo $ECHO_N "(cached) $ECHO_C" >&6
37058 else
37062 ac_ext=cc
37063 ac_cpp='$CXXCPP $CPPFLAGS'
37064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37068 cat >conftest.$ac_ext <<_ACEOF
37069 /* confdefs.h. */
37070 _ACEOF
37071 cat confdefs.h >>conftest.$ac_ext
37072 cat >>conftest.$ac_ext <<_ACEOF
37073 /* end confdefs.h. */
37074 #include <math.h>
37075 #ifdef HAVE_IEEEFP_H
37076 #include <ieeefp.h>
37077 #endif
37080 main ()
37082 isinff(0);
37084 return 0;
37086 _ACEOF
37087 rm -f conftest.$ac_objext
37088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37089 (eval $ac_compile) 2>conftest.er1
37090 ac_status=$?
37091 grep -v '^ *+' conftest.er1 >conftest.err
37092 rm -f conftest.er1
37093 cat conftest.err >&5
37094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37095 (exit $ac_status); } &&
37096 { ac_try='test -z "$ac_cxx_werror_flag"
37097 || test ! -s conftest.err'
37098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37099 (eval $ac_try) 2>&5
37100 ac_status=$?
37101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37102 (exit $ac_status); }; } &&
37103 { ac_try='test -s conftest.$ac_objext'
37104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37105 (eval $ac_try) 2>&5
37106 ac_status=$?
37107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37108 (exit $ac_status); }; }; then
37109 glibcxx_cv_func_isinff_use=yes
37110 else
37111 echo "$as_me: failed program was:" >&5
37112 sed 's/^/| /' conftest.$ac_ext >&5
37114 glibcxx_cv_func_isinff_use=no
37116 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37117 ac_ext=c
37118 ac_cpp='$CPP $CPPFLAGS'
37119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37127 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
37128 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
37130 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
37132 for ac_func in isinff
37134 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37135 echo "$as_me:$LINENO: checking for $ac_func" >&5
37136 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37137 if eval "test \"\${$as_ac_var+set}\" = set"; then
37138 echo $ECHO_N "(cached) $ECHO_C" >&6
37139 else
37140 if test x$gcc_no_link = xyes; then
37141 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37142 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37143 { (exit 1); exit 1; }; }
37145 cat >conftest.$ac_ext <<_ACEOF
37146 /* confdefs.h. */
37147 _ACEOF
37148 cat confdefs.h >>conftest.$ac_ext
37149 cat >>conftest.$ac_ext <<_ACEOF
37150 /* end confdefs.h. */
37151 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37152 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37153 #define $ac_func innocuous_$ac_func
37155 /* System header to define __stub macros and hopefully few prototypes,
37156 which can conflict with char $ac_func (); below.
37157 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37158 <limits.h> exists even on freestanding compilers. */
37160 #ifdef __STDC__
37161 # include <limits.h>
37162 #else
37163 # include <assert.h>
37164 #endif
37166 #undef $ac_func
37168 /* Override any gcc2 internal prototype to avoid an error. */
37169 #ifdef __cplusplus
37170 extern "C"
37172 #endif
37173 /* We use char because int might match the return type of a gcc2
37174 builtin and then its argument prototype would still apply. */
37175 char $ac_func ();
37176 /* The GNU C library defines this for functions which it implements
37177 to always fail with ENOSYS. Some functions are actually named
37178 something starting with __ and the normal name is an alias. */
37179 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37180 choke me
37181 #else
37182 char (*f) () = $ac_func;
37183 #endif
37184 #ifdef __cplusplus
37186 #endif
37189 main ()
37191 return f != $ac_func;
37193 return 0;
37195 _ACEOF
37196 rm -f conftest.$ac_objext conftest$ac_exeext
37197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37198 (eval $ac_link) 2>conftest.er1
37199 ac_status=$?
37200 grep -v '^ *+' conftest.er1 >conftest.err
37201 rm -f conftest.er1
37202 cat conftest.err >&5
37203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37204 (exit $ac_status); } &&
37205 { ac_try='test -z "$ac_c_werror_flag"
37206 || test ! -s conftest.err'
37207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37208 (eval $ac_try) 2>&5
37209 ac_status=$?
37210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37211 (exit $ac_status); }; } &&
37212 { ac_try='test -s conftest$ac_exeext'
37213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37214 (eval $ac_try) 2>&5
37215 ac_status=$?
37216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37217 (exit $ac_status); }; }; then
37218 eval "$as_ac_var=yes"
37219 else
37220 echo "$as_me: failed program was:" >&5
37221 sed 's/^/| /' conftest.$ac_ext >&5
37223 eval "$as_ac_var=no"
37225 rm -f conftest.err conftest.$ac_objext \
37226 conftest$ac_exeext conftest.$ac_ext
37228 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37229 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37230 if test `eval echo '${'$as_ac_var'}'` = yes; then
37231 cat >>confdefs.h <<_ACEOF
37232 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37233 _ACEOF
37236 done
37238 else
37240 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
37241 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
37242 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
37243 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
37244 echo $ECHO_N "(cached) $ECHO_C" >&6
37245 else
37249 ac_ext=cc
37250 ac_cpp='$CXXCPP $CPPFLAGS'
37251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37255 cat >conftest.$ac_ext <<_ACEOF
37256 /* confdefs.h. */
37257 _ACEOF
37258 cat confdefs.h >>conftest.$ac_ext
37259 cat >>conftest.$ac_ext <<_ACEOF
37260 /* end confdefs.h. */
37261 #include <math.h>
37262 #ifdef HAVE_IEEEFP_H
37263 #include <ieeefp.h>
37264 #endif
37267 main ()
37269 _isinff(0);
37271 return 0;
37273 _ACEOF
37274 rm -f conftest.$ac_objext
37275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37276 (eval $ac_compile) 2>conftest.er1
37277 ac_status=$?
37278 grep -v '^ *+' conftest.er1 >conftest.err
37279 rm -f conftest.er1
37280 cat conftest.err >&5
37281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37282 (exit $ac_status); } &&
37283 { ac_try='test -z "$ac_cxx_werror_flag"
37284 || test ! -s conftest.err'
37285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37286 (eval $ac_try) 2>&5
37287 ac_status=$?
37288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37289 (exit $ac_status); }; } &&
37290 { ac_try='test -s conftest.$ac_objext'
37291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37292 (eval $ac_try) 2>&5
37293 ac_status=$?
37294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37295 (exit $ac_status); }; }; then
37296 glibcxx_cv_func__isinff_use=yes
37297 else
37298 echo "$as_me: failed program was:" >&5
37299 sed 's/^/| /' conftest.$ac_ext >&5
37301 glibcxx_cv_func__isinff_use=no
37303 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37304 ac_ext=c
37305 ac_cpp='$CPP $CPPFLAGS'
37306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37314 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
37315 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
37317 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
37319 for ac_func in _isinff
37321 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37322 echo "$as_me:$LINENO: checking for $ac_func" >&5
37323 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37324 if eval "test \"\${$as_ac_var+set}\" = set"; then
37325 echo $ECHO_N "(cached) $ECHO_C" >&6
37326 else
37327 if test x$gcc_no_link = xyes; then
37328 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37329 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37330 { (exit 1); exit 1; }; }
37332 cat >conftest.$ac_ext <<_ACEOF
37333 /* confdefs.h. */
37334 _ACEOF
37335 cat confdefs.h >>conftest.$ac_ext
37336 cat >>conftest.$ac_ext <<_ACEOF
37337 /* end confdefs.h. */
37338 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37339 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37340 #define $ac_func innocuous_$ac_func
37342 /* System header to define __stub macros and hopefully few prototypes,
37343 which can conflict with char $ac_func (); below.
37344 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37345 <limits.h> exists even on freestanding compilers. */
37347 #ifdef __STDC__
37348 # include <limits.h>
37349 #else
37350 # include <assert.h>
37351 #endif
37353 #undef $ac_func
37355 /* Override any gcc2 internal prototype to avoid an error. */
37356 #ifdef __cplusplus
37357 extern "C"
37359 #endif
37360 /* We use char because int might match the return type of a gcc2
37361 builtin and then its argument prototype would still apply. */
37362 char $ac_func ();
37363 /* The GNU C library defines this for functions which it implements
37364 to always fail with ENOSYS. Some functions are actually named
37365 something starting with __ and the normal name is an alias. */
37366 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37367 choke me
37368 #else
37369 char (*f) () = $ac_func;
37370 #endif
37371 #ifdef __cplusplus
37373 #endif
37376 main ()
37378 return f != $ac_func;
37380 return 0;
37382 _ACEOF
37383 rm -f conftest.$ac_objext conftest$ac_exeext
37384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37385 (eval $ac_link) 2>conftest.er1
37386 ac_status=$?
37387 grep -v '^ *+' conftest.er1 >conftest.err
37388 rm -f conftest.er1
37389 cat conftest.err >&5
37390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37391 (exit $ac_status); } &&
37392 { ac_try='test -z "$ac_c_werror_flag"
37393 || test ! -s conftest.err'
37394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37395 (eval $ac_try) 2>&5
37396 ac_status=$?
37397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37398 (exit $ac_status); }; } &&
37399 { ac_try='test -s conftest$ac_exeext'
37400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37401 (eval $ac_try) 2>&5
37402 ac_status=$?
37403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37404 (exit $ac_status); }; }; then
37405 eval "$as_ac_var=yes"
37406 else
37407 echo "$as_me: failed program was:" >&5
37408 sed 's/^/| /' conftest.$ac_ext >&5
37410 eval "$as_ac_var=no"
37412 rm -f conftest.err conftest.$ac_objext \
37413 conftest$ac_exeext conftest.$ac_ext
37415 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37416 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37417 if test `eval echo '${'$as_ac_var'}'` = yes; then
37418 cat >>confdefs.h <<_ACEOF
37419 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37420 _ACEOF
37423 done
37433 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
37434 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
37435 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
37436 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
37437 echo $ECHO_N "(cached) $ECHO_C" >&6
37438 else
37442 ac_ext=cc
37443 ac_cpp='$CXXCPP $CPPFLAGS'
37444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37448 cat >conftest.$ac_ext <<_ACEOF
37449 /* confdefs.h. */
37450 _ACEOF
37451 cat confdefs.h >>conftest.$ac_ext
37452 cat >>conftest.$ac_ext <<_ACEOF
37453 /* end confdefs.h. */
37454 #include <math.h>
37456 main ()
37458 atan2f(0, 0);
37460 return 0;
37462 _ACEOF
37463 rm -f conftest.$ac_objext
37464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37465 (eval $ac_compile) 2>conftest.er1
37466 ac_status=$?
37467 grep -v '^ *+' conftest.er1 >conftest.err
37468 rm -f conftest.er1
37469 cat conftest.err >&5
37470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37471 (exit $ac_status); } &&
37472 { ac_try='test -z "$ac_cxx_werror_flag"
37473 || test ! -s conftest.err'
37474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37475 (eval $ac_try) 2>&5
37476 ac_status=$?
37477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37478 (exit $ac_status); }; } &&
37479 { ac_try='test -s conftest.$ac_objext'
37480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37481 (eval $ac_try) 2>&5
37482 ac_status=$?
37483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37484 (exit $ac_status); }; }; then
37485 glibcxx_cv_func_atan2f_use=yes
37486 else
37487 echo "$as_me: failed program was:" >&5
37488 sed 's/^/| /' conftest.$ac_ext >&5
37490 glibcxx_cv_func_atan2f_use=no
37492 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37493 ac_ext=c
37494 ac_cpp='$CPP $CPPFLAGS'
37495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37503 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
37504 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
37506 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
37508 for ac_func in atan2f
37510 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37511 echo "$as_me:$LINENO: checking for $ac_func" >&5
37512 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37513 if eval "test \"\${$as_ac_var+set}\" = set"; then
37514 echo $ECHO_N "(cached) $ECHO_C" >&6
37515 else
37516 if test x$gcc_no_link = xyes; then
37517 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37518 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37519 { (exit 1); exit 1; }; }
37521 cat >conftest.$ac_ext <<_ACEOF
37522 /* confdefs.h. */
37523 _ACEOF
37524 cat confdefs.h >>conftest.$ac_ext
37525 cat >>conftest.$ac_ext <<_ACEOF
37526 /* end confdefs.h. */
37527 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37528 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37529 #define $ac_func innocuous_$ac_func
37531 /* System header to define __stub macros and hopefully few prototypes,
37532 which can conflict with char $ac_func (); below.
37533 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37534 <limits.h> exists even on freestanding compilers. */
37536 #ifdef __STDC__
37537 # include <limits.h>
37538 #else
37539 # include <assert.h>
37540 #endif
37542 #undef $ac_func
37544 /* Override any gcc2 internal prototype to avoid an error. */
37545 #ifdef __cplusplus
37546 extern "C"
37548 #endif
37549 /* We use char because int might match the return type of a gcc2
37550 builtin and then its argument prototype would still apply. */
37551 char $ac_func ();
37552 /* The GNU C library defines this for functions which it implements
37553 to always fail with ENOSYS. Some functions are actually named
37554 something starting with __ and the normal name is an alias. */
37555 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37556 choke me
37557 #else
37558 char (*f) () = $ac_func;
37559 #endif
37560 #ifdef __cplusplus
37562 #endif
37565 main ()
37567 return f != $ac_func;
37569 return 0;
37571 _ACEOF
37572 rm -f conftest.$ac_objext conftest$ac_exeext
37573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37574 (eval $ac_link) 2>conftest.er1
37575 ac_status=$?
37576 grep -v '^ *+' conftest.er1 >conftest.err
37577 rm -f conftest.er1
37578 cat conftest.err >&5
37579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37580 (exit $ac_status); } &&
37581 { ac_try='test -z "$ac_c_werror_flag"
37582 || test ! -s conftest.err'
37583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37584 (eval $ac_try) 2>&5
37585 ac_status=$?
37586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37587 (exit $ac_status); }; } &&
37588 { ac_try='test -s conftest$ac_exeext'
37589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37590 (eval $ac_try) 2>&5
37591 ac_status=$?
37592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37593 (exit $ac_status); }; }; then
37594 eval "$as_ac_var=yes"
37595 else
37596 echo "$as_me: failed program was:" >&5
37597 sed 's/^/| /' conftest.$ac_ext >&5
37599 eval "$as_ac_var=no"
37601 rm -f conftest.err conftest.$ac_objext \
37602 conftest$ac_exeext conftest.$ac_ext
37604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37605 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37606 if test `eval echo '${'$as_ac_var'}'` = yes; then
37607 cat >>confdefs.h <<_ACEOF
37608 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37609 _ACEOF
37612 done
37614 else
37616 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
37617 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
37618 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
37619 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
37620 echo $ECHO_N "(cached) $ECHO_C" >&6
37621 else
37625 ac_ext=cc
37626 ac_cpp='$CXXCPP $CPPFLAGS'
37627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37631 cat >conftest.$ac_ext <<_ACEOF
37632 /* confdefs.h. */
37633 _ACEOF
37634 cat confdefs.h >>conftest.$ac_ext
37635 cat >>conftest.$ac_ext <<_ACEOF
37636 /* end confdefs.h. */
37637 #include <math.h>
37639 main ()
37641 _atan2f(0, 0);
37643 return 0;
37645 _ACEOF
37646 rm -f conftest.$ac_objext
37647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37648 (eval $ac_compile) 2>conftest.er1
37649 ac_status=$?
37650 grep -v '^ *+' conftest.er1 >conftest.err
37651 rm -f conftest.er1
37652 cat conftest.err >&5
37653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37654 (exit $ac_status); } &&
37655 { ac_try='test -z "$ac_cxx_werror_flag"
37656 || test ! -s conftest.err'
37657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37658 (eval $ac_try) 2>&5
37659 ac_status=$?
37660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37661 (exit $ac_status); }; } &&
37662 { ac_try='test -s conftest.$ac_objext'
37663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37664 (eval $ac_try) 2>&5
37665 ac_status=$?
37666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37667 (exit $ac_status); }; }; then
37668 glibcxx_cv_func__atan2f_use=yes
37669 else
37670 echo "$as_me: failed program was:" >&5
37671 sed 's/^/| /' conftest.$ac_ext >&5
37673 glibcxx_cv_func__atan2f_use=no
37675 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37676 ac_ext=c
37677 ac_cpp='$CPP $CPPFLAGS'
37678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37686 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
37687 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
37689 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
37691 for ac_func in _atan2f
37693 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37694 echo "$as_me:$LINENO: checking for $ac_func" >&5
37695 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37696 if eval "test \"\${$as_ac_var+set}\" = set"; then
37697 echo $ECHO_N "(cached) $ECHO_C" >&6
37698 else
37699 if test x$gcc_no_link = xyes; then
37700 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37701 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37702 { (exit 1); exit 1; }; }
37704 cat >conftest.$ac_ext <<_ACEOF
37705 /* confdefs.h. */
37706 _ACEOF
37707 cat confdefs.h >>conftest.$ac_ext
37708 cat >>conftest.$ac_ext <<_ACEOF
37709 /* end confdefs.h. */
37710 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37711 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37712 #define $ac_func innocuous_$ac_func
37714 /* System header to define __stub macros and hopefully few prototypes,
37715 which can conflict with char $ac_func (); below.
37716 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37717 <limits.h> exists even on freestanding compilers. */
37719 #ifdef __STDC__
37720 # include <limits.h>
37721 #else
37722 # include <assert.h>
37723 #endif
37725 #undef $ac_func
37727 /* Override any gcc2 internal prototype to avoid an error. */
37728 #ifdef __cplusplus
37729 extern "C"
37731 #endif
37732 /* We use char because int might match the return type of a gcc2
37733 builtin and then its argument prototype would still apply. */
37734 char $ac_func ();
37735 /* The GNU C library defines this for functions which it implements
37736 to always fail with ENOSYS. Some functions are actually named
37737 something starting with __ and the normal name is an alias. */
37738 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37739 choke me
37740 #else
37741 char (*f) () = $ac_func;
37742 #endif
37743 #ifdef __cplusplus
37745 #endif
37748 main ()
37750 return f != $ac_func;
37752 return 0;
37754 _ACEOF
37755 rm -f conftest.$ac_objext conftest$ac_exeext
37756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37757 (eval $ac_link) 2>conftest.er1
37758 ac_status=$?
37759 grep -v '^ *+' conftest.er1 >conftest.err
37760 rm -f conftest.er1
37761 cat conftest.err >&5
37762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37763 (exit $ac_status); } &&
37764 { ac_try='test -z "$ac_c_werror_flag"
37765 || test ! -s conftest.err'
37766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37767 (eval $ac_try) 2>&5
37768 ac_status=$?
37769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37770 (exit $ac_status); }; } &&
37771 { ac_try='test -s conftest$ac_exeext'
37772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37773 (eval $ac_try) 2>&5
37774 ac_status=$?
37775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37776 (exit $ac_status); }; }; then
37777 eval "$as_ac_var=yes"
37778 else
37779 echo "$as_me: failed program was:" >&5
37780 sed 's/^/| /' conftest.$ac_ext >&5
37782 eval "$as_ac_var=no"
37784 rm -f conftest.err conftest.$ac_objext \
37785 conftest$ac_exeext conftest.$ac_ext
37787 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37788 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37789 if test `eval echo '${'$as_ac_var'}'` = yes; then
37790 cat >>confdefs.h <<_ACEOF
37791 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37792 _ACEOF
37795 done
37805 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
37806 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
37807 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
37808 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
37809 echo $ECHO_N "(cached) $ECHO_C" >&6
37810 else
37814 ac_ext=cc
37815 ac_cpp='$CXXCPP $CPPFLAGS'
37816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37820 cat >conftest.$ac_ext <<_ACEOF
37821 /* confdefs.h. */
37822 _ACEOF
37823 cat confdefs.h >>conftest.$ac_ext
37824 cat >>conftest.$ac_ext <<_ACEOF
37825 /* end confdefs.h. */
37826 #include <math.h>
37827 #ifdef HAVE_IEEEFP_H
37828 #include <ieeefp.h>
37829 #endif
37832 main ()
37834 fabsf(0);
37836 return 0;
37838 _ACEOF
37839 rm -f conftest.$ac_objext
37840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37841 (eval $ac_compile) 2>conftest.er1
37842 ac_status=$?
37843 grep -v '^ *+' conftest.er1 >conftest.err
37844 rm -f conftest.er1
37845 cat conftest.err >&5
37846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37847 (exit $ac_status); } &&
37848 { ac_try='test -z "$ac_cxx_werror_flag"
37849 || test ! -s conftest.err'
37850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37851 (eval $ac_try) 2>&5
37852 ac_status=$?
37853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37854 (exit $ac_status); }; } &&
37855 { ac_try='test -s conftest.$ac_objext'
37856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37857 (eval $ac_try) 2>&5
37858 ac_status=$?
37859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37860 (exit $ac_status); }; }; then
37861 glibcxx_cv_func_fabsf_use=yes
37862 else
37863 echo "$as_me: failed program was:" >&5
37864 sed 's/^/| /' conftest.$ac_ext >&5
37866 glibcxx_cv_func_fabsf_use=no
37868 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37869 ac_ext=c
37870 ac_cpp='$CPP $CPPFLAGS'
37871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37879 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
37880 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
37882 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
37884 for ac_func in fabsf
37886 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37887 echo "$as_me:$LINENO: checking for $ac_func" >&5
37888 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37889 if eval "test \"\${$as_ac_var+set}\" = set"; then
37890 echo $ECHO_N "(cached) $ECHO_C" >&6
37891 else
37892 if test x$gcc_no_link = xyes; then
37893 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37894 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37895 { (exit 1); exit 1; }; }
37897 cat >conftest.$ac_ext <<_ACEOF
37898 /* confdefs.h. */
37899 _ACEOF
37900 cat confdefs.h >>conftest.$ac_ext
37901 cat >>conftest.$ac_ext <<_ACEOF
37902 /* end confdefs.h. */
37903 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37904 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37905 #define $ac_func innocuous_$ac_func
37907 /* System header to define __stub macros and hopefully few prototypes,
37908 which can conflict with char $ac_func (); below.
37909 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37910 <limits.h> exists even on freestanding compilers. */
37912 #ifdef __STDC__
37913 # include <limits.h>
37914 #else
37915 # include <assert.h>
37916 #endif
37918 #undef $ac_func
37920 /* Override any gcc2 internal prototype to avoid an error. */
37921 #ifdef __cplusplus
37922 extern "C"
37924 #endif
37925 /* We use char because int might match the return type of a gcc2
37926 builtin and then its argument prototype would still apply. */
37927 char $ac_func ();
37928 /* The GNU C library defines this for functions which it implements
37929 to always fail with ENOSYS. Some functions are actually named
37930 something starting with __ and the normal name is an alias. */
37931 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37932 choke me
37933 #else
37934 char (*f) () = $ac_func;
37935 #endif
37936 #ifdef __cplusplus
37938 #endif
37941 main ()
37943 return f != $ac_func;
37945 return 0;
37947 _ACEOF
37948 rm -f conftest.$ac_objext conftest$ac_exeext
37949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37950 (eval $ac_link) 2>conftest.er1
37951 ac_status=$?
37952 grep -v '^ *+' conftest.er1 >conftest.err
37953 rm -f conftest.er1
37954 cat conftest.err >&5
37955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37956 (exit $ac_status); } &&
37957 { ac_try='test -z "$ac_c_werror_flag"
37958 || test ! -s conftest.err'
37959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37960 (eval $ac_try) 2>&5
37961 ac_status=$?
37962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37963 (exit $ac_status); }; } &&
37964 { ac_try='test -s conftest$ac_exeext'
37965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37966 (eval $ac_try) 2>&5
37967 ac_status=$?
37968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37969 (exit $ac_status); }; }; then
37970 eval "$as_ac_var=yes"
37971 else
37972 echo "$as_me: failed program was:" >&5
37973 sed 's/^/| /' conftest.$ac_ext >&5
37975 eval "$as_ac_var=no"
37977 rm -f conftest.err conftest.$ac_objext \
37978 conftest$ac_exeext conftest.$ac_ext
37980 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37981 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37982 if test `eval echo '${'$as_ac_var'}'` = yes; then
37983 cat >>confdefs.h <<_ACEOF
37984 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37985 _ACEOF
37988 done
37990 else
37992 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
37993 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
37994 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
37995 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
37996 echo $ECHO_N "(cached) $ECHO_C" >&6
37997 else
38001 ac_ext=cc
38002 ac_cpp='$CXXCPP $CPPFLAGS'
38003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38007 cat >conftest.$ac_ext <<_ACEOF
38008 /* confdefs.h. */
38009 _ACEOF
38010 cat confdefs.h >>conftest.$ac_ext
38011 cat >>conftest.$ac_ext <<_ACEOF
38012 /* end confdefs.h. */
38013 #include <math.h>
38014 #ifdef HAVE_IEEEFP_H
38015 #include <ieeefp.h>
38016 #endif
38019 main ()
38021 _fabsf(0);
38023 return 0;
38025 _ACEOF
38026 rm -f conftest.$ac_objext
38027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38028 (eval $ac_compile) 2>conftest.er1
38029 ac_status=$?
38030 grep -v '^ *+' conftest.er1 >conftest.err
38031 rm -f conftest.er1
38032 cat conftest.err >&5
38033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38034 (exit $ac_status); } &&
38035 { ac_try='test -z "$ac_cxx_werror_flag"
38036 || test ! -s conftest.err'
38037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38038 (eval $ac_try) 2>&5
38039 ac_status=$?
38040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38041 (exit $ac_status); }; } &&
38042 { ac_try='test -s conftest.$ac_objext'
38043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38044 (eval $ac_try) 2>&5
38045 ac_status=$?
38046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38047 (exit $ac_status); }; }; then
38048 glibcxx_cv_func__fabsf_use=yes
38049 else
38050 echo "$as_me: failed program was:" >&5
38051 sed 's/^/| /' conftest.$ac_ext >&5
38053 glibcxx_cv_func__fabsf_use=no
38055 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38056 ac_ext=c
38057 ac_cpp='$CPP $CPPFLAGS'
38058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38066 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
38067 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
38069 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
38071 for ac_func in _fabsf
38073 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38074 echo "$as_me:$LINENO: checking for $ac_func" >&5
38075 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38076 if eval "test \"\${$as_ac_var+set}\" = set"; then
38077 echo $ECHO_N "(cached) $ECHO_C" >&6
38078 else
38079 if test x$gcc_no_link = xyes; then
38080 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38081 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38082 { (exit 1); exit 1; }; }
38084 cat >conftest.$ac_ext <<_ACEOF
38085 /* confdefs.h. */
38086 _ACEOF
38087 cat confdefs.h >>conftest.$ac_ext
38088 cat >>conftest.$ac_ext <<_ACEOF
38089 /* end confdefs.h. */
38090 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38091 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38092 #define $ac_func innocuous_$ac_func
38094 /* System header to define __stub macros and hopefully few prototypes,
38095 which can conflict with char $ac_func (); below.
38096 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38097 <limits.h> exists even on freestanding compilers. */
38099 #ifdef __STDC__
38100 # include <limits.h>
38101 #else
38102 # include <assert.h>
38103 #endif
38105 #undef $ac_func
38107 /* Override any gcc2 internal prototype to avoid an error. */
38108 #ifdef __cplusplus
38109 extern "C"
38111 #endif
38112 /* We use char because int might match the return type of a gcc2
38113 builtin and then its argument prototype would still apply. */
38114 char $ac_func ();
38115 /* The GNU C library defines this for functions which it implements
38116 to always fail with ENOSYS. Some functions are actually named
38117 something starting with __ and the normal name is an alias. */
38118 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38119 choke me
38120 #else
38121 char (*f) () = $ac_func;
38122 #endif
38123 #ifdef __cplusplus
38125 #endif
38128 main ()
38130 return f != $ac_func;
38132 return 0;
38134 _ACEOF
38135 rm -f conftest.$ac_objext conftest$ac_exeext
38136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38137 (eval $ac_link) 2>conftest.er1
38138 ac_status=$?
38139 grep -v '^ *+' conftest.er1 >conftest.err
38140 rm -f conftest.er1
38141 cat conftest.err >&5
38142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38143 (exit $ac_status); } &&
38144 { ac_try='test -z "$ac_c_werror_flag"
38145 || test ! -s conftest.err'
38146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38147 (eval $ac_try) 2>&5
38148 ac_status=$?
38149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38150 (exit $ac_status); }; } &&
38151 { ac_try='test -s conftest$ac_exeext'
38152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38153 (eval $ac_try) 2>&5
38154 ac_status=$?
38155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38156 (exit $ac_status); }; }; then
38157 eval "$as_ac_var=yes"
38158 else
38159 echo "$as_me: failed program was:" >&5
38160 sed 's/^/| /' conftest.$ac_ext >&5
38162 eval "$as_ac_var=no"
38164 rm -f conftest.err conftest.$ac_objext \
38165 conftest$ac_exeext conftest.$ac_ext
38167 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38168 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38169 if test `eval echo '${'$as_ac_var'}'` = yes; then
38170 cat >>confdefs.h <<_ACEOF
38171 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38172 _ACEOF
38175 done
38185 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
38186 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
38187 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
38188 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
38189 echo $ECHO_N "(cached) $ECHO_C" >&6
38190 else
38194 ac_ext=cc
38195 ac_cpp='$CXXCPP $CPPFLAGS'
38196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38200 cat >conftest.$ac_ext <<_ACEOF
38201 /* confdefs.h. */
38202 _ACEOF
38203 cat confdefs.h >>conftest.$ac_ext
38204 cat >>conftest.$ac_ext <<_ACEOF
38205 /* end confdefs.h. */
38206 #include <math.h>
38208 main ()
38210 fmodf(0, 0);
38212 return 0;
38214 _ACEOF
38215 rm -f conftest.$ac_objext
38216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38217 (eval $ac_compile) 2>conftest.er1
38218 ac_status=$?
38219 grep -v '^ *+' conftest.er1 >conftest.err
38220 rm -f conftest.er1
38221 cat conftest.err >&5
38222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38223 (exit $ac_status); } &&
38224 { ac_try='test -z "$ac_cxx_werror_flag"
38225 || test ! -s conftest.err'
38226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38227 (eval $ac_try) 2>&5
38228 ac_status=$?
38229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38230 (exit $ac_status); }; } &&
38231 { ac_try='test -s conftest.$ac_objext'
38232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38233 (eval $ac_try) 2>&5
38234 ac_status=$?
38235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38236 (exit $ac_status); }; }; then
38237 glibcxx_cv_func_fmodf_use=yes
38238 else
38239 echo "$as_me: failed program was:" >&5
38240 sed 's/^/| /' conftest.$ac_ext >&5
38242 glibcxx_cv_func_fmodf_use=no
38244 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38245 ac_ext=c
38246 ac_cpp='$CPP $CPPFLAGS'
38247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38255 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
38256 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
38258 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
38260 for ac_func in fmodf
38262 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38263 echo "$as_me:$LINENO: checking for $ac_func" >&5
38264 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38265 if eval "test \"\${$as_ac_var+set}\" = set"; then
38266 echo $ECHO_N "(cached) $ECHO_C" >&6
38267 else
38268 if test x$gcc_no_link = xyes; then
38269 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38270 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38271 { (exit 1); exit 1; }; }
38273 cat >conftest.$ac_ext <<_ACEOF
38274 /* confdefs.h. */
38275 _ACEOF
38276 cat confdefs.h >>conftest.$ac_ext
38277 cat >>conftest.$ac_ext <<_ACEOF
38278 /* end confdefs.h. */
38279 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38280 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38281 #define $ac_func innocuous_$ac_func
38283 /* System header to define __stub macros and hopefully few prototypes,
38284 which can conflict with char $ac_func (); below.
38285 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38286 <limits.h> exists even on freestanding compilers. */
38288 #ifdef __STDC__
38289 # include <limits.h>
38290 #else
38291 # include <assert.h>
38292 #endif
38294 #undef $ac_func
38296 /* Override any gcc2 internal prototype to avoid an error. */
38297 #ifdef __cplusplus
38298 extern "C"
38300 #endif
38301 /* We use char because int might match the return type of a gcc2
38302 builtin and then its argument prototype would still apply. */
38303 char $ac_func ();
38304 /* The GNU C library defines this for functions which it implements
38305 to always fail with ENOSYS. Some functions are actually named
38306 something starting with __ and the normal name is an alias. */
38307 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38308 choke me
38309 #else
38310 char (*f) () = $ac_func;
38311 #endif
38312 #ifdef __cplusplus
38314 #endif
38317 main ()
38319 return f != $ac_func;
38321 return 0;
38323 _ACEOF
38324 rm -f conftest.$ac_objext conftest$ac_exeext
38325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38326 (eval $ac_link) 2>conftest.er1
38327 ac_status=$?
38328 grep -v '^ *+' conftest.er1 >conftest.err
38329 rm -f conftest.er1
38330 cat conftest.err >&5
38331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38332 (exit $ac_status); } &&
38333 { ac_try='test -z "$ac_c_werror_flag"
38334 || test ! -s conftest.err'
38335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38336 (eval $ac_try) 2>&5
38337 ac_status=$?
38338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38339 (exit $ac_status); }; } &&
38340 { ac_try='test -s conftest$ac_exeext'
38341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38342 (eval $ac_try) 2>&5
38343 ac_status=$?
38344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38345 (exit $ac_status); }; }; then
38346 eval "$as_ac_var=yes"
38347 else
38348 echo "$as_me: failed program was:" >&5
38349 sed 's/^/| /' conftest.$ac_ext >&5
38351 eval "$as_ac_var=no"
38353 rm -f conftest.err conftest.$ac_objext \
38354 conftest$ac_exeext conftest.$ac_ext
38356 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38357 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38358 if test `eval echo '${'$as_ac_var'}'` = yes; then
38359 cat >>confdefs.h <<_ACEOF
38360 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38361 _ACEOF
38364 done
38366 else
38368 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
38369 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
38370 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
38371 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
38372 echo $ECHO_N "(cached) $ECHO_C" >&6
38373 else
38377 ac_ext=cc
38378 ac_cpp='$CXXCPP $CPPFLAGS'
38379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38383 cat >conftest.$ac_ext <<_ACEOF
38384 /* confdefs.h. */
38385 _ACEOF
38386 cat confdefs.h >>conftest.$ac_ext
38387 cat >>conftest.$ac_ext <<_ACEOF
38388 /* end confdefs.h. */
38389 #include <math.h>
38391 main ()
38393 _fmodf(0, 0);
38395 return 0;
38397 _ACEOF
38398 rm -f conftest.$ac_objext
38399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38400 (eval $ac_compile) 2>conftest.er1
38401 ac_status=$?
38402 grep -v '^ *+' conftest.er1 >conftest.err
38403 rm -f conftest.er1
38404 cat conftest.err >&5
38405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38406 (exit $ac_status); } &&
38407 { ac_try='test -z "$ac_cxx_werror_flag"
38408 || test ! -s conftest.err'
38409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38410 (eval $ac_try) 2>&5
38411 ac_status=$?
38412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38413 (exit $ac_status); }; } &&
38414 { ac_try='test -s conftest.$ac_objext'
38415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38416 (eval $ac_try) 2>&5
38417 ac_status=$?
38418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38419 (exit $ac_status); }; }; then
38420 glibcxx_cv_func__fmodf_use=yes
38421 else
38422 echo "$as_me: failed program was:" >&5
38423 sed 's/^/| /' conftest.$ac_ext >&5
38425 glibcxx_cv_func__fmodf_use=no
38427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38428 ac_ext=c
38429 ac_cpp='$CPP $CPPFLAGS'
38430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38438 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
38439 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
38441 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
38443 for ac_func in _fmodf
38445 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38446 echo "$as_me:$LINENO: checking for $ac_func" >&5
38447 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38448 if eval "test \"\${$as_ac_var+set}\" = set"; then
38449 echo $ECHO_N "(cached) $ECHO_C" >&6
38450 else
38451 if test x$gcc_no_link = xyes; then
38452 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38453 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38454 { (exit 1); exit 1; }; }
38456 cat >conftest.$ac_ext <<_ACEOF
38457 /* confdefs.h. */
38458 _ACEOF
38459 cat confdefs.h >>conftest.$ac_ext
38460 cat >>conftest.$ac_ext <<_ACEOF
38461 /* end confdefs.h. */
38462 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38463 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38464 #define $ac_func innocuous_$ac_func
38466 /* System header to define __stub macros and hopefully few prototypes,
38467 which can conflict with char $ac_func (); below.
38468 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38469 <limits.h> exists even on freestanding compilers. */
38471 #ifdef __STDC__
38472 # include <limits.h>
38473 #else
38474 # include <assert.h>
38475 #endif
38477 #undef $ac_func
38479 /* Override any gcc2 internal prototype to avoid an error. */
38480 #ifdef __cplusplus
38481 extern "C"
38483 #endif
38484 /* We use char because int might match the return type of a gcc2
38485 builtin and then its argument prototype would still apply. */
38486 char $ac_func ();
38487 /* The GNU C library defines this for functions which it implements
38488 to always fail with ENOSYS. Some functions are actually named
38489 something starting with __ and the normal name is an alias. */
38490 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38491 choke me
38492 #else
38493 char (*f) () = $ac_func;
38494 #endif
38495 #ifdef __cplusplus
38497 #endif
38500 main ()
38502 return f != $ac_func;
38504 return 0;
38506 _ACEOF
38507 rm -f conftest.$ac_objext conftest$ac_exeext
38508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38509 (eval $ac_link) 2>conftest.er1
38510 ac_status=$?
38511 grep -v '^ *+' conftest.er1 >conftest.err
38512 rm -f conftest.er1
38513 cat conftest.err >&5
38514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38515 (exit $ac_status); } &&
38516 { ac_try='test -z "$ac_c_werror_flag"
38517 || test ! -s conftest.err'
38518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38519 (eval $ac_try) 2>&5
38520 ac_status=$?
38521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38522 (exit $ac_status); }; } &&
38523 { ac_try='test -s conftest$ac_exeext'
38524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38525 (eval $ac_try) 2>&5
38526 ac_status=$?
38527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38528 (exit $ac_status); }; }; then
38529 eval "$as_ac_var=yes"
38530 else
38531 echo "$as_me: failed program was:" >&5
38532 sed 's/^/| /' conftest.$ac_ext >&5
38534 eval "$as_ac_var=no"
38536 rm -f conftest.err conftest.$ac_objext \
38537 conftest$ac_exeext conftest.$ac_ext
38539 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38540 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38541 if test `eval echo '${'$as_ac_var'}'` = yes; then
38542 cat >>confdefs.h <<_ACEOF
38543 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38544 _ACEOF
38547 done
38557 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
38558 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
38559 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
38560 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
38561 echo $ECHO_N "(cached) $ECHO_C" >&6
38562 else
38566 ac_ext=cc
38567 ac_cpp='$CXXCPP $CPPFLAGS'
38568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38572 cat >conftest.$ac_ext <<_ACEOF
38573 /* confdefs.h. */
38574 _ACEOF
38575 cat confdefs.h >>conftest.$ac_ext
38576 cat >>conftest.$ac_ext <<_ACEOF
38577 /* end confdefs.h. */
38578 #include <math.h>
38580 main ()
38582 frexpf(0, 0);
38584 return 0;
38586 _ACEOF
38587 rm -f conftest.$ac_objext
38588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38589 (eval $ac_compile) 2>conftest.er1
38590 ac_status=$?
38591 grep -v '^ *+' conftest.er1 >conftest.err
38592 rm -f conftest.er1
38593 cat conftest.err >&5
38594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38595 (exit $ac_status); } &&
38596 { ac_try='test -z "$ac_cxx_werror_flag"
38597 || test ! -s conftest.err'
38598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38599 (eval $ac_try) 2>&5
38600 ac_status=$?
38601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38602 (exit $ac_status); }; } &&
38603 { ac_try='test -s conftest.$ac_objext'
38604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38605 (eval $ac_try) 2>&5
38606 ac_status=$?
38607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38608 (exit $ac_status); }; }; then
38609 glibcxx_cv_func_frexpf_use=yes
38610 else
38611 echo "$as_me: failed program was:" >&5
38612 sed 's/^/| /' conftest.$ac_ext >&5
38614 glibcxx_cv_func_frexpf_use=no
38616 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38617 ac_ext=c
38618 ac_cpp='$CPP $CPPFLAGS'
38619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38627 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
38628 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
38630 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
38632 for ac_func in frexpf
38634 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38635 echo "$as_me:$LINENO: checking for $ac_func" >&5
38636 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38637 if eval "test \"\${$as_ac_var+set}\" = set"; then
38638 echo $ECHO_N "(cached) $ECHO_C" >&6
38639 else
38640 if test x$gcc_no_link = xyes; then
38641 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38642 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38643 { (exit 1); exit 1; }; }
38645 cat >conftest.$ac_ext <<_ACEOF
38646 /* confdefs.h. */
38647 _ACEOF
38648 cat confdefs.h >>conftest.$ac_ext
38649 cat >>conftest.$ac_ext <<_ACEOF
38650 /* end confdefs.h. */
38651 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38652 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38653 #define $ac_func innocuous_$ac_func
38655 /* System header to define __stub macros and hopefully few prototypes,
38656 which can conflict with char $ac_func (); below.
38657 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38658 <limits.h> exists even on freestanding compilers. */
38660 #ifdef __STDC__
38661 # include <limits.h>
38662 #else
38663 # include <assert.h>
38664 #endif
38666 #undef $ac_func
38668 /* Override any gcc2 internal prototype to avoid an error. */
38669 #ifdef __cplusplus
38670 extern "C"
38672 #endif
38673 /* We use char because int might match the return type of a gcc2
38674 builtin and then its argument prototype would still apply. */
38675 char $ac_func ();
38676 /* The GNU C library defines this for functions which it implements
38677 to always fail with ENOSYS. Some functions are actually named
38678 something starting with __ and the normal name is an alias. */
38679 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38680 choke me
38681 #else
38682 char (*f) () = $ac_func;
38683 #endif
38684 #ifdef __cplusplus
38686 #endif
38689 main ()
38691 return f != $ac_func;
38693 return 0;
38695 _ACEOF
38696 rm -f conftest.$ac_objext conftest$ac_exeext
38697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38698 (eval $ac_link) 2>conftest.er1
38699 ac_status=$?
38700 grep -v '^ *+' conftest.er1 >conftest.err
38701 rm -f conftest.er1
38702 cat conftest.err >&5
38703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38704 (exit $ac_status); } &&
38705 { ac_try='test -z "$ac_c_werror_flag"
38706 || test ! -s conftest.err'
38707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38708 (eval $ac_try) 2>&5
38709 ac_status=$?
38710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38711 (exit $ac_status); }; } &&
38712 { ac_try='test -s conftest$ac_exeext'
38713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38714 (eval $ac_try) 2>&5
38715 ac_status=$?
38716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38717 (exit $ac_status); }; }; then
38718 eval "$as_ac_var=yes"
38719 else
38720 echo "$as_me: failed program was:" >&5
38721 sed 's/^/| /' conftest.$ac_ext >&5
38723 eval "$as_ac_var=no"
38725 rm -f conftest.err conftest.$ac_objext \
38726 conftest$ac_exeext conftest.$ac_ext
38728 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38729 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38730 if test `eval echo '${'$as_ac_var'}'` = yes; then
38731 cat >>confdefs.h <<_ACEOF
38732 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38733 _ACEOF
38736 done
38738 else
38740 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
38741 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
38742 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
38743 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
38744 echo $ECHO_N "(cached) $ECHO_C" >&6
38745 else
38749 ac_ext=cc
38750 ac_cpp='$CXXCPP $CPPFLAGS'
38751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38755 cat >conftest.$ac_ext <<_ACEOF
38756 /* confdefs.h. */
38757 _ACEOF
38758 cat confdefs.h >>conftest.$ac_ext
38759 cat >>conftest.$ac_ext <<_ACEOF
38760 /* end confdefs.h. */
38761 #include <math.h>
38763 main ()
38765 _frexpf(0, 0);
38767 return 0;
38769 _ACEOF
38770 rm -f conftest.$ac_objext
38771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38772 (eval $ac_compile) 2>conftest.er1
38773 ac_status=$?
38774 grep -v '^ *+' conftest.er1 >conftest.err
38775 rm -f conftest.er1
38776 cat conftest.err >&5
38777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38778 (exit $ac_status); } &&
38779 { ac_try='test -z "$ac_cxx_werror_flag"
38780 || test ! -s conftest.err'
38781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38782 (eval $ac_try) 2>&5
38783 ac_status=$?
38784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38785 (exit $ac_status); }; } &&
38786 { ac_try='test -s conftest.$ac_objext'
38787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38788 (eval $ac_try) 2>&5
38789 ac_status=$?
38790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38791 (exit $ac_status); }; }; then
38792 glibcxx_cv_func__frexpf_use=yes
38793 else
38794 echo "$as_me: failed program was:" >&5
38795 sed 's/^/| /' conftest.$ac_ext >&5
38797 glibcxx_cv_func__frexpf_use=no
38799 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38800 ac_ext=c
38801 ac_cpp='$CPP $CPPFLAGS'
38802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38810 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
38811 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
38813 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
38815 for ac_func in _frexpf
38817 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38818 echo "$as_me:$LINENO: checking for $ac_func" >&5
38819 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38820 if eval "test \"\${$as_ac_var+set}\" = set"; then
38821 echo $ECHO_N "(cached) $ECHO_C" >&6
38822 else
38823 if test x$gcc_no_link = xyes; then
38824 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38825 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38826 { (exit 1); exit 1; }; }
38828 cat >conftest.$ac_ext <<_ACEOF
38829 /* confdefs.h. */
38830 _ACEOF
38831 cat confdefs.h >>conftest.$ac_ext
38832 cat >>conftest.$ac_ext <<_ACEOF
38833 /* end confdefs.h. */
38834 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38835 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38836 #define $ac_func innocuous_$ac_func
38838 /* System header to define __stub macros and hopefully few prototypes,
38839 which can conflict with char $ac_func (); below.
38840 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38841 <limits.h> exists even on freestanding compilers. */
38843 #ifdef __STDC__
38844 # include <limits.h>
38845 #else
38846 # include <assert.h>
38847 #endif
38849 #undef $ac_func
38851 /* Override any gcc2 internal prototype to avoid an error. */
38852 #ifdef __cplusplus
38853 extern "C"
38855 #endif
38856 /* We use char because int might match the return type of a gcc2
38857 builtin and then its argument prototype would still apply. */
38858 char $ac_func ();
38859 /* The GNU C library defines this for functions which it implements
38860 to always fail with ENOSYS. Some functions are actually named
38861 something starting with __ and the normal name is an alias. */
38862 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38863 choke me
38864 #else
38865 char (*f) () = $ac_func;
38866 #endif
38867 #ifdef __cplusplus
38869 #endif
38872 main ()
38874 return f != $ac_func;
38876 return 0;
38878 _ACEOF
38879 rm -f conftest.$ac_objext conftest$ac_exeext
38880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38881 (eval $ac_link) 2>conftest.er1
38882 ac_status=$?
38883 grep -v '^ *+' conftest.er1 >conftest.err
38884 rm -f conftest.er1
38885 cat conftest.err >&5
38886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38887 (exit $ac_status); } &&
38888 { ac_try='test -z "$ac_c_werror_flag"
38889 || test ! -s conftest.err'
38890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38891 (eval $ac_try) 2>&5
38892 ac_status=$?
38893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38894 (exit $ac_status); }; } &&
38895 { ac_try='test -s conftest$ac_exeext'
38896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38897 (eval $ac_try) 2>&5
38898 ac_status=$?
38899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38900 (exit $ac_status); }; }; then
38901 eval "$as_ac_var=yes"
38902 else
38903 echo "$as_me: failed program was:" >&5
38904 sed 's/^/| /' conftest.$ac_ext >&5
38906 eval "$as_ac_var=no"
38908 rm -f conftest.err conftest.$ac_objext \
38909 conftest$ac_exeext conftest.$ac_ext
38911 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38912 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38913 if test `eval echo '${'$as_ac_var'}'` = yes; then
38914 cat >>confdefs.h <<_ACEOF
38915 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38916 _ACEOF
38919 done
38929 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
38930 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
38931 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
38932 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
38933 echo $ECHO_N "(cached) $ECHO_C" >&6
38934 else
38938 ac_ext=cc
38939 ac_cpp='$CXXCPP $CPPFLAGS'
38940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38944 cat >conftest.$ac_ext <<_ACEOF
38945 /* confdefs.h. */
38946 _ACEOF
38947 cat confdefs.h >>conftest.$ac_ext
38948 cat >>conftest.$ac_ext <<_ACEOF
38949 /* end confdefs.h. */
38950 #include <math.h>
38952 main ()
38954 hypotf(0, 0);
38956 return 0;
38958 _ACEOF
38959 rm -f conftest.$ac_objext
38960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38961 (eval $ac_compile) 2>conftest.er1
38962 ac_status=$?
38963 grep -v '^ *+' conftest.er1 >conftest.err
38964 rm -f conftest.er1
38965 cat conftest.err >&5
38966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38967 (exit $ac_status); } &&
38968 { ac_try='test -z "$ac_cxx_werror_flag"
38969 || test ! -s conftest.err'
38970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38971 (eval $ac_try) 2>&5
38972 ac_status=$?
38973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38974 (exit $ac_status); }; } &&
38975 { ac_try='test -s conftest.$ac_objext'
38976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38977 (eval $ac_try) 2>&5
38978 ac_status=$?
38979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38980 (exit $ac_status); }; }; then
38981 glibcxx_cv_func_hypotf_use=yes
38982 else
38983 echo "$as_me: failed program was:" >&5
38984 sed 's/^/| /' conftest.$ac_ext >&5
38986 glibcxx_cv_func_hypotf_use=no
38988 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38989 ac_ext=c
38990 ac_cpp='$CPP $CPPFLAGS'
38991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38999 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
39000 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
39002 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
39004 for ac_func in hypotf
39006 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39007 echo "$as_me:$LINENO: checking for $ac_func" >&5
39008 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39009 if eval "test \"\${$as_ac_var+set}\" = set"; then
39010 echo $ECHO_N "(cached) $ECHO_C" >&6
39011 else
39012 if test x$gcc_no_link = xyes; then
39013 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39014 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39015 { (exit 1); exit 1; }; }
39017 cat >conftest.$ac_ext <<_ACEOF
39018 /* confdefs.h. */
39019 _ACEOF
39020 cat confdefs.h >>conftest.$ac_ext
39021 cat >>conftest.$ac_ext <<_ACEOF
39022 /* end confdefs.h. */
39023 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39024 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39025 #define $ac_func innocuous_$ac_func
39027 /* System header to define __stub macros and hopefully few prototypes,
39028 which can conflict with char $ac_func (); below.
39029 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39030 <limits.h> exists even on freestanding compilers. */
39032 #ifdef __STDC__
39033 # include <limits.h>
39034 #else
39035 # include <assert.h>
39036 #endif
39038 #undef $ac_func
39040 /* Override any gcc2 internal prototype to avoid an error. */
39041 #ifdef __cplusplus
39042 extern "C"
39044 #endif
39045 /* We use char because int might match the return type of a gcc2
39046 builtin and then its argument prototype would still apply. */
39047 char $ac_func ();
39048 /* The GNU C library defines this for functions which it implements
39049 to always fail with ENOSYS. Some functions are actually named
39050 something starting with __ and the normal name is an alias. */
39051 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39052 choke me
39053 #else
39054 char (*f) () = $ac_func;
39055 #endif
39056 #ifdef __cplusplus
39058 #endif
39061 main ()
39063 return f != $ac_func;
39065 return 0;
39067 _ACEOF
39068 rm -f conftest.$ac_objext conftest$ac_exeext
39069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39070 (eval $ac_link) 2>conftest.er1
39071 ac_status=$?
39072 grep -v '^ *+' conftest.er1 >conftest.err
39073 rm -f conftest.er1
39074 cat conftest.err >&5
39075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39076 (exit $ac_status); } &&
39077 { ac_try='test -z "$ac_c_werror_flag"
39078 || test ! -s conftest.err'
39079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39080 (eval $ac_try) 2>&5
39081 ac_status=$?
39082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39083 (exit $ac_status); }; } &&
39084 { ac_try='test -s conftest$ac_exeext'
39085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39086 (eval $ac_try) 2>&5
39087 ac_status=$?
39088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39089 (exit $ac_status); }; }; then
39090 eval "$as_ac_var=yes"
39091 else
39092 echo "$as_me: failed program was:" >&5
39093 sed 's/^/| /' conftest.$ac_ext >&5
39095 eval "$as_ac_var=no"
39097 rm -f conftest.err conftest.$ac_objext \
39098 conftest$ac_exeext conftest.$ac_ext
39100 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39101 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39102 if test `eval echo '${'$as_ac_var'}'` = yes; then
39103 cat >>confdefs.h <<_ACEOF
39104 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39105 _ACEOF
39108 done
39110 else
39112 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
39113 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
39114 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
39115 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
39116 echo $ECHO_N "(cached) $ECHO_C" >&6
39117 else
39121 ac_ext=cc
39122 ac_cpp='$CXXCPP $CPPFLAGS'
39123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39127 cat >conftest.$ac_ext <<_ACEOF
39128 /* confdefs.h. */
39129 _ACEOF
39130 cat confdefs.h >>conftest.$ac_ext
39131 cat >>conftest.$ac_ext <<_ACEOF
39132 /* end confdefs.h. */
39133 #include <math.h>
39135 main ()
39137 _hypotf(0, 0);
39139 return 0;
39141 _ACEOF
39142 rm -f conftest.$ac_objext
39143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39144 (eval $ac_compile) 2>conftest.er1
39145 ac_status=$?
39146 grep -v '^ *+' conftest.er1 >conftest.err
39147 rm -f conftest.er1
39148 cat conftest.err >&5
39149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39150 (exit $ac_status); } &&
39151 { ac_try='test -z "$ac_cxx_werror_flag"
39152 || test ! -s conftest.err'
39153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39154 (eval $ac_try) 2>&5
39155 ac_status=$?
39156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39157 (exit $ac_status); }; } &&
39158 { ac_try='test -s conftest.$ac_objext'
39159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39160 (eval $ac_try) 2>&5
39161 ac_status=$?
39162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39163 (exit $ac_status); }; }; then
39164 glibcxx_cv_func__hypotf_use=yes
39165 else
39166 echo "$as_me: failed program was:" >&5
39167 sed 's/^/| /' conftest.$ac_ext >&5
39169 glibcxx_cv_func__hypotf_use=no
39171 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39172 ac_ext=c
39173 ac_cpp='$CPP $CPPFLAGS'
39174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39182 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
39183 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
39185 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
39187 for ac_func in _hypotf
39189 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39190 echo "$as_me:$LINENO: checking for $ac_func" >&5
39191 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39192 if eval "test \"\${$as_ac_var+set}\" = set"; then
39193 echo $ECHO_N "(cached) $ECHO_C" >&6
39194 else
39195 if test x$gcc_no_link = xyes; then
39196 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39197 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39198 { (exit 1); exit 1; }; }
39200 cat >conftest.$ac_ext <<_ACEOF
39201 /* confdefs.h. */
39202 _ACEOF
39203 cat confdefs.h >>conftest.$ac_ext
39204 cat >>conftest.$ac_ext <<_ACEOF
39205 /* end confdefs.h. */
39206 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39207 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39208 #define $ac_func innocuous_$ac_func
39210 /* System header to define __stub macros and hopefully few prototypes,
39211 which can conflict with char $ac_func (); below.
39212 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39213 <limits.h> exists even on freestanding compilers. */
39215 #ifdef __STDC__
39216 # include <limits.h>
39217 #else
39218 # include <assert.h>
39219 #endif
39221 #undef $ac_func
39223 /* Override any gcc2 internal prototype to avoid an error. */
39224 #ifdef __cplusplus
39225 extern "C"
39227 #endif
39228 /* We use char because int might match the return type of a gcc2
39229 builtin and then its argument prototype would still apply. */
39230 char $ac_func ();
39231 /* The GNU C library defines this for functions which it implements
39232 to always fail with ENOSYS. Some functions are actually named
39233 something starting with __ and the normal name is an alias. */
39234 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39235 choke me
39236 #else
39237 char (*f) () = $ac_func;
39238 #endif
39239 #ifdef __cplusplus
39241 #endif
39244 main ()
39246 return f != $ac_func;
39248 return 0;
39250 _ACEOF
39251 rm -f conftest.$ac_objext conftest$ac_exeext
39252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39253 (eval $ac_link) 2>conftest.er1
39254 ac_status=$?
39255 grep -v '^ *+' conftest.er1 >conftest.err
39256 rm -f conftest.er1
39257 cat conftest.err >&5
39258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39259 (exit $ac_status); } &&
39260 { ac_try='test -z "$ac_c_werror_flag"
39261 || test ! -s conftest.err'
39262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39263 (eval $ac_try) 2>&5
39264 ac_status=$?
39265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39266 (exit $ac_status); }; } &&
39267 { ac_try='test -s conftest$ac_exeext'
39268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39269 (eval $ac_try) 2>&5
39270 ac_status=$?
39271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39272 (exit $ac_status); }; }; then
39273 eval "$as_ac_var=yes"
39274 else
39275 echo "$as_me: failed program was:" >&5
39276 sed 's/^/| /' conftest.$ac_ext >&5
39278 eval "$as_ac_var=no"
39280 rm -f conftest.err conftest.$ac_objext \
39281 conftest$ac_exeext conftest.$ac_ext
39283 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39284 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39285 if test `eval echo '${'$as_ac_var'}'` = yes; then
39286 cat >>confdefs.h <<_ACEOF
39287 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39288 _ACEOF
39291 done
39301 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
39302 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
39303 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
39304 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
39305 echo $ECHO_N "(cached) $ECHO_C" >&6
39306 else
39310 ac_ext=cc
39311 ac_cpp='$CXXCPP $CPPFLAGS'
39312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39316 cat >conftest.$ac_ext <<_ACEOF
39317 /* confdefs.h. */
39318 _ACEOF
39319 cat confdefs.h >>conftest.$ac_ext
39320 cat >>conftest.$ac_ext <<_ACEOF
39321 /* end confdefs.h. */
39322 #include <math.h>
39324 main ()
39326 ldexpf(0, 0);
39328 return 0;
39330 _ACEOF
39331 rm -f conftest.$ac_objext
39332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39333 (eval $ac_compile) 2>conftest.er1
39334 ac_status=$?
39335 grep -v '^ *+' conftest.er1 >conftest.err
39336 rm -f conftest.er1
39337 cat conftest.err >&5
39338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39339 (exit $ac_status); } &&
39340 { ac_try='test -z "$ac_cxx_werror_flag"
39341 || test ! -s conftest.err'
39342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39343 (eval $ac_try) 2>&5
39344 ac_status=$?
39345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39346 (exit $ac_status); }; } &&
39347 { ac_try='test -s conftest.$ac_objext'
39348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39349 (eval $ac_try) 2>&5
39350 ac_status=$?
39351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39352 (exit $ac_status); }; }; then
39353 glibcxx_cv_func_ldexpf_use=yes
39354 else
39355 echo "$as_me: failed program was:" >&5
39356 sed 's/^/| /' conftest.$ac_ext >&5
39358 glibcxx_cv_func_ldexpf_use=no
39360 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39361 ac_ext=c
39362 ac_cpp='$CPP $CPPFLAGS'
39363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39371 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
39372 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
39374 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
39376 for ac_func in ldexpf
39378 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39379 echo "$as_me:$LINENO: checking for $ac_func" >&5
39380 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39381 if eval "test \"\${$as_ac_var+set}\" = set"; then
39382 echo $ECHO_N "(cached) $ECHO_C" >&6
39383 else
39384 if test x$gcc_no_link = xyes; then
39385 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39386 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39387 { (exit 1); exit 1; }; }
39389 cat >conftest.$ac_ext <<_ACEOF
39390 /* confdefs.h. */
39391 _ACEOF
39392 cat confdefs.h >>conftest.$ac_ext
39393 cat >>conftest.$ac_ext <<_ACEOF
39394 /* end confdefs.h. */
39395 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39396 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39397 #define $ac_func innocuous_$ac_func
39399 /* System header to define __stub macros and hopefully few prototypes,
39400 which can conflict with char $ac_func (); below.
39401 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39402 <limits.h> exists even on freestanding compilers. */
39404 #ifdef __STDC__
39405 # include <limits.h>
39406 #else
39407 # include <assert.h>
39408 #endif
39410 #undef $ac_func
39412 /* Override any gcc2 internal prototype to avoid an error. */
39413 #ifdef __cplusplus
39414 extern "C"
39416 #endif
39417 /* We use char because int might match the return type of a gcc2
39418 builtin and then its argument prototype would still apply. */
39419 char $ac_func ();
39420 /* The GNU C library defines this for functions which it implements
39421 to always fail with ENOSYS. Some functions are actually named
39422 something starting with __ and the normal name is an alias. */
39423 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39424 choke me
39425 #else
39426 char (*f) () = $ac_func;
39427 #endif
39428 #ifdef __cplusplus
39430 #endif
39433 main ()
39435 return f != $ac_func;
39437 return 0;
39439 _ACEOF
39440 rm -f conftest.$ac_objext conftest$ac_exeext
39441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39442 (eval $ac_link) 2>conftest.er1
39443 ac_status=$?
39444 grep -v '^ *+' conftest.er1 >conftest.err
39445 rm -f conftest.er1
39446 cat conftest.err >&5
39447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39448 (exit $ac_status); } &&
39449 { ac_try='test -z "$ac_c_werror_flag"
39450 || test ! -s conftest.err'
39451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39452 (eval $ac_try) 2>&5
39453 ac_status=$?
39454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39455 (exit $ac_status); }; } &&
39456 { ac_try='test -s conftest$ac_exeext'
39457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39458 (eval $ac_try) 2>&5
39459 ac_status=$?
39460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39461 (exit $ac_status); }; }; then
39462 eval "$as_ac_var=yes"
39463 else
39464 echo "$as_me: failed program was:" >&5
39465 sed 's/^/| /' conftest.$ac_ext >&5
39467 eval "$as_ac_var=no"
39469 rm -f conftest.err conftest.$ac_objext \
39470 conftest$ac_exeext conftest.$ac_ext
39472 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39473 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39474 if test `eval echo '${'$as_ac_var'}'` = yes; then
39475 cat >>confdefs.h <<_ACEOF
39476 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39477 _ACEOF
39480 done
39482 else
39484 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
39485 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
39486 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
39487 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
39488 echo $ECHO_N "(cached) $ECHO_C" >&6
39489 else
39493 ac_ext=cc
39494 ac_cpp='$CXXCPP $CPPFLAGS'
39495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39499 cat >conftest.$ac_ext <<_ACEOF
39500 /* confdefs.h. */
39501 _ACEOF
39502 cat confdefs.h >>conftest.$ac_ext
39503 cat >>conftest.$ac_ext <<_ACEOF
39504 /* end confdefs.h. */
39505 #include <math.h>
39507 main ()
39509 _ldexpf(0, 0);
39511 return 0;
39513 _ACEOF
39514 rm -f conftest.$ac_objext
39515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39516 (eval $ac_compile) 2>conftest.er1
39517 ac_status=$?
39518 grep -v '^ *+' conftest.er1 >conftest.err
39519 rm -f conftest.er1
39520 cat conftest.err >&5
39521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39522 (exit $ac_status); } &&
39523 { ac_try='test -z "$ac_cxx_werror_flag"
39524 || test ! -s conftest.err'
39525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39526 (eval $ac_try) 2>&5
39527 ac_status=$?
39528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39529 (exit $ac_status); }; } &&
39530 { ac_try='test -s conftest.$ac_objext'
39531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39532 (eval $ac_try) 2>&5
39533 ac_status=$?
39534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39535 (exit $ac_status); }; }; then
39536 glibcxx_cv_func__ldexpf_use=yes
39537 else
39538 echo "$as_me: failed program was:" >&5
39539 sed 's/^/| /' conftest.$ac_ext >&5
39541 glibcxx_cv_func__ldexpf_use=no
39543 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39544 ac_ext=c
39545 ac_cpp='$CPP $CPPFLAGS'
39546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39554 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
39555 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
39557 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
39559 for ac_func in _ldexpf
39561 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39562 echo "$as_me:$LINENO: checking for $ac_func" >&5
39563 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39564 if eval "test \"\${$as_ac_var+set}\" = set"; then
39565 echo $ECHO_N "(cached) $ECHO_C" >&6
39566 else
39567 if test x$gcc_no_link = xyes; then
39568 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39569 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39570 { (exit 1); exit 1; }; }
39572 cat >conftest.$ac_ext <<_ACEOF
39573 /* confdefs.h. */
39574 _ACEOF
39575 cat confdefs.h >>conftest.$ac_ext
39576 cat >>conftest.$ac_ext <<_ACEOF
39577 /* end confdefs.h. */
39578 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39579 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39580 #define $ac_func innocuous_$ac_func
39582 /* System header to define __stub macros and hopefully few prototypes,
39583 which can conflict with char $ac_func (); below.
39584 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39585 <limits.h> exists even on freestanding compilers. */
39587 #ifdef __STDC__
39588 # include <limits.h>
39589 #else
39590 # include <assert.h>
39591 #endif
39593 #undef $ac_func
39595 /* Override any gcc2 internal prototype to avoid an error. */
39596 #ifdef __cplusplus
39597 extern "C"
39599 #endif
39600 /* We use char because int might match the return type of a gcc2
39601 builtin and then its argument prototype would still apply. */
39602 char $ac_func ();
39603 /* The GNU C library defines this for functions which it implements
39604 to always fail with ENOSYS. Some functions are actually named
39605 something starting with __ and the normal name is an alias. */
39606 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39607 choke me
39608 #else
39609 char (*f) () = $ac_func;
39610 #endif
39611 #ifdef __cplusplus
39613 #endif
39616 main ()
39618 return f != $ac_func;
39620 return 0;
39622 _ACEOF
39623 rm -f conftest.$ac_objext conftest$ac_exeext
39624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39625 (eval $ac_link) 2>conftest.er1
39626 ac_status=$?
39627 grep -v '^ *+' conftest.er1 >conftest.err
39628 rm -f conftest.er1
39629 cat conftest.err >&5
39630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39631 (exit $ac_status); } &&
39632 { ac_try='test -z "$ac_c_werror_flag"
39633 || test ! -s conftest.err'
39634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39635 (eval $ac_try) 2>&5
39636 ac_status=$?
39637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39638 (exit $ac_status); }; } &&
39639 { ac_try='test -s conftest$ac_exeext'
39640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39641 (eval $ac_try) 2>&5
39642 ac_status=$?
39643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39644 (exit $ac_status); }; }; then
39645 eval "$as_ac_var=yes"
39646 else
39647 echo "$as_me: failed program was:" >&5
39648 sed 's/^/| /' conftest.$ac_ext >&5
39650 eval "$as_ac_var=no"
39652 rm -f conftest.err conftest.$ac_objext \
39653 conftest$ac_exeext conftest.$ac_ext
39655 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39656 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39657 if test `eval echo '${'$as_ac_var'}'` = yes; then
39658 cat >>confdefs.h <<_ACEOF
39659 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39660 _ACEOF
39663 done
39673 echo "$as_me:$LINENO: checking for logf declaration" >&5
39674 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
39675 if test x${glibcxx_cv_func_logf_use+set} != xset; then
39676 if test "${glibcxx_cv_func_logf_use+set}" = set; then
39677 echo $ECHO_N "(cached) $ECHO_C" >&6
39678 else
39682 ac_ext=cc
39683 ac_cpp='$CXXCPP $CPPFLAGS'
39684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39688 cat >conftest.$ac_ext <<_ACEOF
39689 /* confdefs.h. */
39690 _ACEOF
39691 cat confdefs.h >>conftest.$ac_ext
39692 cat >>conftest.$ac_ext <<_ACEOF
39693 /* end confdefs.h. */
39694 #include <math.h>
39695 #ifdef HAVE_IEEEFP_H
39696 #include <ieeefp.h>
39697 #endif
39700 main ()
39702 logf(0);
39704 return 0;
39706 _ACEOF
39707 rm -f conftest.$ac_objext
39708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39709 (eval $ac_compile) 2>conftest.er1
39710 ac_status=$?
39711 grep -v '^ *+' conftest.er1 >conftest.err
39712 rm -f conftest.er1
39713 cat conftest.err >&5
39714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39715 (exit $ac_status); } &&
39716 { ac_try='test -z "$ac_cxx_werror_flag"
39717 || test ! -s conftest.err'
39718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39719 (eval $ac_try) 2>&5
39720 ac_status=$?
39721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39722 (exit $ac_status); }; } &&
39723 { ac_try='test -s conftest.$ac_objext'
39724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39725 (eval $ac_try) 2>&5
39726 ac_status=$?
39727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39728 (exit $ac_status); }; }; then
39729 glibcxx_cv_func_logf_use=yes
39730 else
39731 echo "$as_me: failed program was:" >&5
39732 sed 's/^/| /' conftest.$ac_ext >&5
39734 glibcxx_cv_func_logf_use=no
39736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39737 ac_ext=c
39738 ac_cpp='$CPP $CPPFLAGS'
39739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39747 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
39748 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
39750 if test x$glibcxx_cv_func_logf_use = x"yes"; then
39752 for ac_func in logf
39754 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39755 echo "$as_me:$LINENO: checking for $ac_func" >&5
39756 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39757 if eval "test \"\${$as_ac_var+set}\" = set"; then
39758 echo $ECHO_N "(cached) $ECHO_C" >&6
39759 else
39760 if test x$gcc_no_link = xyes; then
39761 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39762 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39763 { (exit 1); exit 1; }; }
39765 cat >conftest.$ac_ext <<_ACEOF
39766 /* confdefs.h. */
39767 _ACEOF
39768 cat confdefs.h >>conftest.$ac_ext
39769 cat >>conftest.$ac_ext <<_ACEOF
39770 /* end confdefs.h. */
39771 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39772 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39773 #define $ac_func innocuous_$ac_func
39775 /* System header to define __stub macros and hopefully few prototypes,
39776 which can conflict with char $ac_func (); below.
39777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39778 <limits.h> exists even on freestanding compilers. */
39780 #ifdef __STDC__
39781 # include <limits.h>
39782 #else
39783 # include <assert.h>
39784 #endif
39786 #undef $ac_func
39788 /* Override any gcc2 internal prototype to avoid an error. */
39789 #ifdef __cplusplus
39790 extern "C"
39792 #endif
39793 /* We use char because int might match the return type of a gcc2
39794 builtin and then its argument prototype would still apply. */
39795 char $ac_func ();
39796 /* The GNU C library defines this for functions which it implements
39797 to always fail with ENOSYS. Some functions are actually named
39798 something starting with __ and the normal name is an alias. */
39799 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39800 choke me
39801 #else
39802 char (*f) () = $ac_func;
39803 #endif
39804 #ifdef __cplusplus
39806 #endif
39809 main ()
39811 return f != $ac_func;
39813 return 0;
39815 _ACEOF
39816 rm -f conftest.$ac_objext conftest$ac_exeext
39817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39818 (eval $ac_link) 2>conftest.er1
39819 ac_status=$?
39820 grep -v '^ *+' conftest.er1 >conftest.err
39821 rm -f conftest.er1
39822 cat conftest.err >&5
39823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39824 (exit $ac_status); } &&
39825 { ac_try='test -z "$ac_c_werror_flag"
39826 || test ! -s conftest.err'
39827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39828 (eval $ac_try) 2>&5
39829 ac_status=$?
39830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39831 (exit $ac_status); }; } &&
39832 { ac_try='test -s conftest$ac_exeext'
39833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39834 (eval $ac_try) 2>&5
39835 ac_status=$?
39836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39837 (exit $ac_status); }; }; then
39838 eval "$as_ac_var=yes"
39839 else
39840 echo "$as_me: failed program was:" >&5
39841 sed 's/^/| /' conftest.$ac_ext >&5
39843 eval "$as_ac_var=no"
39845 rm -f conftest.err conftest.$ac_objext \
39846 conftest$ac_exeext conftest.$ac_ext
39848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39849 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39850 if test `eval echo '${'$as_ac_var'}'` = yes; then
39851 cat >>confdefs.h <<_ACEOF
39852 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39853 _ACEOF
39856 done
39858 else
39860 echo "$as_me:$LINENO: checking for _logf declaration" >&5
39861 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
39862 if test x${glibcxx_cv_func__logf_use+set} != xset; then
39863 if test "${glibcxx_cv_func__logf_use+set}" = set; then
39864 echo $ECHO_N "(cached) $ECHO_C" >&6
39865 else
39869 ac_ext=cc
39870 ac_cpp='$CXXCPP $CPPFLAGS'
39871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39875 cat >conftest.$ac_ext <<_ACEOF
39876 /* confdefs.h. */
39877 _ACEOF
39878 cat confdefs.h >>conftest.$ac_ext
39879 cat >>conftest.$ac_ext <<_ACEOF
39880 /* end confdefs.h. */
39881 #include <math.h>
39882 #ifdef HAVE_IEEEFP_H
39883 #include <ieeefp.h>
39884 #endif
39887 main ()
39889 _logf(0);
39891 return 0;
39893 _ACEOF
39894 rm -f conftest.$ac_objext
39895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39896 (eval $ac_compile) 2>conftest.er1
39897 ac_status=$?
39898 grep -v '^ *+' conftest.er1 >conftest.err
39899 rm -f conftest.er1
39900 cat conftest.err >&5
39901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39902 (exit $ac_status); } &&
39903 { ac_try='test -z "$ac_cxx_werror_flag"
39904 || test ! -s conftest.err'
39905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39906 (eval $ac_try) 2>&5
39907 ac_status=$?
39908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39909 (exit $ac_status); }; } &&
39910 { ac_try='test -s conftest.$ac_objext'
39911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39912 (eval $ac_try) 2>&5
39913 ac_status=$?
39914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39915 (exit $ac_status); }; }; then
39916 glibcxx_cv_func__logf_use=yes
39917 else
39918 echo "$as_me: failed program was:" >&5
39919 sed 's/^/| /' conftest.$ac_ext >&5
39921 glibcxx_cv_func__logf_use=no
39923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39924 ac_ext=c
39925 ac_cpp='$CPP $CPPFLAGS'
39926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39934 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
39935 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
39937 if test x$glibcxx_cv_func__logf_use = x"yes"; then
39939 for ac_func in _logf
39941 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39942 echo "$as_me:$LINENO: checking for $ac_func" >&5
39943 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39944 if eval "test \"\${$as_ac_var+set}\" = set"; then
39945 echo $ECHO_N "(cached) $ECHO_C" >&6
39946 else
39947 if test x$gcc_no_link = xyes; then
39948 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39949 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39950 { (exit 1); exit 1; }; }
39952 cat >conftest.$ac_ext <<_ACEOF
39953 /* confdefs.h. */
39954 _ACEOF
39955 cat confdefs.h >>conftest.$ac_ext
39956 cat >>conftest.$ac_ext <<_ACEOF
39957 /* end confdefs.h. */
39958 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39959 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39960 #define $ac_func innocuous_$ac_func
39962 /* System header to define __stub macros and hopefully few prototypes,
39963 which can conflict with char $ac_func (); below.
39964 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39965 <limits.h> exists even on freestanding compilers. */
39967 #ifdef __STDC__
39968 # include <limits.h>
39969 #else
39970 # include <assert.h>
39971 #endif
39973 #undef $ac_func
39975 /* Override any gcc2 internal prototype to avoid an error. */
39976 #ifdef __cplusplus
39977 extern "C"
39979 #endif
39980 /* We use char because int might match the return type of a gcc2
39981 builtin and then its argument prototype would still apply. */
39982 char $ac_func ();
39983 /* The GNU C library defines this for functions which it implements
39984 to always fail with ENOSYS. Some functions are actually named
39985 something starting with __ and the normal name is an alias. */
39986 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39987 choke me
39988 #else
39989 char (*f) () = $ac_func;
39990 #endif
39991 #ifdef __cplusplus
39993 #endif
39996 main ()
39998 return f != $ac_func;
40000 return 0;
40002 _ACEOF
40003 rm -f conftest.$ac_objext conftest$ac_exeext
40004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40005 (eval $ac_link) 2>conftest.er1
40006 ac_status=$?
40007 grep -v '^ *+' conftest.er1 >conftest.err
40008 rm -f conftest.er1
40009 cat conftest.err >&5
40010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40011 (exit $ac_status); } &&
40012 { ac_try='test -z "$ac_c_werror_flag"
40013 || test ! -s conftest.err'
40014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40015 (eval $ac_try) 2>&5
40016 ac_status=$?
40017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40018 (exit $ac_status); }; } &&
40019 { ac_try='test -s conftest$ac_exeext'
40020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40021 (eval $ac_try) 2>&5
40022 ac_status=$?
40023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40024 (exit $ac_status); }; }; then
40025 eval "$as_ac_var=yes"
40026 else
40027 echo "$as_me: failed program was:" >&5
40028 sed 's/^/| /' conftest.$ac_ext >&5
40030 eval "$as_ac_var=no"
40032 rm -f conftest.err conftest.$ac_objext \
40033 conftest$ac_exeext conftest.$ac_ext
40035 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40036 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40037 if test `eval echo '${'$as_ac_var'}'` = yes; then
40038 cat >>confdefs.h <<_ACEOF
40039 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40040 _ACEOF
40043 done
40053 echo "$as_me:$LINENO: checking for log10f declaration" >&5
40054 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
40055 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
40056 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
40057 echo $ECHO_N "(cached) $ECHO_C" >&6
40058 else
40062 ac_ext=cc
40063 ac_cpp='$CXXCPP $CPPFLAGS'
40064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40068 cat >conftest.$ac_ext <<_ACEOF
40069 /* confdefs.h. */
40070 _ACEOF
40071 cat confdefs.h >>conftest.$ac_ext
40072 cat >>conftest.$ac_ext <<_ACEOF
40073 /* end confdefs.h. */
40074 #include <math.h>
40075 #ifdef HAVE_IEEEFP_H
40076 #include <ieeefp.h>
40077 #endif
40080 main ()
40082 log10f(0);
40084 return 0;
40086 _ACEOF
40087 rm -f conftest.$ac_objext
40088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40089 (eval $ac_compile) 2>conftest.er1
40090 ac_status=$?
40091 grep -v '^ *+' conftest.er1 >conftest.err
40092 rm -f conftest.er1
40093 cat conftest.err >&5
40094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40095 (exit $ac_status); } &&
40096 { ac_try='test -z "$ac_cxx_werror_flag"
40097 || test ! -s conftest.err'
40098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40099 (eval $ac_try) 2>&5
40100 ac_status=$?
40101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40102 (exit $ac_status); }; } &&
40103 { ac_try='test -s conftest.$ac_objext'
40104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40105 (eval $ac_try) 2>&5
40106 ac_status=$?
40107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40108 (exit $ac_status); }; }; then
40109 glibcxx_cv_func_log10f_use=yes
40110 else
40111 echo "$as_me: failed program was:" >&5
40112 sed 's/^/| /' conftest.$ac_ext >&5
40114 glibcxx_cv_func_log10f_use=no
40116 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40117 ac_ext=c
40118 ac_cpp='$CPP $CPPFLAGS'
40119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40127 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
40128 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
40130 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
40132 for ac_func in log10f
40134 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40135 echo "$as_me:$LINENO: checking for $ac_func" >&5
40136 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40137 if eval "test \"\${$as_ac_var+set}\" = set"; then
40138 echo $ECHO_N "(cached) $ECHO_C" >&6
40139 else
40140 if test x$gcc_no_link = xyes; then
40141 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40142 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40143 { (exit 1); exit 1; }; }
40145 cat >conftest.$ac_ext <<_ACEOF
40146 /* confdefs.h. */
40147 _ACEOF
40148 cat confdefs.h >>conftest.$ac_ext
40149 cat >>conftest.$ac_ext <<_ACEOF
40150 /* end confdefs.h. */
40151 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40152 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40153 #define $ac_func innocuous_$ac_func
40155 /* System header to define __stub macros and hopefully few prototypes,
40156 which can conflict with char $ac_func (); below.
40157 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40158 <limits.h> exists even on freestanding compilers. */
40160 #ifdef __STDC__
40161 # include <limits.h>
40162 #else
40163 # include <assert.h>
40164 #endif
40166 #undef $ac_func
40168 /* Override any gcc2 internal prototype to avoid an error. */
40169 #ifdef __cplusplus
40170 extern "C"
40172 #endif
40173 /* We use char because int might match the return type of a gcc2
40174 builtin and then its argument prototype would still apply. */
40175 char $ac_func ();
40176 /* The GNU C library defines this for functions which it implements
40177 to always fail with ENOSYS. Some functions are actually named
40178 something starting with __ and the normal name is an alias. */
40179 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40180 choke me
40181 #else
40182 char (*f) () = $ac_func;
40183 #endif
40184 #ifdef __cplusplus
40186 #endif
40189 main ()
40191 return f != $ac_func;
40193 return 0;
40195 _ACEOF
40196 rm -f conftest.$ac_objext conftest$ac_exeext
40197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40198 (eval $ac_link) 2>conftest.er1
40199 ac_status=$?
40200 grep -v '^ *+' conftest.er1 >conftest.err
40201 rm -f conftest.er1
40202 cat conftest.err >&5
40203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40204 (exit $ac_status); } &&
40205 { ac_try='test -z "$ac_c_werror_flag"
40206 || test ! -s conftest.err'
40207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40208 (eval $ac_try) 2>&5
40209 ac_status=$?
40210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40211 (exit $ac_status); }; } &&
40212 { ac_try='test -s conftest$ac_exeext'
40213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40214 (eval $ac_try) 2>&5
40215 ac_status=$?
40216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40217 (exit $ac_status); }; }; then
40218 eval "$as_ac_var=yes"
40219 else
40220 echo "$as_me: failed program was:" >&5
40221 sed 's/^/| /' conftest.$ac_ext >&5
40223 eval "$as_ac_var=no"
40225 rm -f conftest.err conftest.$ac_objext \
40226 conftest$ac_exeext conftest.$ac_ext
40228 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40229 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40230 if test `eval echo '${'$as_ac_var'}'` = yes; then
40231 cat >>confdefs.h <<_ACEOF
40232 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40233 _ACEOF
40236 done
40238 else
40240 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
40241 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
40242 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
40243 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
40244 echo $ECHO_N "(cached) $ECHO_C" >&6
40245 else
40249 ac_ext=cc
40250 ac_cpp='$CXXCPP $CPPFLAGS'
40251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40255 cat >conftest.$ac_ext <<_ACEOF
40256 /* confdefs.h. */
40257 _ACEOF
40258 cat confdefs.h >>conftest.$ac_ext
40259 cat >>conftest.$ac_ext <<_ACEOF
40260 /* end confdefs.h. */
40261 #include <math.h>
40262 #ifdef HAVE_IEEEFP_H
40263 #include <ieeefp.h>
40264 #endif
40267 main ()
40269 _log10f(0);
40271 return 0;
40273 _ACEOF
40274 rm -f conftest.$ac_objext
40275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40276 (eval $ac_compile) 2>conftest.er1
40277 ac_status=$?
40278 grep -v '^ *+' conftest.er1 >conftest.err
40279 rm -f conftest.er1
40280 cat conftest.err >&5
40281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40282 (exit $ac_status); } &&
40283 { ac_try='test -z "$ac_cxx_werror_flag"
40284 || test ! -s conftest.err'
40285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40286 (eval $ac_try) 2>&5
40287 ac_status=$?
40288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40289 (exit $ac_status); }; } &&
40290 { ac_try='test -s conftest.$ac_objext'
40291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40292 (eval $ac_try) 2>&5
40293 ac_status=$?
40294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40295 (exit $ac_status); }; }; then
40296 glibcxx_cv_func__log10f_use=yes
40297 else
40298 echo "$as_me: failed program was:" >&5
40299 sed 's/^/| /' conftest.$ac_ext >&5
40301 glibcxx_cv_func__log10f_use=no
40303 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40304 ac_ext=c
40305 ac_cpp='$CPP $CPPFLAGS'
40306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40314 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
40315 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
40317 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
40319 for ac_func in _log10f
40321 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40322 echo "$as_me:$LINENO: checking for $ac_func" >&5
40323 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40324 if eval "test \"\${$as_ac_var+set}\" = set"; then
40325 echo $ECHO_N "(cached) $ECHO_C" >&6
40326 else
40327 if test x$gcc_no_link = xyes; then
40328 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40329 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40330 { (exit 1); exit 1; }; }
40332 cat >conftest.$ac_ext <<_ACEOF
40333 /* confdefs.h. */
40334 _ACEOF
40335 cat confdefs.h >>conftest.$ac_ext
40336 cat >>conftest.$ac_ext <<_ACEOF
40337 /* end confdefs.h. */
40338 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40339 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40340 #define $ac_func innocuous_$ac_func
40342 /* System header to define __stub macros and hopefully few prototypes,
40343 which can conflict with char $ac_func (); below.
40344 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40345 <limits.h> exists even on freestanding compilers. */
40347 #ifdef __STDC__
40348 # include <limits.h>
40349 #else
40350 # include <assert.h>
40351 #endif
40353 #undef $ac_func
40355 /* Override any gcc2 internal prototype to avoid an error. */
40356 #ifdef __cplusplus
40357 extern "C"
40359 #endif
40360 /* We use char because int might match the return type of a gcc2
40361 builtin and then its argument prototype would still apply. */
40362 char $ac_func ();
40363 /* The GNU C library defines this for functions which it implements
40364 to always fail with ENOSYS. Some functions are actually named
40365 something starting with __ and the normal name is an alias. */
40366 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40367 choke me
40368 #else
40369 char (*f) () = $ac_func;
40370 #endif
40371 #ifdef __cplusplus
40373 #endif
40376 main ()
40378 return f != $ac_func;
40380 return 0;
40382 _ACEOF
40383 rm -f conftest.$ac_objext conftest$ac_exeext
40384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40385 (eval $ac_link) 2>conftest.er1
40386 ac_status=$?
40387 grep -v '^ *+' conftest.er1 >conftest.err
40388 rm -f conftest.er1
40389 cat conftest.err >&5
40390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40391 (exit $ac_status); } &&
40392 { ac_try='test -z "$ac_c_werror_flag"
40393 || test ! -s conftest.err'
40394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40395 (eval $ac_try) 2>&5
40396 ac_status=$?
40397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40398 (exit $ac_status); }; } &&
40399 { ac_try='test -s conftest$ac_exeext'
40400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40401 (eval $ac_try) 2>&5
40402 ac_status=$?
40403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40404 (exit $ac_status); }; }; then
40405 eval "$as_ac_var=yes"
40406 else
40407 echo "$as_me: failed program was:" >&5
40408 sed 's/^/| /' conftest.$ac_ext >&5
40410 eval "$as_ac_var=no"
40412 rm -f conftest.err conftest.$ac_objext \
40413 conftest$ac_exeext conftest.$ac_ext
40415 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40416 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40417 if test `eval echo '${'$as_ac_var'}'` = yes; then
40418 cat >>confdefs.h <<_ACEOF
40419 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40420 _ACEOF
40423 done
40433 echo "$as_me:$LINENO: checking for modff declaration" >&5
40434 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
40435 if test x${glibcxx_cv_func_modff_use+set} != xset; then
40436 if test "${glibcxx_cv_func_modff_use+set}" = set; then
40437 echo $ECHO_N "(cached) $ECHO_C" >&6
40438 else
40442 ac_ext=cc
40443 ac_cpp='$CXXCPP $CPPFLAGS'
40444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40448 cat >conftest.$ac_ext <<_ACEOF
40449 /* confdefs.h. */
40450 _ACEOF
40451 cat confdefs.h >>conftest.$ac_ext
40452 cat >>conftest.$ac_ext <<_ACEOF
40453 /* end confdefs.h. */
40454 #include <math.h>
40456 main ()
40458 modff(0, 0);
40460 return 0;
40462 _ACEOF
40463 rm -f conftest.$ac_objext
40464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40465 (eval $ac_compile) 2>conftest.er1
40466 ac_status=$?
40467 grep -v '^ *+' conftest.er1 >conftest.err
40468 rm -f conftest.er1
40469 cat conftest.err >&5
40470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40471 (exit $ac_status); } &&
40472 { ac_try='test -z "$ac_cxx_werror_flag"
40473 || test ! -s conftest.err'
40474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40475 (eval $ac_try) 2>&5
40476 ac_status=$?
40477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40478 (exit $ac_status); }; } &&
40479 { ac_try='test -s conftest.$ac_objext'
40480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40481 (eval $ac_try) 2>&5
40482 ac_status=$?
40483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40484 (exit $ac_status); }; }; then
40485 glibcxx_cv_func_modff_use=yes
40486 else
40487 echo "$as_me: failed program was:" >&5
40488 sed 's/^/| /' conftest.$ac_ext >&5
40490 glibcxx_cv_func_modff_use=no
40492 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40493 ac_ext=c
40494 ac_cpp='$CPP $CPPFLAGS'
40495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40503 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
40504 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
40506 if test x$glibcxx_cv_func_modff_use = x"yes"; then
40508 for ac_func in modff
40510 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40511 echo "$as_me:$LINENO: checking for $ac_func" >&5
40512 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40513 if eval "test \"\${$as_ac_var+set}\" = set"; then
40514 echo $ECHO_N "(cached) $ECHO_C" >&6
40515 else
40516 if test x$gcc_no_link = xyes; then
40517 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40518 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40519 { (exit 1); exit 1; }; }
40521 cat >conftest.$ac_ext <<_ACEOF
40522 /* confdefs.h. */
40523 _ACEOF
40524 cat confdefs.h >>conftest.$ac_ext
40525 cat >>conftest.$ac_ext <<_ACEOF
40526 /* end confdefs.h. */
40527 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40528 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40529 #define $ac_func innocuous_$ac_func
40531 /* System header to define __stub macros and hopefully few prototypes,
40532 which can conflict with char $ac_func (); below.
40533 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40534 <limits.h> exists even on freestanding compilers. */
40536 #ifdef __STDC__
40537 # include <limits.h>
40538 #else
40539 # include <assert.h>
40540 #endif
40542 #undef $ac_func
40544 /* Override any gcc2 internal prototype to avoid an error. */
40545 #ifdef __cplusplus
40546 extern "C"
40548 #endif
40549 /* We use char because int might match the return type of a gcc2
40550 builtin and then its argument prototype would still apply. */
40551 char $ac_func ();
40552 /* The GNU C library defines this for functions which it implements
40553 to always fail with ENOSYS. Some functions are actually named
40554 something starting with __ and the normal name is an alias. */
40555 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40556 choke me
40557 #else
40558 char (*f) () = $ac_func;
40559 #endif
40560 #ifdef __cplusplus
40562 #endif
40565 main ()
40567 return f != $ac_func;
40569 return 0;
40571 _ACEOF
40572 rm -f conftest.$ac_objext conftest$ac_exeext
40573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40574 (eval $ac_link) 2>conftest.er1
40575 ac_status=$?
40576 grep -v '^ *+' conftest.er1 >conftest.err
40577 rm -f conftest.er1
40578 cat conftest.err >&5
40579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40580 (exit $ac_status); } &&
40581 { ac_try='test -z "$ac_c_werror_flag"
40582 || test ! -s conftest.err'
40583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40584 (eval $ac_try) 2>&5
40585 ac_status=$?
40586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40587 (exit $ac_status); }; } &&
40588 { ac_try='test -s conftest$ac_exeext'
40589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40590 (eval $ac_try) 2>&5
40591 ac_status=$?
40592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40593 (exit $ac_status); }; }; then
40594 eval "$as_ac_var=yes"
40595 else
40596 echo "$as_me: failed program was:" >&5
40597 sed 's/^/| /' conftest.$ac_ext >&5
40599 eval "$as_ac_var=no"
40601 rm -f conftest.err conftest.$ac_objext \
40602 conftest$ac_exeext conftest.$ac_ext
40604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40605 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40606 if test `eval echo '${'$as_ac_var'}'` = yes; then
40607 cat >>confdefs.h <<_ACEOF
40608 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40609 _ACEOF
40612 done
40614 else
40616 echo "$as_me:$LINENO: checking for _modff declaration" >&5
40617 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
40618 if test x${glibcxx_cv_func__modff_use+set} != xset; then
40619 if test "${glibcxx_cv_func__modff_use+set}" = set; then
40620 echo $ECHO_N "(cached) $ECHO_C" >&6
40621 else
40625 ac_ext=cc
40626 ac_cpp='$CXXCPP $CPPFLAGS'
40627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40631 cat >conftest.$ac_ext <<_ACEOF
40632 /* confdefs.h. */
40633 _ACEOF
40634 cat confdefs.h >>conftest.$ac_ext
40635 cat >>conftest.$ac_ext <<_ACEOF
40636 /* end confdefs.h. */
40637 #include <math.h>
40639 main ()
40641 _modff(0, 0);
40643 return 0;
40645 _ACEOF
40646 rm -f conftest.$ac_objext
40647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40648 (eval $ac_compile) 2>conftest.er1
40649 ac_status=$?
40650 grep -v '^ *+' conftest.er1 >conftest.err
40651 rm -f conftest.er1
40652 cat conftest.err >&5
40653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40654 (exit $ac_status); } &&
40655 { ac_try='test -z "$ac_cxx_werror_flag"
40656 || test ! -s conftest.err'
40657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40658 (eval $ac_try) 2>&5
40659 ac_status=$?
40660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40661 (exit $ac_status); }; } &&
40662 { ac_try='test -s conftest.$ac_objext'
40663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40664 (eval $ac_try) 2>&5
40665 ac_status=$?
40666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40667 (exit $ac_status); }; }; then
40668 glibcxx_cv_func__modff_use=yes
40669 else
40670 echo "$as_me: failed program was:" >&5
40671 sed 's/^/| /' conftest.$ac_ext >&5
40673 glibcxx_cv_func__modff_use=no
40675 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40676 ac_ext=c
40677 ac_cpp='$CPP $CPPFLAGS'
40678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40686 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
40687 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
40689 if test x$glibcxx_cv_func__modff_use = x"yes"; then
40691 for ac_func in _modff
40693 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40694 echo "$as_me:$LINENO: checking for $ac_func" >&5
40695 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40696 if eval "test \"\${$as_ac_var+set}\" = set"; then
40697 echo $ECHO_N "(cached) $ECHO_C" >&6
40698 else
40699 if test x$gcc_no_link = xyes; then
40700 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40701 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40702 { (exit 1); exit 1; }; }
40704 cat >conftest.$ac_ext <<_ACEOF
40705 /* confdefs.h. */
40706 _ACEOF
40707 cat confdefs.h >>conftest.$ac_ext
40708 cat >>conftest.$ac_ext <<_ACEOF
40709 /* end confdefs.h. */
40710 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40711 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40712 #define $ac_func innocuous_$ac_func
40714 /* System header to define __stub macros and hopefully few prototypes,
40715 which can conflict with char $ac_func (); below.
40716 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40717 <limits.h> exists even on freestanding compilers. */
40719 #ifdef __STDC__
40720 # include <limits.h>
40721 #else
40722 # include <assert.h>
40723 #endif
40725 #undef $ac_func
40727 /* Override any gcc2 internal prototype to avoid an error. */
40728 #ifdef __cplusplus
40729 extern "C"
40731 #endif
40732 /* We use char because int might match the return type of a gcc2
40733 builtin and then its argument prototype would still apply. */
40734 char $ac_func ();
40735 /* The GNU C library defines this for functions which it implements
40736 to always fail with ENOSYS. Some functions are actually named
40737 something starting with __ and the normal name is an alias. */
40738 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40739 choke me
40740 #else
40741 char (*f) () = $ac_func;
40742 #endif
40743 #ifdef __cplusplus
40745 #endif
40748 main ()
40750 return f != $ac_func;
40752 return 0;
40754 _ACEOF
40755 rm -f conftest.$ac_objext conftest$ac_exeext
40756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40757 (eval $ac_link) 2>conftest.er1
40758 ac_status=$?
40759 grep -v '^ *+' conftest.er1 >conftest.err
40760 rm -f conftest.er1
40761 cat conftest.err >&5
40762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40763 (exit $ac_status); } &&
40764 { ac_try='test -z "$ac_c_werror_flag"
40765 || test ! -s conftest.err'
40766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40767 (eval $ac_try) 2>&5
40768 ac_status=$?
40769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40770 (exit $ac_status); }; } &&
40771 { ac_try='test -s conftest$ac_exeext'
40772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40773 (eval $ac_try) 2>&5
40774 ac_status=$?
40775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40776 (exit $ac_status); }; }; then
40777 eval "$as_ac_var=yes"
40778 else
40779 echo "$as_me: failed program was:" >&5
40780 sed 's/^/| /' conftest.$ac_ext >&5
40782 eval "$as_ac_var=no"
40784 rm -f conftest.err conftest.$ac_objext \
40785 conftest$ac_exeext conftest.$ac_ext
40787 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40788 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40789 if test `eval echo '${'$as_ac_var'}'` = yes; then
40790 cat >>confdefs.h <<_ACEOF
40791 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40792 _ACEOF
40795 done
40805 echo "$as_me:$LINENO: checking for modf declaration" >&5
40806 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
40807 if test x${glibcxx_cv_func_modf_use+set} != xset; then
40808 if test "${glibcxx_cv_func_modf_use+set}" = set; then
40809 echo $ECHO_N "(cached) $ECHO_C" >&6
40810 else
40814 ac_ext=cc
40815 ac_cpp='$CXXCPP $CPPFLAGS'
40816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40820 cat >conftest.$ac_ext <<_ACEOF
40821 /* confdefs.h. */
40822 _ACEOF
40823 cat confdefs.h >>conftest.$ac_ext
40824 cat >>conftest.$ac_ext <<_ACEOF
40825 /* end confdefs.h. */
40826 #include <math.h>
40828 main ()
40830 modf(0, 0);
40832 return 0;
40834 _ACEOF
40835 rm -f conftest.$ac_objext
40836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40837 (eval $ac_compile) 2>conftest.er1
40838 ac_status=$?
40839 grep -v '^ *+' conftest.er1 >conftest.err
40840 rm -f conftest.er1
40841 cat conftest.err >&5
40842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40843 (exit $ac_status); } &&
40844 { ac_try='test -z "$ac_cxx_werror_flag"
40845 || test ! -s conftest.err'
40846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40847 (eval $ac_try) 2>&5
40848 ac_status=$?
40849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40850 (exit $ac_status); }; } &&
40851 { ac_try='test -s conftest.$ac_objext'
40852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40853 (eval $ac_try) 2>&5
40854 ac_status=$?
40855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40856 (exit $ac_status); }; }; then
40857 glibcxx_cv_func_modf_use=yes
40858 else
40859 echo "$as_me: failed program was:" >&5
40860 sed 's/^/| /' conftest.$ac_ext >&5
40862 glibcxx_cv_func_modf_use=no
40864 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40865 ac_ext=c
40866 ac_cpp='$CPP $CPPFLAGS'
40867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40875 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
40876 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
40878 if test x$glibcxx_cv_func_modf_use = x"yes"; then
40880 for ac_func in modf
40882 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40883 echo "$as_me:$LINENO: checking for $ac_func" >&5
40884 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40885 if eval "test \"\${$as_ac_var+set}\" = set"; then
40886 echo $ECHO_N "(cached) $ECHO_C" >&6
40887 else
40888 if test x$gcc_no_link = xyes; then
40889 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40890 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40891 { (exit 1); exit 1; }; }
40893 cat >conftest.$ac_ext <<_ACEOF
40894 /* confdefs.h. */
40895 _ACEOF
40896 cat confdefs.h >>conftest.$ac_ext
40897 cat >>conftest.$ac_ext <<_ACEOF
40898 /* end confdefs.h. */
40899 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40900 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40901 #define $ac_func innocuous_$ac_func
40903 /* System header to define __stub macros and hopefully few prototypes,
40904 which can conflict with char $ac_func (); below.
40905 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40906 <limits.h> exists even on freestanding compilers. */
40908 #ifdef __STDC__
40909 # include <limits.h>
40910 #else
40911 # include <assert.h>
40912 #endif
40914 #undef $ac_func
40916 /* Override any gcc2 internal prototype to avoid an error. */
40917 #ifdef __cplusplus
40918 extern "C"
40920 #endif
40921 /* We use char because int might match the return type of a gcc2
40922 builtin and then its argument prototype would still apply. */
40923 char $ac_func ();
40924 /* The GNU C library defines this for functions which it implements
40925 to always fail with ENOSYS. Some functions are actually named
40926 something starting with __ and the normal name is an alias. */
40927 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40928 choke me
40929 #else
40930 char (*f) () = $ac_func;
40931 #endif
40932 #ifdef __cplusplus
40934 #endif
40937 main ()
40939 return f != $ac_func;
40941 return 0;
40943 _ACEOF
40944 rm -f conftest.$ac_objext conftest$ac_exeext
40945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40946 (eval $ac_link) 2>conftest.er1
40947 ac_status=$?
40948 grep -v '^ *+' conftest.er1 >conftest.err
40949 rm -f conftest.er1
40950 cat conftest.err >&5
40951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40952 (exit $ac_status); } &&
40953 { ac_try='test -z "$ac_c_werror_flag"
40954 || test ! -s conftest.err'
40955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40956 (eval $ac_try) 2>&5
40957 ac_status=$?
40958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40959 (exit $ac_status); }; } &&
40960 { ac_try='test -s conftest$ac_exeext'
40961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40962 (eval $ac_try) 2>&5
40963 ac_status=$?
40964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40965 (exit $ac_status); }; }; then
40966 eval "$as_ac_var=yes"
40967 else
40968 echo "$as_me: failed program was:" >&5
40969 sed 's/^/| /' conftest.$ac_ext >&5
40971 eval "$as_ac_var=no"
40973 rm -f conftest.err conftest.$ac_objext \
40974 conftest$ac_exeext conftest.$ac_ext
40976 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40977 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40978 if test `eval echo '${'$as_ac_var'}'` = yes; then
40979 cat >>confdefs.h <<_ACEOF
40980 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40981 _ACEOF
40984 done
40986 else
40988 echo "$as_me:$LINENO: checking for _modf declaration" >&5
40989 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
40990 if test x${glibcxx_cv_func__modf_use+set} != xset; then
40991 if test "${glibcxx_cv_func__modf_use+set}" = set; then
40992 echo $ECHO_N "(cached) $ECHO_C" >&6
40993 else
40997 ac_ext=cc
40998 ac_cpp='$CXXCPP $CPPFLAGS'
40999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41003 cat >conftest.$ac_ext <<_ACEOF
41004 /* confdefs.h. */
41005 _ACEOF
41006 cat confdefs.h >>conftest.$ac_ext
41007 cat >>conftest.$ac_ext <<_ACEOF
41008 /* end confdefs.h. */
41009 #include <math.h>
41011 main ()
41013 _modf(0, 0);
41015 return 0;
41017 _ACEOF
41018 rm -f conftest.$ac_objext
41019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41020 (eval $ac_compile) 2>conftest.er1
41021 ac_status=$?
41022 grep -v '^ *+' conftest.er1 >conftest.err
41023 rm -f conftest.er1
41024 cat conftest.err >&5
41025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41026 (exit $ac_status); } &&
41027 { ac_try='test -z "$ac_cxx_werror_flag"
41028 || test ! -s conftest.err'
41029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41030 (eval $ac_try) 2>&5
41031 ac_status=$?
41032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41033 (exit $ac_status); }; } &&
41034 { ac_try='test -s conftest.$ac_objext'
41035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41036 (eval $ac_try) 2>&5
41037 ac_status=$?
41038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41039 (exit $ac_status); }; }; then
41040 glibcxx_cv_func__modf_use=yes
41041 else
41042 echo "$as_me: failed program was:" >&5
41043 sed 's/^/| /' conftest.$ac_ext >&5
41045 glibcxx_cv_func__modf_use=no
41047 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41048 ac_ext=c
41049 ac_cpp='$CPP $CPPFLAGS'
41050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41058 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
41059 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
41061 if test x$glibcxx_cv_func__modf_use = x"yes"; then
41063 for ac_func in _modf
41065 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41066 echo "$as_me:$LINENO: checking for $ac_func" >&5
41067 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41068 if eval "test \"\${$as_ac_var+set}\" = set"; then
41069 echo $ECHO_N "(cached) $ECHO_C" >&6
41070 else
41071 if test x$gcc_no_link = xyes; then
41072 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41073 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41074 { (exit 1); exit 1; }; }
41076 cat >conftest.$ac_ext <<_ACEOF
41077 /* confdefs.h. */
41078 _ACEOF
41079 cat confdefs.h >>conftest.$ac_ext
41080 cat >>conftest.$ac_ext <<_ACEOF
41081 /* end confdefs.h. */
41082 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41083 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41084 #define $ac_func innocuous_$ac_func
41086 /* System header to define __stub macros and hopefully few prototypes,
41087 which can conflict with char $ac_func (); below.
41088 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41089 <limits.h> exists even on freestanding compilers. */
41091 #ifdef __STDC__
41092 # include <limits.h>
41093 #else
41094 # include <assert.h>
41095 #endif
41097 #undef $ac_func
41099 /* Override any gcc2 internal prototype to avoid an error. */
41100 #ifdef __cplusplus
41101 extern "C"
41103 #endif
41104 /* We use char because int might match the return type of a gcc2
41105 builtin and then its argument prototype would still apply. */
41106 char $ac_func ();
41107 /* The GNU C library defines this for functions which it implements
41108 to always fail with ENOSYS. Some functions are actually named
41109 something starting with __ and the normal name is an alias. */
41110 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41111 choke me
41112 #else
41113 char (*f) () = $ac_func;
41114 #endif
41115 #ifdef __cplusplus
41117 #endif
41120 main ()
41122 return f != $ac_func;
41124 return 0;
41126 _ACEOF
41127 rm -f conftest.$ac_objext conftest$ac_exeext
41128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41129 (eval $ac_link) 2>conftest.er1
41130 ac_status=$?
41131 grep -v '^ *+' conftest.er1 >conftest.err
41132 rm -f conftest.er1
41133 cat conftest.err >&5
41134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41135 (exit $ac_status); } &&
41136 { ac_try='test -z "$ac_c_werror_flag"
41137 || test ! -s conftest.err'
41138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41139 (eval $ac_try) 2>&5
41140 ac_status=$?
41141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41142 (exit $ac_status); }; } &&
41143 { ac_try='test -s conftest$ac_exeext'
41144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41145 (eval $ac_try) 2>&5
41146 ac_status=$?
41147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41148 (exit $ac_status); }; }; then
41149 eval "$as_ac_var=yes"
41150 else
41151 echo "$as_me: failed program was:" >&5
41152 sed 's/^/| /' conftest.$ac_ext >&5
41154 eval "$as_ac_var=no"
41156 rm -f conftest.err conftest.$ac_objext \
41157 conftest$ac_exeext conftest.$ac_ext
41159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41160 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41161 if test `eval echo '${'$as_ac_var'}'` = yes; then
41162 cat >>confdefs.h <<_ACEOF
41163 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41164 _ACEOF
41167 done
41177 echo "$as_me:$LINENO: checking for powf declaration" >&5
41178 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
41179 if test x${glibcxx_cv_func_powf_use+set} != xset; then
41180 if test "${glibcxx_cv_func_powf_use+set}" = set; then
41181 echo $ECHO_N "(cached) $ECHO_C" >&6
41182 else
41186 ac_ext=cc
41187 ac_cpp='$CXXCPP $CPPFLAGS'
41188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41192 cat >conftest.$ac_ext <<_ACEOF
41193 /* confdefs.h. */
41194 _ACEOF
41195 cat confdefs.h >>conftest.$ac_ext
41196 cat >>conftest.$ac_ext <<_ACEOF
41197 /* end confdefs.h. */
41198 #include <math.h>
41200 main ()
41202 powf(0, 0);
41204 return 0;
41206 _ACEOF
41207 rm -f conftest.$ac_objext
41208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41209 (eval $ac_compile) 2>conftest.er1
41210 ac_status=$?
41211 grep -v '^ *+' conftest.er1 >conftest.err
41212 rm -f conftest.er1
41213 cat conftest.err >&5
41214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41215 (exit $ac_status); } &&
41216 { ac_try='test -z "$ac_cxx_werror_flag"
41217 || test ! -s conftest.err'
41218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41219 (eval $ac_try) 2>&5
41220 ac_status=$?
41221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41222 (exit $ac_status); }; } &&
41223 { ac_try='test -s conftest.$ac_objext'
41224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41225 (eval $ac_try) 2>&5
41226 ac_status=$?
41227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41228 (exit $ac_status); }; }; then
41229 glibcxx_cv_func_powf_use=yes
41230 else
41231 echo "$as_me: failed program was:" >&5
41232 sed 's/^/| /' conftest.$ac_ext >&5
41234 glibcxx_cv_func_powf_use=no
41236 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41237 ac_ext=c
41238 ac_cpp='$CPP $CPPFLAGS'
41239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41247 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
41248 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
41250 if test x$glibcxx_cv_func_powf_use = x"yes"; then
41252 for ac_func in powf
41254 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41255 echo "$as_me:$LINENO: checking for $ac_func" >&5
41256 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41257 if eval "test \"\${$as_ac_var+set}\" = set"; then
41258 echo $ECHO_N "(cached) $ECHO_C" >&6
41259 else
41260 if test x$gcc_no_link = xyes; then
41261 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41262 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41263 { (exit 1); exit 1; }; }
41265 cat >conftest.$ac_ext <<_ACEOF
41266 /* confdefs.h. */
41267 _ACEOF
41268 cat confdefs.h >>conftest.$ac_ext
41269 cat >>conftest.$ac_ext <<_ACEOF
41270 /* end confdefs.h. */
41271 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41272 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41273 #define $ac_func innocuous_$ac_func
41275 /* System header to define __stub macros and hopefully few prototypes,
41276 which can conflict with char $ac_func (); below.
41277 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41278 <limits.h> exists even on freestanding compilers. */
41280 #ifdef __STDC__
41281 # include <limits.h>
41282 #else
41283 # include <assert.h>
41284 #endif
41286 #undef $ac_func
41288 /* Override any gcc2 internal prototype to avoid an error. */
41289 #ifdef __cplusplus
41290 extern "C"
41292 #endif
41293 /* We use char because int might match the return type of a gcc2
41294 builtin and then its argument prototype would still apply. */
41295 char $ac_func ();
41296 /* The GNU C library defines this for functions which it implements
41297 to always fail with ENOSYS. Some functions are actually named
41298 something starting with __ and the normal name is an alias. */
41299 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41300 choke me
41301 #else
41302 char (*f) () = $ac_func;
41303 #endif
41304 #ifdef __cplusplus
41306 #endif
41309 main ()
41311 return f != $ac_func;
41313 return 0;
41315 _ACEOF
41316 rm -f conftest.$ac_objext conftest$ac_exeext
41317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41318 (eval $ac_link) 2>conftest.er1
41319 ac_status=$?
41320 grep -v '^ *+' conftest.er1 >conftest.err
41321 rm -f conftest.er1
41322 cat conftest.err >&5
41323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41324 (exit $ac_status); } &&
41325 { ac_try='test -z "$ac_c_werror_flag"
41326 || test ! -s conftest.err'
41327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41328 (eval $ac_try) 2>&5
41329 ac_status=$?
41330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41331 (exit $ac_status); }; } &&
41332 { ac_try='test -s conftest$ac_exeext'
41333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41334 (eval $ac_try) 2>&5
41335 ac_status=$?
41336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41337 (exit $ac_status); }; }; then
41338 eval "$as_ac_var=yes"
41339 else
41340 echo "$as_me: failed program was:" >&5
41341 sed 's/^/| /' conftest.$ac_ext >&5
41343 eval "$as_ac_var=no"
41345 rm -f conftest.err conftest.$ac_objext \
41346 conftest$ac_exeext conftest.$ac_ext
41348 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41349 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41350 if test `eval echo '${'$as_ac_var'}'` = yes; then
41351 cat >>confdefs.h <<_ACEOF
41352 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41353 _ACEOF
41356 done
41358 else
41360 echo "$as_me:$LINENO: checking for _powf declaration" >&5
41361 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
41362 if test x${glibcxx_cv_func__powf_use+set} != xset; then
41363 if test "${glibcxx_cv_func__powf_use+set}" = set; then
41364 echo $ECHO_N "(cached) $ECHO_C" >&6
41365 else
41369 ac_ext=cc
41370 ac_cpp='$CXXCPP $CPPFLAGS'
41371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41375 cat >conftest.$ac_ext <<_ACEOF
41376 /* confdefs.h. */
41377 _ACEOF
41378 cat confdefs.h >>conftest.$ac_ext
41379 cat >>conftest.$ac_ext <<_ACEOF
41380 /* end confdefs.h. */
41381 #include <math.h>
41383 main ()
41385 _powf(0, 0);
41387 return 0;
41389 _ACEOF
41390 rm -f conftest.$ac_objext
41391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41392 (eval $ac_compile) 2>conftest.er1
41393 ac_status=$?
41394 grep -v '^ *+' conftest.er1 >conftest.err
41395 rm -f conftest.er1
41396 cat conftest.err >&5
41397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41398 (exit $ac_status); } &&
41399 { ac_try='test -z "$ac_cxx_werror_flag"
41400 || test ! -s conftest.err'
41401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41402 (eval $ac_try) 2>&5
41403 ac_status=$?
41404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41405 (exit $ac_status); }; } &&
41406 { ac_try='test -s conftest.$ac_objext'
41407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41408 (eval $ac_try) 2>&5
41409 ac_status=$?
41410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41411 (exit $ac_status); }; }; then
41412 glibcxx_cv_func__powf_use=yes
41413 else
41414 echo "$as_me: failed program was:" >&5
41415 sed 's/^/| /' conftest.$ac_ext >&5
41417 glibcxx_cv_func__powf_use=no
41419 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41420 ac_ext=c
41421 ac_cpp='$CPP $CPPFLAGS'
41422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41430 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
41431 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
41433 if test x$glibcxx_cv_func__powf_use = x"yes"; then
41435 for ac_func in _powf
41437 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41438 echo "$as_me:$LINENO: checking for $ac_func" >&5
41439 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41440 if eval "test \"\${$as_ac_var+set}\" = set"; then
41441 echo $ECHO_N "(cached) $ECHO_C" >&6
41442 else
41443 if test x$gcc_no_link = xyes; then
41444 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41445 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41446 { (exit 1); exit 1; }; }
41448 cat >conftest.$ac_ext <<_ACEOF
41449 /* confdefs.h. */
41450 _ACEOF
41451 cat confdefs.h >>conftest.$ac_ext
41452 cat >>conftest.$ac_ext <<_ACEOF
41453 /* end confdefs.h. */
41454 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41455 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41456 #define $ac_func innocuous_$ac_func
41458 /* System header to define __stub macros and hopefully few prototypes,
41459 which can conflict with char $ac_func (); below.
41460 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41461 <limits.h> exists even on freestanding compilers. */
41463 #ifdef __STDC__
41464 # include <limits.h>
41465 #else
41466 # include <assert.h>
41467 #endif
41469 #undef $ac_func
41471 /* Override any gcc2 internal prototype to avoid an error. */
41472 #ifdef __cplusplus
41473 extern "C"
41475 #endif
41476 /* We use char because int might match the return type of a gcc2
41477 builtin and then its argument prototype would still apply. */
41478 char $ac_func ();
41479 /* The GNU C library defines this for functions which it implements
41480 to always fail with ENOSYS. Some functions are actually named
41481 something starting with __ and the normal name is an alias. */
41482 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41483 choke me
41484 #else
41485 char (*f) () = $ac_func;
41486 #endif
41487 #ifdef __cplusplus
41489 #endif
41492 main ()
41494 return f != $ac_func;
41496 return 0;
41498 _ACEOF
41499 rm -f conftest.$ac_objext conftest$ac_exeext
41500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41501 (eval $ac_link) 2>conftest.er1
41502 ac_status=$?
41503 grep -v '^ *+' conftest.er1 >conftest.err
41504 rm -f conftest.er1
41505 cat conftest.err >&5
41506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41507 (exit $ac_status); } &&
41508 { ac_try='test -z "$ac_c_werror_flag"
41509 || test ! -s conftest.err'
41510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41511 (eval $ac_try) 2>&5
41512 ac_status=$?
41513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41514 (exit $ac_status); }; } &&
41515 { ac_try='test -s conftest$ac_exeext'
41516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41517 (eval $ac_try) 2>&5
41518 ac_status=$?
41519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41520 (exit $ac_status); }; }; then
41521 eval "$as_ac_var=yes"
41522 else
41523 echo "$as_me: failed program was:" >&5
41524 sed 's/^/| /' conftest.$ac_ext >&5
41526 eval "$as_ac_var=no"
41528 rm -f conftest.err conftest.$ac_objext \
41529 conftest$ac_exeext conftest.$ac_ext
41531 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41532 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41533 if test `eval echo '${'$as_ac_var'}'` = yes; then
41534 cat >>confdefs.h <<_ACEOF
41535 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41536 _ACEOF
41539 done
41549 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
41550 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
41551 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
41552 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
41553 echo $ECHO_N "(cached) $ECHO_C" >&6
41554 else
41558 ac_ext=cc
41559 ac_cpp='$CXXCPP $CPPFLAGS'
41560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41564 cat >conftest.$ac_ext <<_ACEOF
41565 /* confdefs.h. */
41566 _ACEOF
41567 cat confdefs.h >>conftest.$ac_ext
41568 cat >>conftest.$ac_ext <<_ACEOF
41569 /* end confdefs.h. */
41570 #include <math.h>
41571 #ifdef HAVE_IEEEFP_H
41572 #include <ieeefp.h>
41573 #endif
41576 main ()
41578 sqrtf(0);
41580 return 0;
41582 _ACEOF
41583 rm -f conftest.$ac_objext
41584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41585 (eval $ac_compile) 2>conftest.er1
41586 ac_status=$?
41587 grep -v '^ *+' conftest.er1 >conftest.err
41588 rm -f conftest.er1
41589 cat conftest.err >&5
41590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41591 (exit $ac_status); } &&
41592 { ac_try='test -z "$ac_cxx_werror_flag"
41593 || test ! -s conftest.err'
41594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41595 (eval $ac_try) 2>&5
41596 ac_status=$?
41597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41598 (exit $ac_status); }; } &&
41599 { ac_try='test -s conftest.$ac_objext'
41600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41601 (eval $ac_try) 2>&5
41602 ac_status=$?
41603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41604 (exit $ac_status); }; }; then
41605 glibcxx_cv_func_sqrtf_use=yes
41606 else
41607 echo "$as_me: failed program was:" >&5
41608 sed 's/^/| /' conftest.$ac_ext >&5
41610 glibcxx_cv_func_sqrtf_use=no
41612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41613 ac_ext=c
41614 ac_cpp='$CPP $CPPFLAGS'
41615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41623 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
41624 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
41626 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
41628 for ac_func in sqrtf
41630 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41631 echo "$as_me:$LINENO: checking for $ac_func" >&5
41632 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41633 if eval "test \"\${$as_ac_var+set}\" = set"; then
41634 echo $ECHO_N "(cached) $ECHO_C" >&6
41635 else
41636 if test x$gcc_no_link = xyes; then
41637 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41639 { (exit 1); exit 1; }; }
41641 cat >conftest.$ac_ext <<_ACEOF
41642 /* confdefs.h. */
41643 _ACEOF
41644 cat confdefs.h >>conftest.$ac_ext
41645 cat >>conftest.$ac_ext <<_ACEOF
41646 /* end confdefs.h. */
41647 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41649 #define $ac_func innocuous_$ac_func
41651 /* System header to define __stub macros and hopefully few prototypes,
41652 which can conflict with char $ac_func (); below.
41653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41654 <limits.h> exists even on freestanding compilers. */
41656 #ifdef __STDC__
41657 # include <limits.h>
41658 #else
41659 # include <assert.h>
41660 #endif
41662 #undef $ac_func
41664 /* Override any gcc2 internal prototype to avoid an error. */
41665 #ifdef __cplusplus
41666 extern "C"
41668 #endif
41669 /* We use char because int might match the return type of a gcc2
41670 builtin and then its argument prototype would still apply. */
41671 char $ac_func ();
41672 /* The GNU C library defines this for functions which it implements
41673 to always fail with ENOSYS. Some functions are actually named
41674 something starting with __ and the normal name is an alias. */
41675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41676 choke me
41677 #else
41678 char (*f) () = $ac_func;
41679 #endif
41680 #ifdef __cplusplus
41682 #endif
41685 main ()
41687 return f != $ac_func;
41689 return 0;
41691 _ACEOF
41692 rm -f conftest.$ac_objext conftest$ac_exeext
41693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41694 (eval $ac_link) 2>conftest.er1
41695 ac_status=$?
41696 grep -v '^ *+' conftest.er1 >conftest.err
41697 rm -f conftest.er1
41698 cat conftest.err >&5
41699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41700 (exit $ac_status); } &&
41701 { ac_try='test -z "$ac_c_werror_flag"
41702 || test ! -s conftest.err'
41703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41704 (eval $ac_try) 2>&5
41705 ac_status=$?
41706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41707 (exit $ac_status); }; } &&
41708 { ac_try='test -s conftest$ac_exeext'
41709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41710 (eval $ac_try) 2>&5
41711 ac_status=$?
41712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41713 (exit $ac_status); }; }; then
41714 eval "$as_ac_var=yes"
41715 else
41716 echo "$as_me: failed program was:" >&5
41717 sed 's/^/| /' conftest.$ac_ext >&5
41719 eval "$as_ac_var=no"
41721 rm -f conftest.err conftest.$ac_objext \
41722 conftest$ac_exeext conftest.$ac_ext
41724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41725 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41726 if test `eval echo '${'$as_ac_var'}'` = yes; then
41727 cat >>confdefs.h <<_ACEOF
41728 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41729 _ACEOF
41732 done
41734 else
41736 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
41737 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
41738 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
41739 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
41740 echo $ECHO_N "(cached) $ECHO_C" >&6
41741 else
41745 ac_ext=cc
41746 ac_cpp='$CXXCPP $CPPFLAGS'
41747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41751 cat >conftest.$ac_ext <<_ACEOF
41752 /* confdefs.h. */
41753 _ACEOF
41754 cat confdefs.h >>conftest.$ac_ext
41755 cat >>conftest.$ac_ext <<_ACEOF
41756 /* end confdefs.h. */
41757 #include <math.h>
41758 #ifdef HAVE_IEEEFP_H
41759 #include <ieeefp.h>
41760 #endif
41763 main ()
41765 _sqrtf(0);
41767 return 0;
41769 _ACEOF
41770 rm -f conftest.$ac_objext
41771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41772 (eval $ac_compile) 2>conftest.er1
41773 ac_status=$?
41774 grep -v '^ *+' conftest.er1 >conftest.err
41775 rm -f conftest.er1
41776 cat conftest.err >&5
41777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41778 (exit $ac_status); } &&
41779 { ac_try='test -z "$ac_cxx_werror_flag"
41780 || test ! -s conftest.err'
41781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41782 (eval $ac_try) 2>&5
41783 ac_status=$?
41784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41785 (exit $ac_status); }; } &&
41786 { ac_try='test -s conftest.$ac_objext'
41787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41788 (eval $ac_try) 2>&5
41789 ac_status=$?
41790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41791 (exit $ac_status); }; }; then
41792 glibcxx_cv_func__sqrtf_use=yes
41793 else
41794 echo "$as_me: failed program was:" >&5
41795 sed 's/^/| /' conftest.$ac_ext >&5
41797 glibcxx_cv_func__sqrtf_use=no
41799 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41800 ac_ext=c
41801 ac_cpp='$CPP $CPPFLAGS'
41802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41810 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
41811 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
41813 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
41815 for ac_func in _sqrtf
41817 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41818 echo "$as_me:$LINENO: checking for $ac_func" >&5
41819 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41820 if eval "test \"\${$as_ac_var+set}\" = set"; then
41821 echo $ECHO_N "(cached) $ECHO_C" >&6
41822 else
41823 if test x$gcc_no_link = xyes; then
41824 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41825 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41826 { (exit 1); exit 1; }; }
41828 cat >conftest.$ac_ext <<_ACEOF
41829 /* confdefs.h. */
41830 _ACEOF
41831 cat confdefs.h >>conftest.$ac_ext
41832 cat >>conftest.$ac_ext <<_ACEOF
41833 /* end confdefs.h. */
41834 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41835 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41836 #define $ac_func innocuous_$ac_func
41838 /* System header to define __stub macros and hopefully few prototypes,
41839 which can conflict with char $ac_func (); below.
41840 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41841 <limits.h> exists even on freestanding compilers. */
41843 #ifdef __STDC__
41844 # include <limits.h>
41845 #else
41846 # include <assert.h>
41847 #endif
41849 #undef $ac_func
41851 /* Override any gcc2 internal prototype to avoid an error. */
41852 #ifdef __cplusplus
41853 extern "C"
41855 #endif
41856 /* We use char because int might match the return type of a gcc2
41857 builtin and then its argument prototype would still apply. */
41858 char $ac_func ();
41859 /* The GNU C library defines this for functions which it implements
41860 to always fail with ENOSYS. Some functions are actually named
41861 something starting with __ and the normal name is an alias. */
41862 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41863 choke me
41864 #else
41865 char (*f) () = $ac_func;
41866 #endif
41867 #ifdef __cplusplus
41869 #endif
41872 main ()
41874 return f != $ac_func;
41876 return 0;
41878 _ACEOF
41879 rm -f conftest.$ac_objext conftest$ac_exeext
41880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41881 (eval $ac_link) 2>conftest.er1
41882 ac_status=$?
41883 grep -v '^ *+' conftest.er1 >conftest.err
41884 rm -f conftest.er1
41885 cat conftest.err >&5
41886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41887 (exit $ac_status); } &&
41888 { ac_try='test -z "$ac_c_werror_flag"
41889 || test ! -s conftest.err'
41890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41891 (eval $ac_try) 2>&5
41892 ac_status=$?
41893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41894 (exit $ac_status); }; } &&
41895 { ac_try='test -s conftest$ac_exeext'
41896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41897 (eval $ac_try) 2>&5
41898 ac_status=$?
41899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41900 (exit $ac_status); }; }; then
41901 eval "$as_ac_var=yes"
41902 else
41903 echo "$as_me: failed program was:" >&5
41904 sed 's/^/| /' conftest.$ac_ext >&5
41906 eval "$as_ac_var=no"
41908 rm -f conftest.err conftest.$ac_objext \
41909 conftest$ac_exeext conftest.$ac_ext
41911 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41912 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41913 if test `eval echo '${'$as_ac_var'}'` = yes; then
41914 cat >>confdefs.h <<_ACEOF
41915 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41916 _ACEOF
41919 done
41929 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
41930 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
41931 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
41932 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
41933 echo $ECHO_N "(cached) $ECHO_C" >&6
41934 else
41938 ac_ext=cc
41939 ac_cpp='$CXXCPP $CPPFLAGS'
41940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41944 cat >conftest.$ac_ext <<_ACEOF
41945 /* confdefs.h. */
41946 _ACEOF
41947 cat confdefs.h >>conftest.$ac_ext
41948 cat >>conftest.$ac_ext <<_ACEOF
41949 /* end confdefs.h. */
41950 #include <math.h>
41952 main ()
41954 sincosf(0, 0, 0);
41956 return 0;
41958 _ACEOF
41959 rm -f conftest.$ac_objext
41960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41961 (eval $ac_compile) 2>conftest.er1
41962 ac_status=$?
41963 grep -v '^ *+' conftest.er1 >conftest.err
41964 rm -f conftest.er1
41965 cat conftest.err >&5
41966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41967 (exit $ac_status); } &&
41968 { ac_try='test -z "$ac_cxx_werror_flag"
41969 || test ! -s conftest.err'
41970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41971 (eval $ac_try) 2>&5
41972 ac_status=$?
41973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41974 (exit $ac_status); }; } &&
41975 { ac_try='test -s conftest.$ac_objext'
41976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41977 (eval $ac_try) 2>&5
41978 ac_status=$?
41979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41980 (exit $ac_status); }; }; then
41981 glibcxx_cv_func_sincosf_use=yes
41982 else
41983 echo "$as_me: failed program was:" >&5
41984 sed 's/^/| /' conftest.$ac_ext >&5
41986 glibcxx_cv_func_sincosf_use=no
41988 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41989 ac_ext=c
41990 ac_cpp='$CPP $CPPFLAGS'
41991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41999 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
42000 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
42002 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
42004 for ac_func in sincosf
42006 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42007 echo "$as_me:$LINENO: checking for $ac_func" >&5
42008 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42009 if eval "test \"\${$as_ac_var+set}\" = set"; then
42010 echo $ECHO_N "(cached) $ECHO_C" >&6
42011 else
42012 if test x$gcc_no_link = xyes; then
42013 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42014 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42015 { (exit 1); exit 1; }; }
42017 cat >conftest.$ac_ext <<_ACEOF
42018 /* confdefs.h. */
42019 _ACEOF
42020 cat confdefs.h >>conftest.$ac_ext
42021 cat >>conftest.$ac_ext <<_ACEOF
42022 /* end confdefs.h. */
42023 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42024 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42025 #define $ac_func innocuous_$ac_func
42027 /* System header to define __stub macros and hopefully few prototypes,
42028 which can conflict with char $ac_func (); below.
42029 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42030 <limits.h> exists even on freestanding compilers. */
42032 #ifdef __STDC__
42033 # include <limits.h>
42034 #else
42035 # include <assert.h>
42036 #endif
42038 #undef $ac_func
42040 /* Override any gcc2 internal prototype to avoid an error. */
42041 #ifdef __cplusplus
42042 extern "C"
42044 #endif
42045 /* We use char because int might match the return type of a gcc2
42046 builtin and then its argument prototype would still apply. */
42047 char $ac_func ();
42048 /* The GNU C library defines this for functions which it implements
42049 to always fail with ENOSYS. Some functions are actually named
42050 something starting with __ and the normal name is an alias. */
42051 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42052 choke me
42053 #else
42054 char (*f) () = $ac_func;
42055 #endif
42056 #ifdef __cplusplus
42058 #endif
42061 main ()
42063 return f != $ac_func;
42065 return 0;
42067 _ACEOF
42068 rm -f conftest.$ac_objext conftest$ac_exeext
42069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42070 (eval $ac_link) 2>conftest.er1
42071 ac_status=$?
42072 grep -v '^ *+' conftest.er1 >conftest.err
42073 rm -f conftest.er1
42074 cat conftest.err >&5
42075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42076 (exit $ac_status); } &&
42077 { ac_try='test -z "$ac_c_werror_flag"
42078 || test ! -s conftest.err'
42079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42080 (eval $ac_try) 2>&5
42081 ac_status=$?
42082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42083 (exit $ac_status); }; } &&
42084 { ac_try='test -s conftest$ac_exeext'
42085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42086 (eval $ac_try) 2>&5
42087 ac_status=$?
42088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42089 (exit $ac_status); }; }; then
42090 eval "$as_ac_var=yes"
42091 else
42092 echo "$as_me: failed program was:" >&5
42093 sed 's/^/| /' conftest.$ac_ext >&5
42095 eval "$as_ac_var=no"
42097 rm -f conftest.err conftest.$ac_objext \
42098 conftest$ac_exeext conftest.$ac_ext
42100 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42101 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42102 if test `eval echo '${'$as_ac_var'}'` = yes; then
42103 cat >>confdefs.h <<_ACEOF
42104 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42105 _ACEOF
42108 done
42110 else
42112 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
42113 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
42114 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
42115 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
42116 echo $ECHO_N "(cached) $ECHO_C" >&6
42117 else
42121 ac_ext=cc
42122 ac_cpp='$CXXCPP $CPPFLAGS'
42123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42127 cat >conftest.$ac_ext <<_ACEOF
42128 /* confdefs.h. */
42129 _ACEOF
42130 cat confdefs.h >>conftest.$ac_ext
42131 cat >>conftest.$ac_ext <<_ACEOF
42132 /* end confdefs.h. */
42133 #include <math.h>
42135 main ()
42137 _sincosf(0, 0, 0);
42139 return 0;
42141 _ACEOF
42142 rm -f conftest.$ac_objext
42143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42144 (eval $ac_compile) 2>conftest.er1
42145 ac_status=$?
42146 grep -v '^ *+' conftest.er1 >conftest.err
42147 rm -f conftest.er1
42148 cat conftest.err >&5
42149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42150 (exit $ac_status); } &&
42151 { ac_try='test -z "$ac_cxx_werror_flag"
42152 || test ! -s conftest.err'
42153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42154 (eval $ac_try) 2>&5
42155 ac_status=$?
42156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42157 (exit $ac_status); }; } &&
42158 { ac_try='test -s conftest.$ac_objext'
42159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42160 (eval $ac_try) 2>&5
42161 ac_status=$?
42162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42163 (exit $ac_status); }; }; then
42164 glibcxx_cv_func__sincosf_use=yes
42165 else
42166 echo "$as_me: failed program was:" >&5
42167 sed 's/^/| /' conftest.$ac_ext >&5
42169 glibcxx_cv_func__sincosf_use=no
42171 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42172 ac_ext=c
42173 ac_cpp='$CPP $CPPFLAGS'
42174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42182 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
42183 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
42185 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
42187 for ac_func in _sincosf
42189 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42190 echo "$as_me:$LINENO: checking for $ac_func" >&5
42191 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42192 if eval "test \"\${$as_ac_var+set}\" = set"; then
42193 echo $ECHO_N "(cached) $ECHO_C" >&6
42194 else
42195 if test x$gcc_no_link = xyes; then
42196 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42197 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42198 { (exit 1); exit 1; }; }
42200 cat >conftest.$ac_ext <<_ACEOF
42201 /* confdefs.h. */
42202 _ACEOF
42203 cat confdefs.h >>conftest.$ac_ext
42204 cat >>conftest.$ac_ext <<_ACEOF
42205 /* end confdefs.h. */
42206 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42207 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42208 #define $ac_func innocuous_$ac_func
42210 /* System header to define __stub macros and hopefully few prototypes,
42211 which can conflict with char $ac_func (); below.
42212 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42213 <limits.h> exists even on freestanding compilers. */
42215 #ifdef __STDC__
42216 # include <limits.h>
42217 #else
42218 # include <assert.h>
42219 #endif
42221 #undef $ac_func
42223 /* Override any gcc2 internal prototype to avoid an error. */
42224 #ifdef __cplusplus
42225 extern "C"
42227 #endif
42228 /* We use char because int might match the return type of a gcc2
42229 builtin and then its argument prototype would still apply. */
42230 char $ac_func ();
42231 /* The GNU C library defines this for functions which it implements
42232 to always fail with ENOSYS. Some functions are actually named
42233 something starting with __ and the normal name is an alias. */
42234 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42235 choke me
42236 #else
42237 char (*f) () = $ac_func;
42238 #endif
42239 #ifdef __cplusplus
42241 #endif
42244 main ()
42246 return f != $ac_func;
42248 return 0;
42250 _ACEOF
42251 rm -f conftest.$ac_objext conftest$ac_exeext
42252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42253 (eval $ac_link) 2>conftest.er1
42254 ac_status=$?
42255 grep -v '^ *+' conftest.er1 >conftest.err
42256 rm -f conftest.er1
42257 cat conftest.err >&5
42258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42259 (exit $ac_status); } &&
42260 { ac_try='test -z "$ac_c_werror_flag"
42261 || test ! -s conftest.err'
42262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42263 (eval $ac_try) 2>&5
42264 ac_status=$?
42265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42266 (exit $ac_status); }; } &&
42267 { ac_try='test -s conftest$ac_exeext'
42268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42269 (eval $ac_try) 2>&5
42270 ac_status=$?
42271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42272 (exit $ac_status); }; }; then
42273 eval "$as_ac_var=yes"
42274 else
42275 echo "$as_me: failed program was:" >&5
42276 sed 's/^/| /' conftest.$ac_ext >&5
42278 eval "$as_ac_var=no"
42280 rm -f conftest.err conftest.$ac_objext \
42281 conftest$ac_exeext conftest.$ac_ext
42283 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42284 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42285 if test `eval echo '${'$as_ac_var'}'` = yes; then
42286 cat >>confdefs.h <<_ACEOF
42287 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42288 _ACEOF
42291 done
42301 echo "$as_me:$LINENO: checking for finitef declaration" >&5
42302 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
42303 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
42304 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
42305 echo $ECHO_N "(cached) $ECHO_C" >&6
42306 else
42310 ac_ext=cc
42311 ac_cpp='$CXXCPP $CPPFLAGS'
42312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42316 cat >conftest.$ac_ext <<_ACEOF
42317 /* confdefs.h. */
42318 _ACEOF
42319 cat confdefs.h >>conftest.$ac_ext
42320 cat >>conftest.$ac_ext <<_ACEOF
42321 /* end confdefs.h. */
42322 #include <math.h>
42323 #ifdef HAVE_IEEEFP_H
42324 #include <ieeefp.h>
42325 #endif
42328 main ()
42330 finitef(0);
42332 return 0;
42334 _ACEOF
42335 rm -f conftest.$ac_objext
42336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42337 (eval $ac_compile) 2>conftest.er1
42338 ac_status=$?
42339 grep -v '^ *+' conftest.er1 >conftest.err
42340 rm -f conftest.er1
42341 cat conftest.err >&5
42342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42343 (exit $ac_status); } &&
42344 { ac_try='test -z "$ac_cxx_werror_flag"
42345 || test ! -s conftest.err'
42346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42347 (eval $ac_try) 2>&5
42348 ac_status=$?
42349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42350 (exit $ac_status); }; } &&
42351 { ac_try='test -s conftest.$ac_objext'
42352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42353 (eval $ac_try) 2>&5
42354 ac_status=$?
42355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42356 (exit $ac_status); }; }; then
42357 glibcxx_cv_func_finitef_use=yes
42358 else
42359 echo "$as_me: failed program was:" >&5
42360 sed 's/^/| /' conftest.$ac_ext >&5
42362 glibcxx_cv_func_finitef_use=no
42364 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42365 ac_ext=c
42366 ac_cpp='$CPP $CPPFLAGS'
42367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42375 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
42376 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
42378 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
42380 for ac_func in finitef
42382 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42383 echo "$as_me:$LINENO: checking for $ac_func" >&5
42384 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42385 if eval "test \"\${$as_ac_var+set}\" = set"; then
42386 echo $ECHO_N "(cached) $ECHO_C" >&6
42387 else
42388 if test x$gcc_no_link = xyes; then
42389 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42390 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42391 { (exit 1); exit 1; }; }
42393 cat >conftest.$ac_ext <<_ACEOF
42394 /* confdefs.h. */
42395 _ACEOF
42396 cat confdefs.h >>conftest.$ac_ext
42397 cat >>conftest.$ac_ext <<_ACEOF
42398 /* end confdefs.h. */
42399 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42400 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42401 #define $ac_func innocuous_$ac_func
42403 /* System header to define __stub macros and hopefully few prototypes,
42404 which can conflict with char $ac_func (); below.
42405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42406 <limits.h> exists even on freestanding compilers. */
42408 #ifdef __STDC__
42409 # include <limits.h>
42410 #else
42411 # include <assert.h>
42412 #endif
42414 #undef $ac_func
42416 /* Override any gcc2 internal prototype to avoid an error. */
42417 #ifdef __cplusplus
42418 extern "C"
42420 #endif
42421 /* We use char because int might match the return type of a gcc2
42422 builtin and then its argument prototype would still apply. */
42423 char $ac_func ();
42424 /* The GNU C library defines this for functions which it implements
42425 to always fail with ENOSYS. Some functions are actually named
42426 something starting with __ and the normal name is an alias. */
42427 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42428 choke me
42429 #else
42430 char (*f) () = $ac_func;
42431 #endif
42432 #ifdef __cplusplus
42434 #endif
42437 main ()
42439 return f != $ac_func;
42441 return 0;
42443 _ACEOF
42444 rm -f conftest.$ac_objext conftest$ac_exeext
42445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42446 (eval $ac_link) 2>conftest.er1
42447 ac_status=$?
42448 grep -v '^ *+' conftest.er1 >conftest.err
42449 rm -f conftest.er1
42450 cat conftest.err >&5
42451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42452 (exit $ac_status); } &&
42453 { ac_try='test -z "$ac_c_werror_flag"
42454 || test ! -s conftest.err'
42455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42456 (eval $ac_try) 2>&5
42457 ac_status=$?
42458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42459 (exit $ac_status); }; } &&
42460 { ac_try='test -s conftest$ac_exeext'
42461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42462 (eval $ac_try) 2>&5
42463 ac_status=$?
42464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42465 (exit $ac_status); }; }; then
42466 eval "$as_ac_var=yes"
42467 else
42468 echo "$as_me: failed program was:" >&5
42469 sed 's/^/| /' conftest.$ac_ext >&5
42471 eval "$as_ac_var=no"
42473 rm -f conftest.err conftest.$ac_objext \
42474 conftest$ac_exeext conftest.$ac_ext
42476 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42477 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42478 if test `eval echo '${'$as_ac_var'}'` = yes; then
42479 cat >>confdefs.h <<_ACEOF
42480 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42481 _ACEOF
42484 done
42486 else
42488 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
42489 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
42490 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
42491 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
42492 echo $ECHO_N "(cached) $ECHO_C" >&6
42493 else
42497 ac_ext=cc
42498 ac_cpp='$CXXCPP $CPPFLAGS'
42499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42503 cat >conftest.$ac_ext <<_ACEOF
42504 /* confdefs.h. */
42505 _ACEOF
42506 cat confdefs.h >>conftest.$ac_ext
42507 cat >>conftest.$ac_ext <<_ACEOF
42508 /* end confdefs.h. */
42509 #include <math.h>
42510 #ifdef HAVE_IEEEFP_H
42511 #include <ieeefp.h>
42512 #endif
42515 main ()
42517 _finitef(0);
42519 return 0;
42521 _ACEOF
42522 rm -f conftest.$ac_objext
42523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42524 (eval $ac_compile) 2>conftest.er1
42525 ac_status=$?
42526 grep -v '^ *+' conftest.er1 >conftest.err
42527 rm -f conftest.er1
42528 cat conftest.err >&5
42529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42530 (exit $ac_status); } &&
42531 { ac_try='test -z "$ac_cxx_werror_flag"
42532 || test ! -s conftest.err'
42533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42534 (eval $ac_try) 2>&5
42535 ac_status=$?
42536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42537 (exit $ac_status); }; } &&
42538 { ac_try='test -s conftest.$ac_objext'
42539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42540 (eval $ac_try) 2>&5
42541 ac_status=$?
42542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42543 (exit $ac_status); }; }; then
42544 glibcxx_cv_func__finitef_use=yes
42545 else
42546 echo "$as_me: failed program was:" >&5
42547 sed 's/^/| /' conftest.$ac_ext >&5
42549 glibcxx_cv_func__finitef_use=no
42551 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42552 ac_ext=c
42553 ac_cpp='$CPP $CPPFLAGS'
42554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42562 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
42563 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
42565 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
42567 for ac_func in _finitef
42569 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42570 echo "$as_me:$LINENO: checking for $ac_func" >&5
42571 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42572 if eval "test \"\${$as_ac_var+set}\" = set"; then
42573 echo $ECHO_N "(cached) $ECHO_C" >&6
42574 else
42575 if test x$gcc_no_link = xyes; then
42576 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42577 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42578 { (exit 1); exit 1; }; }
42580 cat >conftest.$ac_ext <<_ACEOF
42581 /* confdefs.h. */
42582 _ACEOF
42583 cat confdefs.h >>conftest.$ac_ext
42584 cat >>conftest.$ac_ext <<_ACEOF
42585 /* end confdefs.h. */
42586 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42587 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42588 #define $ac_func innocuous_$ac_func
42590 /* System header to define __stub macros and hopefully few prototypes,
42591 which can conflict with char $ac_func (); below.
42592 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42593 <limits.h> exists even on freestanding compilers. */
42595 #ifdef __STDC__
42596 # include <limits.h>
42597 #else
42598 # include <assert.h>
42599 #endif
42601 #undef $ac_func
42603 /* Override any gcc2 internal prototype to avoid an error. */
42604 #ifdef __cplusplus
42605 extern "C"
42607 #endif
42608 /* We use char because int might match the return type of a gcc2
42609 builtin and then its argument prototype would still apply. */
42610 char $ac_func ();
42611 /* The GNU C library defines this for functions which it implements
42612 to always fail with ENOSYS. Some functions are actually named
42613 something starting with __ and the normal name is an alias. */
42614 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42615 choke me
42616 #else
42617 char (*f) () = $ac_func;
42618 #endif
42619 #ifdef __cplusplus
42621 #endif
42624 main ()
42626 return f != $ac_func;
42628 return 0;
42630 _ACEOF
42631 rm -f conftest.$ac_objext conftest$ac_exeext
42632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42633 (eval $ac_link) 2>conftest.er1
42634 ac_status=$?
42635 grep -v '^ *+' conftest.er1 >conftest.err
42636 rm -f conftest.er1
42637 cat conftest.err >&5
42638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42639 (exit $ac_status); } &&
42640 { ac_try='test -z "$ac_c_werror_flag"
42641 || test ! -s conftest.err'
42642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42643 (eval $ac_try) 2>&5
42644 ac_status=$?
42645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42646 (exit $ac_status); }; } &&
42647 { ac_try='test -s conftest$ac_exeext'
42648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42649 (eval $ac_try) 2>&5
42650 ac_status=$?
42651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42652 (exit $ac_status); }; }; then
42653 eval "$as_ac_var=yes"
42654 else
42655 echo "$as_me: failed program was:" >&5
42656 sed 's/^/| /' conftest.$ac_ext >&5
42658 eval "$as_ac_var=no"
42660 rm -f conftest.err conftest.$ac_objext \
42661 conftest$ac_exeext conftest.$ac_ext
42663 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42664 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42665 if test `eval echo '${'$as_ac_var'}'` = yes; then
42666 cat >>confdefs.h <<_ACEOF
42667 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42668 _ACEOF
42671 done
42681 echo "$as_me:$LINENO: checking for long double trig functions" >&5
42682 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
42683 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
42684 echo $ECHO_N "(cached) $ECHO_C" >&6
42685 else
42689 ac_ext=cc
42690 ac_cpp='$CXXCPP $CPPFLAGS'
42691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42695 cat >conftest.$ac_ext <<_ACEOF
42696 /* confdefs.h. */
42697 _ACEOF
42698 cat confdefs.h >>conftest.$ac_ext
42699 cat >>conftest.$ac_ext <<_ACEOF
42700 /* end confdefs.h. */
42701 #include <math.h>
42703 main ()
42705 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
42707 return 0;
42709 _ACEOF
42710 rm -f conftest.$ac_objext
42711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42712 (eval $ac_compile) 2>conftest.er1
42713 ac_status=$?
42714 grep -v '^ *+' conftest.er1 >conftest.err
42715 rm -f conftest.er1
42716 cat conftest.err >&5
42717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42718 (exit $ac_status); } &&
42719 { ac_try='test -z "$ac_cxx_werror_flag"
42720 || test ! -s conftest.err'
42721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42722 (eval $ac_try) 2>&5
42723 ac_status=$?
42724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42725 (exit $ac_status); }; } &&
42726 { ac_try='test -s conftest.$ac_objext'
42727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42728 (eval $ac_try) 2>&5
42729 ac_status=$?
42730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42731 (exit $ac_status); }; }; then
42732 glibcxx_cv_func_long_double_trig_use=yes
42733 else
42734 echo "$as_me: failed program was:" >&5
42735 sed 's/^/| /' conftest.$ac_ext >&5
42737 glibcxx_cv_func_long_double_trig_use=no
42739 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42740 ac_ext=c
42741 ac_cpp='$CPP $CPPFLAGS'
42742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42748 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
42749 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
42750 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
42760 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
42762 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42763 echo "$as_me:$LINENO: checking for $ac_func" >&5
42764 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42765 if eval "test \"\${$as_ac_var+set}\" = set"; then
42766 echo $ECHO_N "(cached) $ECHO_C" >&6
42767 else
42768 if test x$gcc_no_link = xyes; then
42769 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42770 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42771 { (exit 1); exit 1; }; }
42773 cat >conftest.$ac_ext <<_ACEOF
42774 /* confdefs.h. */
42775 _ACEOF
42776 cat confdefs.h >>conftest.$ac_ext
42777 cat >>conftest.$ac_ext <<_ACEOF
42778 /* end confdefs.h. */
42779 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42780 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42781 #define $ac_func innocuous_$ac_func
42783 /* System header to define __stub macros and hopefully few prototypes,
42784 which can conflict with char $ac_func (); below.
42785 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42786 <limits.h> exists even on freestanding compilers. */
42788 #ifdef __STDC__
42789 # include <limits.h>
42790 #else
42791 # include <assert.h>
42792 #endif
42794 #undef $ac_func
42796 /* Override any gcc2 internal prototype to avoid an error. */
42797 #ifdef __cplusplus
42798 extern "C"
42800 #endif
42801 /* We use char because int might match the return type of a gcc2
42802 builtin and then its argument prototype would still apply. */
42803 char $ac_func ();
42804 /* The GNU C library defines this for functions which it implements
42805 to always fail with ENOSYS. Some functions are actually named
42806 something starting with __ and the normal name is an alias. */
42807 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42808 choke me
42809 #else
42810 char (*f) () = $ac_func;
42811 #endif
42812 #ifdef __cplusplus
42814 #endif
42817 main ()
42819 return f != $ac_func;
42821 return 0;
42823 _ACEOF
42824 rm -f conftest.$ac_objext conftest$ac_exeext
42825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42826 (eval $ac_link) 2>conftest.er1
42827 ac_status=$?
42828 grep -v '^ *+' conftest.er1 >conftest.err
42829 rm -f conftest.er1
42830 cat conftest.err >&5
42831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42832 (exit $ac_status); } &&
42833 { ac_try='test -z "$ac_c_werror_flag"
42834 || test ! -s conftest.err'
42835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42836 (eval $ac_try) 2>&5
42837 ac_status=$?
42838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42839 (exit $ac_status); }; } &&
42840 { ac_try='test -s conftest$ac_exeext'
42841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42842 (eval $ac_try) 2>&5
42843 ac_status=$?
42844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42845 (exit $ac_status); }; }; then
42846 eval "$as_ac_var=yes"
42847 else
42848 echo "$as_me: failed program was:" >&5
42849 sed 's/^/| /' conftest.$ac_ext >&5
42851 eval "$as_ac_var=no"
42853 rm -f conftest.err conftest.$ac_objext \
42854 conftest$ac_exeext conftest.$ac_ext
42856 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42857 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42858 if test `eval echo '${'$as_ac_var'}'` = yes; then
42859 cat >>confdefs.h <<_ACEOF
42860 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42861 _ACEOF
42864 done
42866 else
42867 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
42868 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
42869 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
42870 echo $ECHO_N "(cached) $ECHO_C" >&6
42871 else
42875 ac_ext=cc
42876 ac_cpp='$CXXCPP $CPPFLAGS'
42877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42881 cat >conftest.$ac_ext <<_ACEOF
42882 /* confdefs.h. */
42883 _ACEOF
42884 cat confdefs.h >>conftest.$ac_ext
42885 cat >>conftest.$ac_ext <<_ACEOF
42886 /* end confdefs.h. */
42887 #include <math.h>
42889 main ()
42891 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
42893 return 0;
42895 _ACEOF
42896 rm -f conftest.$ac_objext
42897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42898 (eval $ac_compile) 2>conftest.er1
42899 ac_status=$?
42900 grep -v '^ *+' conftest.er1 >conftest.err
42901 rm -f conftest.er1
42902 cat conftest.err >&5
42903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42904 (exit $ac_status); } &&
42905 { ac_try='test -z "$ac_cxx_werror_flag"
42906 || test ! -s conftest.err'
42907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42908 (eval $ac_try) 2>&5
42909 ac_status=$?
42910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42911 (exit $ac_status); }; } &&
42912 { ac_try='test -s conftest.$ac_objext'
42913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42914 (eval $ac_try) 2>&5
42915 ac_status=$?
42916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42917 (exit $ac_status); }; }; then
42918 glibcxx_cv_func__long_double_trig_use=yes
42919 else
42920 echo "$as_me: failed program was:" >&5
42921 sed 's/^/| /' conftest.$ac_ext >&5
42923 glibcxx_cv_func__long_double_trig_use=no
42925 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42926 ac_ext=c
42927 ac_cpp='$CPP $CPPFLAGS'
42928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42934 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
42935 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
42936 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
42946 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
42948 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42949 echo "$as_me:$LINENO: checking for $ac_func" >&5
42950 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42951 if eval "test \"\${$as_ac_var+set}\" = set"; then
42952 echo $ECHO_N "(cached) $ECHO_C" >&6
42953 else
42954 if test x$gcc_no_link = xyes; then
42955 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42956 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42957 { (exit 1); exit 1; }; }
42959 cat >conftest.$ac_ext <<_ACEOF
42960 /* confdefs.h. */
42961 _ACEOF
42962 cat confdefs.h >>conftest.$ac_ext
42963 cat >>conftest.$ac_ext <<_ACEOF
42964 /* end confdefs.h. */
42965 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42966 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42967 #define $ac_func innocuous_$ac_func
42969 /* System header to define __stub macros and hopefully few prototypes,
42970 which can conflict with char $ac_func (); below.
42971 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42972 <limits.h> exists even on freestanding compilers. */
42974 #ifdef __STDC__
42975 # include <limits.h>
42976 #else
42977 # include <assert.h>
42978 #endif
42980 #undef $ac_func
42982 /* Override any gcc2 internal prototype to avoid an error. */
42983 #ifdef __cplusplus
42984 extern "C"
42986 #endif
42987 /* We use char because int might match the return type of a gcc2
42988 builtin and then its argument prototype would still apply. */
42989 char $ac_func ();
42990 /* The GNU C library defines this for functions which it implements
42991 to always fail with ENOSYS. Some functions are actually named
42992 something starting with __ and the normal name is an alias. */
42993 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42994 choke me
42995 #else
42996 char (*f) () = $ac_func;
42997 #endif
42998 #ifdef __cplusplus
43000 #endif
43003 main ()
43005 return f != $ac_func;
43007 return 0;
43009 _ACEOF
43010 rm -f conftest.$ac_objext conftest$ac_exeext
43011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43012 (eval $ac_link) 2>conftest.er1
43013 ac_status=$?
43014 grep -v '^ *+' conftest.er1 >conftest.err
43015 rm -f conftest.er1
43016 cat conftest.err >&5
43017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43018 (exit $ac_status); } &&
43019 { ac_try='test -z "$ac_c_werror_flag"
43020 || test ! -s conftest.err'
43021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43022 (eval $ac_try) 2>&5
43023 ac_status=$?
43024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43025 (exit $ac_status); }; } &&
43026 { ac_try='test -s conftest$ac_exeext'
43027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43028 (eval $ac_try) 2>&5
43029 ac_status=$?
43030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43031 (exit $ac_status); }; }; then
43032 eval "$as_ac_var=yes"
43033 else
43034 echo "$as_me: failed program was:" >&5
43035 sed 's/^/| /' conftest.$ac_ext >&5
43037 eval "$as_ac_var=no"
43039 rm -f conftest.err conftest.$ac_objext \
43040 conftest$ac_exeext conftest.$ac_ext
43042 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43043 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43044 if test `eval echo '${'$as_ac_var'}'` = yes; then
43045 cat >>confdefs.h <<_ACEOF
43046 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43047 _ACEOF
43050 done
43068 echo "$as_me:$LINENO: checking for long double round functions" >&5
43069 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
43070 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
43071 echo $ECHO_N "(cached) $ECHO_C" >&6
43072 else
43076 ac_ext=cc
43077 ac_cpp='$CXXCPP $CPPFLAGS'
43078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43082 cat >conftest.$ac_ext <<_ACEOF
43083 /* confdefs.h. */
43084 _ACEOF
43085 cat confdefs.h >>conftest.$ac_ext
43086 cat >>conftest.$ac_ext <<_ACEOF
43087 /* end confdefs.h. */
43088 #include <math.h>
43090 main ()
43092 ceill (0); floorl (0);
43094 return 0;
43096 _ACEOF
43097 rm -f conftest.$ac_objext
43098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43099 (eval $ac_compile) 2>conftest.er1
43100 ac_status=$?
43101 grep -v '^ *+' conftest.er1 >conftest.err
43102 rm -f conftest.er1
43103 cat conftest.err >&5
43104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43105 (exit $ac_status); } &&
43106 { ac_try='test -z "$ac_cxx_werror_flag"
43107 || test ! -s conftest.err'
43108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43109 (eval $ac_try) 2>&5
43110 ac_status=$?
43111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43112 (exit $ac_status); }; } &&
43113 { ac_try='test -s conftest.$ac_objext'
43114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43115 (eval $ac_try) 2>&5
43116 ac_status=$?
43117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43118 (exit $ac_status); }; }; then
43119 glibcxx_cv_func_long_double_round_use=yes
43120 else
43121 echo "$as_me: failed program was:" >&5
43122 sed 's/^/| /' conftest.$ac_ext >&5
43124 glibcxx_cv_func_long_double_round_use=no
43126 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43127 ac_ext=c
43128 ac_cpp='$CPP $CPPFLAGS'
43129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43135 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
43136 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
43137 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
43140 for ac_func in ceill floorl
43142 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43143 echo "$as_me:$LINENO: checking for $ac_func" >&5
43144 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43145 if eval "test \"\${$as_ac_var+set}\" = set"; then
43146 echo $ECHO_N "(cached) $ECHO_C" >&6
43147 else
43148 if test x$gcc_no_link = xyes; then
43149 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43150 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43151 { (exit 1); exit 1; }; }
43153 cat >conftest.$ac_ext <<_ACEOF
43154 /* confdefs.h. */
43155 _ACEOF
43156 cat confdefs.h >>conftest.$ac_ext
43157 cat >>conftest.$ac_ext <<_ACEOF
43158 /* end confdefs.h. */
43159 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43160 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43161 #define $ac_func innocuous_$ac_func
43163 /* System header to define __stub macros and hopefully few prototypes,
43164 which can conflict with char $ac_func (); below.
43165 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43166 <limits.h> exists even on freestanding compilers. */
43168 #ifdef __STDC__
43169 # include <limits.h>
43170 #else
43171 # include <assert.h>
43172 #endif
43174 #undef $ac_func
43176 /* Override any gcc2 internal prototype to avoid an error. */
43177 #ifdef __cplusplus
43178 extern "C"
43180 #endif
43181 /* We use char because int might match the return type of a gcc2
43182 builtin and then its argument prototype would still apply. */
43183 char $ac_func ();
43184 /* The GNU C library defines this for functions which it implements
43185 to always fail with ENOSYS. Some functions are actually named
43186 something starting with __ and the normal name is an alias. */
43187 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43188 choke me
43189 #else
43190 char (*f) () = $ac_func;
43191 #endif
43192 #ifdef __cplusplus
43194 #endif
43197 main ()
43199 return f != $ac_func;
43201 return 0;
43203 _ACEOF
43204 rm -f conftest.$ac_objext conftest$ac_exeext
43205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43206 (eval $ac_link) 2>conftest.er1
43207 ac_status=$?
43208 grep -v '^ *+' conftest.er1 >conftest.err
43209 rm -f conftest.er1
43210 cat conftest.err >&5
43211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43212 (exit $ac_status); } &&
43213 { ac_try='test -z "$ac_c_werror_flag"
43214 || test ! -s conftest.err'
43215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43216 (eval $ac_try) 2>&5
43217 ac_status=$?
43218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43219 (exit $ac_status); }; } &&
43220 { ac_try='test -s conftest$ac_exeext'
43221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43222 (eval $ac_try) 2>&5
43223 ac_status=$?
43224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43225 (exit $ac_status); }; }; then
43226 eval "$as_ac_var=yes"
43227 else
43228 echo "$as_me: failed program was:" >&5
43229 sed 's/^/| /' conftest.$ac_ext >&5
43231 eval "$as_ac_var=no"
43233 rm -f conftest.err conftest.$ac_objext \
43234 conftest$ac_exeext conftest.$ac_ext
43236 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43237 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43238 if test `eval echo '${'$as_ac_var'}'` = yes; then
43239 cat >>confdefs.h <<_ACEOF
43240 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43241 _ACEOF
43244 done
43246 else
43247 echo "$as_me:$LINENO: checking for _long double round functions" >&5
43248 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
43249 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
43250 echo $ECHO_N "(cached) $ECHO_C" >&6
43251 else
43255 ac_ext=cc
43256 ac_cpp='$CXXCPP $CPPFLAGS'
43257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43261 cat >conftest.$ac_ext <<_ACEOF
43262 /* confdefs.h. */
43263 _ACEOF
43264 cat confdefs.h >>conftest.$ac_ext
43265 cat >>conftest.$ac_ext <<_ACEOF
43266 /* end confdefs.h. */
43267 #include <math.h>
43269 main ()
43271 _ceill (0); _floorl (0);
43273 return 0;
43275 _ACEOF
43276 rm -f conftest.$ac_objext
43277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43278 (eval $ac_compile) 2>conftest.er1
43279 ac_status=$?
43280 grep -v '^ *+' conftest.er1 >conftest.err
43281 rm -f conftest.er1
43282 cat conftest.err >&5
43283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43284 (exit $ac_status); } &&
43285 { ac_try='test -z "$ac_cxx_werror_flag"
43286 || test ! -s conftest.err'
43287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43288 (eval $ac_try) 2>&5
43289 ac_status=$?
43290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43291 (exit $ac_status); }; } &&
43292 { ac_try='test -s conftest.$ac_objext'
43293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43294 (eval $ac_try) 2>&5
43295 ac_status=$?
43296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43297 (exit $ac_status); }; }; then
43298 glibcxx_cv_func__long_double_round_use=yes
43299 else
43300 echo "$as_me: failed program was:" >&5
43301 sed 's/^/| /' conftest.$ac_ext >&5
43303 glibcxx_cv_func__long_double_round_use=no
43305 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43306 ac_ext=c
43307 ac_cpp='$CPP $CPPFLAGS'
43308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43314 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
43315 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
43316 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
43319 for ac_func in _ceill _floorl
43321 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43322 echo "$as_me:$LINENO: checking for $ac_func" >&5
43323 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43324 if eval "test \"\${$as_ac_var+set}\" = set"; then
43325 echo $ECHO_N "(cached) $ECHO_C" >&6
43326 else
43327 if test x$gcc_no_link = xyes; then
43328 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43329 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43330 { (exit 1); exit 1; }; }
43332 cat >conftest.$ac_ext <<_ACEOF
43333 /* confdefs.h. */
43334 _ACEOF
43335 cat confdefs.h >>conftest.$ac_ext
43336 cat >>conftest.$ac_ext <<_ACEOF
43337 /* end confdefs.h. */
43338 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43339 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43340 #define $ac_func innocuous_$ac_func
43342 /* System header to define __stub macros and hopefully few prototypes,
43343 which can conflict with char $ac_func (); below.
43344 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43345 <limits.h> exists even on freestanding compilers. */
43347 #ifdef __STDC__
43348 # include <limits.h>
43349 #else
43350 # include <assert.h>
43351 #endif
43353 #undef $ac_func
43355 /* Override any gcc2 internal prototype to avoid an error. */
43356 #ifdef __cplusplus
43357 extern "C"
43359 #endif
43360 /* We use char because int might match the return type of a gcc2
43361 builtin and then its argument prototype would still apply. */
43362 char $ac_func ();
43363 /* The GNU C library defines this for functions which it implements
43364 to always fail with ENOSYS. Some functions are actually named
43365 something starting with __ and the normal name is an alias. */
43366 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43367 choke me
43368 #else
43369 char (*f) () = $ac_func;
43370 #endif
43371 #ifdef __cplusplus
43373 #endif
43376 main ()
43378 return f != $ac_func;
43380 return 0;
43382 _ACEOF
43383 rm -f conftest.$ac_objext conftest$ac_exeext
43384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43385 (eval $ac_link) 2>conftest.er1
43386 ac_status=$?
43387 grep -v '^ *+' conftest.er1 >conftest.err
43388 rm -f conftest.er1
43389 cat conftest.err >&5
43390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43391 (exit $ac_status); } &&
43392 { ac_try='test -z "$ac_c_werror_flag"
43393 || test ! -s conftest.err'
43394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43395 (eval $ac_try) 2>&5
43396 ac_status=$?
43397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43398 (exit $ac_status); }; } &&
43399 { ac_try='test -s conftest$ac_exeext'
43400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43401 (eval $ac_try) 2>&5
43402 ac_status=$?
43403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43404 (exit $ac_status); }; }; then
43405 eval "$as_ac_var=yes"
43406 else
43407 echo "$as_me: failed program was:" >&5
43408 sed 's/^/| /' conftest.$ac_ext >&5
43410 eval "$as_ac_var=no"
43412 rm -f conftest.err conftest.$ac_objext \
43413 conftest$ac_exeext conftest.$ac_ext
43415 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43416 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43417 if test `eval echo '${'$as_ac_var'}'` = yes; then
43418 cat >>confdefs.h <<_ACEOF
43419 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43420 _ACEOF
43423 done
43435 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
43436 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
43437 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
43438 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
43439 echo $ECHO_N "(cached) $ECHO_C" >&6
43440 else
43444 ac_ext=cc
43445 ac_cpp='$CXXCPP $CPPFLAGS'
43446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43450 cat >conftest.$ac_ext <<_ACEOF
43451 /* confdefs.h. */
43452 _ACEOF
43453 cat confdefs.h >>conftest.$ac_ext
43454 cat >>conftest.$ac_ext <<_ACEOF
43455 /* end confdefs.h. */
43456 #include <math.h>
43457 #ifdef HAVE_IEEEFP_H
43458 #include <ieeefp.h>
43459 #endif
43462 main ()
43464 isnanl(0);
43466 return 0;
43468 _ACEOF
43469 rm -f conftest.$ac_objext
43470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43471 (eval $ac_compile) 2>conftest.er1
43472 ac_status=$?
43473 grep -v '^ *+' conftest.er1 >conftest.err
43474 rm -f conftest.er1
43475 cat conftest.err >&5
43476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43477 (exit $ac_status); } &&
43478 { ac_try='test -z "$ac_cxx_werror_flag"
43479 || test ! -s conftest.err'
43480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43481 (eval $ac_try) 2>&5
43482 ac_status=$?
43483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43484 (exit $ac_status); }; } &&
43485 { ac_try='test -s conftest.$ac_objext'
43486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43487 (eval $ac_try) 2>&5
43488 ac_status=$?
43489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43490 (exit $ac_status); }; }; then
43491 glibcxx_cv_func_isnanl_use=yes
43492 else
43493 echo "$as_me: failed program was:" >&5
43494 sed 's/^/| /' conftest.$ac_ext >&5
43496 glibcxx_cv_func_isnanl_use=no
43498 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43499 ac_ext=c
43500 ac_cpp='$CPP $CPPFLAGS'
43501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43509 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
43510 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
43512 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
43514 for ac_func in isnanl
43516 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43517 echo "$as_me:$LINENO: checking for $ac_func" >&5
43518 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43519 if eval "test \"\${$as_ac_var+set}\" = set"; then
43520 echo $ECHO_N "(cached) $ECHO_C" >&6
43521 else
43522 if test x$gcc_no_link = xyes; then
43523 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43524 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43525 { (exit 1); exit 1; }; }
43527 cat >conftest.$ac_ext <<_ACEOF
43528 /* confdefs.h. */
43529 _ACEOF
43530 cat confdefs.h >>conftest.$ac_ext
43531 cat >>conftest.$ac_ext <<_ACEOF
43532 /* end confdefs.h. */
43533 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43534 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43535 #define $ac_func innocuous_$ac_func
43537 /* System header to define __stub macros and hopefully few prototypes,
43538 which can conflict with char $ac_func (); below.
43539 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43540 <limits.h> exists even on freestanding compilers. */
43542 #ifdef __STDC__
43543 # include <limits.h>
43544 #else
43545 # include <assert.h>
43546 #endif
43548 #undef $ac_func
43550 /* Override any gcc2 internal prototype to avoid an error. */
43551 #ifdef __cplusplus
43552 extern "C"
43554 #endif
43555 /* We use char because int might match the return type of a gcc2
43556 builtin and then its argument prototype would still apply. */
43557 char $ac_func ();
43558 /* The GNU C library defines this for functions which it implements
43559 to always fail with ENOSYS. Some functions are actually named
43560 something starting with __ and the normal name is an alias. */
43561 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43562 choke me
43563 #else
43564 char (*f) () = $ac_func;
43565 #endif
43566 #ifdef __cplusplus
43568 #endif
43571 main ()
43573 return f != $ac_func;
43575 return 0;
43577 _ACEOF
43578 rm -f conftest.$ac_objext conftest$ac_exeext
43579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43580 (eval $ac_link) 2>conftest.er1
43581 ac_status=$?
43582 grep -v '^ *+' conftest.er1 >conftest.err
43583 rm -f conftest.er1
43584 cat conftest.err >&5
43585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43586 (exit $ac_status); } &&
43587 { ac_try='test -z "$ac_c_werror_flag"
43588 || test ! -s conftest.err'
43589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43590 (eval $ac_try) 2>&5
43591 ac_status=$?
43592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43593 (exit $ac_status); }; } &&
43594 { ac_try='test -s conftest$ac_exeext'
43595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43596 (eval $ac_try) 2>&5
43597 ac_status=$?
43598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43599 (exit $ac_status); }; }; then
43600 eval "$as_ac_var=yes"
43601 else
43602 echo "$as_me: failed program was:" >&5
43603 sed 's/^/| /' conftest.$ac_ext >&5
43605 eval "$as_ac_var=no"
43607 rm -f conftest.err conftest.$ac_objext \
43608 conftest$ac_exeext conftest.$ac_ext
43610 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43611 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43612 if test `eval echo '${'$as_ac_var'}'` = yes; then
43613 cat >>confdefs.h <<_ACEOF
43614 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43615 _ACEOF
43618 done
43620 else
43622 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
43623 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
43624 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
43625 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
43626 echo $ECHO_N "(cached) $ECHO_C" >&6
43627 else
43631 ac_ext=cc
43632 ac_cpp='$CXXCPP $CPPFLAGS'
43633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43637 cat >conftest.$ac_ext <<_ACEOF
43638 /* confdefs.h. */
43639 _ACEOF
43640 cat confdefs.h >>conftest.$ac_ext
43641 cat >>conftest.$ac_ext <<_ACEOF
43642 /* end confdefs.h. */
43643 #include <math.h>
43644 #ifdef HAVE_IEEEFP_H
43645 #include <ieeefp.h>
43646 #endif
43649 main ()
43651 _isnanl(0);
43653 return 0;
43655 _ACEOF
43656 rm -f conftest.$ac_objext
43657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43658 (eval $ac_compile) 2>conftest.er1
43659 ac_status=$?
43660 grep -v '^ *+' conftest.er1 >conftest.err
43661 rm -f conftest.er1
43662 cat conftest.err >&5
43663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43664 (exit $ac_status); } &&
43665 { ac_try='test -z "$ac_cxx_werror_flag"
43666 || test ! -s conftest.err'
43667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43668 (eval $ac_try) 2>&5
43669 ac_status=$?
43670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43671 (exit $ac_status); }; } &&
43672 { ac_try='test -s conftest.$ac_objext'
43673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43674 (eval $ac_try) 2>&5
43675 ac_status=$?
43676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43677 (exit $ac_status); }; }; then
43678 glibcxx_cv_func__isnanl_use=yes
43679 else
43680 echo "$as_me: failed program was:" >&5
43681 sed 's/^/| /' conftest.$ac_ext >&5
43683 glibcxx_cv_func__isnanl_use=no
43685 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43686 ac_ext=c
43687 ac_cpp='$CPP $CPPFLAGS'
43688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43696 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
43697 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
43699 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
43701 for ac_func in _isnanl
43703 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43704 echo "$as_me:$LINENO: checking for $ac_func" >&5
43705 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43706 if eval "test \"\${$as_ac_var+set}\" = set"; then
43707 echo $ECHO_N "(cached) $ECHO_C" >&6
43708 else
43709 if test x$gcc_no_link = xyes; then
43710 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43711 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43712 { (exit 1); exit 1; }; }
43714 cat >conftest.$ac_ext <<_ACEOF
43715 /* confdefs.h. */
43716 _ACEOF
43717 cat confdefs.h >>conftest.$ac_ext
43718 cat >>conftest.$ac_ext <<_ACEOF
43719 /* end confdefs.h. */
43720 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43721 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43722 #define $ac_func innocuous_$ac_func
43724 /* System header to define __stub macros and hopefully few prototypes,
43725 which can conflict with char $ac_func (); below.
43726 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43727 <limits.h> exists even on freestanding compilers. */
43729 #ifdef __STDC__
43730 # include <limits.h>
43731 #else
43732 # include <assert.h>
43733 #endif
43735 #undef $ac_func
43737 /* Override any gcc2 internal prototype to avoid an error. */
43738 #ifdef __cplusplus
43739 extern "C"
43741 #endif
43742 /* We use char because int might match the return type of a gcc2
43743 builtin and then its argument prototype would still apply. */
43744 char $ac_func ();
43745 /* The GNU C library defines this for functions which it implements
43746 to always fail with ENOSYS. Some functions are actually named
43747 something starting with __ and the normal name is an alias. */
43748 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43749 choke me
43750 #else
43751 char (*f) () = $ac_func;
43752 #endif
43753 #ifdef __cplusplus
43755 #endif
43758 main ()
43760 return f != $ac_func;
43762 return 0;
43764 _ACEOF
43765 rm -f conftest.$ac_objext conftest$ac_exeext
43766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43767 (eval $ac_link) 2>conftest.er1
43768 ac_status=$?
43769 grep -v '^ *+' conftest.er1 >conftest.err
43770 rm -f conftest.er1
43771 cat conftest.err >&5
43772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43773 (exit $ac_status); } &&
43774 { ac_try='test -z "$ac_c_werror_flag"
43775 || test ! -s conftest.err'
43776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43777 (eval $ac_try) 2>&5
43778 ac_status=$?
43779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43780 (exit $ac_status); }; } &&
43781 { ac_try='test -s conftest$ac_exeext'
43782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43783 (eval $ac_try) 2>&5
43784 ac_status=$?
43785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43786 (exit $ac_status); }; }; then
43787 eval "$as_ac_var=yes"
43788 else
43789 echo "$as_me: failed program was:" >&5
43790 sed 's/^/| /' conftest.$ac_ext >&5
43792 eval "$as_ac_var=no"
43794 rm -f conftest.err conftest.$ac_objext \
43795 conftest$ac_exeext conftest.$ac_ext
43797 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43798 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43799 if test `eval echo '${'$as_ac_var'}'` = yes; then
43800 cat >>confdefs.h <<_ACEOF
43801 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43802 _ACEOF
43805 done
43815 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
43816 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
43817 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
43818 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
43819 echo $ECHO_N "(cached) $ECHO_C" >&6
43820 else
43824 ac_ext=cc
43825 ac_cpp='$CXXCPP $CPPFLAGS'
43826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43830 cat >conftest.$ac_ext <<_ACEOF
43831 /* confdefs.h. */
43832 _ACEOF
43833 cat confdefs.h >>conftest.$ac_ext
43834 cat >>conftest.$ac_ext <<_ACEOF
43835 /* end confdefs.h. */
43836 #include <math.h>
43837 #ifdef HAVE_IEEEFP_H
43838 #include <ieeefp.h>
43839 #endif
43842 main ()
43844 isinfl(0);
43846 return 0;
43848 _ACEOF
43849 rm -f conftest.$ac_objext
43850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43851 (eval $ac_compile) 2>conftest.er1
43852 ac_status=$?
43853 grep -v '^ *+' conftest.er1 >conftest.err
43854 rm -f conftest.er1
43855 cat conftest.err >&5
43856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43857 (exit $ac_status); } &&
43858 { ac_try='test -z "$ac_cxx_werror_flag"
43859 || test ! -s conftest.err'
43860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43861 (eval $ac_try) 2>&5
43862 ac_status=$?
43863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43864 (exit $ac_status); }; } &&
43865 { ac_try='test -s conftest.$ac_objext'
43866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43867 (eval $ac_try) 2>&5
43868 ac_status=$?
43869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43870 (exit $ac_status); }; }; then
43871 glibcxx_cv_func_isinfl_use=yes
43872 else
43873 echo "$as_me: failed program was:" >&5
43874 sed 's/^/| /' conftest.$ac_ext >&5
43876 glibcxx_cv_func_isinfl_use=no
43878 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43879 ac_ext=c
43880 ac_cpp='$CPP $CPPFLAGS'
43881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43889 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
43890 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
43892 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
43894 for ac_func in isinfl
43896 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43897 echo "$as_me:$LINENO: checking for $ac_func" >&5
43898 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43899 if eval "test \"\${$as_ac_var+set}\" = set"; then
43900 echo $ECHO_N "(cached) $ECHO_C" >&6
43901 else
43902 if test x$gcc_no_link = xyes; then
43903 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43904 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43905 { (exit 1); exit 1; }; }
43907 cat >conftest.$ac_ext <<_ACEOF
43908 /* confdefs.h. */
43909 _ACEOF
43910 cat confdefs.h >>conftest.$ac_ext
43911 cat >>conftest.$ac_ext <<_ACEOF
43912 /* end confdefs.h. */
43913 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43914 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43915 #define $ac_func innocuous_$ac_func
43917 /* System header to define __stub macros and hopefully few prototypes,
43918 which can conflict with char $ac_func (); below.
43919 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43920 <limits.h> exists even on freestanding compilers. */
43922 #ifdef __STDC__
43923 # include <limits.h>
43924 #else
43925 # include <assert.h>
43926 #endif
43928 #undef $ac_func
43930 /* Override any gcc2 internal prototype to avoid an error. */
43931 #ifdef __cplusplus
43932 extern "C"
43934 #endif
43935 /* We use char because int might match the return type of a gcc2
43936 builtin and then its argument prototype would still apply. */
43937 char $ac_func ();
43938 /* The GNU C library defines this for functions which it implements
43939 to always fail with ENOSYS. Some functions are actually named
43940 something starting with __ and the normal name is an alias. */
43941 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43942 choke me
43943 #else
43944 char (*f) () = $ac_func;
43945 #endif
43946 #ifdef __cplusplus
43948 #endif
43951 main ()
43953 return f != $ac_func;
43955 return 0;
43957 _ACEOF
43958 rm -f conftest.$ac_objext conftest$ac_exeext
43959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43960 (eval $ac_link) 2>conftest.er1
43961 ac_status=$?
43962 grep -v '^ *+' conftest.er1 >conftest.err
43963 rm -f conftest.er1
43964 cat conftest.err >&5
43965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43966 (exit $ac_status); } &&
43967 { ac_try='test -z "$ac_c_werror_flag"
43968 || test ! -s conftest.err'
43969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43970 (eval $ac_try) 2>&5
43971 ac_status=$?
43972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43973 (exit $ac_status); }; } &&
43974 { ac_try='test -s conftest$ac_exeext'
43975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43976 (eval $ac_try) 2>&5
43977 ac_status=$?
43978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43979 (exit $ac_status); }; }; then
43980 eval "$as_ac_var=yes"
43981 else
43982 echo "$as_me: failed program was:" >&5
43983 sed 's/^/| /' conftest.$ac_ext >&5
43985 eval "$as_ac_var=no"
43987 rm -f conftest.err conftest.$ac_objext \
43988 conftest$ac_exeext conftest.$ac_ext
43990 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43991 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43992 if test `eval echo '${'$as_ac_var'}'` = yes; then
43993 cat >>confdefs.h <<_ACEOF
43994 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43995 _ACEOF
43998 done
44000 else
44002 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
44003 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
44004 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
44005 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
44006 echo $ECHO_N "(cached) $ECHO_C" >&6
44007 else
44011 ac_ext=cc
44012 ac_cpp='$CXXCPP $CPPFLAGS'
44013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44017 cat >conftest.$ac_ext <<_ACEOF
44018 /* confdefs.h. */
44019 _ACEOF
44020 cat confdefs.h >>conftest.$ac_ext
44021 cat >>conftest.$ac_ext <<_ACEOF
44022 /* end confdefs.h. */
44023 #include <math.h>
44024 #ifdef HAVE_IEEEFP_H
44025 #include <ieeefp.h>
44026 #endif
44029 main ()
44031 _isinfl(0);
44033 return 0;
44035 _ACEOF
44036 rm -f conftest.$ac_objext
44037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44038 (eval $ac_compile) 2>conftest.er1
44039 ac_status=$?
44040 grep -v '^ *+' conftest.er1 >conftest.err
44041 rm -f conftest.er1
44042 cat conftest.err >&5
44043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44044 (exit $ac_status); } &&
44045 { ac_try='test -z "$ac_cxx_werror_flag"
44046 || test ! -s conftest.err'
44047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44048 (eval $ac_try) 2>&5
44049 ac_status=$?
44050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44051 (exit $ac_status); }; } &&
44052 { ac_try='test -s conftest.$ac_objext'
44053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44054 (eval $ac_try) 2>&5
44055 ac_status=$?
44056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44057 (exit $ac_status); }; }; then
44058 glibcxx_cv_func__isinfl_use=yes
44059 else
44060 echo "$as_me: failed program was:" >&5
44061 sed 's/^/| /' conftest.$ac_ext >&5
44063 glibcxx_cv_func__isinfl_use=no
44065 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44066 ac_ext=c
44067 ac_cpp='$CPP $CPPFLAGS'
44068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44076 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
44077 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
44079 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
44081 for ac_func in _isinfl
44083 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44084 echo "$as_me:$LINENO: checking for $ac_func" >&5
44085 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44086 if eval "test \"\${$as_ac_var+set}\" = set"; then
44087 echo $ECHO_N "(cached) $ECHO_C" >&6
44088 else
44089 if test x$gcc_no_link = xyes; then
44090 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44091 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44092 { (exit 1); exit 1; }; }
44094 cat >conftest.$ac_ext <<_ACEOF
44095 /* confdefs.h. */
44096 _ACEOF
44097 cat confdefs.h >>conftest.$ac_ext
44098 cat >>conftest.$ac_ext <<_ACEOF
44099 /* end confdefs.h. */
44100 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44101 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44102 #define $ac_func innocuous_$ac_func
44104 /* System header to define __stub macros and hopefully few prototypes,
44105 which can conflict with char $ac_func (); below.
44106 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44107 <limits.h> exists even on freestanding compilers. */
44109 #ifdef __STDC__
44110 # include <limits.h>
44111 #else
44112 # include <assert.h>
44113 #endif
44115 #undef $ac_func
44117 /* Override any gcc2 internal prototype to avoid an error. */
44118 #ifdef __cplusplus
44119 extern "C"
44121 #endif
44122 /* We use char because int might match the return type of a gcc2
44123 builtin and then its argument prototype would still apply. */
44124 char $ac_func ();
44125 /* The GNU C library defines this for functions which it implements
44126 to always fail with ENOSYS. Some functions are actually named
44127 something starting with __ and the normal name is an alias. */
44128 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44129 choke me
44130 #else
44131 char (*f) () = $ac_func;
44132 #endif
44133 #ifdef __cplusplus
44135 #endif
44138 main ()
44140 return f != $ac_func;
44142 return 0;
44144 _ACEOF
44145 rm -f conftest.$ac_objext conftest$ac_exeext
44146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44147 (eval $ac_link) 2>conftest.er1
44148 ac_status=$?
44149 grep -v '^ *+' conftest.er1 >conftest.err
44150 rm -f conftest.er1
44151 cat conftest.err >&5
44152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44153 (exit $ac_status); } &&
44154 { ac_try='test -z "$ac_c_werror_flag"
44155 || test ! -s conftest.err'
44156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44157 (eval $ac_try) 2>&5
44158 ac_status=$?
44159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44160 (exit $ac_status); }; } &&
44161 { ac_try='test -s conftest$ac_exeext'
44162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44163 (eval $ac_try) 2>&5
44164 ac_status=$?
44165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44166 (exit $ac_status); }; }; then
44167 eval "$as_ac_var=yes"
44168 else
44169 echo "$as_me: failed program was:" >&5
44170 sed 's/^/| /' conftest.$ac_ext >&5
44172 eval "$as_ac_var=no"
44174 rm -f conftest.err conftest.$ac_objext \
44175 conftest$ac_exeext conftest.$ac_ext
44177 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44178 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44179 if test `eval echo '${'$as_ac_var'}'` = yes; then
44180 cat >>confdefs.h <<_ACEOF
44181 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44182 _ACEOF
44185 done
44195 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
44196 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
44197 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
44198 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
44199 echo $ECHO_N "(cached) $ECHO_C" >&6
44200 else
44204 ac_ext=cc
44205 ac_cpp='$CXXCPP $CPPFLAGS'
44206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44210 cat >conftest.$ac_ext <<_ACEOF
44211 /* confdefs.h. */
44212 _ACEOF
44213 cat confdefs.h >>conftest.$ac_ext
44214 cat >>conftest.$ac_ext <<_ACEOF
44215 /* end confdefs.h. */
44216 #include <math.h>
44218 main ()
44220 copysignl(0, 0);
44222 return 0;
44224 _ACEOF
44225 rm -f conftest.$ac_objext
44226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44227 (eval $ac_compile) 2>conftest.er1
44228 ac_status=$?
44229 grep -v '^ *+' conftest.er1 >conftest.err
44230 rm -f conftest.er1
44231 cat conftest.err >&5
44232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44233 (exit $ac_status); } &&
44234 { ac_try='test -z "$ac_cxx_werror_flag"
44235 || test ! -s conftest.err'
44236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44237 (eval $ac_try) 2>&5
44238 ac_status=$?
44239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44240 (exit $ac_status); }; } &&
44241 { ac_try='test -s conftest.$ac_objext'
44242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44243 (eval $ac_try) 2>&5
44244 ac_status=$?
44245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44246 (exit $ac_status); }; }; then
44247 glibcxx_cv_func_copysignl_use=yes
44248 else
44249 echo "$as_me: failed program was:" >&5
44250 sed 's/^/| /' conftest.$ac_ext >&5
44252 glibcxx_cv_func_copysignl_use=no
44254 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44255 ac_ext=c
44256 ac_cpp='$CPP $CPPFLAGS'
44257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44265 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
44266 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
44268 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
44270 for ac_func in copysignl
44272 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44273 echo "$as_me:$LINENO: checking for $ac_func" >&5
44274 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44275 if eval "test \"\${$as_ac_var+set}\" = set"; then
44276 echo $ECHO_N "(cached) $ECHO_C" >&6
44277 else
44278 if test x$gcc_no_link = xyes; then
44279 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44280 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44281 { (exit 1); exit 1; }; }
44283 cat >conftest.$ac_ext <<_ACEOF
44284 /* confdefs.h. */
44285 _ACEOF
44286 cat confdefs.h >>conftest.$ac_ext
44287 cat >>conftest.$ac_ext <<_ACEOF
44288 /* end confdefs.h. */
44289 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44290 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44291 #define $ac_func innocuous_$ac_func
44293 /* System header to define __stub macros and hopefully few prototypes,
44294 which can conflict with char $ac_func (); below.
44295 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44296 <limits.h> exists even on freestanding compilers. */
44298 #ifdef __STDC__
44299 # include <limits.h>
44300 #else
44301 # include <assert.h>
44302 #endif
44304 #undef $ac_func
44306 /* Override any gcc2 internal prototype to avoid an error. */
44307 #ifdef __cplusplus
44308 extern "C"
44310 #endif
44311 /* We use char because int might match the return type of a gcc2
44312 builtin and then its argument prototype would still apply. */
44313 char $ac_func ();
44314 /* The GNU C library defines this for functions which it implements
44315 to always fail with ENOSYS. Some functions are actually named
44316 something starting with __ and the normal name is an alias. */
44317 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44318 choke me
44319 #else
44320 char (*f) () = $ac_func;
44321 #endif
44322 #ifdef __cplusplus
44324 #endif
44327 main ()
44329 return f != $ac_func;
44331 return 0;
44333 _ACEOF
44334 rm -f conftest.$ac_objext conftest$ac_exeext
44335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44336 (eval $ac_link) 2>conftest.er1
44337 ac_status=$?
44338 grep -v '^ *+' conftest.er1 >conftest.err
44339 rm -f conftest.er1
44340 cat conftest.err >&5
44341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44342 (exit $ac_status); } &&
44343 { ac_try='test -z "$ac_c_werror_flag"
44344 || test ! -s conftest.err'
44345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44346 (eval $ac_try) 2>&5
44347 ac_status=$?
44348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44349 (exit $ac_status); }; } &&
44350 { ac_try='test -s conftest$ac_exeext'
44351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44352 (eval $ac_try) 2>&5
44353 ac_status=$?
44354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44355 (exit $ac_status); }; }; then
44356 eval "$as_ac_var=yes"
44357 else
44358 echo "$as_me: failed program was:" >&5
44359 sed 's/^/| /' conftest.$ac_ext >&5
44361 eval "$as_ac_var=no"
44363 rm -f conftest.err conftest.$ac_objext \
44364 conftest$ac_exeext conftest.$ac_ext
44366 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44367 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44368 if test `eval echo '${'$as_ac_var'}'` = yes; then
44369 cat >>confdefs.h <<_ACEOF
44370 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44371 _ACEOF
44374 done
44376 else
44378 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
44379 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
44380 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
44381 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
44382 echo $ECHO_N "(cached) $ECHO_C" >&6
44383 else
44387 ac_ext=cc
44388 ac_cpp='$CXXCPP $CPPFLAGS'
44389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44393 cat >conftest.$ac_ext <<_ACEOF
44394 /* confdefs.h. */
44395 _ACEOF
44396 cat confdefs.h >>conftest.$ac_ext
44397 cat >>conftest.$ac_ext <<_ACEOF
44398 /* end confdefs.h. */
44399 #include <math.h>
44401 main ()
44403 _copysignl(0, 0);
44405 return 0;
44407 _ACEOF
44408 rm -f conftest.$ac_objext
44409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44410 (eval $ac_compile) 2>conftest.er1
44411 ac_status=$?
44412 grep -v '^ *+' conftest.er1 >conftest.err
44413 rm -f conftest.er1
44414 cat conftest.err >&5
44415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44416 (exit $ac_status); } &&
44417 { ac_try='test -z "$ac_cxx_werror_flag"
44418 || test ! -s conftest.err'
44419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44420 (eval $ac_try) 2>&5
44421 ac_status=$?
44422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44423 (exit $ac_status); }; } &&
44424 { ac_try='test -s conftest.$ac_objext'
44425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44426 (eval $ac_try) 2>&5
44427 ac_status=$?
44428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44429 (exit $ac_status); }; }; then
44430 glibcxx_cv_func__copysignl_use=yes
44431 else
44432 echo "$as_me: failed program was:" >&5
44433 sed 's/^/| /' conftest.$ac_ext >&5
44435 glibcxx_cv_func__copysignl_use=no
44437 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44438 ac_ext=c
44439 ac_cpp='$CPP $CPPFLAGS'
44440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44448 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
44449 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
44451 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
44453 for ac_func in _copysignl
44455 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44456 echo "$as_me:$LINENO: checking for $ac_func" >&5
44457 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44458 if eval "test \"\${$as_ac_var+set}\" = set"; then
44459 echo $ECHO_N "(cached) $ECHO_C" >&6
44460 else
44461 if test x$gcc_no_link = xyes; then
44462 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44463 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44464 { (exit 1); exit 1; }; }
44466 cat >conftest.$ac_ext <<_ACEOF
44467 /* confdefs.h. */
44468 _ACEOF
44469 cat confdefs.h >>conftest.$ac_ext
44470 cat >>conftest.$ac_ext <<_ACEOF
44471 /* end confdefs.h. */
44472 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44473 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44474 #define $ac_func innocuous_$ac_func
44476 /* System header to define __stub macros and hopefully few prototypes,
44477 which can conflict with char $ac_func (); below.
44478 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44479 <limits.h> exists even on freestanding compilers. */
44481 #ifdef __STDC__
44482 # include <limits.h>
44483 #else
44484 # include <assert.h>
44485 #endif
44487 #undef $ac_func
44489 /* Override any gcc2 internal prototype to avoid an error. */
44490 #ifdef __cplusplus
44491 extern "C"
44493 #endif
44494 /* We use char because int might match the return type of a gcc2
44495 builtin and then its argument prototype would still apply. */
44496 char $ac_func ();
44497 /* The GNU C library defines this for functions which it implements
44498 to always fail with ENOSYS. Some functions are actually named
44499 something starting with __ and the normal name is an alias. */
44500 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44501 choke me
44502 #else
44503 char (*f) () = $ac_func;
44504 #endif
44505 #ifdef __cplusplus
44507 #endif
44510 main ()
44512 return f != $ac_func;
44514 return 0;
44516 _ACEOF
44517 rm -f conftest.$ac_objext conftest$ac_exeext
44518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44519 (eval $ac_link) 2>conftest.er1
44520 ac_status=$?
44521 grep -v '^ *+' conftest.er1 >conftest.err
44522 rm -f conftest.er1
44523 cat conftest.err >&5
44524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44525 (exit $ac_status); } &&
44526 { ac_try='test -z "$ac_c_werror_flag"
44527 || test ! -s conftest.err'
44528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44529 (eval $ac_try) 2>&5
44530 ac_status=$?
44531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44532 (exit $ac_status); }; } &&
44533 { ac_try='test -s conftest$ac_exeext'
44534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44535 (eval $ac_try) 2>&5
44536 ac_status=$?
44537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44538 (exit $ac_status); }; }; then
44539 eval "$as_ac_var=yes"
44540 else
44541 echo "$as_me: failed program was:" >&5
44542 sed 's/^/| /' conftest.$ac_ext >&5
44544 eval "$as_ac_var=no"
44546 rm -f conftest.err conftest.$ac_objext \
44547 conftest$ac_exeext conftest.$ac_ext
44549 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44550 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44551 if test `eval echo '${'$as_ac_var'}'` = yes; then
44552 cat >>confdefs.h <<_ACEOF
44553 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44554 _ACEOF
44557 done
44567 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
44568 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
44569 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
44570 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
44571 echo $ECHO_N "(cached) $ECHO_C" >&6
44572 else
44576 ac_ext=cc
44577 ac_cpp='$CXXCPP $CPPFLAGS'
44578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44582 cat >conftest.$ac_ext <<_ACEOF
44583 /* confdefs.h. */
44584 _ACEOF
44585 cat confdefs.h >>conftest.$ac_ext
44586 cat >>conftest.$ac_ext <<_ACEOF
44587 /* end confdefs.h. */
44588 #include <math.h>
44590 main ()
44592 atan2l(0, 0);
44594 return 0;
44596 _ACEOF
44597 rm -f conftest.$ac_objext
44598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44599 (eval $ac_compile) 2>conftest.er1
44600 ac_status=$?
44601 grep -v '^ *+' conftest.er1 >conftest.err
44602 rm -f conftest.er1
44603 cat conftest.err >&5
44604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44605 (exit $ac_status); } &&
44606 { ac_try='test -z "$ac_cxx_werror_flag"
44607 || test ! -s conftest.err'
44608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44609 (eval $ac_try) 2>&5
44610 ac_status=$?
44611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44612 (exit $ac_status); }; } &&
44613 { ac_try='test -s conftest.$ac_objext'
44614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44615 (eval $ac_try) 2>&5
44616 ac_status=$?
44617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44618 (exit $ac_status); }; }; then
44619 glibcxx_cv_func_atan2l_use=yes
44620 else
44621 echo "$as_me: failed program was:" >&5
44622 sed 's/^/| /' conftest.$ac_ext >&5
44624 glibcxx_cv_func_atan2l_use=no
44626 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44627 ac_ext=c
44628 ac_cpp='$CPP $CPPFLAGS'
44629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44637 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
44638 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
44640 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
44642 for ac_func in atan2l
44644 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44645 echo "$as_me:$LINENO: checking for $ac_func" >&5
44646 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44647 if eval "test \"\${$as_ac_var+set}\" = set"; then
44648 echo $ECHO_N "(cached) $ECHO_C" >&6
44649 else
44650 if test x$gcc_no_link = xyes; then
44651 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44652 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44653 { (exit 1); exit 1; }; }
44655 cat >conftest.$ac_ext <<_ACEOF
44656 /* confdefs.h. */
44657 _ACEOF
44658 cat confdefs.h >>conftest.$ac_ext
44659 cat >>conftest.$ac_ext <<_ACEOF
44660 /* end confdefs.h. */
44661 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44662 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44663 #define $ac_func innocuous_$ac_func
44665 /* System header to define __stub macros and hopefully few prototypes,
44666 which can conflict with char $ac_func (); below.
44667 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44668 <limits.h> exists even on freestanding compilers. */
44670 #ifdef __STDC__
44671 # include <limits.h>
44672 #else
44673 # include <assert.h>
44674 #endif
44676 #undef $ac_func
44678 /* Override any gcc2 internal prototype to avoid an error. */
44679 #ifdef __cplusplus
44680 extern "C"
44682 #endif
44683 /* We use char because int might match the return type of a gcc2
44684 builtin and then its argument prototype would still apply. */
44685 char $ac_func ();
44686 /* The GNU C library defines this for functions which it implements
44687 to always fail with ENOSYS. Some functions are actually named
44688 something starting with __ and the normal name is an alias. */
44689 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44690 choke me
44691 #else
44692 char (*f) () = $ac_func;
44693 #endif
44694 #ifdef __cplusplus
44696 #endif
44699 main ()
44701 return f != $ac_func;
44703 return 0;
44705 _ACEOF
44706 rm -f conftest.$ac_objext conftest$ac_exeext
44707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44708 (eval $ac_link) 2>conftest.er1
44709 ac_status=$?
44710 grep -v '^ *+' conftest.er1 >conftest.err
44711 rm -f conftest.er1
44712 cat conftest.err >&5
44713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44714 (exit $ac_status); } &&
44715 { ac_try='test -z "$ac_c_werror_flag"
44716 || test ! -s conftest.err'
44717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44718 (eval $ac_try) 2>&5
44719 ac_status=$?
44720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44721 (exit $ac_status); }; } &&
44722 { ac_try='test -s conftest$ac_exeext'
44723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44724 (eval $ac_try) 2>&5
44725 ac_status=$?
44726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44727 (exit $ac_status); }; }; then
44728 eval "$as_ac_var=yes"
44729 else
44730 echo "$as_me: failed program was:" >&5
44731 sed 's/^/| /' conftest.$ac_ext >&5
44733 eval "$as_ac_var=no"
44735 rm -f conftest.err conftest.$ac_objext \
44736 conftest$ac_exeext conftest.$ac_ext
44738 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44739 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44740 if test `eval echo '${'$as_ac_var'}'` = yes; then
44741 cat >>confdefs.h <<_ACEOF
44742 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44743 _ACEOF
44746 done
44748 else
44750 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
44751 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
44752 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
44753 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
44754 echo $ECHO_N "(cached) $ECHO_C" >&6
44755 else
44759 ac_ext=cc
44760 ac_cpp='$CXXCPP $CPPFLAGS'
44761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44765 cat >conftest.$ac_ext <<_ACEOF
44766 /* confdefs.h. */
44767 _ACEOF
44768 cat confdefs.h >>conftest.$ac_ext
44769 cat >>conftest.$ac_ext <<_ACEOF
44770 /* end confdefs.h. */
44771 #include <math.h>
44773 main ()
44775 _atan2l(0, 0);
44777 return 0;
44779 _ACEOF
44780 rm -f conftest.$ac_objext
44781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44782 (eval $ac_compile) 2>conftest.er1
44783 ac_status=$?
44784 grep -v '^ *+' conftest.er1 >conftest.err
44785 rm -f conftest.er1
44786 cat conftest.err >&5
44787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44788 (exit $ac_status); } &&
44789 { ac_try='test -z "$ac_cxx_werror_flag"
44790 || test ! -s conftest.err'
44791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44792 (eval $ac_try) 2>&5
44793 ac_status=$?
44794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44795 (exit $ac_status); }; } &&
44796 { ac_try='test -s conftest.$ac_objext'
44797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44798 (eval $ac_try) 2>&5
44799 ac_status=$?
44800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44801 (exit $ac_status); }; }; then
44802 glibcxx_cv_func__atan2l_use=yes
44803 else
44804 echo "$as_me: failed program was:" >&5
44805 sed 's/^/| /' conftest.$ac_ext >&5
44807 glibcxx_cv_func__atan2l_use=no
44809 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44810 ac_ext=c
44811 ac_cpp='$CPP $CPPFLAGS'
44812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44820 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
44821 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
44823 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
44825 for ac_func in _atan2l
44827 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44828 echo "$as_me:$LINENO: checking for $ac_func" >&5
44829 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44830 if eval "test \"\${$as_ac_var+set}\" = set"; then
44831 echo $ECHO_N "(cached) $ECHO_C" >&6
44832 else
44833 if test x$gcc_no_link = xyes; then
44834 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44835 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44836 { (exit 1); exit 1; }; }
44838 cat >conftest.$ac_ext <<_ACEOF
44839 /* confdefs.h. */
44840 _ACEOF
44841 cat confdefs.h >>conftest.$ac_ext
44842 cat >>conftest.$ac_ext <<_ACEOF
44843 /* end confdefs.h. */
44844 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44845 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44846 #define $ac_func innocuous_$ac_func
44848 /* System header to define __stub macros and hopefully few prototypes,
44849 which can conflict with char $ac_func (); below.
44850 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44851 <limits.h> exists even on freestanding compilers. */
44853 #ifdef __STDC__
44854 # include <limits.h>
44855 #else
44856 # include <assert.h>
44857 #endif
44859 #undef $ac_func
44861 /* Override any gcc2 internal prototype to avoid an error. */
44862 #ifdef __cplusplus
44863 extern "C"
44865 #endif
44866 /* We use char because int might match the return type of a gcc2
44867 builtin and then its argument prototype would still apply. */
44868 char $ac_func ();
44869 /* The GNU C library defines this for functions which it implements
44870 to always fail with ENOSYS. Some functions are actually named
44871 something starting with __ and the normal name is an alias. */
44872 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44873 choke me
44874 #else
44875 char (*f) () = $ac_func;
44876 #endif
44877 #ifdef __cplusplus
44879 #endif
44882 main ()
44884 return f != $ac_func;
44886 return 0;
44888 _ACEOF
44889 rm -f conftest.$ac_objext conftest$ac_exeext
44890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44891 (eval $ac_link) 2>conftest.er1
44892 ac_status=$?
44893 grep -v '^ *+' conftest.er1 >conftest.err
44894 rm -f conftest.er1
44895 cat conftest.err >&5
44896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44897 (exit $ac_status); } &&
44898 { ac_try='test -z "$ac_c_werror_flag"
44899 || test ! -s conftest.err'
44900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44901 (eval $ac_try) 2>&5
44902 ac_status=$?
44903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44904 (exit $ac_status); }; } &&
44905 { ac_try='test -s conftest$ac_exeext'
44906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44907 (eval $ac_try) 2>&5
44908 ac_status=$?
44909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44910 (exit $ac_status); }; }; then
44911 eval "$as_ac_var=yes"
44912 else
44913 echo "$as_me: failed program was:" >&5
44914 sed 's/^/| /' conftest.$ac_ext >&5
44916 eval "$as_ac_var=no"
44918 rm -f conftest.err conftest.$ac_objext \
44919 conftest$ac_exeext conftest.$ac_ext
44921 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44922 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44923 if test `eval echo '${'$as_ac_var'}'` = yes; then
44924 cat >>confdefs.h <<_ACEOF
44925 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44926 _ACEOF
44929 done
44939 echo "$as_me:$LINENO: checking for expl declaration" >&5
44940 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
44941 if test x${glibcxx_cv_func_expl_use+set} != xset; then
44942 if test "${glibcxx_cv_func_expl_use+set}" = set; then
44943 echo $ECHO_N "(cached) $ECHO_C" >&6
44944 else
44948 ac_ext=cc
44949 ac_cpp='$CXXCPP $CPPFLAGS'
44950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44954 cat >conftest.$ac_ext <<_ACEOF
44955 /* confdefs.h. */
44956 _ACEOF
44957 cat confdefs.h >>conftest.$ac_ext
44958 cat >>conftest.$ac_ext <<_ACEOF
44959 /* end confdefs.h. */
44960 #include <math.h>
44961 #ifdef HAVE_IEEEFP_H
44962 #include <ieeefp.h>
44963 #endif
44966 main ()
44968 expl(0);
44970 return 0;
44972 _ACEOF
44973 rm -f conftest.$ac_objext
44974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44975 (eval $ac_compile) 2>conftest.er1
44976 ac_status=$?
44977 grep -v '^ *+' conftest.er1 >conftest.err
44978 rm -f conftest.er1
44979 cat conftest.err >&5
44980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44981 (exit $ac_status); } &&
44982 { ac_try='test -z "$ac_cxx_werror_flag"
44983 || test ! -s conftest.err'
44984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44985 (eval $ac_try) 2>&5
44986 ac_status=$?
44987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44988 (exit $ac_status); }; } &&
44989 { ac_try='test -s conftest.$ac_objext'
44990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44991 (eval $ac_try) 2>&5
44992 ac_status=$?
44993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44994 (exit $ac_status); }; }; then
44995 glibcxx_cv_func_expl_use=yes
44996 else
44997 echo "$as_me: failed program was:" >&5
44998 sed 's/^/| /' conftest.$ac_ext >&5
45000 glibcxx_cv_func_expl_use=no
45002 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45003 ac_ext=c
45004 ac_cpp='$CPP $CPPFLAGS'
45005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45013 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
45014 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
45016 if test x$glibcxx_cv_func_expl_use = x"yes"; then
45018 for ac_func in expl
45020 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45021 echo "$as_me:$LINENO: checking for $ac_func" >&5
45022 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45023 if eval "test \"\${$as_ac_var+set}\" = set"; then
45024 echo $ECHO_N "(cached) $ECHO_C" >&6
45025 else
45026 if test x$gcc_no_link = xyes; then
45027 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45028 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45029 { (exit 1); exit 1; }; }
45031 cat >conftest.$ac_ext <<_ACEOF
45032 /* confdefs.h. */
45033 _ACEOF
45034 cat confdefs.h >>conftest.$ac_ext
45035 cat >>conftest.$ac_ext <<_ACEOF
45036 /* end confdefs.h. */
45037 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45038 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45039 #define $ac_func innocuous_$ac_func
45041 /* System header to define __stub macros and hopefully few prototypes,
45042 which can conflict with char $ac_func (); below.
45043 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45044 <limits.h> exists even on freestanding compilers. */
45046 #ifdef __STDC__
45047 # include <limits.h>
45048 #else
45049 # include <assert.h>
45050 #endif
45052 #undef $ac_func
45054 /* Override any gcc2 internal prototype to avoid an error. */
45055 #ifdef __cplusplus
45056 extern "C"
45058 #endif
45059 /* We use char because int might match the return type of a gcc2
45060 builtin and then its argument prototype would still apply. */
45061 char $ac_func ();
45062 /* The GNU C library defines this for functions which it implements
45063 to always fail with ENOSYS. Some functions are actually named
45064 something starting with __ and the normal name is an alias. */
45065 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45066 choke me
45067 #else
45068 char (*f) () = $ac_func;
45069 #endif
45070 #ifdef __cplusplus
45072 #endif
45075 main ()
45077 return f != $ac_func;
45079 return 0;
45081 _ACEOF
45082 rm -f conftest.$ac_objext conftest$ac_exeext
45083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45084 (eval $ac_link) 2>conftest.er1
45085 ac_status=$?
45086 grep -v '^ *+' conftest.er1 >conftest.err
45087 rm -f conftest.er1
45088 cat conftest.err >&5
45089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45090 (exit $ac_status); } &&
45091 { ac_try='test -z "$ac_c_werror_flag"
45092 || test ! -s conftest.err'
45093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45094 (eval $ac_try) 2>&5
45095 ac_status=$?
45096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45097 (exit $ac_status); }; } &&
45098 { ac_try='test -s conftest$ac_exeext'
45099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45100 (eval $ac_try) 2>&5
45101 ac_status=$?
45102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45103 (exit $ac_status); }; }; then
45104 eval "$as_ac_var=yes"
45105 else
45106 echo "$as_me: failed program was:" >&5
45107 sed 's/^/| /' conftest.$ac_ext >&5
45109 eval "$as_ac_var=no"
45111 rm -f conftest.err conftest.$ac_objext \
45112 conftest$ac_exeext conftest.$ac_ext
45114 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45115 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45116 if test `eval echo '${'$as_ac_var'}'` = yes; then
45117 cat >>confdefs.h <<_ACEOF
45118 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45119 _ACEOF
45122 done
45124 else
45126 echo "$as_me:$LINENO: checking for _expl declaration" >&5
45127 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
45128 if test x${glibcxx_cv_func__expl_use+set} != xset; then
45129 if test "${glibcxx_cv_func__expl_use+set}" = set; then
45130 echo $ECHO_N "(cached) $ECHO_C" >&6
45131 else
45135 ac_ext=cc
45136 ac_cpp='$CXXCPP $CPPFLAGS'
45137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45141 cat >conftest.$ac_ext <<_ACEOF
45142 /* confdefs.h. */
45143 _ACEOF
45144 cat confdefs.h >>conftest.$ac_ext
45145 cat >>conftest.$ac_ext <<_ACEOF
45146 /* end confdefs.h. */
45147 #include <math.h>
45148 #ifdef HAVE_IEEEFP_H
45149 #include <ieeefp.h>
45150 #endif
45153 main ()
45155 _expl(0);
45157 return 0;
45159 _ACEOF
45160 rm -f conftest.$ac_objext
45161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45162 (eval $ac_compile) 2>conftest.er1
45163 ac_status=$?
45164 grep -v '^ *+' conftest.er1 >conftest.err
45165 rm -f conftest.er1
45166 cat conftest.err >&5
45167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45168 (exit $ac_status); } &&
45169 { ac_try='test -z "$ac_cxx_werror_flag"
45170 || test ! -s conftest.err'
45171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45172 (eval $ac_try) 2>&5
45173 ac_status=$?
45174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45175 (exit $ac_status); }; } &&
45176 { ac_try='test -s conftest.$ac_objext'
45177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45178 (eval $ac_try) 2>&5
45179 ac_status=$?
45180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45181 (exit $ac_status); }; }; then
45182 glibcxx_cv_func__expl_use=yes
45183 else
45184 echo "$as_me: failed program was:" >&5
45185 sed 's/^/| /' conftest.$ac_ext >&5
45187 glibcxx_cv_func__expl_use=no
45189 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45190 ac_ext=c
45191 ac_cpp='$CPP $CPPFLAGS'
45192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45200 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
45201 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
45203 if test x$glibcxx_cv_func__expl_use = x"yes"; then
45205 for ac_func in _expl
45207 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45208 echo "$as_me:$LINENO: checking for $ac_func" >&5
45209 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45210 if eval "test \"\${$as_ac_var+set}\" = set"; then
45211 echo $ECHO_N "(cached) $ECHO_C" >&6
45212 else
45213 if test x$gcc_no_link = xyes; then
45214 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45215 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45216 { (exit 1); exit 1; }; }
45218 cat >conftest.$ac_ext <<_ACEOF
45219 /* confdefs.h. */
45220 _ACEOF
45221 cat confdefs.h >>conftest.$ac_ext
45222 cat >>conftest.$ac_ext <<_ACEOF
45223 /* end confdefs.h. */
45224 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45225 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45226 #define $ac_func innocuous_$ac_func
45228 /* System header to define __stub macros and hopefully few prototypes,
45229 which can conflict with char $ac_func (); below.
45230 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45231 <limits.h> exists even on freestanding compilers. */
45233 #ifdef __STDC__
45234 # include <limits.h>
45235 #else
45236 # include <assert.h>
45237 #endif
45239 #undef $ac_func
45241 /* Override any gcc2 internal prototype to avoid an error. */
45242 #ifdef __cplusplus
45243 extern "C"
45245 #endif
45246 /* We use char because int might match the return type of a gcc2
45247 builtin and then its argument prototype would still apply. */
45248 char $ac_func ();
45249 /* The GNU C library defines this for functions which it implements
45250 to always fail with ENOSYS. Some functions are actually named
45251 something starting with __ and the normal name is an alias. */
45252 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45253 choke me
45254 #else
45255 char (*f) () = $ac_func;
45256 #endif
45257 #ifdef __cplusplus
45259 #endif
45262 main ()
45264 return f != $ac_func;
45266 return 0;
45268 _ACEOF
45269 rm -f conftest.$ac_objext conftest$ac_exeext
45270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45271 (eval $ac_link) 2>conftest.er1
45272 ac_status=$?
45273 grep -v '^ *+' conftest.er1 >conftest.err
45274 rm -f conftest.er1
45275 cat conftest.err >&5
45276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45277 (exit $ac_status); } &&
45278 { ac_try='test -z "$ac_c_werror_flag"
45279 || test ! -s conftest.err'
45280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45281 (eval $ac_try) 2>&5
45282 ac_status=$?
45283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45284 (exit $ac_status); }; } &&
45285 { ac_try='test -s conftest$ac_exeext'
45286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45287 (eval $ac_try) 2>&5
45288 ac_status=$?
45289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45290 (exit $ac_status); }; }; then
45291 eval "$as_ac_var=yes"
45292 else
45293 echo "$as_me: failed program was:" >&5
45294 sed 's/^/| /' conftest.$ac_ext >&5
45296 eval "$as_ac_var=no"
45298 rm -f conftest.err conftest.$ac_objext \
45299 conftest$ac_exeext conftest.$ac_ext
45301 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45302 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45303 if test `eval echo '${'$as_ac_var'}'` = yes; then
45304 cat >>confdefs.h <<_ACEOF
45305 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45306 _ACEOF
45309 done
45319 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
45320 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
45321 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
45322 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
45323 echo $ECHO_N "(cached) $ECHO_C" >&6
45324 else
45328 ac_ext=cc
45329 ac_cpp='$CXXCPP $CPPFLAGS'
45330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45334 cat >conftest.$ac_ext <<_ACEOF
45335 /* confdefs.h. */
45336 _ACEOF
45337 cat confdefs.h >>conftest.$ac_ext
45338 cat >>conftest.$ac_ext <<_ACEOF
45339 /* end confdefs.h. */
45340 #include <math.h>
45341 #ifdef HAVE_IEEEFP_H
45342 #include <ieeefp.h>
45343 #endif
45346 main ()
45348 fabsl(0);
45350 return 0;
45352 _ACEOF
45353 rm -f conftest.$ac_objext
45354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45355 (eval $ac_compile) 2>conftest.er1
45356 ac_status=$?
45357 grep -v '^ *+' conftest.er1 >conftest.err
45358 rm -f conftest.er1
45359 cat conftest.err >&5
45360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45361 (exit $ac_status); } &&
45362 { ac_try='test -z "$ac_cxx_werror_flag"
45363 || test ! -s conftest.err'
45364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45365 (eval $ac_try) 2>&5
45366 ac_status=$?
45367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45368 (exit $ac_status); }; } &&
45369 { ac_try='test -s conftest.$ac_objext'
45370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45371 (eval $ac_try) 2>&5
45372 ac_status=$?
45373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45374 (exit $ac_status); }; }; then
45375 glibcxx_cv_func_fabsl_use=yes
45376 else
45377 echo "$as_me: failed program was:" >&5
45378 sed 's/^/| /' conftest.$ac_ext >&5
45380 glibcxx_cv_func_fabsl_use=no
45382 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45383 ac_ext=c
45384 ac_cpp='$CPP $CPPFLAGS'
45385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45393 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
45394 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
45396 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
45398 for ac_func in fabsl
45400 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45401 echo "$as_me:$LINENO: checking for $ac_func" >&5
45402 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45403 if eval "test \"\${$as_ac_var+set}\" = set"; then
45404 echo $ECHO_N "(cached) $ECHO_C" >&6
45405 else
45406 if test x$gcc_no_link = xyes; then
45407 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45408 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45409 { (exit 1); exit 1; }; }
45411 cat >conftest.$ac_ext <<_ACEOF
45412 /* confdefs.h. */
45413 _ACEOF
45414 cat confdefs.h >>conftest.$ac_ext
45415 cat >>conftest.$ac_ext <<_ACEOF
45416 /* end confdefs.h. */
45417 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45418 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45419 #define $ac_func innocuous_$ac_func
45421 /* System header to define __stub macros and hopefully few prototypes,
45422 which can conflict with char $ac_func (); below.
45423 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45424 <limits.h> exists even on freestanding compilers. */
45426 #ifdef __STDC__
45427 # include <limits.h>
45428 #else
45429 # include <assert.h>
45430 #endif
45432 #undef $ac_func
45434 /* Override any gcc2 internal prototype to avoid an error. */
45435 #ifdef __cplusplus
45436 extern "C"
45438 #endif
45439 /* We use char because int might match the return type of a gcc2
45440 builtin and then its argument prototype would still apply. */
45441 char $ac_func ();
45442 /* The GNU C library defines this for functions which it implements
45443 to always fail with ENOSYS. Some functions are actually named
45444 something starting with __ and the normal name is an alias. */
45445 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45446 choke me
45447 #else
45448 char (*f) () = $ac_func;
45449 #endif
45450 #ifdef __cplusplus
45452 #endif
45455 main ()
45457 return f != $ac_func;
45459 return 0;
45461 _ACEOF
45462 rm -f conftest.$ac_objext conftest$ac_exeext
45463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45464 (eval $ac_link) 2>conftest.er1
45465 ac_status=$?
45466 grep -v '^ *+' conftest.er1 >conftest.err
45467 rm -f conftest.er1
45468 cat conftest.err >&5
45469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45470 (exit $ac_status); } &&
45471 { ac_try='test -z "$ac_c_werror_flag"
45472 || test ! -s conftest.err'
45473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45474 (eval $ac_try) 2>&5
45475 ac_status=$?
45476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45477 (exit $ac_status); }; } &&
45478 { ac_try='test -s conftest$ac_exeext'
45479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45480 (eval $ac_try) 2>&5
45481 ac_status=$?
45482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45483 (exit $ac_status); }; }; then
45484 eval "$as_ac_var=yes"
45485 else
45486 echo "$as_me: failed program was:" >&5
45487 sed 's/^/| /' conftest.$ac_ext >&5
45489 eval "$as_ac_var=no"
45491 rm -f conftest.err conftest.$ac_objext \
45492 conftest$ac_exeext conftest.$ac_ext
45494 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45495 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45496 if test `eval echo '${'$as_ac_var'}'` = yes; then
45497 cat >>confdefs.h <<_ACEOF
45498 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45499 _ACEOF
45502 done
45504 else
45506 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
45507 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
45508 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
45509 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
45510 echo $ECHO_N "(cached) $ECHO_C" >&6
45511 else
45515 ac_ext=cc
45516 ac_cpp='$CXXCPP $CPPFLAGS'
45517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45521 cat >conftest.$ac_ext <<_ACEOF
45522 /* confdefs.h. */
45523 _ACEOF
45524 cat confdefs.h >>conftest.$ac_ext
45525 cat >>conftest.$ac_ext <<_ACEOF
45526 /* end confdefs.h. */
45527 #include <math.h>
45528 #ifdef HAVE_IEEEFP_H
45529 #include <ieeefp.h>
45530 #endif
45533 main ()
45535 _fabsl(0);
45537 return 0;
45539 _ACEOF
45540 rm -f conftest.$ac_objext
45541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45542 (eval $ac_compile) 2>conftest.er1
45543 ac_status=$?
45544 grep -v '^ *+' conftest.er1 >conftest.err
45545 rm -f conftest.er1
45546 cat conftest.err >&5
45547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45548 (exit $ac_status); } &&
45549 { ac_try='test -z "$ac_cxx_werror_flag"
45550 || test ! -s conftest.err'
45551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45552 (eval $ac_try) 2>&5
45553 ac_status=$?
45554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45555 (exit $ac_status); }; } &&
45556 { ac_try='test -s conftest.$ac_objext'
45557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45558 (eval $ac_try) 2>&5
45559 ac_status=$?
45560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45561 (exit $ac_status); }; }; then
45562 glibcxx_cv_func__fabsl_use=yes
45563 else
45564 echo "$as_me: failed program was:" >&5
45565 sed 's/^/| /' conftest.$ac_ext >&5
45567 glibcxx_cv_func__fabsl_use=no
45569 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45570 ac_ext=c
45571 ac_cpp='$CPP $CPPFLAGS'
45572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45580 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
45581 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
45583 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
45585 for ac_func in _fabsl
45587 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45588 echo "$as_me:$LINENO: checking for $ac_func" >&5
45589 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45590 if eval "test \"\${$as_ac_var+set}\" = set"; then
45591 echo $ECHO_N "(cached) $ECHO_C" >&6
45592 else
45593 if test x$gcc_no_link = xyes; then
45594 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45595 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45596 { (exit 1); exit 1; }; }
45598 cat >conftest.$ac_ext <<_ACEOF
45599 /* confdefs.h. */
45600 _ACEOF
45601 cat confdefs.h >>conftest.$ac_ext
45602 cat >>conftest.$ac_ext <<_ACEOF
45603 /* end confdefs.h. */
45604 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45605 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45606 #define $ac_func innocuous_$ac_func
45608 /* System header to define __stub macros and hopefully few prototypes,
45609 which can conflict with char $ac_func (); below.
45610 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45611 <limits.h> exists even on freestanding compilers. */
45613 #ifdef __STDC__
45614 # include <limits.h>
45615 #else
45616 # include <assert.h>
45617 #endif
45619 #undef $ac_func
45621 /* Override any gcc2 internal prototype to avoid an error. */
45622 #ifdef __cplusplus
45623 extern "C"
45625 #endif
45626 /* We use char because int might match the return type of a gcc2
45627 builtin and then its argument prototype would still apply. */
45628 char $ac_func ();
45629 /* The GNU C library defines this for functions which it implements
45630 to always fail with ENOSYS. Some functions are actually named
45631 something starting with __ and the normal name is an alias. */
45632 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45633 choke me
45634 #else
45635 char (*f) () = $ac_func;
45636 #endif
45637 #ifdef __cplusplus
45639 #endif
45642 main ()
45644 return f != $ac_func;
45646 return 0;
45648 _ACEOF
45649 rm -f conftest.$ac_objext conftest$ac_exeext
45650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45651 (eval $ac_link) 2>conftest.er1
45652 ac_status=$?
45653 grep -v '^ *+' conftest.er1 >conftest.err
45654 rm -f conftest.er1
45655 cat conftest.err >&5
45656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45657 (exit $ac_status); } &&
45658 { ac_try='test -z "$ac_c_werror_flag"
45659 || test ! -s conftest.err'
45660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45661 (eval $ac_try) 2>&5
45662 ac_status=$?
45663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45664 (exit $ac_status); }; } &&
45665 { ac_try='test -s conftest$ac_exeext'
45666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45667 (eval $ac_try) 2>&5
45668 ac_status=$?
45669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45670 (exit $ac_status); }; }; then
45671 eval "$as_ac_var=yes"
45672 else
45673 echo "$as_me: failed program was:" >&5
45674 sed 's/^/| /' conftest.$ac_ext >&5
45676 eval "$as_ac_var=no"
45678 rm -f conftest.err conftest.$ac_objext \
45679 conftest$ac_exeext conftest.$ac_ext
45681 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45682 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45683 if test `eval echo '${'$as_ac_var'}'` = yes; then
45684 cat >>confdefs.h <<_ACEOF
45685 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45686 _ACEOF
45689 done
45699 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
45700 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
45701 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
45702 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
45703 echo $ECHO_N "(cached) $ECHO_C" >&6
45704 else
45708 ac_ext=cc
45709 ac_cpp='$CXXCPP $CPPFLAGS'
45710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45714 cat >conftest.$ac_ext <<_ACEOF
45715 /* confdefs.h. */
45716 _ACEOF
45717 cat confdefs.h >>conftest.$ac_ext
45718 cat >>conftest.$ac_ext <<_ACEOF
45719 /* end confdefs.h. */
45720 #include <math.h>
45722 main ()
45724 fmodl(0, 0);
45726 return 0;
45728 _ACEOF
45729 rm -f conftest.$ac_objext
45730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45731 (eval $ac_compile) 2>conftest.er1
45732 ac_status=$?
45733 grep -v '^ *+' conftest.er1 >conftest.err
45734 rm -f conftest.er1
45735 cat conftest.err >&5
45736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45737 (exit $ac_status); } &&
45738 { ac_try='test -z "$ac_cxx_werror_flag"
45739 || test ! -s conftest.err'
45740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45741 (eval $ac_try) 2>&5
45742 ac_status=$?
45743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45744 (exit $ac_status); }; } &&
45745 { ac_try='test -s conftest.$ac_objext'
45746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45747 (eval $ac_try) 2>&5
45748 ac_status=$?
45749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45750 (exit $ac_status); }; }; then
45751 glibcxx_cv_func_fmodl_use=yes
45752 else
45753 echo "$as_me: failed program was:" >&5
45754 sed 's/^/| /' conftest.$ac_ext >&5
45756 glibcxx_cv_func_fmodl_use=no
45758 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45759 ac_ext=c
45760 ac_cpp='$CPP $CPPFLAGS'
45761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45769 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
45770 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
45772 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
45774 for ac_func in fmodl
45776 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45777 echo "$as_me:$LINENO: checking for $ac_func" >&5
45778 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45779 if eval "test \"\${$as_ac_var+set}\" = set"; then
45780 echo $ECHO_N "(cached) $ECHO_C" >&6
45781 else
45782 if test x$gcc_no_link = xyes; then
45783 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45784 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45785 { (exit 1); exit 1; }; }
45787 cat >conftest.$ac_ext <<_ACEOF
45788 /* confdefs.h. */
45789 _ACEOF
45790 cat confdefs.h >>conftest.$ac_ext
45791 cat >>conftest.$ac_ext <<_ACEOF
45792 /* end confdefs.h. */
45793 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45794 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45795 #define $ac_func innocuous_$ac_func
45797 /* System header to define __stub macros and hopefully few prototypes,
45798 which can conflict with char $ac_func (); below.
45799 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45800 <limits.h> exists even on freestanding compilers. */
45802 #ifdef __STDC__
45803 # include <limits.h>
45804 #else
45805 # include <assert.h>
45806 #endif
45808 #undef $ac_func
45810 /* Override any gcc2 internal prototype to avoid an error. */
45811 #ifdef __cplusplus
45812 extern "C"
45814 #endif
45815 /* We use char because int might match the return type of a gcc2
45816 builtin and then its argument prototype would still apply. */
45817 char $ac_func ();
45818 /* The GNU C library defines this for functions which it implements
45819 to always fail with ENOSYS. Some functions are actually named
45820 something starting with __ and the normal name is an alias. */
45821 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45822 choke me
45823 #else
45824 char (*f) () = $ac_func;
45825 #endif
45826 #ifdef __cplusplus
45828 #endif
45831 main ()
45833 return f != $ac_func;
45835 return 0;
45837 _ACEOF
45838 rm -f conftest.$ac_objext conftest$ac_exeext
45839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45840 (eval $ac_link) 2>conftest.er1
45841 ac_status=$?
45842 grep -v '^ *+' conftest.er1 >conftest.err
45843 rm -f conftest.er1
45844 cat conftest.err >&5
45845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45846 (exit $ac_status); } &&
45847 { ac_try='test -z "$ac_c_werror_flag"
45848 || test ! -s conftest.err'
45849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45850 (eval $ac_try) 2>&5
45851 ac_status=$?
45852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45853 (exit $ac_status); }; } &&
45854 { ac_try='test -s conftest$ac_exeext'
45855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45856 (eval $ac_try) 2>&5
45857 ac_status=$?
45858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45859 (exit $ac_status); }; }; then
45860 eval "$as_ac_var=yes"
45861 else
45862 echo "$as_me: failed program was:" >&5
45863 sed 's/^/| /' conftest.$ac_ext >&5
45865 eval "$as_ac_var=no"
45867 rm -f conftest.err conftest.$ac_objext \
45868 conftest$ac_exeext conftest.$ac_ext
45870 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45871 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45872 if test `eval echo '${'$as_ac_var'}'` = yes; then
45873 cat >>confdefs.h <<_ACEOF
45874 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45875 _ACEOF
45878 done
45880 else
45882 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
45883 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
45884 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
45885 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
45886 echo $ECHO_N "(cached) $ECHO_C" >&6
45887 else
45891 ac_ext=cc
45892 ac_cpp='$CXXCPP $CPPFLAGS'
45893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45897 cat >conftest.$ac_ext <<_ACEOF
45898 /* confdefs.h. */
45899 _ACEOF
45900 cat confdefs.h >>conftest.$ac_ext
45901 cat >>conftest.$ac_ext <<_ACEOF
45902 /* end confdefs.h. */
45903 #include <math.h>
45905 main ()
45907 _fmodl(0, 0);
45909 return 0;
45911 _ACEOF
45912 rm -f conftest.$ac_objext
45913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45914 (eval $ac_compile) 2>conftest.er1
45915 ac_status=$?
45916 grep -v '^ *+' conftest.er1 >conftest.err
45917 rm -f conftest.er1
45918 cat conftest.err >&5
45919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45920 (exit $ac_status); } &&
45921 { ac_try='test -z "$ac_cxx_werror_flag"
45922 || test ! -s conftest.err'
45923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45924 (eval $ac_try) 2>&5
45925 ac_status=$?
45926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45927 (exit $ac_status); }; } &&
45928 { ac_try='test -s conftest.$ac_objext'
45929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45930 (eval $ac_try) 2>&5
45931 ac_status=$?
45932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45933 (exit $ac_status); }; }; then
45934 glibcxx_cv_func__fmodl_use=yes
45935 else
45936 echo "$as_me: failed program was:" >&5
45937 sed 's/^/| /' conftest.$ac_ext >&5
45939 glibcxx_cv_func__fmodl_use=no
45941 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45942 ac_ext=c
45943 ac_cpp='$CPP $CPPFLAGS'
45944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45952 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
45953 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
45955 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
45957 for ac_func in _fmodl
45959 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45960 echo "$as_me:$LINENO: checking for $ac_func" >&5
45961 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45962 if eval "test \"\${$as_ac_var+set}\" = set"; then
45963 echo $ECHO_N "(cached) $ECHO_C" >&6
45964 else
45965 if test x$gcc_no_link = xyes; then
45966 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45967 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45968 { (exit 1); exit 1; }; }
45970 cat >conftest.$ac_ext <<_ACEOF
45971 /* confdefs.h. */
45972 _ACEOF
45973 cat confdefs.h >>conftest.$ac_ext
45974 cat >>conftest.$ac_ext <<_ACEOF
45975 /* end confdefs.h. */
45976 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45977 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45978 #define $ac_func innocuous_$ac_func
45980 /* System header to define __stub macros and hopefully few prototypes,
45981 which can conflict with char $ac_func (); below.
45982 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45983 <limits.h> exists even on freestanding compilers. */
45985 #ifdef __STDC__
45986 # include <limits.h>
45987 #else
45988 # include <assert.h>
45989 #endif
45991 #undef $ac_func
45993 /* Override any gcc2 internal prototype to avoid an error. */
45994 #ifdef __cplusplus
45995 extern "C"
45997 #endif
45998 /* We use char because int might match the return type of a gcc2
45999 builtin and then its argument prototype would still apply. */
46000 char $ac_func ();
46001 /* The GNU C library defines this for functions which it implements
46002 to always fail with ENOSYS. Some functions are actually named
46003 something starting with __ and the normal name is an alias. */
46004 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46005 choke me
46006 #else
46007 char (*f) () = $ac_func;
46008 #endif
46009 #ifdef __cplusplus
46011 #endif
46014 main ()
46016 return f != $ac_func;
46018 return 0;
46020 _ACEOF
46021 rm -f conftest.$ac_objext conftest$ac_exeext
46022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46023 (eval $ac_link) 2>conftest.er1
46024 ac_status=$?
46025 grep -v '^ *+' conftest.er1 >conftest.err
46026 rm -f conftest.er1
46027 cat conftest.err >&5
46028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46029 (exit $ac_status); } &&
46030 { ac_try='test -z "$ac_c_werror_flag"
46031 || test ! -s conftest.err'
46032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46033 (eval $ac_try) 2>&5
46034 ac_status=$?
46035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46036 (exit $ac_status); }; } &&
46037 { ac_try='test -s conftest$ac_exeext'
46038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46039 (eval $ac_try) 2>&5
46040 ac_status=$?
46041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46042 (exit $ac_status); }; }; then
46043 eval "$as_ac_var=yes"
46044 else
46045 echo "$as_me: failed program was:" >&5
46046 sed 's/^/| /' conftest.$ac_ext >&5
46048 eval "$as_ac_var=no"
46050 rm -f conftest.err conftest.$ac_objext \
46051 conftest$ac_exeext conftest.$ac_ext
46053 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46054 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46055 if test `eval echo '${'$as_ac_var'}'` = yes; then
46056 cat >>confdefs.h <<_ACEOF
46057 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46058 _ACEOF
46061 done
46071 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
46072 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
46073 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
46074 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
46075 echo $ECHO_N "(cached) $ECHO_C" >&6
46076 else
46080 ac_ext=cc
46081 ac_cpp='$CXXCPP $CPPFLAGS'
46082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46086 cat >conftest.$ac_ext <<_ACEOF
46087 /* confdefs.h. */
46088 _ACEOF
46089 cat confdefs.h >>conftest.$ac_ext
46090 cat >>conftest.$ac_ext <<_ACEOF
46091 /* end confdefs.h. */
46092 #include <math.h>
46094 main ()
46096 frexpl(0, 0);
46098 return 0;
46100 _ACEOF
46101 rm -f conftest.$ac_objext
46102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46103 (eval $ac_compile) 2>conftest.er1
46104 ac_status=$?
46105 grep -v '^ *+' conftest.er1 >conftest.err
46106 rm -f conftest.er1
46107 cat conftest.err >&5
46108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46109 (exit $ac_status); } &&
46110 { ac_try='test -z "$ac_cxx_werror_flag"
46111 || test ! -s conftest.err'
46112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46113 (eval $ac_try) 2>&5
46114 ac_status=$?
46115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46116 (exit $ac_status); }; } &&
46117 { ac_try='test -s conftest.$ac_objext'
46118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46119 (eval $ac_try) 2>&5
46120 ac_status=$?
46121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46122 (exit $ac_status); }; }; then
46123 glibcxx_cv_func_frexpl_use=yes
46124 else
46125 echo "$as_me: failed program was:" >&5
46126 sed 's/^/| /' conftest.$ac_ext >&5
46128 glibcxx_cv_func_frexpl_use=no
46130 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46131 ac_ext=c
46132 ac_cpp='$CPP $CPPFLAGS'
46133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46141 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
46142 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
46144 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
46146 for ac_func in frexpl
46148 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46149 echo "$as_me:$LINENO: checking for $ac_func" >&5
46150 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46151 if eval "test \"\${$as_ac_var+set}\" = set"; then
46152 echo $ECHO_N "(cached) $ECHO_C" >&6
46153 else
46154 if test x$gcc_no_link = xyes; then
46155 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46156 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46157 { (exit 1); exit 1; }; }
46159 cat >conftest.$ac_ext <<_ACEOF
46160 /* confdefs.h. */
46161 _ACEOF
46162 cat confdefs.h >>conftest.$ac_ext
46163 cat >>conftest.$ac_ext <<_ACEOF
46164 /* end confdefs.h. */
46165 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46166 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46167 #define $ac_func innocuous_$ac_func
46169 /* System header to define __stub macros and hopefully few prototypes,
46170 which can conflict with char $ac_func (); below.
46171 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46172 <limits.h> exists even on freestanding compilers. */
46174 #ifdef __STDC__
46175 # include <limits.h>
46176 #else
46177 # include <assert.h>
46178 #endif
46180 #undef $ac_func
46182 /* Override any gcc2 internal prototype to avoid an error. */
46183 #ifdef __cplusplus
46184 extern "C"
46186 #endif
46187 /* We use char because int might match the return type of a gcc2
46188 builtin and then its argument prototype would still apply. */
46189 char $ac_func ();
46190 /* The GNU C library defines this for functions which it implements
46191 to always fail with ENOSYS. Some functions are actually named
46192 something starting with __ and the normal name is an alias. */
46193 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46194 choke me
46195 #else
46196 char (*f) () = $ac_func;
46197 #endif
46198 #ifdef __cplusplus
46200 #endif
46203 main ()
46205 return f != $ac_func;
46207 return 0;
46209 _ACEOF
46210 rm -f conftest.$ac_objext conftest$ac_exeext
46211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46212 (eval $ac_link) 2>conftest.er1
46213 ac_status=$?
46214 grep -v '^ *+' conftest.er1 >conftest.err
46215 rm -f conftest.er1
46216 cat conftest.err >&5
46217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46218 (exit $ac_status); } &&
46219 { ac_try='test -z "$ac_c_werror_flag"
46220 || test ! -s conftest.err'
46221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46222 (eval $ac_try) 2>&5
46223 ac_status=$?
46224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46225 (exit $ac_status); }; } &&
46226 { ac_try='test -s conftest$ac_exeext'
46227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46228 (eval $ac_try) 2>&5
46229 ac_status=$?
46230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46231 (exit $ac_status); }; }; then
46232 eval "$as_ac_var=yes"
46233 else
46234 echo "$as_me: failed program was:" >&5
46235 sed 's/^/| /' conftest.$ac_ext >&5
46237 eval "$as_ac_var=no"
46239 rm -f conftest.err conftest.$ac_objext \
46240 conftest$ac_exeext conftest.$ac_ext
46242 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46243 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46244 if test `eval echo '${'$as_ac_var'}'` = yes; then
46245 cat >>confdefs.h <<_ACEOF
46246 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46247 _ACEOF
46250 done
46252 else
46254 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
46255 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
46256 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
46257 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
46258 echo $ECHO_N "(cached) $ECHO_C" >&6
46259 else
46263 ac_ext=cc
46264 ac_cpp='$CXXCPP $CPPFLAGS'
46265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46269 cat >conftest.$ac_ext <<_ACEOF
46270 /* confdefs.h. */
46271 _ACEOF
46272 cat confdefs.h >>conftest.$ac_ext
46273 cat >>conftest.$ac_ext <<_ACEOF
46274 /* end confdefs.h. */
46275 #include <math.h>
46277 main ()
46279 _frexpl(0, 0);
46281 return 0;
46283 _ACEOF
46284 rm -f conftest.$ac_objext
46285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46286 (eval $ac_compile) 2>conftest.er1
46287 ac_status=$?
46288 grep -v '^ *+' conftest.er1 >conftest.err
46289 rm -f conftest.er1
46290 cat conftest.err >&5
46291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46292 (exit $ac_status); } &&
46293 { ac_try='test -z "$ac_cxx_werror_flag"
46294 || test ! -s conftest.err'
46295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46296 (eval $ac_try) 2>&5
46297 ac_status=$?
46298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46299 (exit $ac_status); }; } &&
46300 { ac_try='test -s conftest.$ac_objext'
46301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46302 (eval $ac_try) 2>&5
46303 ac_status=$?
46304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46305 (exit $ac_status); }; }; then
46306 glibcxx_cv_func__frexpl_use=yes
46307 else
46308 echo "$as_me: failed program was:" >&5
46309 sed 's/^/| /' conftest.$ac_ext >&5
46311 glibcxx_cv_func__frexpl_use=no
46313 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46314 ac_ext=c
46315 ac_cpp='$CPP $CPPFLAGS'
46316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46324 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
46325 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
46327 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
46329 for ac_func in _frexpl
46331 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46332 echo "$as_me:$LINENO: checking for $ac_func" >&5
46333 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46334 if eval "test \"\${$as_ac_var+set}\" = set"; then
46335 echo $ECHO_N "(cached) $ECHO_C" >&6
46336 else
46337 if test x$gcc_no_link = xyes; then
46338 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46339 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46340 { (exit 1); exit 1; }; }
46342 cat >conftest.$ac_ext <<_ACEOF
46343 /* confdefs.h. */
46344 _ACEOF
46345 cat confdefs.h >>conftest.$ac_ext
46346 cat >>conftest.$ac_ext <<_ACEOF
46347 /* end confdefs.h. */
46348 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46349 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46350 #define $ac_func innocuous_$ac_func
46352 /* System header to define __stub macros and hopefully few prototypes,
46353 which can conflict with char $ac_func (); below.
46354 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46355 <limits.h> exists even on freestanding compilers. */
46357 #ifdef __STDC__
46358 # include <limits.h>
46359 #else
46360 # include <assert.h>
46361 #endif
46363 #undef $ac_func
46365 /* Override any gcc2 internal prototype to avoid an error. */
46366 #ifdef __cplusplus
46367 extern "C"
46369 #endif
46370 /* We use char because int might match the return type of a gcc2
46371 builtin and then its argument prototype would still apply. */
46372 char $ac_func ();
46373 /* The GNU C library defines this for functions which it implements
46374 to always fail with ENOSYS. Some functions are actually named
46375 something starting with __ and the normal name is an alias. */
46376 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46377 choke me
46378 #else
46379 char (*f) () = $ac_func;
46380 #endif
46381 #ifdef __cplusplus
46383 #endif
46386 main ()
46388 return f != $ac_func;
46390 return 0;
46392 _ACEOF
46393 rm -f conftest.$ac_objext conftest$ac_exeext
46394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46395 (eval $ac_link) 2>conftest.er1
46396 ac_status=$?
46397 grep -v '^ *+' conftest.er1 >conftest.err
46398 rm -f conftest.er1
46399 cat conftest.err >&5
46400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46401 (exit $ac_status); } &&
46402 { ac_try='test -z "$ac_c_werror_flag"
46403 || test ! -s conftest.err'
46404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46405 (eval $ac_try) 2>&5
46406 ac_status=$?
46407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46408 (exit $ac_status); }; } &&
46409 { ac_try='test -s conftest$ac_exeext'
46410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46411 (eval $ac_try) 2>&5
46412 ac_status=$?
46413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46414 (exit $ac_status); }; }; then
46415 eval "$as_ac_var=yes"
46416 else
46417 echo "$as_me: failed program was:" >&5
46418 sed 's/^/| /' conftest.$ac_ext >&5
46420 eval "$as_ac_var=no"
46422 rm -f conftest.err conftest.$ac_objext \
46423 conftest$ac_exeext conftest.$ac_ext
46425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46426 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46427 if test `eval echo '${'$as_ac_var'}'` = yes; then
46428 cat >>confdefs.h <<_ACEOF
46429 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46430 _ACEOF
46433 done
46443 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
46444 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
46445 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
46446 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
46447 echo $ECHO_N "(cached) $ECHO_C" >&6
46448 else
46452 ac_ext=cc
46453 ac_cpp='$CXXCPP $CPPFLAGS'
46454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46458 cat >conftest.$ac_ext <<_ACEOF
46459 /* confdefs.h. */
46460 _ACEOF
46461 cat confdefs.h >>conftest.$ac_ext
46462 cat >>conftest.$ac_ext <<_ACEOF
46463 /* end confdefs.h. */
46464 #include <math.h>
46466 main ()
46468 hypotl(0, 0);
46470 return 0;
46472 _ACEOF
46473 rm -f conftest.$ac_objext
46474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46475 (eval $ac_compile) 2>conftest.er1
46476 ac_status=$?
46477 grep -v '^ *+' conftest.er1 >conftest.err
46478 rm -f conftest.er1
46479 cat conftest.err >&5
46480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46481 (exit $ac_status); } &&
46482 { ac_try='test -z "$ac_cxx_werror_flag"
46483 || test ! -s conftest.err'
46484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46485 (eval $ac_try) 2>&5
46486 ac_status=$?
46487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46488 (exit $ac_status); }; } &&
46489 { ac_try='test -s conftest.$ac_objext'
46490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46491 (eval $ac_try) 2>&5
46492 ac_status=$?
46493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46494 (exit $ac_status); }; }; then
46495 glibcxx_cv_func_hypotl_use=yes
46496 else
46497 echo "$as_me: failed program was:" >&5
46498 sed 's/^/| /' conftest.$ac_ext >&5
46500 glibcxx_cv_func_hypotl_use=no
46502 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46503 ac_ext=c
46504 ac_cpp='$CPP $CPPFLAGS'
46505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46513 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
46514 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
46516 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
46518 for ac_func in hypotl
46520 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46521 echo "$as_me:$LINENO: checking for $ac_func" >&5
46522 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46523 if eval "test \"\${$as_ac_var+set}\" = set"; then
46524 echo $ECHO_N "(cached) $ECHO_C" >&6
46525 else
46526 if test x$gcc_no_link = xyes; then
46527 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46528 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46529 { (exit 1); exit 1; }; }
46531 cat >conftest.$ac_ext <<_ACEOF
46532 /* confdefs.h. */
46533 _ACEOF
46534 cat confdefs.h >>conftest.$ac_ext
46535 cat >>conftest.$ac_ext <<_ACEOF
46536 /* end confdefs.h. */
46537 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46538 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46539 #define $ac_func innocuous_$ac_func
46541 /* System header to define __stub macros and hopefully few prototypes,
46542 which can conflict with char $ac_func (); below.
46543 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46544 <limits.h> exists even on freestanding compilers. */
46546 #ifdef __STDC__
46547 # include <limits.h>
46548 #else
46549 # include <assert.h>
46550 #endif
46552 #undef $ac_func
46554 /* Override any gcc2 internal prototype to avoid an error. */
46555 #ifdef __cplusplus
46556 extern "C"
46558 #endif
46559 /* We use char because int might match the return type of a gcc2
46560 builtin and then its argument prototype would still apply. */
46561 char $ac_func ();
46562 /* The GNU C library defines this for functions which it implements
46563 to always fail with ENOSYS. Some functions are actually named
46564 something starting with __ and the normal name is an alias. */
46565 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46566 choke me
46567 #else
46568 char (*f) () = $ac_func;
46569 #endif
46570 #ifdef __cplusplus
46572 #endif
46575 main ()
46577 return f != $ac_func;
46579 return 0;
46581 _ACEOF
46582 rm -f conftest.$ac_objext conftest$ac_exeext
46583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46584 (eval $ac_link) 2>conftest.er1
46585 ac_status=$?
46586 grep -v '^ *+' conftest.er1 >conftest.err
46587 rm -f conftest.er1
46588 cat conftest.err >&5
46589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46590 (exit $ac_status); } &&
46591 { ac_try='test -z "$ac_c_werror_flag"
46592 || test ! -s conftest.err'
46593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46594 (eval $ac_try) 2>&5
46595 ac_status=$?
46596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46597 (exit $ac_status); }; } &&
46598 { ac_try='test -s conftest$ac_exeext'
46599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46600 (eval $ac_try) 2>&5
46601 ac_status=$?
46602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46603 (exit $ac_status); }; }; then
46604 eval "$as_ac_var=yes"
46605 else
46606 echo "$as_me: failed program was:" >&5
46607 sed 's/^/| /' conftest.$ac_ext >&5
46609 eval "$as_ac_var=no"
46611 rm -f conftest.err conftest.$ac_objext \
46612 conftest$ac_exeext conftest.$ac_ext
46614 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46615 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46616 if test `eval echo '${'$as_ac_var'}'` = yes; then
46617 cat >>confdefs.h <<_ACEOF
46618 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46619 _ACEOF
46622 done
46624 else
46626 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
46627 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
46628 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
46629 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
46630 echo $ECHO_N "(cached) $ECHO_C" >&6
46631 else
46635 ac_ext=cc
46636 ac_cpp='$CXXCPP $CPPFLAGS'
46637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46641 cat >conftest.$ac_ext <<_ACEOF
46642 /* confdefs.h. */
46643 _ACEOF
46644 cat confdefs.h >>conftest.$ac_ext
46645 cat >>conftest.$ac_ext <<_ACEOF
46646 /* end confdefs.h. */
46647 #include <math.h>
46649 main ()
46651 _hypotl(0, 0);
46653 return 0;
46655 _ACEOF
46656 rm -f conftest.$ac_objext
46657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46658 (eval $ac_compile) 2>conftest.er1
46659 ac_status=$?
46660 grep -v '^ *+' conftest.er1 >conftest.err
46661 rm -f conftest.er1
46662 cat conftest.err >&5
46663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46664 (exit $ac_status); } &&
46665 { ac_try='test -z "$ac_cxx_werror_flag"
46666 || test ! -s conftest.err'
46667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46668 (eval $ac_try) 2>&5
46669 ac_status=$?
46670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46671 (exit $ac_status); }; } &&
46672 { ac_try='test -s conftest.$ac_objext'
46673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46674 (eval $ac_try) 2>&5
46675 ac_status=$?
46676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46677 (exit $ac_status); }; }; then
46678 glibcxx_cv_func__hypotl_use=yes
46679 else
46680 echo "$as_me: failed program was:" >&5
46681 sed 's/^/| /' conftest.$ac_ext >&5
46683 glibcxx_cv_func__hypotl_use=no
46685 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46686 ac_ext=c
46687 ac_cpp='$CPP $CPPFLAGS'
46688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46696 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
46697 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
46699 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
46701 for ac_func in _hypotl
46703 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46704 echo "$as_me:$LINENO: checking for $ac_func" >&5
46705 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46706 if eval "test \"\${$as_ac_var+set}\" = set"; then
46707 echo $ECHO_N "(cached) $ECHO_C" >&6
46708 else
46709 if test x$gcc_no_link = xyes; then
46710 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46711 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46712 { (exit 1); exit 1; }; }
46714 cat >conftest.$ac_ext <<_ACEOF
46715 /* confdefs.h. */
46716 _ACEOF
46717 cat confdefs.h >>conftest.$ac_ext
46718 cat >>conftest.$ac_ext <<_ACEOF
46719 /* end confdefs.h. */
46720 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46721 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46722 #define $ac_func innocuous_$ac_func
46724 /* System header to define __stub macros and hopefully few prototypes,
46725 which can conflict with char $ac_func (); below.
46726 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46727 <limits.h> exists even on freestanding compilers. */
46729 #ifdef __STDC__
46730 # include <limits.h>
46731 #else
46732 # include <assert.h>
46733 #endif
46735 #undef $ac_func
46737 /* Override any gcc2 internal prototype to avoid an error. */
46738 #ifdef __cplusplus
46739 extern "C"
46741 #endif
46742 /* We use char because int might match the return type of a gcc2
46743 builtin and then its argument prototype would still apply. */
46744 char $ac_func ();
46745 /* The GNU C library defines this for functions which it implements
46746 to always fail with ENOSYS. Some functions are actually named
46747 something starting with __ and the normal name is an alias. */
46748 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46749 choke me
46750 #else
46751 char (*f) () = $ac_func;
46752 #endif
46753 #ifdef __cplusplus
46755 #endif
46758 main ()
46760 return f != $ac_func;
46762 return 0;
46764 _ACEOF
46765 rm -f conftest.$ac_objext conftest$ac_exeext
46766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46767 (eval $ac_link) 2>conftest.er1
46768 ac_status=$?
46769 grep -v '^ *+' conftest.er1 >conftest.err
46770 rm -f conftest.er1
46771 cat conftest.err >&5
46772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46773 (exit $ac_status); } &&
46774 { ac_try='test -z "$ac_c_werror_flag"
46775 || test ! -s conftest.err'
46776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46777 (eval $ac_try) 2>&5
46778 ac_status=$?
46779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46780 (exit $ac_status); }; } &&
46781 { ac_try='test -s conftest$ac_exeext'
46782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46783 (eval $ac_try) 2>&5
46784 ac_status=$?
46785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46786 (exit $ac_status); }; }; then
46787 eval "$as_ac_var=yes"
46788 else
46789 echo "$as_me: failed program was:" >&5
46790 sed 's/^/| /' conftest.$ac_ext >&5
46792 eval "$as_ac_var=no"
46794 rm -f conftest.err conftest.$ac_objext \
46795 conftest$ac_exeext conftest.$ac_ext
46797 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46798 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46799 if test `eval echo '${'$as_ac_var'}'` = yes; then
46800 cat >>confdefs.h <<_ACEOF
46801 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46802 _ACEOF
46805 done
46815 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
46816 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
46817 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
46818 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
46819 echo $ECHO_N "(cached) $ECHO_C" >&6
46820 else
46824 ac_ext=cc
46825 ac_cpp='$CXXCPP $CPPFLAGS'
46826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46830 cat >conftest.$ac_ext <<_ACEOF
46831 /* confdefs.h. */
46832 _ACEOF
46833 cat confdefs.h >>conftest.$ac_ext
46834 cat >>conftest.$ac_ext <<_ACEOF
46835 /* end confdefs.h. */
46836 #include <math.h>
46838 main ()
46840 ldexpl(0, 0);
46842 return 0;
46844 _ACEOF
46845 rm -f conftest.$ac_objext
46846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46847 (eval $ac_compile) 2>conftest.er1
46848 ac_status=$?
46849 grep -v '^ *+' conftest.er1 >conftest.err
46850 rm -f conftest.er1
46851 cat conftest.err >&5
46852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46853 (exit $ac_status); } &&
46854 { ac_try='test -z "$ac_cxx_werror_flag"
46855 || test ! -s conftest.err'
46856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46857 (eval $ac_try) 2>&5
46858 ac_status=$?
46859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46860 (exit $ac_status); }; } &&
46861 { ac_try='test -s conftest.$ac_objext'
46862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46863 (eval $ac_try) 2>&5
46864 ac_status=$?
46865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46866 (exit $ac_status); }; }; then
46867 glibcxx_cv_func_ldexpl_use=yes
46868 else
46869 echo "$as_me: failed program was:" >&5
46870 sed 's/^/| /' conftest.$ac_ext >&5
46872 glibcxx_cv_func_ldexpl_use=no
46874 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46875 ac_ext=c
46876 ac_cpp='$CPP $CPPFLAGS'
46877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46885 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
46886 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
46888 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
46890 for ac_func in ldexpl
46892 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46893 echo "$as_me:$LINENO: checking for $ac_func" >&5
46894 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46895 if eval "test \"\${$as_ac_var+set}\" = set"; then
46896 echo $ECHO_N "(cached) $ECHO_C" >&6
46897 else
46898 if test x$gcc_no_link = xyes; then
46899 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46900 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46901 { (exit 1); exit 1; }; }
46903 cat >conftest.$ac_ext <<_ACEOF
46904 /* confdefs.h. */
46905 _ACEOF
46906 cat confdefs.h >>conftest.$ac_ext
46907 cat >>conftest.$ac_ext <<_ACEOF
46908 /* end confdefs.h. */
46909 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46910 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46911 #define $ac_func innocuous_$ac_func
46913 /* System header to define __stub macros and hopefully few prototypes,
46914 which can conflict with char $ac_func (); below.
46915 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46916 <limits.h> exists even on freestanding compilers. */
46918 #ifdef __STDC__
46919 # include <limits.h>
46920 #else
46921 # include <assert.h>
46922 #endif
46924 #undef $ac_func
46926 /* Override any gcc2 internal prototype to avoid an error. */
46927 #ifdef __cplusplus
46928 extern "C"
46930 #endif
46931 /* We use char because int might match the return type of a gcc2
46932 builtin and then its argument prototype would still apply. */
46933 char $ac_func ();
46934 /* The GNU C library defines this for functions which it implements
46935 to always fail with ENOSYS. Some functions are actually named
46936 something starting with __ and the normal name is an alias. */
46937 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46938 choke me
46939 #else
46940 char (*f) () = $ac_func;
46941 #endif
46942 #ifdef __cplusplus
46944 #endif
46947 main ()
46949 return f != $ac_func;
46951 return 0;
46953 _ACEOF
46954 rm -f conftest.$ac_objext conftest$ac_exeext
46955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46956 (eval $ac_link) 2>conftest.er1
46957 ac_status=$?
46958 grep -v '^ *+' conftest.er1 >conftest.err
46959 rm -f conftest.er1
46960 cat conftest.err >&5
46961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46962 (exit $ac_status); } &&
46963 { ac_try='test -z "$ac_c_werror_flag"
46964 || test ! -s conftest.err'
46965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46966 (eval $ac_try) 2>&5
46967 ac_status=$?
46968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46969 (exit $ac_status); }; } &&
46970 { ac_try='test -s conftest$ac_exeext'
46971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46972 (eval $ac_try) 2>&5
46973 ac_status=$?
46974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46975 (exit $ac_status); }; }; then
46976 eval "$as_ac_var=yes"
46977 else
46978 echo "$as_me: failed program was:" >&5
46979 sed 's/^/| /' conftest.$ac_ext >&5
46981 eval "$as_ac_var=no"
46983 rm -f conftest.err conftest.$ac_objext \
46984 conftest$ac_exeext conftest.$ac_ext
46986 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46987 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46988 if test `eval echo '${'$as_ac_var'}'` = yes; then
46989 cat >>confdefs.h <<_ACEOF
46990 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46991 _ACEOF
46994 done
46996 else
46998 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
46999 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
47000 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
47001 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
47002 echo $ECHO_N "(cached) $ECHO_C" >&6
47003 else
47007 ac_ext=cc
47008 ac_cpp='$CXXCPP $CPPFLAGS'
47009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47013 cat >conftest.$ac_ext <<_ACEOF
47014 /* confdefs.h. */
47015 _ACEOF
47016 cat confdefs.h >>conftest.$ac_ext
47017 cat >>conftest.$ac_ext <<_ACEOF
47018 /* end confdefs.h. */
47019 #include <math.h>
47021 main ()
47023 _ldexpl(0, 0);
47025 return 0;
47027 _ACEOF
47028 rm -f conftest.$ac_objext
47029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47030 (eval $ac_compile) 2>conftest.er1
47031 ac_status=$?
47032 grep -v '^ *+' conftest.er1 >conftest.err
47033 rm -f conftest.er1
47034 cat conftest.err >&5
47035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47036 (exit $ac_status); } &&
47037 { ac_try='test -z "$ac_cxx_werror_flag"
47038 || test ! -s conftest.err'
47039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47040 (eval $ac_try) 2>&5
47041 ac_status=$?
47042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47043 (exit $ac_status); }; } &&
47044 { ac_try='test -s conftest.$ac_objext'
47045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47046 (eval $ac_try) 2>&5
47047 ac_status=$?
47048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47049 (exit $ac_status); }; }; then
47050 glibcxx_cv_func__ldexpl_use=yes
47051 else
47052 echo "$as_me: failed program was:" >&5
47053 sed 's/^/| /' conftest.$ac_ext >&5
47055 glibcxx_cv_func__ldexpl_use=no
47057 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47058 ac_ext=c
47059 ac_cpp='$CPP $CPPFLAGS'
47060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47068 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
47069 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
47071 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
47073 for ac_func in _ldexpl
47075 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47076 echo "$as_me:$LINENO: checking for $ac_func" >&5
47077 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47078 if eval "test \"\${$as_ac_var+set}\" = set"; then
47079 echo $ECHO_N "(cached) $ECHO_C" >&6
47080 else
47081 if test x$gcc_no_link = xyes; then
47082 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47083 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47084 { (exit 1); exit 1; }; }
47086 cat >conftest.$ac_ext <<_ACEOF
47087 /* confdefs.h. */
47088 _ACEOF
47089 cat confdefs.h >>conftest.$ac_ext
47090 cat >>conftest.$ac_ext <<_ACEOF
47091 /* end confdefs.h. */
47092 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47093 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47094 #define $ac_func innocuous_$ac_func
47096 /* System header to define __stub macros and hopefully few prototypes,
47097 which can conflict with char $ac_func (); below.
47098 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47099 <limits.h> exists even on freestanding compilers. */
47101 #ifdef __STDC__
47102 # include <limits.h>
47103 #else
47104 # include <assert.h>
47105 #endif
47107 #undef $ac_func
47109 /* Override any gcc2 internal prototype to avoid an error. */
47110 #ifdef __cplusplus
47111 extern "C"
47113 #endif
47114 /* We use char because int might match the return type of a gcc2
47115 builtin and then its argument prototype would still apply. */
47116 char $ac_func ();
47117 /* The GNU C library defines this for functions which it implements
47118 to always fail with ENOSYS. Some functions are actually named
47119 something starting with __ and the normal name is an alias. */
47120 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47121 choke me
47122 #else
47123 char (*f) () = $ac_func;
47124 #endif
47125 #ifdef __cplusplus
47127 #endif
47130 main ()
47132 return f != $ac_func;
47134 return 0;
47136 _ACEOF
47137 rm -f conftest.$ac_objext conftest$ac_exeext
47138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47139 (eval $ac_link) 2>conftest.er1
47140 ac_status=$?
47141 grep -v '^ *+' conftest.er1 >conftest.err
47142 rm -f conftest.er1
47143 cat conftest.err >&5
47144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47145 (exit $ac_status); } &&
47146 { ac_try='test -z "$ac_c_werror_flag"
47147 || test ! -s conftest.err'
47148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47149 (eval $ac_try) 2>&5
47150 ac_status=$?
47151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47152 (exit $ac_status); }; } &&
47153 { ac_try='test -s conftest$ac_exeext'
47154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47155 (eval $ac_try) 2>&5
47156 ac_status=$?
47157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47158 (exit $ac_status); }; }; then
47159 eval "$as_ac_var=yes"
47160 else
47161 echo "$as_me: failed program was:" >&5
47162 sed 's/^/| /' conftest.$ac_ext >&5
47164 eval "$as_ac_var=no"
47166 rm -f conftest.err conftest.$ac_objext \
47167 conftest$ac_exeext conftest.$ac_ext
47169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47170 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47171 if test `eval echo '${'$as_ac_var'}'` = yes; then
47172 cat >>confdefs.h <<_ACEOF
47173 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47174 _ACEOF
47177 done
47187 echo "$as_me:$LINENO: checking for logl declaration" >&5
47188 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
47189 if test x${glibcxx_cv_func_logl_use+set} != xset; then
47190 if test "${glibcxx_cv_func_logl_use+set}" = set; then
47191 echo $ECHO_N "(cached) $ECHO_C" >&6
47192 else
47196 ac_ext=cc
47197 ac_cpp='$CXXCPP $CPPFLAGS'
47198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47202 cat >conftest.$ac_ext <<_ACEOF
47203 /* confdefs.h. */
47204 _ACEOF
47205 cat confdefs.h >>conftest.$ac_ext
47206 cat >>conftest.$ac_ext <<_ACEOF
47207 /* end confdefs.h. */
47208 #include <math.h>
47209 #ifdef HAVE_IEEEFP_H
47210 #include <ieeefp.h>
47211 #endif
47214 main ()
47216 logl(0);
47218 return 0;
47220 _ACEOF
47221 rm -f conftest.$ac_objext
47222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47223 (eval $ac_compile) 2>conftest.er1
47224 ac_status=$?
47225 grep -v '^ *+' conftest.er1 >conftest.err
47226 rm -f conftest.er1
47227 cat conftest.err >&5
47228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47229 (exit $ac_status); } &&
47230 { ac_try='test -z "$ac_cxx_werror_flag"
47231 || test ! -s conftest.err'
47232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47233 (eval $ac_try) 2>&5
47234 ac_status=$?
47235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47236 (exit $ac_status); }; } &&
47237 { ac_try='test -s conftest.$ac_objext'
47238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47239 (eval $ac_try) 2>&5
47240 ac_status=$?
47241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47242 (exit $ac_status); }; }; then
47243 glibcxx_cv_func_logl_use=yes
47244 else
47245 echo "$as_me: failed program was:" >&5
47246 sed 's/^/| /' conftest.$ac_ext >&5
47248 glibcxx_cv_func_logl_use=no
47250 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47251 ac_ext=c
47252 ac_cpp='$CPP $CPPFLAGS'
47253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47261 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
47262 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
47264 if test x$glibcxx_cv_func_logl_use = x"yes"; then
47266 for ac_func in logl
47268 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47269 echo "$as_me:$LINENO: checking for $ac_func" >&5
47270 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47271 if eval "test \"\${$as_ac_var+set}\" = set"; then
47272 echo $ECHO_N "(cached) $ECHO_C" >&6
47273 else
47274 if test x$gcc_no_link = xyes; then
47275 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47276 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47277 { (exit 1); exit 1; }; }
47279 cat >conftest.$ac_ext <<_ACEOF
47280 /* confdefs.h. */
47281 _ACEOF
47282 cat confdefs.h >>conftest.$ac_ext
47283 cat >>conftest.$ac_ext <<_ACEOF
47284 /* end confdefs.h. */
47285 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47286 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47287 #define $ac_func innocuous_$ac_func
47289 /* System header to define __stub macros and hopefully few prototypes,
47290 which can conflict with char $ac_func (); below.
47291 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47292 <limits.h> exists even on freestanding compilers. */
47294 #ifdef __STDC__
47295 # include <limits.h>
47296 #else
47297 # include <assert.h>
47298 #endif
47300 #undef $ac_func
47302 /* Override any gcc2 internal prototype to avoid an error. */
47303 #ifdef __cplusplus
47304 extern "C"
47306 #endif
47307 /* We use char because int might match the return type of a gcc2
47308 builtin and then its argument prototype would still apply. */
47309 char $ac_func ();
47310 /* The GNU C library defines this for functions which it implements
47311 to always fail with ENOSYS. Some functions are actually named
47312 something starting with __ and the normal name is an alias. */
47313 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47314 choke me
47315 #else
47316 char (*f) () = $ac_func;
47317 #endif
47318 #ifdef __cplusplus
47320 #endif
47323 main ()
47325 return f != $ac_func;
47327 return 0;
47329 _ACEOF
47330 rm -f conftest.$ac_objext conftest$ac_exeext
47331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47332 (eval $ac_link) 2>conftest.er1
47333 ac_status=$?
47334 grep -v '^ *+' conftest.er1 >conftest.err
47335 rm -f conftest.er1
47336 cat conftest.err >&5
47337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47338 (exit $ac_status); } &&
47339 { ac_try='test -z "$ac_c_werror_flag"
47340 || test ! -s conftest.err'
47341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47342 (eval $ac_try) 2>&5
47343 ac_status=$?
47344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47345 (exit $ac_status); }; } &&
47346 { ac_try='test -s conftest$ac_exeext'
47347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47348 (eval $ac_try) 2>&5
47349 ac_status=$?
47350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47351 (exit $ac_status); }; }; then
47352 eval "$as_ac_var=yes"
47353 else
47354 echo "$as_me: failed program was:" >&5
47355 sed 's/^/| /' conftest.$ac_ext >&5
47357 eval "$as_ac_var=no"
47359 rm -f conftest.err conftest.$ac_objext \
47360 conftest$ac_exeext conftest.$ac_ext
47362 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47363 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47364 if test `eval echo '${'$as_ac_var'}'` = yes; then
47365 cat >>confdefs.h <<_ACEOF
47366 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47367 _ACEOF
47370 done
47372 else
47374 echo "$as_me:$LINENO: checking for _logl declaration" >&5
47375 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
47376 if test x${glibcxx_cv_func__logl_use+set} != xset; then
47377 if test "${glibcxx_cv_func__logl_use+set}" = set; then
47378 echo $ECHO_N "(cached) $ECHO_C" >&6
47379 else
47383 ac_ext=cc
47384 ac_cpp='$CXXCPP $CPPFLAGS'
47385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47389 cat >conftest.$ac_ext <<_ACEOF
47390 /* confdefs.h. */
47391 _ACEOF
47392 cat confdefs.h >>conftest.$ac_ext
47393 cat >>conftest.$ac_ext <<_ACEOF
47394 /* end confdefs.h. */
47395 #include <math.h>
47396 #ifdef HAVE_IEEEFP_H
47397 #include <ieeefp.h>
47398 #endif
47401 main ()
47403 _logl(0);
47405 return 0;
47407 _ACEOF
47408 rm -f conftest.$ac_objext
47409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47410 (eval $ac_compile) 2>conftest.er1
47411 ac_status=$?
47412 grep -v '^ *+' conftest.er1 >conftest.err
47413 rm -f conftest.er1
47414 cat conftest.err >&5
47415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47416 (exit $ac_status); } &&
47417 { ac_try='test -z "$ac_cxx_werror_flag"
47418 || test ! -s conftest.err'
47419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47420 (eval $ac_try) 2>&5
47421 ac_status=$?
47422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47423 (exit $ac_status); }; } &&
47424 { ac_try='test -s conftest.$ac_objext'
47425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47426 (eval $ac_try) 2>&5
47427 ac_status=$?
47428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47429 (exit $ac_status); }; }; then
47430 glibcxx_cv_func__logl_use=yes
47431 else
47432 echo "$as_me: failed program was:" >&5
47433 sed 's/^/| /' conftest.$ac_ext >&5
47435 glibcxx_cv_func__logl_use=no
47437 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47438 ac_ext=c
47439 ac_cpp='$CPP $CPPFLAGS'
47440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47448 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
47449 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
47451 if test x$glibcxx_cv_func__logl_use = x"yes"; then
47453 for ac_func in _logl
47455 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47456 echo "$as_me:$LINENO: checking for $ac_func" >&5
47457 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47458 if eval "test \"\${$as_ac_var+set}\" = set"; then
47459 echo $ECHO_N "(cached) $ECHO_C" >&6
47460 else
47461 if test x$gcc_no_link = xyes; then
47462 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47463 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47464 { (exit 1); exit 1; }; }
47466 cat >conftest.$ac_ext <<_ACEOF
47467 /* confdefs.h. */
47468 _ACEOF
47469 cat confdefs.h >>conftest.$ac_ext
47470 cat >>conftest.$ac_ext <<_ACEOF
47471 /* end confdefs.h. */
47472 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47473 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47474 #define $ac_func innocuous_$ac_func
47476 /* System header to define __stub macros and hopefully few prototypes,
47477 which can conflict with char $ac_func (); below.
47478 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47479 <limits.h> exists even on freestanding compilers. */
47481 #ifdef __STDC__
47482 # include <limits.h>
47483 #else
47484 # include <assert.h>
47485 #endif
47487 #undef $ac_func
47489 /* Override any gcc2 internal prototype to avoid an error. */
47490 #ifdef __cplusplus
47491 extern "C"
47493 #endif
47494 /* We use char because int might match the return type of a gcc2
47495 builtin and then its argument prototype would still apply. */
47496 char $ac_func ();
47497 /* The GNU C library defines this for functions which it implements
47498 to always fail with ENOSYS. Some functions are actually named
47499 something starting with __ and the normal name is an alias. */
47500 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47501 choke me
47502 #else
47503 char (*f) () = $ac_func;
47504 #endif
47505 #ifdef __cplusplus
47507 #endif
47510 main ()
47512 return f != $ac_func;
47514 return 0;
47516 _ACEOF
47517 rm -f conftest.$ac_objext conftest$ac_exeext
47518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47519 (eval $ac_link) 2>conftest.er1
47520 ac_status=$?
47521 grep -v '^ *+' conftest.er1 >conftest.err
47522 rm -f conftest.er1
47523 cat conftest.err >&5
47524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47525 (exit $ac_status); } &&
47526 { ac_try='test -z "$ac_c_werror_flag"
47527 || test ! -s conftest.err'
47528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47529 (eval $ac_try) 2>&5
47530 ac_status=$?
47531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47532 (exit $ac_status); }; } &&
47533 { ac_try='test -s conftest$ac_exeext'
47534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47535 (eval $ac_try) 2>&5
47536 ac_status=$?
47537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47538 (exit $ac_status); }; }; then
47539 eval "$as_ac_var=yes"
47540 else
47541 echo "$as_me: failed program was:" >&5
47542 sed 's/^/| /' conftest.$ac_ext >&5
47544 eval "$as_ac_var=no"
47546 rm -f conftest.err conftest.$ac_objext \
47547 conftest$ac_exeext conftest.$ac_ext
47549 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47550 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47551 if test `eval echo '${'$as_ac_var'}'` = yes; then
47552 cat >>confdefs.h <<_ACEOF
47553 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47554 _ACEOF
47557 done
47567 echo "$as_me:$LINENO: checking for log10l declaration" >&5
47568 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
47569 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
47570 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
47571 echo $ECHO_N "(cached) $ECHO_C" >&6
47572 else
47576 ac_ext=cc
47577 ac_cpp='$CXXCPP $CPPFLAGS'
47578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47582 cat >conftest.$ac_ext <<_ACEOF
47583 /* confdefs.h. */
47584 _ACEOF
47585 cat confdefs.h >>conftest.$ac_ext
47586 cat >>conftest.$ac_ext <<_ACEOF
47587 /* end confdefs.h. */
47588 #include <math.h>
47589 #ifdef HAVE_IEEEFP_H
47590 #include <ieeefp.h>
47591 #endif
47594 main ()
47596 log10l(0);
47598 return 0;
47600 _ACEOF
47601 rm -f conftest.$ac_objext
47602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47603 (eval $ac_compile) 2>conftest.er1
47604 ac_status=$?
47605 grep -v '^ *+' conftest.er1 >conftest.err
47606 rm -f conftest.er1
47607 cat conftest.err >&5
47608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47609 (exit $ac_status); } &&
47610 { ac_try='test -z "$ac_cxx_werror_flag"
47611 || test ! -s conftest.err'
47612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47613 (eval $ac_try) 2>&5
47614 ac_status=$?
47615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47616 (exit $ac_status); }; } &&
47617 { ac_try='test -s conftest.$ac_objext'
47618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47619 (eval $ac_try) 2>&5
47620 ac_status=$?
47621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47622 (exit $ac_status); }; }; then
47623 glibcxx_cv_func_log10l_use=yes
47624 else
47625 echo "$as_me: failed program was:" >&5
47626 sed 's/^/| /' conftest.$ac_ext >&5
47628 glibcxx_cv_func_log10l_use=no
47630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47631 ac_ext=c
47632 ac_cpp='$CPP $CPPFLAGS'
47633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47641 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
47642 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
47644 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
47646 for ac_func in log10l
47648 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47649 echo "$as_me:$LINENO: checking for $ac_func" >&5
47650 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47651 if eval "test \"\${$as_ac_var+set}\" = set"; then
47652 echo $ECHO_N "(cached) $ECHO_C" >&6
47653 else
47654 if test x$gcc_no_link = xyes; then
47655 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47656 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47657 { (exit 1); exit 1; }; }
47659 cat >conftest.$ac_ext <<_ACEOF
47660 /* confdefs.h. */
47661 _ACEOF
47662 cat confdefs.h >>conftest.$ac_ext
47663 cat >>conftest.$ac_ext <<_ACEOF
47664 /* end confdefs.h. */
47665 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47666 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47667 #define $ac_func innocuous_$ac_func
47669 /* System header to define __stub macros and hopefully few prototypes,
47670 which can conflict with char $ac_func (); below.
47671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47672 <limits.h> exists even on freestanding compilers. */
47674 #ifdef __STDC__
47675 # include <limits.h>
47676 #else
47677 # include <assert.h>
47678 #endif
47680 #undef $ac_func
47682 /* Override any gcc2 internal prototype to avoid an error. */
47683 #ifdef __cplusplus
47684 extern "C"
47686 #endif
47687 /* We use char because int might match the return type of a gcc2
47688 builtin and then its argument prototype would still apply. */
47689 char $ac_func ();
47690 /* The GNU C library defines this for functions which it implements
47691 to always fail with ENOSYS. Some functions are actually named
47692 something starting with __ and the normal name is an alias. */
47693 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47694 choke me
47695 #else
47696 char (*f) () = $ac_func;
47697 #endif
47698 #ifdef __cplusplus
47700 #endif
47703 main ()
47705 return f != $ac_func;
47707 return 0;
47709 _ACEOF
47710 rm -f conftest.$ac_objext conftest$ac_exeext
47711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47712 (eval $ac_link) 2>conftest.er1
47713 ac_status=$?
47714 grep -v '^ *+' conftest.er1 >conftest.err
47715 rm -f conftest.er1
47716 cat conftest.err >&5
47717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47718 (exit $ac_status); } &&
47719 { ac_try='test -z "$ac_c_werror_flag"
47720 || test ! -s conftest.err'
47721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47722 (eval $ac_try) 2>&5
47723 ac_status=$?
47724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47725 (exit $ac_status); }; } &&
47726 { ac_try='test -s conftest$ac_exeext'
47727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47728 (eval $ac_try) 2>&5
47729 ac_status=$?
47730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47731 (exit $ac_status); }; }; then
47732 eval "$as_ac_var=yes"
47733 else
47734 echo "$as_me: failed program was:" >&5
47735 sed 's/^/| /' conftest.$ac_ext >&5
47737 eval "$as_ac_var=no"
47739 rm -f conftest.err conftest.$ac_objext \
47740 conftest$ac_exeext conftest.$ac_ext
47742 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47743 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47744 if test `eval echo '${'$as_ac_var'}'` = yes; then
47745 cat >>confdefs.h <<_ACEOF
47746 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47747 _ACEOF
47750 done
47752 else
47754 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
47755 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
47756 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
47757 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
47758 echo $ECHO_N "(cached) $ECHO_C" >&6
47759 else
47763 ac_ext=cc
47764 ac_cpp='$CXXCPP $CPPFLAGS'
47765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47769 cat >conftest.$ac_ext <<_ACEOF
47770 /* confdefs.h. */
47771 _ACEOF
47772 cat confdefs.h >>conftest.$ac_ext
47773 cat >>conftest.$ac_ext <<_ACEOF
47774 /* end confdefs.h. */
47775 #include <math.h>
47776 #ifdef HAVE_IEEEFP_H
47777 #include <ieeefp.h>
47778 #endif
47781 main ()
47783 _log10l(0);
47785 return 0;
47787 _ACEOF
47788 rm -f conftest.$ac_objext
47789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47790 (eval $ac_compile) 2>conftest.er1
47791 ac_status=$?
47792 grep -v '^ *+' conftest.er1 >conftest.err
47793 rm -f conftest.er1
47794 cat conftest.err >&5
47795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47796 (exit $ac_status); } &&
47797 { ac_try='test -z "$ac_cxx_werror_flag"
47798 || test ! -s conftest.err'
47799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47800 (eval $ac_try) 2>&5
47801 ac_status=$?
47802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47803 (exit $ac_status); }; } &&
47804 { ac_try='test -s conftest.$ac_objext'
47805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47806 (eval $ac_try) 2>&5
47807 ac_status=$?
47808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47809 (exit $ac_status); }; }; then
47810 glibcxx_cv_func__log10l_use=yes
47811 else
47812 echo "$as_me: failed program was:" >&5
47813 sed 's/^/| /' conftest.$ac_ext >&5
47815 glibcxx_cv_func__log10l_use=no
47817 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47818 ac_ext=c
47819 ac_cpp='$CPP $CPPFLAGS'
47820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47828 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
47829 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
47831 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
47833 for ac_func in _log10l
47835 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47836 echo "$as_me:$LINENO: checking for $ac_func" >&5
47837 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47838 if eval "test \"\${$as_ac_var+set}\" = set"; then
47839 echo $ECHO_N "(cached) $ECHO_C" >&6
47840 else
47841 if test x$gcc_no_link = xyes; then
47842 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47843 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47844 { (exit 1); exit 1; }; }
47846 cat >conftest.$ac_ext <<_ACEOF
47847 /* confdefs.h. */
47848 _ACEOF
47849 cat confdefs.h >>conftest.$ac_ext
47850 cat >>conftest.$ac_ext <<_ACEOF
47851 /* end confdefs.h. */
47852 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47853 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47854 #define $ac_func innocuous_$ac_func
47856 /* System header to define __stub macros and hopefully few prototypes,
47857 which can conflict with char $ac_func (); below.
47858 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47859 <limits.h> exists even on freestanding compilers. */
47861 #ifdef __STDC__
47862 # include <limits.h>
47863 #else
47864 # include <assert.h>
47865 #endif
47867 #undef $ac_func
47869 /* Override any gcc2 internal prototype to avoid an error. */
47870 #ifdef __cplusplus
47871 extern "C"
47873 #endif
47874 /* We use char because int might match the return type of a gcc2
47875 builtin and then its argument prototype would still apply. */
47876 char $ac_func ();
47877 /* The GNU C library defines this for functions which it implements
47878 to always fail with ENOSYS. Some functions are actually named
47879 something starting with __ and the normal name is an alias. */
47880 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47881 choke me
47882 #else
47883 char (*f) () = $ac_func;
47884 #endif
47885 #ifdef __cplusplus
47887 #endif
47890 main ()
47892 return f != $ac_func;
47894 return 0;
47896 _ACEOF
47897 rm -f conftest.$ac_objext conftest$ac_exeext
47898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47899 (eval $ac_link) 2>conftest.er1
47900 ac_status=$?
47901 grep -v '^ *+' conftest.er1 >conftest.err
47902 rm -f conftest.er1
47903 cat conftest.err >&5
47904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47905 (exit $ac_status); } &&
47906 { ac_try='test -z "$ac_c_werror_flag"
47907 || test ! -s conftest.err'
47908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47909 (eval $ac_try) 2>&5
47910 ac_status=$?
47911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47912 (exit $ac_status); }; } &&
47913 { ac_try='test -s conftest$ac_exeext'
47914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47915 (eval $ac_try) 2>&5
47916 ac_status=$?
47917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47918 (exit $ac_status); }; }; then
47919 eval "$as_ac_var=yes"
47920 else
47921 echo "$as_me: failed program was:" >&5
47922 sed 's/^/| /' conftest.$ac_ext >&5
47924 eval "$as_ac_var=no"
47926 rm -f conftest.err conftest.$ac_objext \
47927 conftest$ac_exeext conftest.$ac_ext
47929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47930 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47931 if test `eval echo '${'$as_ac_var'}'` = yes; then
47932 cat >>confdefs.h <<_ACEOF
47933 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47934 _ACEOF
47937 done
47947 echo "$as_me:$LINENO: checking for modfl declaration" >&5
47948 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
47949 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
47950 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
47951 echo $ECHO_N "(cached) $ECHO_C" >&6
47952 else
47956 ac_ext=cc
47957 ac_cpp='$CXXCPP $CPPFLAGS'
47958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47962 cat >conftest.$ac_ext <<_ACEOF
47963 /* confdefs.h. */
47964 _ACEOF
47965 cat confdefs.h >>conftest.$ac_ext
47966 cat >>conftest.$ac_ext <<_ACEOF
47967 /* end confdefs.h. */
47968 #include <math.h>
47970 main ()
47972 modfl(0, 0);
47974 return 0;
47976 _ACEOF
47977 rm -f conftest.$ac_objext
47978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47979 (eval $ac_compile) 2>conftest.er1
47980 ac_status=$?
47981 grep -v '^ *+' conftest.er1 >conftest.err
47982 rm -f conftest.er1
47983 cat conftest.err >&5
47984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47985 (exit $ac_status); } &&
47986 { ac_try='test -z "$ac_cxx_werror_flag"
47987 || test ! -s conftest.err'
47988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47989 (eval $ac_try) 2>&5
47990 ac_status=$?
47991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47992 (exit $ac_status); }; } &&
47993 { ac_try='test -s conftest.$ac_objext'
47994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47995 (eval $ac_try) 2>&5
47996 ac_status=$?
47997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47998 (exit $ac_status); }; }; then
47999 glibcxx_cv_func_modfl_use=yes
48000 else
48001 echo "$as_me: failed program was:" >&5
48002 sed 's/^/| /' conftest.$ac_ext >&5
48004 glibcxx_cv_func_modfl_use=no
48006 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48007 ac_ext=c
48008 ac_cpp='$CPP $CPPFLAGS'
48009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48017 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
48018 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
48020 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
48022 for ac_func in modfl
48024 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48025 echo "$as_me:$LINENO: checking for $ac_func" >&5
48026 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48027 if eval "test \"\${$as_ac_var+set}\" = set"; then
48028 echo $ECHO_N "(cached) $ECHO_C" >&6
48029 else
48030 if test x$gcc_no_link = xyes; then
48031 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48032 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48033 { (exit 1); exit 1; }; }
48035 cat >conftest.$ac_ext <<_ACEOF
48036 /* confdefs.h. */
48037 _ACEOF
48038 cat confdefs.h >>conftest.$ac_ext
48039 cat >>conftest.$ac_ext <<_ACEOF
48040 /* end confdefs.h. */
48041 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48042 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48043 #define $ac_func innocuous_$ac_func
48045 /* System header to define __stub macros and hopefully few prototypes,
48046 which can conflict with char $ac_func (); below.
48047 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48048 <limits.h> exists even on freestanding compilers. */
48050 #ifdef __STDC__
48051 # include <limits.h>
48052 #else
48053 # include <assert.h>
48054 #endif
48056 #undef $ac_func
48058 /* Override any gcc2 internal prototype to avoid an error. */
48059 #ifdef __cplusplus
48060 extern "C"
48062 #endif
48063 /* We use char because int might match the return type of a gcc2
48064 builtin and then its argument prototype would still apply. */
48065 char $ac_func ();
48066 /* The GNU C library defines this for functions which it implements
48067 to always fail with ENOSYS. Some functions are actually named
48068 something starting with __ and the normal name is an alias. */
48069 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48070 choke me
48071 #else
48072 char (*f) () = $ac_func;
48073 #endif
48074 #ifdef __cplusplus
48076 #endif
48079 main ()
48081 return f != $ac_func;
48083 return 0;
48085 _ACEOF
48086 rm -f conftest.$ac_objext conftest$ac_exeext
48087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48088 (eval $ac_link) 2>conftest.er1
48089 ac_status=$?
48090 grep -v '^ *+' conftest.er1 >conftest.err
48091 rm -f conftest.er1
48092 cat conftest.err >&5
48093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48094 (exit $ac_status); } &&
48095 { ac_try='test -z "$ac_c_werror_flag"
48096 || test ! -s conftest.err'
48097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48098 (eval $ac_try) 2>&5
48099 ac_status=$?
48100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48101 (exit $ac_status); }; } &&
48102 { ac_try='test -s conftest$ac_exeext'
48103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48104 (eval $ac_try) 2>&5
48105 ac_status=$?
48106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48107 (exit $ac_status); }; }; then
48108 eval "$as_ac_var=yes"
48109 else
48110 echo "$as_me: failed program was:" >&5
48111 sed 's/^/| /' conftest.$ac_ext >&5
48113 eval "$as_ac_var=no"
48115 rm -f conftest.err conftest.$ac_objext \
48116 conftest$ac_exeext conftest.$ac_ext
48118 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48119 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48120 if test `eval echo '${'$as_ac_var'}'` = yes; then
48121 cat >>confdefs.h <<_ACEOF
48122 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48123 _ACEOF
48126 done
48128 else
48130 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
48131 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
48132 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
48133 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
48134 echo $ECHO_N "(cached) $ECHO_C" >&6
48135 else
48139 ac_ext=cc
48140 ac_cpp='$CXXCPP $CPPFLAGS'
48141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48145 cat >conftest.$ac_ext <<_ACEOF
48146 /* confdefs.h. */
48147 _ACEOF
48148 cat confdefs.h >>conftest.$ac_ext
48149 cat >>conftest.$ac_ext <<_ACEOF
48150 /* end confdefs.h. */
48151 #include <math.h>
48153 main ()
48155 _modfl(0, 0);
48157 return 0;
48159 _ACEOF
48160 rm -f conftest.$ac_objext
48161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48162 (eval $ac_compile) 2>conftest.er1
48163 ac_status=$?
48164 grep -v '^ *+' conftest.er1 >conftest.err
48165 rm -f conftest.er1
48166 cat conftest.err >&5
48167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48168 (exit $ac_status); } &&
48169 { ac_try='test -z "$ac_cxx_werror_flag"
48170 || test ! -s conftest.err'
48171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48172 (eval $ac_try) 2>&5
48173 ac_status=$?
48174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48175 (exit $ac_status); }; } &&
48176 { ac_try='test -s conftest.$ac_objext'
48177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48178 (eval $ac_try) 2>&5
48179 ac_status=$?
48180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48181 (exit $ac_status); }; }; then
48182 glibcxx_cv_func__modfl_use=yes
48183 else
48184 echo "$as_me: failed program was:" >&5
48185 sed 's/^/| /' conftest.$ac_ext >&5
48187 glibcxx_cv_func__modfl_use=no
48189 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48190 ac_ext=c
48191 ac_cpp='$CPP $CPPFLAGS'
48192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48200 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
48201 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
48203 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
48205 for ac_func in _modfl
48207 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48208 echo "$as_me:$LINENO: checking for $ac_func" >&5
48209 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48210 if eval "test \"\${$as_ac_var+set}\" = set"; then
48211 echo $ECHO_N "(cached) $ECHO_C" >&6
48212 else
48213 if test x$gcc_no_link = xyes; then
48214 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48215 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48216 { (exit 1); exit 1; }; }
48218 cat >conftest.$ac_ext <<_ACEOF
48219 /* confdefs.h. */
48220 _ACEOF
48221 cat confdefs.h >>conftest.$ac_ext
48222 cat >>conftest.$ac_ext <<_ACEOF
48223 /* end confdefs.h. */
48224 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48225 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48226 #define $ac_func innocuous_$ac_func
48228 /* System header to define __stub macros and hopefully few prototypes,
48229 which can conflict with char $ac_func (); below.
48230 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48231 <limits.h> exists even on freestanding compilers. */
48233 #ifdef __STDC__
48234 # include <limits.h>
48235 #else
48236 # include <assert.h>
48237 #endif
48239 #undef $ac_func
48241 /* Override any gcc2 internal prototype to avoid an error. */
48242 #ifdef __cplusplus
48243 extern "C"
48245 #endif
48246 /* We use char because int might match the return type of a gcc2
48247 builtin and then its argument prototype would still apply. */
48248 char $ac_func ();
48249 /* The GNU C library defines this for functions which it implements
48250 to always fail with ENOSYS. Some functions are actually named
48251 something starting with __ and the normal name is an alias. */
48252 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48253 choke me
48254 #else
48255 char (*f) () = $ac_func;
48256 #endif
48257 #ifdef __cplusplus
48259 #endif
48262 main ()
48264 return f != $ac_func;
48266 return 0;
48268 _ACEOF
48269 rm -f conftest.$ac_objext conftest$ac_exeext
48270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48271 (eval $ac_link) 2>conftest.er1
48272 ac_status=$?
48273 grep -v '^ *+' conftest.er1 >conftest.err
48274 rm -f conftest.er1
48275 cat conftest.err >&5
48276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48277 (exit $ac_status); } &&
48278 { ac_try='test -z "$ac_c_werror_flag"
48279 || test ! -s conftest.err'
48280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48281 (eval $ac_try) 2>&5
48282 ac_status=$?
48283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48284 (exit $ac_status); }; } &&
48285 { ac_try='test -s conftest$ac_exeext'
48286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48287 (eval $ac_try) 2>&5
48288 ac_status=$?
48289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48290 (exit $ac_status); }; }; then
48291 eval "$as_ac_var=yes"
48292 else
48293 echo "$as_me: failed program was:" >&5
48294 sed 's/^/| /' conftest.$ac_ext >&5
48296 eval "$as_ac_var=no"
48298 rm -f conftest.err conftest.$ac_objext \
48299 conftest$ac_exeext conftest.$ac_ext
48301 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48302 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48303 if test `eval echo '${'$as_ac_var'}'` = yes; then
48304 cat >>confdefs.h <<_ACEOF
48305 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48306 _ACEOF
48309 done
48319 echo "$as_me:$LINENO: checking for powl declaration" >&5
48320 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
48321 if test x${glibcxx_cv_func_powl_use+set} != xset; then
48322 if test "${glibcxx_cv_func_powl_use+set}" = set; then
48323 echo $ECHO_N "(cached) $ECHO_C" >&6
48324 else
48328 ac_ext=cc
48329 ac_cpp='$CXXCPP $CPPFLAGS'
48330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48334 cat >conftest.$ac_ext <<_ACEOF
48335 /* confdefs.h. */
48336 _ACEOF
48337 cat confdefs.h >>conftest.$ac_ext
48338 cat >>conftest.$ac_ext <<_ACEOF
48339 /* end confdefs.h. */
48340 #include <math.h>
48342 main ()
48344 powl(0, 0);
48346 return 0;
48348 _ACEOF
48349 rm -f conftest.$ac_objext
48350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48351 (eval $ac_compile) 2>conftest.er1
48352 ac_status=$?
48353 grep -v '^ *+' conftest.er1 >conftest.err
48354 rm -f conftest.er1
48355 cat conftest.err >&5
48356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48357 (exit $ac_status); } &&
48358 { ac_try='test -z "$ac_cxx_werror_flag"
48359 || test ! -s conftest.err'
48360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48361 (eval $ac_try) 2>&5
48362 ac_status=$?
48363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48364 (exit $ac_status); }; } &&
48365 { ac_try='test -s conftest.$ac_objext'
48366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48367 (eval $ac_try) 2>&5
48368 ac_status=$?
48369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48370 (exit $ac_status); }; }; then
48371 glibcxx_cv_func_powl_use=yes
48372 else
48373 echo "$as_me: failed program was:" >&5
48374 sed 's/^/| /' conftest.$ac_ext >&5
48376 glibcxx_cv_func_powl_use=no
48378 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48379 ac_ext=c
48380 ac_cpp='$CPP $CPPFLAGS'
48381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48389 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
48390 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
48392 if test x$glibcxx_cv_func_powl_use = x"yes"; then
48394 for ac_func in powl
48396 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48397 echo "$as_me:$LINENO: checking for $ac_func" >&5
48398 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48399 if eval "test \"\${$as_ac_var+set}\" = set"; then
48400 echo $ECHO_N "(cached) $ECHO_C" >&6
48401 else
48402 if test x$gcc_no_link = xyes; then
48403 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48404 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48405 { (exit 1); exit 1; }; }
48407 cat >conftest.$ac_ext <<_ACEOF
48408 /* confdefs.h. */
48409 _ACEOF
48410 cat confdefs.h >>conftest.$ac_ext
48411 cat >>conftest.$ac_ext <<_ACEOF
48412 /* end confdefs.h. */
48413 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48414 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48415 #define $ac_func innocuous_$ac_func
48417 /* System header to define __stub macros and hopefully few prototypes,
48418 which can conflict with char $ac_func (); below.
48419 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48420 <limits.h> exists even on freestanding compilers. */
48422 #ifdef __STDC__
48423 # include <limits.h>
48424 #else
48425 # include <assert.h>
48426 #endif
48428 #undef $ac_func
48430 /* Override any gcc2 internal prototype to avoid an error. */
48431 #ifdef __cplusplus
48432 extern "C"
48434 #endif
48435 /* We use char because int might match the return type of a gcc2
48436 builtin and then its argument prototype would still apply. */
48437 char $ac_func ();
48438 /* The GNU C library defines this for functions which it implements
48439 to always fail with ENOSYS. Some functions are actually named
48440 something starting with __ and the normal name is an alias. */
48441 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48442 choke me
48443 #else
48444 char (*f) () = $ac_func;
48445 #endif
48446 #ifdef __cplusplus
48448 #endif
48451 main ()
48453 return f != $ac_func;
48455 return 0;
48457 _ACEOF
48458 rm -f conftest.$ac_objext conftest$ac_exeext
48459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48460 (eval $ac_link) 2>conftest.er1
48461 ac_status=$?
48462 grep -v '^ *+' conftest.er1 >conftest.err
48463 rm -f conftest.er1
48464 cat conftest.err >&5
48465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48466 (exit $ac_status); } &&
48467 { ac_try='test -z "$ac_c_werror_flag"
48468 || test ! -s conftest.err'
48469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48470 (eval $ac_try) 2>&5
48471 ac_status=$?
48472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48473 (exit $ac_status); }; } &&
48474 { ac_try='test -s conftest$ac_exeext'
48475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48476 (eval $ac_try) 2>&5
48477 ac_status=$?
48478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48479 (exit $ac_status); }; }; then
48480 eval "$as_ac_var=yes"
48481 else
48482 echo "$as_me: failed program was:" >&5
48483 sed 's/^/| /' conftest.$ac_ext >&5
48485 eval "$as_ac_var=no"
48487 rm -f conftest.err conftest.$ac_objext \
48488 conftest$ac_exeext conftest.$ac_ext
48490 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48491 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48492 if test `eval echo '${'$as_ac_var'}'` = yes; then
48493 cat >>confdefs.h <<_ACEOF
48494 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48495 _ACEOF
48498 done
48500 else
48502 echo "$as_me:$LINENO: checking for _powl declaration" >&5
48503 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
48504 if test x${glibcxx_cv_func__powl_use+set} != xset; then
48505 if test "${glibcxx_cv_func__powl_use+set}" = set; then
48506 echo $ECHO_N "(cached) $ECHO_C" >&6
48507 else
48511 ac_ext=cc
48512 ac_cpp='$CXXCPP $CPPFLAGS'
48513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48517 cat >conftest.$ac_ext <<_ACEOF
48518 /* confdefs.h. */
48519 _ACEOF
48520 cat confdefs.h >>conftest.$ac_ext
48521 cat >>conftest.$ac_ext <<_ACEOF
48522 /* end confdefs.h. */
48523 #include <math.h>
48525 main ()
48527 _powl(0, 0);
48529 return 0;
48531 _ACEOF
48532 rm -f conftest.$ac_objext
48533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48534 (eval $ac_compile) 2>conftest.er1
48535 ac_status=$?
48536 grep -v '^ *+' conftest.er1 >conftest.err
48537 rm -f conftest.er1
48538 cat conftest.err >&5
48539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48540 (exit $ac_status); } &&
48541 { ac_try='test -z "$ac_cxx_werror_flag"
48542 || test ! -s conftest.err'
48543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48544 (eval $ac_try) 2>&5
48545 ac_status=$?
48546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48547 (exit $ac_status); }; } &&
48548 { ac_try='test -s conftest.$ac_objext'
48549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48550 (eval $ac_try) 2>&5
48551 ac_status=$?
48552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48553 (exit $ac_status); }; }; then
48554 glibcxx_cv_func__powl_use=yes
48555 else
48556 echo "$as_me: failed program was:" >&5
48557 sed 's/^/| /' conftest.$ac_ext >&5
48559 glibcxx_cv_func__powl_use=no
48561 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48562 ac_ext=c
48563 ac_cpp='$CPP $CPPFLAGS'
48564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48572 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
48573 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
48575 if test x$glibcxx_cv_func__powl_use = x"yes"; then
48577 for ac_func in _powl
48579 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48580 echo "$as_me:$LINENO: checking for $ac_func" >&5
48581 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48582 if eval "test \"\${$as_ac_var+set}\" = set"; then
48583 echo $ECHO_N "(cached) $ECHO_C" >&6
48584 else
48585 if test x$gcc_no_link = xyes; then
48586 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48587 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48588 { (exit 1); exit 1; }; }
48590 cat >conftest.$ac_ext <<_ACEOF
48591 /* confdefs.h. */
48592 _ACEOF
48593 cat confdefs.h >>conftest.$ac_ext
48594 cat >>conftest.$ac_ext <<_ACEOF
48595 /* end confdefs.h. */
48596 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48597 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48598 #define $ac_func innocuous_$ac_func
48600 /* System header to define __stub macros and hopefully few prototypes,
48601 which can conflict with char $ac_func (); below.
48602 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48603 <limits.h> exists even on freestanding compilers. */
48605 #ifdef __STDC__
48606 # include <limits.h>
48607 #else
48608 # include <assert.h>
48609 #endif
48611 #undef $ac_func
48613 /* Override any gcc2 internal prototype to avoid an error. */
48614 #ifdef __cplusplus
48615 extern "C"
48617 #endif
48618 /* We use char because int might match the return type of a gcc2
48619 builtin and then its argument prototype would still apply. */
48620 char $ac_func ();
48621 /* The GNU C library defines this for functions which it implements
48622 to always fail with ENOSYS. Some functions are actually named
48623 something starting with __ and the normal name is an alias. */
48624 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48625 choke me
48626 #else
48627 char (*f) () = $ac_func;
48628 #endif
48629 #ifdef __cplusplus
48631 #endif
48634 main ()
48636 return f != $ac_func;
48638 return 0;
48640 _ACEOF
48641 rm -f conftest.$ac_objext conftest$ac_exeext
48642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48643 (eval $ac_link) 2>conftest.er1
48644 ac_status=$?
48645 grep -v '^ *+' conftest.er1 >conftest.err
48646 rm -f conftest.er1
48647 cat conftest.err >&5
48648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48649 (exit $ac_status); } &&
48650 { ac_try='test -z "$ac_c_werror_flag"
48651 || test ! -s conftest.err'
48652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48653 (eval $ac_try) 2>&5
48654 ac_status=$?
48655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48656 (exit $ac_status); }; } &&
48657 { ac_try='test -s conftest$ac_exeext'
48658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48659 (eval $ac_try) 2>&5
48660 ac_status=$?
48661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48662 (exit $ac_status); }; }; then
48663 eval "$as_ac_var=yes"
48664 else
48665 echo "$as_me: failed program was:" >&5
48666 sed 's/^/| /' conftest.$ac_ext >&5
48668 eval "$as_ac_var=no"
48670 rm -f conftest.err conftest.$ac_objext \
48671 conftest$ac_exeext conftest.$ac_ext
48673 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48674 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48675 if test `eval echo '${'$as_ac_var'}'` = yes; then
48676 cat >>confdefs.h <<_ACEOF
48677 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48678 _ACEOF
48681 done
48691 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
48692 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
48693 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
48694 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
48695 echo $ECHO_N "(cached) $ECHO_C" >&6
48696 else
48700 ac_ext=cc
48701 ac_cpp='$CXXCPP $CPPFLAGS'
48702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48706 cat >conftest.$ac_ext <<_ACEOF
48707 /* confdefs.h. */
48708 _ACEOF
48709 cat confdefs.h >>conftest.$ac_ext
48710 cat >>conftest.$ac_ext <<_ACEOF
48711 /* end confdefs.h. */
48712 #include <math.h>
48713 #ifdef HAVE_IEEEFP_H
48714 #include <ieeefp.h>
48715 #endif
48718 main ()
48720 sqrtl(0);
48722 return 0;
48724 _ACEOF
48725 rm -f conftest.$ac_objext
48726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48727 (eval $ac_compile) 2>conftest.er1
48728 ac_status=$?
48729 grep -v '^ *+' conftest.er1 >conftest.err
48730 rm -f conftest.er1
48731 cat conftest.err >&5
48732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48733 (exit $ac_status); } &&
48734 { ac_try='test -z "$ac_cxx_werror_flag"
48735 || test ! -s conftest.err'
48736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48737 (eval $ac_try) 2>&5
48738 ac_status=$?
48739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48740 (exit $ac_status); }; } &&
48741 { ac_try='test -s conftest.$ac_objext'
48742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48743 (eval $ac_try) 2>&5
48744 ac_status=$?
48745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48746 (exit $ac_status); }; }; then
48747 glibcxx_cv_func_sqrtl_use=yes
48748 else
48749 echo "$as_me: failed program was:" >&5
48750 sed 's/^/| /' conftest.$ac_ext >&5
48752 glibcxx_cv_func_sqrtl_use=no
48754 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48755 ac_ext=c
48756 ac_cpp='$CPP $CPPFLAGS'
48757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48765 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
48766 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
48768 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
48770 for ac_func in sqrtl
48772 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48773 echo "$as_me:$LINENO: checking for $ac_func" >&5
48774 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48775 if eval "test \"\${$as_ac_var+set}\" = set"; then
48776 echo $ECHO_N "(cached) $ECHO_C" >&6
48777 else
48778 if test x$gcc_no_link = xyes; then
48779 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48780 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48781 { (exit 1); exit 1; }; }
48783 cat >conftest.$ac_ext <<_ACEOF
48784 /* confdefs.h. */
48785 _ACEOF
48786 cat confdefs.h >>conftest.$ac_ext
48787 cat >>conftest.$ac_ext <<_ACEOF
48788 /* end confdefs.h. */
48789 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48790 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48791 #define $ac_func innocuous_$ac_func
48793 /* System header to define __stub macros and hopefully few prototypes,
48794 which can conflict with char $ac_func (); below.
48795 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48796 <limits.h> exists even on freestanding compilers. */
48798 #ifdef __STDC__
48799 # include <limits.h>
48800 #else
48801 # include <assert.h>
48802 #endif
48804 #undef $ac_func
48806 /* Override any gcc2 internal prototype to avoid an error. */
48807 #ifdef __cplusplus
48808 extern "C"
48810 #endif
48811 /* We use char because int might match the return type of a gcc2
48812 builtin and then its argument prototype would still apply. */
48813 char $ac_func ();
48814 /* The GNU C library defines this for functions which it implements
48815 to always fail with ENOSYS. Some functions are actually named
48816 something starting with __ and the normal name is an alias. */
48817 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48818 choke me
48819 #else
48820 char (*f) () = $ac_func;
48821 #endif
48822 #ifdef __cplusplus
48824 #endif
48827 main ()
48829 return f != $ac_func;
48831 return 0;
48833 _ACEOF
48834 rm -f conftest.$ac_objext conftest$ac_exeext
48835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48836 (eval $ac_link) 2>conftest.er1
48837 ac_status=$?
48838 grep -v '^ *+' conftest.er1 >conftest.err
48839 rm -f conftest.er1
48840 cat conftest.err >&5
48841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48842 (exit $ac_status); } &&
48843 { ac_try='test -z "$ac_c_werror_flag"
48844 || test ! -s conftest.err'
48845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48846 (eval $ac_try) 2>&5
48847 ac_status=$?
48848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48849 (exit $ac_status); }; } &&
48850 { ac_try='test -s conftest$ac_exeext'
48851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48852 (eval $ac_try) 2>&5
48853 ac_status=$?
48854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48855 (exit $ac_status); }; }; then
48856 eval "$as_ac_var=yes"
48857 else
48858 echo "$as_me: failed program was:" >&5
48859 sed 's/^/| /' conftest.$ac_ext >&5
48861 eval "$as_ac_var=no"
48863 rm -f conftest.err conftest.$ac_objext \
48864 conftest$ac_exeext conftest.$ac_ext
48866 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48867 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48868 if test `eval echo '${'$as_ac_var'}'` = yes; then
48869 cat >>confdefs.h <<_ACEOF
48870 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48871 _ACEOF
48874 done
48876 else
48878 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
48879 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
48880 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
48881 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
48882 echo $ECHO_N "(cached) $ECHO_C" >&6
48883 else
48887 ac_ext=cc
48888 ac_cpp='$CXXCPP $CPPFLAGS'
48889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48893 cat >conftest.$ac_ext <<_ACEOF
48894 /* confdefs.h. */
48895 _ACEOF
48896 cat confdefs.h >>conftest.$ac_ext
48897 cat >>conftest.$ac_ext <<_ACEOF
48898 /* end confdefs.h. */
48899 #include <math.h>
48900 #ifdef HAVE_IEEEFP_H
48901 #include <ieeefp.h>
48902 #endif
48905 main ()
48907 _sqrtl(0);
48909 return 0;
48911 _ACEOF
48912 rm -f conftest.$ac_objext
48913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48914 (eval $ac_compile) 2>conftest.er1
48915 ac_status=$?
48916 grep -v '^ *+' conftest.er1 >conftest.err
48917 rm -f conftest.er1
48918 cat conftest.err >&5
48919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48920 (exit $ac_status); } &&
48921 { ac_try='test -z "$ac_cxx_werror_flag"
48922 || test ! -s conftest.err'
48923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48924 (eval $ac_try) 2>&5
48925 ac_status=$?
48926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48927 (exit $ac_status); }; } &&
48928 { ac_try='test -s conftest.$ac_objext'
48929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48930 (eval $ac_try) 2>&5
48931 ac_status=$?
48932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48933 (exit $ac_status); }; }; then
48934 glibcxx_cv_func__sqrtl_use=yes
48935 else
48936 echo "$as_me: failed program was:" >&5
48937 sed 's/^/| /' conftest.$ac_ext >&5
48939 glibcxx_cv_func__sqrtl_use=no
48941 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48942 ac_ext=c
48943 ac_cpp='$CPP $CPPFLAGS'
48944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48952 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
48953 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
48955 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
48957 for ac_func in _sqrtl
48959 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48960 echo "$as_me:$LINENO: checking for $ac_func" >&5
48961 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48962 if eval "test \"\${$as_ac_var+set}\" = set"; then
48963 echo $ECHO_N "(cached) $ECHO_C" >&6
48964 else
48965 if test x$gcc_no_link = xyes; then
48966 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48967 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48968 { (exit 1); exit 1; }; }
48970 cat >conftest.$ac_ext <<_ACEOF
48971 /* confdefs.h. */
48972 _ACEOF
48973 cat confdefs.h >>conftest.$ac_ext
48974 cat >>conftest.$ac_ext <<_ACEOF
48975 /* end confdefs.h. */
48976 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48977 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48978 #define $ac_func innocuous_$ac_func
48980 /* System header to define __stub macros and hopefully few prototypes,
48981 which can conflict with char $ac_func (); below.
48982 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48983 <limits.h> exists even on freestanding compilers. */
48985 #ifdef __STDC__
48986 # include <limits.h>
48987 #else
48988 # include <assert.h>
48989 #endif
48991 #undef $ac_func
48993 /* Override any gcc2 internal prototype to avoid an error. */
48994 #ifdef __cplusplus
48995 extern "C"
48997 #endif
48998 /* We use char because int might match the return type of a gcc2
48999 builtin and then its argument prototype would still apply. */
49000 char $ac_func ();
49001 /* The GNU C library defines this for functions which it implements
49002 to always fail with ENOSYS. Some functions are actually named
49003 something starting with __ and the normal name is an alias. */
49004 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49005 choke me
49006 #else
49007 char (*f) () = $ac_func;
49008 #endif
49009 #ifdef __cplusplus
49011 #endif
49014 main ()
49016 return f != $ac_func;
49018 return 0;
49020 _ACEOF
49021 rm -f conftest.$ac_objext conftest$ac_exeext
49022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49023 (eval $ac_link) 2>conftest.er1
49024 ac_status=$?
49025 grep -v '^ *+' conftest.er1 >conftest.err
49026 rm -f conftest.er1
49027 cat conftest.err >&5
49028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49029 (exit $ac_status); } &&
49030 { ac_try='test -z "$ac_c_werror_flag"
49031 || test ! -s conftest.err'
49032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49033 (eval $ac_try) 2>&5
49034 ac_status=$?
49035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49036 (exit $ac_status); }; } &&
49037 { ac_try='test -s conftest$ac_exeext'
49038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49039 (eval $ac_try) 2>&5
49040 ac_status=$?
49041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49042 (exit $ac_status); }; }; then
49043 eval "$as_ac_var=yes"
49044 else
49045 echo "$as_me: failed program was:" >&5
49046 sed 's/^/| /' conftest.$ac_ext >&5
49048 eval "$as_ac_var=no"
49050 rm -f conftest.err conftest.$ac_objext \
49051 conftest$ac_exeext conftest.$ac_ext
49053 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49054 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49055 if test `eval echo '${'$as_ac_var'}'` = yes; then
49056 cat >>confdefs.h <<_ACEOF
49057 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49058 _ACEOF
49061 done
49071 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
49072 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
49073 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
49074 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
49075 echo $ECHO_N "(cached) $ECHO_C" >&6
49076 else
49080 ac_ext=cc
49081 ac_cpp='$CXXCPP $CPPFLAGS'
49082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49086 cat >conftest.$ac_ext <<_ACEOF
49087 /* confdefs.h. */
49088 _ACEOF
49089 cat confdefs.h >>conftest.$ac_ext
49090 cat >>conftest.$ac_ext <<_ACEOF
49091 /* end confdefs.h. */
49092 #include <math.h>
49094 main ()
49096 sincosl(0, 0, 0);
49098 return 0;
49100 _ACEOF
49101 rm -f conftest.$ac_objext
49102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49103 (eval $ac_compile) 2>conftest.er1
49104 ac_status=$?
49105 grep -v '^ *+' conftest.er1 >conftest.err
49106 rm -f conftest.er1
49107 cat conftest.err >&5
49108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49109 (exit $ac_status); } &&
49110 { ac_try='test -z "$ac_cxx_werror_flag"
49111 || test ! -s conftest.err'
49112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49113 (eval $ac_try) 2>&5
49114 ac_status=$?
49115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49116 (exit $ac_status); }; } &&
49117 { ac_try='test -s conftest.$ac_objext'
49118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49119 (eval $ac_try) 2>&5
49120 ac_status=$?
49121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49122 (exit $ac_status); }; }; then
49123 glibcxx_cv_func_sincosl_use=yes
49124 else
49125 echo "$as_me: failed program was:" >&5
49126 sed 's/^/| /' conftest.$ac_ext >&5
49128 glibcxx_cv_func_sincosl_use=no
49130 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49131 ac_ext=c
49132 ac_cpp='$CPP $CPPFLAGS'
49133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49141 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
49142 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
49144 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
49146 for ac_func in sincosl
49148 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49149 echo "$as_me:$LINENO: checking for $ac_func" >&5
49150 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49151 if eval "test \"\${$as_ac_var+set}\" = set"; then
49152 echo $ECHO_N "(cached) $ECHO_C" >&6
49153 else
49154 if test x$gcc_no_link = xyes; then
49155 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49156 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49157 { (exit 1); exit 1; }; }
49159 cat >conftest.$ac_ext <<_ACEOF
49160 /* confdefs.h. */
49161 _ACEOF
49162 cat confdefs.h >>conftest.$ac_ext
49163 cat >>conftest.$ac_ext <<_ACEOF
49164 /* end confdefs.h. */
49165 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49166 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49167 #define $ac_func innocuous_$ac_func
49169 /* System header to define __stub macros and hopefully few prototypes,
49170 which can conflict with char $ac_func (); below.
49171 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49172 <limits.h> exists even on freestanding compilers. */
49174 #ifdef __STDC__
49175 # include <limits.h>
49176 #else
49177 # include <assert.h>
49178 #endif
49180 #undef $ac_func
49182 /* Override any gcc2 internal prototype to avoid an error. */
49183 #ifdef __cplusplus
49184 extern "C"
49186 #endif
49187 /* We use char because int might match the return type of a gcc2
49188 builtin and then its argument prototype would still apply. */
49189 char $ac_func ();
49190 /* The GNU C library defines this for functions which it implements
49191 to always fail with ENOSYS. Some functions are actually named
49192 something starting with __ and the normal name is an alias. */
49193 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49194 choke me
49195 #else
49196 char (*f) () = $ac_func;
49197 #endif
49198 #ifdef __cplusplus
49200 #endif
49203 main ()
49205 return f != $ac_func;
49207 return 0;
49209 _ACEOF
49210 rm -f conftest.$ac_objext conftest$ac_exeext
49211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49212 (eval $ac_link) 2>conftest.er1
49213 ac_status=$?
49214 grep -v '^ *+' conftest.er1 >conftest.err
49215 rm -f conftest.er1
49216 cat conftest.err >&5
49217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49218 (exit $ac_status); } &&
49219 { ac_try='test -z "$ac_c_werror_flag"
49220 || test ! -s conftest.err'
49221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49222 (eval $ac_try) 2>&5
49223 ac_status=$?
49224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49225 (exit $ac_status); }; } &&
49226 { ac_try='test -s conftest$ac_exeext'
49227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49228 (eval $ac_try) 2>&5
49229 ac_status=$?
49230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49231 (exit $ac_status); }; }; then
49232 eval "$as_ac_var=yes"
49233 else
49234 echo "$as_me: failed program was:" >&5
49235 sed 's/^/| /' conftest.$ac_ext >&5
49237 eval "$as_ac_var=no"
49239 rm -f conftest.err conftest.$ac_objext \
49240 conftest$ac_exeext conftest.$ac_ext
49242 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49243 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49244 if test `eval echo '${'$as_ac_var'}'` = yes; then
49245 cat >>confdefs.h <<_ACEOF
49246 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49247 _ACEOF
49250 done
49252 else
49254 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
49255 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
49256 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
49257 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
49258 echo $ECHO_N "(cached) $ECHO_C" >&6
49259 else
49263 ac_ext=cc
49264 ac_cpp='$CXXCPP $CPPFLAGS'
49265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49269 cat >conftest.$ac_ext <<_ACEOF
49270 /* confdefs.h. */
49271 _ACEOF
49272 cat confdefs.h >>conftest.$ac_ext
49273 cat >>conftest.$ac_ext <<_ACEOF
49274 /* end confdefs.h. */
49275 #include <math.h>
49277 main ()
49279 _sincosl(0, 0, 0);
49281 return 0;
49283 _ACEOF
49284 rm -f conftest.$ac_objext
49285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49286 (eval $ac_compile) 2>conftest.er1
49287 ac_status=$?
49288 grep -v '^ *+' conftest.er1 >conftest.err
49289 rm -f conftest.er1
49290 cat conftest.err >&5
49291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49292 (exit $ac_status); } &&
49293 { ac_try='test -z "$ac_cxx_werror_flag"
49294 || test ! -s conftest.err'
49295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49296 (eval $ac_try) 2>&5
49297 ac_status=$?
49298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49299 (exit $ac_status); }; } &&
49300 { ac_try='test -s conftest.$ac_objext'
49301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49302 (eval $ac_try) 2>&5
49303 ac_status=$?
49304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49305 (exit $ac_status); }; }; then
49306 glibcxx_cv_func__sincosl_use=yes
49307 else
49308 echo "$as_me: failed program was:" >&5
49309 sed 's/^/| /' conftest.$ac_ext >&5
49311 glibcxx_cv_func__sincosl_use=no
49313 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49314 ac_ext=c
49315 ac_cpp='$CPP $CPPFLAGS'
49316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49324 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
49325 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
49327 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
49329 for ac_func in _sincosl
49331 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49332 echo "$as_me:$LINENO: checking for $ac_func" >&5
49333 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49334 if eval "test \"\${$as_ac_var+set}\" = set"; then
49335 echo $ECHO_N "(cached) $ECHO_C" >&6
49336 else
49337 if test x$gcc_no_link = xyes; then
49338 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49339 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49340 { (exit 1); exit 1; }; }
49342 cat >conftest.$ac_ext <<_ACEOF
49343 /* confdefs.h. */
49344 _ACEOF
49345 cat confdefs.h >>conftest.$ac_ext
49346 cat >>conftest.$ac_ext <<_ACEOF
49347 /* end confdefs.h. */
49348 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49349 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49350 #define $ac_func innocuous_$ac_func
49352 /* System header to define __stub macros and hopefully few prototypes,
49353 which can conflict with char $ac_func (); below.
49354 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49355 <limits.h> exists even on freestanding compilers. */
49357 #ifdef __STDC__
49358 # include <limits.h>
49359 #else
49360 # include <assert.h>
49361 #endif
49363 #undef $ac_func
49365 /* Override any gcc2 internal prototype to avoid an error. */
49366 #ifdef __cplusplus
49367 extern "C"
49369 #endif
49370 /* We use char because int might match the return type of a gcc2
49371 builtin and then its argument prototype would still apply. */
49372 char $ac_func ();
49373 /* The GNU C library defines this for functions which it implements
49374 to always fail with ENOSYS. Some functions are actually named
49375 something starting with __ and the normal name is an alias. */
49376 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49377 choke me
49378 #else
49379 char (*f) () = $ac_func;
49380 #endif
49381 #ifdef __cplusplus
49383 #endif
49386 main ()
49388 return f != $ac_func;
49390 return 0;
49392 _ACEOF
49393 rm -f conftest.$ac_objext conftest$ac_exeext
49394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49395 (eval $ac_link) 2>conftest.er1
49396 ac_status=$?
49397 grep -v '^ *+' conftest.er1 >conftest.err
49398 rm -f conftest.er1
49399 cat conftest.err >&5
49400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49401 (exit $ac_status); } &&
49402 { ac_try='test -z "$ac_c_werror_flag"
49403 || test ! -s conftest.err'
49404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49405 (eval $ac_try) 2>&5
49406 ac_status=$?
49407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49408 (exit $ac_status); }; } &&
49409 { ac_try='test -s conftest$ac_exeext'
49410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49411 (eval $ac_try) 2>&5
49412 ac_status=$?
49413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49414 (exit $ac_status); }; }; then
49415 eval "$as_ac_var=yes"
49416 else
49417 echo "$as_me: failed program was:" >&5
49418 sed 's/^/| /' conftest.$ac_ext >&5
49420 eval "$as_ac_var=no"
49422 rm -f conftest.err conftest.$ac_objext \
49423 conftest$ac_exeext conftest.$ac_ext
49425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49426 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49427 if test `eval echo '${'$as_ac_var'}'` = yes; then
49428 cat >>confdefs.h <<_ACEOF
49429 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49430 _ACEOF
49433 done
49443 echo "$as_me:$LINENO: checking for finitel declaration" >&5
49444 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
49445 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
49446 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
49447 echo $ECHO_N "(cached) $ECHO_C" >&6
49448 else
49452 ac_ext=cc
49453 ac_cpp='$CXXCPP $CPPFLAGS'
49454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49458 cat >conftest.$ac_ext <<_ACEOF
49459 /* confdefs.h. */
49460 _ACEOF
49461 cat confdefs.h >>conftest.$ac_ext
49462 cat >>conftest.$ac_ext <<_ACEOF
49463 /* end confdefs.h. */
49464 #include <math.h>
49465 #ifdef HAVE_IEEEFP_H
49466 #include <ieeefp.h>
49467 #endif
49470 main ()
49472 finitel(0);
49474 return 0;
49476 _ACEOF
49477 rm -f conftest.$ac_objext
49478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49479 (eval $ac_compile) 2>conftest.er1
49480 ac_status=$?
49481 grep -v '^ *+' conftest.er1 >conftest.err
49482 rm -f conftest.er1
49483 cat conftest.err >&5
49484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49485 (exit $ac_status); } &&
49486 { ac_try='test -z "$ac_cxx_werror_flag"
49487 || test ! -s conftest.err'
49488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49489 (eval $ac_try) 2>&5
49490 ac_status=$?
49491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49492 (exit $ac_status); }; } &&
49493 { ac_try='test -s conftest.$ac_objext'
49494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49495 (eval $ac_try) 2>&5
49496 ac_status=$?
49497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49498 (exit $ac_status); }; }; then
49499 glibcxx_cv_func_finitel_use=yes
49500 else
49501 echo "$as_me: failed program was:" >&5
49502 sed 's/^/| /' conftest.$ac_ext >&5
49504 glibcxx_cv_func_finitel_use=no
49506 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49507 ac_ext=c
49508 ac_cpp='$CPP $CPPFLAGS'
49509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49517 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
49518 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
49520 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
49522 for ac_func in finitel
49524 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49525 echo "$as_me:$LINENO: checking for $ac_func" >&5
49526 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49527 if eval "test \"\${$as_ac_var+set}\" = set"; then
49528 echo $ECHO_N "(cached) $ECHO_C" >&6
49529 else
49530 if test x$gcc_no_link = xyes; then
49531 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49532 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49533 { (exit 1); exit 1; }; }
49535 cat >conftest.$ac_ext <<_ACEOF
49536 /* confdefs.h. */
49537 _ACEOF
49538 cat confdefs.h >>conftest.$ac_ext
49539 cat >>conftest.$ac_ext <<_ACEOF
49540 /* end confdefs.h. */
49541 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49542 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49543 #define $ac_func innocuous_$ac_func
49545 /* System header to define __stub macros and hopefully few prototypes,
49546 which can conflict with char $ac_func (); below.
49547 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49548 <limits.h> exists even on freestanding compilers. */
49550 #ifdef __STDC__
49551 # include <limits.h>
49552 #else
49553 # include <assert.h>
49554 #endif
49556 #undef $ac_func
49558 /* Override any gcc2 internal prototype to avoid an error. */
49559 #ifdef __cplusplus
49560 extern "C"
49562 #endif
49563 /* We use char because int might match the return type of a gcc2
49564 builtin and then its argument prototype would still apply. */
49565 char $ac_func ();
49566 /* The GNU C library defines this for functions which it implements
49567 to always fail with ENOSYS. Some functions are actually named
49568 something starting with __ and the normal name is an alias. */
49569 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49570 choke me
49571 #else
49572 char (*f) () = $ac_func;
49573 #endif
49574 #ifdef __cplusplus
49576 #endif
49579 main ()
49581 return f != $ac_func;
49583 return 0;
49585 _ACEOF
49586 rm -f conftest.$ac_objext conftest$ac_exeext
49587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49588 (eval $ac_link) 2>conftest.er1
49589 ac_status=$?
49590 grep -v '^ *+' conftest.er1 >conftest.err
49591 rm -f conftest.er1
49592 cat conftest.err >&5
49593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49594 (exit $ac_status); } &&
49595 { ac_try='test -z "$ac_c_werror_flag"
49596 || test ! -s conftest.err'
49597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49598 (eval $ac_try) 2>&5
49599 ac_status=$?
49600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49601 (exit $ac_status); }; } &&
49602 { ac_try='test -s conftest$ac_exeext'
49603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49604 (eval $ac_try) 2>&5
49605 ac_status=$?
49606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49607 (exit $ac_status); }; }; then
49608 eval "$as_ac_var=yes"
49609 else
49610 echo "$as_me: failed program was:" >&5
49611 sed 's/^/| /' conftest.$ac_ext >&5
49613 eval "$as_ac_var=no"
49615 rm -f conftest.err conftest.$ac_objext \
49616 conftest$ac_exeext conftest.$ac_ext
49618 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49619 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49620 if test `eval echo '${'$as_ac_var'}'` = yes; then
49621 cat >>confdefs.h <<_ACEOF
49622 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49623 _ACEOF
49626 done
49628 else
49630 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
49631 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
49632 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
49633 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
49634 echo $ECHO_N "(cached) $ECHO_C" >&6
49635 else
49639 ac_ext=cc
49640 ac_cpp='$CXXCPP $CPPFLAGS'
49641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49645 cat >conftest.$ac_ext <<_ACEOF
49646 /* confdefs.h. */
49647 _ACEOF
49648 cat confdefs.h >>conftest.$ac_ext
49649 cat >>conftest.$ac_ext <<_ACEOF
49650 /* end confdefs.h. */
49651 #include <math.h>
49652 #ifdef HAVE_IEEEFP_H
49653 #include <ieeefp.h>
49654 #endif
49657 main ()
49659 _finitel(0);
49661 return 0;
49663 _ACEOF
49664 rm -f conftest.$ac_objext
49665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49666 (eval $ac_compile) 2>conftest.er1
49667 ac_status=$?
49668 grep -v '^ *+' conftest.er1 >conftest.err
49669 rm -f conftest.er1
49670 cat conftest.err >&5
49671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49672 (exit $ac_status); } &&
49673 { ac_try='test -z "$ac_cxx_werror_flag"
49674 || test ! -s conftest.err'
49675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49676 (eval $ac_try) 2>&5
49677 ac_status=$?
49678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49679 (exit $ac_status); }; } &&
49680 { ac_try='test -s conftest.$ac_objext'
49681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49682 (eval $ac_try) 2>&5
49683 ac_status=$?
49684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49685 (exit $ac_status); }; }; then
49686 glibcxx_cv_func__finitel_use=yes
49687 else
49688 echo "$as_me: failed program was:" >&5
49689 sed 's/^/| /' conftest.$ac_ext >&5
49691 glibcxx_cv_func__finitel_use=no
49693 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49694 ac_ext=c
49695 ac_cpp='$CPP $CPPFLAGS'
49696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49704 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
49705 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
49707 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
49709 for ac_func in _finitel
49711 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49712 echo "$as_me:$LINENO: checking for $ac_func" >&5
49713 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49714 if eval "test \"\${$as_ac_var+set}\" = set"; then
49715 echo $ECHO_N "(cached) $ECHO_C" >&6
49716 else
49717 if test x$gcc_no_link = xyes; then
49718 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49719 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49720 { (exit 1); exit 1; }; }
49722 cat >conftest.$ac_ext <<_ACEOF
49723 /* confdefs.h. */
49724 _ACEOF
49725 cat confdefs.h >>conftest.$ac_ext
49726 cat >>conftest.$ac_ext <<_ACEOF
49727 /* end confdefs.h. */
49728 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49729 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49730 #define $ac_func innocuous_$ac_func
49732 /* System header to define __stub macros and hopefully few prototypes,
49733 which can conflict with char $ac_func (); below.
49734 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49735 <limits.h> exists even on freestanding compilers. */
49737 #ifdef __STDC__
49738 # include <limits.h>
49739 #else
49740 # include <assert.h>
49741 #endif
49743 #undef $ac_func
49745 /* Override any gcc2 internal prototype to avoid an error. */
49746 #ifdef __cplusplus
49747 extern "C"
49749 #endif
49750 /* We use char because int might match the return type of a gcc2
49751 builtin and then its argument prototype would still apply. */
49752 char $ac_func ();
49753 /* The GNU C library defines this for functions which it implements
49754 to always fail with ENOSYS. Some functions are actually named
49755 something starting with __ and the normal name is an alias. */
49756 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49757 choke me
49758 #else
49759 char (*f) () = $ac_func;
49760 #endif
49761 #ifdef __cplusplus
49763 #endif
49766 main ()
49768 return f != $ac_func;
49770 return 0;
49772 _ACEOF
49773 rm -f conftest.$ac_objext conftest$ac_exeext
49774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49775 (eval $ac_link) 2>conftest.er1
49776 ac_status=$?
49777 grep -v '^ *+' conftest.er1 >conftest.err
49778 rm -f conftest.er1
49779 cat conftest.err >&5
49780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49781 (exit $ac_status); } &&
49782 { ac_try='test -z "$ac_c_werror_flag"
49783 || test ! -s conftest.err'
49784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49785 (eval $ac_try) 2>&5
49786 ac_status=$?
49787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49788 (exit $ac_status); }; } &&
49789 { ac_try='test -s conftest$ac_exeext'
49790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49791 (eval $ac_try) 2>&5
49792 ac_status=$?
49793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49794 (exit $ac_status); }; }; then
49795 eval "$as_ac_var=yes"
49796 else
49797 echo "$as_me: failed program was:" >&5
49798 sed 's/^/| /' conftest.$ac_ext >&5
49800 eval "$as_ac_var=no"
49802 rm -f conftest.err conftest.$ac_objext \
49803 conftest$ac_exeext conftest.$ac_ext
49805 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49806 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49807 if test `eval echo '${'$as_ac_var'}'` = yes; then
49808 cat >>confdefs.h <<_ACEOF
49809 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49810 _ACEOF
49813 done
49822 LIBS="$ac_save_LIBS"
49823 CXXFLAGS="$ac_save_CXXFLAGS"
49827 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
49828 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
49829 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
49830 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
49831 echo $ECHO_N "(cached) $ECHO_C" >&6
49832 else
49836 ac_ext=cc
49837 ac_cpp='$CXXCPP $CPPFLAGS'
49838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49842 cat >conftest.$ac_ext <<_ACEOF
49843 /* confdefs.h. */
49844 _ACEOF
49845 cat confdefs.h >>conftest.$ac_ext
49846 cat >>conftest.$ac_ext <<_ACEOF
49847 /* end confdefs.h. */
49848 #include <math.h>
49850 main ()
49852 __builtin_abs(0);
49854 return 0;
49856 _ACEOF
49857 rm -f conftest.$ac_objext
49858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49859 (eval $ac_compile) 2>conftest.er1
49860 ac_status=$?
49861 grep -v '^ *+' conftest.er1 >conftest.err
49862 rm -f conftest.er1
49863 cat conftest.err >&5
49864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49865 (exit $ac_status); } &&
49866 { ac_try='test -z "$ac_cxx_werror_flag"
49867 || test ! -s conftest.err'
49868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49869 (eval $ac_try) 2>&5
49870 ac_status=$?
49871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49872 (exit $ac_status); }; } &&
49873 { ac_try='test -s conftest.$ac_objext'
49874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49875 (eval $ac_try) 2>&5
49876 ac_status=$?
49877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49878 (exit $ac_status); }; }; then
49879 glibcxx_cv_func___builtin_abs_use=yes
49880 else
49881 echo "$as_me: failed program was:" >&5
49882 sed 's/^/| /' conftest.$ac_ext >&5
49884 glibcxx_cv_func___builtin_abs_use=no
49886 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49887 ac_ext=c
49888 ac_cpp='$CPP $CPPFLAGS'
49889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49897 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
49898 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
49899 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
49900 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
49901 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
49902 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
49903 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
49904 echo $ECHO_N "(cached) $ECHO_C" >&6
49905 else
49907 if test x$gcc_no_link = xyes; then
49908 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49909 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49910 { (exit 1); exit 1; }; }
49912 cat >conftest.$ac_ext <<_ACEOF
49913 /* confdefs.h. */
49914 _ACEOF
49915 cat confdefs.h >>conftest.$ac_ext
49916 cat >>conftest.$ac_ext <<_ACEOF
49917 /* end confdefs.h. */
49918 #include <math.h>
49920 main ()
49922 __builtin_abs(0);
49924 return 0;
49926 _ACEOF
49927 rm -f conftest.$ac_objext conftest$ac_exeext
49928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49929 (eval $ac_link) 2>conftest.er1
49930 ac_status=$?
49931 grep -v '^ *+' conftest.er1 >conftest.err
49932 rm -f conftest.er1
49933 cat conftest.err >&5
49934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49935 (exit $ac_status); } &&
49936 { ac_try='test -z "$ac_c_werror_flag"
49937 || test ! -s conftest.err'
49938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49939 (eval $ac_try) 2>&5
49940 ac_status=$?
49941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49942 (exit $ac_status); }; } &&
49943 { ac_try='test -s conftest$ac_exeext'
49944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49945 (eval $ac_try) 2>&5
49946 ac_status=$?
49947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49948 (exit $ac_status); }; }; then
49949 glibcxx_cv_func___builtin_abs_link=yes
49950 else
49951 echo "$as_me: failed program was:" >&5
49952 sed 's/^/| /' conftest.$ac_ext >&5
49954 glibcxx_cv_func___builtin_abs_link=no
49956 rm -f conftest.err conftest.$ac_objext \
49957 conftest$ac_exeext conftest.$ac_ext
49962 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
49963 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
49965 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
49967 cat >>confdefs.h <<\_ACEOF
49968 #define HAVE___BUILTIN_ABS 1
49969 _ACEOF
49976 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
49977 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
49978 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
49979 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
49980 echo $ECHO_N "(cached) $ECHO_C" >&6
49981 else
49985 ac_ext=cc
49986 ac_cpp='$CXXCPP $CPPFLAGS'
49987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49991 cat >conftest.$ac_ext <<_ACEOF
49992 /* confdefs.h. */
49993 _ACEOF
49994 cat confdefs.h >>conftest.$ac_ext
49995 cat >>conftest.$ac_ext <<_ACEOF
49996 /* end confdefs.h. */
49997 #include <math.h>
49999 main ()
50001 __builtin_fabsf(0);
50003 return 0;
50005 _ACEOF
50006 rm -f conftest.$ac_objext
50007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50008 (eval $ac_compile) 2>conftest.er1
50009 ac_status=$?
50010 grep -v '^ *+' conftest.er1 >conftest.err
50011 rm -f conftest.er1
50012 cat conftest.err >&5
50013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50014 (exit $ac_status); } &&
50015 { ac_try='test -z "$ac_cxx_werror_flag"
50016 || test ! -s conftest.err'
50017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50018 (eval $ac_try) 2>&5
50019 ac_status=$?
50020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50021 (exit $ac_status); }; } &&
50022 { ac_try='test -s conftest.$ac_objext'
50023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50024 (eval $ac_try) 2>&5
50025 ac_status=$?
50026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50027 (exit $ac_status); }; }; then
50028 glibcxx_cv_func___builtin_fabsf_use=yes
50029 else
50030 echo "$as_me: failed program was:" >&5
50031 sed 's/^/| /' conftest.$ac_ext >&5
50033 glibcxx_cv_func___builtin_fabsf_use=no
50035 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50036 ac_ext=c
50037 ac_cpp='$CPP $CPPFLAGS'
50038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50046 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
50047 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
50048 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
50049 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
50050 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
50051 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
50052 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
50053 echo $ECHO_N "(cached) $ECHO_C" >&6
50054 else
50056 if test x$gcc_no_link = xyes; then
50057 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50058 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50059 { (exit 1); exit 1; }; }
50061 cat >conftest.$ac_ext <<_ACEOF
50062 /* confdefs.h. */
50063 _ACEOF
50064 cat confdefs.h >>conftest.$ac_ext
50065 cat >>conftest.$ac_ext <<_ACEOF
50066 /* end confdefs.h. */
50067 #include <math.h>
50069 main ()
50071 __builtin_fabsf(0);
50073 return 0;
50075 _ACEOF
50076 rm -f conftest.$ac_objext conftest$ac_exeext
50077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50078 (eval $ac_link) 2>conftest.er1
50079 ac_status=$?
50080 grep -v '^ *+' conftest.er1 >conftest.err
50081 rm -f conftest.er1
50082 cat conftest.err >&5
50083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50084 (exit $ac_status); } &&
50085 { ac_try='test -z "$ac_c_werror_flag"
50086 || test ! -s conftest.err'
50087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50088 (eval $ac_try) 2>&5
50089 ac_status=$?
50090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50091 (exit $ac_status); }; } &&
50092 { ac_try='test -s conftest$ac_exeext'
50093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50094 (eval $ac_try) 2>&5
50095 ac_status=$?
50096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50097 (exit $ac_status); }; }; then
50098 glibcxx_cv_func___builtin_fabsf_link=yes
50099 else
50100 echo "$as_me: failed program was:" >&5
50101 sed 's/^/| /' conftest.$ac_ext >&5
50103 glibcxx_cv_func___builtin_fabsf_link=no
50105 rm -f conftest.err conftest.$ac_objext \
50106 conftest$ac_exeext conftest.$ac_ext
50111 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
50112 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
50114 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
50116 cat >>confdefs.h <<\_ACEOF
50117 #define HAVE___BUILTIN_FABSF 1
50118 _ACEOF
50125 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
50126 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
50127 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
50128 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
50129 echo $ECHO_N "(cached) $ECHO_C" >&6
50130 else
50134 ac_ext=cc
50135 ac_cpp='$CXXCPP $CPPFLAGS'
50136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50140 cat >conftest.$ac_ext <<_ACEOF
50141 /* confdefs.h. */
50142 _ACEOF
50143 cat confdefs.h >>conftest.$ac_ext
50144 cat >>conftest.$ac_ext <<_ACEOF
50145 /* end confdefs.h. */
50146 #include <math.h>
50148 main ()
50150 __builtin_fabs(0);
50152 return 0;
50154 _ACEOF
50155 rm -f conftest.$ac_objext
50156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50157 (eval $ac_compile) 2>conftest.er1
50158 ac_status=$?
50159 grep -v '^ *+' conftest.er1 >conftest.err
50160 rm -f conftest.er1
50161 cat conftest.err >&5
50162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50163 (exit $ac_status); } &&
50164 { ac_try='test -z "$ac_cxx_werror_flag"
50165 || test ! -s conftest.err'
50166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50167 (eval $ac_try) 2>&5
50168 ac_status=$?
50169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50170 (exit $ac_status); }; } &&
50171 { ac_try='test -s conftest.$ac_objext'
50172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50173 (eval $ac_try) 2>&5
50174 ac_status=$?
50175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50176 (exit $ac_status); }; }; then
50177 glibcxx_cv_func___builtin_fabs_use=yes
50178 else
50179 echo "$as_me: failed program was:" >&5
50180 sed 's/^/| /' conftest.$ac_ext >&5
50182 glibcxx_cv_func___builtin_fabs_use=no
50184 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50185 ac_ext=c
50186 ac_cpp='$CPP $CPPFLAGS'
50187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50195 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
50196 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
50197 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
50198 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
50199 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
50200 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
50201 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
50202 echo $ECHO_N "(cached) $ECHO_C" >&6
50203 else
50205 if test x$gcc_no_link = xyes; then
50206 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50207 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50208 { (exit 1); exit 1; }; }
50210 cat >conftest.$ac_ext <<_ACEOF
50211 /* confdefs.h. */
50212 _ACEOF
50213 cat confdefs.h >>conftest.$ac_ext
50214 cat >>conftest.$ac_ext <<_ACEOF
50215 /* end confdefs.h. */
50216 #include <math.h>
50218 main ()
50220 __builtin_fabs(0);
50222 return 0;
50224 _ACEOF
50225 rm -f conftest.$ac_objext conftest$ac_exeext
50226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50227 (eval $ac_link) 2>conftest.er1
50228 ac_status=$?
50229 grep -v '^ *+' conftest.er1 >conftest.err
50230 rm -f conftest.er1
50231 cat conftest.err >&5
50232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50233 (exit $ac_status); } &&
50234 { ac_try='test -z "$ac_c_werror_flag"
50235 || test ! -s conftest.err'
50236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50237 (eval $ac_try) 2>&5
50238 ac_status=$?
50239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50240 (exit $ac_status); }; } &&
50241 { ac_try='test -s conftest$ac_exeext'
50242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50243 (eval $ac_try) 2>&5
50244 ac_status=$?
50245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50246 (exit $ac_status); }; }; then
50247 glibcxx_cv_func___builtin_fabs_link=yes
50248 else
50249 echo "$as_me: failed program was:" >&5
50250 sed 's/^/| /' conftest.$ac_ext >&5
50252 glibcxx_cv_func___builtin_fabs_link=no
50254 rm -f conftest.err conftest.$ac_objext \
50255 conftest$ac_exeext conftest.$ac_ext
50260 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
50261 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
50263 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
50265 cat >>confdefs.h <<\_ACEOF
50266 #define HAVE___BUILTIN_FABS 1
50267 _ACEOF
50274 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
50275 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
50276 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
50277 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
50278 echo $ECHO_N "(cached) $ECHO_C" >&6
50279 else
50283 ac_ext=cc
50284 ac_cpp='$CXXCPP $CPPFLAGS'
50285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50289 cat >conftest.$ac_ext <<_ACEOF
50290 /* confdefs.h. */
50291 _ACEOF
50292 cat confdefs.h >>conftest.$ac_ext
50293 cat >>conftest.$ac_ext <<_ACEOF
50294 /* end confdefs.h. */
50295 #include <math.h>
50297 main ()
50299 __builtin_fabsl(0);
50301 return 0;
50303 _ACEOF
50304 rm -f conftest.$ac_objext
50305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50306 (eval $ac_compile) 2>conftest.er1
50307 ac_status=$?
50308 grep -v '^ *+' conftest.er1 >conftest.err
50309 rm -f conftest.er1
50310 cat conftest.err >&5
50311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50312 (exit $ac_status); } &&
50313 { ac_try='test -z "$ac_cxx_werror_flag"
50314 || test ! -s conftest.err'
50315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50316 (eval $ac_try) 2>&5
50317 ac_status=$?
50318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50319 (exit $ac_status); }; } &&
50320 { ac_try='test -s conftest.$ac_objext'
50321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50322 (eval $ac_try) 2>&5
50323 ac_status=$?
50324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50325 (exit $ac_status); }; }; then
50326 glibcxx_cv_func___builtin_fabsl_use=yes
50327 else
50328 echo "$as_me: failed program was:" >&5
50329 sed 's/^/| /' conftest.$ac_ext >&5
50331 glibcxx_cv_func___builtin_fabsl_use=no
50333 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50334 ac_ext=c
50335 ac_cpp='$CPP $CPPFLAGS'
50336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50344 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
50345 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
50346 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
50347 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
50348 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
50349 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
50350 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
50351 echo $ECHO_N "(cached) $ECHO_C" >&6
50352 else
50354 if test x$gcc_no_link = xyes; then
50355 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50356 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50357 { (exit 1); exit 1; }; }
50359 cat >conftest.$ac_ext <<_ACEOF
50360 /* confdefs.h. */
50361 _ACEOF
50362 cat confdefs.h >>conftest.$ac_ext
50363 cat >>conftest.$ac_ext <<_ACEOF
50364 /* end confdefs.h. */
50365 #include <math.h>
50367 main ()
50369 __builtin_fabsl(0);
50371 return 0;
50373 _ACEOF
50374 rm -f conftest.$ac_objext conftest$ac_exeext
50375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50376 (eval $ac_link) 2>conftest.er1
50377 ac_status=$?
50378 grep -v '^ *+' conftest.er1 >conftest.err
50379 rm -f conftest.er1
50380 cat conftest.err >&5
50381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50382 (exit $ac_status); } &&
50383 { ac_try='test -z "$ac_c_werror_flag"
50384 || test ! -s conftest.err'
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); }; } &&
50390 { ac_try='test -s conftest$ac_exeext'
50391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50392 (eval $ac_try) 2>&5
50393 ac_status=$?
50394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50395 (exit $ac_status); }; }; then
50396 glibcxx_cv_func___builtin_fabsl_link=yes
50397 else
50398 echo "$as_me: failed program was:" >&5
50399 sed 's/^/| /' conftest.$ac_ext >&5
50401 glibcxx_cv_func___builtin_fabsl_link=no
50403 rm -f conftest.err conftest.$ac_objext \
50404 conftest$ac_exeext conftest.$ac_ext
50409 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
50410 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
50412 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
50414 cat >>confdefs.h <<\_ACEOF
50415 #define HAVE___BUILTIN_FABSL 1
50416 _ACEOF
50423 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
50424 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
50425 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
50426 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
50427 echo $ECHO_N "(cached) $ECHO_C" >&6
50428 else
50432 ac_ext=cc
50433 ac_cpp='$CXXCPP $CPPFLAGS'
50434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50438 cat >conftest.$ac_ext <<_ACEOF
50439 /* confdefs.h. */
50440 _ACEOF
50441 cat confdefs.h >>conftest.$ac_ext
50442 cat >>conftest.$ac_ext <<_ACEOF
50443 /* end confdefs.h. */
50444 #include <math.h>
50446 main ()
50448 __builtin_labs(0);
50450 return 0;
50452 _ACEOF
50453 rm -f conftest.$ac_objext
50454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50455 (eval $ac_compile) 2>conftest.er1
50456 ac_status=$?
50457 grep -v '^ *+' conftest.er1 >conftest.err
50458 rm -f conftest.er1
50459 cat conftest.err >&5
50460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50461 (exit $ac_status); } &&
50462 { ac_try='test -z "$ac_cxx_werror_flag"
50463 || test ! -s conftest.err'
50464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50465 (eval $ac_try) 2>&5
50466 ac_status=$?
50467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50468 (exit $ac_status); }; } &&
50469 { ac_try='test -s conftest.$ac_objext'
50470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50471 (eval $ac_try) 2>&5
50472 ac_status=$?
50473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50474 (exit $ac_status); }; }; then
50475 glibcxx_cv_func___builtin_labs_use=yes
50476 else
50477 echo "$as_me: failed program was:" >&5
50478 sed 's/^/| /' conftest.$ac_ext >&5
50480 glibcxx_cv_func___builtin_labs_use=no
50482 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50483 ac_ext=c
50484 ac_cpp='$CPP $CPPFLAGS'
50485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50493 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
50494 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
50495 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
50496 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
50497 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
50498 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
50499 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
50500 echo $ECHO_N "(cached) $ECHO_C" >&6
50501 else
50503 if test x$gcc_no_link = xyes; then
50504 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50505 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50506 { (exit 1); exit 1; }; }
50508 cat >conftest.$ac_ext <<_ACEOF
50509 /* confdefs.h. */
50510 _ACEOF
50511 cat confdefs.h >>conftest.$ac_ext
50512 cat >>conftest.$ac_ext <<_ACEOF
50513 /* end confdefs.h. */
50514 #include <math.h>
50516 main ()
50518 __builtin_labs(0);
50520 return 0;
50522 _ACEOF
50523 rm -f conftest.$ac_objext conftest$ac_exeext
50524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50525 (eval $ac_link) 2>conftest.er1
50526 ac_status=$?
50527 grep -v '^ *+' conftest.er1 >conftest.err
50528 rm -f conftest.er1
50529 cat conftest.err >&5
50530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50531 (exit $ac_status); } &&
50532 { ac_try='test -z "$ac_c_werror_flag"
50533 || test ! -s conftest.err'
50534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50535 (eval $ac_try) 2>&5
50536 ac_status=$?
50537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50538 (exit $ac_status); }; } &&
50539 { ac_try='test -s conftest$ac_exeext'
50540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50541 (eval $ac_try) 2>&5
50542 ac_status=$?
50543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50544 (exit $ac_status); }; }; then
50545 glibcxx_cv_func___builtin_labs_link=yes
50546 else
50547 echo "$as_me: failed program was:" >&5
50548 sed 's/^/| /' conftest.$ac_ext >&5
50550 glibcxx_cv_func___builtin_labs_link=no
50552 rm -f conftest.err conftest.$ac_objext \
50553 conftest$ac_exeext conftest.$ac_ext
50558 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
50559 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
50561 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
50563 cat >>confdefs.h <<\_ACEOF
50564 #define HAVE___BUILTIN_LABS 1
50565 _ACEOF
50573 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
50574 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
50575 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
50576 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
50577 echo $ECHO_N "(cached) $ECHO_C" >&6
50578 else
50582 ac_ext=cc
50583 ac_cpp='$CXXCPP $CPPFLAGS'
50584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50588 cat >conftest.$ac_ext <<_ACEOF
50589 /* confdefs.h. */
50590 _ACEOF
50591 cat confdefs.h >>conftest.$ac_ext
50592 cat >>conftest.$ac_ext <<_ACEOF
50593 /* end confdefs.h. */
50594 #include <math.h>
50596 main ()
50598 __builtin_sqrtf(0);
50600 return 0;
50602 _ACEOF
50603 rm -f conftest.$ac_objext
50604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50605 (eval $ac_compile) 2>conftest.er1
50606 ac_status=$?
50607 grep -v '^ *+' conftest.er1 >conftest.err
50608 rm -f conftest.er1
50609 cat conftest.err >&5
50610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50611 (exit $ac_status); } &&
50612 { ac_try='test -z "$ac_cxx_werror_flag"
50613 || test ! -s conftest.err'
50614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50615 (eval $ac_try) 2>&5
50616 ac_status=$?
50617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50618 (exit $ac_status); }; } &&
50619 { ac_try='test -s conftest.$ac_objext'
50620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50621 (eval $ac_try) 2>&5
50622 ac_status=$?
50623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50624 (exit $ac_status); }; }; then
50625 glibcxx_cv_func___builtin_sqrtf_use=yes
50626 else
50627 echo "$as_me: failed program was:" >&5
50628 sed 's/^/| /' conftest.$ac_ext >&5
50630 glibcxx_cv_func___builtin_sqrtf_use=no
50632 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50633 ac_ext=c
50634 ac_cpp='$CPP $CPPFLAGS'
50635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50643 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
50644 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
50645 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
50646 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
50647 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
50648 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
50649 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
50650 echo $ECHO_N "(cached) $ECHO_C" >&6
50651 else
50653 if test x$gcc_no_link = xyes; then
50654 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50655 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50656 { (exit 1); exit 1; }; }
50658 cat >conftest.$ac_ext <<_ACEOF
50659 /* confdefs.h. */
50660 _ACEOF
50661 cat confdefs.h >>conftest.$ac_ext
50662 cat >>conftest.$ac_ext <<_ACEOF
50663 /* end confdefs.h. */
50664 #include <math.h>
50666 main ()
50668 __builtin_sqrtf(0);
50670 return 0;
50672 _ACEOF
50673 rm -f conftest.$ac_objext conftest$ac_exeext
50674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50675 (eval $ac_link) 2>conftest.er1
50676 ac_status=$?
50677 grep -v '^ *+' conftest.er1 >conftest.err
50678 rm -f conftest.er1
50679 cat conftest.err >&5
50680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50681 (exit $ac_status); } &&
50682 { ac_try='test -z "$ac_c_werror_flag"
50683 || test ! -s conftest.err'
50684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50685 (eval $ac_try) 2>&5
50686 ac_status=$?
50687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50688 (exit $ac_status); }; } &&
50689 { ac_try='test -s conftest$ac_exeext'
50690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50691 (eval $ac_try) 2>&5
50692 ac_status=$?
50693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50694 (exit $ac_status); }; }; then
50695 glibcxx_cv_func___builtin_sqrtf_link=yes
50696 else
50697 echo "$as_me: failed program was:" >&5
50698 sed 's/^/| /' conftest.$ac_ext >&5
50700 glibcxx_cv_func___builtin_sqrtf_link=no
50702 rm -f conftest.err conftest.$ac_objext \
50703 conftest$ac_exeext conftest.$ac_ext
50708 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
50709 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
50711 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
50713 cat >>confdefs.h <<\_ACEOF
50714 #define HAVE___BUILTIN_SQRTF 1
50715 _ACEOF
50722 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
50723 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
50724 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
50725 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
50726 echo $ECHO_N "(cached) $ECHO_C" >&6
50727 else
50731 ac_ext=cc
50732 ac_cpp='$CXXCPP $CPPFLAGS'
50733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50737 cat >conftest.$ac_ext <<_ACEOF
50738 /* confdefs.h. */
50739 _ACEOF
50740 cat confdefs.h >>conftest.$ac_ext
50741 cat >>conftest.$ac_ext <<_ACEOF
50742 /* end confdefs.h. */
50743 #include <math.h>
50745 main ()
50747 __builtin_sqrt(0);
50749 return 0;
50751 _ACEOF
50752 rm -f conftest.$ac_objext
50753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50754 (eval $ac_compile) 2>conftest.er1
50755 ac_status=$?
50756 grep -v '^ *+' conftest.er1 >conftest.err
50757 rm -f conftest.er1
50758 cat conftest.err >&5
50759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50760 (exit $ac_status); } &&
50761 { ac_try='test -z "$ac_cxx_werror_flag"
50762 || test ! -s conftest.err'
50763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50764 (eval $ac_try) 2>&5
50765 ac_status=$?
50766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50767 (exit $ac_status); }; } &&
50768 { ac_try='test -s conftest.$ac_objext'
50769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50770 (eval $ac_try) 2>&5
50771 ac_status=$?
50772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50773 (exit $ac_status); }; }; then
50774 glibcxx_cv_func___builtin_sqrt_use=yes
50775 else
50776 echo "$as_me: failed program was:" >&5
50777 sed 's/^/| /' conftest.$ac_ext >&5
50779 glibcxx_cv_func___builtin_sqrt_use=no
50781 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50782 ac_ext=c
50783 ac_cpp='$CPP $CPPFLAGS'
50784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50792 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
50793 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
50794 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
50795 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
50796 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
50797 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
50798 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
50799 echo $ECHO_N "(cached) $ECHO_C" >&6
50800 else
50802 if test x$gcc_no_link = xyes; then
50803 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50804 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50805 { (exit 1); exit 1; }; }
50807 cat >conftest.$ac_ext <<_ACEOF
50808 /* confdefs.h. */
50809 _ACEOF
50810 cat confdefs.h >>conftest.$ac_ext
50811 cat >>conftest.$ac_ext <<_ACEOF
50812 /* end confdefs.h. */
50813 #include <math.h>
50815 main ()
50817 __builtin_sqrt(0);
50819 return 0;
50821 _ACEOF
50822 rm -f conftest.$ac_objext conftest$ac_exeext
50823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50824 (eval $ac_link) 2>conftest.er1
50825 ac_status=$?
50826 grep -v '^ *+' conftest.er1 >conftest.err
50827 rm -f conftest.er1
50828 cat conftest.err >&5
50829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50830 (exit $ac_status); } &&
50831 { ac_try='test -z "$ac_c_werror_flag"
50832 || test ! -s conftest.err'
50833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50834 (eval $ac_try) 2>&5
50835 ac_status=$?
50836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50837 (exit $ac_status); }; } &&
50838 { ac_try='test -s conftest$ac_exeext'
50839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50840 (eval $ac_try) 2>&5
50841 ac_status=$?
50842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50843 (exit $ac_status); }; }; then
50844 glibcxx_cv_func___builtin_sqrt_link=yes
50845 else
50846 echo "$as_me: failed program was:" >&5
50847 sed 's/^/| /' conftest.$ac_ext >&5
50849 glibcxx_cv_func___builtin_sqrt_link=no
50851 rm -f conftest.err conftest.$ac_objext \
50852 conftest$ac_exeext conftest.$ac_ext
50857 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
50858 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
50860 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
50862 cat >>confdefs.h <<\_ACEOF
50863 #define HAVE___BUILTIN_SQRT 1
50864 _ACEOF
50871 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
50872 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
50873 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
50874 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
50875 echo $ECHO_N "(cached) $ECHO_C" >&6
50876 else
50880 ac_ext=cc
50881 ac_cpp='$CXXCPP $CPPFLAGS'
50882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50886 cat >conftest.$ac_ext <<_ACEOF
50887 /* confdefs.h. */
50888 _ACEOF
50889 cat confdefs.h >>conftest.$ac_ext
50890 cat >>conftest.$ac_ext <<_ACEOF
50891 /* end confdefs.h. */
50892 #include <math.h>
50894 main ()
50896 __builtin_sqrtl(0);
50898 return 0;
50900 _ACEOF
50901 rm -f conftest.$ac_objext
50902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50903 (eval $ac_compile) 2>conftest.er1
50904 ac_status=$?
50905 grep -v '^ *+' conftest.er1 >conftest.err
50906 rm -f conftest.er1
50907 cat conftest.err >&5
50908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50909 (exit $ac_status); } &&
50910 { ac_try='test -z "$ac_cxx_werror_flag"
50911 || test ! -s conftest.err'
50912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50913 (eval $ac_try) 2>&5
50914 ac_status=$?
50915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50916 (exit $ac_status); }; } &&
50917 { ac_try='test -s conftest.$ac_objext'
50918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50919 (eval $ac_try) 2>&5
50920 ac_status=$?
50921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50922 (exit $ac_status); }; }; then
50923 glibcxx_cv_func___builtin_sqrtl_use=yes
50924 else
50925 echo "$as_me: failed program was:" >&5
50926 sed 's/^/| /' conftest.$ac_ext >&5
50928 glibcxx_cv_func___builtin_sqrtl_use=no
50930 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50931 ac_ext=c
50932 ac_cpp='$CPP $CPPFLAGS'
50933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50941 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
50942 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
50943 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
50944 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
50945 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
50946 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
50947 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
50948 echo $ECHO_N "(cached) $ECHO_C" >&6
50949 else
50951 if test x$gcc_no_link = xyes; then
50952 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50953 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50954 { (exit 1); exit 1; }; }
50956 cat >conftest.$ac_ext <<_ACEOF
50957 /* confdefs.h. */
50958 _ACEOF
50959 cat confdefs.h >>conftest.$ac_ext
50960 cat >>conftest.$ac_ext <<_ACEOF
50961 /* end confdefs.h. */
50962 #include <math.h>
50964 main ()
50966 __builtin_sqrtl(0);
50968 return 0;
50970 _ACEOF
50971 rm -f conftest.$ac_objext conftest$ac_exeext
50972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50973 (eval $ac_link) 2>conftest.er1
50974 ac_status=$?
50975 grep -v '^ *+' conftest.er1 >conftest.err
50976 rm -f conftest.er1
50977 cat conftest.err >&5
50978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50979 (exit $ac_status); } &&
50980 { ac_try='test -z "$ac_c_werror_flag"
50981 || test ! -s conftest.err'
50982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50983 (eval $ac_try) 2>&5
50984 ac_status=$?
50985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50986 (exit $ac_status); }; } &&
50987 { ac_try='test -s conftest$ac_exeext'
50988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50989 (eval $ac_try) 2>&5
50990 ac_status=$?
50991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50992 (exit $ac_status); }; }; then
50993 glibcxx_cv_func___builtin_sqrtl_link=yes
50994 else
50995 echo "$as_me: failed program was:" >&5
50996 sed 's/^/| /' conftest.$ac_ext >&5
50998 glibcxx_cv_func___builtin_sqrtl_link=no
51000 rm -f conftest.err conftest.$ac_objext \
51001 conftest$ac_exeext conftest.$ac_ext
51006 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
51007 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
51009 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
51011 cat >>confdefs.h <<\_ACEOF
51012 #define HAVE___BUILTIN_SQRTL 1
51013 _ACEOF
51021 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
51022 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
51023 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
51024 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
51025 echo $ECHO_N "(cached) $ECHO_C" >&6
51026 else
51030 ac_ext=cc
51031 ac_cpp='$CXXCPP $CPPFLAGS'
51032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51036 cat >conftest.$ac_ext <<_ACEOF
51037 /* confdefs.h. */
51038 _ACEOF
51039 cat confdefs.h >>conftest.$ac_ext
51040 cat >>conftest.$ac_ext <<_ACEOF
51041 /* end confdefs.h. */
51042 #include <math.h>
51044 main ()
51046 __builtin_sinf(0);
51048 return 0;
51050 _ACEOF
51051 rm -f conftest.$ac_objext
51052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51053 (eval $ac_compile) 2>conftest.er1
51054 ac_status=$?
51055 grep -v '^ *+' conftest.er1 >conftest.err
51056 rm -f conftest.er1
51057 cat conftest.err >&5
51058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51059 (exit $ac_status); } &&
51060 { ac_try='test -z "$ac_cxx_werror_flag"
51061 || test ! -s conftest.err'
51062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51063 (eval $ac_try) 2>&5
51064 ac_status=$?
51065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51066 (exit $ac_status); }; } &&
51067 { ac_try='test -s conftest.$ac_objext'
51068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51069 (eval $ac_try) 2>&5
51070 ac_status=$?
51071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51072 (exit $ac_status); }; }; then
51073 glibcxx_cv_func___builtin_sinf_use=yes
51074 else
51075 echo "$as_me: failed program was:" >&5
51076 sed 's/^/| /' conftest.$ac_ext >&5
51078 glibcxx_cv_func___builtin_sinf_use=no
51080 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51081 ac_ext=c
51082 ac_cpp='$CPP $CPPFLAGS'
51083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51091 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
51092 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
51093 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
51094 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
51095 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
51096 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
51097 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
51098 echo $ECHO_N "(cached) $ECHO_C" >&6
51099 else
51101 if test x$gcc_no_link = xyes; then
51102 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51103 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51104 { (exit 1); exit 1; }; }
51106 cat >conftest.$ac_ext <<_ACEOF
51107 /* confdefs.h. */
51108 _ACEOF
51109 cat confdefs.h >>conftest.$ac_ext
51110 cat >>conftest.$ac_ext <<_ACEOF
51111 /* end confdefs.h. */
51112 #include <math.h>
51114 main ()
51116 __builtin_sinf(0);
51118 return 0;
51120 _ACEOF
51121 rm -f conftest.$ac_objext conftest$ac_exeext
51122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51123 (eval $ac_link) 2>conftest.er1
51124 ac_status=$?
51125 grep -v '^ *+' conftest.er1 >conftest.err
51126 rm -f conftest.er1
51127 cat conftest.err >&5
51128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51129 (exit $ac_status); } &&
51130 { ac_try='test -z "$ac_c_werror_flag"
51131 || test ! -s conftest.err'
51132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51133 (eval $ac_try) 2>&5
51134 ac_status=$?
51135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51136 (exit $ac_status); }; } &&
51137 { ac_try='test -s conftest$ac_exeext'
51138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51139 (eval $ac_try) 2>&5
51140 ac_status=$?
51141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51142 (exit $ac_status); }; }; then
51143 glibcxx_cv_func___builtin_sinf_link=yes
51144 else
51145 echo "$as_me: failed program was:" >&5
51146 sed 's/^/| /' conftest.$ac_ext >&5
51148 glibcxx_cv_func___builtin_sinf_link=no
51150 rm -f conftest.err conftest.$ac_objext \
51151 conftest$ac_exeext conftest.$ac_ext
51156 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
51157 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
51159 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
51161 cat >>confdefs.h <<\_ACEOF
51162 #define HAVE___BUILTIN_SINF 1
51163 _ACEOF
51170 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
51171 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
51172 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
51173 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
51174 echo $ECHO_N "(cached) $ECHO_C" >&6
51175 else
51179 ac_ext=cc
51180 ac_cpp='$CXXCPP $CPPFLAGS'
51181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51185 cat >conftest.$ac_ext <<_ACEOF
51186 /* confdefs.h. */
51187 _ACEOF
51188 cat confdefs.h >>conftest.$ac_ext
51189 cat >>conftest.$ac_ext <<_ACEOF
51190 /* end confdefs.h. */
51191 #include <math.h>
51193 main ()
51195 __builtin_sin(0);
51197 return 0;
51199 _ACEOF
51200 rm -f conftest.$ac_objext
51201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51202 (eval $ac_compile) 2>conftest.er1
51203 ac_status=$?
51204 grep -v '^ *+' conftest.er1 >conftest.err
51205 rm -f conftest.er1
51206 cat conftest.err >&5
51207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51208 (exit $ac_status); } &&
51209 { ac_try='test -z "$ac_cxx_werror_flag"
51210 || test ! -s conftest.err'
51211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51212 (eval $ac_try) 2>&5
51213 ac_status=$?
51214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51215 (exit $ac_status); }; } &&
51216 { ac_try='test -s conftest.$ac_objext'
51217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51218 (eval $ac_try) 2>&5
51219 ac_status=$?
51220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51221 (exit $ac_status); }; }; then
51222 glibcxx_cv_func___builtin_sin_use=yes
51223 else
51224 echo "$as_me: failed program was:" >&5
51225 sed 's/^/| /' conftest.$ac_ext >&5
51227 glibcxx_cv_func___builtin_sin_use=no
51229 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51230 ac_ext=c
51231 ac_cpp='$CPP $CPPFLAGS'
51232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51240 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
51241 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
51242 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
51243 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
51244 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
51245 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
51246 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
51247 echo $ECHO_N "(cached) $ECHO_C" >&6
51248 else
51250 if test x$gcc_no_link = xyes; then
51251 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51252 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51253 { (exit 1); exit 1; }; }
51255 cat >conftest.$ac_ext <<_ACEOF
51256 /* confdefs.h. */
51257 _ACEOF
51258 cat confdefs.h >>conftest.$ac_ext
51259 cat >>conftest.$ac_ext <<_ACEOF
51260 /* end confdefs.h. */
51261 #include <math.h>
51263 main ()
51265 __builtin_sin(0);
51267 return 0;
51269 _ACEOF
51270 rm -f conftest.$ac_objext conftest$ac_exeext
51271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51272 (eval $ac_link) 2>conftest.er1
51273 ac_status=$?
51274 grep -v '^ *+' conftest.er1 >conftest.err
51275 rm -f conftest.er1
51276 cat conftest.err >&5
51277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51278 (exit $ac_status); } &&
51279 { ac_try='test -z "$ac_c_werror_flag"
51280 || test ! -s conftest.err'
51281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51282 (eval $ac_try) 2>&5
51283 ac_status=$?
51284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51285 (exit $ac_status); }; } &&
51286 { ac_try='test -s conftest$ac_exeext'
51287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51288 (eval $ac_try) 2>&5
51289 ac_status=$?
51290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51291 (exit $ac_status); }; }; then
51292 glibcxx_cv_func___builtin_sin_link=yes
51293 else
51294 echo "$as_me: failed program was:" >&5
51295 sed 's/^/| /' conftest.$ac_ext >&5
51297 glibcxx_cv_func___builtin_sin_link=no
51299 rm -f conftest.err conftest.$ac_objext \
51300 conftest$ac_exeext conftest.$ac_ext
51305 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
51306 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
51308 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
51310 cat >>confdefs.h <<\_ACEOF
51311 #define HAVE___BUILTIN_SIN 1
51312 _ACEOF
51319 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
51320 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
51321 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
51322 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
51323 echo $ECHO_N "(cached) $ECHO_C" >&6
51324 else
51328 ac_ext=cc
51329 ac_cpp='$CXXCPP $CPPFLAGS'
51330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51334 cat >conftest.$ac_ext <<_ACEOF
51335 /* confdefs.h. */
51336 _ACEOF
51337 cat confdefs.h >>conftest.$ac_ext
51338 cat >>conftest.$ac_ext <<_ACEOF
51339 /* end confdefs.h. */
51340 #include <math.h>
51342 main ()
51344 __builtin_sinl(0);
51346 return 0;
51348 _ACEOF
51349 rm -f conftest.$ac_objext
51350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51351 (eval $ac_compile) 2>conftest.er1
51352 ac_status=$?
51353 grep -v '^ *+' conftest.er1 >conftest.err
51354 rm -f conftest.er1
51355 cat conftest.err >&5
51356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51357 (exit $ac_status); } &&
51358 { ac_try='test -z "$ac_cxx_werror_flag"
51359 || test ! -s conftest.err'
51360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51361 (eval $ac_try) 2>&5
51362 ac_status=$?
51363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51364 (exit $ac_status); }; } &&
51365 { ac_try='test -s conftest.$ac_objext'
51366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51367 (eval $ac_try) 2>&5
51368 ac_status=$?
51369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51370 (exit $ac_status); }; }; then
51371 glibcxx_cv_func___builtin_sinl_use=yes
51372 else
51373 echo "$as_me: failed program was:" >&5
51374 sed 's/^/| /' conftest.$ac_ext >&5
51376 glibcxx_cv_func___builtin_sinl_use=no
51378 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51379 ac_ext=c
51380 ac_cpp='$CPP $CPPFLAGS'
51381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51389 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
51390 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
51391 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
51392 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
51393 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
51394 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
51395 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
51396 echo $ECHO_N "(cached) $ECHO_C" >&6
51397 else
51399 if test x$gcc_no_link = xyes; then
51400 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51401 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51402 { (exit 1); exit 1; }; }
51404 cat >conftest.$ac_ext <<_ACEOF
51405 /* confdefs.h. */
51406 _ACEOF
51407 cat confdefs.h >>conftest.$ac_ext
51408 cat >>conftest.$ac_ext <<_ACEOF
51409 /* end confdefs.h. */
51410 #include <math.h>
51412 main ()
51414 __builtin_sinl(0);
51416 return 0;
51418 _ACEOF
51419 rm -f conftest.$ac_objext conftest$ac_exeext
51420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51421 (eval $ac_link) 2>conftest.er1
51422 ac_status=$?
51423 grep -v '^ *+' conftest.er1 >conftest.err
51424 rm -f conftest.er1
51425 cat conftest.err >&5
51426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51427 (exit $ac_status); } &&
51428 { ac_try='test -z "$ac_c_werror_flag"
51429 || test ! -s conftest.err'
51430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51431 (eval $ac_try) 2>&5
51432 ac_status=$?
51433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51434 (exit $ac_status); }; } &&
51435 { ac_try='test -s conftest$ac_exeext'
51436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51437 (eval $ac_try) 2>&5
51438 ac_status=$?
51439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51440 (exit $ac_status); }; }; then
51441 glibcxx_cv_func___builtin_sinl_link=yes
51442 else
51443 echo "$as_me: failed program was:" >&5
51444 sed 's/^/| /' conftest.$ac_ext >&5
51446 glibcxx_cv_func___builtin_sinl_link=no
51448 rm -f conftest.err conftest.$ac_objext \
51449 conftest$ac_exeext conftest.$ac_ext
51454 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
51455 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
51457 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
51459 cat >>confdefs.h <<\_ACEOF
51460 #define HAVE___BUILTIN_SINL 1
51461 _ACEOF
51469 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
51470 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
51471 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
51472 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
51473 echo $ECHO_N "(cached) $ECHO_C" >&6
51474 else
51478 ac_ext=cc
51479 ac_cpp='$CXXCPP $CPPFLAGS'
51480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51484 cat >conftest.$ac_ext <<_ACEOF
51485 /* confdefs.h. */
51486 _ACEOF
51487 cat confdefs.h >>conftest.$ac_ext
51488 cat >>conftest.$ac_ext <<_ACEOF
51489 /* end confdefs.h. */
51490 #include <math.h>
51492 main ()
51494 __builtin_cosf(0);
51496 return 0;
51498 _ACEOF
51499 rm -f conftest.$ac_objext
51500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51501 (eval $ac_compile) 2>conftest.er1
51502 ac_status=$?
51503 grep -v '^ *+' conftest.er1 >conftest.err
51504 rm -f conftest.er1
51505 cat conftest.err >&5
51506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51507 (exit $ac_status); } &&
51508 { ac_try='test -z "$ac_cxx_werror_flag"
51509 || test ! -s conftest.err'
51510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51511 (eval $ac_try) 2>&5
51512 ac_status=$?
51513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51514 (exit $ac_status); }; } &&
51515 { ac_try='test -s conftest.$ac_objext'
51516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51517 (eval $ac_try) 2>&5
51518 ac_status=$?
51519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51520 (exit $ac_status); }; }; then
51521 glibcxx_cv_func___builtin_cosf_use=yes
51522 else
51523 echo "$as_me: failed program was:" >&5
51524 sed 's/^/| /' conftest.$ac_ext >&5
51526 glibcxx_cv_func___builtin_cosf_use=no
51528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51529 ac_ext=c
51530 ac_cpp='$CPP $CPPFLAGS'
51531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51539 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
51540 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
51541 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
51542 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
51543 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
51544 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
51545 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
51546 echo $ECHO_N "(cached) $ECHO_C" >&6
51547 else
51549 if test x$gcc_no_link = xyes; then
51550 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51551 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51552 { (exit 1); exit 1; }; }
51554 cat >conftest.$ac_ext <<_ACEOF
51555 /* confdefs.h. */
51556 _ACEOF
51557 cat confdefs.h >>conftest.$ac_ext
51558 cat >>conftest.$ac_ext <<_ACEOF
51559 /* end confdefs.h. */
51560 #include <math.h>
51562 main ()
51564 __builtin_cosf(0);
51566 return 0;
51568 _ACEOF
51569 rm -f conftest.$ac_objext conftest$ac_exeext
51570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51571 (eval $ac_link) 2>conftest.er1
51572 ac_status=$?
51573 grep -v '^ *+' conftest.er1 >conftest.err
51574 rm -f conftest.er1
51575 cat conftest.err >&5
51576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51577 (exit $ac_status); } &&
51578 { ac_try='test -z "$ac_c_werror_flag"
51579 || test ! -s conftest.err'
51580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51581 (eval $ac_try) 2>&5
51582 ac_status=$?
51583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51584 (exit $ac_status); }; } &&
51585 { ac_try='test -s conftest$ac_exeext'
51586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51587 (eval $ac_try) 2>&5
51588 ac_status=$?
51589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51590 (exit $ac_status); }; }; then
51591 glibcxx_cv_func___builtin_cosf_link=yes
51592 else
51593 echo "$as_me: failed program was:" >&5
51594 sed 's/^/| /' conftest.$ac_ext >&5
51596 glibcxx_cv_func___builtin_cosf_link=no
51598 rm -f conftest.err conftest.$ac_objext \
51599 conftest$ac_exeext conftest.$ac_ext
51604 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
51605 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
51607 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
51609 cat >>confdefs.h <<\_ACEOF
51610 #define HAVE___BUILTIN_COSF 1
51611 _ACEOF
51618 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
51619 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
51620 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
51621 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
51622 echo $ECHO_N "(cached) $ECHO_C" >&6
51623 else
51627 ac_ext=cc
51628 ac_cpp='$CXXCPP $CPPFLAGS'
51629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51633 cat >conftest.$ac_ext <<_ACEOF
51634 /* confdefs.h. */
51635 _ACEOF
51636 cat confdefs.h >>conftest.$ac_ext
51637 cat >>conftest.$ac_ext <<_ACEOF
51638 /* end confdefs.h. */
51639 #include <math.h>
51641 main ()
51643 __builtin_cos(0);
51645 return 0;
51647 _ACEOF
51648 rm -f conftest.$ac_objext
51649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51650 (eval $ac_compile) 2>conftest.er1
51651 ac_status=$?
51652 grep -v '^ *+' conftest.er1 >conftest.err
51653 rm -f conftest.er1
51654 cat conftest.err >&5
51655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51656 (exit $ac_status); } &&
51657 { ac_try='test -z "$ac_cxx_werror_flag"
51658 || test ! -s conftest.err'
51659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51660 (eval $ac_try) 2>&5
51661 ac_status=$?
51662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51663 (exit $ac_status); }; } &&
51664 { ac_try='test -s conftest.$ac_objext'
51665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51666 (eval $ac_try) 2>&5
51667 ac_status=$?
51668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51669 (exit $ac_status); }; }; then
51670 glibcxx_cv_func___builtin_cos_use=yes
51671 else
51672 echo "$as_me: failed program was:" >&5
51673 sed 's/^/| /' conftest.$ac_ext >&5
51675 glibcxx_cv_func___builtin_cos_use=no
51677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51678 ac_ext=c
51679 ac_cpp='$CPP $CPPFLAGS'
51680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51688 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
51689 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
51690 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
51691 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
51692 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
51693 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
51694 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
51695 echo $ECHO_N "(cached) $ECHO_C" >&6
51696 else
51698 if test x$gcc_no_link = xyes; then
51699 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51700 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51701 { (exit 1); exit 1; }; }
51703 cat >conftest.$ac_ext <<_ACEOF
51704 /* confdefs.h. */
51705 _ACEOF
51706 cat confdefs.h >>conftest.$ac_ext
51707 cat >>conftest.$ac_ext <<_ACEOF
51708 /* end confdefs.h. */
51709 #include <math.h>
51711 main ()
51713 __builtin_cos(0);
51715 return 0;
51717 _ACEOF
51718 rm -f conftest.$ac_objext conftest$ac_exeext
51719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51720 (eval $ac_link) 2>conftest.er1
51721 ac_status=$?
51722 grep -v '^ *+' conftest.er1 >conftest.err
51723 rm -f conftest.er1
51724 cat conftest.err >&5
51725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51726 (exit $ac_status); } &&
51727 { ac_try='test -z "$ac_c_werror_flag"
51728 || test ! -s conftest.err'
51729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51730 (eval $ac_try) 2>&5
51731 ac_status=$?
51732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51733 (exit $ac_status); }; } &&
51734 { ac_try='test -s conftest$ac_exeext'
51735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51736 (eval $ac_try) 2>&5
51737 ac_status=$?
51738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51739 (exit $ac_status); }; }; then
51740 glibcxx_cv_func___builtin_cos_link=yes
51741 else
51742 echo "$as_me: failed program was:" >&5
51743 sed 's/^/| /' conftest.$ac_ext >&5
51745 glibcxx_cv_func___builtin_cos_link=no
51747 rm -f conftest.err conftest.$ac_objext \
51748 conftest$ac_exeext conftest.$ac_ext
51753 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
51754 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
51756 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
51758 cat >>confdefs.h <<\_ACEOF
51759 #define HAVE___BUILTIN_COS 1
51760 _ACEOF
51767 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
51768 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
51769 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
51770 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
51771 echo $ECHO_N "(cached) $ECHO_C" >&6
51772 else
51776 ac_ext=cc
51777 ac_cpp='$CXXCPP $CPPFLAGS'
51778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51782 cat >conftest.$ac_ext <<_ACEOF
51783 /* confdefs.h. */
51784 _ACEOF
51785 cat confdefs.h >>conftest.$ac_ext
51786 cat >>conftest.$ac_ext <<_ACEOF
51787 /* end confdefs.h. */
51788 #include <math.h>
51790 main ()
51792 __builtin_cosl(0);
51794 return 0;
51796 _ACEOF
51797 rm -f conftest.$ac_objext
51798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51799 (eval $ac_compile) 2>conftest.er1
51800 ac_status=$?
51801 grep -v '^ *+' conftest.er1 >conftest.err
51802 rm -f conftest.er1
51803 cat conftest.err >&5
51804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51805 (exit $ac_status); } &&
51806 { ac_try='test -z "$ac_cxx_werror_flag"
51807 || test ! -s conftest.err'
51808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51809 (eval $ac_try) 2>&5
51810 ac_status=$?
51811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51812 (exit $ac_status); }; } &&
51813 { ac_try='test -s conftest.$ac_objext'
51814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51815 (eval $ac_try) 2>&5
51816 ac_status=$?
51817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51818 (exit $ac_status); }; }; then
51819 glibcxx_cv_func___builtin_cosl_use=yes
51820 else
51821 echo "$as_me: failed program was:" >&5
51822 sed 's/^/| /' conftest.$ac_ext >&5
51824 glibcxx_cv_func___builtin_cosl_use=no
51826 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51827 ac_ext=c
51828 ac_cpp='$CPP $CPPFLAGS'
51829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51837 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
51838 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
51839 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
51840 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
51841 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
51842 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
51843 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
51844 echo $ECHO_N "(cached) $ECHO_C" >&6
51845 else
51847 if test x$gcc_no_link = xyes; then
51848 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51849 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51850 { (exit 1); exit 1; }; }
51852 cat >conftest.$ac_ext <<_ACEOF
51853 /* confdefs.h. */
51854 _ACEOF
51855 cat confdefs.h >>conftest.$ac_ext
51856 cat >>conftest.$ac_ext <<_ACEOF
51857 /* end confdefs.h. */
51858 #include <math.h>
51860 main ()
51862 __builtin_cosl(0);
51864 return 0;
51866 _ACEOF
51867 rm -f conftest.$ac_objext conftest$ac_exeext
51868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51869 (eval $ac_link) 2>conftest.er1
51870 ac_status=$?
51871 grep -v '^ *+' conftest.er1 >conftest.err
51872 rm -f conftest.er1
51873 cat conftest.err >&5
51874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51875 (exit $ac_status); } &&
51876 { ac_try='test -z "$ac_c_werror_flag"
51877 || test ! -s conftest.err'
51878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51879 (eval $ac_try) 2>&5
51880 ac_status=$?
51881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51882 (exit $ac_status); }; } &&
51883 { ac_try='test -s conftest$ac_exeext'
51884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51885 (eval $ac_try) 2>&5
51886 ac_status=$?
51887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51888 (exit $ac_status); }; }; then
51889 glibcxx_cv_func___builtin_cosl_link=yes
51890 else
51891 echo "$as_me: failed program was:" >&5
51892 sed 's/^/| /' conftest.$ac_ext >&5
51894 glibcxx_cv_func___builtin_cosl_link=no
51896 rm -f conftest.err conftest.$ac_objext \
51897 conftest$ac_exeext conftest.$ac_ext
51902 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
51903 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
51905 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
51907 cat >>confdefs.h <<\_ACEOF
51908 #define HAVE___BUILTIN_COSL 1
51909 _ACEOF
51918 echo "$as_me:$LINENO: checking for main in -lm" >&5
51919 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
51920 if test "${ac_cv_lib_m_main+set}" = set; then
51921 echo $ECHO_N "(cached) $ECHO_C" >&6
51922 else
51923 ac_check_lib_save_LIBS=$LIBS
51924 LIBS="-lm $LIBS"
51925 if test x$gcc_no_link = xyes; then
51926 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51927 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51928 { (exit 1); exit 1; }; }
51930 cat >conftest.$ac_ext <<_ACEOF
51931 /* confdefs.h. */
51932 _ACEOF
51933 cat confdefs.h >>conftest.$ac_ext
51934 cat >>conftest.$ac_ext <<_ACEOF
51935 /* end confdefs.h. */
51939 main ()
51941 main ();
51943 return 0;
51945 _ACEOF
51946 rm -f conftest.$ac_objext conftest$ac_exeext
51947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51948 (eval $ac_link) 2>conftest.er1
51949 ac_status=$?
51950 grep -v '^ *+' conftest.er1 >conftest.err
51951 rm -f conftest.er1
51952 cat conftest.err >&5
51953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51954 (exit $ac_status); } &&
51955 { ac_try='test -z "$ac_c_werror_flag"
51956 || test ! -s conftest.err'
51957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51958 (eval $ac_try) 2>&5
51959 ac_status=$?
51960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51961 (exit $ac_status); }; } &&
51962 { ac_try='test -s conftest$ac_exeext'
51963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51964 (eval $ac_try) 2>&5
51965 ac_status=$?
51966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51967 (exit $ac_status); }; }; then
51968 ac_cv_lib_m_main=yes
51969 else
51970 echo "$as_me: failed program was:" >&5
51971 sed 's/^/| /' conftest.$ac_ext >&5
51973 ac_cv_lib_m_main=no
51975 rm -f conftest.err conftest.$ac_objext \
51976 conftest$ac_exeext conftest.$ac_ext
51977 LIBS=$ac_check_lib_save_LIBS
51979 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
51980 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
51981 if test $ac_cv_lib_m_main = yes; then
51982 cat >>confdefs.h <<_ACEOF
51983 #define HAVE_LIBM 1
51984 _ACEOF
51986 LIBS="-lm $LIBS"
51991 for ac_func in copysignf
51993 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51994 echo "$as_me:$LINENO: checking for $ac_func" >&5
51995 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51996 if eval "test \"\${$as_ac_var+set}\" = set"; then
51997 echo $ECHO_N "(cached) $ECHO_C" >&6
51998 else
51999 if test x$gcc_no_link = xyes; then
52000 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52001 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52002 { (exit 1); exit 1; }; }
52004 cat >conftest.$ac_ext <<_ACEOF
52005 /* confdefs.h. */
52006 _ACEOF
52007 cat confdefs.h >>conftest.$ac_ext
52008 cat >>conftest.$ac_ext <<_ACEOF
52009 /* end confdefs.h. */
52010 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52011 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52012 #define $ac_func innocuous_$ac_func
52014 /* System header to define __stub macros and hopefully few prototypes,
52015 which can conflict with char $ac_func (); below.
52016 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52017 <limits.h> exists even on freestanding compilers. */
52019 #ifdef __STDC__
52020 # include <limits.h>
52021 #else
52022 # include <assert.h>
52023 #endif
52025 #undef $ac_func
52027 /* Override any gcc2 internal prototype to avoid an error. */
52028 #ifdef __cplusplus
52029 extern "C"
52031 #endif
52032 /* We use char because int might match the return type of a gcc2
52033 builtin and then its argument prototype would still apply. */
52034 char $ac_func ();
52035 /* The GNU C library defines this for functions which it implements
52036 to always fail with ENOSYS. Some functions are actually named
52037 something starting with __ and the normal name is an alias. */
52038 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52039 choke me
52040 #else
52041 char (*f) () = $ac_func;
52042 #endif
52043 #ifdef __cplusplus
52045 #endif
52048 main ()
52050 return f != $ac_func;
52052 return 0;
52054 _ACEOF
52055 rm -f conftest.$ac_objext conftest$ac_exeext
52056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52057 (eval $ac_link) 2>conftest.er1
52058 ac_status=$?
52059 grep -v '^ *+' conftest.er1 >conftest.err
52060 rm -f conftest.er1
52061 cat conftest.err >&5
52062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52063 (exit $ac_status); } &&
52064 { ac_try='test -z "$ac_c_werror_flag"
52065 || test ! -s conftest.err'
52066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52067 (eval $ac_try) 2>&5
52068 ac_status=$?
52069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52070 (exit $ac_status); }; } &&
52071 { ac_try='test -s conftest$ac_exeext'
52072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52073 (eval $ac_try) 2>&5
52074 ac_status=$?
52075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52076 (exit $ac_status); }; }; then
52077 eval "$as_ac_var=yes"
52078 else
52079 echo "$as_me: failed program was:" >&5
52080 sed 's/^/| /' conftest.$ac_ext >&5
52082 eval "$as_ac_var=no"
52084 rm -f conftest.err conftest.$ac_objext \
52085 conftest$ac_exeext conftest.$ac_ext
52087 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52088 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52089 if test `eval echo '${'$as_ac_var'}'` = yes; then
52090 cat >>confdefs.h <<_ACEOF
52091 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52092 _ACEOF
52094 else
52095 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
52097 done
52101 for ac_func in __signbit
52103 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52104 echo "$as_me:$LINENO: checking for $ac_func" >&5
52105 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52106 if eval "test \"\${$as_ac_var+set}\" = set"; then
52107 echo $ECHO_N "(cached) $ECHO_C" >&6
52108 else
52109 if test x$gcc_no_link = xyes; then
52110 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52111 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52112 { (exit 1); exit 1; }; }
52114 cat >conftest.$ac_ext <<_ACEOF
52115 /* confdefs.h. */
52116 _ACEOF
52117 cat confdefs.h >>conftest.$ac_ext
52118 cat >>conftest.$ac_ext <<_ACEOF
52119 /* end confdefs.h. */
52120 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52121 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52122 #define $ac_func innocuous_$ac_func
52124 /* System header to define __stub macros and hopefully few prototypes,
52125 which can conflict with char $ac_func (); below.
52126 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52127 <limits.h> exists even on freestanding compilers. */
52129 #ifdef __STDC__
52130 # include <limits.h>
52131 #else
52132 # include <assert.h>
52133 #endif
52135 #undef $ac_func
52137 /* Override any gcc2 internal prototype to avoid an error. */
52138 #ifdef __cplusplus
52139 extern "C"
52141 #endif
52142 /* We use char because int might match the return type of a gcc2
52143 builtin and then its argument prototype would still apply. */
52144 char $ac_func ();
52145 /* The GNU C library defines this for functions which it implements
52146 to always fail with ENOSYS. Some functions are actually named
52147 something starting with __ and the normal name is an alias. */
52148 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52149 choke me
52150 #else
52151 char (*f) () = $ac_func;
52152 #endif
52153 #ifdef __cplusplus
52155 #endif
52158 main ()
52160 return f != $ac_func;
52162 return 0;
52164 _ACEOF
52165 rm -f conftest.$ac_objext conftest$ac_exeext
52166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52167 (eval $ac_link) 2>conftest.er1
52168 ac_status=$?
52169 grep -v '^ *+' conftest.er1 >conftest.err
52170 rm -f conftest.er1
52171 cat conftest.err >&5
52172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52173 (exit $ac_status); } &&
52174 { ac_try='test -z "$ac_c_werror_flag"
52175 || test ! -s conftest.err'
52176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52177 (eval $ac_try) 2>&5
52178 ac_status=$?
52179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52180 (exit $ac_status); }; } &&
52181 { ac_try='test -s conftest$ac_exeext'
52182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52183 (eval $ac_try) 2>&5
52184 ac_status=$?
52185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52186 (exit $ac_status); }; }; then
52187 eval "$as_ac_var=yes"
52188 else
52189 echo "$as_me: failed program was:" >&5
52190 sed 's/^/| /' conftest.$ac_ext >&5
52192 eval "$as_ac_var=no"
52194 rm -f conftest.err conftest.$ac_objext \
52195 conftest$ac_exeext conftest.$ac_ext
52197 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52198 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52199 if test `eval echo '${'$as_ac_var'}'` = yes; then
52200 cat >>confdefs.h <<_ACEOF
52201 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52202 _ACEOF
52204 else
52205 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
52207 done
52211 for ac_func in __signbitf
52213 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52214 echo "$as_me:$LINENO: checking for $ac_func" >&5
52215 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52216 if eval "test \"\${$as_ac_var+set}\" = set"; then
52217 echo $ECHO_N "(cached) $ECHO_C" >&6
52218 else
52219 if test x$gcc_no_link = xyes; then
52220 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52221 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52222 { (exit 1); exit 1; }; }
52224 cat >conftest.$ac_ext <<_ACEOF
52225 /* confdefs.h. */
52226 _ACEOF
52227 cat confdefs.h >>conftest.$ac_ext
52228 cat >>conftest.$ac_ext <<_ACEOF
52229 /* end confdefs.h. */
52230 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52231 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52232 #define $ac_func innocuous_$ac_func
52234 /* System header to define __stub macros and hopefully few prototypes,
52235 which can conflict with char $ac_func (); below.
52236 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52237 <limits.h> exists even on freestanding compilers. */
52239 #ifdef __STDC__
52240 # include <limits.h>
52241 #else
52242 # include <assert.h>
52243 #endif
52245 #undef $ac_func
52247 /* Override any gcc2 internal prototype to avoid an error. */
52248 #ifdef __cplusplus
52249 extern "C"
52251 #endif
52252 /* We use char because int might match the return type of a gcc2
52253 builtin and then its argument prototype would still apply. */
52254 char $ac_func ();
52255 /* The GNU C library defines this for functions which it implements
52256 to always fail with ENOSYS. Some functions are actually named
52257 something starting with __ and the normal name is an alias. */
52258 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52259 choke me
52260 #else
52261 char (*f) () = $ac_func;
52262 #endif
52263 #ifdef __cplusplus
52265 #endif
52268 main ()
52270 return f != $ac_func;
52272 return 0;
52274 _ACEOF
52275 rm -f conftest.$ac_objext conftest$ac_exeext
52276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52277 (eval $ac_link) 2>conftest.er1
52278 ac_status=$?
52279 grep -v '^ *+' conftest.er1 >conftest.err
52280 rm -f conftest.er1
52281 cat conftest.err >&5
52282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52283 (exit $ac_status); } &&
52284 { ac_try='test -z "$ac_c_werror_flag"
52285 || test ! -s conftest.err'
52286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52287 (eval $ac_try) 2>&5
52288 ac_status=$?
52289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52290 (exit $ac_status); }; } &&
52291 { ac_try='test -s conftest$ac_exeext'
52292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52293 (eval $ac_try) 2>&5
52294 ac_status=$?
52295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52296 (exit $ac_status); }; }; then
52297 eval "$as_ac_var=yes"
52298 else
52299 echo "$as_me: failed program was:" >&5
52300 sed 's/^/| /' conftest.$ac_ext >&5
52302 eval "$as_ac_var=no"
52304 rm -f conftest.err conftest.$ac_objext \
52305 conftest$ac_exeext conftest.$ac_ext
52307 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52308 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52309 if test `eval echo '${'$as_ac_var'}'` = yes; then
52310 cat >>confdefs.h <<_ACEOF
52311 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52312 _ACEOF
52314 else
52315 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
52317 done
52320 if test x$ac_cv_func_copysignl = x"yes"; then
52322 for ac_func in __signbitl
52324 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52325 echo "$as_me:$LINENO: checking for $ac_func" >&5
52326 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52327 if eval "test \"\${$as_ac_var+set}\" = set"; then
52328 echo $ECHO_N "(cached) $ECHO_C" >&6
52329 else
52330 if test x$gcc_no_link = xyes; then
52331 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52332 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52333 { (exit 1); exit 1; }; }
52335 cat >conftest.$ac_ext <<_ACEOF
52336 /* confdefs.h. */
52337 _ACEOF
52338 cat confdefs.h >>conftest.$ac_ext
52339 cat >>conftest.$ac_ext <<_ACEOF
52340 /* end confdefs.h. */
52341 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52342 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52343 #define $ac_func innocuous_$ac_func
52345 /* System header to define __stub macros and hopefully few prototypes,
52346 which can conflict with char $ac_func (); below.
52347 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52348 <limits.h> exists even on freestanding compilers. */
52350 #ifdef __STDC__
52351 # include <limits.h>
52352 #else
52353 # include <assert.h>
52354 #endif
52356 #undef $ac_func
52358 /* Override any gcc2 internal prototype to avoid an error. */
52359 #ifdef __cplusplus
52360 extern "C"
52362 #endif
52363 /* We use char because int might match the return type of a gcc2
52364 builtin and then its argument prototype would still apply. */
52365 char $ac_func ();
52366 /* The GNU C library defines this for functions which it implements
52367 to always fail with ENOSYS. Some functions are actually named
52368 something starting with __ and the normal name is an alias. */
52369 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52370 choke me
52371 #else
52372 char (*f) () = $ac_func;
52373 #endif
52374 #ifdef __cplusplus
52376 #endif
52379 main ()
52381 return f != $ac_func;
52383 return 0;
52385 _ACEOF
52386 rm -f conftest.$ac_objext conftest$ac_exeext
52387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52388 (eval $ac_link) 2>conftest.er1
52389 ac_status=$?
52390 grep -v '^ *+' conftest.er1 >conftest.err
52391 rm -f conftest.er1
52392 cat conftest.err >&5
52393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52394 (exit $ac_status); } &&
52395 { ac_try='test -z "$ac_c_werror_flag"
52396 || test ! -s conftest.err'
52397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52398 (eval $ac_try) 2>&5
52399 ac_status=$?
52400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52401 (exit $ac_status); }; } &&
52402 { ac_try='test -s conftest$ac_exeext'
52403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52404 (eval $ac_try) 2>&5
52405 ac_status=$?
52406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52407 (exit $ac_status); }; }; then
52408 eval "$as_ac_var=yes"
52409 else
52410 echo "$as_me: failed program was:" >&5
52411 sed 's/^/| /' conftest.$ac_ext >&5
52413 eval "$as_ac_var=no"
52415 rm -f conftest.err conftest.$ac_objext \
52416 conftest$ac_exeext conftest.$ac_ext
52418 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52419 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52420 if test `eval echo '${'$as_ac_var'}'` = yes; then
52421 cat >>confdefs.h <<_ACEOF
52422 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52423 _ACEOF
52425 else
52426 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
52428 done
52432 # Used in libmath/Makefile.am.
52433 if test -n "$LIBMATHOBJS"; then
52434 need_libmath=yes
52440 enable_iconv=no
52441 # Only continue checking if the ISO C99 headers exist and support is on.
52442 if test x"$enable_wchar_t" = xyes; then
52444 # Use iconv for wchar_t to char conversions. As such, check for
52445 # X/Open Portability Guide, version 2 features (XPG2).
52446 if test "${ac_cv_header_iconv_h+set}" = set; then
52447 echo "$as_me:$LINENO: checking for iconv.h" >&5
52448 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
52449 if test "${ac_cv_header_iconv_h+set}" = set; then
52450 echo $ECHO_N "(cached) $ECHO_C" >&6
52452 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
52453 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
52454 else
52455 # Is the header compilable?
52456 echo "$as_me:$LINENO: checking iconv.h usability" >&5
52457 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
52458 cat >conftest.$ac_ext <<_ACEOF
52459 /* confdefs.h. */
52460 _ACEOF
52461 cat confdefs.h >>conftest.$ac_ext
52462 cat >>conftest.$ac_ext <<_ACEOF
52463 /* end confdefs.h. */
52464 $ac_includes_default
52465 #include <iconv.h>
52466 _ACEOF
52467 rm -f conftest.$ac_objext
52468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52469 (eval $ac_compile) 2>conftest.er1
52470 ac_status=$?
52471 grep -v '^ *+' conftest.er1 >conftest.err
52472 rm -f conftest.er1
52473 cat conftest.err >&5
52474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52475 (exit $ac_status); } &&
52476 { ac_try='test -z "$ac_c_werror_flag"
52477 || test ! -s conftest.err'
52478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52479 (eval $ac_try) 2>&5
52480 ac_status=$?
52481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52482 (exit $ac_status); }; } &&
52483 { ac_try='test -s conftest.$ac_objext'
52484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52485 (eval $ac_try) 2>&5
52486 ac_status=$?
52487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52488 (exit $ac_status); }; }; then
52489 ac_header_compiler=yes
52490 else
52491 echo "$as_me: failed program was:" >&5
52492 sed 's/^/| /' conftest.$ac_ext >&5
52494 ac_header_compiler=no
52496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52497 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52498 echo "${ECHO_T}$ac_header_compiler" >&6
52500 # Is the header present?
52501 echo "$as_me:$LINENO: checking iconv.h presence" >&5
52502 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
52503 cat >conftest.$ac_ext <<_ACEOF
52504 /* confdefs.h. */
52505 _ACEOF
52506 cat confdefs.h >>conftest.$ac_ext
52507 cat >>conftest.$ac_ext <<_ACEOF
52508 /* end confdefs.h. */
52509 #include <iconv.h>
52510 _ACEOF
52511 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52512 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52513 ac_status=$?
52514 grep -v '^ *+' conftest.er1 >conftest.err
52515 rm -f conftest.er1
52516 cat conftest.err >&5
52517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52518 (exit $ac_status); } >/dev/null; then
52519 if test -s conftest.err; then
52520 ac_cpp_err=$ac_c_preproc_warn_flag
52521 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52522 else
52523 ac_cpp_err=
52525 else
52526 ac_cpp_err=yes
52528 if test -z "$ac_cpp_err"; then
52529 ac_header_preproc=yes
52530 else
52531 echo "$as_me: failed program was:" >&5
52532 sed 's/^/| /' conftest.$ac_ext >&5
52534 ac_header_preproc=no
52536 rm -f conftest.err conftest.$ac_ext
52537 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52538 echo "${ECHO_T}$ac_header_preproc" >&6
52540 # So? What about this header?
52541 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52542 yes:no: )
52543 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
52544 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
52545 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
52546 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
52547 ac_header_preproc=yes
52549 no:yes:* )
52550 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
52551 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
52552 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
52553 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
52554 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
52555 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
52556 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
52557 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
52558 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
52559 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
52560 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
52561 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
52563 cat <<\_ASBOX
52564 ## ----------------------------------------- ##
52565 ## Report this to the package-unused lists. ##
52566 ## ----------------------------------------- ##
52567 _ASBOX
52569 sed "s/^/$as_me: WARNING: /" >&2
52571 esac
52572 echo "$as_me:$LINENO: checking for iconv.h" >&5
52573 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
52574 if test "${ac_cv_header_iconv_h+set}" = set; then
52575 echo $ECHO_N "(cached) $ECHO_C" >&6
52576 else
52577 ac_cv_header_iconv_h=$ac_header_preproc
52579 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
52580 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
52583 if test $ac_cv_header_iconv_h = yes; then
52584 ac_has_iconv_h=yes
52585 else
52586 ac_has_iconv_h=no
52590 if test "${ac_cv_header_langinfo_h+set}" = set; then
52591 echo "$as_me:$LINENO: checking for langinfo.h" >&5
52592 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
52593 if test "${ac_cv_header_langinfo_h+set}" = set; then
52594 echo $ECHO_N "(cached) $ECHO_C" >&6
52596 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
52597 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
52598 else
52599 # Is the header compilable?
52600 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
52601 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
52602 cat >conftest.$ac_ext <<_ACEOF
52603 /* confdefs.h. */
52604 _ACEOF
52605 cat confdefs.h >>conftest.$ac_ext
52606 cat >>conftest.$ac_ext <<_ACEOF
52607 /* end confdefs.h. */
52608 $ac_includes_default
52609 #include <langinfo.h>
52610 _ACEOF
52611 rm -f conftest.$ac_objext
52612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52613 (eval $ac_compile) 2>conftest.er1
52614 ac_status=$?
52615 grep -v '^ *+' conftest.er1 >conftest.err
52616 rm -f conftest.er1
52617 cat conftest.err >&5
52618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52619 (exit $ac_status); } &&
52620 { ac_try='test -z "$ac_c_werror_flag"
52621 || test ! -s conftest.err'
52622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52623 (eval $ac_try) 2>&5
52624 ac_status=$?
52625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52626 (exit $ac_status); }; } &&
52627 { ac_try='test -s conftest.$ac_objext'
52628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52629 (eval $ac_try) 2>&5
52630 ac_status=$?
52631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52632 (exit $ac_status); }; }; then
52633 ac_header_compiler=yes
52634 else
52635 echo "$as_me: failed program was:" >&5
52636 sed 's/^/| /' conftest.$ac_ext >&5
52638 ac_header_compiler=no
52640 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52641 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52642 echo "${ECHO_T}$ac_header_compiler" >&6
52644 # Is the header present?
52645 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
52646 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
52647 cat >conftest.$ac_ext <<_ACEOF
52648 /* confdefs.h. */
52649 _ACEOF
52650 cat confdefs.h >>conftest.$ac_ext
52651 cat >>conftest.$ac_ext <<_ACEOF
52652 /* end confdefs.h. */
52653 #include <langinfo.h>
52654 _ACEOF
52655 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52656 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52657 ac_status=$?
52658 grep -v '^ *+' conftest.er1 >conftest.err
52659 rm -f conftest.er1
52660 cat conftest.err >&5
52661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52662 (exit $ac_status); } >/dev/null; then
52663 if test -s conftest.err; then
52664 ac_cpp_err=$ac_c_preproc_warn_flag
52665 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52666 else
52667 ac_cpp_err=
52669 else
52670 ac_cpp_err=yes
52672 if test -z "$ac_cpp_err"; then
52673 ac_header_preproc=yes
52674 else
52675 echo "$as_me: failed program was:" >&5
52676 sed 's/^/| /' conftest.$ac_ext >&5
52678 ac_header_preproc=no
52680 rm -f conftest.err conftest.$ac_ext
52681 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52682 echo "${ECHO_T}$ac_header_preproc" >&6
52684 # So? What about this header?
52685 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52686 yes:no: )
52687 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
52688 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
52689 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
52690 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
52691 ac_header_preproc=yes
52693 no:yes:* )
52694 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
52695 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
52696 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
52697 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
52698 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
52699 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
52700 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
52701 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
52702 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
52703 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
52704 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
52705 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
52707 cat <<\_ASBOX
52708 ## ----------------------------------------- ##
52709 ## Report this to the package-unused lists. ##
52710 ## ----------------------------------------- ##
52711 _ASBOX
52713 sed "s/^/$as_me: WARNING: /" >&2
52715 esac
52716 echo "$as_me:$LINENO: checking for langinfo.h" >&5
52717 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
52718 if test "${ac_cv_header_langinfo_h+set}" = set; then
52719 echo $ECHO_N "(cached) $ECHO_C" >&6
52720 else
52721 ac_cv_header_langinfo_h=$ac_header_preproc
52723 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
52724 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
52727 if test $ac_cv_header_langinfo_h = yes; then
52728 ac_has_langinfo_h=yes
52729 else
52730 ac_has_langinfo_h=no
52735 # Check for existence of libiconv.a providing XPG2 wchar_t support.
52736 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
52737 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
52738 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
52739 echo $ECHO_N "(cached) $ECHO_C" >&6
52740 else
52741 ac_check_lib_save_LIBS=$LIBS
52742 LIBS="-liconv $LIBS"
52743 if test x$gcc_no_link = xyes; then
52744 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52745 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52746 { (exit 1); exit 1; }; }
52748 cat >conftest.$ac_ext <<_ACEOF
52749 /* confdefs.h. */
52750 _ACEOF
52751 cat confdefs.h >>conftest.$ac_ext
52752 cat >>conftest.$ac_ext <<_ACEOF
52753 /* end confdefs.h. */
52755 /* Override any gcc2 internal prototype to avoid an error. */
52756 #ifdef __cplusplus
52757 extern "C"
52758 #endif
52759 /* We use char because int might match the return type of a gcc2
52760 builtin and then its argument prototype would still apply. */
52761 char iconv ();
52763 main ()
52765 iconv ();
52767 return 0;
52769 _ACEOF
52770 rm -f conftest.$ac_objext conftest$ac_exeext
52771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52772 (eval $ac_link) 2>conftest.er1
52773 ac_status=$?
52774 grep -v '^ *+' conftest.er1 >conftest.err
52775 rm -f conftest.er1
52776 cat conftest.err >&5
52777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52778 (exit $ac_status); } &&
52779 { ac_try='test -z "$ac_c_werror_flag"
52780 || test ! -s conftest.err'
52781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52782 (eval $ac_try) 2>&5
52783 ac_status=$?
52784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52785 (exit $ac_status); }; } &&
52786 { ac_try='test -s conftest$ac_exeext'
52787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52788 (eval $ac_try) 2>&5
52789 ac_status=$?
52790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52791 (exit $ac_status); }; }; then
52792 ac_cv_lib_iconv_iconv=yes
52793 else
52794 echo "$as_me: failed program was:" >&5
52795 sed 's/^/| /' conftest.$ac_ext >&5
52797 ac_cv_lib_iconv_iconv=no
52799 rm -f conftest.err conftest.$ac_objext \
52800 conftest$ac_exeext conftest.$ac_ext
52801 LIBS=$ac_check_lib_save_LIBS
52803 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
52804 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
52805 if test $ac_cv_lib_iconv_iconv = yes; then
52806 LIBICONV="-liconv"
52809 ac_save_LIBS="$LIBS"
52810 LIBS="$LIBS $LIBICONV"
52817 for ac_func in iconv_open iconv_close iconv nl_langinfo
52819 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52820 echo "$as_me:$LINENO: checking for $ac_func" >&5
52821 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52822 if eval "test \"\${$as_ac_var+set}\" = set"; then
52823 echo $ECHO_N "(cached) $ECHO_C" >&6
52824 else
52825 if test x$gcc_no_link = xyes; then
52826 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52827 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52828 { (exit 1); exit 1; }; }
52830 cat >conftest.$ac_ext <<_ACEOF
52831 /* confdefs.h. */
52832 _ACEOF
52833 cat confdefs.h >>conftest.$ac_ext
52834 cat >>conftest.$ac_ext <<_ACEOF
52835 /* end confdefs.h. */
52836 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52837 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52838 #define $ac_func innocuous_$ac_func
52840 /* System header to define __stub macros and hopefully few prototypes,
52841 which can conflict with char $ac_func (); below.
52842 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52843 <limits.h> exists even on freestanding compilers. */
52845 #ifdef __STDC__
52846 # include <limits.h>
52847 #else
52848 # include <assert.h>
52849 #endif
52851 #undef $ac_func
52853 /* Override any gcc2 internal prototype to avoid an error. */
52854 #ifdef __cplusplus
52855 extern "C"
52857 #endif
52858 /* We use char because int might match the return type of a gcc2
52859 builtin and then its argument prototype would still apply. */
52860 char $ac_func ();
52861 /* The GNU C library defines this for functions which it implements
52862 to always fail with ENOSYS. Some functions are actually named
52863 something starting with __ and the normal name is an alias. */
52864 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52865 choke me
52866 #else
52867 char (*f) () = $ac_func;
52868 #endif
52869 #ifdef __cplusplus
52871 #endif
52874 main ()
52876 return f != $ac_func;
52878 return 0;
52880 _ACEOF
52881 rm -f conftest.$ac_objext conftest$ac_exeext
52882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52883 (eval $ac_link) 2>conftest.er1
52884 ac_status=$?
52885 grep -v '^ *+' conftest.er1 >conftest.err
52886 rm -f conftest.er1
52887 cat conftest.err >&5
52888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52889 (exit $ac_status); } &&
52890 { ac_try='test -z "$ac_c_werror_flag"
52891 || test ! -s conftest.err'
52892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52893 (eval $ac_try) 2>&5
52894 ac_status=$?
52895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52896 (exit $ac_status); }; } &&
52897 { ac_try='test -s conftest$ac_exeext'
52898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52899 (eval $ac_try) 2>&5
52900 ac_status=$?
52901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52902 (exit $ac_status); }; }; then
52903 eval "$as_ac_var=yes"
52904 else
52905 echo "$as_me: failed program was:" >&5
52906 sed 's/^/| /' conftest.$ac_ext >&5
52908 eval "$as_ac_var=no"
52910 rm -f conftest.err conftest.$ac_objext \
52911 conftest$ac_exeext conftest.$ac_ext
52913 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52914 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52915 if test `eval echo '${'$as_ac_var'}'` = yes; then
52916 cat >>confdefs.h <<_ACEOF
52917 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52918 _ACEOF
52919 ac_XPG2funcs=yes
52920 else
52921 ac_XPG2funcs=no
52923 done
52926 LIBS="$ac_save_LIBS"
52928 if test x"$ac_has_iconv_h" = xyes &&
52929 test x"$ac_has_langinfo_h" = xyes &&
52930 test x"$ac_XPG2funcs" = xyes;
52931 then
52933 cat >>confdefs.h <<\_ACEOF
52934 #define _GLIBCXX_USE_ICONV 1
52935 _ACEOF
52937 enable_iconv=yes
52940 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
52941 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
52942 echo "$as_me:$LINENO: result: $enable_iconv" >&5
52943 echo "${ECHO_T}$enable_iconv" >&6
52946 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52947 ac_save_CXXFLAGS="$CXXFLAGS"
52948 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52951 echo "$as_me:$LINENO: checking for strtold declaration" >&5
52952 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
52953 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
52954 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
52955 echo $ECHO_N "(cached) $ECHO_C" >&6
52956 else
52960 ac_ext=cc
52961 ac_cpp='$CXXCPP $CPPFLAGS'
52962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52966 cat >conftest.$ac_ext <<_ACEOF
52967 /* confdefs.h. */
52968 _ACEOF
52969 cat confdefs.h >>conftest.$ac_ext
52970 cat >>conftest.$ac_ext <<_ACEOF
52971 /* end confdefs.h. */
52972 #include <stdlib.h>
52974 main ()
52976 strtold(0, 0);
52978 return 0;
52980 _ACEOF
52981 rm -f conftest.$ac_objext
52982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52983 (eval $ac_compile) 2>conftest.er1
52984 ac_status=$?
52985 grep -v '^ *+' conftest.er1 >conftest.err
52986 rm -f conftest.er1
52987 cat conftest.err >&5
52988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52989 (exit $ac_status); } &&
52990 { ac_try='test -z "$ac_cxx_werror_flag"
52991 || test ! -s conftest.err'
52992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52993 (eval $ac_try) 2>&5
52994 ac_status=$?
52995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52996 (exit $ac_status); }; } &&
52997 { ac_try='test -s conftest.$ac_objext'
52998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52999 (eval $ac_try) 2>&5
53000 ac_status=$?
53001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53002 (exit $ac_status); }; }; then
53003 glibcxx_cv_func_strtold_use=yes
53004 else
53005 echo "$as_me: failed program was:" >&5
53006 sed 's/^/| /' conftest.$ac_ext >&5
53008 glibcxx_cv_func_strtold_use=no
53010 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53011 ac_ext=c
53012 ac_cpp='$CPP $CPPFLAGS'
53013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53021 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
53022 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
53023 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
53025 for ac_func in strtold
53027 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53028 echo "$as_me:$LINENO: checking for $ac_func" >&5
53029 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53030 if eval "test \"\${$as_ac_var+set}\" = set"; then
53031 echo $ECHO_N "(cached) $ECHO_C" >&6
53032 else
53033 if test x$gcc_no_link = xyes; then
53034 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53035 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53036 { (exit 1); exit 1; }; }
53038 cat >conftest.$ac_ext <<_ACEOF
53039 /* confdefs.h. */
53040 _ACEOF
53041 cat confdefs.h >>conftest.$ac_ext
53042 cat >>conftest.$ac_ext <<_ACEOF
53043 /* end confdefs.h. */
53044 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53045 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53046 #define $ac_func innocuous_$ac_func
53048 /* System header to define __stub macros and hopefully few prototypes,
53049 which can conflict with char $ac_func (); below.
53050 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53051 <limits.h> exists even on freestanding compilers. */
53053 #ifdef __STDC__
53054 # include <limits.h>
53055 #else
53056 # include <assert.h>
53057 #endif
53059 #undef $ac_func
53061 /* Override any gcc2 internal prototype to avoid an error. */
53062 #ifdef __cplusplus
53063 extern "C"
53065 #endif
53066 /* We use char because int might match the return type of a gcc2
53067 builtin and then its argument prototype would still apply. */
53068 char $ac_func ();
53069 /* The GNU C library defines this for functions which it implements
53070 to always fail with ENOSYS. Some functions are actually named
53071 something starting with __ and the normal name is an alias. */
53072 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53073 choke me
53074 #else
53075 char (*f) () = $ac_func;
53076 #endif
53077 #ifdef __cplusplus
53079 #endif
53082 main ()
53084 return f != $ac_func;
53086 return 0;
53088 _ACEOF
53089 rm -f conftest.$ac_objext conftest$ac_exeext
53090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53091 (eval $ac_link) 2>conftest.er1
53092 ac_status=$?
53093 grep -v '^ *+' conftest.er1 >conftest.err
53094 rm -f conftest.er1
53095 cat conftest.err >&5
53096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53097 (exit $ac_status); } &&
53098 { ac_try='test -z "$ac_c_werror_flag"
53099 || test ! -s conftest.err'
53100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53101 (eval $ac_try) 2>&5
53102 ac_status=$?
53103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53104 (exit $ac_status); }; } &&
53105 { ac_try='test -s conftest$ac_exeext'
53106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53107 (eval $ac_try) 2>&5
53108 ac_status=$?
53109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53110 (exit $ac_status); }; }; then
53111 eval "$as_ac_var=yes"
53112 else
53113 echo "$as_me: failed program was:" >&5
53114 sed 's/^/| /' conftest.$ac_ext >&5
53116 eval "$as_ac_var=no"
53118 rm -f conftest.err conftest.$ac_objext \
53119 conftest$ac_exeext conftest.$ac_ext
53121 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53122 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53123 if test `eval echo '${'$as_ac_var'}'` = yes; then
53124 cat >>confdefs.h <<_ACEOF
53125 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53126 _ACEOF
53129 done
53137 echo "$as_me:$LINENO: checking for strtof declaration" >&5
53138 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
53139 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
53140 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
53141 echo $ECHO_N "(cached) $ECHO_C" >&6
53142 else
53146 ac_ext=cc
53147 ac_cpp='$CXXCPP $CPPFLAGS'
53148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53152 cat >conftest.$ac_ext <<_ACEOF
53153 /* confdefs.h. */
53154 _ACEOF
53155 cat confdefs.h >>conftest.$ac_ext
53156 cat >>conftest.$ac_ext <<_ACEOF
53157 /* end confdefs.h. */
53158 #include <stdlib.h>
53160 main ()
53162 strtof(0, 0);
53164 return 0;
53166 _ACEOF
53167 rm -f conftest.$ac_objext
53168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53169 (eval $ac_compile) 2>conftest.er1
53170 ac_status=$?
53171 grep -v '^ *+' conftest.er1 >conftest.err
53172 rm -f conftest.er1
53173 cat conftest.err >&5
53174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53175 (exit $ac_status); } &&
53176 { ac_try='test -z "$ac_cxx_werror_flag"
53177 || test ! -s conftest.err'
53178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53179 (eval $ac_try) 2>&5
53180 ac_status=$?
53181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53182 (exit $ac_status); }; } &&
53183 { ac_try='test -s conftest.$ac_objext'
53184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53185 (eval $ac_try) 2>&5
53186 ac_status=$?
53187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53188 (exit $ac_status); }; }; then
53189 glibcxx_cv_func_strtof_use=yes
53190 else
53191 echo "$as_me: failed program was:" >&5
53192 sed 's/^/| /' conftest.$ac_ext >&5
53194 glibcxx_cv_func_strtof_use=no
53196 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53197 ac_ext=c
53198 ac_cpp='$CPP $CPPFLAGS'
53199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53207 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
53208 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
53209 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
53211 for ac_func in strtof
53213 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53214 echo "$as_me:$LINENO: checking for $ac_func" >&5
53215 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53216 if eval "test \"\${$as_ac_var+set}\" = set"; then
53217 echo $ECHO_N "(cached) $ECHO_C" >&6
53218 else
53219 if test x$gcc_no_link = xyes; then
53220 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53221 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53222 { (exit 1); exit 1; }; }
53224 cat >conftest.$ac_ext <<_ACEOF
53225 /* confdefs.h. */
53226 _ACEOF
53227 cat confdefs.h >>conftest.$ac_ext
53228 cat >>conftest.$ac_ext <<_ACEOF
53229 /* end confdefs.h. */
53230 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53231 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53232 #define $ac_func innocuous_$ac_func
53234 /* System header to define __stub macros and hopefully few prototypes,
53235 which can conflict with char $ac_func (); below.
53236 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53237 <limits.h> exists even on freestanding compilers. */
53239 #ifdef __STDC__
53240 # include <limits.h>
53241 #else
53242 # include <assert.h>
53243 #endif
53245 #undef $ac_func
53247 /* Override any gcc2 internal prototype to avoid an error. */
53248 #ifdef __cplusplus
53249 extern "C"
53251 #endif
53252 /* We use char because int might match the return type of a gcc2
53253 builtin and then its argument prototype would still apply. */
53254 char $ac_func ();
53255 /* The GNU C library defines this for functions which it implements
53256 to always fail with ENOSYS. Some functions are actually named
53257 something starting with __ and the normal name is an alias. */
53258 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53259 choke me
53260 #else
53261 char (*f) () = $ac_func;
53262 #endif
53263 #ifdef __cplusplus
53265 #endif
53268 main ()
53270 return f != $ac_func;
53272 return 0;
53274 _ACEOF
53275 rm -f conftest.$ac_objext conftest$ac_exeext
53276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53277 (eval $ac_link) 2>conftest.er1
53278 ac_status=$?
53279 grep -v '^ *+' conftest.er1 >conftest.err
53280 rm -f conftest.er1
53281 cat conftest.err >&5
53282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53283 (exit $ac_status); } &&
53284 { ac_try='test -z "$ac_c_werror_flag"
53285 || test ! -s conftest.err'
53286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53287 (eval $ac_try) 2>&5
53288 ac_status=$?
53289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53290 (exit $ac_status); }; } &&
53291 { ac_try='test -s conftest$ac_exeext'
53292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53293 (eval $ac_try) 2>&5
53294 ac_status=$?
53295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53296 (exit $ac_status); }; }; then
53297 eval "$as_ac_var=yes"
53298 else
53299 echo "$as_me: failed program was:" >&5
53300 sed 's/^/| /' conftest.$ac_ext >&5
53302 eval "$as_ac_var=no"
53304 rm -f conftest.err conftest.$ac_objext \
53305 conftest$ac_exeext conftest.$ac_ext
53307 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53308 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53309 if test `eval echo '${'$as_ac_var'}'` = yes; then
53310 cat >>confdefs.h <<_ACEOF
53311 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53312 _ACEOF
53315 done
53323 CXXFLAGS="$ac_save_CXXFLAGS"
53326 # For showmanyc_helper().
53329 for ac_header in sys/ioctl.h sys/filio.h
53331 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
53332 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53333 echo "$as_me:$LINENO: checking for $ac_header" >&5
53334 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53335 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53336 echo $ECHO_N "(cached) $ECHO_C" >&6
53338 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53339 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53340 else
53341 # Is the header compilable?
53342 echo "$as_me:$LINENO: checking $ac_header usability" >&5
53343 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
53344 cat >conftest.$ac_ext <<_ACEOF
53345 /* confdefs.h. */
53346 _ACEOF
53347 cat confdefs.h >>conftest.$ac_ext
53348 cat >>conftest.$ac_ext <<_ACEOF
53349 /* end confdefs.h. */
53350 $ac_includes_default
53351 #include <$ac_header>
53352 _ACEOF
53353 rm -f conftest.$ac_objext
53354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53355 (eval $ac_compile) 2>conftest.er1
53356 ac_status=$?
53357 grep -v '^ *+' conftest.er1 >conftest.err
53358 rm -f conftest.er1
53359 cat conftest.err >&5
53360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53361 (exit $ac_status); } &&
53362 { ac_try='test -z "$ac_c_werror_flag"
53363 || test ! -s conftest.err'
53364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53365 (eval $ac_try) 2>&5
53366 ac_status=$?
53367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53368 (exit $ac_status); }; } &&
53369 { ac_try='test -s conftest.$ac_objext'
53370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53371 (eval $ac_try) 2>&5
53372 ac_status=$?
53373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53374 (exit $ac_status); }; }; then
53375 ac_header_compiler=yes
53376 else
53377 echo "$as_me: failed program was:" >&5
53378 sed 's/^/| /' conftest.$ac_ext >&5
53380 ac_header_compiler=no
53382 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53383 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53384 echo "${ECHO_T}$ac_header_compiler" >&6
53386 # Is the header present?
53387 echo "$as_me:$LINENO: checking $ac_header presence" >&5
53388 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
53389 cat >conftest.$ac_ext <<_ACEOF
53390 /* confdefs.h. */
53391 _ACEOF
53392 cat confdefs.h >>conftest.$ac_ext
53393 cat >>conftest.$ac_ext <<_ACEOF
53394 /* end confdefs.h. */
53395 #include <$ac_header>
53396 _ACEOF
53397 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53398 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53399 ac_status=$?
53400 grep -v '^ *+' conftest.er1 >conftest.err
53401 rm -f conftest.er1
53402 cat conftest.err >&5
53403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53404 (exit $ac_status); } >/dev/null; then
53405 if test -s conftest.err; then
53406 ac_cpp_err=$ac_c_preproc_warn_flag
53407 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
53408 else
53409 ac_cpp_err=
53411 else
53412 ac_cpp_err=yes
53414 if test -z "$ac_cpp_err"; then
53415 ac_header_preproc=yes
53416 else
53417 echo "$as_me: failed program was:" >&5
53418 sed 's/^/| /' conftest.$ac_ext >&5
53420 ac_header_preproc=no
53422 rm -f conftest.err conftest.$ac_ext
53423 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53424 echo "${ECHO_T}$ac_header_preproc" >&6
53426 # So? What about this header?
53427 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
53428 yes:no: )
53429 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
53430 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
53431 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
53432 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
53433 ac_header_preproc=yes
53435 no:yes:* )
53436 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
53437 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
53438 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
53439 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
53440 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
53441 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
53442 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
53443 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
53444 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53445 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53446 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
53447 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
53449 cat <<\_ASBOX
53450 ## ----------------------------------------- ##
53451 ## Report this to the package-unused lists. ##
53452 ## ----------------------------------------- ##
53453 _ASBOX
53455 sed "s/^/$as_me: WARNING: /" >&2
53457 esac
53458 echo "$as_me:$LINENO: checking for $ac_header" >&5
53459 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53460 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53461 echo $ECHO_N "(cached) $ECHO_C" >&6
53462 else
53463 eval "$as_ac_Header=\$ac_header_preproc"
53465 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53466 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53469 if test `eval echo '${'$as_ac_Header'}'` = yes; then
53470 cat >>confdefs.h <<_ACEOF
53471 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
53472 _ACEOF
53476 done
53479 echo "$as_me:$LINENO: checking for poll" >&5
53480 echo $ECHO_N "checking for poll... $ECHO_C" >&6
53481 if test "${glibcxx_cv_POLL+set}" = set; then
53482 echo $ECHO_N "(cached) $ECHO_C" >&6
53483 else
53485 if test x$gcc_no_link = xyes; then
53486 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53487 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53488 { (exit 1); exit 1; }; }
53490 cat >conftest.$ac_ext <<_ACEOF
53491 /* confdefs.h. */
53492 _ACEOF
53493 cat confdefs.h >>conftest.$ac_ext
53494 cat >>conftest.$ac_ext <<_ACEOF
53495 /* end confdefs.h. */
53496 #include <poll.h>
53498 main ()
53500 struct pollfd pfd[1];
53501 pfd[0].events = POLLIN;
53502 poll(pfd, 1, 0);
53504 return 0;
53506 _ACEOF
53507 rm -f conftest.$ac_objext conftest$ac_exeext
53508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53509 (eval $ac_link) 2>conftest.er1
53510 ac_status=$?
53511 grep -v '^ *+' conftest.er1 >conftest.err
53512 rm -f conftest.er1
53513 cat conftest.err >&5
53514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53515 (exit $ac_status); } &&
53516 { ac_try='test -z "$ac_c_werror_flag"
53517 || test ! -s conftest.err'
53518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53519 (eval $ac_try) 2>&5
53520 ac_status=$?
53521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53522 (exit $ac_status); }; } &&
53523 { ac_try='test -s conftest$ac_exeext'
53524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53525 (eval $ac_try) 2>&5
53526 ac_status=$?
53527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53528 (exit $ac_status); }; }; then
53529 glibcxx_cv_POLL=yes
53530 else
53531 echo "$as_me: failed program was:" >&5
53532 sed 's/^/| /' conftest.$ac_ext >&5
53534 glibcxx_cv_POLL=no
53536 rm -f conftest.err conftest.$ac_objext \
53537 conftest$ac_exeext conftest.$ac_ext
53541 if test $glibcxx_cv_POLL = yes; then
53543 cat >>confdefs.h <<\_ACEOF
53544 #define HAVE_POLL 1
53545 _ACEOF
53548 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
53549 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
53552 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
53553 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
53554 if test "${glibcxx_cv_S_ISREG+set}" = set; then
53555 echo $ECHO_N "(cached) $ECHO_C" >&6
53556 else
53558 if test x$gcc_no_link = xyes; then
53559 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53560 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53561 { (exit 1); exit 1; }; }
53563 cat >conftest.$ac_ext <<_ACEOF
53564 /* confdefs.h. */
53565 _ACEOF
53566 cat confdefs.h >>conftest.$ac_ext
53567 cat >>conftest.$ac_ext <<_ACEOF
53568 /* end confdefs.h. */
53569 #include <sys/stat.h>
53571 main ()
53573 struct stat buffer;
53574 fstat(0, &buffer);
53575 S_ISREG(buffer.st_mode);
53577 return 0;
53579 _ACEOF
53580 rm -f conftest.$ac_objext conftest$ac_exeext
53581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53582 (eval $ac_link) 2>conftest.er1
53583 ac_status=$?
53584 grep -v '^ *+' conftest.er1 >conftest.err
53585 rm -f conftest.er1
53586 cat conftest.err >&5
53587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53588 (exit $ac_status); } &&
53589 { ac_try='test -z "$ac_c_werror_flag"
53590 || test ! -s conftest.err'
53591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53592 (eval $ac_try) 2>&5
53593 ac_status=$?
53594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53595 (exit $ac_status); }; } &&
53596 { ac_try='test -s conftest$ac_exeext'
53597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53598 (eval $ac_try) 2>&5
53599 ac_status=$?
53600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53601 (exit $ac_status); }; }; then
53602 glibcxx_cv_S_ISREG=yes
53603 else
53604 echo "$as_me: failed program was:" >&5
53605 sed 's/^/| /' conftest.$ac_ext >&5
53607 glibcxx_cv_S_ISREG=no
53609 rm -f conftest.err conftest.$ac_objext \
53610 conftest$ac_exeext conftest.$ac_ext
53614 if test "${glibcxx_cv_S_IFREG+set}" = set; then
53615 echo $ECHO_N "(cached) $ECHO_C" >&6
53616 else
53618 if test x$gcc_no_link = xyes; then
53619 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53620 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53621 { (exit 1); exit 1; }; }
53623 cat >conftest.$ac_ext <<_ACEOF
53624 /* confdefs.h. */
53625 _ACEOF
53626 cat confdefs.h >>conftest.$ac_ext
53627 cat >>conftest.$ac_ext <<_ACEOF
53628 /* end confdefs.h. */
53629 #include <sys/stat.h>
53631 main ()
53633 struct stat buffer;
53634 fstat(0, &buffer);
53635 S_IFREG & buffer.st_mode;
53637 return 0;
53639 _ACEOF
53640 rm -f conftest.$ac_objext conftest$ac_exeext
53641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53642 (eval $ac_link) 2>conftest.er1
53643 ac_status=$?
53644 grep -v '^ *+' conftest.er1 >conftest.err
53645 rm -f conftest.er1
53646 cat conftest.err >&5
53647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53648 (exit $ac_status); } &&
53649 { ac_try='test -z "$ac_c_werror_flag"
53650 || test ! -s conftest.err'
53651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53652 (eval $ac_try) 2>&5
53653 ac_status=$?
53654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53655 (exit $ac_status); }; } &&
53656 { ac_try='test -s conftest$ac_exeext'
53657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53658 (eval $ac_try) 2>&5
53659 ac_status=$?
53660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53661 (exit $ac_status); }; }; then
53662 glibcxx_cv_S_IFREG=yes
53663 else
53664 echo "$as_me: failed program was:" >&5
53665 sed 's/^/| /' conftest.$ac_ext >&5
53667 glibcxx_cv_S_IFREG=no
53669 rm -f conftest.err conftest.$ac_objext \
53670 conftest$ac_exeext conftest.$ac_ext
53674 res=no
53675 if test $glibcxx_cv_S_ISREG = yes; then
53677 cat >>confdefs.h <<\_ACEOF
53678 #define HAVE_S_ISREG 1
53679 _ACEOF
53681 res=S_ISREG
53682 elif test $glibcxx_cv_S_IFREG = yes; then
53684 cat >>confdefs.h <<\_ACEOF
53685 #define HAVE_S_IFREG 1
53686 _ACEOF
53688 res=S_IFREG
53690 echo "$as_me:$LINENO: result: $res" >&5
53691 echo "${ECHO_T}$res" >&6
53694 # For xsputn_2().
53696 for ac_header in sys/uio.h
53698 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
53699 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53700 echo "$as_me:$LINENO: checking for $ac_header" >&5
53701 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53702 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53703 echo $ECHO_N "(cached) $ECHO_C" >&6
53705 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53706 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53707 else
53708 # Is the header compilable?
53709 echo "$as_me:$LINENO: checking $ac_header usability" >&5
53710 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
53711 cat >conftest.$ac_ext <<_ACEOF
53712 /* confdefs.h. */
53713 _ACEOF
53714 cat confdefs.h >>conftest.$ac_ext
53715 cat >>conftest.$ac_ext <<_ACEOF
53716 /* end confdefs.h. */
53717 $ac_includes_default
53718 #include <$ac_header>
53719 _ACEOF
53720 rm -f conftest.$ac_objext
53721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53722 (eval $ac_compile) 2>conftest.er1
53723 ac_status=$?
53724 grep -v '^ *+' conftest.er1 >conftest.err
53725 rm -f conftest.er1
53726 cat conftest.err >&5
53727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53728 (exit $ac_status); } &&
53729 { ac_try='test -z "$ac_c_werror_flag"
53730 || test ! -s conftest.err'
53731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53732 (eval $ac_try) 2>&5
53733 ac_status=$?
53734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53735 (exit $ac_status); }; } &&
53736 { ac_try='test -s conftest.$ac_objext'
53737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53738 (eval $ac_try) 2>&5
53739 ac_status=$?
53740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53741 (exit $ac_status); }; }; then
53742 ac_header_compiler=yes
53743 else
53744 echo "$as_me: failed program was:" >&5
53745 sed 's/^/| /' conftest.$ac_ext >&5
53747 ac_header_compiler=no
53749 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53750 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53751 echo "${ECHO_T}$ac_header_compiler" >&6
53753 # Is the header present?
53754 echo "$as_me:$LINENO: checking $ac_header presence" >&5
53755 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
53756 cat >conftest.$ac_ext <<_ACEOF
53757 /* confdefs.h. */
53758 _ACEOF
53759 cat confdefs.h >>conftest.$ac_ext
53760 cat >>conftest.$ac_ext <<_ACEOF
53761 /* end confdefs.h. */
53762 #include <$ac_header>
53763 _ACEOF
53764 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53765 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53766 ac_status=$?
53767 grep -v '^ *+' conftest.er1 >conftest.err
53768 rm -f conftest.er1
53769 cat conftest.err >&5
53770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53771 (exit $ac_status); } >/dev/null; then
53772 if test -s conftest.err; then
53773 ac_cpp_err=$ac_c_preproc_warn_flag
53774 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
53775 else
53776 ac_cpp_err=
53778 else
53779 ac_cpp_err=yes
53781 if test -z "$ac_cpp_err"; then
53782 ac_header_preproc=yes
53783 else
53784 echo "$as_me: failed program was:" >&5
53785 sed 's/^/| /' conftest.$ac_ext >&5
53787 ac_header_preproc=no
53789 rm -f conftest.err conftest.$ac_ext
53790 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53791 echo "${ECHO_T}$ac_header_preproc" >&6
53793 # So? What about this header?
53794 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
53795 yes:no: )
53796 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
53797 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
53798 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
53799 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
53800 ac_header_preproc=yes
53802 no:yes:* )
53803 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
53804 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
53805 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
53806 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
53807 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
53808 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
53809 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
53810 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
53811 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53812 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53813 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
53814 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
53816 cat <<\_ASBOX
53817 ## ----------------------------------------- ##
53818 ## Report this to the package-unused lists. ##
53819 ## ----------------------------------------- ##
53820 _ASBOX
53822 sed "s/^/$as_me: WARNING: /" >&2
53824 esac
53825 echo "$as_me:$LINENO: checking for $ac_header" >&5
53826 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53827 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53828 echo $ECHO_N "(cached) $ECHO_C" >&6
53829 else
53830 eval "$as_ac_Header=\$ac_header_preproc"
53832 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53833 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53836 if test `eval echo '${'$as_ac_Header'}'` = yes; then
53837 cat >>confdefs.h <<_ACEOF
53838 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
53839 _ACEOF
53843 done
53846 echo "$as_me:$LINENO: checking for writev" >&5
53847 echo $ECHO_N "checking for writev... $ECHO_C" >&6
53848 if test "${glibcxx_cv_WRITEV+set}" = set; then
53849 echo $ECHO_N "(cached) $ECHO_C" >&6
53850 else
53852 if test x$gcc_no_link = xyes; then
53853 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53854 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53855 { (exit 1); exit 1; }; }
53857 cat >conftest.$ac_ext <<_ACEOF
53858 /* confdefs.h. */
53859 _ACEOF
53860 cat confdefs.h >>conftest.$ac_ext
53861 cat >>conftest.$ac_ext <<_ACEOF
53862 /* end confdefs.h. */
53863 #include <sys/uio.h>
53865 main ()
53867 struct iovec iov[2];
53868 writev(0, iov, 0);
53870 return 0;
53872 _ACEOF
53873 rm -f conftest.$ac_objext conftest$ac_exeext
53874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53875 (eval $ac_link) 2>conftest.er1
53876 ac_status=$?
53877 grep -v '^ *+' conftest.er1 >conftest.err
53878 rm -f conftest.er1
53879 cat conftest.err >&5
53880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53881 (exit $ac_status); } &&
53882 { ac_try='test -z "$ac_c_werror_flag"
53883 || test ! -s conftest.err'
53884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53885 (eval $ac_try) 2>&5
53886 ac_status=$?
53887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53888 (exit $ac_status); }; } &&
53889 { ac_try='test -s conftest$ac_exeext'
53890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53891 (eval $ac_try) 2>&5
53892 ac_status=$?
53893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53894 (exit $ac_status); }; }; then
53895 glibcxx_cv_WRITEV=yes
53896 else
53897 echo "$as_me: failed program was:" >&5
53898 sed 's/^/| /' conftest.$ac_ext >&5
53900 glibcxx_cv_WRITEV=no
53902 rm -f conftest.err conftest.$ac_objext \
53903 conftest$ac_exeext conftest.$ac_ext
53907 if test $glibcxx_cv_WRITEV = yes; then
53909 cat >>confdefs.h <<\_ACEOF
53910 #define HAVE_WRITEV 1
53911 _ACEOF
53914 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
53915 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
53918 cat >>confdefs.h <<\_ACEOF
53919 #define HAVE_LC_MESSAGES 1
53920 _ACEOF
53923 cat >conftest.$ac_ext <<_ACEOF
53924 /* confdefs.h. */
53925 _ACEOF
53926 cat confdefs.h >>conftest.$ac_ext
53927 cat >>conftest.$ac_ext <<_ACEOF
53928 /* end confdefs.h. */
53929 #include <setjmp.h>
53931 main ()
53933 sigjmp_buf env;
53934 while (! sigsetjmp (env, 1))
53935 siglongjmp (env, 1);
53938 return 0;
53940 _ACEOF
53941 rm -f conftest.$ac_objext
53942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53943 (eval $ac_compile) 2>conftest.er1
53944 ac_status=$?
53945 grep -v '^ *+' conftest.er1 >conftest.err
53946 rm -f conftest.er1
53947 cat conftest.err >&5
53948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53949 (exit $ac_status); } &&
53950 { ac_try='test -z "$ac_c_werror_flag"
53951 || test ! -s conftest.err'
53952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53953 (eval $ac_try) 2>&5
53954 ac_status=$?
53955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53956 (exit $ac_status); }; } &&
53957 { ac_try='test -s conftest.$ac_objext'
53958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53959 (eval $ac_try) 2>&5
53960 ac_status=$?
53961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53962 (exit $ac_status); }; }; then
53964 cat >>confdefs.h <<\_ACEOF
53965 #define HAVE_SIGSETJMP 1
53966 _ACEOF
53968 else
53969 echo "$as_me: failed program was:" >&5
53970 sed 's/^/| /' conftest.$ac_ext >&5
53973 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53975 cat >>confdefs.h <<\_ACEOF
53976 #define HAVE_MMAP 1
53977 _ACEOF
53981 *djgpp)
54002 for ac_header in float.h ieeefp.h inttypes.h locale.h \
54003 memory.h stdint.h stdlib.h strings.h string.h unistd.h \
54004 wchar.h wctype.h machine/endian.h sys/ioctl.h sys/param.h \
54005 sys/resource.h sys/stat.h sys/time.h sys/types.h sys/uio.h
54007 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
54008 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54009 echo "$as_me:$LINENO: checking for $ac_header" >&5
54010 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
54011 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54012 echo $ECHO_N "(cached) $ECHO_C" >&6
54014 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
54015 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
54016 else
54017 # Is the header compilable?
54018 echo "$as_me:$LINENO: checking $ac_header usability" >&5
54019 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
54020 cat >conftest.$ac_ext <<_ACEOF
54021 /* confdefs.h. */
54022 _ACEOF
54023 cat confdefs.h >>conftest.$ac_ext
54024 cat >>conftest.$ac_ext <<_ACEOF
54025 /* end confdefs.h. */
54026 $ac_includes_default
54027 #include <$ac_header>
54028 _ACEOF
54029 rm -f conftest.$ac_objext
54030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54031 (eval $ac_compile) 2>conftest.er1
54032 ac_status=$?
54033 grep -v '^ *+' conftest.er1 >conftest.err
54034 rm -f conftest.er1
54035 cat conftest.err >&5
54036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54037 (exit $ac_status); } &&
54038 { ac_try='test -z "$ac_c_werror_flag"
54039 || test ! -s conftest.err'
54040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54041 (eval $ac_try) 2>&5
54042 ac_status=$?
54043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54044 (exit $ac_status); }; } &&
54045 { ac_try='test -s conftest.$ac_objext'
54046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54047 (eval $ac_try) 2>&5
54048 ac_status=$?
54049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54050 (exit $ac_status); }; }; then
54051 ac_header_compiler=yes
54052 else
54053 echo "$as_me: failed program was:" >&5
54054 sed 's/^/| /' conftest.$ac_ext >&5
54056 ac_header_compiler=no
54058 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54059 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
54060 echo "${ECHO_T}$ac_header_compiler" >&6
54062 # Is the header present?
54063 echo "$as_me:$LINENO: checking $ac_header presence" >&5
54064 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
54065 cat >conftest.$ac_ext <<_ACEOF
54066 /* confdefs.h. */
54067 _ACEOF
54068 cat confdefs.h >>conftest.$ac_ext
54069 cat >>conftest.$ac_ext <<_ACEOF
54070 /* end confdefs.h. */
54071 #include <$ac_header>
54072 _ACEOF
54073 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
54074 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
54075 ac_status=$?
54076 grep -v '^ *+' conftest.er1 >conftest.err
54077 rm -f conftest.er1
54078 cat conftest.err >&5
54079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54080 (exit $ac_status); } >/dev/null; then
54081 if test -s conftest.err; then
54082 ac_cpp_err=$ac_c_preproc_warn_flag
54083 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
54084 else
54085 ac_cpp_err=
54087 else
54088 ac_cpp_err=yes
54090 if test -z "$ac_cpp_err"; then
54091 ac_header_preproc=yes
54092 else
54093 echo "$as_me: failed program was:" >&5
54094 sed 's/^/| /' conftest.$ac_ext >&5
54096 ac_header_preproc=no
54098 rm -f conftest.err conftest.$ac_ext
54099 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
54100 echo "${ECHO_T}$ac_header_preproc" >&6
54102 # So? What about this header?
54103 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
54104 yes:no: )
54105 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
54106 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
54107 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
54108 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
54109 ac_header_preproc=yes
54111 no:yes:* )
54112 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
54113 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
54114 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
54115 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
54116 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
54117 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
54118 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
54119 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
54120 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
54121 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
54122 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
54123 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
54125 cat <<\_ASBOX
54126 ## ----------------------------------------- ##
54127 ## Report this to the package-unused lists. ##
54128 ## ----------------------------------------- ##
54129 _ASBOX
54131 sed "s/^/$as_me: WARNING: /" >&2
54133 esac
54134 echo "$as_me:$LINENO: checking for $ac_header" >&5
54135 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
54136 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54137 echo $ECHO_N "(cached) $ECHO_C" >&6
54138 else
54139 eval "$as_ac_Header=\$ac_header_preproc"
54141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
54142 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
54145 if test `eval echo '${'$as_ac_Header'}'` = yes; then
54146 cat >>confdefs.h <<_ACEOF
54147 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
54148 _ACEOF
54152 done
54155 # All these tests are for C++; save the language and the compiler flags.
54156 # The CXXFLAGS thing is suspicious, but based on similar bits previously
54157 # found in GLIBCXX_CONFIGURE.
54160 ac_ext=cc
54161 ac_cpp='$CXXCPP $CPPFLAGS'
54162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54166 ac_test_CXXFLAGS="${CXXFLAGS+set}"
54167 ac_save_CXXFLAGS="$CXXFLAGS"
54169 # Check for maintainer-mode bits.
54170 if test x"$USE_MAINTAINER_MODE" = xno; then
54171 WERROR=''
54172 else
54173 WERROR='-Werror'
54176 # Check for -ffunction-sections -fdata-sections
54177 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
54178 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
54179 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
54180 cat >conftest.$ac_ext <<_ACEOF
54181 /* confdefs.h. */
54182 _ACEOF
54183 cat confdefs.h >>conftest.$ac_ext
54184 cat >>conftest.$ac_ext <<_ACEOF
54185 /* end confdefs.h. */
54188 main ()
54190 int foo;
54192 return 0;
54194 _ACEOF
54195 rm -f conftest.$ac_objext
54196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54197 (eval $ac_compile) 2>conftest.er1
54198 ac_status=$?
54199 grep -v '^ *+' conftest.er1 >conftest.err
54200 rm -f conftest.er1
54201 cat conftest.err >&5
54202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54203 (exit $ac_status); } &&
54204 { ac_try='test -z "$ac_cxx_werror_flag"
54205 || test ! -s conftest.err'
54206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54207 (eval $ac_try) 2>&5
54208 ac_status=$?
54209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54210 (exit $ac_status); }; } &&
54211 { ac_try='test -s conftest.$ac_objext'
54212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54213 (eval $ac_try) 2>&5
54214 ac_status=$?
54215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54216 (exit $ac_status); }; }; then
54217 ac_fdsections=yes
54218 else
54219 echo "$as_me: failed program was:" >&5
54220 sed 's/^/| /' conftest.$ac_ext >&5
54222 ac_fdsections=no
54224 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54225 if test "$ac_test_CXXFLAGS" = set; then
54226 CXXFLAGS="$ac_save_CXXFLAGS"
54227 else
54228 # this is the suspicious part
54229 CXXFLAGS=''
54231 if test x"$ac_fdsections" = x"yes"; then
54232 SECTION_FLAGS='-ffunction-sections -fdata-sections'
54234 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
54235 echo "${ECHO_T}$ac_fdsections" >&6
54237 ac_ext=c
54238 ac_cpp='$CPP $CPPFLAGS'
54239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54247 # If we're not using GNU ld, then there's no point in even trying these
54248 # tests. Check for that first. We should have already tested for gld
54249 # by now (in libtool), but require it now just to be safe...
54250 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
54251 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
54255 # The name set by libtool depends on the version of libtool. Shame on us
54256 # for depending on an impl detail, but c'est la vie. Older versions used
54257 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
54258 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
54259 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
54260 # set (hence we're using an older libtool), then set it.
54261 if test x${with_gnu_ld+set} != xset; then
54262 if test x${ac_cv_prog_gnu_ld+set} != xset; then
54263 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
54264 with_gnu_ld=no
54265 else
54266 with_gnu_ld=$ac_cv_prog_gnu_ld
54270 # Start by getting the version number. I think the libtool test already
54271 # does some of this, but throws away the result.
54272 echo "$as_me:$LINENO: checking for ld version" >&5
54273 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
54275 ldver=`$LD --version 2>/dev/null | head -1 | \
54276 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
54278 glibcxx_gnu_ld_version=`echo $ldver | \
54279 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
54280 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
54281 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
54283 # Set --gc-sections.
54284 glibcxx_gcsections_min_ld=21602
54285 if test x"$with_gnu_ld" = x"yes" &&
54286 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
54288 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
54289 # NB: This flag only works reliably after 2.16.1. Configure tests
54290 # for this are difficult, so hard wire a value that should work.
54292 # All these tests are for C++, but run with the "C" compiler driver.
54293 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
54294 ac_test_CFLAGS="${CFLAGS+set}"
54295 ac_save_CFLAGS="$CFLAGS"
54296 CFLAGS='-x c++ -Wl,--gc-sections'
54298 # Check for -Wl,--gc-sections
54299 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
54300 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
54301 if test x$gcc_no_link = xyes; then
54302 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54303 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54304 { (exit 1); exit 1; }; }
54306 cat >conftest.$ac_ext <<_ACEOF
54307 /* confdefs.h. */
54308 _ACEOF
54309 cat confdefs.h >>conftest.$ac_ext
54310 cat >>conftest.$ac_ext <<_ACEOF
54311 /* end confdefs.h. */
54312 int one(void) { return 1; }
54313 int two(void) { return 2; }
54316 main ()
54318 two();
54320 return 0;
54322 _ACEOF
54323 rm -f conftest.$ac_objext conftest$ac_exeext
54324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54325 (eval $ac_link) 2>conftest.er1
54326 ac_status=$?
54327 grep -v '^ *+' conftest.er1 >conftest.err
54328 rm -f conftest.er1
54329 cat conftest.err >&5
54330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54331 (exit $ac_status); } &&
54332 { ac_try='test -z "$ac_c_werror_flag"
54333 || test ! -s conftest.err'
54334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54335 (eval $ac_try) 2>&5
54336 ac_status=$?
54337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54338 (exit $ac_status); }; } &&
54339 { ac_try='test -s conftest$ac_exeext'
54340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54341 (eval $ac_try) 2>&5
54342 ac_status=$?
54343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54344 (exit $ac_status); }; }; then
54345 ac_gcsections=yes
54346 else
54347 echo "$as_me: failed program was:" >&5
54348 sed 's/^/| /' conftest.$ac_ext >&5
54350 ac_gcsections=no
54352 rm -f conftest.err conftest.$ac_objext \
54353 conftest$ac_exeext conftest.$ac_ext
54354 if test "$ac_gcsections" = "yes"; then
54355 rm -f conftest.c
54356 touch conftest.c
54357 if $CC -c conftest.c; then
54358 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
54359 grep "Warning: gc-sections option ignored" > /dev/null; then
54360 ac_gcsections=no
54363 rm -f conftest.c conftest.o conftest
54365 if test "$ac_gcsections" = "yes"; then
54366 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
54368 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
54369 echo "${ECHO_T}$ac_gcsections" >&6
54371 if test "$ac_test_CFLAGS" = set; then
54372 CFLAGS="$ac_save_CFLAGS"
54373 else
54374 # this is the suspicious part
54375 CFLAGS=''
54379 # Set -z,relro.
54380 # Note this is only for shared objects.
54381 ac_ld_relro=no
54382 if test x"$with_gnu_ld" = x"yes"; then
54383 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
54384 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
54385 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
54386 if test -n "$cxx_z_relo"; then
54387 OPT_LDFLAGS="-Wl,-z,relro"
54388 ac_ld_relro=yes
54390 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
54391 echo "${ECHO_T}$ac_ld_relro" >&6
54394 # Set linker optimization flags.
54395 if test x"$with_gnu_ld" = x"yes"; then
54396 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
54403 ac_test_CXXFLAGS="${CXXFLAGS+set}"
54404 ac_save_CXXFLAGS="$CXXFLAGS"
54405 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
54407 echo "$as_me:$LINENO: checking for sin in -lm" >&5
54408 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
54409 if test "${ac_cv_lib_m_sin+set}" = set; then
54410 echo $ECHO_N "(cached) $ECHO_C" >&6
54411 else
54412 ac_check_lib_save_LIBS=$LIBS
54413 LIBS="-lm $LIBS"
54414 if test x$gcc_no_link = xyes; then
54415 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54416 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54417 { (exit 1); exit 1; }; }
54419 cat >conftest.$ac_ext <<_ACEOF
54420 /* confdefs.h. */
54421 _ACEOF
54422 cat confdefs.h >>conftest.$ac_ext
54423 cat >>conftest.$ac_ext <<_ACEOF
54424 /* end confdefs.h. */
54426 /* Override any gcc2 internal prototype to avoid an error. */
54427 #ifdef __cplusplus
54428 extern "C"
54429 #endif
54430 /* We use char because int might match the return type of a gcc2
54431 builtin and then its argument prototype would still apply. */
54432 char sin ();
54434 main ()
54436 sin ();
54438 return 0;
54440 _ACEOF
54441 rm -f conftest.$ac_objext conftest$ac_exeext
54442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54443 (eval $ac_link) 2>conftest.er1
54444 ac_status=$?
54445 grep -v '^ *+' conftest.er1 >conftest.err
54446 rm -f conftest.er1
54447 cat conftest.err >&5
54448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54449 (exit $ac_status); } &&
54450 { ac_try='test -z "$ac_c_werror_flag"
54451 || test ! -s conftest.err'
54452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54453 (eval $ac_try) 2>&5
54454 ac_status=$?
54455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54456 (exit $ac_status); }; } &&
54457 { ac_try='test -s conftest$ac_exeext'
54458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54459 (eval $ac_try) 2>&5
54460 ac_status=$?
54461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54462 (exit $ac_status); }; }; then
54463 ac_cv_lib_m_sin=yes
54464 else
54465 echo "$as_me: failed program was:" >&5
54466 sed 's/^/| /' conftest.$ac_ext >&5
54468 ac_cv_lib_m_sin=no
54470 rm -f conftest.err conftest.$ac_objext \
54471 conftest$ac_exeext conftest.$ac_ext
54472 LIBS=$ac_check_lib_save_LIBS
54474 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
54475 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
54476 if test $ac_cv_lib_m_sin = yes; then
54477 libm="-lm"
54480 ac_save_LIBS="$LIBS"
54481 LIBS="$LIBS $libm"
54485 echo "$as_me:$LINENO: checking for isinf declaration" >&5
54486 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
54487 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
54488 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
54489 echo $ECHO_N "(cached) $ECHO_C" >&6
54490 else
54494 ac_ext=cc
54495 ac_cpp='$CXXCPP $CPPFLAGS'
54496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54500 cat >conftest.$ac_ext <<_ACEOF
54501 /* confdefs.h. */
54502 _ACEOF
54503 cat confdefs.h >>conftest.$ac_ext
54504 cat >>conftest.$ac_ext <<_ACEOF
54505 /* end confdefs.h. */
54506 #include <math.h>
54507 #ifdef HAVE_IEEEFP_H
54508 #include <ieeefp.h>
54509 #endif
54512 main ()
54514 isinf(0);
54516 return 0;
54518 _ACEOF
54519 rm -f conftest.$ac_objext
54520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54521 (eval $ac_compile) 2>conftest.er1
54522 ac_status=$?
54523 grep -v '^ *+' conftest.er1 >conftest.err
54524 rm -f conftest.er1
54525 cat conftest.err >&5
54526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54527 (exit $ac_status); } &&
54528 { ac_try='test -z "$ac_cxx_werror_flag"
54529 || test ! -s conftest.err'
54530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54531 (eval $ac_try) 2>&5
54532 ac_status=$?
54533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54534 (exit $ac_status); }; } &&
54535 { ac_try='test -s conftest.$ac_objext'
54536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54537 (eval $ac_try) 2>&5
54538 ac_status=$?
54539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54540 (exit $ac_status); }; }; then
54541 glibcxx_cv_func_isinf_use=yes
54542 else
54543 echo "$as_me: failed program was:" >&5
54544 sed 's/^/| /' conftest.$ac_ext >&5
54546 glibcxx_cv_func_isinf_use=no
54548 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54549 ac_ext=c
54550 ac_cpp='$CPP $CPPFLAGS'
54551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54559 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
54560 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
54562 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
54564 for ac_func in isinf
54566 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54567 echo "$as_me:$LINENO: checking for $ac_func" >&5
54568 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54569 if eval "test \"\${$as_ac_var+set}\" = set"; then
54570 echo $ECHO_N "(cached) $ECHO_C" >&6
54571 else
54572 if test x$gcc_no_link = xyes; then
54573 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54574 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54575 { (exit 1); exit 1; }; }
54577 cat >conftest.$ac_ext <<_ACEOF
54578 /* confdefs.h. */
54579 _ACEOF
54580 cat confdefs.h >>conftest.$ac_ext
54581 cat >>conftest.$ac_ext <<_ACEOF
54582 /* end confdefs.h. */
54583 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54584 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54585 #define $ac_func innocuous_$ac_func
54587 /* System header to define __stub macros and hopefully few prototypes,
54588 which can conflict with char $ac_func (); below.
54589 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54590 <limits.h> exists even on freestanding compilers. */
54592 #ifdef __STDC__
54593 # include <limits.h>
54594 #else
54595 # include <assert.h>
54596 #endif
54598 #undef $ac_func
54600 /* Override any gcc2 internal prototype to avoid an error. */
54601 #ifdef __cplusplus
54602 extern "C"
54604 #endif
54605 /* We use char because int might match the return type of a gcc2
54606 builtin and then its argument prototype would still apply. */
54607 char $ac_func ();
54608 /* The GNU C library defines this for functions which it implements
54609 to always fail with ENOSYS. Some functions are actually named
54610 something starting with __ and the normal name is an alias. */
54611 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54612 choke me
54613 #else
54614 char (*f) () = $ac_func;
54615 #endif
54616 #ifdef __cplusplus
54618 #endif
54621 main ()
54623 return f != $ac_func;
54625 return 0;
54627 _ACEOF
54628 rm -f conftest.$ac_objext conftest$ac_exeext
54629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54630 (eval $ac_link) 2>conftest.er1
54631 ac_status=$?
54632 grep -v '^ *+' conftest.er1 >conftest.err
54633 rm -f conftest.er1
54634 cat conftest.err >&5
54635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54636 (exit $ac_status); } &&
54637 { ac_try='test -z "$ac_c_werror_flag"
54638 || test ! -s conftest.err'
54639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54640 (eval $ac_try) 2>&5
54641 ac_status=$?
54642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54643 (exit $ac_status); }; } &&
54644 { ac_try='test -s conftest$ac_exeext'
54645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54646 (eval $ac_try) 2>&5
54647 ac_status=$?
54648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54649 (exit $ac_status); }; }; then
54650 eval "$as_ac_var=yes"
54651 else
54652 echo "$as_me: failed program was:" >&5
54653 sed 's/^/| /' conftest.$ac_ext >&5
54655 eval "$as_ac_var=no"
54657 rm -f conftest.err conftest.$ac_objext \
54658 conftest$ac_exeext conftest.$ac_ext
54660 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54661 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54662 if test `eval echo '${'$as_ac_var'}'` = yes; then
54663 cat >>confdefs.h <<_ACEOF
54664 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54665 _ACEOF
54668 done
54670 else
54672 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
54673 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
54674 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
54675 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
54676 echo $ECHO_N "(cached) $ECHO_C" >&6
54677 else
54681 ac_ext=cc
54682 ac_cpp='$CXXCPP $CPPFLAGS'
54683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54687 cat >conftest.$ac_ext <<_ACEOF
54688 /* confdefs.h. */
54689 _ACEOF
54690 cat confdefs.h >>conftest.$ac_ext
54691 cat >>conftest.$ac_ext <<_ACEOF
54692 /* end confdefs.h. */
54693 #include <math.h>
54694 #ifdef HAVE_IEEEFP_H
54695 #include <ieeefp.h>
54696 #endif
54699 main ()
54701 _isinf(0);
54703 return 0;
54705 _ACEOF
54706 rm -f conftest.$ac_objext
54707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54708 (eval $ac_compile) 2>conftest.er1
54709 ac_status=$?
54710 grep -v '^ *+' conftest.er1 >conftest.err
54711 rm -f conftest.er1
54712 cat conftest.err >&5
54713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54714 (exit $ac_status); } &&
54715 { ac_try='test -z "$ac_cxx_werror_flag"
54716 || test ! -s conftest.err'
54717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54718 (eval $ac_try) 2>&5
54719 ac_status=$?
54720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54721 (exit $ac_status); }; } &&
54722 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
54728 glibcxx_cv_func__isinf_use=yes
54729 else
54730 echo "$as_me: failed program was:" >&5
54731 sed 's/^/| /' conftest.$ac_ext >&5
54733 glibcxx_cv_func__isinf_use=no
54735 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54736 ac_ext=c
54737 ac_cpp='$CPP $CPPFLAGS'
54738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54746 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
54747 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
54749 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
54751 for ac_func in _isinf
54753 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54754 echo "$as_me:$LINENO: checking for $ac_func" >&5
54755 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54756 if eval "test \"\${$as_ac_var+set}\" = set"; then
54757 echo $ECHO_N "(cached) $ECHO_C" >&6
54758 else
54759 if test x$gcc_no_link = xyes; then
54760 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54761 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54762 { (exit 1); exit 1; }; }
54764 cat >conftest.$ac_ext <<_ACEOF
54765 /* confdefs.h. */
54766 _ACEOF
54767 cat confdefs.h >>conftest.$ac_ext
54768 cat >>conftest.$ac_ext <<_ACEOF
54769 /* end confdefs.h. */
54770 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54771 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54772 #define $ac_func innocuous_$ac_func
54774 /* System header to define __stub macros and hopefully few prototypes,
54775 which can conflict with char $ac_func (); below.
54776 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54777 <limits.h> exists even on freestanding compilers. */
54779 #ifdef __STDC__
54780 # include <limits.h>
54781 #else
54782 # include <assert.h>
54783 #endif
54785 #undef $ac_func
54787 /* Override any gcc2 internal prototype to avoid an error. */
54788 #ifdef __cplusplus
54789 extern "C"
54791 #endif
54792 /* We use char because int might match the return type of a gcc2
54793 builtin and then its argument prototype would still apply. */
54794 char $ac_func ();
54795 /* The GNU C library defines this for functions which it implements
54796 to always fail with ENOSYS. Some functions are actually named
54797 something starting with __ and the normal name is an alias. */
54798 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54799 choke me
54800 #else
54801 char (*f) () = $ac_func;
54802 #endif
54803 #ifdef __cplusplus
54805 #endif
54808 main ()
54810 return f != $ac_func;
54812 return 0;
54814 _ACEOF
54815 rm -f conftest.$ac_objext conftest$ac_exeext
54816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54817 (eval $ac_link) 2>conftest.er1
54818 ac_status=$?
54819 grep -v '^ *+' conftest.er1 >conftest.err
54820 rm -f conftest.er1
54821 cat conftest.err >&5
54822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54823 (exit $ac_status); } &&
54824 { ac_try='test -z "$ac_c_werror_flag"
54825 || test ! -s conftest.err'
54826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54827 (eval $ac_try) 2>&5
54828 ac_status=$?
54829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54830 (exit $ac_status); }; } &&
54831 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
54837 eval "$as_ac_var=yes"
54838 else
54839 echo "$as_me: failed program was:" >&5
54840 sed 's/^/| /' conftest.$ac_ext >&5
54842 eval "$as_ac_var=no"
54844 rm -f conftest.err conftest.$ac_objext \
54845 conftest$ac_exeext conftest.$ac_ext
54847 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54848 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54849 if test `eval echo '${'$as_ac_var'}'` = yes; then
54850 cat >>confdefs.h <<_ACEOF
54851 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54852 _ACEOF
54855 done
54865 echo "$as_me:$LINENO: checking for isnan declaration" >&5
54866 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
54867 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
54868 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
54869 echo $ECHO_N "(cached) $ECHO_C" >&6
54870 else
54874 ac_ext=cc
54875 ac_cpp='$CXXCPP $CPPFLAGS'
54876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54880 cat >conftest.$ac_ext <<_ACEOF
54881 /* confdefs.h. */
54882 _ACEOF
54883 cat confdefs.h >>conftest.$ac_ext
54884 cat >>conftest.$ac_ext <<_ACEOF
54885 /* end confdefs.h. */
54886 #include <math.h>
54887 #ifdef HAVE_IEEEFP_H
54888 #include <ieeefp.h>
54889 #endif
54892 main ()
54894 isnan(0);
54896 return 0;
54898 _ACEOF
54899 rm -f conftest.$ac_objext
54900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54901 (eval $ac_compile) 2>conftest.er1
54902 ac_status=$?
54903 grep -v '^ *+' conftest.er1 >conftest.err
54904 rm -f conftest.er1
54905 cat conftest.err >&5
54906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54907 (exit $ac_status); } &&
54908 { ac_try='test -z "$ac_cxx_werror_flag"
54909 || test ! -s conftest.err'
54910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54911 (eval $ac_try) 2>&5
54912 ac_status=$?
54913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54914 (exit $ac_status); }; } &&
54915 { ac_try='test -s conftest.$ac_objext'
54916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54917 (eval $ac_try) 2>&5
54918 ac_status=$?
54919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54920 (exit $ac_status); }; }; then
54921 glibcxx_cv_func_isnan_use=yes
54922 else
54923 echo "$as_me: failed program was:" >&5
54924 sed 's/^/| /' conftest.$ac_ext >&5
54926 glibcxx_cv_func_isnan_use=no
54928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54929 ac_ext=c
54930 ac_cpp='$CPP $CPPFLAGS'
54931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54939 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
54940 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
54942 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
54944 for ac_func in isnan
54946 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54947 echo "$as_me:$LINENO: checking for $ac_func" >&5
54948 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54949 if eval "test \"\${$as_ac_var+set}\" = set"; then
54950 echo $ECHO_N "(cached) $ECHO_C" >&6
54951 else
54952 if test x$gcc_no_link = xyes; then
54953 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54954 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54955 { (exit 1); exit 1; }; }
54957 cat >conftest.$ac_ext <<_ACEOF
54958 /* confdefs.h. */
54959 _ACEOF
54960 cat confdefs.h >>conftest.$ac_ext
54961 cat >>conftest.$ac_ext <<_ACEOF
54962 /* end confdefs.h. */
54963 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54964 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54965 #define $ac_func innocuous_$ac_func
54967 /* System header to define __stub macros and hopefully few prototypes,
54968 which can conflict with char $ac_func (); below.
54969 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54970 <limits.h> exists even on freestanding compilers. */
54972 #ifdef __STDC__
54973 # include <limits.h>
54974 #else
54975 # include <assert.h>
54976 #endif
54978 #undef $ac_func
54980 /* Override any gcc2 internal prototype to avoid an error. */
54981 #ifdef __cplusplus
54982 extern "C"
54984 #endif
54985 /* We use char because int might match the return type of a gcc2
54986 builtin and then its argument prototype would still apply. */
54987 char $ac_func ();
54988 /* The GNU C library defines this for functions which it implements
54989 to always fail with ENOSYS. Some functions are actually named
54990 something starting with __ and the normal name is an alias. */
54991 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54992 choke me
54993 #else
54994 char (*f) () = $ac_func;
54995 #endif
54996 #ifdef __cplusplus
54998 #endif
55001 main ()
55003 return f != $ac_func;
55005 return 0;
55007 _ACEOF
55008 rm -f conftest.$ac_objext conftest$ac_exeext
55009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55010 (eval $ac_link) 2>conftest.er1
55011 ac_status=$?
55012 grep -v '^ *+' conftest.er1 >conftest.err
55013 rm -f conftest.er1
55014 cat conftest.err >&5
55015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55016 (exit $ac_status); } &&
55017 { ac_try='test -z "$ac_c_werror_flag"
55018 || test ! -s conftest.err'
55019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55020 (eval $ac_try) 2>&5
55021 ac_status=$?
55022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55023 (exit $ac_status); }; } &&
55024 { ac_try='test -s conftest$ac_exeext'
55025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55026 (eval $ac_try) 2>&5
55027 ac_status=$?
55028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55029 (exit $ac_status); }; }; then
55030 eval "$as_ac_var=yes"
55031 else
55032 echo "$as_me: failed program was:" >&5
55033 sed 's/^/| /' conftest.$ac_ext >&5
55035 eval "$as_ac_var=no"
55037 rm -f conftest.err conftest.$ac_objext \
55038 conftest$ac_exeext conftest.$ac_ext
55040 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55041 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55042 if test `eval echo '${'$as_ac_var'}'` = yes; then
55043 cat >>confdefs.h <<_ACEOF
55044 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55045 _ACEOF
55048 done
55050 else
55052 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
55053 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
55054 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
55055 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
55056 echo $ECHO_N "(cached) $ECHO_C" >&6
55057 else
55061 ac_ext=cc
55062 ac_cpp='$CXXCPP $CPPFLAGS'
55063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55067 cat >conftest.$ac_ext <<_ACEOF
55068 /* confdefs.h. */
55069 _ACEOF
55070 cat confdefs.h >>conftest.$ac_ext
55071 cat >>conftest.$ac_ext <<_ACEOF
55072 /* end confdefs.h. */
55073 #include <math.h>
55074 #ifdef HAVE_IEEEFP_H
55075 #include <ieeefp.h>
55076 #endif
55079 main ()
55081 _isnan(0);
55083 return 0;
55085 _ACEOF
55086 rm -f conftest.$ac_objext
55087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55088 (eval $ac_compile) 2>conftest.er1
55089 ac_status=$?
55090 grep -v '^ *+' conftest.er1 >conftest.err
55091 rm -f conftest.er1
55092 cat conftest.err >&5
55093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55094 (exit $ac_status); } &&
55095 { ac_try='test -z "$ac_cxx_werror_flag"
55096 || test ! -s conftest.err'
55097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55098 (eval $ac_try) 2>&5
55099 ac_status=$?
55100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55101 (exit $ac_status); }; } &&
55102 { ac_try='test -s conftest.$ac_objext'
55103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55104 (eval $ac_try) 2>&5
55105 ac_status=$?
55106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55107 (exit $ac_status); }; }; then
55108 glibcxx_cv_func__isnan_use=yes
55109 else
55110 echo "$as_me: failed program was:" >&5
55111 sed 's/^/| /' conftest.$ac_ext >&5
55113 glibcxx_cv_func__isnan_use=no
55115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55116 ac_ext=c
55117 ac_cpp='$CPP $CPPFLAGS'
55118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55126 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
55127 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
55129 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
55131 for ac_func in _isnan
55133 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55134 echo "$as_me:$LINENO: checking for $ac_func" >&5
55135 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55136 if eval "test \"\${$as_ac_var+set}\" = set"; then
55137 echo $ECHO_N "(cached) $ECHO_C" >&6
55138 else
55139 if test x$gcc_no_link = xyes; then
55140 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55141 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55142 { (exit 1); exit 1; }; }
55144 cat >conftest.$ac_ext <<_ACEOF
55145 /* confdefs.h. */
55146 _ACEOF
55147 cat confdefs.h >>conftest.$ac_ext
55148 cat >>conftest.$ac_ext <<_ACEOF
55149 /* end confdefs.h. */
55150 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55151 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55152 #define $ac_func innocuous_$ac_func
55154 /* System header to define __stub macros and hopefully few prototypes,
55155 which can conflict with char $ac_func (); below.
55156 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55157 <limits.h> exists even on freestanding compilers. */
55159 #ifdef __STDC__
55160 # include <limits.h>
55161 #else
55162 # include <assert.h>
55163 #endif
55165 #undef $ac_func
55167 /* Override any gcc2 internal prototype to avoid an error. */
55168 #ifdef __cplusplus
55169 extern "C"
55171 #endif
55172 /* We use char because int might match the return type of a gcc2
55173 builtin and then its argument prototype would still apply. */
55174 char $ac_func ();
55175 /* The GNU C library defines this for functions which it implements
55176 to always fail with ENOSYS. Some functions are actually named
55177 something starting with __ and the normal name is an alias. */
55178 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55179 choke me
55180 #else
55181 char (*f) () = $ac_func;
55182 #endif
55183 #ifdef __cplusplus
55185 #endif
55188 main ()
55190 return f != $ac_func;
55192 return 0;
55194 _ACEOF
55195 rm -f conftest.$ac_objext conftest$ac_exeext
55196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55197 (eval $ac_link) 2>conftest.er1
55198 ac_status=$?
55199 grep -v '^ *+' conftest.er1 >conftest.err
55200 rm -f conftest.er1
55201 cat conftest.err >&5
55202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55203 (exit $ac_status); } &&
55204 { ac_try='test -z "$ac_c_werror_flag"
55205 || test ! -s conftest.err'
55206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55207 (eval $ac_try) 2>&5
55208 ac_status=$?
55209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55210 (exit $ac_status); }; } &&
55211 { ac_try='test -s conftest$ac_exeext'
55212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55213 (eval $ac_try) 2>&5
55214 ac_status=$?
55215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55216 (exit $ac_status); }; }; then
55217 eval "$as_ac_var=yes"
55218 else
55219 echo "$as_me: failed program was:" >&5
55220 sed 's/^/| /' conftest.$ac_ext >&5
55222 eval "$as_ac_var=no"
55224 rm -f conftest.err conftest.$ac_objext \
55225 conftest$ac_exeext conftest.$ac_ext
55227 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55228 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55229 if test `eval echo '${'$as_ac_var'}'` = yes; then
55230 cat >>confdefs.h <<_ACEOF
55231 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55232 _ACEOF
55235 done
55245 echo "$as_me:$LINENO: checking for finite declaration" >&5
55246 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
55247 if test x${glibcxx_cv_func_finite_use+set} != xset; then
55248 if test "${glibcxx_cv_func_finite_use+set}" = set; then
55249 echo $ECHO_N "(cached) $ECHO_C" >&6
55250 else
55254 ac_ext=cc
55255 ac_cpp='$CXXCPP $CPPFLAGS'
55256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55260 cat >conftest.$ac_ext <<_ACEOF
55261 /* confdefs.h. */
55262 _ACEOF
55263 cat confdefs.h >>conftest.$ac_ext
55264 cat >>conftest.$ac_ext <<_ACEOF
55265 /* end confdefs.h. */
55266 #include <math.h>
55267 #ifdef HAVE_IEEEFP_H
55268 #include <ieeefp.h>
55269 #endif
55272 main ()
55274 finite(0);
55276 return 0;
55278 _ACEOF
55279 rm -f conftest.$ac_objext
55280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55281 (eval $ac_compile) 2>conftest.er1
55282 ac_status=$?
55283 grep -v '^ *+' conftest.er1 >conftest.err
55284 rm -f conftest.er1
55285 cat conftest.err >&5
55286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55287 (exit $ac_status); } &&
55288 { ac_try='test -z "$ac_cxx_werror_flag"
55289 || test ! -s conftest.err'
55290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55291 (eval $ac_try) 2>&5
55292 ac_status=$?
55293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55294 (exit $ac_status); }; } &&
55295 { ac_try='test -s conftest.$ac_objext'
55296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55297 (eval $ac_try) 2>&5
55298 ac_status=$?
55299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55300 (exit $ac_status); }; }; then
55301 glibcxx_cv_func_finite_use=yes
55302 else
55303 echo "$as_me: failed program was:" >&5
55304 sed 's/^/| /' conftest.$ac_ext >&5
55306 glibcxx_cv_func_finite_use=no
55308 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55309 ac_ext=c
55310 ac_cpp='$CPP $CPPFLAGS'
55311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55319 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
55320 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
55322 if test x$glibcxx_cv_func_finite_use = x"yes"; then
55324 for ac_func in finite
55326 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55327 echo "$as_me:$LINENO: checking for $ac_func" >&5
55328 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55329 if eval "test \"\${$as_ac_var+set}\" = set"; then
55330 echo $ECHO_N "(cached) $ECHO_C" >&6
55331 else
55332 if test x$gcc_no_link = xyes; then
55333 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55334 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55335 { (exit 1); exit 1; }; }
55337 cat >conftest.$ac_ext <<_ACEOF
55338 /* confdefs.h. */
55339 _ACEOF
55340 cat confdefs.h >>conftest.$ac_ext
55341 cat >>conftest.$ac_ext <<_ACEOF
55342 /* end confdefs.h. */
55343 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55344 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55345 #define $ac_func innocuous_$ac_func
55347 /* System header to define __stub macros and hopefully few prototypes,
55348 which can conflict with char $ac_func (); below.
55349 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55350 <limits.h> exists even on freestanding compilers. */
55352 #ifdef __STDC__
55353 # include <limits.h>
55354 #else
55355 # include <assert.h>
55356 #endif
55358 #undef $ac_func
55360 /* Override any gcc2 internal prototype to avoid an error. */
55361 #ifdef __cplusplus
55362 extern "C"
55364 #endif
55365 /* We use char because int might match the return type of a gcc2
55366 builtin and then its argument prototype would still apply. */
55367 char $ac_func ();
55368 /* The GNU C library defines this for functions which it implements
55369 to always fail with ENOSYS. Some functions are actually named
55370 something starting with __ and the normal name is an alias. */
55371 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55372 choke me
55373 #else
55374 char (*f) () = $ac_func;
55375 #endif
55376 #ifdef __cplusplus
55378 #endif
55381 main ()
55383 return f != $ac_func;
55385 return 0;
55387 _ACEOF
55388 rm -f conftest.$ac_objext conftest$ac_exeext
55389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55390 (eval $ac_link) 2>conftest.er1
55391 ac_status=$?
55392 grep -v '^ *+' conftest.er1 >conftest.err
55393 rm -f conftest.er1
55394 cat conftest.err >&5
55395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55396 (exit $ac_status); } &&
55397 { ac_try='test -z "$ac_c_werror_flag"
55398 || test ! -s conftest.err'
55399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55400 (eval $ac_try) 2>&5
55401 ac_status=$?
55402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55403 (exit $ac_status); }; } &&
55404 { ac_try='test -s conftest$ac_exeext'
55405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55406 (eval $ac_try) 2>&5
55407 ac_status=$?
55408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55409 (exit $ac_status); }; }; then
55410 eval "$as_ac_var=yes"
55411 else
55412 echo "$as_me: failed program was:" >&5
55413 sed 's/^/| /' conftest.$ac_ext >&5
55415 eval "$as_ac_var=no"
55417 rm -f conftest.err conftest.$ac_objext \
55418 conftest$ac_exeext conftest.$ac_ext
55420 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55421 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55422 if test `eval echo '${'$as_ac_var'}'` = yes; then
55423 cat >>confdefs.h <<_ACEOF
55424 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55425 _ACEOF
55428 done
55430 else
55432 echo "$as_me:$LINENO: checking for _finite declaration" >&5
55433 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
55434 if test x${glibcxx_cv_func__finite_use+set} != xset; then
55435 if test "${glibcxx_cv_func__finite_use+set}" = set; then
55436 echo $ECHO_N "(cached) $ECHO_C" >&6
55437 else
55441 ac_ext=cc
55442 ac_cpp='$CXXCPP $CPPFLAGS'
55443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55447 cat >conftest.$ac_ext <<_ACEOF
55448 /* confdefs.h. */
55449 _ACEOF
55450 cat confdefs.h >>conftest.$ac_ext
55451 cat >>conftest.$ac_ext <<_ACEOF
55452 /* end confdefs.h. */
55453 #include <math.h>
55454 #ifdef HAVE_IEEEFP_H
55455 #include <ieeefp.h>
55456 #endif
55459 main ()
55461 _finite(0);
55463 return 0;
55465 _ACEOF
55466 rm -f conftest.$ac_objext
55467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55468 (eval $ac_compile) 2>conftest.er1
55469 ac_status=$?
55470 grep -v '^ *+' conftest.er1 >conftest.err
55471 rm -f conftest.er1
55472 cat conftest.err >&5
55473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55474 (exit $ac_status); } &&
55475 { ac_try='test -z "$ac_cxx_werror_flag"
55476 || test ! -s conftest.err'
55477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55478 (eval $ac_try) 2>&5
55479 ac_status=$?
55480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55481 (exit $ac_status); }; } &&
55482 { ac_try='test -s conftest.$ac_objext'
55483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55484 (eval $ac_try) 2>&5
55485 ac_status=$?
55486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55487 (exit $ac_status); }; }; then
55488 glibcxx_cv_func__finite_use=yes
55489 else
55490 echo "$as_me: failed program was:" >&5
55491 sed 's/^/| /' conftest.$ac_ext >&5
55493 glibcxx_cv_func__finite_use=no
55495 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55496 ac_ext=c
55497 ac_cpp='$CPP $CPPFLAGS'
55498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55506 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
55507 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
55509 if test x$glibcxx_cv_func__finite_use = x"yes"; then
55511 for ac_func in _finite
55513 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55514 echo "$as_me:$LINENO: checking for $ac_func" >&5
55515 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55516 if eval "test \"\${$as_ac_var+set}\" = set"; then
55517 echo $ECHO_N "(cached) $ECHO_C" >&6
55518 else
55519 if test x$gcc_no_link = xyes; then
55520 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55521 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55522 { (exit 1); exit 1; }; }
55524 cat >conftest.$ac_ext <<_ACEOF
55525 /* confdefs.h. */
55526 _ACEOF
55527 cat confdefs.h >>conftest.$ac_ext
55528 cat >>conftest.$ac_ext <<_ACEOF
55529 /* end confdefs.h. */
55530 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55531 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55532 #define $ac_func innocuous_$ac_func
55534 /* System header to define __stub macros and hopefully few prototypes,
55535 which can conflict with char $ac_func (); below.
55536 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55537 <limits.h> exists even on freestanding compilers. */
55539 #ifdef __STDC__
55540 # include <limits.h>
55541 #else
55542 # include <assert.h>
55543 #endif
55545 #undef $ac_func
55547 /* Override any gcc2 internal prototype to avoid an error. */
55548 #ifdef __cplusplus
55549 extern "C"
55551 #endif
55552 /* We use char because int might match the return type of a gcc2
55553 builtin and then its argument prototype would still apply. */
55554 char $ac_func ();
55555 /* The GNU C library defines this for functions which it implements
55556 to always fail with ENOSYS. Some functions are actually named
55557 something starting with __ and the normal name is an alias. */
55558 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55559 choke me
55560 #else
55561 char (*f) () = $ac_func;
55562 #endif
55563 #ifdef __cplusplus
55565 #endif
55568 main ()
55570 return f != $ac_func;
55572 return 0;
55574 _ACEOF
55575 rm -f conftest.$ac_objext conftest$ac_exeext
55576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55577 (eval $ac_link) 2>conftest.er1
55578 ac_status=$?
55579 grep -v '^ *+' conftest.er1 >conftest.err
55580 rm -f conftest.er1
55581 cat conftest.err >&5
55582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55583 (exit $ac_status); } &&
55584 { ac_try='test -z "$ac_c_werror_flag"
55585 || test ! -s conftest.err'
55586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55587 (eval $ac_try) 2>&5
55588 ac_status=$?
55589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55590 (exit $ac_status); }; } &&
55591 { ac_try='test -s conftest$ac_exeext'
55592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55593 (eval $ac_try) 2>&5
55594 ac_status=$?
55595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55596 (exit $ac_status); }; }; then
55597 eval "$as_ac_var=yes"
55598 else
55599 echo "$as_me: failed program was:" >&5
55600 sed 's/^/| /' conftest.$ac_ext >&5
55602 eval "$as_ac_var=no"
55604 rm -f conftest.err conftest.$ac_objext \
55605 conftest$ac_exeext conftest.$ac_ext
55607 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55608 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55609 if test `eval echo '${'$as_ac_var'}'` = yes; then
55610 cat >>confdefs.h <<_ACEOF
55611 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55612 _ACEOF
55615 done
55625 echo "$as_me:$LINENO: checking for copysign declaration" >&5
55626 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
55627 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
55628 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
55629 echo $ECHO_N "(cached) $ECHO_C" >&6
55630 else
55634 ac_ext=cc
55635 ac_cpp='$CXXCPP $CPPFLAGS'
55636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55640 cat >conftest.$ac_ext <<_ACEOF
55641 /* confdefs.h. */
55642 _ACEOF
55643 cat confdefs.h >>conftest.$ac_ext
55644 cat >>conftest.$ac_ext <<_ACEOF
55645 /* end confdefs.h. */
55646 #include <math.h>
55648 main ()
55650 copysign(0, 0);
55652 return 0;
55654 _ACEOF
55655 rm -f conftest.$ac_objext
55656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55657 (eval $ac_compile) 2>conftest.er1
55658 ac_status=$?
55659 grep -v '^ *+' conftest.er1 >conftest.err
55660 rm -f conftest.er1
55661 cat conftest.err >&5
55662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55663 (exit $ac_status); } &&
55664 { ac_try='test -z "$ac_cxx_werror_flag"
55665 || test ! -s conftest.err'
55666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55667 (eval $ac_try) 2>&5
55668 ac_status=$?
55669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55670 (exit $ac_status); }; } &&
55671 { ac_try='test -s conftest.$ac_objext'
55672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55673 (eval $ac_try) 2>&5
55674 ac_status=$?
55675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55676 (exit $ac_status); }; }; then
55677 glibcxx_cv_func_copysign_use=yes
55678 else
55679 echo "$as_me: failed program was:" >&5
55680 sed 's/^/| /' conftest.$ac_ext >&5
55682 glibcxx_cv_func_copysign_use=no
55684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55685 ac_ext=c
55686 ac_cpp='$CPP $CPPFLAGS'
55687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55695 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
55696 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
55698 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
55700 for ac_func in copysign
55702 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55703 echo "$as_me:$LINENO: checking for $ac_func" >&5
55704 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55705 if eval "test \"\${$as_ac_var+set}\" = set"; then
55706 echo $ECHO_N "(cached) $ECHO_C" >&6
55707 else
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55720 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55721 #define $ac_func innocuous_$ac_func
55723 /* System header to define __stub macros and hopefully few prototypes,
55724 which can conflict with char $ac_func (); below.
55725 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55726 <limits.h> exists even on freestanding compilers. */
55728 #ifdef __STDC__
55729 # include <limits.h>
55730 #else
55731 # include <assert.h>
55732 #endif
55734 #undef $ac_func
55736 /* Override any gcc2 internal prototype to avoid an error. */
55737 #ifdef __cplusplus
55738 extern "C"
55740 #endif
55741 /* We use char because int might match the return type of a gcc2
55742 builtin and then its argument prototype would still apply. */
55743 char $ac_func ();
55744 /* The GNU C library defines this for functions which it implements
55745 to always fail with ENOSYS. Some functions are actually named
55746 something starting with __ and the normal name is an alias. */
55747 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55748 choke me
55749 #else
55750 char (*f) () = $ac_func;
55751 #endif
55752 #ifdef __cplusplus
55754 #endif
55757 main ()
55759 return f != $ac_func;
55761 return 0;
55763 _ACEOF
55764 rm -f conftest.$ac_objext conftest$ac_exeext
55765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55766 (eval $ac_link) 2>conftest.er1
55767 ac_status=$?
55768 grep -v '^ *+' conftest.er1 >conftest.err
55769 rm -f conftest.er1
55770 cat conftest.err >&5
55771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55772 (exit $ac_status); } &&
55773 { ac_try='test -z "$ac_c_werror_flag"
55774 || test ! -s conftest.err'
55775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55776 (eval $ac_try) 2>&5
55777 ac_status=$?
55778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55779 (exit $ac_status); }; } &&
55780 { ac_try='test -s conftest$ac_exeext'
55781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55782 (eval $ac_try) 2>&5
55783 ac_status=$?
55784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55785 (exit $ac_status); }; }; then
55786 eval "$as_ac_var=yes"
55787 else
55788 echo "$as_me: failed program was:" >&5
55789 sed 's/^/| /' conftest.$ac_ext >&5
55791 eval "$as_ac_var=no"
55793 rm -f conftest.err conftest.$ac_objext \
55794 conftest$ac_exeext conftest.$ac_ext
55796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55797 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55798 if test `eval echo '${'$as_ac_var'}'` = yes; then
55799 cat >>confdefs.h <<_ACEOF
55800 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55801 _ACEOF
55804 done
55806 else
55808 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
55809 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
55810 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
55811 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
55812 echo $ECHO_N "(cached) $ECHO_C" >&6
55813 else
55817 ac_ext=cc
55818 ac_cpp='$CXXCPP $CPPFLAGS'
55819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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. */
55829 #include <math.h>
55831 main ()
55833 _copysign(0, 0);
55835 return 0;
55837 _ACEOF
55838 rm -f conftest.$ac_objext
55839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55840 (eval $ac_compile) 2>conftest.er1
55841 ac_status=$?
55842 grep -v '^ *+' conftest.er1 >conftest.err
55843 rm -f conftest.er1
55844 cat conftest.err >&5
55845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55846 (exit $ac_status); } &&
55847 { ac_try='test -z "$ac_cxx_werror_flag"
55848 || test ! -s conftest.err'
55849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55850 (eval $ac_try) 2>&5
55851 ac_status=$?
55852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55853 (exit $ac_status); }; } &&
55854 { ac_try='test -s conftest.$ac_objext'
55855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55856 (eval $ac_try) 2>&5
55857 ac_status=$?
55858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55859 (exit $ac_status); }; }; then
55860 glibcxx_cv_func__copysign_use=yes
55861 else
55862 echo "$as_me: failed program was:" >&5
55863 sed 's/^/| /' conftest.$ac_ext >&5
55865 glibcxx_cv_func__copysign_use=no
55867 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55868 ac_ext=c
55869 ac_cpp='$CPP $CPPFLAGS'
55870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55878 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
55879 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
55881 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
55883 for ac_func in _copysign
55885 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55886 echo "$as_me:$LINENO: checking for $ac_func" >&5
55887 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55888 if eval "test \"\${$as_ac_var+set}\" = set"; then
55889 echo $ECHO_N "(cached) $ECHO_C" >&6
55890 else
55891 if test x$gcc_no_link = xyes; then
55892 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55893 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55894 { (exit 1); exit 1; }; }
55896 cat >conftest.$ac_ext <<_ACEOF
55897 /* confdefs.h. */
55898 _ACEOF
55899 cat confdefs.h >>conftest.$ac_ext
55900 cat >>conftest.$ac_ext <<_ACEOF
55901 /* end confdefs.h. */
55902 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55903 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55904 #define $ac_func innocuous_$ac_func
55906 /* System header to define __stub macros and hopefully few prototypes,
55907 which can conflict with char $ac_func (); below.
55908 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55909 <limits.h> exists even on freestanding compilers. */
55911 #ifdef __STDC__
55912 # include <limits.h>
55913 #else
55914 # include <assert.h>
55915 #endif
55917 #undef $ac_func
55919 /* Override any gcc2 internal prototype to avoid an error. */
55920 #ifdef __cplusplus
55921 extern "C"
55923 #endif
55924 /* We use char because int might match the return type of a gcc2
55925 builtin and then its argument prototype would still apply. */
55926 char $ac_func ();
55927 /* The GNU C library defines this for functions which it implements
55928 to always fail with ENOSYS. Some functions are actually named
55929 something starting with __ and the normal name is an alias. */
55930 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55931 choke me
55932 #else
55933 char (*f) () = $ac_func;
55934 #endif
55935 #ifdef __cplusplus
55937 #endif
55940 main ()
55942 return f != $ac_func;
55944 return 0;
55946 _ACEOF
55947 rm -f conftest.$ac_objext conftest$ac_exeext
55948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55949 (eval $ac_link) 2>conftest.er1
55950 ac_status=$?
55951 grep -v '^ *+' conftest.er1 >conftest.err
55952 rm -f conftest.er1
55953 cat conftest.err >&5
55954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55955 (exit $ac_status); } &&
55956 { ac_try='test -z "$ac_c_werror_flag"
55957 || test ! -s conftest.err'
55958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55959 (eval $ac_try) 2>&5
55960 ac_status=$?
55961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55962 (exit $ac_status); }; } &&
55963 { ac_try='test -s conftest$ac_exeext'
55964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55965 (eval $ac_try) 2>&5
55966 ac_status=$?
55967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55968 (exit $ac_status); }; }; then
55969 eval "$as_ac_var=yes"
55970 else
55971 echo "$as_me: failed program was:" >&5
55972 sed 's/^/| /' conftest.$ac_ext >&5
55974 eval "$as_ac_var=no"
55976 rm -f conftest.err conftest.$ac_objext \
55977 conftest$ac_exeext conftest.$ac_ext
55979 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55980 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55981 if test `eval echo '${'$as_ac_var'}'` = yes; then
55982 cat >>confdefs.h <<_ACEOF
55983 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55984 _ACEOF
55987 done
55997 echo "$as_me:$LINENO: checking for sincos declaration" >&5
55998 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
55999 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
56000 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
56001 echo $ECHO_N "(cached) $ECHO_C" >&6
56002 else
56006 ac_ext=cc
56007 ac_cpp='$CXXCPP $CPPFLAGS'
56008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56012 cat >conftest.$ac_ext <<_ACEOF
56013 /* confdefs.h. */
56014 _ACEOF
56015 cat confdefs.h >>conftest.$ac_ext
56016 cat >>conftest.$ac_ext <<_ACEOF
56017 /* end confdefs.h. */
56018 #include <math.h>
56020 main ()
56022 sincos(0, 0, 0);
56024 return 0;
56026 _ACEOF
56027 rm -f conftest.$ac_objext
56028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56029 (eval $ac_compile) 2>conftest.er1
56030 ac_status=$?
56031 grep -v '^ *+' conftest.er1 >conftest.err
56032 rm -f conftest.er1
56033 cat conftest.err >&5
56034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56035 (exit $ac_status); } &&
56036 { ac_try='test -z "$ac_cxx_werror_flag"
56037 || test ! -s conftest.err'
56038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56039 (eval $ac_try) 2>&5
56040 ac_status=$?
56041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56042 (exit $ac_status); }; } &&
56043 { ac_try='test -s conftest.$ac_objext'
56044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56045 (eval $ac_try) 2>&5
56046 ac_status=$?
56047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56048 (exit $ac_status); }; }; then
56049 glibcxx_cv_func_sincos_use=yes
56050 else
56051 echo "$as_me: failed program was:" >&5
56052 sed 's/^/| /' conftest.$ac_ext >&5
56054 glibcxx_cv_func_sincos_use=no
56056 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56057 ac_ext=c
56058 ac_cpp='$CPP $CPPFLAGS'
56059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56067 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
56068 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
56070 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
56072 for ac_func in sincos
56074 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56075 echo "$as_me:$LINENO: checking for $ac_func" >&5
56076 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56077 if eval "test \"\${$as_ac_var+set}\" = set"; then
56078 echo $ECHO_N "(cached) $ECHO_C" >&6
56079 else
56080 if test x$gcc_no_link = xyes; then
56081 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56082 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56083 { (exit 1); exit 1; }; }
56085 cat >conftest.$ac_ext <<_ACEOF
56086 /* confdefs.h. */
56087 _ACEOF
56088 cat confdefs.h >>conftest.$ac_ext
56089 cat >>conftest.$ac_ext <<_ACEOF
56090 /* end confdefs.h. */
56091 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56092 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56093 #define $ac_func innocuous_$ac_func
56095 /* System header to define __stub macros and hopefully few prototypes,
56096 which can conflict with char $ac_func (); below.
56097 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56098 <limits.h> exists even on freestanding compilers. */
56100 #ifdef __STDC__
56101 # include <limits.h>
56102 #else
56103 # include <assert.h>
56104 #endif
56106 #undef $ac_func
56108 /* Override any gcc2 internal prototype to avoid an error. */
56109 #ifdef __cplusplus
56110 extern "C"
56112 #endif
56113 /* We use char because int might match the return type of a gcc2
56114 builtin and then its argument prototype would still apply. */
56115 char $ac_func ();
56116 /* The GNU C library defines this for functions which it implements
56117 to always fail with ENOSYS. Some functions are actually named
56118 something starting with __ and the normal name is an alias. */
56119 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56120 choke me
56121 #else
56122 char (*f) () = $ac_func;
56123 #endif
56124 #ifdef __cplusplus
56126 #endif
56129 main ()
56131 return f != $ac_func;
56133 return 0;
56135 _ACEOF
56136 rm -f conftest.$ac_objext conftest$ac_exeext
56137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56138 (eval $ac_link) 2>conftest.er1
56139 ac_status=$?
56140 grep -v '^ *+' conftest.er1 >conftest.err
56141 rm -f conftest.er1
56142 cat conftest.err >&5
56143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56144 (exit $ac_status); } &&
56145 { ac_try='test -z "$ac_c_werror_flag"
56146 || test ! -s conftest.err'
56147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56148 (eval $ac_try) 2>&5
56149 ac_status=$?
56150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56151 (exit $ac_status); }; } &&
56152 { ac_try='test -s conftest$ac_exeext'
56153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56154 (eval $ac_try) 2>&5
56155 ac_status=$?
56156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56157 (exit $ac_status); }; }; then
56158 eval "$as_ac_var=yes"
56159 else
56160 echo "$as_me: failed program was:" >&5
56161 sed 's/^/| /' conftest.$ac_ext >&5
56163 eval "$as_ac_var=no"
56165 rm -f conftest.err conftest.$ac_objext \
56166 conftest$ac_exeext conftest.$ac_ext
56168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56169 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56170 if test `eval echo '${'$as_ac_var'}'` = yes; then
56171 cat >>confdefs.h <<_ACEOF
56172 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56173 _ACEOF
56176 done
56178 else
56180 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
56181 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
56182 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
56183 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
56184 echo $ECHO_N "(cached) $ECHO_C" >&6
56185 else
56189 ac_ext=cc
56190 ac_cpp='$CXXCPP $CPPFLAGS'
56191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56195 cat >conftest.$ac_ext <<_ACEOF
56196 /* confdefs.h. */
56197 _ACEOF
56198 cat confdefs.h >>conftest.$ac_ext
56199 cat >>conftest.$ac_ext <<_ACEOF
56200 /* end confdefs.h. */
56201 #include <math.h>
56203 main ()
56205 _sincos(0, 0, 0);
56207 return 0;
56209 _ACEOF
56210 rm -f conftest.$ac_objext
56211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56212 (eval $ac_compile) 2>conftest.er1
56213 ac_status=$?
56214 grep -v '^ *+' conftest.er1 >conftest.err
56215 rm -f conftest.er1
56216 cat conftest.err >&5
56217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56218 (exit $ac_status); } &&
56219 { ac_try='test -z "$ac_cxx_werror_flag"
56220 || test ! -s conftest.err'
56221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56222 (eval $ac_try) 2>&5
56223 ac_status=$?
56224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56225 (exit $ac_status); }; } &&
56226 { ac_try='test -s conftest.$ac_objext'
56227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56228 (eval $ac_try) 2>&5
56229 ac_status=$?
56230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56231 (exit $ac_status); }; }; then
56232 glibcxx_cv_func__sincos_use=yes
56233 else
56234 echo "$as_me: failed program was:" >&5
56235 sed 's/^/| /' conftest.$ac_ext >&5
56237 glibcxx_cv_func__sincos_use=no
56239 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56240 ac_ext=c
56241 ac_cpp='$CPP $CPPFLAGS'
56242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56250 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
56251 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
56253 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
56255 for ac_func in _sincos
56257 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56258 echo "$as_me:$LINENO: checking for $ac_func" >&5
56259 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56260 if eval "test \"\${$as_ac_var+set}\" = set"; then
56261 echo $ECHO_N "(cached) $ECHO_C" >&6
56262 else
56263 if test x$gcc_no_link = xyes; then
56264 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56265 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56266 { (exit 1); exit 1; }; }
56268 cat >conftest.$ac_ext <<_ACEOF
56269 /* confdefs.h. */
56270 _ACEOF
56271 cat confdefs.h >>conftest.$ac_ext
56272 cat >>conftest.$ac_ext <<_ACEOF
56273 /* end confdefs.h. */
56274 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56275 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56276 #define $ac_func innocuous_$ac_func
56278 /* System header to define __stub macros and hopefully few prototypes,
56279 which can conflict with char $ac_func (); below.
56280 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56281 <limits.h> exists even on freestanding compilers. */
56283 #ifdef __STDC__
56284 # include <limits.h>
56285 #else
56286 # include <assert.h>
56287 #endif
56289 #undef $ac_func
56291 /* Override any gcc2 internal prototype to avoid an error. */
56292 #ifdef __cplusplus
56293 extern "C"
56295 #endif
56296 /* We use char because int might match the return type of a gcc2
56297 builtin and then its argument prototype would still apply. */
56298 char $ac_func ();
56299 /* The GNU C library defines this for functions which it implements
56300 to always fail with ENOSYS. Some functions are actually named
56301 something starting with __ and the normal name is an alias. */
56302 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56303 choke me
56304 #else
56305 char (*f) () = $ac_func;
56306 #endif
56307 #ifdef __cplusplus
56309 #endif
56312 main ()
56314 return f != $ac_func;
56316 return 0;
56318 _ACEOF
56319 rm -f conftest.$ac_objext conftest$ac_exeext
56320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56321 (eval $ac_link) 2>conftest.er1
56322 ac_status=$?
56323 grep -v '^ *+' conftest.er1 >conftest.err
56324 rm -f conftest.er1
56325 cat conftest.err >&5
56326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56327 (exit $ac_status); } &&
56328 { ac_try='test -z "$ac_c_werror_flag"
56329 || test ! -s conftest.err'
56330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56331 (eval $ac_try) 2>&5
56332 ac_status=$?
56333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56334 (exit $ac_status); }; } &&
56335 { ac_try='test -s conftest$ac_exeext'
56336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56337 (eval $ac_try) 2>&5
56338 ac_status=$?
56339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56340 (exit $ac_status); }; }; then
56341 eval "$as_ac_var=yes"
56342 else
56343 echo "$as_me: failed program was:" >&5
56344 sed 's/^/| /' conftest.$ac_ext >&5
56346 eval "$as_ac_var=no"
56348 rm -f conftest.err conftest.$ac_objext \
56349 conftest$ac_exeext conftest.$ac_ext
56351 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56352 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56353 if test `eval echo '${'$as_ac_var'}'` = yes; then
56354 cat >>confdefs.h <<_ACEOF
56355 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56356 _ACEOF
56359 done
56369 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
56370 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
56371 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
56372 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
56373 echo $ECHO_N "(cached) $ECHO_C" >&6
56374 else
56378 ac_ext=cc
56379 ac_cpp='$CXXCPP $CPPFLAGS'
56380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56384 cat >conftest.$ac_ext <<_ACEOF
56385 /* confdefs.h. */
56386 _ACEOF
56387 cat confdefs.h >>conftest.$ac_ext
56388 cat >>conftest.$ac_ext <<_ACEOF
56389 /* end confdefs.h. */
56390 #include <math.h>
56391 #ifdef HAVE_IEEEFP_H
56392 #include <ieeefp.h>
56393 #endif
56396 main ()
56398 fpclass(0);
56400 return 0;
56402 _ACEOF
56403 rm -f conftest.$ac_objext
56404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56405 (eval $ac_compile) 2>conftest.er1
56406 ac_status=$?
56407 grep -v '^ *+' conftest.er1 >conftest.err
56408 rm -f conftest.er1
56409 cat conftest.err >&5
56410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56411 (exit $ac_status); } &&
56412 { ac_try='test -z "$ac_cxx_werror_flag"
56413 || test ! -s conftest.err'
56414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56415 (eval $ac_try) 2>&5
56416 ac_status=$?
56417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56418 (exit $ac_status); }; } &&
56419 { ac_try='test -s conftest.$ac_objext'
56420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56421 (eval $ac_try) 2>&5
56422 ac_status=$?
56423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56424 (exit $ac_status); }; }; then
56425 glibcxx_cv_func_fpclass_use=yes
56426 else
56427 echo "$as_me: failed program was:" >&5
56428 sed 's/^/| /' conftest.$ac_ext >&5
56430 glibcxx_cv_func_fpclass_use=no
56432 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56433 ac_ext=c
56434 ac_cpp='$CPP $CPPFLAGS'
56435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56443 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
56444 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
56446 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
56448 for ac_func in fpclass
56450 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56451 echo "$as_me:$LINENO: checking for $ac_func" >&5
56452 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56453 if eval "test \"\${$as_ac_var+set}\" = set"; then
56454 echo $ECHO_N "(cached) $ECHO_C" >&6
56455 else
56456 if test x$gcc_no_link = xyes; then
56457 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56458 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56459 { (exit 1); exit 1; }; }
56461 cat >conftest.$ac_ext <<_ACEOF
56462 /* confdefs.h. */
56463 _ACEOF
56464 cat confdefs.h >>conftest.$ac_ext
56465 cat >>conftest.$ac_ext <<_ACEOF
56466 /* end confdefs.h. */
56467 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56468 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56469 #define $ac_func innocuous_$ac_func
56471 /* System header to define __stub macros and hopefully few prototypes,
56472 which can conflict with char $ac_func (); below.
56473 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56474 <limits.h> exists even on freestanding compilers. */
56476 #ifdef __STDC__
56477 # include <limits.h>
56478 #else
56479 # include <assert.h>
56480 #endif
56482 #undef $ac_func
56484 /* Override any gcc2 internal prototype to avoid an error. */
56485 #ifdef __cplusplus
56486 extern "C"
56488 #endif
56489 /* We use char because int might match the return type of a gcc2
56490 builtin and then its argument prototype would still apply. */
56491 char $ac_func ();
56492 /* The GNU C library defines this for functions which it implements
56493 to always fail with ENOSYS. Some functions are actually named
56494 something starting with __ and the normal name is an alias. */
56495 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56496 choke me
56497 #else
56498 char (*f) () = $ac_func;
56499 #endif
56500 #ifdef __cplusplus
56502 #endif
56505 main ()
56507 return f != $ac_func;
56509 return 0;
56511 _ACEOF
56512 rm -f conftest.$ac_objext conftest$ac_exeext
56513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56514 (eval $ac_link) 2>conftest.er1
56515 ac_status=$?
56516 grep -v '^ *+' conftest.er1 >conftest.err
56517 rm -f conftest.er1
56518 cat conftest.err >&5
56519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56520 (exit $ac_status); } &&
56521 { ac_try='test -z "$ac_c_werror_flag"
56522 || test ! -s conftest.err'
56523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56524 (eval $ac_try) 2>&5
56525 ac_status=$?
56526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56527 (exit $ac_status); }; } &&
56528 { ac_try='test -s conftest$ac_exeext'
56529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56530 (eval $ac_try) 2>&5
56531 ac_status=$?
56532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56533 (exit $ac_status); }; }; then
56534 eval "$as_ac_var=yes"
56535 else
56536 echo "$as_me: failed program was:" >&5
56537 sed 's/^/| /' conftest.$ac_ext >&5
56539 eval "$as_ac_var=no"
56541 rm -f conftest.err conftest.$ac_objext \
56542 conftest$ac_exeext conftest.$ac_ext
56544 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56545 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56546 if test `eval echo '${'$as_ac_var'}'` = yes; then
56547 cat >>confdefs.h <<_ACEOF
56548 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56549 _ACEOF
56552 done
56554 else
56556 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
56557 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
56558 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
56559 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
56560 echo $ECHO_N "(cached) $ECHO_C" >&6
56561 else
56565 ac_ext=cc
56566 ac_cpp='$CXXCPP $CPPFLAGS'
56567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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. */
56577 #include <math.h>
56578 #ifdef HAVE_IEEEFP_H
56579 #include <ieeefp.h>
56580 #endif
56583 main ()
56585 _fpclass(0);
56587 return 0;
56589 _ACEOF
56590 rm -f conftest.$ac_objext
56591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56592 (eval $ac_compile) 2>conftest.er1
56593 ac_status=$?
56594 grep -v '^ *+' conftest.er1 >conftest.err
56595 rm -f conftest.er1
56596 cat conftest.err >&5
56597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56598 (exit $ac_status); } &&
56599 { ac_try='test -z "$ac_cxx_werror_flag"
56600 || test ! -s conftest.err'
56601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56602 (eval $ac_try) 2>&5
56603 ac_status=$?
56604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56605 (exit $ac_status); }; } &&
56606 { ac_try='test -s conftest.$ac_objext'
56607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56608 (eval $ac_try) 2>&5
56609 ac_status=$?
56610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56611 (exit $ac_status); }; }; then
56612 glibcxx_cv_func__fpclass_use=yes
56613 else
56614 echo "$as_me: failed program was:" >&5
56615 sed 's/^/| /' conftest.$ac_ext >&5
56617 glibcxx_cv_func__fpclass_use=no
56619 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56620 ac_ext=c
56621 ac_cpp='$CPP $CPPFLAGS'
56622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56630 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
56631 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
56633 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
56635 for ac_func in _fpclass
56637 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56638 echo "$as_me:$LINENO: checking for $ac_func" >&5
56639 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56640 if eval "test \"\${$as_ac_var+set}\" = set"; then
56641 echo $ECHO_N "(cached) $ECHO_C" >&6
56642 else
56643 if test x$gcc_no_link = xyes; then
56644 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56645 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56646 { (exit 1); exit 1; }; }
56648 cat >conftest.$ac_ext <<_ACEOF
56649 /* confdefs.h. */
56650 _ACEOF
56651 cat confdefs.h >>conftest.$ac_ext
56652 cat >>conftest.$ac_ext <<_ACEOF
56653 /* end confdefs.h. */
56654 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56655 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56656 #define $ac_func innocuous_$ac_func
56658 /* System header to define __stub macros and hopefully few prototypes,
56659 which can conflict with char $ac_func (); below.
56660 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56661 <limits.h> exists even on freestanding compilers. */
56663 #ifdef __STDC__
56664 # include <limits.h>
56665 #else
56666 # include <assert.h>
56667 #endif
56669 #undef $ac_func
56671 /* Override any gcc2 internal prototype to avoid an error. */
56672 #ifdef __cplusplus
56673 extern "C"
56675 #endif
56676 /* We use char because int might match the return type of a gcc2
56677 builtin and then its argument prototype would still apply. */
56678 char $ac_func ();
56679 /* The GNU C library defines this for functions which it implements
56680 to always fail with ENOSYS. Some functions are actually named
56681 something starting with __ and the normal name is an alias. */
56682 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56683 choke me
56684 #else
56685 char (*f) () = $ac_func;
56686 #endif
56687 #ifdef __cplusplus
56689 #endif
56692 main ()
56694 return f != $ac_func;
56696 return 0;
56698 _ACEOF
56699 rm -f conftest.$ac_objext conftest$ac_exeext
56700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56701 (eval $ac_link) 2>conftest.er1
56702 ac_status=$?
56703 grep -v '^ *+' conftest.er1 >conftest.err
56704 rm -f conftest.er1
56705 cat conftest.err >&5
56706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56707 (exit $ac_status); } &&
56708 { ac_try='test -z "$ac_c_werror_flag"
56709 || test ! -s conftest.err'
56710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56711 (eval $ac_try) 2>&5
56712 ac_status=$?
56713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56714 (exit $ac_status); }; } &&
56715 { ac_try='test -s conftest$ac_exeext'
56716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56717 (eval $ac_try) 2>&5
56718 ac_status=$?
56719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56720 (exit $ac_status); }; }; then
56721 eval "$as_ac_var=yes"
56722 else
56723 echo "$as_me: failed program was:" >&5
56724 sed 's/^/| /' conftest.$ac_ext >&5
56726 eval "$as_ac_var=no"
56728 rm -f conftest.err conftest.$ac_objext \
56729 conftest$ac_exeext conftest.$ac_ext
56731 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56732 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56733 if test `eval echo '${'$as_ac_var'}'` = yes; then
56734 cat >>confdefs.h <<_ACEOF
56735 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56736 _ACEOF
56739 done
56749 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
56750 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
56751 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
56752 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
56753 echo $ECHO_N "(cached) $ECHO_C" >&6
56754 else
56758 ac_ext=cc
56759 ac_cpp='$CXXCPP $CPPFLAGS'
56760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56764 cat >conftest.$ac_ext <<_ACEOF
56765 /* confdefs.h. */
56766 _ACEOF
56767 cat confdefs.h >>conftest.$ac_ext
56768 cat >>conftest.$ac_ext <<_ACEOF
56769 /* end confdefs.h. */
56770 #include <math.h>
56771 #ifdef HAVE_IEEEFP_H
56772 #include <ieeefp.h>
56773 #endif
56776 main ()
56778 qfpclass(0);
56780 return 0;
56782 _ACEOF
56783 rm -f conftest.$ac_objext
56784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56785 (eval $ac_compile) 2>conftest.er1
56786 ac_status=$?
56787 grep -v '^ *+' conftest.er1 >conftest.err
56788 rm -f conftest.er1
56789 cat conftest.err >&5
56790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56791 (exit $ac_status); } &&
56792 { ac_try='test -z "$ac_cxx_werror_flag"
56793 || test ! -s conftest.err'
56794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56795 (eval $ac_try) 2>&5
56796 ac_status=$?
56797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56798 (exit $ac_status); }; } &&
56799 { ac_try='test -s conftest.$ac_objext'
56800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56801 (eval $ac_try) 2>&5
56802 ac_status=$?
56803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56804 (exit $ac_status); }; }; then
56805 glibcxx_cv_func_qfpclass_use=yes
56806 else
56807 echo "$as_me: failed program was:" >&5
56808 sed 's/^/| /' conftest.$ac_ext >&5
56810 glibcxx_cv_func_qfpclass_use=no
56812 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56813 ac_ext=c
56814 ac_cpp='$CPP $CPPFLAGS'
56815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56823 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
56824 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
56826 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
56828 for ac_func in qfpclass
56830 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56831 echo "$as_me:$LINENO: checking for $ac_func" >&5
56832 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56833 if eval "test \"\${$as_ac_var+set}\" = set"; then
56834 echo $ECHO_N "(cached) $ECHO_C" >&6
56835 else
56836 if test x$gcc_no_link = xyes; then
56837 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56838 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56839 { (exit 1); exit 1; }; }
56841 cat >conftest.$ac_ext <<_ACEOF
56842 /* confdefs.h. */
56843 _ACEOF
56844 cat confdefs.h >>conftest.$ac_ext
56845 cat >>conftest.$ac_ext <<_ACEOF
56846 /* end confdefs.h. */
56847 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56848 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56849 #define $ac_func innocuous_$ac_func
56851 /* System header to define __stub macros and hopefully few prototypes,
56852 which can conflict with char $ac_func (); below.
56853 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56854 <limits.h> exists even on freestanding compilers. */
56856 #ifdef __STDC__
56857 # include <limits.h>
56858 #else
56859 # include <assert.h>
56860 #endif
56862 #undef $ac_func
56864 /* Override any gcc2 internal prototype to avoid an error. */
56865 #ifdef __cplusplus
56866 extern "C"
56868 #endif
56869 /* We use char because int might match the return type of a gcc2
56870 builtin and then its argument prototype would still apply. */
56871 char $ac_func ();
56872 /* The GNU C library defines this for functions which it implements
56873 to always fail with ENOSYS. Some functions are actually named
56874 something starting with __ and the normal name is an alias. */
56875 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56876 choke me
56877 #else
56878 char (*f) () = $ac_func;
56879 #endif
56880 #ifdef __cplusplus
56882 #endif
56885 main ()
56887 return f != $ac_func;
56889 return 0;
56891 _ACEOF
56892 rm -f conftest.$ac_objext conftest$ac_exeext
56893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56894 (eval $ac_link) 2>conftest.er1
56895 ac_status=$?
56896 grep -v '^ *+' conftest.er1 >conftest.err
56897 rm -f conftest.er1
56898 cat conftest.err >&5
56899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56900 (exit $ac_status); } &&
56901 { ac_try='test -z "$ac_c_werror_flag"
56902 || test ! -s conftest.err'
56903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56904 (eval $ac_try) 2>&5
56905 ac_status=$?
56906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56907 (exit $ac_status); }; } &&
56908 { ac_try='test -s conftest$ac_exeext'
56909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56910 (eval $ac_try) 2>&5
56911 ac_status=$?
56912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56913 (exit $ac_status); }; }; then
56914 eval "$as_ac_var=yes"
56915 else
56916 echo "$as_me: failed program was:" >&5
56917 sed 's/^/| /' conftest.$ac_ext >&5
56919 eval "$as_ac_var=no"
56921 rm -f conftest.err conftest.$ac_objext \
56922 conftest$ac_exeext conftest.$ac_ext
56924 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56925 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56926 if test `eval echo '${'$as_ac_var'}'` = yes; then
56927 cat >>confdefs.h <<_ACEOF
56928 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56929 _ACEOF
56932 done
56934 else
56936 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
56937 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
56938 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
56939 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
56940 echo $ECHO_N "(cached) $ECHO_C" >&6
56941 else
56945 ac_ext=cc
56946 ac_cpp='$CXXCPP $CPPFLAGS'
56947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56951 cat >conftest.$ac_ext <<_ACEOF
56952 /* confdefs.h. */
56953 _ACEOF
56954 cat confdefs.h >>conftest.$ac_ext
56955 cat >>conftest.$ac_ext <<_ACEOF
56956 /* end confdefs.h. */
56957 #include <math.h>
56958 #ifdef HAVE_IEEEFP_H
56959 #include <ieeefp.h>
56960 #endif
56963 main ()
56965 _qfpclass(0);
56967 return 0;
56969 _ACEOF
56970 rm -f conftest.$ac_objext
56971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56972 (eval $ac_compile) 2>conftest.er1
56973 ac_status=$?
56974 grep -v '^ *+' conftest.er1 >conftest.err
56975 rm -f conftest.er1
56976 cat conftest.err >&5
56977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56978 (exit $ac_status); } &&
56979 { ac_try='test -z "$ac_cxx_werror_flag"
56980 || test ! -s conftest.err'
56981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56982 (eval $ac_try) 2>&5
56983 ac_status=$?
56984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56985 (exit $ac_status); }; } &&
56986 { ac_try='test -s conftest.$ac_objext'
56987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56988 (eval $ac_try) 2>&5
56989 ac_status=$?
56990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56991 (exit $ac_status); }; }; then
56992 glibcxx_cv_func__qfpclass_use=yes
56993 else
56994 echo "$as_me: failed program was:" >&5
56995 sed 's/^/| /' conftest.$ac_ext >&5
56997 glibcxx_cv_func__qfpclass_use=no
56999 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57000 ac_ext=c
57001 ac_cpp='$CPP $CPPFLAGS'
57002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57010 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
57011 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
57013 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
57015 for ac_func in _qfpclass
57017 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57018 echo "$as_me:$LINENO: checking for $ac_func" >&5
57019 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57020 if eval "test \"\${$as_ac_var+set}\" = set"; then
57021 echo $ECHO_N "(cached) $ECHO_C" >&6
57022 else
57023 if test x$gcc_no_link = xyes; then
57024 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57025 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57026 { (exit 1); exit 1; }; }
57028 cat >conftest.$ac_ext <<_ACEOF
57029 /* confdefs.h. */
57030 _ACEOF
57031 cat confdefs.h >>conftest.$ac_ext
57032 cat >>conftest.$ac_ext <<_ACEOF
57033 /* end confdefs.h. */
57034 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57035 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57036 #define $ac_func innocuous_$ac_func
57038 /* System header to define __stub macros and hopefully few prototypes,
57039 which can conflict with char $ac_func (); below.
57040 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57041 <limits.h> exists even on freestanding compilers. */
57043 #ifdef __STDC__
57044 # include <limits.h>
57045 #else
57046 # include <assert.h>
57047 #endif
57049 #undef $ac_func
57051 /* Override any gcc2 internal prototype to avoid an error. */
57052 #ifdef __cplusplus
57053 extern "C"
57055 #endif
57056 /* We use char because int might match the return type of a gcc2
57057 builtin and then its argument prototype would still apply. */
57058 char $ac_func ();
57059 /* The GNU C library defines this for functions which it implements
57060 to always fail with ENOSYS. Some functions are actually named
57061 something starting with __ and the normal name is an alias. */
57062 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57063 choke me
57064 #else
57065 char (*f) () = $ac_func;
57066 #endif
57067 #ifdef __cplusplus
57069 #endif
57072 main ()
57074 return f != $ac_func;
57076 return 0;
57078 _ACEOF
57079 rm -f conftest.$ac_objext conftest$ac_exeext
57080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57081 (eval $ac_link) 2>conftest.er1
57082 ac_status=$?
57083 grep -v '^ *+' conftest.er1 >conftest.err
57084 rm -f conftest.er1
57085 cat conftest.err >&5
57086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57087 (exit $ac_status); } &&
57088 { ac_try='test -z "$ac_c_werror_flag"
57089 || test ! -s conftest.err'
57090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57091 (eval $ac_try) 2>&5
57092 ac_status=$?
57093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57094 (exit $ac_status); }; } &&
57095 { ac_try='test -s conftest$ac_exeext'
57096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57097 (eval $ac_try) 2>&5
57098 ac_status=$?
57099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57100 (exit $ac_status); }; }; then
57101 eval "$as_ac_var=yes"
57102 else
57103 echo "$as_me: failed program was:" >&5
57104 sed 's/^/| /' conftest.$ac_ext >&5
57106 eval "$as_ac_var=no"
57108 rm -f conftest.err conftest.$ac_objext \
57109 conftest$ac_exeext conftest.$ac_ext
57111 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57112 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57113 if test `eval echo '${'$as_ac_var'}'` = yes; then
57114 cat >>confdefs.h <<_ACEOF
57115 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57116 _ACEOF
57119 done
57129 echo "$as_me:$LINENO: checking for hypot declaration" >&5
57130 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
57131 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
57132 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
57133 echo $ECHO_N "(cached) $ECHO_C" >&6
57134 else
57138 ac_ext=cc
57139 ac_cpp='$CXXCPP $CPPFLAGS'
57140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57144 cat >conftest.$ac_ext <<_ACEOF
57145 /* confdefs.h. */
57146 _ACEOF
57147 cat confdefs.h >>conftest.$ac_ext
57148 cat >>conftest.$ac_ext <<_ACEOF
57149 /* end confdefs.h. */
57150 #include <math.h>
57152 main ()
57154 hypot(0, 0);
57156 return 0;
57158 _ACEOF
57159 rm -f conftest.$ac_objext
57160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57161 (eval $ac_compile) 2>conftest.er1
57162 ac_status=$?
57163 grep -v '^ *+' conftest.er1 >conftest.err
57164 rm -f conftest.er1
57165 cat conftest.err >&5
57166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57167 (exit $ac_status); } &&
57168 { ac_try='test -z "$ac_cxx_werror_flag"
57169 || test ! -s conftest.err'
57170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57171 (eval $ac_try) 2>&5
57172 ac_status=$?
57173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57174 (exit $ac_status); }; } &&
57175 { ac_try='test -s conftest.$ac_objext'
57176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57177 (eval $ac_try) 2>&5
57178 ac_status=$?
57179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57180 (exit $ac_status); }; }; then
57181 glibcxx_cv_func_hypot_use=yes
57182 else
57183 echo "$as_me: failed program was:" >&5
57184 sed 's/^/| /' conftest.$ac_ext >&5
57186 glibcxx_cv_func_hypot_use=no
57188 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57189 ac_ext=c
57190 ac_cpp='$CPP $CPPFLAGS'
57191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57199 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
57200 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
57202 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
57204 for ac_func in hypot
57206 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57207 echo "$as_me:$LINENO: checking for $ac_func" >&5
57208 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57209 if eval "test \"\${$as_ac_var+set}\" = set"; then
57210 echo $ECHO_N "(cached) $ECHO_C" >&6
57211 else
57212 if test x$gcc_no_link = xyes; then
57213 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57214 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57215 { (exit 1); exit 1; }; }
57217 cat >conftest.$ac_ext <<_ACEOF
57218 /* confdefs.h. */
57219 _ACEOF
57220 cat confdefs.h >>conftest.$ac_ext
57221 cat >>conftest.$ac_ext <<_ACEOF
57222 /* end confdefs.h. */
57223 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57224 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57225 #define $ac_func innocuous_$ac_func
57227 /* System header to define __stub macros and hopefully few prototypes,
57228 which can conflict with char $ac_func (); below.
57229 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57230 <limits.h> exists even on freestanding compilers. */
57232 #ifdef __STDC__
57233 # include <limits.h>
57234 #else
57235 # include <assert.h>
57236 #endif
57238 #undef $ac_func
57240 /* Override any gcc2 internal prototype to avoid an error. */
57241 #ifdef __cplusplus
57242 extern "C"
57244 #endif
57245 /* We use char because int might match the return type of a gcc2
57246 builtin and then its argument prototype would still apply. */
57247 char $ac_func ();
57248 /* The GNU C library defines this for functions which it implements
57249 to always fail with ENOSYS. Some functions are actually named
57250 something starting with __ and the normal name is an alias. */
57251 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57252 choke me
57253 #else
57254 char (*f) () = $ac_func;
57255 #endif
57256 #ifdef __cplusplus
57258 #endif
57261 main ()
57263 return f != $ac_func;
57265 return 0;
57267 _ACEOF
57268 rm -f conftest.$ac_objext conftest$ac_exeext
57269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57270 (eval $ac_link) 2>conftest.er1
57271 ac_status=$?
57272 grep -v '^ *+' conftest.er1 >conftest.err
57273 rm -f conftest.er1
57274 cat conftest.err >&5
57275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57276 (exit $ac_status); } &&
57277 { ac_try='test -z "$ac_c_werror_flag"
57278 || test ! -s conftest.err'
57279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57280 (eval $ac_try) 2>&5
57281 ac_status=$?
57282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57283 (exit $ac_status); }; } &&
57284 { ac_try='test -s conftest$ac_exeext'
57285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57286 (eval $ac_try) 2>&5
57287 ac_status=$?
57288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57289 (exit $ac_status); }; }; then
57290 eval "$as_ac_var=yes"
57291 else
57292 echo "$as_me: failed program was:" >&5
57293 sed 's/^/| /' conftest.$ac_ext >&5
57295 eval "$as_ac_var=no"
57297 rm -f conftest.err conftest.$ac_objext \
57298 conftest$ac_exeext conftest.$ac_ext
57300 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57301 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57302 if test `eval echo '${'$as_ac_var'}'` = yes; then
57303 cat >>confdefs.h <<_ACEOF
57304 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57305 _ACEOF
57308 done
57310 else
57312 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
57313 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
57314 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
57315 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
57316 echo $ECHO_N "(cached) $ECHO_C" >&6
57317 else
57321 ac_ext=cc
57322 ac_cpp='$CXXCPP $CPPFLAGS'
57323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57327 cat >conftest.$ac_ext <<_ACEOF
57328 /* confdefs.h. */
57329 _ACEOF
57330 cat confdefs.h >>conftest.$ac_ext
57331 cat >>conftest.$ac_ext <<_ACEOF
57332 /* end confdefs.h. */
57333 #include <math.h>
57335 main ()
57337 _hypot(0, 0);
57339 return 0;
57341 _ACEOF
57342 rm -f conftest.$ac_objext
57343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57344 (eval $ac_compile) 2>conftest.er1
57345 ac_status=$?
57346 grep -v '^ *+' conftest.er1 >conftest.err
57347 rm -f conftest.er1
57348 cat conftest.err >&5
57349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57350 (exit $ac_status); } &&
57351 { ac_try='test -z "$ac_cxx_werror_flag"
57352 || test ! -s conftest.err'
57353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57354 (eval $ac_try) 2>&5
57355 ac_status=$?
57356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57357 (exit $ac_status); }; } &&
57358 { ac_try='test -s conftest.$ac_objext'
57359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57360 (eval $ac_try) 2>&5
57361 ac_status=$?
57362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57363 (exit $ac_status); }; }; then
57364 glibcxx_cv_func__hypot_use=yes
57365 else
57366 echo "$as_me: failed program was:" >&5
57367 sed 's/^/| /' conftest.$ac_ext >&5
57369 glibcxx_cv_func__hypot_use=no
57371 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57372 ac_ext=c
57373 ac_cpp='$CPP $CPPFLAGS'
57374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57382 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
57383 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
57385 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
57387 for ac_func in _hypot
57389 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57390 echo "$as_me:$LINENO: checking for $ac_func" >&5
57391 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57392 if eval "test \"\${$as_ac_var+set}\" = set"; then
57393 echo $ECHO_N "(cached) $ECHO_C" >&6
57394 else
57395 if test x$gcc_no_link = xyes; then
57396 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57397 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57398 { (exit 1); exit 1; }; }
57400 cat >conftest.$ac_ext <<_ACEOF
57401 /* confdefs.h. */
57402 _ACEOF
57403 cat confdefs.h >>conftest.$ac_ext
57404 cat >>conftest.$ac_ext <<_ACEOF
57405 /* end confdefs.h. */
57406 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57407 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57408 #define $ac_func innocuous_$ac_func
57410 /* System header to define __stub macros and hopefully few prototypes,
57411 which can conflict with char $ac_func (); below.
57412 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57413 <limits.h> exists even on freestanding compilers. */
57415 #ifdef __STDC__
57416 # include <limits.h>
57417 #else
57418 # include <assert.h>
57419 #endif
57421 #undef $ac_func
57423 /* Override any gcc2 internal prototype to avoid an error. */
57424 #ifdef __cplusplus
57425 extern "C"
57427 #endif
57428 /* We use char because int might match the return type of a gcc2
57429 builtin and then its argument prototype would still apply. */
57430 char $ac_func ();
57431 /* The GNU C library defines this for functions which it implements
57432 to always fail with ENOSYS. Some functions are actually named
57433 something starting with __ and the normal name is an alias. */
57434 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57435 choke me
57436 #else
57437 char (*f) () = $ac_func;
57438 #endif
57439 #ifdef __cplusplus
57441 #endif
57444 main ()
57446 return f != $ac_func;
57448 return 0;
57450 _ACEOF
57451 rm -f conftest.$ac_objext conftest$ac_exeext
57452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57453 (eval $ac_link) 2>conftest.er1
57454 ac_status=$?
57455 grep -v '^ *+' conftest.er1 >conftest.err
57456 rm -f conftest.er1
57457 cat conftest.err >&5
57458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57459 (exit $ac_status); } &&
57460 { ac_try='test -z "$ac_c_werror_flag"
57461 || test ! -s conftest.err'
57462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57463 (eval $ac_try) 2>&5
57464 ac_status=$?
57465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57466 (exit $ac_status); }; } &&
57467 { ac_try='test -s conftest$ac_exeext'
57468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57469 (eval $ac_try) 2>&5
57470 ac_status=$?
57471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57472 (exit $ac_status); }; }; then
57473 eval "$as_ac_var=yes"
57474 else
57475 echo "$as_me: failed program was:" >&5
57476 sed 's/^/| /' conftest.$ac_ext >&5
57478 eval "$as_ac_var=no"
57480 rm -f conftest.err conftest.$ac_objext \
57481 conftest$ac_exeext conftest.$ac_ext
57483 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57484 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57485 if test `eval echo '${'$as_ac_var'}'` = yes; then
57486 cat >>confdefs.h <<_ACEOF
57487 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57488 _ACEOF
57491 done
57501 echo "$as_me:$LINENO: checking for float trig functions" >&5
57502 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
57503 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
57504 echo $ECHO_N "(cached) $ECHO_C" >&6
57505 else
57509 ac_ext=cc
57510 ac_cpp='$CXXCPP $CPPFLAGS'
57511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57515 cat >conftest.$ac_ext <<_ACEOF
57516 /* confdefs.h. */
57517 _ACEOF
57518 cat confdefs.h >>conftest.$ac_ext
57519 cat >>conftest.$ac_ext <<_ACEOF
57520 /* end confdefs.h. */
57521 #include <math.h>
57523 main ()
57525 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
57527 return 0;
57529 _ACEOF
57530 rm -f conftest.$ac_objext
57531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57532 (eval $ac_compile) 2>conftest.er1
57533 ac_status=$?
57534 grep -v '^ *+' conftest.er1 >conftest.err
57535 rm -f conftest.er1
57536 cat conftest.err >&5
57537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57538 (exit $ac_status); } &&
57539 { ac_try='test -z "$ac_cxx_werror_flag"
57540 || test ! -s conftest.err'
57541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57542 (eval $ac_try) 2>&5
57543 ac_status=$?
57544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57545 (exit $ac_status); }; } &&
57546 { ac_try='test -s conftest.$ac_objext'
57547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57548 (eval $ac_try) 2>&5
57549 ac_status=$?
57550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57551 (exit $ac_status); }; }; then
57552 glibcxx_cv_func_float_trig_use=yes
57553 else
57554 echo "$as_me: failed program was:" >&5
57555 sed 's/^/| /' conftest.$ac_ext >&5
57557 glibcxx_cv_func_float_trig_use=no
57559 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57560 ac_ext=c
57561 ac_cpp='$CPP $CPPFLAGS'
57562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57568 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
57569 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
57570 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
57580 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
57582 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57583 echo "$as_me:$LINENO: checking for $ac_func" >&5
57584 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57585 if eval "test \"\${$as_ac_var+set}\" = set"; then
57586 echo $ECHO_N "(cached) $ECHO_C" >&6
57587 else
57588 if test x$gcc_no_link = xyes; then
57589 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57590 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57591 { (exit 1); exit 1; }; }
57593 cat >conftest.$ac_ext <<_ACEOF
57594 /* confdefs.h. */
57595 _ACEOF
57596 cat confdefs.h >>conftest.$ac_ext
57597 cat >>conftest.$ac_ext <<_ACEOF
57598 /* end confdefs.h. */
57599 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57600 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57601 #define $ac_func innocuous_$ac_func
57603 /* System header to define __stub macros and hopefully few prototypes,
57604 which can conflict with char $ac_func (); below.
57605 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57606 <limits.h> exists even on freestanding compilers. */
57608 #ifdef __STDC__
57609 # include <limits.h>
57610 #else
57611 # include <assert.h>
57612 #endif
57614 #undef $ac_func
57616 /* Override any gcc2 internal prototype to avoid an error. */
57617 #ifdef __cplusplus
57618 extern "C"
57620 #endif
57621 /* We use char because int might match the return type of a gcc2
57622 builtin and then its argument prototype would still apply. */
57623 char $ac_func ();
57624 /* The GNU C library defines this for functions which it implements
57625 to always fail with ENOSYS. Some functions are actually named
57626 something starting with __ and the normal name is an alias. */
57627 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57628 choke me
57629 #else
57630 char (*f) () = $ac_func;
57631 #endif
57632 #ifdef __cplusplus
57634 #endif
57637 main ()
57639 return f != $ac_func;
57641 return 0;
57643 _ACEOF
57644 rm -f conftest.$ac_objext conftest$ac_exeext
57645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57646 (eval $ac_link) 2>conftest.er1
57647 ac_status=$?
57648 grep -v '^ *+' conftest.er1 >conftest.err
57649 rm -f conftest.er1
57650 cat conftest.err >&5
57651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57652 (exit $ac_status); } &&
57653 { ac_try='test -z "$ac_c_werror_flag"
57654 || test ! -s conftest.err'
57655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57656 (eval $ac_try) 2>&5
57657 ac_status=$?
57658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57659 (exit $ac_status); }; } &&
57660 { ac_try='test -s conftest$ac_exeext'
57661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57662 (eval $ac_try) 2>&5
57663 ac_status=$?
57664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57665 (exit $ac_status); }; }; then
57666 eval "$as_ac_var=yes"
57667 else
57668 echo "$as_me: failed program was:" >&5
57669 sed 's/^/| /' conftest.$ac_ext >&5
57671 eval "$as_ac_var=no"
57673 rm -f conftest.err conftest.$ac_objext \
57674 conftest$ac_exeext conftest.$ac_ext
57676 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57677 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57678 if test `eval echo '${'$as_ac_var'}'` = yes; then
57679 cat >>confdefs.h <<_ACEOF
57680 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57681 _ACEOF
57684 done
57686 else
57687 echo "$as_me:$LINENO: checking for _float trig functions" >&5
57688 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
57689 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
57690 echo $ECHO_N "(cached) $ECHO_C" >&6
57691 else
57695 ac_ext=cc
57696 ac_cpp='$CXXCPP $CPPFLAGS'
57697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57701 cat >conftest.$ac_ext <<_ACEOF
57702 /* confdefs.h. */
57703 _ACEOF
57704 cat confdefs.h >>conftest.$ac_ext
57705 cat >>conftest.$ac_ext <<_ACEOF
57706 /* end confdefs.h. */
57707 #include <math.h>
57709 main ()
57711 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
57713 return 0;
57715 _ACEOF
57716 rm -f conftest.$ac_objext
57717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57718 (eval $ac_compile) 2>conftest.er1
57719 ac_status=$?
57720 grep -v '^ *+' conftest.er1 >conftest.err
57721 rm -f conftest.er1
57722 cat conftest.err >&5
57723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57724 (exit $ac_status); } &&
57725 { ac_try='test -z "$ac_cxx_werror_flag"
57726 || test ! -s conftest.err'
57727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57728 (eval $ac_try) 2>&5
57729 ac_status=$?
57730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57731 (exit $ac_status); }; } &&
57732 { ac_try='test -s conftest.$ac_objext'
57733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57734 (eval $ac_try) 2>&5
57735 ac_status=$?
57736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57737 (exit $ac_status); }; }; then
57738 glibcxx_cv_func__float_trig_use=yes
57739 else
57740 echo "$as_me: failed program was:" >&5
57741 sed 's/^/| /' conftest.$ac_ext >&5
57743 glibcxx_cv_func__float_trig_use=no
57745 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57746 ac_ext=c
57747 ac_cpp='$CPP $CPPFLAGS'
57748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57754 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
57755 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
57756 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
57766 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
57768 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57769 echo "$as_me:$LINENO: checking for $ac_func" >&5
57770 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57771 if eval "test \"\${$as_ac_var+set}\" = set"; then
57772 echo $ECHO_N "(cached) $ECHO_C" >&6
57773 else
57774 if test x$gcc_no_link = xyes; then
57775 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57776 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57777 { (exit 1); exit 1; }; }
57779 cat >conftest.$ac_ext <<_ACEOF
57780 /* confdefs.h. */
57781 _ACEOF
57782 cat confdefs.h >>conftest.$ac_ext
57783 cat >>conftest.$ac_ext <<_ACEOF
57784 /* end confdefs.h. */
57785 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57786 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57787 #define $ac_func innocuous_$ac_func
57789 /* System header to define __stub macros and hopefully few prototypes,
57790 which can conflict with char $ac_func (); below.
57791 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57792 <limits.h> exists even on freestanding compilers. */
57794 #ifdef __STDC__
57795 # include <limits.h>
57796 #else
57797 # include <assert.h>
57798 #endif
57800 #undef $ac_func
57802 /* Override any gcc2 internal prototype to avoid an error. */
57803 #ifdef __cplusplus
57804 extern "C"
57806 #endif
57807 /* We use char because int might match the return type of a gcc2
57808 builtin and then its argument prototype would still apply. */
57809 char $ac_func ();
57810 /* The GNU C library defines this for functions which it implements
57811 to always fail with ENOSYS. Some functions are actually named
57812 something starting with __ and the normal name is an alias. */
57813 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57814 choke me
57815 #else
57816 char (*f) () = $ac_func;
57817 #endif
57818 #ifdef __cplusplus
57820 #endif
57823 main ()
57825 return f != $ac_func;
57827 return 0;
57829 _ACEOF
57830 rm -f conftest.$ac_objext conftest$ac_exeext
57831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57832 (eval $ac_link) 2>conftest.er1
57833 ac_status=$?
57834 grep -v '^ *+' conftest.er1 >conftest.err
57835 rm -f conftest.er1
57836 cat conftest.err >&5
57837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57838 (exit $ac_status); } &&
57839 { ac_try='test -z "$ac_c_werror_flag"
57840 || test ! -s conftest.err'
57841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57842 (eval $ac_try) 2>&5
57843 ac_status=$?
57844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57845 (exit $ac_status); }; } &&
57846 { ac_try='test -s conftest$ac_exeext'
57847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57848 (eval $ac_try) 2>&5
57849 ac_status=$?
57850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57851 (exit $ac_status); }; }; then
57852 eval "$as_ac_var=yes"
57853 else
57854 echo "$as_me: failed program was:" >&5
57855 sed 's/^/| /' conftest.$ac_ext >&5
57857 eval "$as_ac_var=no"
57859 rm -f conftest.err conftest.$ac_objext \
57860 conftest$ac_exeext conftest.$ac_ext
57862 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57863 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57864 if test `eval echo '${'$as_ac_var'}'` = yes; then
57865 cat >>confdefs.h <<_ACEOF
57866 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57867 _ACEOF
57870 done
57888 echo "$as_me:$LINENO: checking for float round functions" >&5
57889 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
57890 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
57891 echo $ECHO_N "(cached) $ECHO_C" >&6
57892 else
57896 ac_ext=cc
57897 ac_cpp='$CXXCPP $CPPFLAGS'
57898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57902 cat >conftest.$ac_ext <<_ACEOF
57903 /* confdefs.h. */
57904 _ACEOF
57905 cat confdefs.h >>conftest.$ac_ext
57906 cat >>conftest.$ac_ext <<_ACEOF
57907 /* end confdefs.h. */
57908 #include <math.h>
57910 main ()
57912 ceilf (0); floorf (0);
57914 return 0;
57916 _ACEOF
57917 rm -f conftest.$ac_objext
57918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57919 (eval $ac_compile) 2>conftest.er1
57920 ac_status=$?
57921 grep -v '^ *+' conftest.er1 >conftest.err
57922 rm -f conftest.er1
57923 cat conftest.err >&5
57924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57925 (exit $ac_status); } &&
57926 { ac_try='test -z "$ac_cxx_werror_flag"
57927 || test ! -s conftest.err'
57928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57929 (eval $ac_try) 2>&5
57930 ac_status=$?
57931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57932 (exit $ac_status); }; } &&
57933 { ac_try='test -s conftest.$ac_objext'
57934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57935 (eval $ac_try) 2>&5
57936 ac_status=$?
57937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57938 (exit $ac_status); }; }; then
57939 glibcxx_cv_func_float_round_use=yes
57940 else
57941 echo "$as_me: failed program was:" >&5
57942 sed 's/^/| /' conftest.$ac_ext >&5
57944 glibcxx_cv_func_float_round_use=no
57946 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57947 ac_ext=c
57948 ac_cpp='$CPP $CPPFLAGS'
57949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57955 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
57956 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
57957 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
57960 for ac_func in ceilf floorf
57962 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57963 echo "$as_me:$LINENO: checking for $ac_func" >&5
57964 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57965 if eval "test \"\${$as_ac_var+set}\" = set"; then
57966 echo $ECHO_N "(cached) $ECHO_C" >&6
57967 else
57968 if test x$gcc_no_link = xyes; then
57969 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57970 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57971 { (exit 1); exit 1; }; }
57973 cat >conftest.$ac_ext <<_ACEOF
57974 /* confdefs.h. */
57975 _ACEOF
57976 cat confdefs.h >>conftest.$ac_ext
57977 cat >>conftest.$ac_ext <<_ACEOF
57978 /* end confdefs.h. */
57979 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57980 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57981 #define $ac_func innocuous_$ac_func
57983 /* System header to define __stub macros and hopefully few prototypes,
57984 which can conflict with char $ac_func (); below.
57985 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57986 <limits.h> exists even on freestanding compilers. */
57988 #ifdef __STDC__
57989 # include <limits.h>
57990 #else
57991 # include <assert.h>
57992 #endif
57994 #undef $ac_func
57996 /* Override any gcc2 internal prototype to avoid an error. */
57997 #ifdef __cplusplus
57998 extern "C"
58000 #endif
58001 /* We use char because int might match the return type of a gcc2
58002 builtin and then its argument prototype would still apply. */
58003 char $ac_func ();
58004 /* The GNU C library defines this for functions which it implements
58005 to always fail with ENOSYS. Some functions are actually named
58006 something starting with __ and the normal name is an alias. */
58007 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58008 choke me
58009 #else
58010 char (*f) () = $ac_func;
58011 #endif
58012 #ifdef __cplusplus
58014 #endif
58017 main ()
58019 return f != $ac_func;
58021 return 0;
58023 _ACEOF
58024 rm -f conftest.$ac_objext conftest$ac_exeext
58025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58026 (eval $ac_link) 2>conftest.er1
58027 ac_status=$?
58028 grep -v '^ *+' conftest.er1 >conftest.err
58029 rm -f conftest.er1
58030 cat conftest.err >&5
58031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58032 (exit $ac_status); } &&
58033 { ac_try='test -z "$ac_c_werror_flag"
58034 || test ! -s conftest.err'
58035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58036 (eval $ac_try) 2>&5
58037 ac_status=$?
58038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58039 (exit $ac_status); }; } &&
58040 { ac_try='test -s conftest$ac_exeext'
58041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58042 (eval $ac_try) 2>&5
58043 ac_status=$?
58044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58045 (exit $ac_status); }; }; then
58046 eval "$as_ac_var=yes"
58047 else
58048 echo "$as_me: failed program was:" >&5
58049 sed 's/^/| /' conftest.$ac_ext >&5
58051 eval "$as_ac_var=no"
58053 rm -f conftest.err conftest.$ac_objext \
58054 conftest$ac_exeext conftest.$ac_ext
58056 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58057 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58058 if test `eval echo '${'$as_ac_var'}'` = yes; then
58059 cat >>confdefs.h <<_ACEOF
58060 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58061 _ACEOF
58064 done
58066 else
58067 echo "$as_me:$LINENO: checking for _float round functions" >&5
58068 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
58069 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
58070 echo $ECHO_N "(cached) $ECHO_C" >&6
58071 else
58075 ac_ext=cc
58076 ac_cpp='$CXXCPP $CPPFLAGS'
58077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58081 cat >conftest.$ac_ext <<_ACEOF
58082 /* confdefs.h. */
58083 _ACEOF
58084 cat confdefs.h >>conftest.$ac_ext
58085 cat >>conftest.$ac_ext <<_ACEOF
58086 /* end confdefs.h. */
58087 #include <math.h>
58089 main ()
58091 _ceilf (0); _floorf (0);
58093 return 0;
58095 _ACEOF
58096 rm -f conftest.$ac_objext
58097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58098 (eval $ac_compile) 2>conftest.er1
58099 ac_status=$?
58100 grep -v '^ *+' conftest.er1 >conftest.err
58101 rm -f conftest.er1
58102 cat conftest.err >&5
58103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58104 (exit $ac_status); } &&
58105 { ac_try='test -z "$ac_cxx_werror_flag"
58106 || test ! -s conftest.err'
58107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58108 (eval $ac_try) 2>&5
58109 ac_status=$?
58110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58111 (exit $ac_status); }; } &&
58112 { ac_try='test -s conftest.$ac_objext'
58113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58114 (eval $ac_try) 2>&5
58115 ac_status=$?
58116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58117 (exit $ac_status); }; }; then
58118 glibcxx_cv_func__float_round_use=yes
58119 else
58120 echo "$as_me: failed program was:" >&5
58121 sed 's/^/| /' conftest.$ac_ext >&5
58123 glibcxx_cv_func__float_round_use=no
58125 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58126 ac_ext=c
58127 ac_cpp='$CPP $CPPFLAGS'
58128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58134 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
58135 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
58136 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
58139 for ac_func in _ceilf _floorf
58141 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58142 echo "$as_me:$LINENO: checking for $ac_func" >&5
58143 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58144 if eval "test \"\${$as_ac_var+set}\" = set"; then
58145 echo $ECHO_N "(cached) $ECHO_C" >&6
58146 else
58147 if test x$gcc_no_link = xyes; then
58148 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58149 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58150 { (exit 1); exit 1; }; }
58152 cat >conftest.$ac_ext <<_ACEOF
58153 /* confdefs.h. */
58154 _ACEOF
58155 cat confdefs.h >>conftest.$ac_ext
58156 cat >>conftest.$ac_ext <<_ACEOF
58157 /* end confdefs.h. */
58158 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58159 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58160 #define $ac_func innocuous_$ac_func
58162 /* System header to define __stub macros and hopefully few prototypes,
58163 which can conflict with char $ac_func (); below.
58164 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58165 <limits.h> exists even on freestanding compilers. */
58167 #ifdef __STDC__
58168 # include <limits.h>
58169 #else
58170 # include <assert.h>
58171 #endif
58173 #undef $ac_func
58175 /* Override any gcc2 internal prototype to avoid an error. */
58176 #ifdef __cplusplus
58177 extern "C"
58179 #endif
58180 /* We use char because int might match the return type of a gcc2
58181 builtin and then its argument prototype would still apply. */
58182 char $ac_func ();
58183 /* The GNU C library defines this for functions which it implements
58184 to always fail with ENOSYS. Some functions are actually named
58185 something starting with __ and the normal name is an alias. */
58186 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58187 choke me
58188 #else
58189 char (*f) () = $ac_func;
58190 #endif
58191 #ifdef __cplusplus
58193 #endif
58196 main ()
58198 return f != $ac_func;
58200 return 0;
58202 _ACEOF
58203 rm -f conftest.$ac_objext conftest$ac_exeext
58204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58205 (eval $ac_link) 2>conftest.er1
58206 ac_status=$?
58207 grep -v '^ *+' conftest.er1 >conftest.err
58208 rm -f conftest.er1
58209 cat conftest.err >&5
58210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58211 (exit $ac_status); } &&
58212 { ac_try='test -z "$ac_c_werror_flag"
58213 || test ! -s conftest.err'
58214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58215 (eval $ac_try) 2>&5
58216 ac_status=$?
58217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58218 (exit $ac_status); }; } &&
58219 { ac_try='test -s conftest$ac_exeext'
58220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58221 (eval $ac_try) 2>&5
58222 ac_status=$?
58223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58224 (exit $ac_status); }; }; then
58225 eval "$as_ac_var=yes"
58226 else
58227 echo "$as_me: failed program was:" >&5
58228 sed 's/^/| /' conftest.$ac_ext >&5
58230 eval "$as_ac_var=no"
58232 rm -f conftest.err conftest.$ac_objext \
58233 conftest$ac_exeext conftest.$ac_ext
58235 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58236 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58237 if test `eval echo '${'$as_ac_var'}'` = yes; then
58238 cat >>confdefs.h <<_ACEOF
58239 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58240 _ACEOF
58243 done
58255 echo "$as_me:$LINENO: checking for expf declaration" >&5
58256 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
58257 if test x${glibcxx_cv_func_expf_use+set} != xset; then
58258 if test "${glibcxx_cv_func_expf_use+set}" = set; then
58259 echo $ECHO_N "(cached) $ECHO_C" >&6
58260 else
58264 ac_ext=cc
58265 ac_cpp='$CXXCPP $CPPFLAGS'
58266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58270 cat >conftest.$ac_ext <<_ACEOF
58271 /* confdefs.h. */
58272 _ACEOF
58273 cat confdefs.h >>conftest.$ac_ext
58274 cat >>conftest.$ac_ext <<_ACEOF
58275 /* end confdefs.h. */
58276 #include <math.h>
58277 #ifdef HAVE_IEEEFP_H
58278 #include <ieeefp.h>
58279 #endif
58282 main ()
58284 expf(0);
58286 return 0;
58288 _ACEOF
58289 rm -f conftest.$ac_objext
58290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58291 (eval $ac_compile) 2>conftest.er1
58292 ac_status=$?
58293 grep -v '^ *+' conftest.er1 >conftest.err
58294 rm -f conftest.er1
58295 cat conftest.err >&5
58296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58297 (exit $ac_status); } &&
58298 { ac_try='test -z "$ac_cxx_werror_flag"
58299 || test ! -s conftest.err'
58300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58301 (eval $ac_try) 2>&5
58302 ac_status=$?
58303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58304 (exit $ac_status); }; } &&
58305 { ac_try='test -s conftest.$ac_objext'
58306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58307 (eval $ac_try) 2>&5
58308 ac_status=$?
58309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58310 (exit $ac_status); }; }; then
58311 glibcxx_cv_func_expf_use=yes
58312 else
58313 echo "$as_me: failed program was:" >&5
58314 sed 's/^/| /' conftest.$ac_ext >&5
58316 glibcxx_cv_func_expf_use=no
58318 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58319 ac_ext=c
58320 ac_cpp='$CPP $CPPFLAGS'
58321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58329 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
58330 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
58332 if test x$glibcxx_cv_func_expf_use = x"yes"; then
58334 for ac_func in expf
58336 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58337 echo "$as_me:$LINENO: checking for $ac_func" >&5
58338 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58339 if eval "test \"\${$as_ac_var+set}\" = set"; then
58340 echo $ECHO_N "(cached) $ECHO_C" >&6
58341 else
58342 if test x$gcc_no_link = xyes; then
58343 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58344 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58345 { (exit 1); exit 1; }; }
58347 cat >conftest.$ac_ext <<_ACEOF
58348 /* confdefs.h. */
58349 _ACEOF
58350 cat confdefs.h >>conftest.$ac_ext
58351 cat >>conftest.$ac_ext <<_ACEOF
58352 /* end confdefs.h. */
58353 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58354 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58355 #define $ac_func innocuous_$ac_func
58357 /* System header to define __stub macros and hopefully few prototypes,
58358 which can conflict with char $ac_func (); below.
58359 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58360 <limits.h> exists even on freestanding compilers. */
58362 #ifdef __STDC__
58363 # include <limits.h>
58364 #else
58365 # include <assert.h>
58366 #endif
58368 #undef $ac_func
58370 /* Override any gcc2 internal prototype to avoid an error. */
58371 #ifdef __cplusplus
58372 extern "C"
58374 #endif
58375 /* We use char because int might match the return type of a gcc2
58376 builtin and then its argument prototype would still apply. */
58377 char $ac_func ();
58378 /* The GNU C library defines this for functions which it implements
58379 to always fail with ENOSYS. Some functions are actually named
58380 something starting with __ and the normal name is an alias. */
58381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58382 choke me
58383 #else
58384 char (*f) () = $ac_func;
58385 #endif
58386 #ifdef __cplusplus
58388 #endif
58391 main ()
58393 return f != $ac_func;
58395 return 0;
58397 _ACEOF
58398 rm -f conftest.$ac_objext conftest$ac_exeext
58399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58400 (eval $ac_link) 2>conftest.er1
58401 ac_status=$?
58402 grep -v '^ *+' conftest.er1 >conftest.err
58403 rm -f conftest.er1
58404 cat conftest.err >&5
58405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58406 (exit $ac_status); } &&
58407 { ac_try='test -z "$ac_c_werror_flag"
58408 || test ! -s conftest.err'
58409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58410 (eval $ac_try) 2>&5
58411 ac_status=$?
58412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58413 (exit $ac_status); }; } &&
58414 { ac_try='test -s conftest$ac_exeext'
58415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58416 (eval $ac_try) 2>&5
58417 ac_status=$?
58418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58419 (exit $ac_status); }; }; then
58420 eval "$as_ac_var=yes"
58421 else
58422 echo "$as_me: failed program was:" >&5
58423 sed 's/^/| /' conftest.$ac_ext >&5
58425 eval "$as_ac_var=no"
58427 rm -f conftest.err conftest.$ac_objext \
58428 conftest$ac_exeext conftest.$ac_ext
58430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58431 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58432 if test `eval echo '${'$as_ac_var'}'` = yes; then
58433 cat >>confdefs.h <<_ACEOF
58434 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58435 _ACEOF
58438 done
58440 else
58442 echo "$as_me:$LINENO: checking for _expf declaration" >&5
58443 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
58444 if test x${glibcxx_cv_func__expf_use+set} != xset; then
58445 if test "${glibcxx_cv_func__expf_use+set}" = set; then
58446 echo $ECHO_N "(cached) $ECHO_C" >&6
58447 else
58451 ac_ext=cc
58452 ac_cpp='$CXXCPP $CPPFLAGS'
58453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58457 cat >conftest.$ac_ext <<_ACEOF
58458 /* confdefs.h. */
58459 _ACEOF
58460 cat confdefs.h >>conftest.$ac_ext
58461 cat >>conftest.$ac_ext <<_ACEOF
58462 /* end confdefs.h. */
58463 #include <math.h>
58464 #ifdef HAVE_IEEEFP_H
58465 #include <ieeefp.h>
58466 #endif
58469 main ()
58471 _expf(0);
58473 return 0;
58475 _ACEOF
58476 rm -f conftest.$ac_objext
58477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58478 (eval $ac_compile) 2>conftest.er1
58479 ac_status=$?
58480 grep -v '^ *+' conftest.er1 >conftest.err
58481 rm -f conftest.er1
58482 cat conftest.err >&5
58483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58484 (exit $ac_status); } &&
58485 { ac_try='test -z "$ac_cxx_werror_flag"
58486 || test ! -s conftest.err'
58487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58488 (eval $ac_try) 2>&5
58489 ac_status=$?
58490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58491 (exit $ac_status); }; } &&
58492 { ac_try='test -s conftest.$ac_objext'
58493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58494 (eval $ac_try) 2>&5
58495 ac_status=$?
58496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58497 (exit $ac_status); }; }; then
58498 glibcxx_cv_func__expf_use=yes
58499 else
58500 echo "$as_me: failed program was:" >&5
58501 sed 's/^/| /' conftest.$ac_ext >&5
58503 glibcxx_cv_func__expf_use=no
58505 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58506 ac_ext=c
58507 ac_cpp='$CPP $CPPFLAGS'
58508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58516 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
58517 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
58519 if test x$glibcxx_cv_func__expf_use = x"yes"; then
58521 for ac_func in _expf
58523 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58524 echo "$as_me:$LINENO: checking for $ac_func" >&5
58525 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58526 if eval "test \"\${$as_ac_var+set}\" = set"; then
58527 echo $ECHO_N "(cached) $ECHO_C" >&6
58528 else
58529 if test x$gcc_no_link = xyes; then
58530 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58531 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58532 { (exit 1); exit 1; }; }
58534 cat >conftest.$ac_ext <<_ACEOF
58535 /* confdefs.h. */
58536 _ACEOF
58537 cat confdefs.h >>conftest.$ac_ext
58538 cat >>conftest.$ac_ext <<_ACEOF
58539 /* end confdefs.h. */
58540 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58541 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58542 #define $ac_func innocuous_$ac_func
58544 /* System header to define __stub macros and hopefully few prototypes,
58545 which can conflict with char $ac_func (); below.
58546 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58547 <limits.h> exists even on freestanding compilers. */
58549 #ifdef __STDC__
58550 # include <limits.h>
58551 #else
58552 # include <assert.h>
58553 #endif
58555 #undef $ac_func
58557 /* Override any gcc2 internal prototype to avoid an error. */
58558 #ifdef __cplusplus
58559 extern "C"
58561 #endif
58562 /* We use char because int might match the return type of a gcc2
58563 builtin and then its argument prototype would still apply. */
58564 char $ac_func ();
58565 /* The GNU C library defines this for functions which it implements
58566 to always fail with ENOSYS. Some functions are actually named
58567 something starting with __ and the normal name is an alias. */
58568 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58569 choke me
58570 #else
58571 char (*f) () = $ac_func;
58572 #endif
58573 #ifdef __cplusplus
58575 #endif
58578 main ()
58580 return f != $ac_func;
58582 return 0;
58584 _ACEOF
58585 rm -f conftest.$ac_objext conftest$ac_exeext
58586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58587 (eval $ac_link) 2>conftest.er1
58588 ac_status=$?
58589 grep -v '^ *+' conftest.er1 >conftest.err
58590 rm -f conftest.er1
58591 cat conftest.err >&5
58592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58593 (exit $ac_status); } &&
58594 { ac_try='test -z "$ac_c_werror_flag"
58595 || test ! -s conftest.err'
58596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58597 (eval $ac_try) 2>&5
58598 ac_status=$?
58599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58600 (exit $ac_status); }; } &&
58601 { ac_try='test -s conftest$ac_exeext'
58602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58603 (eval $ac_try) 2>&5
58604 ac_status=$?
58605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58606 (exit $ac_status); }; }; then
58607 eval "$as_ac_var=yes"
58608 else
58609 echo "$as_me: failed program was:" >&5
58610 sed 's/^/| /' conftest.$ac_ext >&5
58612 eval "$as_ac_var=no"
58614 rm -f conftest.err conftest.$ac_objext \
58615 conftest$ac_exeext conftest.$ac_ext
58617 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58618 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58619 if test `eval echo '${'$as_ac_var'}'` = yes; then
58620 cat >>confdefs.h <<_ACEOF
58621 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58622 _ACEOF
58625 done
58635 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
58636 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
58637 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
58638 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
58639 echo $ECHO_N "(cached) $ECHO_C" >&6
58640 else
58644 ac_ext=cc
58645 ac_cpp='$CXXCPP $CPPFLAGS'
58646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58650 cat >conftest.$ac_ext <<_ACEOF
58651 /* confdefs.h. */
58652 _ACEOF
58653 cat confdefs.h >>conftest.$ac_ext
58654 cat >>conftest.$ac_ext <<_ACEOF
58655 /* end confdefs.h. */
58656 #include <math.h>
58657 #ifdef HAVE_IEEEFP_H
58658 #include <ieeefp.h>
58659 #endif
58662 main ()
58664 isnanf(0);
58666 return 0;
58668 _ACEOF
58669 rm -f conftest.$ac_objext
58670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58671 (eval $ac_compile) 2>conftest.er1
58672 ac_status=$?
58673 grep -v '^ *+' conftest.er1 >conftest.err
58674 rm -f conftest.er1
58675 cat conftest.err >&5
58676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58677 (exit $ac_status); } &&
58678 { ac_try='test -z "$ac_cxx_werror_flag"
58679 || test ! -s conftest.err'
58680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58681 (eval $ac_try) 2>&5
58682 ac_status=$?
58683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58684 (exit $ac_status); }; } &&
58685 { ac_try='test -s conftest.$ac_objext'
58686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58687 (eval $ac_try) 2>&5
58688 ac_status=$?
58689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58690 (exit $ac_status); }; }; then
58691 glibcxx_cv_func_isnanf_use=yes
58692 else
58693 echo "$as_me: failed program was:" >&5
58694 sed 's/^/| /' conftest.$ac_ext >&5
58696 glibcxx_cv_func_isnanf_use=no
58698 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58699 ac_ext=c
58700 ac_cpp='$CPP $CPPFLAGS'
58701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58709 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
58710 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
58712 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
58714 for ac_func in isnanf
58716 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58717 echo "$as_me:$LINENO: checking for $ac_func" >&5
58718 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58719 if eval "test \"\${$as_ac_var+set}\" = set"; then
58720 echo $ECHO_N "(cached) $ECHO_C" >&6
58721 else
58722 if test x$gcc_no_link = xyes; then
58723 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58724 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58725 { (exit 1); exit 1; }; }
58727 cat >conftest.$ac_ext <<_ACEOF
58728 /* confdefs.h. */
58729 _ACEOF
58730 cat confdefs.h >>conftest.$ac_ext
58731 cat >>conftest.$ac_ext <<_ACEOF
58732 /* end confdefs.h. */
58733 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58734 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58735 #define $ac_func innocuous_$ac_func
58737 /* System header to define __stub macros and hopefully few prototypes,
58738 which can conflict with char $ac_func (); below.
58739 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58740 <limits.h> exists even on freestanding compilers. */
58742 #ifdef __STDC__
58743 # include <limits.h>
58744 #else
58745 # include <assert.h>
58746 #endif
58748 #undef $ac_func
58750 /* Override any gcc2 internal prototype to avoid an error. */
58751 #ifdef __cplusplus
58752 extern "C"
58754 #endif
58755 /* We use char because int might match the return type of a gcc2
58756 builtin and then its argument prototype would still apply. */
58757 char $ac_func ();
58758 /* The GNU C library defines this for functions which it implements
58759 to always fail with ENOSYS. Some functions are actually named
58760 something starting with __ and the normal name is an alias. */
58761 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58762 choke me
58763 #else
58764 char (*f) () = $ac_func;
58765 #endif
58766 #ifdef __cplusplus
58768 #endif
58771 main ()
58773 return f != $ac_func;
58775 return 0;
58777 _ACEOF
58778 rm -f conftest.$ac_objext conftest$ac_exeext
58779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58780 (eval $ac_link) 2>conftest.er1
58781 ac_status=$?
58782 grep -v '^ *+' conftest.er1 >conftest.err
58783 rm -f conftest.er1
58784 cat conftest.err >&5
58785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58786 (exit $ac_status); } &&
58787 { ac_try='test -z "$ac_c_werror_flag"
58788 || test ! -s conftest.err'
58789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58790 (eval $ac_try) 2>&5
58791 ac_status=$?
58792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58793 (exit $ac_status); }; } &&
58794 { ac_try='test -s conftest$ac_exeext'
58795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58796 (eval $ac_try) 2>&5
58797 ac_status=$?
58798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58799 (exit $ac_status); }; }; then
58800 eval "$as_ac_var=yes"
58801 else
58802 echo "$as_me: failed program was:" >&5
58803 sed 's/^/| /' conftest.$ac_ext >&5
58805 eval "$as_ac_var=no"
58807 rm -f conftest.err conftest.$ac_objext \
58808 conftest$ac_exeext conftest.$ac_ext
58810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58811 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58812 if test `eval echo '${'$as_ac_var'}'` = yes; then
58813 cat >>confdefs.h <<_ACEOF
58814 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58815 _ACEOF
58818 done
58820 else
58822 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
58823 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
58824 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
58825 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
58826 echo $ECHO_N "(cached) $ECHO_C" >&6
58827 else
58831 ac_ext=cc
58832 ac_cpp='$CXXCPP $CPPFLAGS'
58833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58837 cat >conftest.$ac_ext <<_ACEOF
58838 /* confdefs.h. */
58839 _ACEOF
58840 cat confdefs.h >>conftest.$ac_ext
58841 cat >>conftest.$ac_ext <<_ACEOF
58842 /* end confdefs.h. */
58843 #include <math.h>
58844 #ifdef HAVE_IEEEFP_H
58845 #include <ieeefp.h>
58846 #endif
58849 main ()
58851 _isnanf(0);
58853 return 0;
58855 _ACEOF
58856 rm -f conftest.$ac_objext
58857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58858 (eval $ac_compile) 2>conftest.er1
58859 ac_status=$?
58860 grep -v '^ *+' conftest.er1 >conftest.err
58861 rm -f conftest.er1
58862 cat conftest.err >&5
58863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58864 (exit $ac_status); } &&
58865 { ac_try='test -z "$ac_cxx_werror_flag"
58866 || test ! -s conftest.err'
58867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58868 (eval $ac_try) 2>&5
58869 ac_status=$?
58870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58871 (exit $ac_status); }; } &&
58872 { ac_try='test -s conftest.$ac_objext'
58873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58874 (eval $ac_try) 2>&5
58875 ac_status=$?
58876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58877 (exit $ac_status); }; }; then
58878 glibcxx_cv_func__isnanf_use=yes
58879 else
58880 echo "$as_me: failed program was:" >&5
58881 sed 's/^/| /' conftest.$ac_ext >&5
58883 glibcxx_cv_func__isnanf_use=no
58885 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58886 ac_ext=c
58887 ac_cpp='$CPP $CPPFLAGS'
58888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58896 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
58897 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
58899 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
58901 for ac_func in _isnanf
58903 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58904 echo "$as_me:$LINENO: checking for $ac_func" >&5
58905 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58906 if eval "test \"\${$as_ac_var+set}\" = set"; then
58907 echo $ECHO_N "(cached) $ECHO_C" >&6
58908 else
58909 if test x$gcc_no_link = xyes; then
58910 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58911 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58912 { (exit 1); exit 1; }; }
58914 cat >conftest.$ac_ext <<_ACEOF
58915 /* confdefs.h. */
58916 _ACEOF
58917 cat confdefs.h >>conftest.$ac_ext
58918 cat >>conftest.$ac_ext <<_ACEOF
58919 /* end confdefs.h. */
58920 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58921 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58922 #define $ac_func innocuous_$ac_func
58924 /* System header to define __stub macros and hopefully few prototypes,
58925 which can conflict with char $ac_func (); below.
58926 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58927 <limits.h> exists even on freestanding compilers. */
58929 #ifdef __STDC__
58930 # include <limits.h>
58931 #else
58932 # include <assert.h>
58933 #endif
58935 #undef $ac_func
58937 /* Override any gcc2 internal prototype to avoid an error. */
58938 #ifdef __cplusplus
58939 extern "C"
58941 #endif
58942 /* We use char because int might match the return type of a gcc2
58943 builtin and then its argument prototype would still apply. */
58944 char $ac_func ();
58945 /* The GNU C library defines this for functions which it implements
58946 to always fail with ENOSYS. Some functions are actually named
58947 something starting with __ and the normal name is an alias. */
58948 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58949 choke me
58950 #else
58951 char (*f) () = $ac_func;
58952 #endif
58953 #ifdef __cplusplus
58955 #endif
58958 main ()
58960 return f != $ac_func;
58962 return 0;
58964 _ACEOF
58965 rm -f conftest.$ac_objext conftest$ac_exeext
58966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58967 (eval $ac_link) 2>conftest.er1
58968 ac_status=$?
58969 grep -v '^ *+' conftest.er1 >conftest.err
58970 rm -f conftest.er1
58971 cat conftest.err >&5
58972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58973 (exit $ac_status); } &&
58974 { ac_try='test -z "$ac_c_werror_flag"
58975 || test ! -s conftest.err'
58976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58977 (eval $ac_try) 2>&5
58978 ac_status=$?
58979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58980 (exit $ac_status); }; } &&
58981 { ac_try='test -s conftest$ac_exeext'
58982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58983 (eval $ac_try) 2>&5
58984 ac_status=$?
58985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58986 (exit $ac_status); }; }; then
58987 eval "$as_ac_var=yes"
58988 else
58989 echo "$as_me: failed program was:" >&5
58990 sed 's/^/| /' conftest.$ac_ext >&5
58992 eval "$as_ac_var=no"
58994 rm -f conftest.err conftest.$ac_objext \
58995 conftest$ac_exeext conftest.$ac_ext
58997 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58998 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58999 if test `eval echo '${'$as_ac_var'}'` = yes; then
59000 cat >>confdefs.h <<_ACEOF
59001 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59002 _ACEOF
59005 done
59015 echo "$as_me:$LINENO: checking for isinff declaration" >&5
59016 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
59017 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
59018 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
59019 echo $ECHO_N "(cached) $ECHO_C" >&6
59020 else
59024 ac_ext=cc
59025 ac_cpp='$CXXCPP $CPPFLAGS'
59026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59030 cat >conftest.$ac_ext <<_ACEOF
59031 /* confdefs.h. */
59032 _ACEOF
59033 cat confdefs.h >>conftest.$ac_ext
59034 cat >>conftest.$ac_ext <<_ACEOF
59035 /* end confdefs.h. */
59036 #include <math.h>
59037 #ifdef HAVE_IEEEFP_H
59038 #include <ieeefp.h>
59039 #endif
59042 main ()
59044 isinff(0);
59046 return 0;
59048 _ACEOF
59049 rm -f conftest.$ac_objext
59050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59051 (eval $ac_compile) 2>conftest.er1
59052 ac_status=$?
59053 grep -v '^ *+' conftest.er1 >conftest.err
59054 rm -f conftest.er1
59055 cat conftest.err >&5
59056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59057 (exit $ac_status); } &&
59058 { ac_try='test -z "$ac_cxx_werror_flag"
59059 || test ! -s conftest.err'
59060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59061 (eval $ac_try) 2>&5
59062 ac_status=$?
59063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59064 (exit $ac_status); }; } &&
59065 { ac_try='test -s conftest.$ac_objext'
59066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59067 (eval $ac_try) 2>&5
59068 ac_status=$?
59069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59070 (exit $ac_status); }; }; then
59071 glibcxx_cv_func_isinff_use=yes
59072 else
59073 echo "$as_me: failed program was:" >&5
59074 sed 's/^/| /' conftest.$ac_ext >&5
59076 glibcxx_cv_func_isinff_use=no
59078 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59079 ac_ext=c
59080 ac_cpp='$CPP $CPPFLAGS'
59081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59089 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
59090 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
59092 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
59094 for ac_func in isinff
59096 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59097 echo "$as_me:$LINENO: checking for $ac_func" >&5
59098 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59099 if eval "test \"\${$as_ac_var+set}\" = set"; then
59100 echo $ECHO_N "(cached) $ECHO_C" >&6
59101 else
59102 if test x$gcc_no_link = xyes; then
59103 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59104 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59105 { (exit 1); exit 1; }; }
59107 cat >conftest.$ac_ext <<_ACEOF
59108 /* confdefs.h. */
59109 _ACEOF
59110 cat confdefs.h >>conftest.$ac_ext
59111 cat >>conftest.$ac_ext <<_ACEOF
59112 /* end confdefs.h. */
59113 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59114 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59115 #define $ac_func innocuous_$ac_func
59117 /* System header to define __stub macros and hopefully few prototypes,
59118 which can conflict with char $ac_func (); below.
59119 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59120 <limits.h> exists even on freestanding compilers. */
59122 #ifdef __STDC__
59123 # include <limits.h>
59124 #else
59125 # include <assert.h>
59126 #endif
59128 #undef $ac_func
59130 /* Override any gcc2 internal prototype to avoid an error. */
59131 #ifdef __cplusplus
59132 extern "C"
59134 #endif
59135 /* We use char because int might match the return type of a gcc2
59136 builtin and then its argument prototype would still apply. */
59137 char $ac_func ();
59138 /* The GNU C library defines this for functions which it implements
59139 to always fail with ENOSYS. Some functions are actually named
59140 something starting with __ and the normal name is an alias. */
59141 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59142 choke me
59143 #else
59144 char (*f) () = $ac_func;
59145 #endif
59146 #ifdef __cplusplus
59148 #endif
59151 main ()
59153 return f != $ac_func;
59155 return 0;
59157 _ACEOF
59158 rm -f conftest.$ac_objext conftest$ac_exeext
59159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59160 (eval $ac_link) 2>conftest.er1
59161 ac_status=$?
59162 grep -v '^ *+' conftest.er1 >conftest.err
59163 rm -f conftest.er1
59164 cat conftest.err >&5
59165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59166 (exit $ac_status); } &&
59167 { ac_try='test -z "$ac_c_werror_flag"
59168 || test ! -s conftest.err'
59169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59170 (eval $ac_try) 2>&5
59171 ac_status=$?
59172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59173 (exit $ac_status); }; } &&
59174 { ac_try='test -s conftest$ac_exeext'
59175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59176 (eval $ac_try) 2>&5
59177 ac_status=$?
59178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59179 (exit $ac_status); }; }; then
59180 eval "$as_ac_var=yes"
59181 else
59182 echo "$as_me: failed program was:" >&5
59183 sed 's/^/| /' conftest.$ac_ext >&5
59185 eval "$as_ac_var=no"
59187 rm -f conftest.err conftest.$ac_objext \
59188 conftest$ac_exeext conftest.$ac_ext
59190 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59191 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59192 if test `eval echo '${'$as_ac_var'}'` = yes; then
59193 cat >>confdefs.h <<_ACEOF
59194 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59195 _ACEOF
59198 done
59200 else
59202 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
59203 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
59204 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
59205 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
59206 echo $ECHO_N "(cached) $ECHO_C" >&6
59207 else
59211 ac_ext=cc
59212 ac_cpp='$CXXCPP $CPPFLAGS'
59213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59217 cat >conftest.$ac_ext <<_ACEOF
59218 /* confdefs.h. */
59219 _ACEOF
59220 cat confdefs.h >>conftest.$ac_ext
59221 cat >>conftest.$ac_ext <<_ACEOF
59222 /* end confdefs.h. */
59223 #include <math.h>
59224 #ifdef HAVE_IEEEFP_H
59225 #include <ieeefp.h>
59226 #endif
59229 main ()
59231 _isinff(0);
59233 return 0;
59235 _ACEOF
59236 rm -f conftest.$ac_objext
59237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59238 (eval $ac_compile) 2>conftest.er1
59239 ac_status=$?
59240 grep -v '^ *+' conftest.er1 >conftest.err
59241 rm -f conftest.er1
59242 cat conftest.err >&5
59243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59244 (exit $ac_status); } &&
59245 { ac_try='test -z "$ac_cxx_werror_flag"
59246 || test ! -s conftest.err'
59247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59248 (eval $ac_try) 2>&5
59249 ac_status=$?
59250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59251 (exit $ac_status); }; } &&
59252 { ac_try='test -s conftest.$ac_objext'
59253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59254 (eval $ac_try) 2>&5
59255 ac_status=$?
59256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59257 (exit $ac_status); }; }; then
59258 glibcxx_cv_func__isinff_use=yes
59259 else
59260 echo "$as_me: failed program was:" >&5
59261 sed 's/^/| /' conftest.$ac_ext >&5
59263 glibcxx_cv_func__isinff_use=no
59265 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59266 ac_ext=c
59267 ac_cpp='$CPP $CPPFLAGS'
59268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59276 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
59277 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
59279 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
59281 for ac_func in _isinff
59283 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59284 echo "$as_me:$LINENO: checking for $ac_func" >&5
59285 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59286 if eval "test \"\${$as_ac_var+set}\" = set"; then
59287 echo $ECHO_N "(cached) $ECHO_C" >&6
59288 else
59289 if test x$gcc_no_link = xyes; then
59290 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59291 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59292 { (exit 1); exit 1; }; }
59294 cat >conftest.$ac_ext <<_ACEOF
59295 /* confdefs.h. */
59296 _ACEOF
59297 cat confdefs.h >>conftest.$ac_ext
59298 cat >>conftest.$ac_ext <<_ACEOF
59299 /* end confdefs.h. */
59300 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59301 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59302 #define $ac_func innocuous_$ac_func
59304 /* System header to define __stub macros and hopefully few prototypes,
59305 which can conflict with char $ac_func (); below.
59306 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59307 <limits.h> exists even on freestanding compilers. */
59309 #ifdef __STDC__
59310 # include <limits.h>
59311 #else
59312 # include <assert.h>
59313 #endif
59315 #undef $ac_func
59317 /* Override any gcc2 internal prototype to avoid an error. */
59318 #ifdef __cplusplus
59319 extern "C"
59321 #endif
59322 /* We use char because int might match the return type of a gcc2
59323 builtin and then its argument prototype would still apply. */
59324 char $ac_func ();
59325 /* The GNU C library defines this for functions which it implements
59326 to always fail with ENOSYS. Some functions are actually named
59327 something starting with __ and the normal name is an alias. */
59328 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59329 choke me
59330 #else
59331 char (*f) () = $ac_func;
59332 #endif
59333 #ifdef __cplusplus
59335 #endif
59338 main ()
59340 return f != $ac_func;
59342 return 0;
59344 _ACEOF
59345 rm -f conftest.$ac_objext conftest$ac_exeext
59346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59347 (eval $ac_link) 2>conftest.er1
59348 ac_status=$?
59349 grep -v '^ *+' conftest.er1 >conftest.err
59350 rm -f conftest.er1
59351 cat conftest.err >&5
59352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59353 (exit $ac_status); } &&
59354 { ac_try='test -z "$ac_c_werror_flag"
59355 || test ! -s conftest.err'
59356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59357 (eval $ac_try) 2>&5
59358 ac_status=$?
59359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59360 (exit $ac_status); }; } &&
59361 { ac_try='test -s conftest$ac_exeext'
59362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59363 (eval $ac_try) 2>&5
59364 ac_status=$?
59365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59366 (exit $ac_status); }; }; then
59367 eval "$as_ac_var=yes"
59368 else
59369 echo "$as_me: failed program was:" >&5
59370 sed 's/^/| /' conftest.$ac_ext >&5
59372 eval "$as_ac_var=no"
59374 rm -f conftest.err conftest.$ac_objext \
59375 conftest$ac_exeext conftest.$ac_ext
59377 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59378 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59379 if test `eval echo '${'$as_ac_var'}'` = yes; then
59380 cat >>confdefs.h <<_ACEOF
59381 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59382 _ACEOF
59385 done
59395 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
59396 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
59397 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
59398 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
59399 echo $ECHO_N "(cached) $ECHO_C" >&6
59400 else
59404 ac_ext=cc
59405 ac_cpp='$CXXCPP $CPPFLAGS'
59406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59410 cat >conftest.$ac_ext <<_ACEOF
59411 /* confdefs.h. */
59412 _ACEOF
59413 cat confdefs.h >>conftest.$ac_ext
59414 cat >>conftest.$ac_ext <<_ACEOF
59415 /* end confdefs.h. */
59416 #include <math.h>
59418 main ()
59420 atan2f(0, 0);
59422 return 0;
59424 _ACEOF
59425 rm -f conftest.$ac_objext
59426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59427 (eval $ac_compile) 2>conftest.er1
59428 ac_status=$?
59429 grep -v '^ *+' conftest.er1 >conftest.err
59430 rm -f conftest.er1
59431 cat conftest.err >&5
59432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59433 (exit $ac_status); } &&
59434 { ac_try='test -z "$ac_cxx_werror_flag"
59435 || test ! -s conftest.err'
59436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59437 (eval $ac_try) 2>&5
59438 ac_status=$?
59439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59440 (exit $ac_status); }; } &&
59441 { ac_try='test -s conftest.$ac_objext'
59442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59443 (eval $ac_try) 2>&5
59444 ac_status=$?
59445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59446 (exit $ac_status); }; }; then
59447 glibcxx_cv_func_atan2f_use=yes
59448 else
59449 echo "$as_me: failed program was:" >&5
59450 sed 's/^/| /' conftest.$ac_ext >&5
59452 glibcxx_cv_func_atan2f_use=no
59454 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59455 ac_ext=c
59456 ac_cpp='$CPP $CPPFLAGS'
59457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59465 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
59466 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
59468 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
59470 for ac_func in atan2f
59472 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59473 echo "$as_me:$LINENO: checking for $ac_func" >&5
59474 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59475 if eval "test \"\${$as_ac_var+set}\" = set"; then
59476 echo $ECHO_N "(cached) $ECHO_C" >&6
59477 else
59478 if test x$gcc_no_link = xyes; then
59479 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59480 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59481 { (exit 1); exit 1; }; }
59483 cat >conftest.$ac_ext <<_ACEOF
59484 /* confdefs.h. */
59485 _ACEOF
59486 cat confdefs.h >>conftest.$ac_ext
59487 cat >>conftest.$ac_ext <<_ACEOF
59488 /* end confdefs.h. */
59489 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59490 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59491 #define $ac_func innocuous_$ac_func
59493 /* System header to define __stub macros and hopefully few prototypes,
59494 which can conflict with char $ac_func (); below.
59495 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59496 <limits.h> exists even on freestanding compilers. */
59498 #ifdef __STDC__
59499 # include <limits.h>
59500 #else
59501 # include <assert.h>
59502 #endif
59504 #undef $ac_func
59506 /* Override any gcc2 internal prototype to avoid an error. */
59507 #ifdef __cplusplus
59508 extern "C"
59510 #endif
59511 /* We use char because int might match the return type of a gcc2
59512 builtin and then its argument prototype would still apply. */
59513 char $ac_func ();
59514 /* The GNU C library defines this for functions which it implements
59515 to always fail with ENOSYS. Some functions are actually named
59516 something starting with __ and the normal name is an alias. */
59517 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59518 choke me
59519 #else
59520 char (*f) () = $ac_func;
59521 #endif
59522 #ifdef __cplusplus
59524 #endif
59527 main ()
59529 return f != $ac_func;
59531 return 0;
59533 _ACEOF
59534 rm -f conftest.$ac_objext conftest$ac_exeext
59535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59536 (eval $ac_link) 2>conftest.er1
59537 ac_status=$?
59538 grep -v '^ *+' conftest.er1 >conftest.err
59539 rm -f conftest.er1
59540 cat conftest.err >&5
59541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59542 (exit $ac_status); } &&
59543 { ac_try='test -z "$ac_c_werror_flag"
59544 || test ! -s conftest.err'
59545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59546 (eval $ac_try) 2>&5
59547 ac_status=$?
59548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59549 (exit $ac_status); }; } &&
59550 { ac_try='test -s conftest$ac_exeext'
59551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59552 (eval $ac_try) 2>&5
59553 ac_status=$?
59554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59555 (exit $ac_status); }; }; then
59556 eval "$as_ac_var=yes"
59557 else
59558 echo "$as_me: failed program was:" >&5
59559 sed 's/^/| /' conftest.$ac_ext >&5
59561 eval "$as_ac_var=no"
59563 rm -f conftest.err conftest.$ac_objext \
59564 conftest$ac_exeext conftest.$ac_ext
59566 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59567 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59568 if test `eval echo '${'$as_ac_var'}'` = yes; then
59569 cat >>confdefs.h <<_ACEOF
59570 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59571 _ACEOF
59574 done
59576 else
59578 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
59579 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
59580 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
59581 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
59582 echo $ECHO_N "(cached) $ECHO_C" >&6
59583 else
59587 ac_ext=cc
59588 ac_cpp='$CXXCPP $CPPFLAGS'
59589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59593 cat >conftest.$ac_ext <<_ACEOF
59594 /* confdefs.h. */
59595 _ACEOF
59596 cat confdefs.h >>conftest.$ac_ext
59597 cat >>conftest.$ac_ext <<_ACEOF
59598 /* end confdefs.h. */
59599 #include <math.h>
59601 main ()
59603 _atan2f(0, 0);
59605 return 0;
59607 _ACEOF
59608 rm -f conftest.$ac_objext
59609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59610 (eval $ac_compile) 2>conftest.er1
59611 ac_status=$?
59612 grep -v '^ *+' conftest.er1 >conftest.err
59613 rm -f conftest.er1
59614 cat conftest.err >&5
59615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59616 (exit $ac_status); } &&
59617 { ac_try='test -z "$ac_cxx_werror_flag"
59618 || test ! -s conftest.err'
59619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59620 (eval $ac_try) 2>&5
59621 ac_status=$?
59622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59623 (exit $ac_status); }; } &&
59624 { ac_try='test -s conftest.$ac_objext'
59625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59626 (eval $ac_try) 2>&5
59627 ac_status=$?
59628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59629 (exit $ac_status); }; }; then
59630 glibcxx_cv_func__atan2f_use=yes
59631 else
59632 echo "$as_me: failed program was:" >&5
59633 sed 's/^/| /' conftest.$ac_ext >&5
59635 glibcxx_cv_func__atan2f_use=no
59637 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59638 ac_ext=c
59639 ac_cpp='$CPP $CPPFLAGS'
59640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59648 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
59649 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
59651 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
59653 for ac_func in _atan2f
59655 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59656 echo "$as_me:$LINENO: checking for $ac_func" >&5
59657 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59658 if eval "test \"\${$as_ac_var+set}\" = set"; then
59659 echo $ECHO_N "(cached) $ECHO_C" >&6
59660 else
59661 if test x$gcc_no_link = xyes; then
59662 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59663 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59664 { (exit 1); exit 1; }; }
59666 cat >conftest.$ac_ext <<_ACEOF
59667 /* confdefs.h. */
59668 _ACEOF
59669 cat confdefs.h >>conftest.$ac_ext
59670 cat >>conftest.$ac_ext <<_ACEOF
59671 /* end confdefs.h. */
59672 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59673 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59674 #define $ac_func innocuous_$ac_func
59676 /* System header to define __stub macros and hopefully few prototypes,
59677 which can conflict with char $ac_func (); below.
59678 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59679 <limits.h> exists even on freestanding compilers. */
59681 #ifdef __STDC__
59682 # include <limits.h>
59683 #else
59684 # include <assert.h>
59685 #endif
59687 #undef $ac_func
59689 /* Override any gcc2 internal prototype to avoid an error. */
59690 #ifdef __cplusplus
59691 extern "C"
59693 #endif
59694 /* We use char because int might match the return type of a gcc2
59695 builtin and then its argument prototype would still apply. */
59696 char $ac_func ();
59697 /* The GNU C library defines this for functions which it implements
59698 to always fail with ENOSYS. Some functions are actually named
59699 something starting with __ and the normal name is an alias. */
59700 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59701 choke me
59702 #else
59703 char (*f) () = $ac_func;
59704 #endif
59705 #ifdef __cplusplus
59707 #endif
59710 main ()
59712 return f != $ac_func;
59714 return 0;
59716 _ACEOF
59717 rm -f conftest.$ac_objext conftest$ac_exeext
59718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59719 (eval $ac_link) 2>conftest.er1
59720 ac_status=$?
59721 grep -v '^ *+' conftest.er1 >conftest.err
59722 rm -f conftest.er1
59723 cat conftest.err >&5
59724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59725 (exit $ac_status); } &&
59726 { ac_try='test -z "$ac_c_werror_flag"
59727 || test ! -s conftest.err'
59728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59729 (eval $ac_try) 2>&5
59730 ac_status=$?
59731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59732 (exit $ac_status); }; } &&
59733 { ac_try='test -s conftest$ac_exeext'
59734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59735 (eval $ac_try) 2>&5
59736 ac_status=$?
59737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59738 (exit $ac_status); }; }; then
59739 eval "$as_ac_var=yes"
59740 else
59741 echo "$as_me: failed program was:" >&5
59742 sed 's/^/| /' conftest.$ac_ext >&5
59744 eval "$as_ac_var=no"
59746 rm -f conftest.err conftest.$ac_objext \
59747 conftest$ac_exeext conftest.$ac_ext
59749 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59750 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59751 if test `eval echo '${'$as_ac_var'}'` = yes; then
59752 cat >>confdefs.h <<_ACEOF
59753 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59754 _ACEOF
59757 done
59767 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
59768 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
59769 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
59770 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
59771 echo $ECHO_N "(cached) $ECHO_C" >&6
59772 else
59776 ac_ext=cc
59777 ac_cpp='$CXXCPP $CPPFLAGS'
59778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59782 cat >conftest.$ac_ext <<_ACEOF
59783 /* confdefs.h. */
59784 _ACEOF
59785 cat confdefs.h >>conftest.$ac_ext
59786 cat >>conftest.$ac_ext <<_ACEOF
59787 /* end confdefs.h. */
59788 #include <math.h>
59789 #ifdef HAVE_IEEEFP_H
59790 #include <ieeefp.h>
59791 #endif
59794 main ()
59796 fabsf(0);
59798 return 0;
59800 _ACEOF
59801 rm -f conftest.$ac_objext
59802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59803 (eval $ac_compile) 2>conftest.er1
59804 ac_status=$?
59805 grep -v '^ *+' conftest.er1 >conftest.err
59806 rm -f conftest.er1
59807 cat conftest.err >&5
59808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59809 (exit $ac_status); } &&
59810 { ac_try='test -z "$ac_cxx_werror_flag"
59811 || test ! -s conftest.err'
59812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59813 (eval $ac_try) 2>&5
59814 ac_status=$?
59815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59816 (exit $ac_status); }; } &&
59817 { ac_try='test -s conftest.$ac_objext'
59818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59819 (eval $ac_try) 2>&5
59820 ac_status=$?
59821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59822 (exit $ac_status); }; }; then
59823 glibcxx_cv_func_fabsf_use=yes
59824 else
59825 echo "$as_me: failed program was:" >&5
59826 sed 's/^/| /' conftest.$ac_ext >&5
59828 glibcxx_cv_func_fabsf_use=no
59830 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59831 ac_ext=c
59832 ac_cpp='$CPP $CPPFLAGS'
59833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59841 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
59842 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
59844 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
59846 for ac_func in fabsf
59848 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59849 echo "$as_me:$LINENO: checking for $ac_func" >&5
59850 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59851 if eval "test \"\${$as_ac_var+set}\" = set"; then
59852 echo $ECHO_N "(cached) $ECHO_C" >&6
59853 else
59854 if test x$gcc_no_link = xyes; then
59855 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59856 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59857 { (exit 1); exit 1; }; }
59859 cat >conftest.$ac_ext <<_ACEOF
59860 /* confdefs.h. */
59861 _ACEOF
59862 cat confdefs.h >>conftest.$ac_ext
59863 cat >>conftest.$ac_ext <<_ACEOF
59864 /* end confdefs.h. */
59865 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59866 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59867 #define $ac_func innocuous_$ac_func
59869 /* System header to define __stub macros and hopefully few prototypes,
59870 which can conflict with char $ac_func (); below.
59871 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59872 <limits.h> exists even on freestanding compilers. */
59874 #ifdef __STDC__
59875 # include <limits.h>
59876 #else
59877 # include <assert.h>
59878 #endif
59880 #undef $ac_func
59882 /* Override any gcc2 internal prototype to avoid an error. */
59883 #ifdef __cplusplus
59884 extern "C"
59886 #endif
59887 /* We use char because int might match the return type of a gcc2
59888 builtin and then its argument prototype would still apply. */
59889 char $ac_func ();
59890 /* The GNU C library defines this for functions which it implements
59891 to always fail with ENOSYS. Some functions are actually named
59892 something starting with __ and the normal name is an alias. */
59893 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59894 choke me
59895 #else
59896 char (*f) () = $ac_func;
59897 #endif
59898 #ifdef __cplusplus
59900 #endif
59903 main ()
59905 return f != $ac_func;
59907 return 0;
59909 _ACEOF
59910 rm -f conftest.$ac_objext conftest$ac_exeext
59911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59912 (eval $ac_link) 2>conftest.er1
59913 ac_status=$?
59914 grep -v '^ *+' conftest.er1 >conftest.err
59915 rm -f conftest.er1
59916 cat conftest.err >&5
59917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59918 (exit $ac_status); } &&
59919 { ac_try='test -z "$ac_c_werror_flag"
59920 || test ! -s conftest.err'
59921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59922 (eval $ac_try) 2>&5
59923 ac_status=$?
59924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59925 (exit $ac_status); }; } &&
59926 { ac_try='test -s conftest$ac_exeext'
59927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59928 (eval $ac_try) 2>&5
59929 ac_status=$?
59930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59931 (exit $ac_status); }; }; then
59932 eval "$as_ac_var=yes"
59933 else
59934 echo "$as_me: failed program was:" >&5
59935 sed 's/^/| /' conftest.$ac_ext >&5
59937 eval "$as_ac_var=no"
59939 rm -f conftest.err conftest.$ac_objext \
59940 conftest$ac_exeext conftest.$ac_ext
59942 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59943 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59944 if test `eval echo '${'$as_ac_var'}'` = yes; then
59945 cat >>confdefs.h <<_ACEOF
59946 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59947 _ACEOF
59950 done
59952 else
59954 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
59955 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
59956 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
59957 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
59958 echo $ECHO_N "(cached) $ECHO_C" >&6
59959 else
59963 ac_ext=cc
59964 ac_cpp='$CXXCPP $CPPFLAGS'
59965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59969 cat >conftest.$ac_ext <<_ACEOF
59970 /* confdefs.h. */
59971 _ACEOF
59972 cat confdefs.h >>conftest.$ac_ext
59973 cat >>conftest.$ac_ext <<_ACEOF
59974 /* end confdefs.h. */
59975 #include <math.h>
59976 #ifdef HAVE_IEEEFP_H
59977 #include <ieeefp.h>
59978 #endif
59981 main ()
59983 _fabsf(0);
59985 return 0;
59987 _ACEOF
59988 rm -f conftest.$ac_objext
59989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59990 (eval $ac_compile) 2>conftest.er1
59991 ac_status=$?
59992 grep -v '^ *+' conftest.er1 >conftest.err
59993 rm -f conftest.er1
59994 cat conftest.err >&5
59995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59996 (exit $ac_status); } &&
59997 { ac_try='test -z "$ac_cxx_werror_flag"
59998 || test ! -s conftest.err'
59999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60000 (eval $ac_try) 2>&5
60001 ac_status=$?
60002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60003 (exit $ac_status); }; } &&
60004 { ac_try='test -s conftest.$ac_objext'
60005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60006 (eval $ac_try) 2>&5
60007 ac_status=$?
60008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60009 (exit $ac_status); }; }; then
60010 glibcxx_cv_func__fabsf_use=yes
60011 else
60012 echo "$as_me: failed program was:" >&5
60013 sed 's/^/| /' conftest.$ac_ext >&5
60015 glibcxx_cv_func__fabsf_use=no
60017 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60018 ac_ext=c
60019 ac_cpp='$CPP $CPPFLAGS'
60020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60028 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
60029 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
60031 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
60033 for ac_func in _fabsf
60035 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60036 echo "$as_me:$LINENO: checking for $ac_func" >&5
60037 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60038 if eval "test \"\${$as_ac_var+set}\" = set"; then
60039 echo $ECHO_N "(cached) $ECHO_C" >&6
60040 else
60041 if test x$gcc_no_link = xyes; then
60042 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60043 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60044 { (exit 1); exit 1; }; }
60046 cat >conftest.$ac_ext <<_ACEOF
60047 /* confdefs.h. */
60048 _ACEOF
60049 cat confdefs.h >>conftest.$ac_ext
60050 cat >>conftest.$ac_ext <<_ACEOF
60051 /* end confdefs.h. */
60052 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60053 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60054 #define $ac_func innocuous_$ac_func
60056 /* System header to define __stub macros and hopefully few prototypes,
60057 which can conflict with char $ac_func (); below.
60058 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60059 <limits.h> exists even on freestanding compilers. */
60061 #ifdef __STDC__
60062 # include <limits.h>
60063 #else
60064 # include <assert.h>
60065 #endif
60067 #undef $ac_func
60069 /* Override any gcc2 internal prototype to avoid an error. */
60070 #ifdef __cplusplus
60071 extern "C"
60073 #endif
60074 /* We use char because int might match the return type of a gcc2
60075 builtin and then its argument prototype would still apply. */
60076 char $ac_func ();
60077 /* The GNU C library defines this for functions which it implements
60078 to always fail with ENOSYS. Some functions are actually named
60079 something starting with __ and the normal name is an alias. */
60080 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60081 choke me
60082 #else
60083 char (*f) () = $ac_func;
60084 #endif
60085 #ifdef __cplusplus
60087 #endif
60090 main ()
60092 return f != $ac_func;
60094 return 0;
60096 _ACEOF
60097 rm -f conftest.$ac_objext conftest$ac_exeext
60098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60099 (eval $ac_link) 2>conftest.er1
60100 ac_status=$?
60101 grep -v '^ *+' conftest.er1 >conftest.err
60102 rm -f conftest.er1
60103 cat conftest.err >&5
60104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60105 (exit $ac_status); } &&
60106 { ac_try='test -z "$ac_c_werror_flag"
60107 || test ! -s conftest.err'
60108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60109 (eval $ac_try) 2>&5
60110 ac_status=$?
60111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60112 (exit $ac_status); }; } &&
60113 { ac_try='test -s conftest$ac_exeext'
60114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60115 (eval $ac_try) 2>&5
60116 ac_status=$?
60117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60118 (exit $ac_status); }; }; then
60119 eval "$as_ac_var=yes"
60120 else
60121 echo "$as_me: failed program was:" >&5
60122 sed 's/^/| /' conftest.$ac_ext >&5
60124 eval "$as_ac_var=no"
60126 rm -f conftest.err conftest.$ac_objext \
60127 conftest$ac_exeext conftest.$ac_ext
60129 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60130 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60131 if test `eval echo '${'$as_ac_var'}'` = yes; then
60132 cat >>confdefs.h <<_ACEOF
60133 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60134 _ACEOF
60137 done
60147 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
60148 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
60149 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
60150 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
60151 echo $ECHO_N "(cached) $ECHO_C" >&6
60152 else
60156 ac_ext=cc
60157 ac_cpp='$CXXCPP $CPPFLAGS'
60158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60162 cat >conftest.$ac_ext <<_ACEOF
60163 /* confdefs.h. */
60164 _ACEOF
60165 cat confdefs.h >>conftest.$ac_ext
60166 cat >>conftest.$ac_ext <<_ACEOF
60167 /* end confdefs.h. */
60168 #include <math.h>
60170 main ()
60172 fmodf(0, 0);
60174 return 0;
60176 _ACEOF
60177 rm -f conftest.$ac_objext
60178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60179 (eval $ac_compile) 2>conftest.er1
60180 ac_status=$?
60181 grep -v '^ *+' conftest.er1 >conftest.err
60182 rm -f conftest.er1
60183 cat conftest.err >&5
60184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60185 (exit $ac_status); } &&
60186 { ac_try='test -z "$ac_cxx_werror_flag"
60187 || test ! -s conftest.err'
60188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60189 (eval $ac_try) 2>&5
60190 ac_status=$?
60191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60192 (exit $ac_status); }; } &&
60193 { ac_try='test -s conftest.$ac_objext'
60194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60195 (eval $ac_try) 2>&5
60196 ac_status=$?
60197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60198 (exit $ac_status); }; }; then
60199 glibcxx_cv_func_fmodf_use=yes
60200 else
60201 echo "$as_me: failed program was:" >&5
60202 sed 's/^/| /' conftest.$ac_ext >&5
60204 glibcxx_cv_func_fmodf_use=no
60206 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60207 ac_ext=c
60208 ac_cpp='$CPP $CPPFLAGS'
60209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60217 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
60218 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
60220 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
60222 for ac_func in fmodf
60224 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60225 echo "$as_me:$LINENO: checking for $ac_func" >&5
60226 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60227 if eval "test \"\${$as_ac_var+set}\" = set"; then
60228 echo $ECHO_N "(cached) $ECHO_C" >&6
60229 else
60230 if test x$gcc_no_link = xyes; then
60231 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60232 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60233 { (exit 1); exit 1; }; }
60235 cat >conftest.$ac_ext <<_ACEOF
60236 /* confdefs.h. */
60237 _ACEOF
60238 cat confdefs.h >>conftest.$ac_ext
60239 cat >>conftest.$ac_ext <<_ACEOF
60240 /* end confdefs.h. */
60241 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60242 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60243 #define $ac_func innocuous_$ac_func
60245 /* System header to define __stub macros and hopefully few prototypes,
60246 which can conflict with char $ac_func (); below.
60247 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60248 <limits.h> exists even on freestanding compilers. */
60250 #ifdef __STDC__
60251 # include <limits.h>
60252 #else
60253 # include <assert.h>
60254 #endif
60256 #undef $ac_func
60258 /* Override any gcc2 internal prototype to avoid an error. */
60259 #ifdef __cplusplus
60260 extern "C"
60262 #endif
60263 /* We use char because int might match the return type of a gcc2
60264 builtin and then its argument prototype would still apply. */
60265 char $ac_func ();
60266 /* The GNU C library defines this for functions which it implements
60267 to always fail with ENOSYS. Some functions are actually named
60268 something starting with __ and the normal name is an alias. */
60269 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60270 choke me
60271 #else
60272 char (*f) () = $ac_func;
60273 #endif
60274 #ifdef __cplusplus
60276 #endif
60279 main ()
60281 return f != $ac_func;
60283 return 0;
60285 _ACEOF
60286 rm -f conftest.$ac_objext conftest$ac_exeext
60287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60288 (eval $ac_link) 2>conftest.er1
60289 ac_status=$?
60290 grep -v '^ *+' conftest.er1 >conftest.err
60291 rm -f conftest.er1
60292 cat conftest.err >&5
60293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60294 (exit $ac_status); } &&
60295 { ac_try='test -z "$ac_c_werror_flag"
60296 || test ! -s conftest.err'
60297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60298 (eval $ac_try) 2>&5
60299 ac_status=$?
60300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60301 (exit $ac_status); }; } &&
60302 { ac_try='test -s conftest$ac_exeext'
60303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60304 (eval $ac_try) 2>&5
60305 ac_status=$?
60306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60307 (exit $ac_status); }; }; then
60308 eval "$as_ac_var=yes"
60309 else
60310 echo "$as_me: failed program was:" >&5
60311 sed 's/^/| /' conftest.$ac_ext >&5
60313 eval "$as_ac_var=no"
60315 rm -f conftest.err conftest.$ac_objext \
60316 conftest$ac_exeext conftest.$ac_ext
60318 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60319 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60320 if test `eval echo '${'$as_ac_var'}'` = yes; then
60321 cat >>confdefs.h <<_ACEOF
60322 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60323 _ACEOF
60326 done
60328 else
60330 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
60331 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
60332 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
60333 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
60334 echo $ECHO_N "(cached) $ECHO_C" >&6
60335 else
60339 ac_ext=cc
60340 ac_cpp='$CXXCPP $CPPFLAGS'
60341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60345 cat >conftest.$ac_ext <<_ACEOF
60346 /* confdefs.h. */
60347 _ACEOF
60348 cat confdefs.h >>conftest.$ac_ext
60349 cat >>conftest.$ac_ext <<_ACEOF
60350 /* end confdefs.h. */
60351 #include <math.h>
60353 main ()
60355 _fmodf(0, 0);
60357 return 0;
60359 _ACEOF
60360 rm -f conftest.$ac_objext
60361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60362 (eval $ac_compile) 2>conftest.er1
60363 ac_status=$?
60364 grep -v '^ *+' conftest.er1 >conftest.err
60365 rm -f conftest.er1
60366 cat conftest.err >&5
60367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60368 (exit $ac_status); } &&
60369 { ac_try='test -z "$ac_cxx_werror_flag"
60370 || test ! -s conftest.err'
60371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60372 (eval $ac_try) 2>&5
60373 ac_status=$?
60374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60375 (exit $ac_status); }; } &&
60376 { ac_try='test -s conftest.$ac_objext'
60377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60378 (eval $ac_try) 2>&5
60379 ac_status=$?
60380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60381 (exit $ac_status); }; }; then
60382 glibcxx_cv_func__fmodf_use=yes
60383 else
60384 echo "$as_me: failed program was:" >&5
60385 sed 's/^/| /' conftest.$ac_ext >&5
60387 glibcxx_cv_func__fmodf_use=no
60389 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60390 ac_ext=c
60391 ac_cpp='$CPP $CPPFLAGS'
60392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60400 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
60401 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
60403 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
60405 for ac_func in _fmodf
60407 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60408 echo "$as_me:$LINENO: checking for $ac_func" >&5
60409 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60410 if eval "test \"\${$as_ac_var+set}\" = set"; then
60411 echo $ECHO_N "(cached) $ECHO_C" >&6
60412 else
60413 if test x$gcc_no_link = xyes; then
60414 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60415 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60416 { (exit 1); exit 1; }; }
60418 cat >conftest.$ac_ext <<_ACEOF
60419 /* confdefs.h. */
60420 _ACEOF
60421 cat confdefs.h >>conftest.$ac_ext
60422 cat >>conftest.$ac_ext <<_ACEOF
60423 /* end confdefs.h. */
60424 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60425 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60426 #define $ac_func innocuous_$ac_func
60428 /* System header to define __stub macros and hopefully few prototypes,
60429 which can conflict with char $ac_func (); below.
60430 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60431 <limits.h> exists even on freestanding compilers. */
60433 #ifdef __STDC__
60434 # include <limits.h>
60435 #else
60436 # include <assert.h>
60437 #endif
60439 #undef $ac_func
60441 /* Override any gcc2 internal prototype to avoid an error. */
60442 #ifdef __cplusplus
60443 extern "C"
60445 #endif
60446 /* We use char because int might match the return type of a gcc2
60447 builtin and then its argument prototype would still apply. */
60448 char $ac_func ();
60449 /* The GNU C library defines this for functions which it implements
60450 to always fail with ENOSYS. Some functions are actually named
60451 something starting with __ and the normal name is an alias. */
60452 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60453 choke me
60454 #else
60455 char (*f) () = $ac_func;
60456 #endif
60457 #ifdef __cplusplus
60459 #endif
60462 main ()
60464 return f != $ac_func;
60466 return 0;
60468 _ACEOF
60469 rm -f conftest.$ac_objext conftest$ac_exeext
60470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60471 (eval $ac_link) 2>conftest.er1
60472 ac_status=$?
60473 grep -v '^ *+' conftest.er1 >conftest.err
60474 rm -f conftest.er1
60475 cat conftest.err >&5
60476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60477 (exit $ac_status); } &&
60478 { ac_try='test -z "$ac_c_werror_flag"
60479 || test ! -s conftest.err'
60480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60481 (eval $ac_try) 2>&5
60482 ac_status=$?
60483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60484 (exit $ac_status); }; } &&
60485 { ac_try='test -s conftest$ac_exeext'
60486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60487 (eval $ac_try) 2>&5
60488 ac_status=$?
60489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60490 (exit $ac_status); }; }; then
60491 eval "$as_ac_var=yes"
60492 else
60493 echo "$as_me: failed program was:" >&5
60494 sed 's/^/| /' conftest.$ac_ext >&5
60496 eval "$as_ac_var=no"
60498 rm -f conftest.err conftest.$ac_objext \
60499 conftest$ac_exeext conftest.$ac_ext
60501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60502 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60503 if test `eval echo '${'$as_ac_var'}'` = yes; then
60504 cat >>confdefs.h <<_ACEOF
60505 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60506 _ACEOF
60509 done
60519 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
60520 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
60521 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
60522 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
60523 echo $ECHO_N "(cached) $ECHO_C" >&6
60524 else
60528 ac_ext=cc
60529 ac_cpp='$CXXCPP $CPPFLAGS'
60530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60534 cat >conftest.$ac_ext <<_ACEOF
60535 /* confdefs.h. */
60536 _ACEOF
60537 cat confdefs.h >>conftest.$ac_ext
60538 cat >>conftest.$ac_ext <<_ACEOF
60539 /* end confdefs.h. */
60540 #include <math.h>
60542 main ()
60544 frexpf(0, 0);
60546 return 0;
60548 _ACEOF
60549 rm -f conftest.$ac_objext
60550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60551 (eval $ac_compile) 2>conftest.er1
60552 ac_status=$?
60553 grep -v '^ *+' conftest.er1 >conftest.err
60554 rm -f conftest.er1
60555 cat conftest.err >&5
60556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60557 (exit $ac_status); } &&
60558 { ac_try='test -z "$ac_cxx_werror_flag"
60559 || test ! -s conftest.err'
60560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60561 (eval $ac_try) 2>&5
60562 ac_status=$?
60563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60564 (exit $ac_status); }; } &&
60565 { ac_try='test -s conftest.$ac_objext'
60566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60567 (eval $ac_try) 2>&5
60568 ac_status=$?
60569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60570 (exit $ac_status); }; }; then
60571 glibcxx_cv_func_frexpf_use=yes
60572 else
60573 echo "$as_me: failed program was:" >&5
60574 sed 's/^/| /' conftest.$ac_ext >&5
60576 glibcxx_cv_func_frexpf_use=no
60578 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60579 ac_ext=c
60580 ac_cpp='$CPP $CPPFLAGS'
60581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60589 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
60590 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
60592 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
60594 for ac_func in frexpf
60596 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60597 echo "$as_me:$LINENO: checking for $ac_func" >&5
60598 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60599 if eval "test \"\${$as_ac_var+set}\" = set"; then
60600 echo $ECHO_N "(cached) $ECHO_C" >&6
60601 else
60602 if test x$gcc_no_link = xyes; then
60603 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60604 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60605 { (exit 1); exit 1; }; }
60607 cat >conftest.$ac_ext <<_ACEOF
60608 /* confdefs.h. */
60609 _ACEOF
60610 cat confdefs.h >>conftest.$ac_ext
60611 cat >>conftest.$ac_ext <<_ACEOF
60612 /* end confdefs.h. */
60613 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60614 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60615 #define $ac_func innocuous_$ac_func
60617 /* System header to define __stub macros and hopefully few prototypes,
60618 which can conflict with char $ac_func (); below.
60619 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60620 <limits.h> exists even on freestanding compilers. */
60622 #ifdef __STDC__
60623 # include <limits.h>
60624 #else
60625 # include <assert.h>
60626 #endif
60628 #undef $ac_func
60630 /* Override any gcc2 internal prototype to avoid an error. */
60631 #ifdef __cplusplus
60632 extern "C"
60634 #endif
60635 /* We use char because int might match the return type of a gcc2
60636 builtin and then its argument prototype would still apply. */
60637 char $ac_func ();
60638 /* The GNU C library defines this for functions which it implements
60639 to always fail with ENOSYS. Some functions are actually named
60640 something starting with __ and the normal name is an alias. */
60641 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60642 choke me
60643 #else
60644 char (*f) () = $ac_func;
60645 #endif
60646 #ifdef __cplusplus
60648 #endif
60651 main ()
60653 return f != $ac_func;
60655 return 0;
60657 _ACEOF
60658 rm -f conftest.$ac_objext conftest$ac_exeext
60659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60660 (eval $ac_link) 2>conftest.er1
60661 ac_status=$?
60662 grep -v '^ *+' conftest.er1 >conftest.err
60663 rm -f conftest.er1
60664 cat conftest.err >&5
60665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60666 (exit $ac_status); } &&
60667 { ac_try='test -z "$ac_c_werror_flag"
60668 || test ! -s conftest.err'
60669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60670 (eval $ac_try) 2>&5
60671 ac_status=$?
60672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60673 (exit $ac_status); }; } &&
60674 { ac_try='test -s conftest$ac_exeext'
60675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60676 (eval $ac_try) 2>&5
60677 ac_status=$?
60678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60679 (exit $ac_status); }; }; then
60680 eval "$as_ac_var=yes"
60681 else
60682 echo "$as_me: failed program was:" >&5
60683 sed 's/^/| /' conftest.$ac_ext >&5
60685 eval "$as_ac_var=no"
60687 rm -f conftest.err conftest.$ac_objext \
60688 conftest$ac_exeext conftest.$ac_ext
60690 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60691 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60692 if test `eval echo '${'$as_ac_var'}'` = yes; then
60693 cat >>confdefs.h <<_ACEOF
60694 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60695 _ACEOF
60698 done
60700 else
60702 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
60703 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
60704 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
60705 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
60706 echo $ECHO_N "(cached) $ECHO_C" >&6
60707 else
60711 ac_ext=cc
60712 ac_cpp='$CXXCPP $CPPFLAGS'
60713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60717 cat >conftest.$ac_ext <<_ACEOF
60718 /* confdefs.h. */
60719 _ACEOF
60720 cat confdefs.h >>conftest.$ac_ext
60721 cat >>conftest.$ac_ext <<_ACEOF
60722 /* end confdefs.h. */
60723 #include <math.h>
60725 main ()
60727 _frexpf(0, 0);
60729 return 0;
60731 _ACEOF
60732 rm -f conftest.$ac_objext
60733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60734 (eval $ac_compile) 2>conftest.er1
60735 ac_status=$?
60736 grep -v '^ *+' conftest.er1 >conftest.err
60737 rm -f conftest.er1
60738 cat conftest.err >&5
60739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60740 (exit $ac_status); } &&
60741 { ac_try='test -z "$ac_cxx_werror_flag"
60742 || test ! -s conftest.err'
60743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60744 (eval $ac_try) 2>&5
60745 ac_status=$?
60746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60747 (exit $ac_status); }; } &&
60748 { ac_try='test -s conftest.$ac_objext'
60749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60750 (eval $ac_try) 2>&5
60751 ac_status=$?
60752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60753 (exit $ac_status); }; }; then
60754 glibcxx_cv_func__frexpf_use=yes
60755 else
60756 echo "$as_me: failed program was:" >&5
60757 sed 's/^/| /' conftest.$ac_ext >&5
60759 glibcxx_cv_func__frexpf_use=no
60761 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60762 ac_ext=c
60763 ac_cpp='$CPP $CPPFLAGS'
60764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60772 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
60773 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
60775 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
60777 for ac_func in _frexpf
60779 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60780 echo "$as_me:$LINENO: checking for $ac_func" >&5
60781 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60782 if eval "test \"\${$as_ac_var+set}\" = set"; then
60783 echo $ECHO_N "(cached) $ECHO_C" >&6
60784 else
60785 if test x$gcc_no_link = xyes; then
60786 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60787 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60788 { (exit 1); exit 1; }; }
60790 cat >conftest.$ac_ext <<_ACEOF
60791 /* confdefs.h. */
60792 _ACEOF
60793 cat confdefs.h >>conftest.$ac_ext
60794 cat >>conftest.$ac_ext <<_ACEOF
60795 /* end confdefs.h. */
60796 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60797 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60798 #define $ac_func innocuous_$ac_func
60800 /* System header to define __stub macros and hopefully few prototypes,
60801 which can conflict with char $ac_func (); below.
60802 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60803 <limits.h> exists even on freestanding compilers. */
60805 #ifdef __STDC__
60806 # include <limits.h>
60807 #else
60808 # include <assert.h>
60809 #endif
60811 #undef $ac_func
60813 /* Override any gcc2 internal prototype to avoid an error. */
60814 #ifdef __cplusplus
60815 extern "C"
60817 #endif
60818 /* We use char because int might match the return type of a gcc2
60819 builtin and then its argument prototype would still apply. */
60820 char $ac_func ();
60821 /* The GNU C library defines this for functions which it implements
60822 to always fail with ENOSYS. Some functions are actually named
60823 something starting with __ and the normal name is an alias. */
60824 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60825 choke me
60826 #else
60827 char (*f) () = $ac_func;
60828 #endif
60829 #ifdef __cplusplus
60831 #endif
60834 main ()
60836 return f != $ac_func;
60838 return 0;
60840 _ACEOF
60841 rm -f conftest.$ac_objext conftest$ac_exeext
60842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60843 (eval $ac_link) 2>conftest.er1
60844 ac_status=$?
60845 grep -v '^ *+' conftest.er1 >conftest.err
60846 rm -f conftest.er1
60847 cat conftest.err >&5
60848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60849 (exit $ac_status); } &&
60850 { ac_try='test -z "$ac_c_werror_flag"
60851 || test ! -s conftest.err'
60852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60853 (eval $ac_try) 2>&5
60854 ac_status=$?
60855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60856 (exit $ac_status); }; } &&
60857 { ac_try='test -s conftest$ac_exeext'
60858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60859 (eval $ac_try) 2>&5
60860 ac_status=$?
60861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60862 (exit $ac_status); }; }; then
60863 eval "$as_ac_var=yes"
60864 else
60865 echo "$as_me: failed program was:" >&5
60866 sed 's/^/| /' conftest.$ac_ext >&5
60868 eval "$as_ac_var=no"
60870 rm -f conftest.err conftest.$ac_objext \
60871 conftest$ac_exeext conftest.$ac_ext
60873 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60874 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60875 if test `eval echo '${'$as_ac_var'}'` = yes; then
60876 cat >>confdefs.h <<_ACEOF
60877 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60878 _ACEOF
60881 done
60891 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
60892 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
60893 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
60894 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
60895 echo $ECHO_N "(cached) $ECHO_C" >&6
60896 else
60900 ac_ext=cc
60901 ac_cpp='$CXXCPP $CPPFLAGS'
60902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60906 cat >conftest.$ac_ext <<_ACEOF
60907 /* confdefs.h. */
60908 _ACEOF
60909 cat confdefs.h >>conftest.$ac_ext
60910 cat >>conftest.$ac_ext <<_ACEOF
60911 /* end confdefs.h. */
60912 #include <math.h>
60914 main ()
60916 hypotf(0, 0);
60918 return 0;
60920 _ACEOF
60921 rm -f conftest.$ac_objext
60922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60923 (eval $ac_compile) 2>conftest.er1
60924 ac_status=$?
60925 grep -v '^ *+' conftest.er1 >conftest.err
60926 rm -f conftest.er1
60927 cat conftest.err >&5
60928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60929 (exit $ac_status); } &&
60930 { ac_try='test -z "$ac_cxx_werror_flag"
60931 || test ! -s conftest.err'
60932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60933 (eval $ac_try) 2>&5
60934 ac_status=$?
60935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60936 (exit $ac_status); }; } &&
60937 { ac_try='test -s conftest.$ac_objext'
60938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60939 (eval $ac_try) 2>&5
60940 ac_status=$?
60941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60942 (exit $ac_status); }; }; then
60943 glibcxx_cv_func_hypotf_use=yes
60944 else
60945 echo "$as_me: failed program was:" >&5
60946 sed 's/^/| /' conftest.$ac_ext >&5
60948 glibcxx_cv_func_hypotf_use=no
60950 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60951 ac_ext=c
60952 ac_cpp='$CPP $CPPFLAGS'
60953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60961 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
60962 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
60964 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
60966 for ac_func in hypotf
60968 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60969 echo "$as_me:$LINENO: checking for $ac_func" >&5
60970 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60971 if eval "test \"\${$as_ac_var+set}\" = set"; then
60972 echo $ECHO_N "(cached) $ECHO_C" >&6
60973 else
60974 if test x$gcc_no_link = xyes; then
60975 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60976 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60977 { (exit 1); exit 1; }; }
60979 cat >conftest.$ac_ext <<_ACEOF
60980 /* confdefs.h. */
60981 _ACEOF
60982 cat confdefs.h >>conftest.$ac_ext
60983 cat >>conftest.$ac_ext <<_ACEOF
60984 /* end confdefs.h. */
60985 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60986 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60987 #define $ac_func innocuous_$ac_func
60989 /* System header to define __stub macros and hopefully few prototypes,
60990 which can conflict with char $ac_func (); below.
60991 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60992 <limits.h> exists even on freestanding compilers. */
60994 #ifdef __STDC__
60995 # include <limits.h>
60996 #else
60997 # include <assert.h>
60998 #endif
61000 #undef $ac_func
61002 /* Override any gcc2 internal prototype to avoid an error. */
61003 #ifdef __cplusplus
61004 extern "C"
61006 #endif
61007 /* We use char because int might match the return type of a gcc2
61008 builtin and then its argument prototype would still apply. */
61009 char $ac_func ();
61010 /* The GNU C library defines this for functions which it implements
61011 to always fail with ENOSYS. Some functions are actually named
61012 something starting with __ and the normal name is an alias. */
61013 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61014 choke me
61015 #else
61016 char (*f) () = $ac_func;
61017 #endif
61018 #ifdef __cplusplus
61020 #endif
61023 main ()
61025 return f != $ac_func;
61027 return 0;
61029 _ACEOF
61030 rm -f conftest.$ac_objext conftest$ac_exeext
61031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61032 (eval $ac_link) 2>conftest.er1
61033 ac_status=$?
61034 grep -v '^ *+' conftest.er1 >conftest.err
61035 rm -f conftest.er1
61036 cat conftest.err >&5
61037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61038 (exit $ac_status); } &&
61039 { ac_try='test -z "$ac_c_werror_flag"
61040 || test ! -s conftest.err'
61041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61042 (eval $ac_try) 2>&5
61043 ac_status=$?
61044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61045 (exit $ac_status); }; } &&
61046 { ac_try='test -s conftest$ac_exeext'
61047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61048 (eval $ac_try) 2>&5
61049 ac_status=$?
61050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61051 (exit $ac_status); }; }; then
61052 eval "$as_ac_var=yes"
61053 else
61054 echo "$as_me: failed program was:" >&5
61055 sed 's/^/| /' conftest.$ac_ext >&5
61057 eval "$as_ac_var=no"
61059 rm -f conftest.err conftest.$ac_objext \
61060 conftest$ac_exeext conftest.$ac_ext
61062 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61063 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61064 if test `eval echo '${'$as_ac_var'}'` = yes; then
61065 cat >>confdefs.h <<_ACEOF
61066 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61067 _ACEOF
61070 done
61072 else
61074 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
61075 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
61076 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
61077 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
61078 echo $ECHO_N "(cached) $ECHO_C" >&6
61079 else
61083 ac_ext=cc
61084 ac_cpp='$CXXCPP $CPPFLAGS'
61085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61089 cat >conftest.$ac_ext <<_ACEOF
61090 /* confdefs.h. */
61091 _ACEOF
61092 cat confdefs.h >>conftest.$ac_ext
61093 cat >>conftest.$ac_ext <<_ACEOF
61094 /* end confdefs.h. */
61095 #include <math.h>
61097 main ()
61099 _hypotf(0, 0);
61101 return 0;
61103 _ACEOF
61104 rm -f conftest.$ac_objext
61105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61106 (eval $ac_compile) 2>conftest.er1
61107 ac_status=$?
61108 grep -v '^ *+' conftest.er1 >conftest.err
61109 rm -f conftest.er1
61110 cat conftest.err >&5
61111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61112 (exit $ac_status); } &&
61113 { ac_try='test -z "$ac_cxx_werror_flag"
61114 || test ! -s conftest.err'
61115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61116 (eval $ac_try) 2>&5
61117 ac_status=$?
61118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61119 (exit $ac_status); }; } &&
61120 { ac_try='test -s conftest.$ac_objext'
61121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61122 (eval $ac_try) 2>&5
61123 ac_status=$?
61124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61125 (exit $ac_status); }; }; then
61126 glibcxx_cv_func__hypotf_use=yes
61127 else
61128 echo "$as_me: failed program was:" >&5
61129 sed 's/^/| /' conftest.$ac_ext >&5
61131 glibcxx_cv_func__hypotf_use=no
61133 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61134 ac_ext=c
61135 ac_cpp='$CPP $CPPFLAGS'
61136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61144 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
61145 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
61147 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
61149 for ac_func in _hypotf
61151 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61152 echo "$as_me:$LINENO: checking for $ac_func" >&5
61153 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61154 if eval "test \"\${$as_ac_var+set}\" = set"; then
61155 echo $ECHO_N "(cached) $ECHO_C" >&6
61156 else
61157 if test x$gcc_no_link = xyes; then
61158 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61159 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61160 { (exit 1); exit 1; }; }
61162 cat >conftest.$ac_ext <<_ACEOF
61163 /* confdefs.h. */
61164 _ACEOF
61165 cat confdefs.h >>conftest.$ac_ext
61166 cat >>conftest.$ac_ext <<_ACEOF
61167 /* end confdefs.h. */
61168 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61169 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61170 #define $ac_func innocuous_$ac_func
61172 /* System header to define __stub macros and hopefully few prototypes,
61173 which can conflict with char $ac_func (); below.
61174 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61175 <limits.h> exists even on freestanding compilers. */
61177 #ifdef __STDC__
61178 # include <limits.h>
61179 #else
61180 # include <assert.h>
61181 #endif
61183 #undef $ac_func
61185 /* Override any gcc2 internal prototype to avoid an error. */
61186 #ifdef __cplusplus
61187 extern "C"
61189 #endif
61190 /* We use char because int might match the return type of a gcc2
61191 builtin and then its argument prototype would still apply. */
61192 char $ac_func ();
61193 /* The GNU C library defines this for functions which it implements
61194 to always fail with ENOSYS. Some functions are actually named
61195 something starting with __ and the normal name is an alias. */
61196 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61197 choke me
61198 #else
61199 char (*f) () = $ac_func;
61200 #endif
61201 #ifdef __cplusplus
61203 #endif
61206 main ()
61208 return f != $ac_func;
61210 return 0;
61212 _ACEOF
61213 rm -f conftest.$ac_objext conftest$ac_exeext
61214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61215 (eval $ac_link) 2>conftest.er1
61216 ac_status=$?
61217 grep -v '^ *+' conftest.er1 >conftest.err
61218 rm -f conftest.er1
61219 cat conftest.err >&5
61220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61221 (exit $ac_status); } &&
61222 { ac_try='test -z "$ac_c_werror_flag"
61223 || test ! -s conftest.err'
61224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61225 (eval $ac_try) 2>&5
61226 ac_status=$?
61227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61228 (exit $ac_status); }; } &&
61229 { ac_try='test -s conftest$ac_exeext'
61230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61231 (eval $ac_try) 2>&5
61232 ac_status=$?
61233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61234 (exit $ac_status); }; }; then
61235 eval "$as_ac_var=yes"
61236 else
61237 echo "$as_me: failed program was:" >&5
61238 sed 's/^/| /' conftest.$ac_ext >&5
61240 eval "$as_ac_var=no"
61242 rm -f conftest.err conftest.$ac_objext \
61243 conftest$ac_exeext conftest.$ac_ext
61245 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61246 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61247 if test `eval echo '${'$as_ac_var'}'` = yes; then
61248 cat >>confdefs.h <<_ACEOF
61249 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61250 _ACEOF
61253 done
61263 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
61264 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
61265 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
61266 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
61267 echo $ECHO_N "(cached) $ECHO_C" >&6
61268 else
61272 ac_ext=cc
61273 ac_cpp='$CXXCPP $CPPFLAGS'
61274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61278 cat >conftest.$ac_ext <<_ACEOF
61279 /* confdefs.h. */
61280 _ACEOF
61281 cat confdefs.h >>conftest.$ac_ext
61282 cat >>conftest.$ac_ext <<_ACEOF
61283 /* end confdefs.h. */
61284 #include <math.h>
61286 main ()
61288 ldexpf(0, 0);
61290 return 0;
61292 _ACEOF
61293 rm -f conftest.$ac_objext
61294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61295 (eval $ac_compile) 2>conftest.er1
61296 ac_status=$?
61297 grep -v '^ *+' conftest.er1 >conftest.err
61298 rm -f conftest.er1
61299 cat conftest.err >&5
61300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61301 (exit $ac_status); } &&
61302 { ac_try='test -z "$ac_cxx_werror_flag"
61303 || test ! -s conftest.err'
61304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61305 (eval $ac_try) 2>&5
61306 ac_status=$?
61307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61308 (exit $ac_status); }; } &&
61309 { ac_try='test -s conftest.$ac_objext'
61310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61311 (eval $ac_try) 2>&5
61312 ac_status=$?
61313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61314 (exit $ac_status); }; }; then
61315 glibcxx_cv_func_ldexpf_use=yes
61316 else
61317 echo "$as_me: failed program was:" >&5
61318 sed 's/^/| /' conftest.$ac_ext >&5
61320 glibcxx_cv_func_ldexpf_use=no
61322 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61323 ac_ext=c
61324 ac_cpp='$CPP $CPPFLAGS'
61325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61333 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
61334 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
61336 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
61338 for ac_func in ldexpf
61340 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61341 echo "$as_me:$LINENO: checking for $ac_func" >&5
61342 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61343 if eval "test \"\${$as_ac_var+set}\" = set"; then
61344 echo $ECHO_N "(cached) $ECHO_C" >&6
61345 else
61346 if test x$gcc_no_link = xyes; then
61347 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61348 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61349 { (exit 1); exit 1; }; }
61351 cat >conftest.$ac_ext <<_ACEOF
61352 /* confdefs.h. */
61353 _ACEOF
61354 cat confdefs.h >>conftest.$ac_ext
61355 cat >>conftest.$ac_ext <<_ACEOF
61356 /* end confdefs.h. */
61357 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61358 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61359 #define $ac_func innocuous_$ac_func
61361 /* System header to define __stub macros and hopefully few prototypes,
61362 which can conflict with char $ac_func (); below.
61363 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61364 <limits.h> exists even on freestanding compilers. */
61366 #ifdef __STDC__
61367 # include <limits.h>
61368 #else
61369 # include <assert.h>
61370 #endif
61372 #undef $ac_func
61374 /* Override any gcc2 internal prototype to avoid an error. */
61375 #ifdef __cplusplus
61376 extern "C"
61378 #endif
61379 /* We use char because int might match the return type of a gcc2
61380 builtin and then its argument prototype would still apply. */
61381 char $ac_func ();
61382 /* The GNU C library defines this for functions which it implements
61383 to always fail with ENOSYS. Some functions are actually named
61384 something starting with __ and the normal name is an alias. */
61385 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61386 choke me
61387 #else
61388 char (*f) () = $ac_func;
61389 #endif
61390 #ifdef __cplusplus
61392 #endif
61395 main ()
61397 return f != $ac_func;
61399 return 0;
61401 _ACEOF
61402 rm -f conftest.$ac_objext conftest$ac_exeext
61403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61404 (eval $ac_link) 2>conftest.er1
61405 ac_status=$?
61406 grep -v '^ *+' conftest.er1 >conftest.err
61407 rm -f conftest.er1
61408 cat conftest.err >&5
61409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61410 (exit $ac_status); } &&
61411 { ac_try='test -z "$ac_c_werror_flag"
61412 || test ! -s conftest.err'
61413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61414 (eval $ac_try) 2>&5
61415 ac_status=$?
61416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61417 (exit $ac_status); }; } &&
61418 { ac_try='test -s conftest$ac_exeext'
61419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61420 (eval $ac_try) 2>&5
61421 ac_status=$?
61422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61423 (exit $ac_status); }; }; then
61424 eval "$as_ac_var=yes"
61425 else
61426 echo "$as_me: failed program was:" >&5
61427 sed 's/^/| /' conftest.$ac_ext >&5
61429 eval "$as_ac_var=no"
61431 rm -f conftest.err conftest.$ac_objext \
61432 conftest$ac_exeext conftest.$ac_ext
61434 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61435 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61436 if test `eval echo '${'$as_ac_var'}'` = yes; then
61437 cat >>confdefs.h <<_ACEOF
61438 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61439 _ACEOF
61442 done
61444 else
61446 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
61447 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
61448 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
61449 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
61450 echo $ECHO_N "(cached) $ECHO_C" >&6
61451 else
61455 ac_ext=cc
61456 ac_cpp='$CXXCPP $CPPFLAGS'
61457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61461 cat >conftest.$ac_ext <<_ACEOF
61462 /* confdefs.h. */
61463 _ACEOF
61464 cat confdefs.h >>conftest.$ac_ext
61465 cat >>conftest.$ac_ext <<_ACEOF
61466 /* end confdefs.h. */
61467 #include <math.h>
61469 main ()
61471 _ldexpf(0, 0);
61473 return 0;
61475 _ACEOF
61476 rm -f conftest.$ac_objext
61477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61478 (eval $ac_compile) 2>conftest.er1
61479 ac_status=$?
61480 grep -v '^ *+' conftest.er1 >conftest.err
61481 rm -f conftest.er1
61482 cat conftest.err >&5
61483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61484 (exit $ac_status); } &&
61485 { ac_try='test -z "$ac_cxx_werror_flag"
61486 || test ! -s conftest.err'
61487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61488 (eval $ac_try) 2>&5
61489 ac_status=$?
61490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61491 (exit $ac_status); }; } &&
61492 { ac_try='test -s conftest.$ac_objext'
61493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61494 (eval $ac_try) 2>&5
61495 ac_status=$?
61496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61497 (exit $ac_status); }; }; then
61498 glibcxx_cv_func__ldexpf_use=yes
61499 else
61500 echo "$as_me: failed program was:" >&5
61501 sed 's/^/| /' conftest.$ac_ext >&5
61503 glibcxx_cv_func__ldexpf_use=no
61505 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61506 ac_ext=c
61507 ac_cpp='$CPP $CPPFLAGS'
61508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61516 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
61517 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
61519 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
61521 for ac_func in _ldexpf
61523 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61524 echo "$as_me:$LINENO: checking for $ac_func" >&5
61525 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61526 if eval "test \"\${$as_ac_var+set}\" = set"; then
61527 echo $ECHO_N "(cached) $ECHO_C" >&6
61528 else
61529 if test x$gcc_no_link = xyes; then
61530 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61531 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61532 { (exit 1); exit 1; }; }
61534 cat >conftest.$ac_ext <<_ACEOF
61535 /* confdefs.h. */
61536 _ACEOF
61537 cat confdefs.h >>conftest.$ac_ext
61538 cat >>conftest.$ac_ext <<_ACEOF
61539 /* end confdefs.h. */
61540 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61541 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61542 #define $ac_func innocuous_$ac_func
61544 /* System header to define __stub macros and hopefully few prototypes,
61545 which can conflict with char $ac_func (); below.
61546 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61547 <limits.h> exists even on freestanding compilers. */
61549 #ifdef __STDC__
61550 # include <limits.h>
61551 #else
61552 # include <assert.h>
61553 #endif
61555 #undef $ac_func
61557 /* Override any gcc2 internal prototype to avoid an error. */
61558 #ifdef __cplusplus
61559 extern "C"
61561 #endif
61562 /* We use char because int might match the return type of a gcc2
61563 builtin and then its argument prototype would still apply. */
61564 char $ac_func ();
61565 /* The GNU C library defines this for functions which it implements
61566 to always fail with ENOSYS. Some functions are actually named
61567 something starting with __ and the normal name is an alias. */
61568 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61569 choke me
61570 #else
61571 char (*f) () = $ac_func;
61572 #endif
61573 #ifdef __cplusplus
61575 #endif
61578 main ()
61580 return f != $ac_func;
61582 return 0;
61584 _ACEOF
61585 rm -f conftest.$ac_objext conftest$ac_exeext
61586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61587 (eval $ac_link) 2>conftest.er1
61588 ac_status=$?
61589 grep -v '^ *+' conftest.er1 >conftest.err
61590 rm -f conftest.er1
61591 cat conftest.err >&5
61592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61593 (exit $ac_status); } &&
61594 { ac_try='test -z "$ac_c_werror_flag"
61595 || test ! -s conftest.err'
61596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61597 (eval $ac_try) 2>&5
61598 ac_status=$?
61599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61600 (exit $ac_status); }; } &&
61601 { ac_try='test -s conftest$ac_exeext'
61602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61603 (eval $ac_try) 2>&5
61604 ac_status=$?
61605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61606 (exit $ac_status); }; }; then
61607 eval "$as_ac_var=yes"
61608 else
61609 echo "$as_me: failed program was:" >&5
61610 sed 's/^/| /' conftest.$ac_ext >&5
61612 eval "$as_ac_var=no"
61614 rm -f conftest.err conftest.$ac_objext \
61615 conftest$ac_exeext conftest.$ac_ext
61617 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61618 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61619 if test `eval echo '${'$as_ac_var'}'` = yes; then
61620 cat >>confdefs.h <<_ACEOF
61621 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61622 _ACEOF
61625 done
61635 echo "$as_me:$LINENO: checking for logf declaration" >&5
61636 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
61637 if test x${glibcxx_cv_func_logf_use+set} != xset; then
61638 if test "${glibcxx_cv_func_logf_use+set}" = set; then
61639 echo $ECHO_N "(cached) $ECHO_C" >&6
61640 else
61644 ac_ext=cc
61645 ac_cpp='$CXXCPP $CPPFLAGS'
61646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61650 cat >conftest.$ac_ext <<_ACEOF
61651 /* confdefs.h. */
61652 _ACEOF
61653 cat confdefs.h >>conftest.$ac_ext
61654 cat >>conftest.$ac_ext <<_ACEOF
61655 /* end confdefs.h. */
61656 #include <math.h>
61657 #ifdef HAVE_IEEEFP_H
61658 #include <ieeefp.h>
61659 #endif
61662 main ()
61664 logf(0);
61666 return 0;
61668 _ACEOF
61669 rm -f conftest.$ac_objext
61670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61671 (eval $ac_compile) 2>conftest.er1
61672 ac_status=$?
61673 grep -v '^ *+' conftest.er1 >conftest.err
61674 rm -f conftest.er1
61675 cat conftest.err >&5
61676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61677 (exit $ac_status); } &&
61678 { ac_try='test -z "$ac_cxx_werror_flag"
61679 || test ! -s conftest.err'
61680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61681 (eval $ac_try) 2>&5
61682 ac_status=$?
61683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61684 (exit $ac_status); }; } &&
61685 { ac_try='test -s conftest.$ac_objext'
61686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61687 (eval $ac_try) 2>&5
61688 ac_status=$?
61689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61690 (exit $ac_status); }; }; then
61691 glibcxx_cv_func_logf_use=yes
61692 else
61693 echo "$as_me: failed program was:" >&5
61694 sed 's/^/| /' conftest.$ac_ext >&5
61696 glibcxx_cv_func_logf_use=no
61698 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61699 ac_ext=c
61700 ac_cpp='$CPP $CPPFLAGS'
61701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61709 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
61710 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
61712 if test x$glibcxx_cv_func_logf_use = x"yes"; then
61714 for ac_func in logf
61716 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61717 echo "$as_me:$LINENO: checking for $ac_func" >&5
61718 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61719 if eval "test \"\${$as_ac_var+set}\" = set"; then
61720 echo $ECHO_N "(cached) $ECHO_C" >&6
61721 else
61722 if test x$gcc_no_link = xyes; then
61723 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61724 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61725 { (exit 1); exit 1; }; }
61727 cat >conftest.$ac_ext <<_ACEOF
61728 /* confdefs.h. */
61729 _ACEOF
61730 cat confdefs.h >>conftest.$ac_ext
61731 cat >>conftest.$ac_ext <<_ACEOF
61732 /* end confdefs.h. */
61733 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61734 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61735 #define $ac_func innocuous_$ac_func
61737 /* System header to define __stub macros and hopefully few prototypes,
61738 which can conflict with char $ac_func (); below.
61739 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61740 <limits.h> exists even on freestanding compilers. */
61742 #ifdef __STDC__
61743 # include <limits.h>
61744 #else
61745 # include <assert.h>
61746 #endif
61748 #undef $ac_func
61750 /* Override any gcc2 internal prototype to avoid an error. */
61751 #ifdef __cplusplus
61752 extern "C"
61754 #endif
61755 /* We use char because int might match the return type of a gcc2
61756 builtin and then its argument prototype would still apply. */
61757 char $ac_func ();
61758 /* The GNU C library defines this for functions which it implements
61759 to always fail with ENOSYS. Some functions are actually named
61760 something starting with __ and the normal name is an alias. */
61761 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61762 choke me
61763 #else
61764 char (*f) () = $ac_func;
61765 #endif
61766 #ifdef __cplusplus
61768 #endif
61771 main ()
61773 return f != $ac_func;
61775 return 0;
61777 _ACEOF
61778 rm -f conftest.$ac_objext conftest$ac_exeext
61779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61780 (eval $ac_link) 2>conftest.er1
61781 ac_status=$?
61782 grep -v '^ *+' conftest.er1 >conftest.err
61783 rm -f conftest.er1
61784 cat conftest.err >&5
61785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61786 (exit $ac_status); } &&
61787 { ac_try='test -z "$ac_c_werror_flag"
61788 || test ! -s conftest.err'
61789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61790 (eval $ac_try) 2>&5
61791 ac_status=$?
61792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61793 (exit $ac_status); }; } &&
61794 { ac_try='test -s conftest$ac_exeext'
61795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61796 (eval $ac_try) 2>&5
61797 ac_status=$?
61798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61799 (exit $ac_status); }; }; then
61800 eval "$as_ac_var=yes"
61801 else
61802 echo "$as_me: failed program was:" >&5
61803 sed 's/^/| /' conftest.$ac_ext >&5
61805 eval "$as_ac_var=no"
61807 rm -f conftest.err conftest.$ac_objext \
61808 conftest$ac_exeext conftest.$ac_ext
61810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61811 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61812 if test `eval echo '${'$as_ac_var'}'` = yes; then
61813 cat >>confdefs.h <<_ACEOF
61814 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61815 _ACEOF
61818 done
61820 else
61822 echo "$as_me:$LINENO: checking for _logf declaration" >&5
61823 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
61824 if test x${glibcxx_cv_func__logf_use+set} != xset; then
61825 if test "${glibcxx_cv_func__logf_use+set}" = set; then
61826 echo $ECHO_N "(cached) $ECHO_C" >&6
61827 else
61831 ac_ext=cc
61832 ac_cpp='$CXXCPP $CPPFLAGS'
61833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61837 cat >conftest.$ac_ext <<_ACEOF
61838 /* confdefs.h. */
61839 _ACEOF
61840 cat confdefs.h >>conftest.$ac_ext
61841 cat >>conftest.$ac_ext <<_ACEOF
61842 /* end confdefs.h. */
61843 #include <math.h>
61844 #ifdef HAVE_IEEEFP_H
61845 #include <ieeefp.h>
61846 #endif
61849 main ()
61851 _logf(0);
61853 return 0;
61855 _ACEOF
61856 rm -f conftest.$ac_objext
61857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61858 (eval $ac_compile) 2>conftest.er1
61859 ac_status=$?
61860 grep -v '^ *+' conftest.er1 >conftest.err
61861 rm -f conftest.er1
61862 cat conftest.err >&5
61863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61864 (exit $ac_status); } &&
61865 { ac_try='test -z "$ac_cxx_werror_flag"
61866 || test ! -s conftest.err'
61867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61868 (eval $ac_try) 2>&5
61869 ac_status=$?
61870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61871 (exit $ac_status); }; } &&
61872 { ac_try='test -s conftest.$ac_objext'
61873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61874 (eval $ac_try) 2>&5
61875 ac_status=$?
61876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61877 (exit $ac_status); }; }; then
61878 glibcxx_cv_func__logf_use=yes
61879 else
61880 echo "$as_me: failed program was:" >&5
61881 sed 's/^/| /' conftest.$ac_ext >&5
61883 glibcxx_cv_func__logf_use=no
61885 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61886 ac_ext=c
61887 ac_cpp='$CPP $CPPFLAGS'
61888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61896 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
61897 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
61899 if test x$glibcxx_cv_func__logf_use = x"yes"; then
61901 for ac_func in _logf
61903 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61904 echo "$as_me:$LINENO: checking for $ac_func" >&5
61905 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61906 if eval "test \"\${$as_ac_var+set}\" = set"; then
61907 echo $ECHO_N "(cached) $ECHO_C" >&6
61908 else
61909 if test x$gcc_no_link = xyes; then
61910 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61911 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61912 { (exit 1); exit 1; }; }
61914 cat >conftest.$ac_ext <<_ACEOF
61915 /* confdefs.h. */
61916 _ACEOF
61917 cat confdefs.h >>conftest.$ac_ext
61918 cat >>conftest.$ac_ext <<_ACEOF
61919 /* end confdefs.h. */
61920 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61921 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61922 #define $ac_func innocuous_$ac_func
61924 /* System header to define __stub macros and hopefully few prototypes,
61925 which can conflict with char $ac_func (); below.
61926 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61927 <limits.h> exists even on freestanding compilers. */
61929 #ifdef __STDC__
61930 # include <limits.h>
61931 #else
61932 # include <assert.h>
61933 #endif
61935 #undef $ac_func
61937 /* Override any gcc2 internal prototype to avoid an error. */
61938 #ifdef __cplusplus
61939 extern "C"
61941 #endif
61942 /* We use char because int might match the return type of a gcc2
61943 builtin and then its argument prototype would still apply. */
61944 char $ac_func ();
61945 /* The GNU C library defines this for functions which it implements
61946 to always fail with ENOSYS. Some functions are actually named
61947 something starting with __ and the normal name is an alias. */
61948 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61949 choke me
61950 #else
61951 char (*f) () = $ac_func;
61952 #endif
61953 #ifdef __cplusplus
61955 #endif
61958 main ()
61960 return f != $ac_func;
61962 return 0;
61964 _ACEOF
61965 rm -f conftest.$ac_objext conftest$ac_exeext
61966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61967 (eval $ac_link) 2>conftest.er1
61968 ac_status=$?
61969 grep -v '^ *+' conftest.er1 >conftest.err
61970 rm -f conftest.er1
61971 cat conftest.err >&5
61972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61973 (exit $ac_status); } &&
61974 { ac_try='test -z "$ac_c_werror_flag"
61975 || test ! -s conftest.err'
61976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61977 (eval $ac_try) 2>&5
61978 ac_status=$?
61979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61980 (exit $ac_status); }; } &&
61981 { ac_try='test -s conftest$ac_exeext'
61982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61983 (eval $ac_try) 2>&5
61984 ac_status=$?
61985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61986 (exit $ac_status); }; }; then
61987 eval "$as_ac_var=yes"
61988 else
61989 echo "$as_me: failed program was:" >&5
61990 sed 's/^/| /' conftest.$ac_ext >&5
61992 eval "$as_ac_var=no"
61994 rm -f conftest.err conftest.$ac_objext \
61995 conftest$ac_exeext conftest.$ac_ext
61997 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61998 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61999 if test `eval echo '${'$as_ac_var'}'` = yes; then
62000 cat >>confdefs.h <<_ACEOF
62001 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62002 _ACEOF
62005 done
62015 echo "$as_me:$LINENO: checking for log10f declaration" >&5
62016 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
62017 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
62018 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
62019 echo $ECHO_N "(cached) $ECHO_C" >&6
62020 else
62024 ac_ext=cc
62025 ac_cpp='$CXXCPP $CPPFLAGS'
62026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62030 cat >conftest.$ac_ext <<_ACEOF
62031 /* confdefs.h. */
62032 _ACEOF
62033 cat confdefs.h >>conftest.$ac_ext
62034 cat >>conftest.$ac_ext <<_ACEOF
62035 /* end confdefs.h. */
62036 #include <math.h>
62037 #ifdef HAVE_IEEEFP_H
62038 #include <ieeefp.h>
62039 #endif
62042 main ()
62044 log10f(0);
62046 return 0;
62048 _ACEOF
62049 rm -f conftest.$ac_objext
62050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62051 (eval $ac_compile) 2>conftest.er1
62052 ac_status=$?
62053 grep -v '^ *+' conftest.er1 >conftest.err
62054 rm -f conftest.er1
62055 cat conftest.err >&5
62056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62057 (exit $ac_status); } &&
62058 { ac_try='test -z "$ac_cxx_werror_flag"
62059 || test ! -s conftest.err'
62060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62061 (eval $ac_try) 2>&5
62062 ac_status=$?
62063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62064 (exit $ac_status); }; } &&
62065 { ac_try='test -s conftest.$ac_objext'
62066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62067 (eval $ac_try) 2>&5
62068 ac_status=$?
62069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62070 (exit $ac_status); }; }; then
62071 glibcxx_cv_func_log10f_use=yes
62072 else
62073 echo "$as_me: failed program was:" >&5
62074 sed 's/^/| /' conftest.$ac_ext >&5
62076 glibcxx_cv_func_log10f_use=no
62078 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62079 ac_ext=c
62080 ac_cpp='$CPP $CPPFLAGS'
62081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62089 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
62090 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
62092 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
62094 for ac_func in log10f
62096 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62097 echo "$as_me:$LINENO: checking for $ac_func" >&5
62098 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62099 if eval "test \"\${$as_ac_var+set}\" = set"; then
62100 echo $ECHO_N "(cached) $ECHO_C" >&6
62101 else
62102 if test x$gcc_no_link = xyes; then
62103 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62104 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62105 { (exit 1); exit 1; }; }
62107 cat >conftest.$ac_ext <<_ACEOF
62108 /* confdefs.h. */
62109 _ACEOF
62110 cat confdefs.h >>conftest.$ac_ext
62111 cat >>conftest.$ac_ext <<_ACEOF
62112 /* end confdefs.h. */
62113 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62114 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62115 #define $ac_func innocuous_$ac_func
62117 /* System header to define __stub macros and hopefully few prototypes,
62118 which can conflict with char $ac_func (); below.
62119 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62120 <limits.h> exists even on freestanding compilers. */
62122 #ifdef __STDC__
62123 # include <limits.h>
62124 #else
62125 # include <assert.h>
62126 #endif
62128 #undef $ac_func
62130 /* Override any gcc2 internal prototype to avoid an error. */
62131 #ifdef __cplusplus
62132 extern "C"
62134 #endif
62135 /* We use char because int might match the return type of a gcc2
62136 builtin and then its argument prototype would still apply. */
62137 char $ac_func ();
62138 /* The GNU C library defines this for functions which it implements
62139 to always fail with ENOSYS. Some functions are actually named
62140 something starting with __ and the normal name is an alias. */
62141 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62142 choke me
62143 #else
62144 char (*f) () = $ac_func;
62145 #endif
62146 #ifdef __cplusplus
62148 #endif
62151 main ()
62153 return f != $ac_func;
62155 return 0;
62157 _ACEOF
62158 rm -f conftest.$ac_objext conftest$ac_exeext
62159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62160 (eval $ac_link) 2>conftest.er1
62161 ac_status=$?
62162 grep -v '^ *+' conftest.er1 >conftest.err
62163 rm -f conftest.er1
62164 cat conftest.err >&5
62165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62166 (exit $ac_status); } &&
62167 { ac_try='test -z "$ac_c_werror_flag"
62168 || test ! -s conftest.err'
62169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62170 (eval $ac_try) 2>&5
62171 ac_status=$?
62172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62173 (exit $ac_status); }; } &&
62174 { ac_try='test -s conftest$ac_exeext'
62175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62176 (eval $ac_try) 2>&5
62177 ac_status=$?
62178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62179 (exit $ac_status); }; }; then
62180 eval "$as_ac_var=yes"
62181 else
62182 echo "$as_me: failed program was:" >&5
62183 sed 's/^/| /' conftest.$ac_ext >&5
62185 eval "$as_ac_var=no"
62187 rm -f conftest.err conftest.$ac_objext \
62188 conftest$ac_exeext conftest.$ac_ext
62190 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62191 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62192 if test `eval echo '${'$as_ac_var'}'` = yes; then
62193 cat >>confdefs.h <<_ACEOF
62194 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62195 _ACEOF
62198 done
62200 else
62202 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
62203 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
62204 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
62205 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
62206 echo $ECHO_N "(cached) $ECHO_C" >&6
62207 else
62211 ac_ext=cc
62212 ac_cpp='$CXXCPP $CPPFLAGS'
62213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62217 cat >conftest.$ac_ext <<_ACEOF
62218 /* confdefs.h. */
62219 _ACEOF
62220 cat confdefs.h >>conftest.$ac_ext
62221 cat >>conftest.$ac_ext <<_ACEOF
62222 /* end confdefs.h. */
62223 #include <math.h>
62224 #ifdef HAVE_IEEEFP_H
62225 #include <ieeefp.h>
62226 #endif
62229 main ()
62231 _log10f(0);
62233 return 0;
62235 _ACEOF
62236 rm -f conftest.$ac_objext
62237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62238 (eval $ac_compile) 2>conftest.er1
62239 ac_status=$?
62240 grep -v '^ *+' conftest.er1 >conftest.err
62241 rm -f conftest.er1
62242 cat conftest.err >&5
62243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62244 (exit $ac_status); } &&
62245 { ac_try='test -z "$ac_cxx_werror_flag"
62246 || test ! -s conftest.err'
62247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62248 (eval $ac_try) 2>&5
62249 ac_status=$?
62250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62251 (exit $ac_status); }; } &&
62252 { ac_try='test -s conftest.$ac_objext'
62253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62254 (eval $ac_try) 2>&5
62255 ac_status=$?
62256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62257 (exit $ac_status); }; }; then
62258 glibcxx_cv_func__log10f_use=yes
62259 else
62260 echo "$as_me: failed program was:" >&5
62261 sed 's/^/| /' conftest.$ac_ext >&5
62263 glibcxx_cv_func__log10f_use=no
62265 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62266 ac_ext=c
62267 ac_cpp='$CPP $CPPFLAGS'
62268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62276 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
62277 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
62279 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
62281 for ac_func in _log10f
62283 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62284 echo "$as_me:$LINENO: checking for $ac_func" >&5
62285 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62286 if eval "test \"\${$as_ac_var+set}\" = set"; then
62287 echo $ECHO_N "(cached) $ECHO_C" >&6
62288 else
62289 if test x$gcc_no_link = xyes; then
62290 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62291 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62292 { (exit 1); exit 1; }; }
62294 cat >conftest.$ac_ext <<_ACEOF
62295 /* confdefs.h. */
62296 _ACEOF
62297 cat confdefs.h >>conftest.$ac_ext
62298 cat >>conftest.$ac_ext <<_ACEOF
62299 /* end confdefs.h. */
62300 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62301 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62302 #define $ac_func innocuous_$ac_func
62304 /* System header to define __stub macros and hopefully few prototypes,
62305 which can conflict with char $ac_func (); below.
62306 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62307 <limits.h> exists even on freestanding compilers. */
62309 #ifdef __STDC__
62310 # include <limits.h>
62311 #else
62312 # include <assert.h>
62313 #endif
62315 #undef $ac_func
62317 /* Override any gcc2 internal prototype to avoid an error. */
62318 #ifdef __cplusplus
62319 extern "C"
62321 #endif
62322 /* We use char because int might match the return type of a gcc2
62323 builtin and then its argument prototype would still apply. */
62324 char $ac_func ();
62325 /* The GNU C library defines this for functions which it implements
62326 to always fail with ENOSYS. Some functions are actually named
62327 something starting with __ and the normal name is an alias. */
62328 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62329 choke me
62330 #else
62331 char (*f) () = $ac_func;
62332 #endif
62333 #ifdef __cplusplus
62335 #endif
62338 main ()
62340 return f != $ac_func;
62342 return 0;
62344 _ACEOF
62345 rm -f conftest.$ac_objext conftest$ac_exeext
62346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62347 (eval $ac_link) 2>conftest.er1
62348 ac_status=$?
62349 grep -v '^ *+' conftest.er1 >conftest.err
62350 rm -f conftest.er1
62351 cat conftest.err >&5
62352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62353 (exit $ac_status); } &&
62354 { ac_try='test -z "$ac_c_werror_flag"
62355 || test ! -s conftest.err'
62356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62357 (eval $ac_try) 2>&5
62358 ac_status=$?
62359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62360 (exit $ac_status); }; } &&
62361 { ac_try='test -s conftest$ac_exeext'
62362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62363 (eval $ac_try) 2>&5
62364 ac_status=$?
62365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62366 (exit $ac_status); }; }; then
62367 eval "$as_ac_var=yes"
62368 else
62369 echo "$as_me: failed program was:" >&5
62370 sed 's/^/| /' conftest.$ac_ext >&5
62372 eval "$as_ac_var=no"
62374 rm -f conftest.err conftest.$ac_objext \
62375 conftest$ac_exeext conftest.$ac_ext
62377 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62378 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62379 if test `eval echo '${'$as_ac_var'}'` = yes; then
62380 cat >>confdefs.h <<_ACEOF
62381 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62382 _ACEOF
62385 done
62395 echo "$as_me:$LINENO: checking for modff declaration" >&5
62396 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
62397 if test x${glibcxx_cv_func_modff_use+set} != xset; then
62398 if test "${glibcxx_cv_func_modff_use+set}" = set; then
62399 echo $ECHO_N "(cached) $ECHO_C" >&6
62400 else
62404 ac_ext=cc
62405 ac_cpp='$CXXCPP $CPPFLAGS'
62406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62410 cat >conftest.$ac_ext <<_ACEOF
62411 /* confdefs.h. */
62412 _ACEOF
62413 cat confdefs.h >>conftest.$ac_ext
62414 cat >>conftest.$ac_ext <<_ACEOF
62415 /* end confdefs.h. */
62416 #include <math.h>
62418 main ()
62420 modff(0, 0);
62422 return 0;
62424 _ACEOF
62425 rm -f conftest.$ac_objext
62426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62427 (eval $ac_compile) 2>conftest.er1
62428 ac_status=$?
62429 grep -v '^ *+' conftest.er1 >conftest.err
62430 rm -f conftest.er1
62431 cat conftest.err >&5
62432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62433 (exit $ac_status); } &&
62434 { ac_try='test -z "$ac_cxx_werror_flag"
62435 || test ! -s conftest.err'
62436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62437 (eval $ac_try) 2>&5
62438 ac_status=$?
62439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62440 (exit $ac_status); }; } &&
62441 { ac_try='test -s conftest.$ac_objext'
62442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62443 (eval $ac_try) 2>&5
62444 ac_status=$?
62445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62446 (exit $ac_status); }; }; then
62447 glibcxx_cv_func_modff_use=yes
62448 else
62449 echo "$as_me: failed program was:" >&5
62450 sed 's/^/| /' conftest.$ac_ext >&5
62452 glibcxx_cv_func_modff_use=no
62454 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62455 ac_ext=c
62456 ac_cpp='$CPP $CPPFLAGS'
62457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62465 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
62466 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
62468 if test x$glibcxx_cv_func_modff_use = x"yes"; then
62470 for ac_func in modff
62472 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62473 echo "$as_me:$LINENO: checking for $ac_func" >&5
62474 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62475 if eval "test \"\${$as_ac_var+set}\" = set"; then
62476 echo $ECHO_N "(cached) $ECHO_C" >&6
62477 else
62478 if test x$gcc_no_link = xyes; then
62479 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62480 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62481 { (exit 1); exit 1; }; }
62483 cat >conftest.$ac_ext <<_ACEOF
62484 /* confdefs.h. */
62485 _ACEOF
62486 cat confdefs.h >>conftest.$ac_ext
62487 cat >>conftest.$ac_ext <<_ACEOF
62488 /* end confdefs.h. */
62489 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62490 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62491 #define $ac_func innocuous_$ac_func
62493 /* System header to define __stub macros and hopefully few prototypes,
62494 which can conflict with char $ac_func (); below.
62495 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62496 <limits.h> exists even on freestanding compilers. */
62498 #ifdef __STDC__
62499 # include <limits.h>
62500 #else
62501 # include <assert.h>
62502 #endif
62504 #undef $ac_func
62506 /* Override any gcc2 internal prototype to avoid an error. */
62507 #ifdef __cplusplus
62508 extern "C"
62510 #endif
62511 /* We use char because int might match the return type of a gcc2
62512 builtin and then its argument prototype would still apply. */
62513 char $ac_func ();
62514 /* The GNU C library defines this for functions which it implements
62515 to always fail with ENOSYS. Some functions are actually named
62516 something starting with __ and the normal name is an alias. */
62517 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62518 choke me
62519 #else
62520 char (*f) () = $ac_func;
62521 #endif
62522 #ifdef __cplusplus
62524 #endif
62527 main ()
62529 return f != $ac_func;
62531 return 0;
62533 _ACEOF
62534 rm -f conftest.$ac_objext conftest$ac_exeext
62535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62536 (eval $ac_link) 2>conftest.er1
62537 ac_status=$?
62538 grep -v '^ *+' conftest.er1 >conftest.err
62539 rm -f conftest.er1
62540 cat conftest.err >&5
62541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62542 (exit $ac_status); } &&
62543 { ac_try='test -z "$ac_c_werror_flag"
62544 || test ! -s conftest.err'
62545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62546 (eval $ac_try) 2>&5
62547 ac_status=$?
62548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62549 (exit $ac_status); }; } &&
62550 { ac_try='test -s conftest$ac_exeext'
62551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62552 (eval $ac_try) 2>&5
62553 ac_status=$?
62554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62555 (exit $ac_status); }; }; then
62556 eval "$as_ac_var=yes"
62557 else
62558 echo "$as_me: failed program was:" >&5
62559 sed 's/^/| /' conftest.$ac_ext >&5
62561 eval "$as_ac_var=no"
62563 rm -f conftest.err conftest.$ac_objext \
62564 conftest$ac_exeext conftest.$ac_ext
62566 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62567 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62568 if test `eval echo '${'$as_ac_var'}'` = yes; then
62569 cat >>confdefs.h <<_ACEOF
62570 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62571 _ACEOF
62574 done
62576 else
62578 echo "$as_me:$LINENO: checking for _modff declaration" >&5
62579 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
62580 if test x${glibcxx_cv_func__modff_use+set} != xset; then
62581 if test "${glibcxx_cv_func__modff_use+set}" = set; then
62582 echo $ECHO_N "(cached) $ECHO_C" >&6
62583 else
62587 ac_ext=cc
62588 ac_cpp='$CXXCPP $CPPFLAGS'
62589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62593 cat >conftest.$ac_ext <<_ACEOF
62594 /* confdefs.h. */
62595 _ACEOF
62596 cat confdefs.h >>conftest.$ac_ext
62597 cat >>conftest.$ac_ext <<_ACEOF
62598 /* end confdefs.h. */
62599 #include <math.h>
62601 main ()
62603 _modff(0, 0);
62605 return 0;
62607 _ACEOF
62608 rm -f conftest.$ac_objext
62609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62610 (eval $ac_compile) 2>conftest.er1
62611 ac_status=$?
62612 grep -v '^ *+' conftest.er1 >conftest.err
62613 rm -f conftest.er1
62614 cat conftest.err >&5
62615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62616 (exit $ac_status); } &&
62617 { ac_try='test -z "$ac_cxx_werror_flag"
62618 || test ! -s conftest.err'
62619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62620 (eval $ac_try) 2>&5
62621 ac_status=$?
62622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62623 (exit $ac_status); }; } &&
62624 { ac_try='test -s conftest.$ac_objext'
62625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62626 (eval $ac_try) 2>&5
62627 ac_status=$?
62628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62629 (exit $ac_status); }; }; then
62630 glibcxx_cv_func__modff_use=yes
62631 else
62632 echo "$as_me: failed program was:" >&5
62633 sed 's/^/| /' conftest.$ac_ext >&5
62635 glibcxx_cv_func__modff_use=no
62637 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62638 ac_ext=c
62639 ac_cpp='$CPP $CPPFLAGS'
62640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62648 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
62649 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
62651 if test x$glibcxx_cv_func__modff_use = x"yes"; then
62653 for ac_func in _modff
62655 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62656 echo "$as_me:$LINENO: checking for $ac_func" >&5
62657 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62658 if eval "test \"\${$as_ac_var+set}\" = set"; then
62659 echo $ECHO_N "(cached) $ECHO_C" >&6
62660 else
62661 if test x$gcc_no_link = xyes; then
62662 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62663 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62664 { (exit 1); exit 1; }; }
62666 cat >conftest.$ac_ext <<_ACEOF
62667 /* confdefs.h. */
62668 _ACEOF
62669 cat confdefs.h >>conftest.$ac_ext
62670 cat >>conftest.$ac_ext <<_ACEOF
62671 /* end confdefs.h. */
62672 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62673 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62674 #define $ac_func innocuous_$ac_func
62676 /* System header to define __stub macros and hopefully few prototypes,
62677 which can conflict with char $ac_func (); below.
62678 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62679 <limits.h> exists even on freestanding compilers. */
62681 #ifdef __STDC__
62682 # include <limits.h>
62683 #else
62684 # include <assert.h>
62685 #endif
62687 #undef $ac_func
62689 /* Override any gcc2 internal prototype to avoid an error. */
62690 #ifdef __cplusplus
62691 extern "C"
62693 #endif
62694 /* We use char because int might match the return type of a gcc2
62695 builtin and then its argument prototype would still apply. */
62696 char $ac_func ();
62697 /* The GNU C library defines this for functions which it implements
62698 to always fail with ENOSYS. Some functions are actually named
62699 something starting with __ and the normal name is an alias. */
62700 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62701 choke me
62702 #else
62703 char (*f) () = $ac_func;
62704 #endif
62705 #ifdef __cplusplus
62707 #endif
62710 main ()
62712 return f != $ac_func;
62714 return 0;
62716 _ACEOF
62717 rm -f conftest.$ac_objext conftest$ac_exeext
62718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62719 (eval $ac_link) 2>conftest.er1
62720 ac_status=$?
62721 grep -v '^ *+' conftest.er1 >conftest.err
62722 rm -f conftest.er1
62723 cat conftest.err >&5
62724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62725 (exit $ac_status); } &&
62726 { ac_try='test -z "$ac_c_werror_flag"
62727 || test ! -s conftest.err'
62728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62729 (eval $ac_try) 2>&5
62730 ac_status=$?
62731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62732 (exit $ac_status); }; } &&
62733 { ac_try='test -s conftest$ac_exeext'
62734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62735 (eval $ac_try) 2>&5
62736 ac_status=$?
62737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62738 (exit $ac_status); }; }; then
62739 eval "$as_ac_var=yes"
62740 else
62741 echo "$as_me: failed program was:" >&5
62742 sed 's/^/| /' conftest.$ac_ext >&5
62744 eval "$as_ac_var=no"
62746 rm -f conftest.err conftest.$ac_objext \
62747 conftest$ac_exeext conftest.$ac_ext
62749 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62750 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62751 if test `eval echo '${'$as_ac_var'}'` = yes; then
62752 cat >>confdefs.h <<_ACEOF
62753 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62754 _ACEOF
62757 done
62767 echo "$as_me:$LINENO: checking for modf declaration" >&5
62768 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
62769 if test x${glibcxx_cv_func_modf_use+set} != xset; then
62770 if test "${glibcxx_cv_func_modf_use+set}" = set; then
62771 echo $ECHO_N "(cached) $ECHO_C" >&6
62772 else
62776 ac_ext=cc
62777 ac_cpp='$CXXCPP $CPPFLAGS'
62778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62782 cat >conftest.$ac_ext <<_ACEOF
62783 /* confdefs.h. */
62784 _ACEOF
62785 cat confdefs.h >>conftest.$ac_ext
62786 cat >>conftest.$ac_ext <<_ACEOF
62787 /* end confdefs.h. */
62788 #include <math.h>
62790 main ()
62792 modf(0, 0);
62794 return 0;
62796 _ACEOF
62797 rm -f conftest.$ac_objext
62798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62799 (eval $ac_compile) 2>conftest.er1
62800 ac_status=$?
62801 grep -v '^ *+' conftest.er1 >conftest.err
62802 rm -f conftest.er1
62803 cat conftest.err >&5
62804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62805 (exit $ac_status); } &&
62806 { ac_try='test -z "$ac_cxx_werror_flag"
62807 || test ! -s conftest.err'
62808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62809 (eval $ac_try) 2>&5
62810 ac_status=$?
62811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62812 (exit $ac_status); }; } &&
62813 { ac_try='test -s conftest.$ac_objext'
62814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62815 (eval $ac_try) 2>&5
62816 ac_status=$?
62817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62818 (exit $ac_status); }; }; then
62819 glibcxx_cv_func_modf_use=yes
62820 else
62821 echo "$as_me: failed program was:" >&5
62822 sed 's/^/| /' conftest.$ac_ext >&5
62824 glibcxx_cv_func_modf_use=no
62826 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62827 ac_ext=c
62828 ac_cpp='$CPP $CPPFLAGS'
62829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62837 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
62838 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
62840 if test x$glibcxx_cv_func_modf_use = x"yes"; then
62842 for ac_func in modf
62844 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62845 echo "$as_me:$LINENO: checking for $ac_func" >&5
62846 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62847 if eval "test \"\${$as_ac_var+set}\" = set"; then
62848 echo $ECHO_N "(cached) $ECHO_C" >&6
62849 else
62850 if test x$gcc_no_link = xyes; then
62851 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62852 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62853 { (exit 1); exit 1; }; }
62855 cat >conftest.$ac_ext <<_ACEOF
62856 /* confdefs.h. */
62857 _ACEOF
62858 cat confdefs.h >>conftest.$ac_ext
62859 cat >>conftest.$ac_ext <<_ACEOF
62860 /* end confdefs.h. */
62861 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62862 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62863 #define $ac_func innocuous_$ac_func
62865 /* System header to define __stub macros and hopefully few prototypes,
62866 which can conflict with char $ac_func (); below.
62867 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62868 <limits.h> exists even on freestanding compilers. */
62870 #ifdef __STDC__
62871 # include <limits.h>
62872 #else
62873 # include <assert.h>
62874 #endif
62876 #undef $ac_func
62878 /* Override any gcc2 internal prototype to avoid an error. */
62879 #ifdef __cplusplus
62880 extern "C"
62882 #endif
62883 /* We use char because int might match the return type of a gcc2
62884 builtin and then its argument prototype would still apply. */
62885 char $ac_func ();
62886 /* The GNU C library defines this for functions which it implements
62887 to always fail with ENOSYS. Some functions are actually named
62888 something starting with __ and the normal name is an alias. */
62889 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62890 choke me
62891 #else
62892 char (*f) () = $ac_func;
62893 #endif
62894 #ifdef __cplusplus
62896 #endif
62899 main ()
62901 return f != $ac_func;
62903 return 0;
62905 _ACEOF
62906 rm -f conftest.$ac_objext conftest$ac_exeext
62907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62908 (eval $ac_link) 2>conftest.er1
62909 ac_status=$?
62910 grep -v '^ *+' conftest.er1 >conftest.err
62911 rm -f conftest.er1
62912 cat conftest.err >&5
62913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62914 (exit $ac_status); } &&
62915 { ac_try='test -z "$ac_c_werror_flag"
62916 || test ! -s conftest.err'
62917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62918 (eval $ac_try) 2>&5
62919 ac_status=$?
62920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62921 (exit $ac_status); }; } &&
62922 { ac_try='test -s conftest$ac_exeext'
62923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62924 (eval $ac_try) 2>&5
62925 ac_status=$?
62926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62927 (exit $ac_status); }; }; then
62928 eval "$as_ac_var=yes"
62929 else
62930 echo "$as_me: failed program was:" >&5
62931 sed 's/^/| /' conftest.$ac_ext >&5
62933 eval "$as_ac_var=no"
62935 rm -f conftest.err conftest.$ac_objext \
62936 conftest$ac_exeext conftest.$ac_ext
62938 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62939 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62940 if test `eval echo '${'$as_ac_var'}'` = yes; then
62941 cat >>confdefs.h <<_ACEOF
62942 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62943 _ACEOF
62946 done
62948 else
62950 echo "$as_me:$LINENO: checking for _modf declaration" >&5
62951 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
62952 if test x${glibcxx_cv_func__modf_use+set} != xset; then
62953 if test "${glibcxx_cv_func__modf_use+set}" = set; then
62954 echo $ECHO_N "(cached) $ECHO_C" >&6
62955 else
62959 ac_ext=cc
62960 ac_cpp='$CXXCPP $CPPFLAGS'
62961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62965 cat >conftest.$ac_ext <<_ACEOF
62966 /* confdefs.h. */
62967 _ACEOF
62968 cat confdefs.h >>conftest.$ac_ext
62969 cat >>conftest.$ac_ext <<_ACEOF
62970 /* end confdefs.h. */
62971 #include <math.h>
62973 main ()
62975 _modf(0, 0);
62977 return 0;
62979 _ACEOF
62980 rm -f conftest.$ac_objext
62981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62982 (eval $ac_compile) 2>conftest.er1
62983 ac_status=$?
62984 grep -v '^ *+' conftest.er1 >conftest.err
62985 rm -f conftest.er1
62986 cat conftest.err >&5
62987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62988 (exit $ac_status); } &&
62989 { ac_try='test -z "$ac_cxx_werror_flag"
62990 || test ! -s conftest.err'
62991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62992 (eval $ac_try) 2>&5
62993 ac_status=$?
62994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62995 (exit $ac_status); }; } &&
62996 { ac_try='test -s conftest.$ac_objext'
62997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62998 (eval $ac_try) 2>&5
62999 ac_status=$?
63000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63001 (exit $ac_status); }; }; then
63002 glibcxx_cv_func__modf_use=yes
63003 else
63004 echo "$as_me: failed program was:" >&5
63005 sed 's/^/| /' conftest.$ac_ext >&5
63007 glibcxx_cv_func__modf_use=no
63009 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63010 ac_ext=c
63011 ac_cpp='$CPP $CPPFLAGS'
63012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63020 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
63021 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
63023 if test x$glibcxx_cv_func__modf_use = x"yes"; then
63025 for ac_func in _modf
63027 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63028 echo "$as_me:$LINENO: checking for $ac_func" >&5
63029 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63030 if eval "test \"\${$as_ac_var+set}\" = set"; then
63031 echo $ECHO_N "(cached) $ECHO_C" >&6
63032 else
63033 if test x$gcc_no_link = xyes; then
63034 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63035 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63036 { (exit 1); exit 1; }; }
63038 cat >conftest.$ac_ext <<_ACEOF
63039 /* confdefs.h. */
63040 _ACEOF
63041 cat confdefs.h >>conftest.$ac_ext
63042 cat >>conftest.$ac_ext <<_ACEOF
63043 /* end confdefs.h. */
63044 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63045 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63046 #define $ac_func innocuous_$ac_func
63048 /* System header to define __stub macros and hopefully few prototypes,
63049 which can conflict with char $ac_func (); below.
63050 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63051 <limits.h> exists even on freestanding compilers. */
63053 #ifdef __STDC__
63054 # include <limits.h>
63055 #else
63056 # include <assert.h>
63057 #endif
63059 #undef $ac_func
63061 /* Override any gcc2 internal prototype to avoid an error. */
63062 #ifdef __cplusplus
63063 extern "C"
63065 #endif
63066 /* We use char because int might match the return type of a gcc2
63067 builtin and then its argument prototype would still apply. */
63068 char $ac_func ();
63069 /* The GNU C library defines this for functions which it implements
63070 to always fail with ENOSYS. Some functions are actually named
63071 something starting with __ and the normal name is an alias. */
63072 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63073 choke me
63074 #else
63075 char (*f) () = $ac_func;
63076 #endif
63077 #ifdef __cplusplus
63079 #endif
63082 main ()
63084 return f != $ac_func;
63086 return 0;
63088 _ACEOF
63089 rm -f conftest.$ac_objext conftest$ac_exeext
63090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63091 (eval $ac_link) 2>conftest.er1
63092 ac_status=$?
63093 grep -v '^ *+' conftest.er1 >conftest.err
63094 rm -f conftest.er1
63095 cat conftest.err >&5
63096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63097 (exit $ac_status); } &&
63098 { ac_try='test -z "$ac_c_werror_flag"
63099 || test ! -s conftest.err'
63100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63101 (eval $ac_try) 2>&5
63102 ac_status=$?
63103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63104 (exit $ac_status); }; } &&
63105 { ac_try='test -s conftest$ac_exeext'
63106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63107 (eval $ac_try) 2>&5
63108 ac_status=$?
63109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63110 (exit $ac_status); }; }; then
63111 eval "$as_ac_var=yes"
63112 else
63113 echo "$as_me: failed program was:" >&5
63114 sed 's/^/| /' conftest.$ac_ext >&5
63116 eval "$as_ac_var=no"
63118 rm -f conftest.err conftest.$ac_objext \
63119 conftest$ac_exeext conftest.$ac_ext
63121 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63122 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63123 if test `eval echo '${'$as_ac_var'}'` = yes; then
63124 cat >>confdefs.h <<_ACEOF
63125 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63126 _ACEOF
63129 done
63139 echo "$as_me:$LINENO: checking for powf declaration" >&5
63140 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
63141 if test x${glibcxx_cv_func_powf_use+set} != xset; then
63142 if test "${glibcxx_cv_func_powf_use+set}" = set; then
63143 echo $ECHO_N "(cached) $ECHO_C" >&6
63144 else
63148 ac_ext=cc
63149 ac_cpp='$CXXCPP $CPPFLAGS'
63150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63154 cat >conftest.$ac_ext <<_ACEOF
63155 /* confdefs.h. */
63156 _ACEOF
63157 cat confdefs.h >>conftest.$ac_ext
63158 cat >>conftest.$ac_ext <<_ACEOF
63159 /* end confdefs.h. */
63160 #include <math.h>
63162 main ()
63164 powf(0, 0);
63166 return 0;
63168 _ACEOF
63169 rm -f conftest.$ac_objext
63170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63171 (eval $ac_compile) 2>conftest.er1
63172 ac_status=$?
63173 grep -v '^ *+' conftest.er1 >conftest.err
63174 rm -f conftest.er1
63175 cat conftest.err >&5
63176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63177 (exit $ac_status); } &&
63178 { ac_try='test -z "$ac_cxx_werror_flag"
63179 || test ! -s conftest.err'
63180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63181 (eval $ac_try) 2>&5
63182 ac_status=$?
63183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63184 (exit $ac_status); }; } &&
63185 { ac_try='test -s conftest.$ac_objext'
63186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63187 (eval $ac_try) 2>&5
63188 ac_status=$?
63189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63190 (exit $ac_status); }; }; then
63191 glibcxx_cv_func_powf_use=yes
63192 else
63193 echo "$as_me: failed program was:" >&5
63194 sed 's/^/| /' conftest.$ac_ext >&5
63196 glibcxx_cv_func_powf_use=no
63198 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63199 ac_ext=c
63200 ac_cpp='$CPP $CPPFLAGS'
63201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63209 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
63210 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
63212 if test x$glibcxx_cv_func_powf_use = x"yes"; then
63214 for ac_func in powf
63216 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63217 echo "$as_me:$LINENO: checking for $ac_func" >&5
63218 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63219 if eval "test \"\${$as_ac_var+set}\" = set"; then
63220 echo $ECHO_N "(cached) $ECHO_C" >&6
63221 else
63222 if test x$gcc_no_link = xyes; then
63223 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63224 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63225 { (exit 1); exit 1; }; }
63227 cat >conftest.$ac_ext <<_ACEOF
63228 /* confdefs.h. */
63229 _ACEOF
63230 cat confdefs.h >>conftest.$ac_ext
63231 cat >>conftest.$ac_ext <<_ACEOF
63232 /* end confdefs.h. */
63233 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63234 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63235 #define $ac_func innocuous_$ac_func
63237 /* System header to define __stub macros and hopefully few prototypes,
63238 which can conflict with char $ac_func (); below.
63239 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63240 <limits.h> exists even on freestanding compilers. */
63242 #ifdef __STDC__
63243 # include <limits.h>
63244 #else
63245 # include <assert.h>
63246 #endif
63248 #undef $ac_func
63250 /* Override any gcc2 internal prototype to avoid an error. */
63251 #ifdef __cplusplus
63252 extern "C"
63254 #endif
63255 /* We use char because int might match the return type of a gcc2
63256 builtin and then its argument prototype would still apply. */
63257 char $ac_func ();
63258 /* The GNU C library defines this for functions which it implements
63259 to always fail with ENOSYS. Some functions are actually named
63260 something starting with __ and the normal name is an alias. */
63261 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63262 choke me
63263 #else
63264 char (*f) () = $ac_func;
63265 #endif
63266 #ifdef __cplusplus
63268 #endif
63271 main ()
63273 return f != $ac_func;
63275 return 0;
63277 _ACEOF
63278 rm -f conftest.$ac_objext conftest$ac_exeext
63279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63280 (eval $ac_link) 2>conftest.er1
63281 ac_status=$?
63282 grep -v '^ *+' conftest.er1 >conftest.err
63283 rm -f conftest.er1
63284 cat conftest.err >&5
63285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63286 (exit $ac_status); } &&
63287 { ac_try='test -z "$ac_c_werror_flag"
63288 || test ! -s conftest.err'
63289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63290 (eval $ac_try) 2>&5
63291 ac_status=$?
63292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63293 (exit $ac_status); }; } &&
63294 { ac_try='test -s conftest$ac_exeext'
63295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63296 (eval $ac_try) 2>&5
63297 ac_status=$?
63298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63299 (exit $ac_status); }; }; then
63300 eval "$as_ac_var=yes"
63301 else
63302 echo "$as_me: failed program was:" >&5
63303 sed 's/^/| /' conftest.$ac_ext >&5
63305 eval "$as_ac_var=no"
63307 rm -f conftest.err conftest.$ac_objext \
63308 conftest$ac_exeext conftest.$ac_ext
63310 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63311 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63312 if test `eval echo '${'$as_ac_var'}'` = yes; then
63313 cat >>confdefs.h <<_ACEOF
63314 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63315 _ACEOF
63318 done
63320 else
63322 echo "$as_me:$LINENO: checking for _powf declaration" >&5
63323 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
63324 if test x${glibcxx_cv_func__powf_use+set} != xset; then
63325 if test "${glibcxx_cv_func__powf_use+set}" = set; then
63326 echo $ECHO_N "(cached) $ECHO_C" >&6
63327 else
63331 ac_ext=cc
63332 ac_cpp='$CXXCPP $CPPFLAGS'
63333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63337 cat >conftest.$ac_ext <<_ACEOF
63338 /* confdefs.h. */
63339 _ACEOF
63340 cat confdefs.h >>conftest.$ac_ext
63341 cat >>conftest.$ac_ext <<_ACEOF
63342 /* end confdefs.h. */
63343 #include <math.h>
63345 main ()
63347 _powf(0, 0);
63349 return 0;
63351 _ACEOF
63352 rm -f conftest.$ac_objext
63353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63354 (eval $ac_compile) 2>conftest.er1
63355 ac_status=$?
63356 grep -v '^ *+' conftest.er1 >conftest.err
63357 rm -f conftest.er1
63358 cat conftest.err >&5
63359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63360 (exit $ac_status); } &&
63361 { ac_try='test -z "$ac_cxx_werror_flag"
63362 || test ! -s conftest.err'
63363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63364 (eval $ac_try) 2>&5
63365 ac_status=$?
63366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63367 (exit $ac_status); }; } &&
63368 { ac_try='test -s conftest.$ac_objext'
63369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63370 (eval $ac_try) 2>&5
63371 ac_status=$?
63372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63373 (exit $ac_status); }; }; then
63374 glibcxx_cv_func__powf_use=yes
63375 else
63376 echo "$as_me: failed program was:" >&5
63377 sed 's/^/| /' conftest.$ac_ext >&5
63379 glibcxx_cv_func__powf_use=no
63381 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63382 ac_ext=c
63383 ac_cpp='$CPP $CPPFLAGS'
63384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63392 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
63393 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
63395 if test x$glibcxx_cv_func__powf_use = x"yes"; then
63397 for ac_func in _powf
63399 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63400 echo "$as_me:$LINENO: checking for $ac_func" >&5
63401 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63402 if eval "test \"\${$as_ac_var+set}\" = set"; then
63403 echo $ECHO_N "(cached) $ECHO_C" >&6
63404 else
63405 if test x$gcc_no_link = xyes; then
63406 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63407 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63408 { (exit 1); exit 1; }; }
63410 cat >conftest.$ac_ext <<_ACEOF
63411 /* confdefs.h. */
63412 _ACEOF
63413 cat confdefs.h >>conftest.$ac_ext
63414 cat >>conftest.$ac_ext <<_ACEOF
63415 /* end confdefs.h. */
63416 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63417 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63418 #define $ac_func innocuous_$ac_func
63420 /* System header to define __stub macros and hopefully few prototypes,
63421 which can conflict with char $ac_func (); below.
63422 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63423 <limits.h> exists even on freestanding compilers. */
63425 #ifdef __STDC__
63426 # include <limits.h>
63427 #else
63428 # include <assert.h>
63429 #endif
63431 #undef $ac_func
63433 /* Override any gcc2 internal prototype to avoid an error. */
63434 #ifdef __cplusplus
63435 extern "C"
63437 #endif
63438 /* We use char because int might match the return type of a gcc2
63439 builtin and then its argument prototype would still apply. */
63440 char $ac_func ();
63441 /* The GNU C library defines this for functions which it implements
63442 to always fail with ENOSYS. Some functions are actually named
63443 something starting with __ and the normal name is an alias. */
63444 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63445 choke me
63446 #else
63447 char (*f) () = $ac_func;
63448 #endif
63449 #ifdef __cplusplus
63451 #endif
63454 main ()
63456 return f != $ac_func;
63458 return 0;
63460 _ACEOF
63461 rm -f conftest.$ac_objext conftest$ac_exeext
63462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63463 (eval $ac_link) 2>conftest.er1
63464 ac_status=$?
63465 grep -v '^ *+' conftest.er1 >conftest.err
63466 rm -f conftest.er1
63467 cat conftest.err >&5
63468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63469 (exit $ac_status); } &&
63470 { ac_try='test -z "$ac_c_werror_flag"
63471 || test ! -s conftest.err'
63472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63473 (eval $ac_try) 2>&5
63474 ac_status=$?
63475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63476 (exit $ac_status); }; } &&
63477 { ac_try='test -s conftest$ac_exeext'
63478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63479 (eval $ac_try) 2>&5
63480 ac_status=$?
63481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63482 (exit $ac_status); }; }; then
63483 eval "$as_ac_var=yes"
63484 else
63485 echo "$as_me: failed program was:" >&5
63486 sed 's/^/| /' conftest.$ac_ext >&5
63488 eval "$as_ac_var=no"
63490 rm -f conftest.err conftest.$ac_objext \
63491 conftest$ac_exeext conftest.$ac_ext
63493 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63494 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63495 if test `eval echo '${'$as_ac_var'}'` = yes; then
63496 cat >>confdefs.h <<_ACEOF
63497 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63498 _ACEOF
63501 done
63511 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
63512 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
63513 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
63514 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
63515 echo $ECHO_N "(cached) $ECHO_C" >&6
63516 else
63520 ac_ext=cc
63521 ac_cpp='$CXXCPP $CPPFLAGS'
63522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63526 cat >conftest.$ac_ext <<_ACEOF
63527 /* confdefs.h. */
63528 _ACEOF
63529 cat confdefs.h >>conftest.$ac_ext
63530 cat >>conftest.$ac_ext <<_ACEOF
63531 /* end confdefs.h. */
63532 #include <math.h>
63533 #ifdef HAVE_IEEEFP_H
63534 #include <ieeefp.h>
63535 #endif
63538 main ()
63540 sqrtf(0);
63542 return 0;
63544 _ACEOF
63545 rm -f conftest.$ac_objext
63546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63547 (eval $ac_compile) 2>conftest.er1
63548 ac_status=$?
63549 grep -v '^ *+' conftest.er1 >conftest.err
63550 rm -f conftest.er1
63551 cat conftest.err >&5
63552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63553 (exit $ac_status); } &&
63554 { ac_try='test -z "$ac_cxx_werror_flag"
63555 || test ! -s conftest.err'
63556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63557 (eval $ac_try) 2>&5
63558 ac_status=$?
63559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63560 (exit $ac_status); }; } &&
63561 { ac_try='test -s conftest.$ac_objext'
63562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63563 (eval $ac_try) 2>&5
63564 ac_status=$?
63565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63566 (exit $ac_status); }; }; then
63567 glibcxx_cv_func_sqrtf_use=yes
63568 else
63569 echo "$as_me: failed program was:" >&5
63570 sed 's/^/| /' conftest.$ac_ext >&5
63572 glibcxx_cv_func_sqrtf_use=no
63574 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63575 ac_ext=c
63576 ac_cpp='$CPP $CPPFLAGS'
63577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63585 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
63586 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
63588 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
63590 for ac_func in sqrtf
63592 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63593 echo "$as_me:$LINENO: checking for $ac_func" >&5
63594 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63595 if eval "test \"\${$as_ac_var+set}\" = set"; then
63596 echo $ECHO_N "(cached) $ECHO_C" >&6
63597 else
63598 if test x$gcc_no_link = xyes; then
63599 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63600 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63601 { (exit 1); exit 1; }; }
63603 cat >conftest.$ac_ext <<_ACEOF
63604 /* confdefs.h. */
63605 _ACEOF
63606 cat confdefs.h >>conftest.$ac_ext
63607 cat >>conftest.$ac_ext <<_ACEOF
63608 /* end confdefs.h. */
63609 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63610 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63611 #define $ac_func innocuous_$ac_func
63613 /* System header to define __stub macros and hopefully few prototypes,
63614 which can conflict with char $ac_func (); below.
63615 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63616 <limits.h> exists even on freestanding compilers. */
63618 #ifdef __STDC__
63619 # include <limits.h>
63620 #else
63621 # include <assert.h>
63622 #endif
63624 #undef $ac_func
63626 /* Override any gcc2 internal prototype to avoid an error. */
63627 #ifdef __cplusplus
63628 extern "C"
63630 #endif
63631 /* We use char because int might match the return type of a gcc2
63632 builtin and then its argument prototype would still apply. */
63633 char $ac_func ();
63634 /* The GNU C library defines this for functions which it implements
63635 to always fail with ENOSYS. Some functions are actually named
63636 something starting with __ and the normal name is an alias. */
63637 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63638 choke me
63639 #else
63640 char (*f) () = $ac_func;
63641 #endif
63642 #ifdef __cplusplus
63644 #endif
63647 main ()
63649 return f != $ac_func;
63651 return 0;
63653 _ACEOF
63654 rm -f conftest.$ac_objext conftest$ac_exeext
63655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63656 (eval $ac_link) 2>conftest.er1
63657 ac_status=$?
63658 grep -v '^ *+' conftest.er1 >conftest.err
63659 rm -f conftest.er1
63660 cat conftest.err >&5
63661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63662 (exit $ac_status); } &&
63663 { ac_try='test -z "$ac_c_werror_flag"
63664 || test ! -s conftest.err'
63665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63666 (eval $ac_try) 2>&5
63667 ac_status=$?
63668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63669 (exit $ac_status); }; } &&
63670 { ac_try='test -s conftest$ac_exeext'
63671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63672 (eval $ac_try) 2>&5
63673 ac_status=$?
63674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63675 (exit $ac_status); }; }; then
63676 eval "$as_ac_var=yes"
63677 else
63678 echo "$as_me: failed program was:" >&5
63679 sed 's/^/| /' conftest.$ac_ext >&5
63681 eval "$as_ac_var=no"
63683 rm -f conftest.err conftest.$ac_objext \
63684 conftest$ac_exeext conftest.$ac_ext
63686 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63687 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63688 if test `eval echo '${'$as_ac_var'}'` = yes; then
63689 cat >>confdefs.h <<_ACEOF
63690 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63691 _ACEOF
63694 done
63696 else
63698 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
63699 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
63700 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
63701 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
63702 echo $ECHO_N "(cached) $ECHO_C" >&6
63703 else
63707 ac_ext=cc
63708 ac_cpp='$CXXCPP $CPPFLAGS'
63709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63713 cat >conftest.$ac_ext <<_ACEOF
63714 /* confdefs.h. */
63715 _ACEOF
63716 cat confdefs.h >>conftest.$ac_ext
63717 cat >>conftest.$ac_ext <<_ACEOF
63718 /* end confdefs.h. */
63719 #include <math.h>
63720 #ifdef HAVE_IEEEFP_H
63721 #include <ieeefp.h>
63722 #endif
63725 main ()
63727 _sqrtf(0);
63729 return 0;
63731 _ACEOF
63732 rm -f conftest.$ac_objext
63733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63734 (eval $ac_compile) 2>conftest.er1
63735 ac_status=$?
63736 grep -v '^ *+' conftest.er1 >conftest.err
63737 rm -f conftest.er1
63738 cat conftest.err >&5
63739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63740 (exit $ac_status); } &&
63741 { ac_try='test -z "$ac_cxx_werror_flag"
63742 || test ! -s conftest.err'
63743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63744 (eval $ac_try) 2>&5
63745 ac_status=$?
63746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63747 (exit $ac_status); }; } &&
63748 { ac_try='test -s conftest.$ac_objext'
63749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63750 (eval $ac_try) 2>&5
63751 ac_status=$?
63752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63753 (exit $ac_status); }; }; then
63754 glibcxx_cv_func__sqrtf_use=yes
63755 else
63756 echo "$as_me: failed program was:" >&5
63757 sed 's/^/| /' conftest.$ac_ext >&5
63759 glibcxx_cv_func__sqrtf_use=no
63761 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63762 ac_ext=c
63763 ac_cpp='$CPP $CPPFLAGS'
63764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63772 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
63773 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
63775 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
63777 for ac_func in _sqrtf
63779 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63780 echo "$as_me:$LINENO: checking for $ac_func" >&5
63781 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63782 if eval "test \"\${$as_ac_var+set}\" = set"; then
63783 echo $ECHO_N "(cached) $ECHO_C" >&6
63784 else
63785 if test x$gcc_no_link = xyes; then
63786 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63787 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63788 { (exit 1); exit 1; }; }
63790 cat >conftest.$ac_ext <<_ACEOF
63791 /* confdefs.h. */
63792 _ACEOF
63793 cat confdefs.h >>conftest.$ac_ext
63794 cat >>conftest.$ac_ext <<_ACEOF
63795 /* end confdefs.h. */
63796 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63797 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63798 #define $ac_func innocuous_$ac_func
63800 /* System header to define __stub macros and hopefully few prototypes,
63801 which can conflict with char $ac_func (); below.
63802 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63803 <limits.h> exists even on freestanding compilers. */
63805 #ifdef __STDC__
63806 # include <limits.h>
63807 #else
63808 # include <assert.h>
63809 #endif
63811 #undef $ac_func
63813 /* Override any gcc2 internal prototype to avoid an error. */
63814 #ifdef __cplusplus
63815 extern "C"
63817 #endif
63818 /* We use char because int might match the return type of a gcc2
63819 builtin and then its argument prototype would still apply. */
63820 char $ac_func ();
63821 /* The GNU C library defines this for functions which it implements
63822 to always fail with ENOSYS. Some functions are actually named
63823 something starting with __ and the normal name is an alias. */
63824 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63825 choke me
63826 #else
63827 char (*f) () = $ac_func;
63828 #endif
63829 #ifdef __cplusplus
63831 #endif
63834 main ()
63836 return f != $ac_func;
63838 return 0;
63840 _ACEOF
63841 rm -f conftest.$ac_objext conftest$ac_exeext
63842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63843 (eval $ac_link) 2>conftest.er1
63844 ac_status=$?
63845 grep -v '^ *+' conftest.er1 >conftest.err
63846 rm -f conftest.er1
63847 cat conftest.err >&5
63848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63849 (exit $ac_status); } &&
63850 { ac_try='test -z "$ac_c_werror_flag"
63851 || test ! -s conftest.err'
63852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63853 (eval $ac_try) 2>&5
63854 ac_status=$?
63855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63856 (exit $ac_status); }; } &&
63857 { ac_try='test -s conftest$ac_exeext'
63858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63859 (eval $ac_try) 2>&5
63860 ac_status=$?
63861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63862 (exit $ac_status); }; }; then
63863 eval "$as_ac_var=yes"
63864 else
63865 echo "$as_me: failed program was:" >&5
63866 sed 's/^/| /' conftest.$ac_ext >&5
63868 eval "$as_ac_var=no"
63870 rm -f conftest.err conftest.$ac_objext \
63871 conftest$ac_exeext conftest.$ac_ext
63873 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63874 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63875 if test `eval echo '${'$as_ac_var'}'` = yes; then
63876 cat >>confdefs.h <<_ACEOF
63877 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63878 _ACEOF
63881 done
63891 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
63892 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
63893 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
63894 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
63895 echo $ECHO_N "(cached) $ECHO_C" >&6
63896 else
63900 ac_ext=cc
63901 ac_cpp='$CXXCPP $CPPFLAGS'
63902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63906 cat >conftest.$ac_ext <<_ACEOF
63907 /* confdefs.h. */
63908 _ACEOF
63909 cat confdefs.h >>conftest.$ac_ext
63910 cat >>conftest.$ac_ext <<_ACEOF
63911 /* end confdefs.h. */
63912 #include <math.h>
63914 main ()
63916 sincosf(0, 0, 0);
63918 return 0;
63920 _ACEOF
63921 rm -f conftest.$ac_objext
63922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63923 (eval $ac_compile) 2>conftest.er1
63924 ac_status=$?
63925 grep -v '^ *+' conftest.er1 >conftest.err
63926 rm -f conftest.er1
63927 cat conftest.err >&5
63928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63929 (exit $ac_status); } &&
63930 { ac_try='test -z "$ac_cxx_werror_flag"
63931 || test ! -s conftest.err'
63932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63933 (eval $ac_try) 2>&5
63934 ac_status=$?
63935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63936 (exit $ac_status); }; } &&
63937 { ac_try='test -s conftest.$ac_objext'
63938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63939 (eval $ac_try) 2>&5
63940 ac_status=$?
63941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63942 (exit $ac_status); }; }; then
63943 glibcxx_cv_func_sincosf_use=yes
63944 else
63945 echo "$as_me: failed program was:" >&5
63946 sed 's/^/| /' conftest.$ac_ext >&5
63948 glibcxx_cv_func_sincosf_use=no
63950 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63951 ac_ext=c
63952 ac_cpp='$CPP $CPPFLAGS'
63953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63961 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
63962 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
63964 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
63966 for ac_func in sincosf
63968 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63969 echo "$as_me:$LINENO: checking for $ac_func" >&5
63970 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63971 if eval "test \"\${$as_ac_var+set}\" = set"; then
63972 echo $ECHO_N "(cached) $ECHO_C" >&6
63973 else
63974 if test x$gcc_no_link = xyes; then
63975 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63976 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63977 { (exit 1); exit 1; }; }
63979 cat >conftest.$ac_ext <<_ACEOF
63980 /* confdefs.h. */
63981 _ACEOF
63982 cat confdefs.h >>conftest.$ac_ext
63983 cat >>conftest.$ac_ext <<_ACEOF
63984 /* end confdefs.h. */
63985 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63986 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63987 #define $ac_func innocuous_$ac_func
63989 /* System header to define __stub macros and hopefully few prototypes,
63990 which can conflict with char $ac_func (); below.
63991 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63992 <limits.h> exists even on freestanding compilers. */
63994 #ifdef __STDC__
63995 # include <limits.h>
63996 #else
63997 # include <assert.h>
63998 #endif
64000 #undef $ac_func
64002 /* Override any gcc2 internal prototype to avoid an error. */
64003 #ifdef __cplusplus
64004 extern "C"
64006 #endif
64007 /* We use char because int might match the return type of a gcc2
64008 builtin and then its argument prototype would still apply. */
64009 char $ac_func ();
64010 /* The GNU C library defines this for functions which it implements
64011 to always fail with ENOSYS. Some functions are actually named
64012 something starting with __ and the normal name is an alias. */
64013 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64014 choke me
64015 #else
64016 char (*f) () = $ac_func;
64017 #endif
64018 #ifdef __cplusplus
64020 #endif
64023 main ()
64025 return f != $ac_func;
64027 return 0;
64029 _ACEOF
64030 rm -f conftest.$ac_objext conftest$ac_exeext
64031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64032 (eval $ac_link) 2>conftest.er1
64033 ac_status=$?
64034 grep -v '^ *+' conftest.er1 >conftest.err
64035 rm -f conftest.er1
64036 cat conftest.err >&5
64037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64038 (exit $ac_status); } &&
64039 { ac_try='test -z "$ac_c_werror_flag"
64040 || test ! -s conftest.err'
64041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64042 (eval $ac_try) 2>&5
64043 ac_status=$?
64044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64045 (exit $ac_status); }; } &&
64046 { ac_try='test -s conftest$ac_exeext'
64047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64048 (eval $ac_try) 2>&5
64049 ac_status=$?
64050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64051 (exit $ac_status); }; }; then
64052 eval "$as_ac_var=yes"
64053 else
64054 echo "$as_me: failed program was:" >&5
64055 sed 's/^/| /' conftest.$ac_ext >&5
64057 eval "$as_ac_var=no"
64059 rm -f conftest.err conftest.$ac_objext \
64060 conftest$ac_exeext conftest.$ac_ext
64062 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64063 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64064 if test `eval echo '${'$as_ac_var'}'` = yes; then
64065 cat >>confdefs.h <<_ACEOF
64066 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64067 _ACEOF
64070 done
64072 else
64074 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
64075 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
64076 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
64077 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
64078 echo $ECHO_N "(cached) $ECHO_C" >&6
64079 else
64083 ac_ext=cc
64084 ac_cpp='$CXXCPP $CPPFLAGS'
64085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64089 cat >conftest.$ac_ext <<_ACEOF
64090 /* confdefs.h. */
64091 _ACEOF
64092 cat confdefs.h >>conftest.$ac_ext
64093 cat >>conftest.$ac_ext <<_ACEOF
64094 /* end confdefs.h. */
64095 #include <math.h>
64097 main ()
64099 _sincosf(0, 0, 0);
64101 return 0;
64103 _ACEOF
64104 rm -f conftest.$ac_objext
64105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64106 (eval $ac_compile) 2>conftest.er1
64107 ac_status=$?
64108 grep -v '^ *+' conftest.er1 >conftest.err
64109 rm -f conftest.er1
64110 cat conftest.err >&5
64111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64112 (exit $ac_status); } &&
64113 { ac_try='test -z "$ac_cxx_werror_flag"
64114 || test ! -s conftest.err'
64115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64116 (eval $ac_try) 2>&5
64117 ac_status=$?
64118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64119 (exit $ac_status); }; } &&
64120 { ac_try='test -s conftest.$ac_objext'
64121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64122 (eval $ac_try) 2>&5
64123 ac_status=$?
64124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64125 (exit $ac_status); }; }; then
64126 glibcxx_cv_func__sincosf_use=yes
64127 else
64128 echo "$as_me: failed program was:" >&5
64129 sed 's/^/| /' conftest.$ac_ext >&5
64131 glibcxx_cv_func__sincosf_use=no
64133 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64134 ac_ext=c
64135 ac_cpp='$CPP $CPPFLAGS'
64136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64144 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
64145 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
64147 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
64149 for ac_func in _sincosf
64151 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64152 echo "$as_me:$LINENO: checking for $ac_func" >&5
64153 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64154 if eval "test \"\${$as_ac_var+set}\" = set"; then
64155 echo $ECHO_N "(cached) $ECHO_C" >&6
64156 else
64157 if test x$gcc_no_link = xyes; then
64158 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64159 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64160 { (exit 1); exit 1; }; }
64162 cat >conftest.$ac_ext <<_ACEOF
64163 /* confdefs.h. */
64164 _ACEOF
64165 cat confdefs.h >>conftest.$ac_ext
64166 cat >>conftest.$ac_ext <<_ACEOF
64167 /* end confdefs.h. */
64168 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64169 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64170 #define $ac_func innocuous_$ac_func
64172 /* System header to define __stub macros and hopefully few prototypes,
64173 which can conflict with char $ac_func (); below.
64174 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64175 <limits.h> exists even on freestanding compilers. */
64177 #ifdef __STDC__
64178 # include <limits.h>
64179 #else
64180 # include <assert.h>
64181 #endif
64183 #undef $ac_func
64185 /* Override any gcc2 internal prototype to avoid an error. */
64186 #ifdef __cplusplus
64187 extern "C"
64189 #endif
64190 /* We use char because int might match the return type of a gcc2
64191 builtin and then its argument prototype would still apply. */
64192 char $ac_func ();
64193 /* The GNU C library defines this for functions which it implements
64194 to always fail with ENOSYS. Some functions are actually named
64195 something starting with __ and the normal name is an alias. */
64196 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64197 choke me
64198 #else
64199 char (*f) () = $ac_func;
64200 #endif
64201 #ifdef __cplusplus
64203 #endif
64206 main ()
64208 return f != $ac_func;
64210 return 0;
64212 _ACEOF
64213 rm -f conftest.$ac_objext conftest$ac_exeext
64214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64215 (eval $ac_link) 2>conftest.er1
64216 ac_status=$?
64217 grep -v '^ *+' conftest.er1 >conftest.err
64218 rm -f conftest.er1
64219 cat conftest.err >&5
64220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64221 (exit $ac_status); } &&
64222 { ac_try='test -z "$ac_c_werror_flag"
64223 || test ! -s conftest.err'
64224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64225 (eval $ac_try) 2>&5
64226 ac_status=$?
64227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64228 (exit $ac_status); }; } &&
64229 { ac_try='test -s conftest$ac_exeext'
64230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64231 (eval $ac_try) 2>&5
64232 ac_status=$?
64233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64234 (exit $ac_status); }; }; then
64235 eval "$as_ac_var=yes"
64236 else
64237 echo "$as_me: failed program was:" >&5
64238 sed 's/^/| /' conftest.$ac_ext >&5
64240 eval "$as_ac_var=no"
64242 rm -f conftest.err conftest.$ac_objext \
64243 conftest$ac_exeext conftest.$ac_ext
64245 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64246 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64247 if test `eval echo '${'$as_ac_var'}'` = yes; then
64248 cat >>confdefs.h <<_ACEOF
64249 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64250 _ACEOF
64253 done
64263 echo "$as_me:$LINENO: checking for finitef declaration" >&5
64264 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
64265 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
64266 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
64267 echo $ECHO_N "(cached) $ECHO_C" >&6
64268 else
64272 ac_ext=cc
64273 ac_cpp='$CXXCPP $CPPFLAGS'
64274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64278 cat >conftest.$ac_ext <<_ACEOF
64279 /* confdefs.h. */
64280 _ACEOF
64281 cat confdefs.h >>conftest.$ac_ext
64282 cat >>conftest.$ac_ext <<_ACEOF
64283 /* end confdefs.h. */
64284 #include <math.h>
64285 #ifdef HAVE_IEEEFP_H
64286 #include <ieeefp.h>
64287 #endif
64290 main ()
64292 finitef(0);
64294 return 0;
64296 _ACEOF
64297 rm -f conftest.$ac_objext
64298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64299 (eval $ac_compile) 2>conftest.er1
64300 ac_status=$?
64301 grep -v '^ *+' conftest.er1 >conftest.err
64302 rm -f conftest.er1
64303 cat conftest.err >&5
64304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64305 (exit $ac_status); } &&
64306 { ac_try='test -z "$ac_cxx_werror_flag"
64307 || test ! -s conftest.err'
64308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64309 (eval $ac_try) 2>&5
64310 ac_status=$?
64311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64312 (exit $ac_status); }; } &&
64313 { ac_try='test -s conftest.$ac_objext'
64314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64315 (eval $ac_try) 2>&5
64316 ac_status=$?
64317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64318 (exit $ac_status); }; }; then
64319 glibcxx_cv_func_finitef_use=yes
64320 else
64321 echo "$as_me: failed program was:" >&5
64322 sed 's/^/| /' conftest.$ac_ext >&5
64324 glibcxx_cv_func_finitef_use=no
64326 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64327 ac_ext=c
64328 ac_cpp='$CPP $CPPFLAGS'
64329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64337 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
64338 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
64340 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
64342 for ac_func in finitef
64344 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64345 echo "$as_me:$LINENO: checking for $ac_func" >&5
64346 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64347 if eval "test \"\${$as_ac_var+set}\" = set"; then
64348 echo $ECHO_N "(cached) $ECHO_C" >&6
64349 else
64350 if test x$gcc_no_link = xyes; then
64351 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64352 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64353 { (exit 1); exit 1; }; }
64355 cat >conftest.$ac_ext <<_ACEOF
64356 /* confdefs.h. */
64357 _ACEOF
64358 cat confdefs.h >>conftest.$ac_ext
64359 cat >>conftest.$ac_ext <<_ACEOF
64360 /* end confdefs.h. */
64361 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64362 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64363 #define $ac_func innocuous_$ac_func
64365 /* System header to define __stub macros and hopefully few prototypes,
64366 which can conflict with char $ac_func (); below.
64367 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64368 <limits.h> exists even on freestanding compilers. */
64370 #ifdef __STDC__
64371 # include <limits.h>
64372 #else
64373 # include <assert.h>
64374 #endif
64376 #undef $ac_func
64378 /* Override any gcc2 internal prototype to avoid an error. */
64379 #ifdef __cplusplus
64380 extern "C"
64382 #endif
64383 /* We use char because int might match the return type of a gcc2
64384 builtin and then its argument prototype would still apply. */
64385 char $ac_func ();
64386 /* The GNU C library defines this for functions which it implements
64387 to always fail with ENOSYS. Some functions are actually named
64388 something starting with __ and the normal name is an alias. */
64389 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64390 choke me
64391 #else
64392 char (*f) () = $ac_func;
64393 #endif
64394 #ifdef __cplusplus
64396 #endif
64399 main ()
64401 return f != $ac_func;
64403 return 0;
64405 _ACEOF
64406 rm -f conftest.$ac_objext conftest$ac_exeext
64407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64408 (eval $ac_link) 2>conftest.er1
64409 ac_status=$?
64410 grep -v '^ *+' conftest.er1 >conftest.err
64411 rm -f conftest.er1
64412 cat conftest.err >&5
64413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64414 (exit $ac_status); } &&
64415 { ac_try='test -z "$ac_c_werror_flag"
64416 || test ! -s conftest.err'
64417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64418 (eval $ac_try) 2>&5
64419 ac_status=$?
64420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64421 (exit $ac_status); }; } &&
64422 { ac_try='test -s conftest$ac_exeext'
64423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64424 (eval $ac_try) 2>&5
64425 ac_status=$?
64426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64427 (exit $ac_status); }; }; then
64428 eval "$as_ac_var=yes"
64429 else
64430 echo "$as_me: failed program was:" >&5
64431 sed 's/^/| /' conftest.$ac_ext >&5
64433 eval "$as_ac_var=no"
64435 rm -f conftest.err conftest.$ac_objext \
64436 conftest$ac_exeext conftest.$ac_ext
64438 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64439 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64440 if test `eval echo '${'$as_ac_var'}'` = yes; then
64441 cat >>confdefs.h <<_ACEOF
64442 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64443 _ACEOF
64446 done
64448 else
64450 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
64451 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
64452 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
64453 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
64454 echo $ECHO_N "(cached) $ECHO_C" >&6
64455 else
64459 ac_ext=cc
64460 ac_cpp='$CXXCPP $CPPFLAGS'
64461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64465 cat >conftest.$ac_ext <<_ACEOF
64466 /* confdefs.h. */
64467 _ACEOF
64468 cat confdefs.h >>conftest.$ac_ext
64469 cat >>conftest.$ac_ext <<_ACEOF
64470 /* end confdefs.h. */
64471 #include <math.h>
64472 #ifdef HAVE_IEEEFP_H
64473 #include <ieeefp.h>
64474 #endif
64477 main ()
64479 _finitef(0);
64481 return 0;
64483 _ACEOF
64484 rm -f conftest.$ac_objext
64485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64486 (eval $ac_compile) 2>conftest.er1
64487 ac_status=$?
64488 grep -v '^ *+' conftest.er1 >conftest.err
64489 rm -f conftest.er1
64490 cat conftest.err >&5
64491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64492 (exit $ac_status); } &&
64493 { ac_try='test -z "$ac_cxx_werror_flag"
64494 || test ! -s conftest.err'
64495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64496 (eval $ac_try) 2>&5
64497 ac_status=$?
64498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64499 (exit $ac_status); }; } &&
64500 { ac_try='test -s conftest.$ac_objext'
64501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64502 (eval $ac_try) 2>&5
64503 ac_status=$?
64504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64505 (exit $ac_status); }; }; then
64506 glibcxx_cv_func__finitef_use=yes
64507 else
64508 echo "$as_me: failed program was:" >&5
64509 sed 's/^/| /' conftest.$ac_ext >&5
64511 glibcxx_cv_func__finitef_use=no
64513 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64514 ac_ext=c
64515 ac_cpp='$CPP $CPPFLAGS'
64516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64524 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
64525 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
64527 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
64529 for ac_func in _finitef
64531 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64532 echo "$as_me:$LINENO: checking for $ac_func" >&5
64533 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64534 if eval "test \"\${$as_ac_var+set}\" = set"; then
64535 echo $ECHO_N "(cached) $ECHO_C" >&6
64536 else
64537 if test x$gcc_no_link = xyes; then
64538 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64539 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64540 { (exit 1); exit 1; }; }
64542 cat >conftest.$ac_ext <<_ACEOF
64543 /* confdefs.h. */
64544 _ACEOF
64545 cat confdefs.h >>conftest.$ac_ext
64546 cat >>conftest.$ac_ext <<_ACEOF
64547 /* end confdefs.h. */
64548 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64549 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64550 #define $ac_func innocuous_$ac_func
64552 /* System header to define __stub macros and hopefully few prototypes,
64553 which can conflict with char $ac_func (); below.
64554 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64555 <limits.h> exists even on freestanding compilers. */
64557 #ifdef __STDC__
64558 # include <limits.h>
64559 #else
64560 # include <assert.h>
64561 #endif
64563 #undef $ac_func
64565 /* Override any gcc2 internal prototype to avoid an error. */
64566 #ifdef __cplusplus
64567 extern "C"
64569 #endif
64570 /* We use char because int might match the return type of a gcc2
64571 builtin and then its argument prototype would still apply. */
64572 char $ac_func ();
64573 /* The GNU C library defines this for functions which it implements
64574 to always fail with ENOSYS. Some functions are actually named
64575 something starting with __ and the normal name is an alias. */
64576 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64577 choke me
64578 #else
64579 char (*f) () = $ac_func;
64580 #endif
64581 #ifdef __cplusplus
64583 #endif
64586 main ()
64588 return f != $ac_func;
64590 return 0;
64592 _ACEOF
64593 rm -f conftest.$ac_objext conftest$ac_exeext
64594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64595 (eval $ac_link) 2>conftest.er1
64596 ac_status=$?
64597 grep -v '^ *+' conftest.er1 >conftest.err
64598 rm -f conftest.er1
64599 cat conftest.err >&5
64600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64601 (exit $ac_status); } &&
64602 { ac_try='test -z "$ac_c_werror_flag"
64603 || test ! -s conftest.err'
64604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64605 (eval $ac_try) 2>&5
64606 ac_status=$?
64607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64608 (exit $ac_status); }; } &&
64609 { ac_try='test -s conftest$ac_exeext'
64610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64611 (eval $ac_try) 2>&5
64612 ac_status=$?
64613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64614 (exit $ac_status); }; }; then
64615 eval "$as_ac_var=yes"
64616 else
64617 echo "$as_me: failed program was:" >&5
64618 sed 's/^/| /' conftest.$ac_ext >&5
64620 eval "$as_ac_var=no"
64622 rm -f conftest.err conftest.$ac_objext \
64623 conftest$ac_exeext conftest.$ac_ext
64625 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64626 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64627 if test `eval echo '${'$as_ac_var'}'` = yes; then
64628 cat >>confdefs.h <<_ACEOF
64629 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64630 _ACEOF
64633 done
64643 echo "$as_me:$LINENO: checking for long double trig functions" >&5
64644 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
64645 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
64646 echo $ECHO_N "(cached) $ECHO_C" >&6
64647 else
64651 ac_ext=cc
64652 ac_cpp='$CXXCPP $CPPFLAGS'
64653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64657 cat >conftest.$ac_ext <<_ACEOF
64658 /* confdefs.h. */
64659 _ACEOF
64660 cat confdefs.h >>conftest.$ac_ext
64661 cat >>conftest.$ac_ext <<_ACEOF
64662 /* end confdefs.h. */
64663 #include <math.h>
64665 main ()
64667 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
64669 return 0;
64671 _ACEOF
64672 rm -f conftest.$ac_objext
64673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64674 (eval $ac_compile) 2>conftest.er1
64675 ac_status=$?
64676 grep -v '^ *+' conftest.er1 >conftest.err
64677 rm -f conftest.er1
64678 cat conftest.err >&5
64679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64680 (exit $ac_status); } &&
64681 { ac_try='test -z "$ac_cxx_werror_flag"
64682 || test ! -s conftest.err'
64683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64684 (eval $ac_try) 2>&5
64685 ac_status=$?
64686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64687 (exit $ac_status); }; } &&
64688 { ac_try='test -s conftest.$ac_objext'
64689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64690 (eval $ac_try) 2>&5
64691 ac_status=$?
64692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64693 (exit $ac_status); }; }; then
64694 glibcxx_cv_func_long_double_trig_use=yes
64695 else
64696 echo "$as_me: failed program was:" >&5
64697 sed 's/^/| /' conftest.$ac_ext >&5
64699 glibcxx_cv_func_long_double_trig_use=no
64701 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64702 ac_ext=c
64703 ac_cpp='$CPP $CPPFLAGS'
64704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64710 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
64711 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
64712 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
64722 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
64724 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64725 echo "$as_me:$LINENO: checking for $ac_func" >&5
64726 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64727 if eval "test \"\${$as_ac_var+set}\" = set"; then
64728 echo $ECHO_N "(cached) $ECHO_C" >&6
64729 else
64730 if test x$gcc_no_link = xyes; then
64731 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64732 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64733 { (exit 1); exit 1; }; }
64735 cat >conftest.$ac_ext <<_ACEOF
64736 /* confdefs.h. */
64737 _ACEOF
64738 cat confdefs.h >>conftest.$ac_ext
64739 cat >>conftest.$ac_ext <<_ACEOF
64740 /* end confdefs.h. */
64741 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64742 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64743 #define $ac_func innocuous_$ac_func
64745 /* System header to define __stub macros and hopefully few prototypes,
64746 which can conflict with char $ac_func (); below.
64747 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64748 <limits.h> exists even on freestanding compilers. */
64750 #ifdef __STDC__
64751 # include <limits.h>
64752 #else
64753 # include <assert.h>
64754 #endif
64756 #undef $ac_func
64758 /* Override any gcc2 internal prototype to avoid an error. */
64759 #ifdef __cplusplus
64760 extern "C"
64762 #endif
64763 /* We use char because int might match the return type of a gcc2
64764 builtin and then its argument prototype would still apply. */
64765 char $ac_func ();
64766 /* The GNU C library defines this for functions which it implements
64767 to always fail with ENOSYS. Some functions are actually named
64768 something starting with __ and the normal name is an alias. */
64769 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64770 choke me
64771 #else
64772 char (*f) () = $ac_func;
64773 #endif
64774 #ifdef __cplusplus
64776 #endif
64779 main ()
64781 return f != $ac_func;
64783 return 0;
64785 _ACEOF
64786 rm -f conftest.$ac_objext conftest$ac_exeext
64787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64788 (eval $ac_link) 2>conftest.er1
64789 ac_status=$?
64790 grep -v '^ *+' conftest.er1 >conftest.err
64791 rm -f conftest.er1
64792 cat conftest.err >&5
64793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64794 (exit $ac_status); } &&
64795 { ac_try='test -z "$ac_c_werror_flag"
64796 || test ! -s conftest.err'
64797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64798 (eval $ac_try) 2>&5
64799 ac_status=$?
64800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64801 (exit $ac_status); }; } &&
64802 { ac_try='test -s conftest$ac_exeext'
64803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64804 (eval $ac_try) 2>&5
64805 ac_status=$?
64806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64807 (exit $ac_status); }; }; then
64808 eval "$as_ac_var=yes"
64809 else
64810 echo "$as_me: failed program was:" >&5
64811 sed 's/^/| /' conftest.$ac_ext >&5
64813 eval "$as_ac_var=no"
64815 rm -f conftest.err conftest.$ac_objext \
64816 conftest$ac_exeext conftest.$ac_ext
64818 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64819 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64820 if test `eval echo '${'$as_ac_var'}'` = yes; then
64821 cat >>confdefs.h <<_ACEOF
64822 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64823 _ACEOF
64826 done
64828 else
64829 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
64830 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
64831 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
64832 echo $ECHO_N "(cached) $ECHO_C" >&6
64833 else
64837 ac_ext=cc
64838 ac_cpp='$CXXCPP $CPPFLAGS'
64839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64843 cat >conftest.$ac_ext <<_ACEOF
64844 /* confdefs.h. */
64845 _ACEOF
64846 cat confdefs.h >>conftest.$ac_ext
64847 cat >>conftest.$ac_ext <<_ACEOF
64848 /* end confdefs.h. */
64849 #include <math.h>
64851 main ()
64853 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
64855 return 0;
64857 _ACEOF
64858 rm -f conftest.$ac_objext
64859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64860 (eval $ac_compile) 2>conftest.er1
64861 ac_status=$?
64862 grep -v '^ *+' conftest.er1 >conftest.err
64863 rm -f conftest.er1
64864 cat conftest.err >&5
64865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64866 (exit $ac_status); } &&
64867 { ac_try='test -z "$ac_cxx_werror_flag"
64868 || test ! -s conftest.err'
64869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64870 (eval $ac_try) 2>&5
64871 ac_status=$?
64872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64873 (exit $ac_status); }; } &&
64874 { ac_try='test -s conftest.$ac_objext'
64875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64876 (eval $ac_try) 2>&5
64877 ac_status=$?
64878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64879 (exit $ac_status); }; }; then
64880 glibcxx_cv_func__long_double_trig_use=yes
64881 else
64882 echo "$as_me: failed program was:" >&5
64883 sed 's/^/| /' conftest.$ac_ext >&5
64885 glibcxx_cv_func__long_double_trig_use=no
64887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64888 ac_ext=c
64889 ac_cpp='$CPP $CPPFLAGS'
64890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64896 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
64897 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
64898 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
64908 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
64910 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64911 echo "$as_me:$LINENO: checking for $ac_func" >&5
64912 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64913 if eval "test \"\${$as_ac_var+set}\" = set"; then
64914 echo $ECHO_N "(cached) $ECHO_C" >&6
64915 else
64916 if test x$gcc_no_link = xyes; then
64917 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64918 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64919 { (exit 1); exit 1; }; }
64921 cat >conftest.$ac_ext <<_ACEOF
64922 /* confdefs.h. */
64923 _ACEOF
64924 cat confdefs.h >>conftest.$ac_ext
64925 cat >>conftest.$ac_ext <<_ACEOF
64926 /* end confdefs.h. */
64927 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64928 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64929 #define $ac_func innocuous_$ac_func
64931 /* System header to define __stub macros and hopefully few prototypes,
64932 which can conflict with char $ac_func (); below.
64933 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64934 <limits.h> exists even on freestanding compilers. */
64936 #ifdef __STDC__
64937 # include <limits.h>
64938 #else
64939 # include <assert.h>
64940 #endif
64942 #undef $ac_func
64944 /* Override any gcc2 internal prototype to avoid an error. */
64945 #ifdef __cplusplus
64946 extern "C"
64948 #endif
64949 /* We use char because int might match the return type of a gcc2
64950 builtin and then its argument prototype would still apply. */
64951 char $ac_func ();
64952 /* The GNU C library defines this for functions which it implements
64953 to always fail with ENOSYS. Some functions are actually named
64954 something starting with __ and the normal name is an alias. */
64955 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64956 choke me
64957 #else
64958 char (*f) () = $ac_func;
64959 #endif
64960 #ifdef __cplusplus
64962 #endif
64965 main ()
64967 return f != $ac_func;
64969 return 0;
64971 _ACEOF
64972 rm -f conftest.$ac_objext conftest$ac_exeext
64973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64974 (eval $ac_link) 2>conftest.er1
64975 ac_status=$?
64976 grep -v '^ *+' conftest.er1 >conftest.err
64977 rm -f conftest.er1
64978 cat conftest.err >&5
64979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64980 (exit $ac_status); } &&
64981 { ac_try='test -z "$ac_c_werror_flag"
64982 || test ! -s conftest.err'
64983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64984 (eval $ac_try) 2>&5
64985 ac_status=$?
64986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64987 (exit $ac_status); }; } &&
64988 { ac_try='test -s conftest$ac_exeext'
64989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64990 (eval $ac_try) 2>&5
64991 ac_status=$?
64992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64993 (exit $ac_status); }; }; then
64994 eval "$as_ac_var=yes"
64995 else
64996 echo "$as_me: failed program was:" >&5
64997 sed 's/^/| /' conftest.$ac_ext >&5
64999 eval "$as_ac_var=no"
65001 rm -f conftest.err conftest.$ac_objext \
65002 conftest$ac_exeext conftest.$ac_ext
65004 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65005 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65006 if test `eval echo '${'$as_ac_var'}'` = yes; then
65007 cat >>confdefs.h <<_ACEOF
65008 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65009 _ACEOF
65012 done
65030 echo "$as_me:$LINENO: checking for long double round functions" >&5
65031 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
65032 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
65033 echo $ECHO_N "(cached) $ECHO_C" >&6
65034 else
65038 ac_ext=cc
65039 ac_cpp='$CXXCPP $CPPFLAGS'
65040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65044 cat >conftest.$ac_ext <<_ACEOF
65045 /* confdefs.h. */
65046 _ACEOF
65047 cat confdefs.h >>conftest.$ac_ext
65048 cat >>conftest.$ac_ext <<_ACEOF
65049 /* end confdefs.h. */
65050 #include <math.h>
65052 main ()
65054 ceill (0); floorl (0);
65056 return 0;
65058 _ACEOF
65059 rm -f conftest.$ac_objext
65060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65061 (eval $ac_compile) 2>conftest.er1
65062 ac_status=$?
65063 grep -v '^ *+' conftest.er1 >conftest.err
65064 rm -f conftest.er1
65065 cat conftest.err >&5
65066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65067 (exit $ac_status); } &&
65068 { ac_try='test -z "$ac_cxx_werror_flag"
65069 || test ! -s conftest.err'
65070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65071 (eval $ac_try) 2>&5
65072 ac_status=$?
65073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65074 (exit $ac_status); }; } &&
65075 { ac_try='test -s conftest.$ac_objext'
65076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65077 (eval $ac_try) 2>&5
65078 ac_status=$?
65079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65080 (exit $ac_status); }; }; then
65081 glibcxx_cv_func_long_double_round_use=yes
65082 else
65083 echo "$as_me: failed program was:" >&5
65084 sed 's/^/| /' conftest.$ac_ext >&5
65086 glibcxx_cv_func_long_double_round_use=no
65088 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65089 ac_ext=c
65090 ac_cpp='$CPP $CPPFLAGS'
65091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65097 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
65098 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
65099 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
65102 for ac_func in ceill floorl
65104 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65105 echo "$as_me:$LINENO: checking for $ac_func" >&5
65106 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65107 if eval "test \"\${$as_ac_var+set}\" = set"; then
65108 echo $ECHO_N "(cached) $ECHO_C" >&6
65109 else
65110 if test x$gcc_no_link = xyes; then
65111 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65112 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65113 { (exit 1); exit 1; }; }
65115 cat >conftest.$ac_ext <<_ACEOF
65116 /* confdefs.h. */
65117 _ACEOF
65118 cat confdefs.h >>conftest.$ac_ext
65119 cat >>conftest.$ac_ext <<_ACEOF
65120 /* end confdefs.h. */
65121 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65122 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65123 #define $ac_func innocuous_$ac_func
65125 /* System header to define __stub macros and hopefully few prototypes,
65126 which can conflict with char $ac_func (); below.
65127 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65128 <limits.h> exists even on freestanding compilers. */
65130 #ifdef __STDC__
65131 # include <limits.h>
65132 #else
65133 # include <assert.h>
65134 #endif
65136 #undef $ac_func
65138 /* Override any gcc2 internal prototype to avoid an error. */
65139 #ifdef __cplusplus
65140 extern "C"
65142 #endif
65143 /* We use char because int might match the return type of a gcc2
65144 builtin and then its argument prototype would still apply. */
65145 char $ac_func ();
65146 /* The GNU C library defines this for functions which it implements
65147 to always fail with ENOSYS. Some functions are actually named
65148 something starting with __ and the normal name is an alias. */
65149 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65150 choke me
65151 #else
65152 char (*f) () = $ac_func;
65153 #endif
65154 #ifdef __cplusplus
65156 #endif
65159 main ()
65161 return f != $ac_func;
65163 return 0;
65165 _ACEOF
65166 rm -f conftest.$ac_objext conftest$ac_exeext
65167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65168 (eval $ac_link) 2>conftest.er1
65169 ac_status=$?
65170 grep -v '^ *+' conftest.er1 >conftest.err
65171 rm -f conftest.er1
65172 cat conftest.err >&5
65173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65174 (exit $ac_status); } &&
65175 { ac_try='test -z "$ac_c_werror_flag"
65176 || test ! -s conftest.err'
65177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65178 (eval $ac_try) 2>&5
65179 ac_status=$?
65180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65181 (exit $ac_status); }; } &&
65182 { ac_try='test -s conftest$ac_exeext'
65183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65184 (eval $ac_try) 2>&5
65185 ac_status=$?
65186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65187 (exit $ac_status); }; }; then
65188 eval "$as_ac_var=yes"
65189 else
65190 echo "$as_me: failed program was:" >&5
65191 sed 's/^/| /' conftest.$ac_ext >&5
65193 eval "$as_ac_var=no"
65195 rm -f conftest.err conftest.$ac_objext \
65196 conftest$ac_exeext conftest.$ac_ext
65198 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65199 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65200 if test `eval echo '${'$as_ac_var'}'` = yes; then
65201 cat >>confdefs.h <<_ACEOF
65202 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65203 _ACEOF
65206 done
65208 else
65209 echo "$as_me:$LINENO: checking for _long double round functions" >&5
65210 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
65211 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
65212 echo $ECHO_N "(cached) $ECHO_C" >&6
65213 else
65217 ac_ext=cc
65218 ac_cpp='$CXXCPP $CPPFLAGS'
65219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65223 cat >conftest.$ac_ext <<_ACEOF
65224 /* confdefs.h. */
65225 _ACEOF
65226 cat confdefs.h >>conftest.$ac_ext
65227 cat >>conftest.$ac_ext <<_ACEOF
65228 /* end confdefs.h. */
65229 #include <math.h>
65231 main ()
65233 _ceill (0); _floorl (0);
65235 return 0;
65237 _ACEOF
65238 rm -f conftest.$ac_objext
65239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65240 (eval $ac_compile) 2>conftest.er1
65241 ac_status=$?
65242 grep -v '^ *+' conftest.er1 >conftest.err
65243 rm -f conftest.er1
65244 cat conftest.err >&5
65245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65246 (exit $ac_status); } &&
65247 { ac_try='test -z "$ac_cxx_werror_flag"
65248 || test ! -s conftest.err'
65249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65250 (eval $ac_try) 2>&5
65251 ac_status=$?
65252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65253 (exit $ac_status); }; } &&
65254 { ac_try='test -s conftest.$ac_objext'
65255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65256 (eval $ac_try) 2>&5
65257 ac_status=$?
65258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65259 (exit $ac_status); }; }; then
65260 glibcxx_cv_func__long_double_round_use=yes
65261 else
65262 echo "$as_me: failed program was:" >&5
65263 sed 's/^/| /' conftest.$ac_ext >&5
65265 glibcxx_cv_func__long_double_round_use=no
65267 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65268 ac_ext=c
65269 ac_cpp='$CPP $CPPFLAGS'
65270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65276 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
65277 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
65278 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
65281 for ac_func in _ceill _floorl
65283 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65284 echo "$as_me:$LINENO: checking for $ac_func" >&5
65285 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65286 if eval "test \"\${$as_ac_var+set}\" = set"; then
65287 echo $ECHO_N "(cached) $ECHO_C" >&6
65288 else
65289 if test x$gcc_no_link = xyes; then
65290 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65291 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65292 { (exit 1); exit 1; }; }
65294 cat >conftest.$ac_ext <<_ACEOF
65295 /* confdefs.h. */
65296 _ACEOF
65297 cat confdefs.h >>conftest.$ac_ext
65298 cat >>conftest.$ac_ext <<_ACEOF
65299 /* end confdefs.h. */
65300 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65301 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65302 #define $ac_func innocuous_$ac_func
65304 /* System header to define __stub macros and hopefully few prototypes,
65305 which can conflict with char $ac_func (); below.
65306 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65307 <limits.h> exists even on freestanding compilers. */
65309 #ifdef __STDC__
65310 # include <limits.h>
65311 #else
65312 # include <assert.h>
65313 #endif
65315 #undef $ac_func
65317 /* Override any gcc2 internal prototype to avoid an error. */
65318 #ifdef __cplusplus
65319 extern "C"
65321 #endif
65322 /* We use char because int might match the return type of a gcc2
65323 builtin and then its argument prototype would still apply. */
65324 char $ac_func ();
65325 /* The GNU C library defines this for functions which it implements
65326 to always fail with ENOSYS. Some functions are actually named
65327 something starting with __ and the normal name is an alias. */
65328 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65329 choke me
65330 #else
65331 char (*f) () = $ac_func;
65332 #endif
65333 #ifdef __cplusplus
65335 #endif
65338 main ()
65340 return f != $ac_func;
65342 return 0;
65344 _ACEOF
65345 rm -f conftest.$ac_objext conftest$ac_exeext
65346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65347 (eval $ac_link) 2>conftest.er1
65348 ac_status=$?
65349 grep -v '^ *+' conftest.er1 >conftest.err
65350 rm -f conftest.er1
65351 cat conftest.err >&5
65352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65353 (exit $ac_status); } &&
65354 { ac_try='test -z "$ac_c_werror_flag"
65355 || test ! -s conftest.err'
65356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65357 (eval $ac_try) 2>&5
65358 ac_status=$?
65359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65360 (exit $ac_status); }; } &&
65361 { ac_try='test -s conftest$ac_exeext'
65362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65363 (eval $ac_try) 2>&5
65364 ac_status=$?
65365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65366 (exit $ac_status); }; }; then
65367 eval "$as_ac_var=yes"
65368 else
65369 echo "$as_me: failed program was:" >&5
65370 sed 's/^/| /' conftest.$ac_ext >&5
65372 eval "$as_ac_var=no"
65374 rm -f conftest.err conftest.$ac_objext \
65375 conftest$ac_exeext conftest.$ac_ext
65377 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65378 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65379 if test `eval echo '${'$as_ac_var'}'` = yes; then
65380 cat >>confdefs.h <<_ACEOF
65381 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65382 _ACEOF
65385 done
65397 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
65398 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
65399 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
65400 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
65401 echo $ECHO_N "(cached) $ECHO_C" >&6
65402 else
65406 ac_ext=cc
65407 ac_cpp='$CXXCPP $CPPFLAGS'
65408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65412 cat >conftest.$ac_ext <<_ACEOF
65413 /* confdefs.h. */
65414 _ACEOF
65415 cat confdefs.h >>conftest.$ac_ext
65416 cat >>conftest.$ac_ext <<_ACEOF
65417 /* end confdefs.h. */
65418 #include <math.h>
65419 #ifdef HAVE_IEEEFP_H
65420 #include <ieeefp.h>
65421 #endif
65424 main ()
65426 isnanl(0);
65428 return 0;
65430 _ACEOF
65431 rm -f conftest.$ac_objext
65432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65433 (eval $ac_compile) 2>conftest.er1
65434 ac_status=$?
65435 grep -v '^ *+' conftest.er1 >conftest.err
65436 rm -f conftest.er1
65437 cat conftest.err >&5
65438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65439 (exit $ac_status); } &&
65440 { ac_try='test -z "$ac_cxx_werror_flag"
65441 || test ! -s conftest.err'
65442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65443 (eval $ac_try) 2>&5
65444 ac_status=$?
65445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65446 (exit $ac_status); }; } &&
65447 { ac_try='test -s conftest.$ac_objext'
65448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65449 (eval $ac_try) 2>&5
65450 ac_status=$?
65451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65452 (exit $ac_status); }; }; then
65453 glibcxx_cv_func_isnanl_use=yes
65454 else
65455 echo "$as_me: failed program was:" >&5
65456 sed 's/^/| /' conftest.$ac_ext >&5
65458 glibcxx_cv_func_isnanl_use=no
65460 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65461 ac_ext=c
65462 ac_cpp='$CPP $CPPFLAGS'
65463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65471 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
65472 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
65474 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
65476 for ac_func in isnanl
65478 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65479 echo "$as_me:$LINENO: checking for $ac_func" >&5
65480 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65481 if eval "test \"\${$as_ac_var+set}\" = set"; then
65482 echo $ECHO_N "(cached) $ECHO_C" >&6
65483 else
65484 if test x$gcc_no_link = xyes; then
65485 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65486 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65487 { (exit 1); exit 1; }; }
65489 cat >conftest.$ac_ext <<_ACEOF
65490 /* confdefs.h. */
65491 _ACEOF
65492 cat confdefs.h >>conftest.$ac_ext
65493 cat >>conftest.$ac_ext <<_ACEOF
65494 /* end confdefs.h. */
65495 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65496 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65497 #define $ac_func innocuous_$ac_func
65499 /* System header to define __stub macros and hopefully few prototypes,
65500 which can conflict with char $ac_func (); below.
65501 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65502 <limits.h> exists even on freestanding compilers. */
65504 #ifdef __STDC__
65505 # include <limits.h>
65506 #else
65507 # include <assert.h>
65508 #endif
65510 #undef $ac_func
65512 /* Override any gcc2 internal prototype to avoid an error. */
65513 #ifdef __cplusplus
65514 extern "C"
65516 #endif
65517 /* We use char because int might match the return type of a gcc2
65518 builtin and then its argument prototype would still apply. */
65519 char $ac_func ();
65520 /* The GNU C library defines this for functions which it implements
65521 to always fail with ENOSYS. Some functions are actually named
65522 something starting with __ and the normal name is an alias. */
65523 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65524 choke me
65525 #else
65526 char (*f) () = $ac_func;
65527 #endif
65528 #ifdef __cplusplus
65530 #endif
65533 main ()
65535 return f != $ac_func;
65537 return 0;
65539 _ACEOF
65540 rm -f conftest.$ac_objext conftest$ac_exeext
65541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65542 (eval $ac_link) 2>conftest.er1
65543 ac_status=$?
65544 grep -v '^ *+' conftest.er1 >conftest.err
65545 rm -f conftest.er1
65546 cat conftest.err >&5
65547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65548 (exit $ac_status); } &&
65549 { ac_try='test -z "$ac_c_werror_flag"
65550 || test ! -s conftest.err'
65551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65552 (eval $ac_try) 2>&5
65553 ac_status=$?
65554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65555 (exit $ac_status); }; } &&
65556 { ac_try='test -s conftest$ac_exeext'
65557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65558 (eval $ac_try) 2>&5
65559 ac_status=$?
65560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65561 (exit $ac_status); }; }; then
65562 eval "$as_ac_var=yes"
65563 else
65564 echo "$as_me: failed program was:" >&5
65565 sed 's/^/| /' conftest.$ac_ext >&5
65567 eval "$as_ac_var=no"
65569 rm -f conftest.err conftest.$ac_objext \
65570 conftest$ac_exeext conftest.$ac_ext
65572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65573 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65574 if test `eval echo '${'$as_ac_var'}'` = yes; then
65575 cat >>confdefs.h <<_ACEOF
65576 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65577 _ACEOF
65580 done
65582 else
65584 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
65585 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
65586 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
65587 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
65588 echo $ECHO_N "(cached) $ECHO_C" >&6
65589 else
65593 ac_ext=cc
65594 ac_cpp='$CXXCPP $CPPFLAGS'
65595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65599 cat >conftest.$ac_ext <<_ACEOF
65600 /* confdefs.h. */
65601 _ACEOF
65602 cat confdefs.h >>conftest.$ac_ext
65603 cat >>conftest.$ac_ext <<_ACEOF
65604 /* end confdefs.h. */
65605 #include <math.h>
65606 #ifdef HAVE_IEEEFP_H
65607 #include <ieeefp.h>
65608 #endif
65611 main ()
65613 _isnanl(0);
65615 return 0;
65617 _ACEOF
65618 rm -f conftest.$ac_objext
65619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65620 (eval $ac_compile) 2>conftest.er1
65621 ac_status=$?
65622 grep -v '^ *+' conftest.er1 >conftest.err
65623 rm -f conftest.er1
65624 cat conftest.err >&5
65625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65626 (exit $ac_status); } &&
65627 { ac_try='test -z "$ac_cxx_werror_flag"
65628 || test ! -s conftest.err'
65629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65630 (eval $ac_try) 2>&5
65631 ac_status=$?
65632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65633 (exit $ac_status); }; } &&
65634 { ac_try='test -s conftest.$ac_objext'
65635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65636 (eval $ac_try) 2>&5
65637 ac_status=$?
65638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65639 (exit $ac_status); }; }; then
65640 glibcxx_cv_func__isnanl_use=yes
65641 else
65642 echo "$as_me: failed program was:" >&5
65643 sed 's/^/| /' conftest.$ac_ext >&5
65645 glibcxx_cv_func__isnanl_use=no
65647 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65648 ac_ext=c
65649 ac_cpp='$CPP $CPPFLAGS'
65650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65658 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
65659 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
65661 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
65663 for ac_func in _isnanl
65665 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65666 echo "$as_me:$LINENO: checking for $ac_func" >&5
65667 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65668 if eval "test \"\${$as_ac_var+set}\" = set"; then
65669 echo $ECHO_N "(cached) $ECHO_C" >&6
65670 else
65671 if test x$gcc_no_link = xyes; then
65672 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65673 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65674 { (exit 1); exit 1; }; }
65676 cat >conftest.$ac_ext <<_ACEOF
65677 /* confdefs.h. */
65678 _ACEOF
65679 cat confdefs.h >>conftest.$ac_ext
65680 cat >>conftest.$ac_ext <<_ACEOF
65681 /* end confdefs.h. */
65682 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65683 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65684 #define $ac_func innocuous_$ac_func
65686 /* System header to define __stub macros and hopefully few prototypes,
65687 which can conflict with char $ac_func (); below.
65688 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65689 <limits.h> exists even on freestanding compilers. */
65691 #ifdef __STDC__
65692 # include <limits.h>
65693 #else
65694 # include <assert.h>
65695 #endif
65697 #undef $ac_func
65699 /* Override any gcc2 internal prototype to avoid an error. */
65700 #ifdef __cplusplus
65701 extern "C"
65703 #endif
65704 /* We use char because int might match the return type of a gcc2
65705 builtin and then its argument prototype would still apply. */
65706 char $ac_func ();
65707 /* The GNU C library defines this for functions which it implements
65708 to always fail with ENOSYS. Some functions are actually named
65709 something starting with __ and the normal name is an alias. */
65710 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65711 choke me
65712 #else
65713 char (*f) () = $ac_func;
65714 #endif
65715 #ifdef __cplusplus
65717 #endif
65720 main ()
65722 return f != $ac_func;
65724 return 0;
65726 _ACEOF
65727 rm -f conftest.$ac_objext conftest$ac_exeext
65728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65729 (eval $ac_link) 2>conftest.er1
65730 ac_status=$?
65731 grep -v '^ *+' conftest.er1 >conftest.err
65732 rm -f conftest.er1
65733 cat conftest.err >&5
65734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65735 (exit $ac_status); } &&
65736 { ac_try='test -z "$ac_c_werror_flag"
65737 || test ! -s conftest.err'
65738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65739 (eval $ac_try) 2>&5
65740 ac_status=$?
65741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65742 (exit $ac_status); }; } &&
65743 { ac_try='test -s conftest$ac_exeext'
65744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65745 (eval $ac_try) 2>&5
65746 ac_status=$?
65747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65748 (exit $ac_status); }; }; then
65749 eval "$as_ac_var=yes"
65750 else
65751 echo "$as_me: failed program was:" >&5
65752 sed 's/^/| /' conftest.$ac_ext >&5
65754 eval "$as_ac_var=no"
65756 rm -f conftest.err conftest.$ac_objext \
65757 conftest$ac_exeext conftest.$ac_ext
65759 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65760 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65761 if test `eval echo '${'$as_ac_var'}'` = yes; then
65762 cat >>confdefs.h <<_ACEOF
65763 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65764 _ACEOF
65767 done
65777 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
65778 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
65779 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
65780 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
65781 echo $ECHO_N "(cached) $ECHO_C" >&6
65782 else
65786 ac_ext=cc
65787 ac_cpp='$CXXCPP $CPPFLAGS'
65788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65792 cat >conftest.$ac_ext <<_ACEOF
65793 /* confdefs.h. */
65794 _ACEOF
65795 cat confdefs.h >>conftest.$ac_ext
65796 cat >>conftest.$ac_ext <<_ACEOF
65797 /* end confdefs.h. */
65798 #include <math.h>
65799 #ifdef HAVE_IEEEFP_H
65800 #include <ieeefp.h>
65801 #endif
65804 main ()
65806 isinfl(0);
65808 return 0;
65810 _ACEOF
65811 rm -f conftest.$ac_objext
65812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65813 (eval $ac_compile) 2>conftest.er1
65814 ac_status=$?
65815 grep -v '^ *+' conftest.er1 >conftest.err
65816 rm -f conftest.er1
65817 cat conftest.err >&5
65818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65819 (exit $ac_status); } &&
65820 { ac_try='test -z "$ac_cxx_werror_flag"
65821 || test ! -s conftest.err'
65822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65823 (eval $ac_try) 2>&5
65824 ac_status=$?
65825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65826 (exit $ac_status); }; } &&
65827 { ac_try='test -s conftest.$ac_objext'
65828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65829 (eval $ac_try) 2>&5
65830 ac_status=$?
65831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65832 (exit $ac_status); }; }; then
65833 glibcxx_cv_func_isinfl_use=yes
65834 else
65835 echo "$as_me: failed program was:" >&5
65836 sed 's/^/| /' conftest.$ac_ext >&5
65838 glibcxx_cv_func_isinfl_use=no
65840 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65841 ac_ext=c
65842 ac_cpp='$CPP $CPPFLAGS'
65843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65851 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
65852 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
65854 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
65856 for ac_func in isinfl
65858 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65859 echo "$as_me:$LINENO: checking for $ac_func" >&5
65860 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65861 if eval "test \"\${$as_ac_var+set}\" = set"; then
65862 echo $ECHO_N "(cached) $ECHO_C" >&6
65863 else
65864 if test x$gcc_no_link = xyes; then
65865 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65866 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65867 { (exit 1); exit 1; }; }
65869 cat >conftest.$ac_ext <<_ACEOF
65870 /* confdefs.h. */
65871 _ACEOF
65872 cat confdefs.h >>conftest.$ac_ext
65873 cat >>conftest.$ac_ext <<_ACEOF
65874 /* end confdefs.h. */
65875 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65876 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65877 #define $ac_func innocuous_$ac_func
65879 /* System header to define __stub macros and hopefully few prototypes,
65880 which can conflict with char $ac_func (); below.
65881 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65882 <limits.h> exists even on freestanding compilers. */
65884 #ifdef __STDC__
65885 # include <limits.h>
65886 #else
65887 # include <assert.h>
65888 #endif
65890 #undef $ac_func
65892 /* Override any gcc2 internal prototype to avoid an error. */
65893 #ifdef __cplusplus
65894 extern "C"
65896 #endif
65897 /* We use char because int might match the return type of a gcc2
65898 builtin and then its argument prototype would still apply. */
65899 char $ac_func ();
65900 /* The GNU C library defines this for functions which it implements
65901 to always fail with ENOSYS. Some functions are actually named
65902 something starting with __ and the normal name is an alias. */
65903 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65904 choke me
65905 #else
65906 char (*f) () = $ac_func;
65907 #endif
65908 #ifdef __cplusplus
65910 #endif
65913 main ()
65915 return f != $ac_func;
65917 return 0;
65919 _ACEOF
65920 rm -f conftest.$ac_objext conftest$ac_exeext
65921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65922 (eval $ac_link) 2>conftest.er1
65923 ac_status=$?
65924 grep -v '^ *+' conftest.er1 >conftest.err
65925 rm -f conftest.er1
65926 cat conftest.err >&5
65927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65928 (exit $ac_status); } &&
65929 { ac_try='test -z "$ac_c_werror_flag"
65930 || test ! -s conftest.err'
65931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65932 (eval $ac_try) 2>&5
65933 ac_status=$?
65934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65935 (exit $ac_status); }; } &&
65936 { ac_try='test -s conftest$ac_exeext'
65937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65938 (eval $ac_try) 2>&5
65939 ac_status=$?
65940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65941 (exit $ac_status); }; }; then
65942 eval "$as_ac_var=yes"
65943 else
65944 echo "$as_me: failed program was:" >&5
65945 sed 's/^/| /' conftest.$ac_ext >&5
65947 eval "$as_ac_var=no"
65949 rm -f conftest.err conftest.$ac_objext \
65950 conftest$ac_exeext conftest.$ac_ext
65952 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65953 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65954 if test `eval echo '${'$as_ac_var'}'` = yes; then
65955 cat >>confdefs.h <<_ACEOF
65956 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65957 _ACEOF
65960 done
65962 else
65964 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
65965 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
65966 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
65967 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
65968 echo $ECHO_N "(cached) $ECHO_C" >&6
65969 else
65973 ac_ext=cc
65974 ac_cpp='$CXXCPP $CPPFLAGS'
65975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65979 cat >conftest.$ac_ext <<_ACEOF
65980 /* confdefs.h. */
65981 _ACEOF
65982 cat confdefs.h >>conftest.$ac_ext
65983 cat >>conftest.$ac_ext <<_ACEOF
65984 /* end confdefs.h. */
65985 #include <math.h>
65986 #ifdef HAVE_IEEEFP_H
65987 #include <ieeefp.h>
65988 #endif
65991 main ()
65993 _isinfl(0);
65995 return 0;
65997 _ACEOF
65998 rm -f conftest.$ac_objext
65999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66000 (eval $ac_compile) 2>conftest.er1
66001 ac_status=$?
66002 grep -v '^ *+' conftest.er1 >conftest.err
66003 rm -f conftest.er1
66004 cat conftest.err >&5
66005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66006 (exit $ac_status); } &&
66007 { ac_try='test -z "$ac_cxx_werror_flag"
66008 || test ! -s conftest.err'
66009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66010 (eval $ac_try) 2>&5
66011 ac_status=$?
66012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66013 (exit $ac_status); }; } &&
66014 { ac_try='test -s conftest.$ac_objext'
66015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66016 (eval $ac_try) 2>&5
66017 ac_status=$?
66018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66019 (exit $ac_status); }; }; then
66020 glibcxx_cv_func__isinfl_use=yes
66021 else
66022 echo "$as_me: failed program was:" >&5
66023 sed 's/^/| /' conftest.$ac_ext >&5
66025 glibcxx_cv_func__isinfl_use=no
66027 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66028 ac_ext=c
66029 ac_cpp='$CPP $CPPFLAGS'
66030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66038 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
66039 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
66041 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
66043 for ac_func in _isinfl
66045 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66046 echo "$as_me:$LINENO: checking for $ac_func" >&5
66047 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66048 if eval "test \"\${$as_ac_var+set}\" = set"; then
66049 echo $ECHO_N "(cached) $ECHO_C" >&6
66050 else
66051 if test x$gcc_no_link = xyes; then
66052 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66053 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66054 { (exit 1); exit 1; }; }
66056 cat >conftest.$ac_ext <<_ACEOF
66057 /* confdefs.h. */
66058 _ACEOF
66059 cat confdefs.h >>conftest.$ac_ext
66060 cat >>conftest.$ac_ext <<_ACEOF
66061 /* end confdefs.h. */
66062 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66063 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66064 #define $ac_func innocuous_$ac_func
66066 /* System header to define __stub macros and hopefully few prototypes,
66067 which can conflict with char $ac_func (); below.
66068 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66069 <limits.h> exists even on freestanding compilers. */
66071 #ifdef __STDC__
66072 # include <limits.h>
66073 #else
66074 # include <assert.h>
66075 #endif
66077 #undef $ac_func
66079 /* Override any gcc2 internal prototype to avoid an error. */
66080 #ifdef __cplusplus
66081 extern "C"
66083 #endif
66084 /* We use char because int might match the return type of a gcc2
66085 builtin and then its argument prototype would still apply. */
66086 char $ac_func ();
66087 /* The GNU C library defines this for functions which it implements
66088 to always fail with ENOSYS. Some functions are actually named
66089 something starting with __ and the normal name is an alias. */
66090 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66091 choke me
66092 #else
66093 char (*f) () = $ac_func;
66094 #endif
66095 #ifdef __cplusplus
66097 #endif
66100 main ()
66102 return f != $ac_func;
66104 return 0;
66106 _ACEOF
66107 rm -f conftest.$ac_objext conftest$ac_exeext
66108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66109 (eval $ac_link) 2>conftest.er1
66110 ac_status=$?
66111 grep -v '^ *+' conftest.er1 >conftest.err
66112 rm -f conftest.er1
66113 cat conftest.err >&5
66114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66115 (exit $ac_status); } &&
66116 { ac_try='test -z "$ac_c_werror_flag"
66117 || test ! -s conftest.err'
66118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66119 (eval $ac_try) 2>&5
66120 ac_status=$?
66121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66122 (exit $ac_status); }; } &&
66123 { ac_try='test -s conftest$ac_exeext'
66124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66125 (eval $ac_try) 2>&5
66126 ac_status=$?
66127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66128 (exit $ac_status); }; }; then
66129 eval "$as_ac_var=yes"
66130 else
66131 echo "$as_me: failed program was:" >&5
66132 sed 's/^/| /' conftest.$ac_ext >&5
66134 eval "$as_ac_var=no"
66136 rm -f conftest.err conftest.$ac_objext \
66137 conftest$ac_exeext conftest.$ac_ext
66139 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66140 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66141 if test `eval echo '${'$as_ac_var'}'` = yes; then
66142 cat >>confdefs.h <<_ACEOF
66143 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66144 _ACEOF
66147 done
66157 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
66158 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
66159 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
66160 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
66161 echo $ECHO_N "(cached) $ECHO_C" >&6
66162 else
66166 ac_ext=cc
66167 ac_cpp='$CXXCPP $CPPFLAGS'
66168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66172 cat >conftest.$ac_ext <<_ACEOF
66173 /* confdefs.h. */
66174 _ACEOF
66175 cat confdefs.h >>conftest.$ac_ext
66176 cat >>conftest.$ac_ext <<_ACEOF
66177 /* end confdefs.h. */
66178 #include <math.h>
66180 main ()
66182 copysignl(0, 0);
66184 return 0;
66186 _ACEOF
66187 rm -f conftest.$ac_objext
66188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66189 (eval $ac_compile) 2>conftest.er1
66190 ac_status=$?
66191 grep -v '^ *+' conftest.er1 >conftest.err
66192 rm -f conftest.er1
66193 cat conftest.err >&5
66194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66195 (exit $ac_status); } &&
66196 { ac_try='test -z "$ac_cxx_werror_flag"
66197 || test ! -s conftest.err'
66198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66199 (eval $ac_try) 2>&5
66200 ac_status=$?
66201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66202 (exit $ac_status); }; } &&
66203 { ac_try='test -s conftest.$ac_objext'
66204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66205 (eval $ac_try) 2>&5
66206 ac_status=$?
66207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66208 (exit $ac_status); }; }; then
66209 glibcxx_cv_func_copysignl_use=yes
66210 else
66211 echo "$as_me: failed program was:" >&5
66212 sed 's/^/| /' conftest.$ac_ext >&5
66214 glibcxx_cv_func_copysignl_use=no
66216 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66217 ac_ext=c
66218 ac_cpp='$CPP $CPPFLAGS'
66219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66227 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
66228 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
66230 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
66232 for ac_func in copysignl
66234 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66235 echo "$as_me:$LINENO: checking for $ac_func" >&5
66236 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66237 if eval "test \"\${$as_ac_var+set}\" = set"; then
66238 echo $ECHO_N "(cached) $ECHO_C" >&6
66239 else
66240 if test x$gcc_no_link = xyes; then
66241 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66242 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66243 { (exit 1); exit 1; }; }
66245 cat >conftest.$ac_ext <<_ACEOF
66246 /* confdefs.h. */
66247 _ACEOF
66248 cat confdefs.h >>conftest.$ac_ext
66249 cat >>conftest.$ac_ext <<_ACEOF
66250 /* end confdefs.h. */
66251 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66252 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66253 #define $ac_func innocuous_$ac_func
66255 /* System header to define __stub macros and hopefully few prototypes,
66256 which can conflict with char $ac_func (); below.
66257 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66258 <limits.h> exists even on freestanding compilers. */
66260 #ifdef __STDC__
66261 # include <limits.h>
66262 #else
66263 # include <assert.h>
66264 #endif
66266 #undef $ac_func
66268 /* Override any gcc2 internal prototype to avoid an error. */
66269 #ifdef __cplusplus
66270 extern "C"
66272 #endif
66273 /* We use char because int might match the return type of a gcc2
66274 builtin and then its argument prototype would still apply. */
66275 char $ac_func ();
66276 /* The GNU C library defines this for functions which it implements
66277 to always fail with ENOSYS. Some functions are actually named
66278 something starting with __ and the normal name is an alias. */
66279 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66280 choke me
66281 #else
66282 char (*f) () = $ac_func;
66283 #endif
66284 #ifdef __cplusplus
66286 #endif
66289 main ()
66291 return f != $ac_func;
66293 return 0;
66295 _ACEOF
66296 rm -f conftest.$ac_objext conftest$ac_exeext
66297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66298 (eval $ac_link) 2>conftest.er1
66299 ac_status=$?
66300 grep -v '^ *+' conftest.er1 >conftest.err
66301 rm -f conftest.er1
66302 cat conftest.err >&5
66303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66304 (exit $ac_status); } &&
66305 { ac_try='test -z "$ac_c_werror_flag"
66306 || test ! -s conftest.err'
66307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66308 (eval $ac_try) 2>&5
66309 ac_status=$?
66310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66311 (exit $ac_status); }; } &&
66312 { ac_try='test -s conftest$ac_exeext'
66313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66314 (eval $ac_try) 2>&5
66315 ac_status=$?
66316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66317 (exit $ac_status); }; }; then
66318 eval "$as_ac_var=yes"
66319 else
66320 echo "$as_me: failed program was:" >&5
66321 sed 's/^/| /' conftest.$ac_ext >&5
66323 eval "$as_ac_var=no"
66325 rm -f conftest.err conftest.$ac_objext \
66326 conftest$ac_exeext conftest.$ac_ext
66328 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66329 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66330 if test `eval echo '${'$as_ac_var'}'` = yes; then
66331 cat >>confdefs.h <<_ACEOF
66332 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66333 _ACEOF
66336 done
66338 else
66340 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
66341 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
66342 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
66343 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
66344 echo $ECHO_N "(cached) $ECHO_C" >&6
66345 else
66349 ac_ext=cc
66350 ac_cpp='$CXXCPP $CPPFLAGS'
66351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66355 cat >conftest.$ac_ext <<_ACEOF
66356 /* confdefs.h. */
66357 _ACEOF
66358 cat confdefs.h >>conftest.$ac_ext
66359 cat >>conftest.$ac_ext <<_ACEOF
66360 /* end confdefs.h. */
66361 #include <math.h>
66363 main ()
66365 _copysignl(0, 0);
66367 return 0;
66369 _ACEOF
66370 rm -f conftest.$ac_objext
66371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66372 (eval $ac_compile) 2>conftest.er1
66373 ac_status=$?
66374 grep -v '^ *+' conftest.er1 >conftest.err
66375 rm -f conftest.er1
66376 cat conftest.err >&5
66377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66378 (exit $ac_status); } &&
66379 { ac_try='test -z "$ac_cxx_werror_flag"
66380 || test ! -s conftest.err'
66381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66382 (eval $ac_try) 2>&5
66383 ac_status=$?
66384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66385 (exit $ac_status); }; } &&
66386 { ac_try='test -s conftest.$ac_objext'
66387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66388 (eval $ac_try) 2>&5
66389 ac_status=$?
66390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66391 (exit $ac_status); }; }; then
66392 glibcxx_cv_func__copysignl_use=yes
66393 else
66394 echo "$as_me: failed program was:" >&5
66395 sed 's/^/| /' conftest.$ac_ext >&5
66397 glibcxx_cv_func__copysignl_use=no
66399 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66400 ac_ext=c
66401 ac_cpp='$CPP $CPPFLAGS'
66402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66410 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
66411 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
66413 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
66415 for ac_func in _copysignl
66417 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66418 echo "$as_me:$LINENO: checking for $ac_func" >&5
66419 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66420 if eval "test \"\${$as_ac_var+set}\" = set"; then
66421 echo $ECHO_N "(cached) $ECHO_C" >&6
66422 else
66423 if test x$gcc_no_link = xyes; then
66424 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66425 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66426 { (exit 1); exit 1; }; }
66428 cat >conftest.$ac_ext <<_ACEOF
66429 /* confdefs.h. */
66430 _ACEOF
66431 cat confdefs.h >>conftest.$ac_ext
66432 cat >>conftest.$ac_ext <<_ACEOF
66433 /* end confdefs.h. */
66434 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66435 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66436 #define $ac_func innocuous_$ac_func
66438 /* System header to define __stub macros and hopefully few prototypes,
66439 which can conflict with char $ac_func (); below.
66440 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66441 <limits.h> exists even on freestanding compilers. */
66443 #ifdef __STDC__
66444 # include <limits.h>
66445 #else
66446 # include <assert.h>
66447 #endif
66449 #undef $ac_func
66451 /* Override any gcc2 internal prototype to avoid an error. */
66452 #ifdef __cplusplus
66453 extern "C"
66455 #endif
66456 /* We use char because int might match the return type of a gcc2
66457 builtin and then its argument prototype would still apply. */
66458 char $ac_func ();
66459 /* The GNU C library defines this for functions which it implements
66460 to always fail with ENOSYS. Some functions are actually named
66461 something starting with __ and the normal name is an alias. */
66462 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66463 choke me
66464 #else
66465 char (*f) () = $ac_func;
66466 #endif
66467 #ifdef __cplusplus
66469 #endif
66472 main ()
66474 return f != $ac_func;
66476 return 0;
66478 _ACEOF
66479 rm -f conftest.$ac_objext conftest$ac_exeext
66480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66481 (eval $ac_link) 2>conftest.er1
66482 ac_status=$?
66483 grep -v '^ *+' conftest.er1 >conftest.err
66484 rm -f conftest.er1
66485 cat conftest.err >&5
66486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66487 (exit $ac_status); } &&
66488 { ac_try='test -z "$ac_c_werror_flag"
66489 || test ! -s conftest.err'
66490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66491 (eval $ac_try) 2>&5
66492 ac_status=$?
66493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66494 (exit $ac_status); }; } &&
66495 { ac_try='test -s conftest$ac_exeext'
66496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66497 (eval $ac_try) 2>&5
66498 ac_status=$?
66499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66500 (exit $ac_status); }; }; then
66501 eval "$as_ac_var=yes"
66502 else
66503 echo "$as_me: failed program was:" >&5
66504 sed 's/^/| /' conftest.$ac_ext >&5
66506 eval "$as_ac_var=no"
66508 rm -f conftest.err conftest.$ac_objext \
66509 conftest$ac_exeext conftest.$ac_ext
66511 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66512 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66513 if test `eval echo '${'$as_ac_var'}'` = yes; then
66514 cat >>confdefs.h <<_ACEOF
66515 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66516 _ACEOF
66519 done
66529 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
66530 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
66531 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
66532 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
66533 echo $ECHO_N "(cached) $ECHO_C" >&6
66534 else
66538 ac_ext=cc
66539 ac_cpp='$CXXCPP $CPPFLAGS'
66540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66544 cat >conftest.$ac_ext <<_ACEOF
66545 /* confdefs.h. */
66546 _ACEOF
66547 cat confdefs.h >>conftest.$ac_ext
66548 cat >>conftest.$ac_ext <<_ACEOF
66549 /* end confdefs.h. */
66550 #include <math.h>
66552 main ()
66554 atan2l(0, 0);
66556 return 0;
66558 _ACEOF
66559 rm -f conftest.$ac_objext
66560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66561 (eval $ac_compile) 2>conftest.er1
66562 ac_status=$?
66563 grep -v '^ *+' conftest.er1 >conftest.err
66564 rm -f conftest.er1
66565 cat conftest.err >&5
66566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66567 (exit $ac_status); } &&
66568 { ac_try='test -z "$ac_cxx_werror_flag"
66569 || test ! -s conftest.err'
66570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66571 (eval $ac_try) 2>&5
66572 ac_status=$?
66573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66574 (exit $ac_status); }; } &&
66575 { ac_try='test -s conftest.$ac_objext'
66576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66577 (eval $ac_try) 2>&5
66578 ac_status=$?
66579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66580 (exit $ac_status); }; }; then
66581 glibcxx_cv_func_atan2l_use=yes
66582 else
66583 echo "$as_me: failed program was:" >&5
66584 sed 's/^/| /' conftest.$ac_ext >&5
66586 glibcxx_cv_func_atan2l_use=no
66588 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66589 ac_ext=c
66590 ac_cpp='$CPP $CPPFLAGS'
66591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66599 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
66600 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
66602 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
66604 for ac_func in atan2l
66606 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66607 echo "$as_me:$LINENO: checking for $ac_func" >&5
66608 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66609 if eval "test \"\${$as_ac_var+set}\" = set"; then
66610 echo $ECHO_N "(cached) $ECHO_C" >&6
66611 else
66612 if test x$gcc_no_link = xyes; then
66613 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66614 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66615 { (exit 1); exit 1; }; }
66617 cat >conftest.$ac_ext <<_ACEOF
66618 /* confdefs.h. */
66619 _ACEOF
66620 cat confdefs.h >>conftest.$ac_ext
66621 cat >>conftest.$ac_ext <<_ACEOF
66622 /* end confdefs.h. */
66623 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66624 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66625 #define $ac_func innocuous_$ac_func
66627 /* System header to define __stub macros and hopefully few prototypes,
66628 which can conflict with char $ac_func (); below.
66629 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66630 <limits.h> exists even on freestanding compilers. */
66632 #ifdef __STDC__
66633 # include <limits.h>
66634 #else
66635 # include <assert.h>
66636 #endif
66638 #undef $ac_func
66640 /* Override any gcc2 internal prototype to avoid an error. */
66641 #ifdef __cplusplus
66642 extern "C"
66644 #endif
66645 /* We use char because int might match the return type of a gcc2
66646 builtin and then its argument prototype would still apply. */
66647 char $ac_func ();
66648 /* The GNU C library defines this for functions which it implements
66649 to always fail with ENOSYS. Some functions are actually named
66650 something starting with __ and the normal name is an alias. */
66651 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66652 choke me
66653 #else
66654 char (*f) () = $ac_func;
66655 #endif
66656 #ifdef __cplusplus
66658 #endif
66661 main ()
66663 return f != $ac_func;
66665 return 0;
66667 _ACEOF
66668 rm -f conftest.$ac_objext conftest$ac_exeext
66669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66670 (eval $ac_link) 2>conftest.er1
66671 ac_status=$?
66672 grep -v '^ *+' conftest.er1 >conftest.err
66673 rm -f conftest.er1
66674 cat conftest.err >&5
66675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66676 (exit $ac_status); } &&
66677 { ac_try='test -z "$ac_c_werror_flag"
66678 || test ! -s conftest.err'
66679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66680 (eval $ac_try) 2>&5
66681 ac_status=$?
66682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66683 (exit $ac_status); }; } &&
66684 { ac_try='test -s conftest$ac_exeext'
66685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66686 (eval $ac_try) 2>&5
66687 ac_status=$?
66688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66689 (exit $ac_status); }; }; then
66690 eval "$as_ac_var=yes"
66691 else
66692 echo "$as_me: failed program was:" >&5
66693 sed 's/^/| /' conftest.$ac_ext >&5
66695 eval "$as_ac_var=no"
66697 rm -f conftest.err conftest.$ac_objext \
66698 conftest$ac_exeext conftest.$ac_ext
66700 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66701 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66702 if test `eval echo '${'$as_ac_var'}'` = yes; then
66703 cat >>confdefs.h <<_ACEOF
66704 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66705 _ACEOF
66708 done
66710 else
66712 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
66713 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
66714 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
66715 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
66716 echo $ECHO_N "(cached) $ECHO_C" >&6
66717 else
66721 ac_ext=cc
66722 ac_cpp='$CXXCPP $CPPFLAGS'
66723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66727 cat >conftest.$ac_ext <<_ACEOF
66728 /* confdefs.h. */
66729 _ACEOF
66730 cat confdefs.h >>conftest.$ac_ext
66731 cat >>conftest.$ac_ext <<_ACEOF
66732 /* end confdefs.h. */
66733 #include <math.h>
66735 main ()
66737 _atan2l(0, 0);
66739 return 0;
66741 _ACEOF
66742 rm -f conftest.$ac_objext
66743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66744 (eval $ac_compile) 2>conftest.er1
66745 ac_status=$?
66746 grep -v '^ *+' conftest.er1 >conftest.err
66747 rm -f conftest.er1
66748 cat conftest.err >&5
66749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66750 (exit $ac_status); } &&
66751 { ac_try='test -z "$ac_cxx_werror_flag"
66752 || test ! -s conftest.err'
66753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66754 (eval $ac_try) 2>&5
66755 ac_status=$?
66756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66757 (exit $ac_status); }; } &&
66758 { ac_try='test -s conftest.$ac_objext'
66759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66760 (eval $ac_try) 2>&5
66761 ac_status=$?
66762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66763 (exit $ac_status); }; }; then
66764 glibcxx_cv_func__atan2l_use=yes
66765 else
66766 echo "$as_me: failed program was:" >&5
66767 sed 's/^/| /' conftest.$ac_ext >&5
66769 glibcxx_cv_func__atan2l_use=no
66771 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66772 ac_ext=c
66773 ac_cpp='$CPP $CPPFLAGS'
66774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66782 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
66783 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
66785 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
66787 for ac_func in _atan2l
66789 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66790 echo "$as_me:$LINENO: checking for $ac_func" >&5
66791 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66792 if eval "test \"\${$as_ac_var+set}\" = set"; then
66793 echo $ECHO_N "(cached) $ECHO_C" >&6
66794 else
66795 if test x$gcc_no_link = xyes; then
66796 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66797 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66798 { (exit 1); exit 1; }; }
66800 cat >conftest.$ac_ext <<_ACEOF
66801 /* confdefs.h. */
66802 _ACEOF
66803 cat confdefs.h >>conftest.$ac_ext
66804 cat >>conftest.$ac_ext <<_ACEOF
66805 /* end confdefs.h. */
66806 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66807 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66808 #define $ac_func innocuous_$ac_func
66810 /* System header to define __stub macros and hopefully few prototypes,
66811 which can conflict with char $ac_func (); below.
66812 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66813 <limits.h> exists even on freestanding compilers. */
66815 #ifdef __STDC__
66816 # include <limits.h>
66817 #else
66818 # include <assert.h>
66819 #endif
66821 #undef $ac_func
66823 /* Override any gcc2 internal prototype to avoid an error. */
66824 #ifdef __cplusplus
66825 extern "C"
66827 #endif
66828 /* We use char because int might match the return type of a gcc2
66829 builtin and then its argument prototype would still apply. */
66830 char $ac_func ();
66831 /* The GNU C library defines this for functions which it implements
66832 to always fail with ENOSYS. Some functions are actually named
66833 something starting with __ and the normal name is an alias. */
66834 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66835 choke me
66836 #else
66837 char (*f) () = $ac_func;
66838 #endif
66839 #ifdef __cplusplus
66841 #endif
66844 main ()
66846 return f != $ac_func;
66848 return 0;
66850 _ACEOF
66851 rm -f conftest.$ac_objext conftest$ac_exeext
66852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66853 (eval $ac_link) 2>conftest.er1
66854 ac_status=$?
66855 grep -v '^ *+' conftest.er1 >conftest.err
66856 rm -f conftest.er1
66857 cat conftest.err >&5
66858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66859 (exit $ac_status); } &&
66860 { ac_try='test -z "$ac_c_werror_flag"
66861 || test ! -s conftest.err'
66862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66863 (eval $ac_try) 2>&5
66864 ac_status=$?
66865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66866 (exit $ac_status); }; } &&
66867 { ac_try='test -s conftest$ac_exeext'
66868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66869 (eval $ac_try) 2>&5
66870 ac_status=$?
66871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66872 (exit $ac_status); }; }; then
66873 eval "$as_ac_var=yes"
66874 else
66875 echo "$as_me: failed program was:" >&5
66876 sed 's/^/| /' conftest.$ac_ext >&5
66878 eval "$as_ac_var=no"
66880 rm -f conftest.err conftest.$ac_objext \
66881 conftest$ac_exeext conftest.$ac_ext
66883 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66884 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66885 if test `eval echo '${'$as_ac_var'}'` = yes; then
66886 cat >>confdefs.h <<_ACEOF
66887 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66888 _ACEOF
66891 done
66901 echo "$as_me:$LINENO: checking for expl declaration" >&5
66902 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
66903 if test x${glibcxx_cv_func_expl_use+set} != xset; then
66904 if test "${glibcxx_cv_func_expl_use+set}" = set; then
66905 echo $ECHO_N "(cached) $ECHO_C" >&6
66906 else
66910 ac_ext=cc
66911 ac_cpp='$CXXCPP $CPPFLAGS'
66912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66916 cat >conftest.$ac_ext <<_ACEOF
66917 /* confdefs.h. */
66918 _ACEOF
66919 cat confdefs.h >>conftest.$ac_ext
66920 cat >>conftest.$ac_ext <<_ACEOF
66921 /* end confdefs.h. */
66922 #include <math.h>
66923 #ifdef HAVE_IEEEFP_H
66924 #include <ieeefp.h>
66925 #endif
66928 main ()
66930 expl(0);
66932 return 0;
66934 _ACEOF
66935 rm -f conftest.$ac_objext
66936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66937 (eval $ac_compile) 2>conftest.er1
66938 ac_status=$?
66939 grep -v '^ *+' conftest.er1 >conftest.err
66940 rm -f conftest.er1
66941 cat conftest.err >&5
66942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66943 (exit $ac_status); } &&
66944 { ac_try='test -z "$ac_cxx_werror_flag"
66945 || test ! -s conftest.err'
66946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66947 (eval $ac_try) 2>&5
66948 ac_status=$?
66949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66950 (exit $ac_status); }; } &&
66951 { ac_try='test -s conftest.$ac_objext'
66952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66953 (eval $ac_try) 2>&5
66954 ac_status=$?
66955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66956 (exit $ac_status); }; }; then
66957 glibcxx_cv_func_expl_use=yes
66958 else
66959 echo "$as_me: failed program was:" >&5
66960 sed 's/^/| /' conftest.$ac_ext >&5
66962 glibcxx_cv_func_expl_use=no
66964 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66965 ac_ext=c
66966 ac_cpp='$CPP $CPPFLAGS'
66967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66975 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
66976 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
66978 if test x$glibcxx_cv_func_expl_use = x"yes"; then
66980 for ac_func in expl
66982 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66983 echo "$as_me:$LINENO: checking for $ac_func" >&5
66984 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66985 if eval "test \"\${$as_ac_var+set}\" = set"; then
66986 echo $ECHO_N "(cached) $ECHO_C" >&6
66987 else
66988 if test x$gcc_no_link = xyes; then
66989 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66990 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66991 { (exit 1); exit 1; }; }
66993 cat >conftest.$ac_ext <<_ACEOF
66994 /* confdefs.h. */
66995 _ACEOF
66996 cat confdefs.h >>conftest.$ac_ext
66997 cat >>conftest.$ac_ext <<_ACEOF
66998 /* end confdefs.h. */
66999 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67000 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67001 #define $ac_func innocuous_$ac_func
67003 /* System header to define __stub macros and hopefully few prototypes,
67004 which can conflict with char $ac_func (); below.
67005 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67006 <limits.h> exists even on freestanding compilers. */
67008 #ifdef __STDC__
67009 # include <limits.h>
67010 #else
67011 # include <assert.h>
67012 #endif
67014 #undef $ac_func
67016 /* Override any gcc2 internal prototype to avoid an error. */
67017 #ifdef __cplusplus
67018 extern "C"
67020 #endif
67021 /* We use char because int might match the return type of a gcc2
67022 builtin and then its argument prototype would still apply. */
67023 char $ac_func ();
67024 /* The GNU C library defines this for functions which it implements
67025 to always fail with ENOSYS. Some functions are actually named
67026 something starting with __ and the normal name is an alias. */
67027 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67028 choke me
67029 #else
67030 char (*f) () = $ac_func;
67031 #endif
67032 #ifdef __cplusplus
67034 #endif
67037 main ()
67039 return f != $ac_func;
67041 return 0;
67043 _ACEOF
67044 rm -f conftest.$ac_objext conftest$ac_exeext
67045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67046 (eval $ac_link) 2>conftest.er1
67047 ac_status=$?
67048 grep -v '^ *+' conftest.er1 >conftest.err
67049 rm -f conftest.er1
67050 cat conftest.err >&5
67051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67052 (exit $ac_status); } &&
67053 { ac_try='test -z "$ac_c_werror_flag"
67054 || test ! -s conftest.err'
67055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67056 (eval $ac_try) 2>&5
67057 ac_status=$?
67058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67059 (exit $ac_status); }; } &&
67060 { ac_try='test -s conftest$ac_exeext'
67061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67062 (eval $ac_try) 2>&5
67063 ac_status=$?
67064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67065 (exit $ac_status); }; }; then
67066 eval "$as_ac_var=yes"
67067 else
67068 echo "$as_me: failed program was:" >&5
67069 sed 's/^/| /' conftest.$ac_ext >&5
67071 eval "$as_ac_var=no"
67073 rm -f conftest.err conftest.$ac_objext \
67074 conftest$ac_exeext conftest.$ac_ext
67076 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67077 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67078 if test `eval echo '${'$as_ac_var'}'` = yes; then
67079 cat >>confdefs.h <<_ACEOF
67080 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67081 _ACEOF
67084 done
67086 else
67088 echo "$as_me:$LINENO: checking for _expl declaration" >&5
67089 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
67090 if test x${glibcxx_cv_func__expl_use+set} != xset; then
67091 if test "${glibcxx_cv_func__expl_use+set}" = set; then
67092 echo $ECHO_N "(cached) $ECHO_C" >&6
67093 else
67097 ac_ext=cc
67098 ac_cpp='$CXXCPP $CPPFLAGS'
67099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67103 cat >conftest.$ac_ext <<_ACEOF
67104 /* confdefs.h. */
67105 _ACEOF
67106 cat confdefs.h >>conftest.$ac_ext
67107 cat >>conftest.$ac_ext <<_ACEOF
67108 /* end confdefs.h. */
67109 #include <math.h>
67110 #ifdef HAVE_IEEEFP_H
67111 #include <ieeefp.h>
67112 #endif
67115 main ()
67117 _expl(0);
67119 return 0;
67121 _ACEOF
67122 rm -f conftest.$ac_objext
67123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67124 (eval $ac_compile) 2>conftest.er1
67125 ac_status=$?
67126 grep -v '^ *+' conftest.er1 >conftest.err
67127 rm -f conftest.er1
67128 cat conftest.err >&5
67129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67130 (exit $ac_status); } &&
67131 { ac_try='test -z "$ac_cxx_werror_flag"
67132 || test ! -s conftest.err'
67133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67134 (eval $ac_try) 2>&5
67135 ac_status=$?
67136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67137 (exit $ac_status); }; } &&
67138 { ac_try='test -s conftest.$ac_objext'
67139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67140 (eval $ac_try) 2>&5
67141 ac_status=$?
67142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67143 (exit $ac_status); }; }; then
67144 glibcxx_cv_func__expl_use=yes
67145 else
67146 echo "$as_me: failed program was:" >&5
67147 sed 's/^/| /' conftest.$ac_ext >&5
67149 glibcxx_cv_func__expl_use=no
67151 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67152 ac_ext=c
67153 ac_cpp='$CPP $CPPFLAGS'
67154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67162 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
67163 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
67165 if test x$glibcxx_cv_func__expl_use = x"yes"; then
67167 for ac_func in _expl
67169 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67170 echo "$as_me:$LINENO: checking for $ac_func" >&5
67171 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67172 if eval "test \"\${$as_ac_var+set}\" = set"; then
67173 echo $ECHO_N "(cached) $ECHO_C" >&6
67174 else
67175 if test x$gcc_no_link = xyes; then
67176 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67177 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67178 { (exit 1); exit 1; }; }
67180 cat >conftest.$ac_ext <<_ACEOF
67181 /* confdefs.h. */
67182 _ACEOF
67183 cat confdefs.h >>conftest.$ac_ext
67184 cat >>conftest.$ac_ext <<_ACEOF
67185 /* end confdefs.h. */
67186 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67187 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67188 #define $ac_func innocuous_$ac_func
67190 /* System header to define __stub macros and hopefully few prototypes,
67191 which can conflict with char $ac_func (); below.
67192 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67193 <limits.h> exists even on freestanding compilers. */
67195 #ifdef __STDC__
67196 # include <limits.h>
67197 #else
67198 # include <assert.h>
67199 #endif
67201 #undef $ac_func
67203 /* Override any gcc2 internal prototype to avoid an error. */
67204 #ifdef __cplusplus
67205 extern "C"
67207 #endif
67208 /* We use char because int might match the return type of a gcc2
67209 builtin and then its argument prototype would still apply. */
67210 char $ac_func ();
67211 /* The GNU C library defines this for functions which it implements
67212 to always fail with ENOSYS. Some functions are actually named
67213 something starting with __ and the normal name is an alias. */
67214 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67215 choke me
67216 #else
67217 char (*f) () = $ac_func;
67218 #endif
67219 #ifdef __cplusplus
67221 #endif
67224 main ()
67226 return f != $ac_func;
67228 return 0;
67230 _ACEOF
67231 rm -f conftest.$ac_objext conftest$ac_exeext
67232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67233 (eval $ac_link) 2>conftest.er1
67234 ac_status=$?
67235 grep -v '^ *+' conftest.er1 >conftest.err
67236 rm -f conftest.er1
67237 cat conftest.err >&5
67238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67239 (exit $ac_status); } &&
67240 { ac_try='test -z "$ac_c_werror_flag"
67241 || test ! -s conftest.err'
67242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67243 (eval $ac_try) 2>&5
67244 ac_status=$?
67245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67246 (exit $ac_status); }; } &&
67247 { ac_try='test -s conftest$ac_exeext'
67248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67249 (eval $ac_try) 2>&5
67250 ac_status=$?
67251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67252 (exit $ac_status); }; }; then
67253 eval "$as_ac_var=yes"
67254 else
67255 echo "$as_me: failed program was:" >&5
67256 sed 's/^/| /' conftest.$ac_ext >&5
67258 eval "$as_ac_var=no"
67260 rm -f conftest.err conftest.$ac_objext \
67261 conftest$ac_exeext conftest.$ac_ext
67263 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67264 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67265 if test `eval echo '${'$as_ac_var'}'` = yes; then
67266 cat >>confdefs.h <<_ACEOF
67267 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67268 _ACEOF
67271 done
67281 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
67282 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
67283 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
67284 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
67285 echo $ECHO_N "(cached) $ECHO_C" >&6
67286 else
67290 ac_ext=cc
67291 ac_cpp='$CXXCPP $CPPFLAGS'
67292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67296 cat >conftest.$ac_ext <<_ACEOF
67297 /* confdefs.h. */
67298 _ACEOF
67299 cat confdefs.h >>conftest.$ac_ext
67300 cat >>conftest.$ac_ext <<_ACEOF
67301 /* end confdefs.h. */
67302 #include <math.h>
67303 #ifdef HAVE_IEEEFP_H
67304 #include <ieeefp.h>
67305 #endif
67308 main ()
67310 fabsl(0);
67312 return 0;
67314 _ACEOF
67315 rm -f conftest.$ac_objext
67316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67317 (eval $ac_compile) 2>conftest.er1
67318 ac_status=$?
67319 grep -v '^ *+' conftest.er1 >conftest.err
67320 rm -f conftest.er1
67321 cat conftest.err >&5
67322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67323 (exit $ac_status); } &&
67324 { ac_try='test -z "$ac_cxx_werror_flag"
67325 || test ! -s conftest.err'
67326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67327 (eval $ac_try) 2>&5
67328 ac_status=$?
67329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67330 (exit $ac_status); }; } &&
67331 { ac_try='test -s conftest.$ac_objext'
67332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67333 (eval $ac_try) 2>&5
67334 ac_status=$?
67335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67336 (exit $ac_status); }; }; then
67337 glibcxx_cv_func_fabsl_use=yes
67338 else
67339 echo "$as_me: failed program was:" >&5
67340 sed 's/^/| /' conftest.$ac_ext >&5
67342 glibcxx_cv_func_fabsl_use=no
67344 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67345 ac_ext=c
67346 ac_cpp='$CPP $CPPFLAGS'
67347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67355 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
67356 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
67358 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
67360 for ac_func in fabsl
67362 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67363 echo "$as_me:$LINENO: checking for $ac_func" >&5
67364 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67365 if eval "test \"\${$as_ac_var+set}\" = set"; then
67366 echo $ECHO_N "(cached) $ECHO_C" >&6
67367 else
67368 if test x$gcc_no_link = xyes; then
67369 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67370 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67371 { (exit 1); exit 1; }; }
67373 cat >conftest.$ac_ext <<_ACEOF
67374 /* confdefs.h. */
67375 _ACEOF
67376 cat confdefs.h >>conftest.$ac_ext
67377 cat >>conftest.$ac_ext <<_ACEOF
67378 /* end confdefs.h. */
67379 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67380 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67381 #define $ac_func innocuous_$ac_func
67383 /* System header to define __stub macros and hopefully few prototypes,
67384 which can conflict with char $ac_func (); below.
67385 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67386 <limits.h> exists even on freestanding compilers. */
67388 #ifdef __STDC__
67389 # include <limits.h>
67390 #else
67391 # include <assert.h>
67392 #endif
67394 #undef $ac_func
67396 /* Override any gcc2 internal prototype to avoid an error. */
67397 #ifdef __cplusplus
67398 extern "C"
67400 #endif
67401 /* We use char because int might match the return type of a gcc2
67402 builtin and then its argument prototype would still apply. */
67403 char $ac_func ();
67404 /* The GNU C library defines this for functions which it implements
67405 to always fail with ENOSYS. Some functions are actually named
67406 something starting with __ and the normal name is an alias. */
67407 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67408 choke me
67409 #else
67410 char (*f) () = $ac_func;
67411 #endif
67412 #ifdef __cplusplus
67414 #endif
67417 main ()
67419 return f != $ac_func;
67421 return 0;
67423 _ACEOF
67424 rm -f conftest.$ac_objext conftest$ac_exeext
67425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67426 (eval $ac_link) 2>conftest.er1
67427 ac_status=$?
67428 grep -v '^ *+' conftest.er1 >conftest.err
67429 rm -f conftest.er1
67430 cat conftest.err >&5
67431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67432 (exit $ac_status); } &&
67433 { ac_try='test -z "$ac_c_werror_flag"
67434 || test ! -s conftest.err'
67435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67436 (eval $ac_try) 2>&5
67437 ac_status=$?
67438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67439 (exit $ac_status); }; } &&
67440 { ac_try='test -s conftest$ac_exeext'
67441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67442 (eval $ac_try) 2>&5
67443 ac_status=$?
67444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67445 (exit $ac_status); }; }; then
67446 eval "$as_ac_var=yes"
67447 else
67448 echo "$as_me: failed program was:" >&5
67449 sed 's/^/| /' conftest.$ac_ext >&5
67451 eval "$as_ac_var=no"
67453 rm -f conftest.err conftest.$ac_objext \
67454 conftest$ac_exeext conftest.$ac_ext
67456 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67457 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67458 if test `eval echo '${'$as_ac_var'}'` = yes; then
67459 cat >>confdefs.h <<_ACEOF
67460 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67461 _ACEOF
67464 done
67466 else
67468 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
67469 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
67470 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
67471 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
67472 echo $ECHO_N "(cached) $ECHO_C" >&6
67473 else
67477 ac_ext=cc
67478 ac_cpp='$CXXCPP $CPPFLAGS'
67479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67483 cat >conftest.$ac_ext <<_ACEOF
67484 /* confdefs.h. */
67485 _ACEOF
67486 cat confdefs.h >>conftest.$ac_ext
67487 cat >>conftest.$ac_ext <<_ACEOF
67488 /* end confdefs.h. */
67489 #include <math.h>
67490 #ifdef HAVE_IEEEFP_H
67491 #include <ieeefp.h>
67492 #endif
67495 main ()
67497 _fabsl(0);
67499 return 0;
67501 _ACEOF
67502 rm -f conftest.$ac_objext
67503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67504 (eval $ac_compile) 2>conftest.er1
67505 ac_status=$?
67506 grep -v '^ *+' conftest.er1 >conftest.err
67507 rm -f conftest.er1
67508 cat conftest.err >&5
67509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67510 (exit $ac_status); } &&
67511 { ac_try='test -z "$ac_cxx_werror_flag"
67512 || test ! -s conftest.err'
67513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67514 (eval $ac_try) 2>&5
67515 ac_status=$?
67516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67517 (exit $ac_status); }; } &&
67518 { ac_try='test -s conftest.$ac_objext'
67519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67520 (eval $ac_try) 2>&5
67521 ac_status=$?
67522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67523 (exit $ac_status); }; }; then
67524 glibcxx_cv_func__fabsl_use=yes
67525 else
67526 echo "$as_me: failed program was:" >&5
67527 sed 's/^/| /' conftest.$ac_ext >&5
67529 glibcxx_cv_func__fabsl_use=no
67531 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67532 ac_ext=c
67533 ac_cpp='$CPP $CPPFLAGS'
67534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67542 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
67543 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
67545 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
67547 for ac_func in _fabsl
67549 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67550 echo "$as_me:$LINENO: checking for $ac_func" >&5
67551 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67552 if eval "test \"\${$as_ac_var+set}\" = set"; then
67553 echo $ECHO_N "(cached) $ECHO_C" >&6
67554 else
67555 if test x$gcc_no_link = xyes; then
67556 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67557 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67558 { (exit 1); exit 1; }; }
67560 cat >conftest.$ac_ext <<_ACEOF
67561 /* confdefs.h. */
67562 _ACEOF
67563 cat confdefs.h >>conftest.$ac_ext
67564 cat >>conftest.$ac_ext <<_ACEOF
67565 /* end confdefs.h. */
67566 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67567 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67568 #define $ac_func innocuous_$ac_func
67570 /* System header to define __stub macros and hopefully few prototypes,
67571 which can conflict with char $ac_func (); below.
67572 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67573 <limits.h> exists even on freestanding compilers. */
67575 #ifdef __STDC__
67576 # include <limits.h>
67577 #else
67578 # include <assert.h>
67579 #endif
67581 #undef $ac_func
67583 /* Override any gcc2 internal prototype to avoid an error. */
67584 #ifdef __cplusplus
67585 extern "C"
67587 #endif
67588 /* We use char because int might match the return type of a gcc2
67589 builtin and then its argument prototype would still apply. */
67590 char $ac_func ();
67591 /* The GNU C library defines this for functions which it implements
67592 to always fail with ENOSYS. Some functions are actually named
67593 something starting with __ and the normal name is an alias. */
67594 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67595 choke me
67596 #else
67597 char (*f) () = $ac_func;
67598 #endif
67599 #ifdef __cplusplus
67601 #endif
67604 main ()
67606 return f != $ac_func;
67608 return 0;
67610 _ACEOF
67611 rm -f conftest.$ac_objext conftest$ac_exeext
67612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67613 (eval $ac_link) 2>conftest.er1
67614 ac_status=$?
67615 grep -v '^ *+' conftest.er1 >conftest.err
67616 rm -f conftest.er1
67617 cat conftest.err >&5
67618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67619 (exit $ac_status); } &&
67620 { ac_try='test -z "$ac_c_werror_flag"
67621 || test ! -s conftest.err'
67622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67623 (eval $ac_try) 2>&5
67624 ac_status=$?
67625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67626 (exit $ac_status); }; } &&
67627 { ac_try='test -s conftest$ac_exeext'
67628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67629 (eval $ac_try) 2>&5
67630 ac_status=$?
67631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67632 (exit $ac_status); }; }; then
67633 eval "$as_ac_var=yes"
67634 else
67635 echo "$as_me: failed program was:" >&5
67636 sed 's/^/| /' conftest.$ac_ext >&5
67638 eval "$as_ac_var=no"
67640 rm -f conftest.err conftest.$ac_objext \
67641 conftest$ac_exeext conftest.$ac_ext
67643 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67644 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67645 if test `eval echo '${'$as_ac_var'}'` = yes; then
67646 cat >>confdefs.h <<_ACEOF
67647 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67648 _ACEOF
67651 done
67661 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
67662 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
67663 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
67664 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
67665 echo $ECHO_N "(cached) $ECHO_C" >&6
67666 else
67670 ac_ext=cc
67671 ac_cpp='$CXXCPP $CPPFLAGS'
67672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67676 cat >conftest.$ac_ext <<_ACEOF
67677 /* confdefs.h. */
67678 _ACEOF
67679 cat confdefs.h >>conftest.$ac_ext
67680 cat >>conftest.$ac_ext <<_ACEOF
67681 /* end confdefs.h. */
67682 #include <math.h>
67684 main ()
67686 fmodl(0, 0);
67688 return 0;
67690 _ACEOF
67691 rm -f conftest.$ac_objext
67692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67693 (eval $ac_compile) 2>conftest.er1
67694 ac_status=$?
67695 grep -v '^ *+' conftest.er1 >conftest.err
67696 rm -f conftest.er1
67697 cat conftest.err >&5
67698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67699 (exit $ac_status); } &&
67700 { ac_try='test -z "$ac_cxx_werror_flag"
67701 || test ! -s conftest.err'
67702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67703 (eval $ac_try) 2>&5
67704 ac_status=$?
67705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67706 (exit $ac_status); }; } &&
67707 { ac_try='test -s conftest.$ac_objext'
67708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67709 (eval $ac_try) 2>&5
67710 ac_status=$?
67711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67712 (exit $ac_status); }; }; then
67713 glibcxx_cv_func_fmodl_use=yes
67714 else
67715 echo "$as_me: failed program was:" >&5
67716 sed 's/^/| /' conftest.$ac_ext >&5
67718 glibcxx_cv_func_fmodl_use=no
67720 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67721 ac_ext=c
67722 ac_cpp='$CPP $CPPFLAGS'
67723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67731 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
67732 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
67734 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
67736 for ac_func in fmodl
67738 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67739 echo "$as_me:$LINENO: checking for $ac_func" >&5
67740 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67741 if eval "test \"\${$as_ac_var+set}\" = set"; then
67742 echo $ECHO_N "(cached) $ECHO_C" >&6
67743 else
67744 if test x$gcc_no_link = xyes; then
67745 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67746 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67747 { (exit 1); exit 1; }; }
67749 cat >conftest.$ac_ext <<_ACEOF
67750 /* confdefs.h. */
67751 _ACEOF
67752 cat confdefs.h >>conftest.$ac_ext
67753 cat >>conftest.$ac_ext <<_ACEOF
67754 /* end confdefs.h. */
67755 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67756 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67757 #define $ac_func innocuous_$ac_func
67759 /* System header to define __stub macros and hopefully few prototypes,
67760 which can conflict with char $ac_func (); below.
67761 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67762 <limits.h> exists even on freestanding compilers. */
67764 #ifdef __STDC__
67765 # include <limits.h>
67766 #else
67767 # include <assert.h>
67768 #endif
67770 #undef $ac_func
67772 /* Override any gcc2 internal prototype to avoid an error. */
67773 #ifdef __cplusplus
67774 extern "C"
67776 #endif
67777 /* We use char because int might match the return type of a gcc2
67778 builtin and then its argument prototype would still apply. */
67779 char $ac_func ();
67780 /* The GNU C library defines this for functions which it implements
67781 to always fail with ENOSYS. Some functions are actually named
67782 something starting with __ and the normal name is an alias. */
67783 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67784 choke me
67785 #else
67786 char (*f) () = $ac_func;
67787 #endif
67788 #ifdef __cplusplus
67790 #endif
67793 main ()
67795 return f != $ac_func;
67797 return 0;
67799 _ACEOF
67800 rm -f conftest.$ac_objext conftest$ac_exeext
67801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67802 (eval $ac_link) 2>conftest.er1
67803 ac_status=$?
67804 grep -v '^ *+' conftest.er1 >conftest.err
67805 rm -f conftest.er1
67806 cat conftest.err >&5
67807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67808 (exit $ac_status); } &&
67809 { ac_try='test -z "$ac_c_werror_flag"
67810 || test ! -s conftest.err'
67811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67812 (eval $ac_try) 2>&5
67813 ac_status=$?
67814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67815 (exit $ac_status); }; } &&
67816 { ac_try='test -s conftest$ac_exeext'
67817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67818 (eval $ac_try) 2>&5
67819 ac_status=$?
67820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67821 (exit $ac_status); }; }; then
67822 eval "$as_ac_var=yes"
67823 else
67824 echo "$as_me: failed program was:" >&5
67825 sed 's/^/| /' conftest.$ac_ext >&5
67827 eval "$as_ac_var=no"
67829 rm -f conftest.err conftest.$ac_objext \
67830 conftest$ac_exeext conftest.$ac_ext
67832 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67833 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67834 if test `eval echo '${'$as_ac_var'}'` = yes; then
67835 cat >>confdefs.h <<_ACEOF
67836 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67837 _ACEOF
67840 done
67842 else
67844 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
67845 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
67846 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
67847 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
67848 echo $ECHO_N "(cached) $ECHO_C" >&6
67849 else
67853 ac_ext=cc
67854 ac_cpp='$CXXCPP $CPPFLAGS'
67855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67859 cat >conftest.$ac_ext <<_ACEOF
67860 /* confdefs.h. */
67861 _ACEOF
67862 cat confdefs.h >>conftest.$ac_ext
67863 cat >>conftest.$ac_ext <<_ACEOF
67864 /* end confdefs.h. */
67865 #include <math.h>
67867 main ()
67869 _fmodl(0, 0);
67871 return 0;
67873 _ACEOF
67874 rm -f conftest.$ac_objext
67875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67876 (eval $ac_compile) 2>conftest.er1
67877 ac_status=$?
67878 grep -v '^ *+' conftest.er1 >conftest.err
67879 rm -f conftest.er1
67880 cat conftest.err >&5
67881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67882 (exit $ac_status); } &&
67883 { ac_try='test -z "$ac_cxx_werror_flag"
67884 || test ! -s conftest.err'
67885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67886 (eval $ac_try) 2>&5
67887 ac_status=$?
67888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67889 (exit $ac_status); }; } &&
67890 { ac_try='test -s conftest.$ac_objext'
67891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67892 (eval $ac_try) 2>&5
67893 ac_status=$?
67894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67895 (exit $ac_status); }; }; then
67896 glibcxx_cv_func__fmodl_use=yes
67897 else
67898 echo "$as_me: failed program was:" >&5
67899 sed 's/^/| /' conftest.$ac_ext >&5
67901 glibcxx_cv_func__fmodl_use=no
67903 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67904 ac_ext=c
67905 ac_cpp='$CPP $CPPFLAGS'
67906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67914 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
67915 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
67917 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
67919 for ac_func in _fmodl
67921 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67922 echo "$as_me:$LINENO: checking for $ac_func" >&5
67923 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67924 if eval "test \"\${$as_ac_var+set}\" = set"; then
67925 echo $ECHO_N "(cached) $ECHO_C" >&6
67926 else
67927 if test x$gcc_no_link = xyes; then
67928 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67929 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67930 { (exit 1); exit 1; }; }
67932 cat >conftest.$ac_ext <<_ACEOF
67933 /* confdefs.h. */
67934 _ACEOF
67935 cat confdefs.h >>conftest.$ac_ext
67936 cat >>conftest.$ac_ext <<_ACEOF
67937 /* end confdefs.h. */
67938 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67939 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67940 #define $ac_func innocuous_$ac_func
67942 /* System header to define __stub macros and hopefully few prototypes,
67943 which can conflict with char $ac_func (); below.
67944 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67945 <limits.h> exists even on freestanding compilers. */
67947 #ifdef __STDC__
67948 # include <limits.h>
67949 #else
67950 # include <assert.h>
67951 #endif
67953 #undef $ac_func
67955 /* Override any gcc2 internal prototype to avoid an error. */
67956 #ifdef __cplusplus
67957 extern "C"
67959 #endif
67960 /* We use char because int might match the return type of a gcc2
67961 builtin and then its argument prototype would still apply. */
67962 char $ac_func ();
67963 /* The GNU C library defines this for functions which it implements
67964 to always fail with ENOSYS. Some functions are actually named
67965 something starting with __ and the normal name is an alias. */
67966 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67967 choke me
67968 #else
67969 char (*f) () = $ac_func;
67970 #endif
67971 #ifdef __cplusplus
67973 #endif
67976 main ()
67978 return f != $ac_func;
67980 return 0;
67982 _ACEOF
67983 rm -f conftest.$ac_objext conftest$ac_exeext
67984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67985 (eval $ac_link) 2>conftest.er1
67986 ac_status=$?
67987 grep -v '^ *+' conftest.er1 >conftest.err
67988 rm -f conftest.er1
67989 cat conftest.err >&5
67990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67991 (exit $ac_status); } &&
67992 { ac_try='test -z "$ac_c_werror_flag"
67993 || test ! -s conftest.err'
67994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67995 (eval $ac_try) 2>&5
67996 ac_status=$?
67997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67998 (exit $ac_status); }; } &&
67999 { ac_try='test -s conftest$ac_exeext'
68000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68001 (eval $ac_try) 2>&5
68002 ac_status=$?
68003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68004 (exit $ac_status); }; }; then
68005 eval "$as_ac_var=yes"
68006 else
68007 echo "$as_me: failed program was:" >&5
68008 sed 's/^/| /' conftest.$ac_ext >&5
68010 eval "$as_ac_var=no"
68012 rm -f conftest.err conftest.$ac_objext \
68013 conftest$ac_exeext conftest.$ac_ext
68015 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68016 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68017 if test `eval echo '${'$as_ac_var'}'` = yes; then
68018 cat >>confdefs.h <<_ACEOF
68019 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68020 _ACEOF
68023 done
68033 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
68034 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
68035 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
68036 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
68037 echo $ECHO_N "(cached) $ECHO_C" >&6
68038 else
68042 ac_ext=cc
68043 ac_cpp='$CXXCPP $CPPFLAGS'
68044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68048 cat >conftest.$ac_ext <<_ACEOF
68049 /* confdefs.h. */
68050 _ACEOF
68051 cat confdefs.h >>conftest.$ac_ext
68052 cat >>conftest.$ac_ext <<_ACEOF
68053 /* end confdefs.h. */
68054 #include <math.h>
68056 main ()
68058 frexpl(0, 0);
68060 return 0;
68062 _ACEOF
68063 rm -f conftest.$ac_objext
68064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68065 (eval $ac_compile) 2>conftest.er1
68066 ac_status=$?
68067 grep -v '^ *+' conftest.er1 >conftest.err
68068 rm -f conftest.er1
68069 cat conftest.err >&5
68070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68071 (exit $ac_status); } &&
68072 { ac_try='test -z "$ac_cxx_werror_flag"
68073 || test ! -s conftest.err'
68074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68075 (eval $ac_try) 2>&5
68076 ac_status=$?
68077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68078 (exit $ac_status); }; } &&
68079 { ac_try='test -s conftest.$ac_objext'
68080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68081 (eval $ac_try) 2>&5
68082 ac_status=$?
68083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68084 (exit $ac_status); }; }; then
68085 glibcxx_cv_func_frexpl_use=yes
68086 else
68087 echo "$as_me: failed program was:" >&5
68088 sed 's/^/| /' conftest.$ac_ext >&5
68090 glibcxx_cv_func_frexpl_use=no
68092 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68093 ac_ext=c
68094 ac_cpp='$CPP $CPPFLAGS'
68095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68103 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
68104 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
68106 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
68108 for ac_func in frexpl
68110 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68111 echo "$as_me:$LINENO: checking for $ac_func" >&5
68112 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68113 if eval "test \"\${$as_ac_var+set}\" = set"; then
68114 echo $ECHO_N "(cached) $ECHO_C" >&6
68115 else
68116 if test x$gcc_no_link = xyes; then
68117 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68118 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68119 { (exit 1); exit 1; }; }
68121 cat >conftest.$ac_ext <<_ACEOF
68122 /* confdefs.h. */
68123 _ACEOF
68124 cat confdefs.h >>conftest.$ac_ext
68125 cat >>conftest.$ac_ext <<_ACEOF
68126 /* end confdefs.h. */
68127 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68128 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68129 #define $ac_func innocuous_$ac_func
68131 /* System header to define __stub macros and hopefully few prototypes,
68132 which can conflict with char $ac_func (); below.
68133 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68134 <limits.h> exists even on freestanding compilers. */
68136 #ifdef __STDC__
68137 # include <limits.h>
68138 #else
68139 # include <assert.h>
68140 #endif
68142 #undef $ac_func
68144 /* Override any gcc2 internal prototype to avoid an error. */
68145 #ifdef __cplusplus
68146 extern "C"
68148 #endif
68149 /* We use char because int might match the return type of a gcc2
68150 builtin and then its argument prototype would still apply. */
68151 char $ac_func ();
68152 /* The GNU C library defines this for functions which it implements
68153 to always fail with ENOSYS. Some functions are actually named
68154 something starting with __ and the normal name is an alias. */
68155 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68156 choke me
68157 #else
68158 char (*f) () = $ac_func;
68159 #endif
68160 #ifdef __cplusplus
68162 #endif
68165 main ()
68167 return f != $ac_func;
68169 return 0;
68171 _ACEOF
68172 rm -f conftest.$ac_objext conftest$ac_exeext
68173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68174 (eval $ac_link) 2>conftest.er1
68175 ac_status=$?
68176 grep -v '^ *+' conftest.er1 >conftest.err
68177 rm -f conftest.er1
68178 cat conftest.err >&5
68179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68180 (exit $ac_status); } &&
68181 { ac_try='test -z "$ac_c_werror_flag"
68182 || test ! -s conftest.err'
68183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68184 (eval $ac_try) 2>&5
68185 ac_status=$?
68186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68187 (exit $ac_status); }; } &&
68188 { ac_try='test -s conftest$ac_exeext'
68189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68190 (eval $ac_try) 2>&5
68191 ac_status=$?
68192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68193 (exit $ac_status); }; }; then
68194 eval "$as_ac_var=yes"
68195 else
68196 echo "$as_me: failed program was:" >&5
68197 sed 's/^/| /' conftest.$ac_ext >&5
68199 eval "$as_ac_var=no"
68201 rm -f conftest.err conftest.$ac_objext \
68202 conftest$ac_exeext conftest.$ac_ext
68204 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68205 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68206 if test `eval echo '${'$as_ac_var'}'` = yes; then
68207 cat >>confdefs.h <<_ACEOF
68208 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68209 _ACEOF
68212 done
68214 else
68216 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
68217 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
68218 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
68219 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
68220 echo $ECHO_N "(cached) $ECHO_C" >&6
68221 else
68225 ac_ext=cc
68226 ac_cpp='$CXXCPP $CPPFLAGS'
68227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68231 cat >conftest.$ac_ext <<_ACEOF
68232 /* confdefs.h. */
68233 _ACEOF
68234 cat confdefs.h >>conftest.$ac_ext
68235 cat >>conftest.$ac_ext <<_ACEOF
68236 /* end confdefs.h. */
68237 #include <math.h>
68239 main ()
68241 _frexpl(0, 0);
68243 return 0;
68245 _ACEOF
68246 rm -f conftest.$ac_objext
68247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68248 (eval $ac_compile) 2>conftest.er1
68249 ac_status=$?
68250 grep -v '^ *+' conftest.er1 >conftest.err
68251 rm -f conftest.er1
68252 cat conftest.err >&5
68253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68254 (exit $ac_status); } &&
68255 { ac_try='test -z "$ac_cxx_werror_flag"
68256 || test ! -s conftest.err'
68257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68258 (eval $ac_try) 2>&5
68259 ac_status=$?
68260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68261 (exit $ac_status); }; } &&
68262 { ac_try='test -s conftest.$ac_objext'
68263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68264 (eval $ac_try) 2>&5
68265 ac_status=$?
68266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68267 (exit $ac_status); }; }; then
68268 glibcxx_cv_func__frexpl_use=yes
68269 else
68270 echo "$as_me: failed program was:" >&5
68271 sed 's/^/| /' conftest.$ac_ext >&5
68273 glibcxx_cv_func__frexpl_use=no
68275 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68276 ac_ext=c
68277 ac_cpp='$CPP $CPPFLAGS'
68278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68286 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
68287 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
68289 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
68291 for ac_func in _frexpl
68293 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68294 echo "$as_me:$LINENO: checking for $ac_func" >&5
68295 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68296 if eval "test \"\${$as_ac_var+set}\" = set"; then
68297 echo $ECHO_N "(cached) $ECHO_C" >&6
68298 else
68299 if test x$gcc_no_link = xyes; then
68300 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68301 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68302 { (exit 1); exit 1; }; }
68304 cat >conftest.$ac_ext <<_ACEOF
68305 /* confdefs.h. */
68306 _ACEOF
68307 cat confdefs.h >>conftest.$ac_ext
68308 cat >>conftest.$ac_ext <<_ACEOF
68309 /* end confdefs.h. */
68310 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68311 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68312 #define $ac_func innocuous_$ac_func
68314 /* System header to define __stub macros and hopefully few prototypes,
68315 which can conflict with char $ac_func (); below.
68316 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68317 <limits.h> exists even on freestanding compilers. */
68319 #ifdef __STDC__
68320 # include <limits.h>
68321 #else
68322 # include <assert.h>
68323 #endif
68325 #undef $ac_func
68327 /* Override any gcc2 internal prototype to avoid an error. */
68328 #ifdef __cplusplus
68329 extern "C"
68331 #endif
68332 /* We use char because int might match the return type of a gcc2
68333 builtin and then its argument prototype would still apply. */
68334 char $ac_func ();
68335 /* The GNU C library defines this for functions which it implements
68336 to always fail with ENOSYS. Some functions are actually named
68337 something starting with __ and the normal name is an alias. */
68338 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68339 choke me
68340 #else
68341 char (*f) () = $ac_func;
68342 #endif
68343 #ifdef __cplusplus
68345 #endif
68348 main ()
68350 return f != $ac_func;
68352 return 0;
68354 _ACEOF
68355 rm -f conftest.$ac_objext conftest$ac_exeext
68356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68357 (eval $ac_link) 2>conftest.er1
68358 ac_status=$?
68359 grep -v '^ *+' conftest.er1 >conftest.err
68360 rm -f conftest.er1
68361 cat conftest.err >&5
68362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68363 (exit $ac_status); } &&
68364 { ac_try='test -z "$ac_c_werror_flag"
68365 || test ! -s conftest.err'
68366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68367 (eval $ac_try) 2>&5
68368 ac_status=$?
68369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68370 (exit $ac_status); }; } &&
68371 { ac_try='test -s conftest$ac_exeext'
68372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68373 (eval $ac_try) 2>&5
68374 ac_status=$?
68375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68376 (exit $ac_status); }; }; then
68377 eval "$as_ac_var=yes"
68378 else
68379 echo "$as_me: failed program was:" >&5
68380 sed 's/^/| /' conftest.$ac_ext >&5
68382 eval "$as_ac_var=no"
68384 rm -f conftest.err conftest.$ac_objext \
68385 conftest$ac_exeext conftest.$ac_ext
68387 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68388 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68389 if test `eval echo '${'$as_ac_var'}'` = yes; then
68390 cat >>confdefs.h <<_ACEOF
68391 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68392 _ACEOF
68395 done
68405 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
68406 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
68407 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
68408 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
68409 echo $ECHO_N "(cached) $ECHO_C" >&6
68410 else
68414 ac_ext=cc
68415 ac_cpp='$CXXCPP $CPPFLAGS'
68416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68420 cat >conftest.$ac_ext <<_ACEOF
68421 /* confdefs.h. */
68422 _ACEOF
68423 cat confdefs.h >>conftest.$ac_ext
68424 cat >>conftest.$ac_ext <<_ACEOF
68425 /* end confdefs.h. */
68426 #include <math.h>
68428 main ()
68430 hypotl(0, 0);
68432 return 0;
68434 _ACEOF
68435 rm -f conftest.$ac_objext
68436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68437 (eval $ac_compile) 2>conftest.er1
68438 ac_status=$?
68439 grep -v '^ *+' conftest.er1 >conftest.err
68440 rm -f conftest.er1
68441 cat conftest.err >&5
68442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68443 (exit $ac_status); } &&
68444 { ac_try='test -z "$ac_cxx_werror_flag"
68445 || test ! -s conftest.err'
68446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68447 (eval $ac_try) 2>&5
68448 ac_status=$?
68449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68450 (exit $ac_status); }; } &&
68451 { ac_try='test -s conftest.$ac_objext'
68452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68453 (eval $ac_try) 2>&5
68454 ac_status=$?
68455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68456 (exit $ac_status); }; }; then
68457 glibcxx_cv_func_hypotl_use=yes
68458 else
68459 echo "$as_me: failed program was:" >&5
68460 sed 's/^/| /' conftest.$ac_ext >&5
68462 glibcxx_cv_func_hypotl_use=no
68464 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68465 ac_ext=c
68466 ac_cpp='$CPP $CPPFLAGS'
68467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68475 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
68476 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
68478 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
68480 for ac_func in hypotl
68482 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68483 echo "$as_me:$LINENO: checking for $ac_func" >&5
68484 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68485 if eval "test \"\${$as_ac_var+set}\" = set"; then
68486 echo $ECHO_N "(cached) $ECHO_C" >&6
68487 else
68488 if test x$gcc_no_link = xyes; then
68489 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68490 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68491 { (exit 1); exit 1; }; }
68493 cat >conftest.$ac_ext <<_ACEOF
68494 /* confdefs.h. */
68495 _ACEOF
68496 cat confdefs.h >>conftest.$ac_ext
68497 cat >>conftest.$ac_ext <<_ACEOF
68498 /* end confdefs.h. */
68499 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68500 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68501 #define $ac_func innocuous_$ac_func
68503 /* System header to define __stub macros and hopefully few prototypes,
68504 which can conflict with char $ac_func (); below.
68505 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68506 <limits.h> exists even on freestanding compilers. */
68508 #ifdef __STDC__
68509 # include <limits.h>
68510 #else
68511 # include <assert.h>
68512 #endif
68514 #undef $ac_func
68516 /* Override any gcc2 internal prototype to avoid an error. */
68517 #ifdef __cplusplus
68518 extern "C"
68520 #endif
68521 /* We use char because int might match the return type of a gcc2
68522 builtin and then its argument prototype would still apply. */
68523 char $ac_func ();
68524 /* The GNU C library defines this for functions which it implements
68525 to always fail with ENOSYS. Some functions are actually named
68526 something starting with __ and the normal name is an alias. */
68527 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68528 choke me
68529 #else
68530 char (*f) () = $ac_func;
68531 #endif
68532 #ifdef __cplusplus
68534 #endif
68537 main ()
68539 return f != $ac_func;
68541 return 0;
68543 _ACEOF
68544 rm -f conftest.$ac_objext conftest$ac_exeext
68545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68546 (eval $ac_link) 2>conftest.er1
68547 ac_status=$?
68548 grep -v '^ *+' conftest.er1 >conftest.err
68549 rm -f conftest.er1
68550 cat conftest.err >&5
68551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68552 (exit $ac_status); } &&
68553 { ac_try='test -z "$ac_c_werror_flag"
68554 || test ! -s conftest.err'
68555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68556 (eval $ac_try) 2>&5
68557 ac_status=$?
68558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68559 (exit $ac_status); }; } &&
68560 { ac_try='test -s conftest$ac_exeext'
68561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68562 (eval $ac_try) 2>&5
68563 ac_status=$?
68564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68565 (exit $ac_status); }; }; then
68566 eval "$as_ac_var=yes"
68567 else
68568 echo "$as_me: failed program was:" >&5
68569 sed 's/^/| /' conftest.$ac_ext >&5
68571 eval "$as_ac_var=no"
68573 rm -f conftest.err conftest.$ac_objext \
68574 conftest$ac_exeext conftest.$ac_ext
68576 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68577 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68578 if test `eval echo '${'$as_ac_var'}'` = yes; then
68579 cat >>confdefs.h <<_ACEOF
68580 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68581 _ACEOF
68584 done
68586 else
68588 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
68589 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
68590 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
68591 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
68592 echo $ECHO_N "(cached) $ECHO_C" >&6
68593 else
68597 ac_ext=cc
68598 ac_cpp='$CXXCPP $CPPFLAGS'
68599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68603 cat >conftest.$ac_ext <<_ACEOF
68604 /* confdefs.h. */
68605 _ACEOF
68606 cat confdefs.h >>conftest.$ac_ext
68607 cat >>conftest.$ac_ext <<_ACEOF
68608 /* end confdefs.h. */
68609 #include <math.h>
68611 main ()
68613 _hypotl(0, 0);
68615 return 0;
68617 _ACEOF
68618 rm -f conftest.$ac_objext
68619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68620 (eval $ac_compile) 2>conftest.er1
68621 ac_status=$?
68622 grep -v '^ *+' conftest.er1 >conftest.err
68623 rm -f conftest.er1
68624 cat conftest.err >&5
68625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68626 (exit $ac_status); } &&
68627 { ac_try='test -z "$ac_cxx_werror_flag"
68628 || test ! -s conftest.err'
68629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68630 (eval $ac_try) 2>&5
68631 ac_status=$?
68632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68633 (exit $ac_status); }; } &&
68634 { ac_try='test -s conftest.$ac_objext'
68635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68636 (eval $ac_try) 2>&5
68637 ac_status=$?
68638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68639 (exit $ac_status); }; }; then
68640 glibcxx_cv_func__hypotl_use=yes
68641 else
68642 echo "$as_me: failed program was:" >&5
68643 sed 's/^/| /' conftest.$ac_ext >&5
68645 glibcxx_cv_func__hypotl_use=no
68647 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68648 ac_ext=c
68649 ac_cpp='$CPP $CPPFLAGS'
68650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68658 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
68659 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
68661 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
68663 for ac_func in _hypotl
68665 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68666 echo "$as_me:$LINENO: checking for $ac_func" >&5
68667 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68668 if eval "test \"\${$as_ac_var+set}\" = set"; then
68669 echo $ECHO_N "(cached) $ECHO_C" >&6
68670 else
68671 if test x$gcc_no_link = xyes; then
68672 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68673 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68674 { (exit 1); exit 1; }; }
68676 cat >conftest.$ac_ext <<_ACEOF
68677 /* confdefs.h. */
68678 _ACEOF
68679 cat confdefs.h >>conftest.$ac_ext
68680 cat >>conftest.$ac_ext <<_ACEOF
68681 /* end confdefs.h. */
68682 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68683 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68684 #define $ac_func innocuous_$ac_func
68686 /* System header to define __stub macros and hopefully few prototypes,
68687 which can conflict with char $ac_func (); below.
68688 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68689 <limits.h> exists even on freestanding compilers. */
68691 #ifdef __STDC__
68692 # include <limits.h>
68693 #else
68694 # include <assert.h>
68695 #endif
68697 #undef $ac_func
68699 /* Override any gcc2 internal prototype to avoid an error. */
68700 #ifdef __cplusplus
68701 extern "C"
68703 #endif
68704 /* We use char because int might match the return type of a gcc2
68705 builtin and then its argument prototype would still apply. */
68706 char $ac_func ();
68707 /* The GNU C library defines this for functions which it implements
68708 to always fail with ENOSYS. Some functions are actually named
68709 something starting with __ and the normal name is an alias. */
68710 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68711 choke me
68712 #else
68713 char (*f) () = $ac_func;
68714 #endif
68715 #ifdef __cplusplus
68717 #endif
68720 main ()
68722 return f != $ac_func;
68724 return 0;
68726 _ACEOF
68727 rm -f conftest.$ac_objext conftest$ac_exeext
68728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68729 (eval $ac_link) 2>conftest.er1
68730 ac_status=$?
68731 grep -v '^ *+' conftest.er1 >conftest.err
68732 rm -f conftest.er1
68733 cat conftest.err >&5
68734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68735 (exit $ac_status); } &&
68736 { ac_try='test -z "$ac_c_werror_flag"
68737 || test ! -s conftest.err'
68738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68739 (eval $ac_try) 2>&5
68740 ac_status=$?
68741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68742 (exit $ac_status); }; } &&
68743 { ac_try='test -s conftest$ac_exeext'
68744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68745 (eval $ac_try) 2>&5
68746 ac_status=$?
68747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68748 (exit $ac_status); }; }; then
68749 eval "$as_ac_var=yes"
68750 else
68751 echo "$as_me: failed program was:" >&5
68752 sed 's/^/| /' conftest.$ac_ext >&5
68754 eval "$as_ac_var=no"
68756 rm -f conftest.err conftest.$ac_objext \
68757 conftest$ac_exeext conftest.$ac_ext
68759 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68760 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68761 if test `eval echo '${'$as_ac_var'}'` = yes; then
68762 cat >>confdefs.h <<_ACEOF
68763 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68764 _ACEOF
68767 done
68777 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
68778 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
68779 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
68780 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
68781 echo $ECHO_N "(cached) $ECHO_C" >&6
68782 else
68786 ac_ext=cc
68787 ac_cpp='$CXXCPP $CPPFLAGS'
68788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68792 cat >conftest.$ac_ext <<_ACEOF
68793 /* confdefs.h. */
68794 _ACEOF
68795 cat confdefs.h >>conftest.$ac_ext
68796 cat >>conftest.$ac_ext <<_ACEOF
68797 /* end confdefs.h. */
68798 #include <math.h>
68800 main ()
68802 ldexpl(0, 0);
68804 return 0;
68806 _ACEOF
68807 rm -f conftest.$ac_objext
68808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68809 (eval $ac_compile) 2>conftest.er1
68810 ac_status=$?
68811 grep -v '^ *+' conftest.er1 >conftest.err
68812 rm -f conftest.er1
68813 cat conftest.err >&5
68814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68815 (exit $ac_status); } &&
68816 { ac_try='test -z "$ac_cxx_werror_flag"
68817 || test ! -s conftest.err'
68818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68819 (eval $ac_try) 2>&5
68820 ac_status=$?
68821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68822 (exit $ac_status); }; } &&
68823 { ac_try='test -s conftest.$ac_objext'
68824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68825 (eval $ac_try) 2>&5
68826 ac_status=$?
68827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68828 (exit $ac_status); }; }; then
68829 glibcxx_cv_func_ldexpl_use=yes
68830 else
68831 echo "$as_me: failed program was:" >&5
68832 sed 's/^/| /' conftest.$ac_ext >&5
68834 glibcxx_cv_func_ldexpl_use=no
68836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68837 ac_ext=c
68838 ac_cpp='$CPP $CPPFLAGS'
68839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68847 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
68848 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
68850 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
68852 for ac_func in ldexpl
68854 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68855 echo "$as_me:$LINENO: checking for $ac_func" >&5
68856 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68857 if eval "test \"\${$as_ac_var+set}\" = set"; then
68858 echo $ECHO_N "(cached) $ECHO_C" >&6
68859 else
68860 if test x$gcc_no_link = xyes; then
68861 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68862 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68863 { (exit 1); exit 1; }; }
68865 cat >conftest.$ac_ext <<_ACEOF
68866 /* confdefs.h. */
68867 _ACEOF
68868 cat confdefs.h >>conftest.$ac_ext
68869 cat >>conftest.$ac_ext <<_ACEOF
68870 /* end confdefs.h. */
68871 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68872 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68873 #define $ac_func innocuous_$ac_func
68875 /* System header to define __stub macros and hopefully few prototypes,
68876 which can conflict with char $ac_func (); below.
68877 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68878 <limits.h> exists even on freestanding compilers. */
68880 #ifdef __STDC__
68881 # include <limits.h>
68882 #else
68883 # include <assert.h>
68884 #endif
68886 #undef $ac_func
68888 /* Override any gcc2 internal prototype to avoid an error. */
68889 #ifdef __cplusplus
68890 extern "C"
68892 #endif
68893 /* We use char because int might match the return type of a gcc2
68894 builtin and then its argument prototype would still apply. */
68895 char $ac_func ();
68896 /* The GNU C library defines this for functions which it implements
68897 to always fail with ENOSYS. Some functions are actually named
68898 something starting with __ and the normal name is an alias. */
68899 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68900 choke me
68901 #else
68902 char (*f) () = $ac_func;
68903 #endif
68904 #ifdef __cplusplus
68906 #endif
68909 main ()
68911 return f != $ac_func;
68913 return 0;
68915 _ACEOF
68916 rm -f conftest.$ac_objext conftest$ac_exeext
68917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68918 (eval $ac_link) 2>conftest.er1
68919 ac_status=$?
68920 grep -v '^ *+' conftest.er1 >conftest.err
68921 rm -f conftest.er1
68922 cat conftest.err >&5
68923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68924 (exit $ac_status); } &&
68925 { ac_try='test -z "$ac_c_werror_flag"
68926 || test ! -s conftest.err'
68927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68928 (eval $ac_try) 2>&5
68929 ac_status=$?
68930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68931 (exit $ac_status); }; } &&
68932 { ac_try='test -s conftest$ac_exeext'
68933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68934 (eval $ac_try) 2>&5
68935 ac_status=$?
68936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68937 (exit $ac_status); }; }; then
68938 eval "$as_ac_var=yes"
68939 else
68940 echo "$as_me: failed program was:" >&5
68941 sed 's/^/| /' conftest.$ac_ext >&5
68943 eval "$as_ac_var=no"
68945 rm -f conftest.err conftest.$ac_objext \
68946 conftest$ac_exeext conftest.$ac_ext
68948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68949 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68950 if test `eval echo '${'$as_ac_var'}'` = yes; then
68951 cat >>confdefs.h <<_ACEOF
68952 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68953 _ACEOF
68956 done
68958 else
68960 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
68961 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
68962 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
68963 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
68964 echo $ECHO_N "(cached) $ECHO_C" >&6
68965 else
68969 ac_ext=cc
68970 ac_cpp='$CXXCPP $CPPFLAGS'
68971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68975 cat >conftest.$ac_ext <<_ACEOF
68976 /* confdefs.h. */
68977 _ACEOF
68978 cat confdefs.h >>conftest.$ac_ext
68979 cat >>conftest.$ac_ext <<_ACEOF
68980 /* end confdefs.h. */
68981 #include <math.h>
68983 main ()
68985 _ldexpl(0, 0);
68987 return 0;
68989 _ACEOF
68990 rm -f conftest.$ac_objext
68991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68992 (eval $ac_compile) 2>conftest.er1
68993 ac_status=$?
68994 grep -v '^ *+' conftest.er1 >conftest.err
68995 rm -f conftest.er1
68996 cat conftest.err >&5
68997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68998 (exit $ac_status); } &&
68999 { ac_try='test -z "$ac_cxx_werror_flag"
69000 || test ! -s conftest.err'
69001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69002 (eval $ac_try) 2>&5
69003 ac_status=$?
69004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69005 (exit $ac_status); }; } &&
69006 { ac_try='test -s conftest.$ac_objext'
69007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69008 (eval $ac_try) 2>&5
69009 ac_status=$?
69010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69011 (exit $ac_status); }; }; then
69012 glibcxx_cv_func__ldexpl_use=yes
69013 else
69014 echo "$as_me: failed program was:" >&5
69015 sed 's/^/| /' conftest.$ac_ext >&5
69017 glibcxx_cv_func__ldexpl_use=no
69019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69020 ac_ext=c
69021 ac_cpp='$CPP $CPPFLAGS'
69022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69030 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
69031 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
69033 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
69035 for ac_func in _ldexpl
69037 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69038 echo "$as_me:$LINENO: checking for $ac_func" >&5
69039 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69040 if eval "test \"\${$as_ac_var+set}\" = set"; then
69041 echo $ECHO_N "(cached) $ECHO_C" >&6
69042 else
69043 if test x$gcc_no_link = xyes; then
69044 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69045 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69046 { (exit 1); exit 1; }; }
69048 cat >conftest.$ac_ext <<_ACEOF
69049 /* confdefs.h. */
69050 _ACEOF
69051 cat confdefs.h >>conftest.$ac_ext
69052 cat >>conftest.$ac_ext <<_ACEOF
69053 /* end confdefs.h. */
69054 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69055 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69056 #define $ac_func innocuous_$ac_func
69058 /* System header to define __stub macros and hopefully few prototypes,
69059 which can conflict with char $ac_func (); below.
69060 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69061 <limits.h> exists even on freestanding compilers. */
69063 #ifdef __STDC__
69064 # include <limits.h>
69065 #else
69066 # include <assert.h>
69067 #endif
69069 #undef $ac_func
69071 /* Override any gcc2 internal prototype to avoid an error. */
69072 #ifdef __cplusplus
69073 extern "C"
69075 #endif
69076 /* We use char because int might match the return type of a gcc2
69077 builtin and then its argument prototype would still apply. */
69078 char $ac_func ();
69079 /* The GNU C library defines this for functions which it implements
69080 to always fail with ENOSYS. Some functions are actually named
69081 something starting with __ and the normal name is an alias. */
69082 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69083 choke me
69084 #else
69085 char (*f) () = $ac_func;
69086 #endif
69087 #ifdef __cplusplus
69089 #endif
69092 main ()
69094 return f != $ac_func;
69096 return 0;
69098 _ACEOF
69099 rm -f conftest.$ac_objext conftest$ac_exeext
69100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69101 (eval $ac_link) 2>conftest.er1
69102 ac_status=$?
69103 grep -v '^ *+' conftest.er1 >conftest.err
69104 rm -f conftest.er1
69105 cat conftest.err >&5
69106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69107 (exit $ac_status); } &&
69108 { ac_try='test -z "$ac_c_werror_flag"
69109 || test ! -s conftest.err'
69110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69111 (eval $ac_try) 2>&5
69112 ac_status=$?
69113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69114 (exit $ac_status); }; } &&
69115 { ac_try='test -s conftest$ac_exeext'
69116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69117 (eval $ac_try) 2>&5
69118 ac_status=$?
69119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69120 (exit $ac_status); }; }; then
69121 eval "$as_ac_var=yes"
69122 else
69123 echo "$as_me: failed program was:" >&5
69124 sed 's/^/| /' conftest.$ac_ext >&5
69126 eval "$as_ac_var=no"
69128 rm -f conftest.err conftest.$ac_objext \
69129 conftest$ac_exeext conftest.$ac_ext
69131 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69132 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69133 if test `eval echo '${'$as_ac_var'}'` = yes; then
69134 cat >>confdefs.h <<_ACEOF
69135 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69136 _ACEOF
69139 done
69149 echo "$as_me:$LINENO: checking for logl declaration" >&5
69150 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
69151 if test x${glibcxx_cv_func_logl_use+set} != xset; then
69152 if test "${glibcxx_cv_func_logl_use+set}" = set; then
69153 echo $ECHO_N "(cached) $ECHO_C" >&6
69154 else
69158 ac_ext=cc
69159 ac_cpp='$CXXCPP $CPPFLAGS'
69160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69164 cat >conftest.$ac_ext <<_ACEOF
69165 /* confdefs.h. */
69166 _ACEOF
69167 cat confdefs.h >>conftest.$ac_ext
69168 cat >>conftest.$ac_ext <<_ACEOF
69169 /* end confdefs.h. */
69170 #include <math.h>
69171 #ifdef HAVE_IEEEFP_H
69172 #include <ieeefp.h>
69173 #endif
69176 main ()
69178 logl(0);
69180 return 0;
69182 _ACEOF
69183 rm -f conftest.$ac_objext
69184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69185 (eval $ac_compile) 2>conftest.er1
69186 ac_status=$?
69187 grep -v '^ *+' conftest.er1 >conftest.err
69188 rm -f conftest.er1
69189 cat conftest.err >&5
69190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69191 (exit $ac_status); } &&
69192 { ac_try='test -z "$ac_cxx_werror_flag"
69193 || test ! -s conftest.err'
69194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69195 (eval $ac_try) 2>&5
69196 ac_status=$?
69197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69198 (exit $ac_status); }; } &&
69199 { ac_try='test -s conftest.$ac_objext'
69200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69201 (eval $ac_try) 2>&5
69202 ac_status=$?
69203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69204 (exit $ac_status); }; }; then
69205 glibcxx_cv_func_logl_use=yes
69206 else
69207 echo "$as_me: failed program was:" >&5
69208 sed 's/^/| /' conftest.$ac_ext >&5
69210 glibcxx_cv_func_logl_use=no
69212 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69213 ac_ext=c
69214 ac_cpp='$CPP $CPPFLAGS'
69215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69223 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
69224 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
69226 if test x$glibcxx_cv_func_logl_use = x"yes"; then
69228 for ac_func in logl
69230 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69231 echo "$as_me:$LINENO: checking for $ac_func" >&5
69232 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69233 if eval "test \"\${$as_ac_var+set}\" = set"; then
69234 echo $ECHO_N "(cached) $ECHO_C" >&6
69235 else
69236 if test x$gcc_no_link = xyes; then
69237 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69238 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69239 { (exit 1); exit 1; }; }
69241 cat >conftest.$ac_ext <<_ACEOF
69242 /* confdefs.h. */
69243 _ACEOF
69244 cat confdefs.h >>conftest.$ac_ext
69245 cat >>conftest.$ac_ext <<_ACEOF
69246 /* end confdefs.h. */
69247 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69248 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69249 #define $ac_func innocuous_$ac_func
69251 /* System header to define __stub macros and hopefully few prototypes,
69252 which can conflict with char $ac_func (); below.
69253 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69254 <limits.h> exists even on freestanding compilers. */
69256 #ifdef __STDC__
69257 # include <limits.h>
69258 #else
69259 # include <assert.h>
69260 #endif
69262 #undef $ac_func
69264 /* Override any gcc2 internal prototype to avoid an error. */
69265 #ifdef __cplusplus
69266 extern "C"
69268 #endif
69269 /* We use char because int might match the return type of a gcc2
69270 builtin and then its argument prototype would still apply. */
69271 char $ac_func ();
69272 /* The GNU C library defines this for functions which it implements
69273 to always fail with ENOSYS. Some functions are actually named
69274 something starting with __ and the normal name is an alias. */
69275 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69276 choke me
69277 #else
69278 char (*f) () = $ac_func;
69279 #endif
69280 #ifdef __cplusplus
69282 #endif
69285 main ()
69287 return f != $ac_func;
69289 return 0;
69291 _ACEOF
69292 rm -f conftest.$ac_objext conftest$ac_exeext
69293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69294 (eval $ac_link) 2>conftest.er1
69295 ac_status=$?
69296 grep -v '^ *+' conftest.er1 >conftest.err
69297 rm -f conftest.er1
69298 cat conftest.err >&5
69299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69300 (exit $ac_status); } &&
69301 { ac_try='test -z "$ac_c_werror_flag"
69302 || test ! -s conftest.err'
69303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69304 (eval $ac_try) 2>&5
69305 ac_status=$?
69306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69307 (exit $ac_status); }; } &&
69308 { ac_try='test -s conftest$ac_exeext'
69309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69310 (eval $ac_try) 2>&5
69311 ac_status=$?
69312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69313 (exit $ac_status); }; }; then
69314 eval "$as_ac_var=yes"
69315 else
69316 echo "$as_me: failed program was:" >&5
69317 sed 's/^/| /' conftest.$ac_ext >&5
69319 eval "$as_ac_var=no"
69321 rm -f conftest.err conftest.$ac_objext \
69322 conftest$ac_exeext conftest.$ac_ext
69324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69325 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69326 if test `eval echo '${'$as_ac_var'}'` = yes; then
69327 cat >>confdefs.h <<_ACEOF
69328 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69329 _ACEOF
69332 done
69334 else
69336 echo "$as_me:$LINENO: checking for _logl declaration" >&5
69337 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
69338 if test x${glibcxx_cv_func__logl_use+set} != xset; then
69339 if test "${glibcxx_cv_func__logl_use+set}" = set; then
69340 echo $ECHO_N "(cached) $ECHO_C" >&6
69341 else
69345 ac_ext=cc
69346 ac_cpp='$CXXCPP $CPPFLAGS'
69347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69351 cat >conftest.$ac_ext <<_ACEOF
69352 /* confdefs.h. */
69353 _ACEOF
69354 cat confdefs.h >>conftest.$ac_ext
69355 cat >>conftest.$ac_ext <<_ACEOF
69356 /* end confdefs.h. */
69357 #include <math.h>
69358 #ifdef HAVE_IEEEFP_H
69359 #include <ieeefp.h>
69360 #endif
69363 main ()
69365 _logl(0);
69367 return 0;
69369 _ACEOF
69370 rm -f conftest.$ac_objext
69371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69372 (eval $ac_compile) 2>conftest.er1
69373 ac_status=$?
69374 grep -v '^ *+' conftest.er1 >conftest.err
69375 rm -f conftest.er1
69376 cat conftest.err >&5
69377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69378 (exit $ac_status); } &&
69379 { ac_try='test -z "$ac_cxx_werror_flag"
69380 || test ! -s conftest.err'
69381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69382 (eval $ac_try) 2>&5
69383 ac_status=$?
69384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69385 (exit $ac_status); }; } &&
69386 { ac_try='test -s conftest.$ac_objext'
69387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69388 (eval $ac_try) 2>&5
69389 ac_status=$?
69390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69391 (exit $ac_status); }; }; then
69392 glibcxx_cv_func__logl_use=yes
69393 else
69394 echo "$as_me: failed program was:" >&5
69395 sed 's/^/| /' conftest.$ac_ext >&5
69397 glibcxx_cv_func__logl_use=no
69399 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69400 ac_ext=c
69401 ac_cpp='$CPP $CPPFLAGS'
69402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69410 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
69411 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
69413 if test x$glibcxx_cv_func__logl_use = x"yes"; then
69415 for ac_func in _logl
69417 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69418 echo "$as_me:$LINENO: checking for $ac_func" >&5
69419 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69420 if eval "test \"\${$as_ac_var+set}\" = set"; then
69421 echo $ECHO_N "(cached) $ECHO_C" >&6
69422 else
69423 if test x$gcc_no_link = xyes; then
69424 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69425 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69426 { (exit 1); exit 1; }; }
69428 cat >conftest.$ac_ext <<_ACEOF
69429 /* confdefs.h. */
69430 _ACEOF
69431 cat confdefs.h >>conftest.$ac_ext
69432 cat >>conftest.$ac_ext <<_ACEOF
69433 /* end confdefs.h. */
69434 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69435 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69436 #define $ac_func innocuous_$ac_func
69438 /* System header to define __stub macros and hopefully few prototypes,
69439 which can conflict with char $ac_func (); below.
69440 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69441 <limits.h> exists even on freestanding compilers. */
69443 #ifdef __STDC__
69444 # include <limits.h>
69445 #else
69446 # include <assert.h>
69447 #endif
69449 #undef $ac_func
69451 /* Override any gcc2 internal prototype to avoid an error. */
69452 #ifdef __cplusplus
69453 extern "C"
69455 #endif
69456 /* We use char because int might match the return type of a gcc2
69457 builtin and then its argument prototype would still apply. */
69458 char $ac_func ();
69459 /* The GNU C library defines this for functions which it implements
69460 to always fail with ENOSYS. Some functions are actually named
69461 something starting with __ and the normal name is an alias. */
69462 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69463 choke me
69464 #else
69465 char (*f) () = $ac_func;
69466 #endif
69467 #ifdef __cplusplus
69469 #endif
69472 main ()
69474 return f != $ac_func;
69476 return 0;
69478 _ACEOF
69479 rm -f conftest.$ac_objext conftest$ac_exeext
69480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69481 (eval $ac_link) 2>conftest.er1
69482 ac_status=$?
69483 grep -v '^ *+' conftest.er1 >conftest.err
69484 rm -f conftest.er1
69485 cat conftest.err >&5
69486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69487 (exit $ac_status); } &&
69488 { ac_try='test -z "$ac_c_werror_flag"
69489 || test ! -s conftest.err'
69490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69491 (eval $ac_try) 2>&5
69492 ac_status=$?
69493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69494 (exit $ac_status); }; } &&
69495 { ac_try='test -s conftest$ac_exeext'
69496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69497 (eval $ac_try) 2>&5
69498 ac_status=$?
69499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69500 (exit $ac_status); }; }; then
69501 eval "$as_ac_var=yes"
69502 else
69503 echo "$as_me: failed program was:" >&5
69504 sed 's/^/| /' conftest.$ac_ext >&5
69506 eval "$as_ac_var=no"
69508 rm -f conftest.err conftest.$ac_objext \
69509 conftest$ac_exeext conftest.$ac_ext
69511 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69512 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69513 if test `eval echo '${'$as_ac_var'}'` = yes; then
69514 cat >>confdefs.h <<_ACEOF
69515 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69516 _ACEOF
69519 done
69529 echo "$as_me:$LINENO: checking for log10l declaration" >&5
69530 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
69531 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
69532 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
69533 echo $ECHO_N "(cached) $ECHO_C" >&6
69534 else
69538 ac_ext=cc
69539 ac_cpp='$CXXCPP $CPPFLAGS'
69540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69544 cat >conftest.$ac_ext <<_ACEOF
69545 /* confdefs.h. */
69546 _ACEOF
69547 cat confdefs.h >>conftest.$ac_ext
69548 cat >>conftest.$ac_ext <<_ACEOF
69549 /* end confdefs.h. */
69550 #include <math.h>
69551 #ifdef HAVE_IEEEFP_H
69552 #include <ieeefp.h>
69553 #endif
69556 main ()
69558 log10l(0);
69560 return 0;
69562 _ACEOF
69563 rm -f conftest.$ac_objext
69564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69565 (eval $ac_compile) 2>conftest.er1
69566 ac_status=$?
69567 grep -v '^ *+' conftest.er1 >conftest.err
69568 rm -f conftest.er1
69569 cat conftest.err >&5
69570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69571 (exit $ac_status); } &&
69572 { ac_try='test -z "$ac_cxx_werror_flag"
69573 || test ! -s conftest.err'
69574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69575 (eval $ac_try) 2>&5
69576 ac_status=$?
69577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69578 (exit $ac_status); }; } &&
69579 { ac_try='test -s conftest.$ac_objext'
69580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69581 (eval $ac_try) 2>&5
69582 ac_status=$?
69583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69584 (exit $ac_status); }; }; then
69585 glibcxx_cv_func_log10l_use=yes
69586 else
69587 echo "$as_me: failed program was:" >&5
69588 sed 's/^/| /' conftest.$ac_ext >&5
69590 glibcxx_cv_func_log10l_use=no
69592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69593 ac_ext=c
69594 ac_cpp='$CPP $CPPFLAGS'
69595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69603 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
69604 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
69606 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
69608 for ac_func in log10l
69610 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69611 echo "$as_me:$LINENO: checking for $ac_func" >&5
69612 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69613 if eval "test \"\${$as_ac_var+set}\" = set"; then
69614 echo $ECHO_N "(cached) $ECHO_C" >&6
69615 else
69616 if test x$gcc_no_link = xyes; then
69617 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69618 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69619 { (exit 1); exit 1; }; }
69621 cat >conftest.$ac_ext <<_ACEOF
69622 /* confdefs.h. */
69623 _ACEOF
69624 cat confdefs.h >>conftest.$ac_ext
69625 cat >>conftest.$ac_ext <<_ACEOF
69626 /* end confdefs.h. */
69627 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69628 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69629 #define $ac_func innocuous_$ac_func
69631 /* System header to define __stub macros and hopefully few prototypes,
69632 which can conflict with char $ac_func (); below.
69633 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69634 <limits.h> exists even on freestanding compilers. */
69636 #ifdef __STDC__
69637 # include <limits.h>
69638 #else
69639 # include <assert.h>
69640 #endif
69642 #undef $ac_func
69644 /* Override any gcc2 internal prototype to avoid an error. */
69645 #ifdef __cplusplus
69646 extern "C"
69648 #endif
69649 /* We use char because int might match the return type of a gcc2
69650 builtin and then its argument prototype would still apply. */
69651 char $ac_func ();
69652 /* The GNU C library defines this for functions which it implements
69653 to always fail with ENOSYS. Some functions are actually named
69654 something starting with __ and the normal name is an alias. */
69655 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69656 choke me
69657 #else
69658 char (*f) () = $ac_func;
69659 #endif
69660 #ifdef __cplusplus
69662 #endif
69665 main ()
69667 return f != $ac_func;
69669 return 0;
69671 _ACEOF
69672 rm -f conftest.$ac_objext conftest$ac_exeext
69673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69674 (eval $ac_link) 2>conftest.er1
69675 ac_status=$?
69676 grep -v '^ *+' conftest.er1 >conftest.err
69677 rm -f conftest.er1
69678 cat conftest.err >&5
69679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69680 (exit $ac_status); } &&
69681 { ac_try='test -z "$ac_c_werror_flag"
69682 || test ! -s conftest.err'
69683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69684 (eval $ac_try) 2>&5
69685 ac_status=$?
69686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69687 (exit $ac_status); }; } &&
69688 { ac_try='test -s conftest$ac_exeext'
69689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69690 (eval $ac_try) 2>&5
69691 ac_status=$?
69692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69693 (exit $ac_status); }; }; then
69694 eval "$as_ac_var=yes"
69695 else
69696 echo "$as_me: failed program was:" >&5
69697 sed 's/^/| /' conftest.$ac_ext >&5
69699 eval "$as_ac_var=no"
69701 rm -f conftest.err conftest.$ac_objext \
69702 conftest$ac_exeext conftest.$ac_ext
69704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69705 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69706 if test `eval echo '${'$as_ac_var'}'` = yes; then
69707 cat >>confdefs.h <<_ACEOF
69708 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69709 _ACEOF
69712 done
69714 else
69716 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
69717 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
69718 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
69719 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
69720 echo $ECHO_N "(cached) $ECHO_C" >&6
69721 else
69725 ac_ext=cc
69726 ac_cpp='$CXXCPP $CPPFLAGS'
69727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69731 cat >conftest.$ac_ext <<_ACEOF
69732 /* confdefs.h. */
69733 _ACEOF
69734 cat confdefs.h >>conftest.$ac_ext
69735 cat >>conftest.$ac_ext <<_ACEOF
69736 /* end confdefs.h. */
69737 #include <math.h>
69738 #ifdef HAVE_IEEEFP_H
69739 #include <ieeefp.h>
69740 #endif
69743 main ()
69745 _log10l(0);
69747 return 0;
69749 _ACEOF
69750 rm -f conftest.$ac_objext
69751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69752 (eval $ac_compile) 2>conftest.er1
69753 ac_status=$?
69754 grep -v '^ *+' conftest.er1 >conftest.err
69755 rm -f conftest.er1
69756 cat conftest.err >&5
69757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69758 (exit $ac_status); } &&
69759 { ac_try='test -z "$ac_cxx_werror_flag"
69760 || test ! -s conftest.err'
69761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69762 (eval $ac_try) 2>&5
69763 ac_status=$?
69764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69765 (exit $ac_status); }; } &&
69766 { ac_try='test -s conftest.$ac_objext'
69767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69768 (eval $ac_try) 2>&5
69769 ac_status=$?
69770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69771 (exit $ac_status); }; }; then
69772 glibcxx_cv_func__log10l_use=yes
69773 else
69774 echo "$as_me: failed program was:" >&5
69775 sed 's/^/| /' conftest.$ac_ext >&5
69777 glibcxx_cv_func__log10l_use=no
69779 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69780 ac_ext=c
69781 ac_cpp='$CPP $CPPFLAGS'
69782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69790 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
69791 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
69793 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
69795 for ac_func in _log10l
69797 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69798 echo "$as_me:$LINENO: checking for $ac_func" >&5
69799 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69800 if eval "test \"\${$as_ac_var+set}\" = set"; then
69801 echo $ECHO_N "(cached) $ECHO_C" >&6
69802 else
69803 if test x$gcc_no_link = xyes; then
69804 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69805 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69806 { (exit 1); exit 1; }; }
69808 cat >conftest.$ac_ext <<_ACEOF
69809 /* confdefs.h. */
69810 _ACEOF
69811 cat confdefs.h >>conftest.$ac_ext
69812 cat >>conftest.$ac_ext <<_ACEOF
69813 /* end confdefs.h. */
69814 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69815 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69816 #define $ac_func innocuous_$ac_func
69818 /* System header to define __stub macros and hopefully few prototypes,
69819 which can conflict with char $ac_func (); below.
69820 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69821 <limits.h> exists even on freestanding compilers. */
69823 #ifdef __STDC__
69824 # include <limits.h>
69825 #else
69826 # include <assert.h>
69827 #endif
69829 #undef $ac_func
69831 /* Override any gcc2 internal prototype to avoid an error. */
69832 #ifdef __cplusplus
69833 extern "C"
69835 #endif
69836 /* We use char because int might match the return type of a gcc2
69837 builtin and then its argument prototype would still apply. */
69838 char $ac_func ();
69839 /* The GNU C library defines this for functions which it implements
69840 to always fail with ENOSYS. Some functions are actually named
69841 something starting with __ and the normal name is an alias. */
69842 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69843 choke me
69844 #else
69845 char (*f) () = $ac_func;
69846 #endif
69847 #ifdef __cplusplus
69849 #endif
69852 main ()
69854 return f != $ac_func;
69856 return 0;
69858 _ACEOF
69859 rm -f conftest.$ac_objext conftest$ac_exeext
69860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69861 (eval $ac_link) 2>conftest.er1
69862 ac_status=$?
69863 grep -v '^ *+' conftest.er1 >conftest.err
69864 rm -f conftest.er1
69865 cat conftest.err >&5
69866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69867 (exit $ac_status); } &&
69868 { ac_try='test -z "$ac_c_werror_flag"
69869 || test ! -s conftest.err'
69870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69871 (eval $ac_try) 2>&5
69872 ac_status=$?
69873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69874 (exit $ac_status); }; } &&
69875 { ac_try='test -s conftest$ac_exeext'
69876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69877 (eval $ac_try) 2>&5
69878 ac_status=$?
69879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69880 (exit $ac_status); }; }; then
69881 eval "$as_ac_var=yes"
69882 else
69883 echo "$as_me: failed program was:" >&5
69884 sed 's/^/| /' conftest.$ac_ext >&5
69886 eval "$as_ac_var=no"
69888 rm -f conftest.err conftest.$ac_objext \
69889 conftest$ac_exeext conftest.$ac_ext
69891 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69892 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69893 if test `eval echo '${'$as_ac_var'}'` = yes; then
69894 cat >>confdefs.h <<_ACEOF
69895 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69896 _ACEOF
69899 done
69909 echo "$as_me:$LINENO: checking for modfl declaration" >&5
69910 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
69911 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
69912 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
69913 echo $ECHO_N "(cached) $ECHO_C" >&6
69914 else
69918 ac_ext=cc
69919 ac_cpp='$CXXCPP $CPPFLAGS'
69920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69924 cat >conftest.$ac_ext <<_ACEOF
69925 /* confdefs.h. */
69926 _ACEOF
69927 cat confdefs.h >>conftest.$ac_ext
69928 cat >>conftest.$ac_ext <<_ACEOF
69929 /* end confdefs.h. */
69930 #include <math.h>
69932 main ()
69934 modfl(0, 0);
69936 return 0;
69938 _ACEOF
69939 rm -f conftest.$ac_objext
69940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69941 (eval $ac_compile) 2>conftest.er1
69942 ac_status=$?
69943 grep -v '^ *+' conftest.er1 >conftest.err
69944 rm -f conftest.er1
69945 cat conftest.err >&5
69946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69947 (exit $ac_status); } &&
69948 { ac_try='test -z "$ac_cxx_werror_flag"
69949 || test ! -s conftest.err'
69950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69951 (eval $ac_try) 2>&5
69952 ac_status=$?
69953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69954 (exit $ac_status); }; } &&
69955 { ac_try='test -s conftest.$ac_objext'
69956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69957 (eval $ac_try) 2>&5
69958 ac_status=$?
69959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69960 (exit $ac_status); }; }; then
69961 glibcxx_cv_func_modfl_use=yes
69962 else
69963 echo "$as_me: failed program was:" >&5
69964 sed 's/^/| /' conftest.$ac_ext >&5
69966 glibcxx_cv_func_modfl_use=no
69968 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69969 ac_ext=c
69970 ac_cpp='$CPP $CPPFLAGS'
69971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69979 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
69980 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
69982 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
69984 for ac_func in modfl
69986 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69987 echo "$as_me:$LINENO: checking for $ac_func" >&5
69988 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69989 if eval "test \"\${$as_ac_var+set}\" = set"; then
69990 echo $ECHO_N "(cached) $ECHO_C" >&6
69991 else
69992 if test x$gcc_no_link = xyes; then
69993 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69994 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69995 { (exit 1); exit 1; }; }
69997 cat >conftest.$ac_ext <<_ACEOF
69998 /* confdefs.h. */
69999 _ACEOF
70000 cat confdefs.h >>conftest.$ac_ext
70001 cat >>conftest.$ac_ext <<_ACEOF
70002 /* end confdefs.h. */
70003 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70004 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70005 #define $ac_func innocuous_$ac_func
70007 /* System header to define __stub macros and hopefully few prototypes,
70008 which can conflict with char $ac_func (); below.
70009 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70010 <limits.h> exists even on freestanding compilers. */
70012 #ifdef __STDC__
70013 # include <limits.h>
70014 #else
70015 # include <assert.h>
70016 #endif
70018 #undef $ac_func
70020 /* Override any gcc2 internal prototype to avoid an error. */
70021 #ifdef __cplusplus
70022 extern "C"
70024 #endif
70025 /* We use char because int might match the return type of a gcc2
70026 builtin and then its argument prototype would still apply. */
70027 char $ac_func ();
70028 /* The GNU C library defines this for functions which it implements
70029 to always fail with ENOSYS. Some functions are actually named
70030 something starting with __ and the normal name is an alias. */
70031 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70032 choke me
70033 #else
70034 char (*f) () = $ac_func;
70035 #endif
70036 #ifdef __cplusplus
70038 #endif
70041 main ()
70043 return f != $ac_func;
70045 return 0;
70047 _ACEOF
70048 rm -f conftest.$ac_objext conftest$ac_exeext
70049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70050 (eval $ac_link) 2>conftest.er1
70051 ac_status=$?
70052 grep -v '^ *+' conftest.er1 >conftest.err
70053 rm -f conftest.er1
70054 cat conftest.err >&5
70055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70056 (exit $ac_status); } &&
70057 { ac_try='test -z "$ac_c_werror_flag"
70058 || test ! -s conftest.err'
70059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70060 (eval $ac_try) 2>&5
70061 ac_status=$?
70062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70063 (exit $ac_status); }; } &&
70064 { ac_try='test -s conftest$ac_exeext'
70065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70066 (eval $ac_try) 2>&5
70067 ac_status=$?
70068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70069 (exit $ac_status); }; }; then
70070 eval "$as_ac_var=yes"
70071 else
70072 echo "$as_me: failed program was:" >&5
70073 sed 's/^/| /' conftest.$ac_ext >&5
70075 eval "$as_ac_var=no"
70077 rm -f conftest.err conftest.$ac_objext \
70078 conftest$ac_exeext conftest.$ac_ext
70080 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70081 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70082 if test `eval echo '${'$as_ac_var'}'` = yes; then
70083 cat >>confdefs.h <<_ACEOF
70084 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70085 _ACEOF
70088 done
70090 else
70092 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
70093 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
70094 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
70095 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
70096 echo $ECHO_N "(cached) $ECHO_C" >&6
70097 else
70101 ac_ext=cc
70102 ac_cpp='$CXXCPP $CPPFLAGS'
70103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70107 cat >conftest.$ac_ext <<_ACEOF
70108 /* confdefs.h. */
70109 _ACEOF
70110 cat confdefs.h >>conftest.$ac_ext
70111 cat >>conftest.$ac_ext <<_ACEOF
70112 /* end confdefs.h. */
70113 #include <math.h>
70115 main ()
70117 _modfl(0, 0);
70119 return 0;
70121 _ACEOF
70122 rm -f conftest.$ac_objext
70123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70124 (eval $ac_compile) 2>conftest.er1
70125 ac_status=$?
70126 grep -v '^ *+' conftest.er1 >conftest.err
70127 rm -f conftest.er1
70128 cat conftest.err >&5
70129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70130 (exit $ac_status); } &&
70131 { ac_try='test -z "$ac_cxx_werror_flag"
70132 || test ! -s conftest.err'
70133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70134 (eval $ac_try) 2>&5
70135 ac_status=$?
70136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70137 (exit $ac_status); }; } &&
70138 { ac_try='test -s conftest.$ac_objext'
70139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70140 (eval $ac_try) 2>&5
70141 ac_status=$?
70142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70143 (exit $ac_status); }; }; then
70144 glibcxx_cv_func__modfl_use=yes
70145 else
70146 echo "$as_me: failed program was:" >&5
70147 sed 's/^/| /' conftest.$ac_ext >&5
70149 glibcxx_cv_func__modfl_use=no
70151 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70152 ac_ext=c
70153 ac_cpp='$CPP $CPPFLAGS'
70154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70162 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
70163 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
70165 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
70167 for ac_func in _modfl
70169 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70170 echo "$as_me:$LINENO: checking for $ac_func" >&5
70171 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70172 if eval "test \"\${$as_ac_var+set}\" = set"; then
70173 echo $ECHO_N "(cached) $ECHO_C" >&6
70174 else
70175 if test x$gcc_no_link = xyes; then
70176 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70177 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70178 { (exit 1); exit 1; }; }
70180 cat >conftest.$ac_ext <<_ACEOF
70181 /* confdefs.h. */
70182 _ACEOF
70183 cat confdefs.h >>conftest.$ac_ext
70184 cat >>conftest.$ac_ext <<_ACEOF
70185 /* end confdefs.h. */
70186 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70187 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70188 #define $ac_func innocuous_$ac_func
70190 /* System header to define __stub macros and hopefully few prototypes,
70191 which can conflict with char $ac_func (); below.
70192 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70193 <limits.h> exists even on freestanding compilers. */
70195 #ifdef __STDC__
70196 # include <limits.h>
70197 #else
70198 # include <assert.h>
70199 #endif
70201 #undef $ac_func
70203 /* Override any gcc2 internal prototype to avoid an error. */
70204 #ifdef __cplusplus
70205 extern "C"
70207 #endif
70208 /* We use char because int might match the return type of a gcc2
70209 builtin and then its argument prototype would still apply. */
70210 char $ac_func ();
70211 /* The GNU C library defines this for functions which it implements
70212 to always fail with ENOSYS. Some functions are actually named
70213 something starting with __ and the normal name is an alias. */
70214 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70215 choke me
70216 #else
70217 char (*f) () = $ac_func;
70218 #endif
70219 #ifdef __cplusplus
70221 #endif
70224 main ()
70226 return f != $ac_func;
70228 return 0;
70230 _ACEOF
70231 rm -f conftest.$ac_objext conftest$ac_exeext
70232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70233 (eval $ac_link) 2>conftest.er1
70234 ac_status=$?
70235 grep -v '^ *+' conftest.er1 >conftest.err
70236 rm -f conftest.er1
70237 cat conftest.err >&5
70238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70239 (exit $ac_status); } &&
70240 { ac_try='test -z "$ac_c_werror_flag"
70241 || test ! -s conftest.err'
70242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70243 (eval $ac_try) 2>&5
70244 ac_status=$?
70245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70246 (exit $ac_status); }; } &&
70247 { ac_try='test -s conftest$ac_exeext'
70248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70249 (eval $ac_try) 2>&5
70250 ac_status=$?
70251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70252 (exit $ac_status); }; }; then
70253 eval "$as_ac_var=yes"
70254 else
70255 echo "$as_me: failed program was:" >&5
70256 sed 's/^/| /' conftest.$ac_ext >&5
70258 eval "$as_ac_var=no"
70260 rm -f conftest.err conftest.$ac_objext \
70261 conftest$ac_exeext conftest.$ac_ext
70263 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70264 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70265 if test `eval echo '${'$as_ac_var'}'` = yes; then
70266 cat >>confdefs.h <<_ACEOF
70267 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70268 _ACEOF
70271 done
70281 echo "$as_me:$LINENO: checking for powl declaration" >&5
70282 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
70283 if test x${glibcxx_cv_func_powl_use+set} != xset; then
70284 if test "${glibcxx_cv_func_powl_use+set}" = set; then
70285 echo $ECHO_N "(cached) $ECHO_C" >&6
70286 else
70290 ac_ext=cc
70291 ac_cpp='$CXXCPP $CPPFLAGS'
70292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70296 cat >conftest.$ac_ext <<_ACEOF
70297 /* confdefs.h. */
70298 _ACEOF
70299 cat confdefs.h >>conftest.$ac_ext
70300 cat >>conftest.$ac_ext <<_ACEOF
70301 /* end confdefs.h. */
70302 #include <math.h>
70304 main ()
70306 powl(0, 0);
70308 return 0;
70310 _ACEOF
70311 rm -f conftest.$ac_objext
70312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70313 (eval $ac_compile) 2>conftest.er1
70314 ac_status=$?
70315 grep -v '^ *+' conftest.er1 >conftest.err
70316 rm -f conftest.er1
70317 cat conftest.err >&5
70318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70319 (exit $ac_status); } &&
70320 { ac_try='test -z "$ac_cxx_werror_flag"
70321 || test ! -s conftest.err'
70322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70323 (eval $ac_try) 2>&5
70324 ac_status=$?
70325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70326 (exit $ac_status); }; } &&
70327 { ac_try='test -s conftest.$ac_objext'
70328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70329 (eval $ac_try) 2>&5
70330 ac_status=$?
70331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70332 (exit $ac_status); }; }; then
70333 glibcxx_cv_func_powl_use=yes
70334 else
70335 echo "$as_me: failed program was:" >&5
70336 sed 's/^/| /' conftest.$ac_ext >&5
70338 glibcxx_cv_func_powl_use=no
70340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70341 ac_ext=c
70342 ac_cpp='$CPP $CPPFLAGS'
70343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70351 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
70352 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
70354 if test x$glibcxx_cv_func_powl_use = x"yes"; then
70356 for ac_func in powl
70358 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70359 echo "$as_me:$LINENO: checking for $ac_func" >&5
70360 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70361 if eval "test \"\${$as_ac_var+set}\" = set"; then
70362 echo $ECHO_N "(cached) $ECHO_C" >&6
70363 else
70364 if test x$gcc_no_link = xyes; then
70365 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70366 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70367 { (exit 1); exit 1; }; }
70369 cat >conftest.$ac_ext <<_ACEOF
70370 /* confdefs.h. */
70371 _ACEOF
70372 cat confdefs.h >>conftest.$ac_ext
70373 cat >>conftest.$ac_ext <<_ACEOF
70374 /* end confdefs.h. */
70375 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70376 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70377 #define $ac_func innocuous_$ac_func
70379 /* System header to define __stub macros and hopefully few prototypes,
70380 which can conflict with char $ac_func (); below.
70381 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70382 <limits.h> exists even on freestanding compilers. */
70384 #ifdef __STDC__
70385 # include <limits.h>
70386 #else
70387 # include <assert.h>
70388 #endif
70390 #undef $ac_func
70392 /* Override any gcc2 internal prototype to avoid an error. */
70393 #ifdef __cplusplus
70394 extern "C"
70396 #endif
70397 /* We use char because int might match the return type of a gcc2
70398 builtin and then its argument prototype would still apply. */
70399 char $ac_func ();
70400 /* The GNU C library defines this for functions which it implements
70401 to always fail with ENOSYS. Some functions are actually named
70402 something starting with __ and the normal name is an alias. */
70403 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70404 choke me
70405 #else
70406 char (*f) () = $ac_func;
70407 #endif
70408 #ifdef __cplusplus
70410 #endif
70413 main ()
70415 return f != $ac_func;
70417 return 0;
70419 _ACEOF
70420 rm -f conftest.$ac_objext conftest$ac_exeext
70421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70422 (eval $ac_link) 2>conftest.er1
70423 ac_status=$?
70424 grep -v '^ *+' conftest.er1 >conftest.err
70425 rm -f conftest.er1
70426 cat conftest.err >&5
70427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70428 (exit $ac_status); } &&
70429 { ac_try='test -z "$ac_c_werror_flag"
70430 || test ! -s conftest.err'
70431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70432 (eval $ac_try) 2>&5
70433 ac_status=$?
70434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70435 (exit $ac_status); }; } &&
70436 { ac_try='test -s conftest$ac_exeext'
70437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70438 (eval $ac_try) 2>&5
70439 ac_status=$?
70440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70441 (exit $ac_status); }; }; then
70442 eval "$as_ac_var=yes"
70443 else
70444 echo "$as_me: failed program was:" >&5
70445 sed 's/^/| /' conftest.$ac_ext >&5
70447 eval "$as_ac_var=no"
70449 rm -f conftest.err conftest.$ac_objext \
70450 conftest$ac_exeext conftest.$ac_ext
70452 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70453 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70454 if test `eval echo '${'$as_ac_var'}'` = yes; then
70455 cat >>confdefs.h <<_ACEOF
70456 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70457 _ACEOF
70460 done
70462 else
70464 echo "$as_me:$LINENO: checking for _powl declaration" >&5
70465 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
70466 if test x${glibcxx_cv_func__powl_use+set} != xset; then
70467 if test "${glibcxx_cv_func__powl_use+set}" = set; then
70468 echo $ECHO_N "(cached) $ECHO_C" >&6
70469 else
70473 ac_ext=cc
70474 ac_cpp='$CXXCPP $CPPFLAGS'
70475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70479 cat >conftest.$ac_ext <<_ACEOF
70480 /* confdefs.h. */
70481 _ACEOF
70482 cat confdefs.h >>conftest.$ac_ext
70483 cat >>conftest.$ac_ext <<_ACEOF
70484 /* end confdefs.h. */
70485 #include <math.h>
70487 main ()
70489 _powl(0, 0);
70491 return 0;
70493 _ACEOF
70494 rm -f conftest.$ac_objext
70495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70496 (eval $ac_compile) 2>conftest.er1
70497 ac_status=$?
70498 grep -v '^ *+' conftest.er1 >conftest.err
70499 rm -f conftest.er1
70500 cat conftest.err >&5
70501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70502 (exit $ac_status); } &&
70503 { ac_try='test -z "$ac_cxx_werror_flag"
70504 || test ! -s conftest.err'
70505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70506 (eval $ac_try) 2>&5
70507 ac_status=$?
70508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70509 (exit $ac_status); }; } &&
70510 { ac_try='test -s conftest.$ac_objext'
70511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70512 (eval $ac_try) 2>&5
70513 ac_status=$?
70514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70515 (exit $ac_status); }; }; then
70516 glibcxx_cv_func__powl_use=yes
70517 else
70518 echo "$as_me: failed program was:" >&5
70519 sed 's/^/| /' conftest.$ac_ext >&5
70521 glibcxx_cv_func__powl_use=no
70523 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70524 ac_ext=c
70525 ac_cpp='$CPP $CPPFLAGS'
70526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70534 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
70535 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
70537 if test x$glibcxx_cv_func__powl_use = x"yes"; then
70539 for ac_func in _powl
70541 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70542 echo "$as_me:$LINENO: checking for $ac_func" >&5
70543 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70544 if eval "test \"\${$as_ac_var+set}\" = set"; then
70545 echo $ECHO_N "(cached) $ECHO_C" >&6
70546 else
70547 if test x$gcc_no_link = xyes; then
70548 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70549 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70550 { (exit 1); exit 1; }; }
70552 cat >conftest.$ac_ext <<_ACEOF
70553 /* confdefs.h. */
70554 _ACEOF
70555 cat confdefs.h >>conftest.$ac_ext
70556 cat >>conftest.$ac_ext <<_ACEOF
70557 /* end confdefs.h. */
70558 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70559 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70560 #define $ac_func innocuous_$ac_func
70562 /* System header to define __stub macros and hopefully few prototypes,
70563 which can conflict with char $ac_func (); below.
70564 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70565 <limits.h> exists even on freestanding compilers. */
70567 #ifdef __STDC__
70568 # include <limits.h>
70569 #else
70570 # include <assert.h>
70571 #endif
70573 #undef $ac_func
70575 /* Override any gcc2 internal prototype to avoid an error. */
70576 #ifdef __cplusplus
70577 extern "C"
70579 #endif
70580 /* We use char because int might match the return type of a gcc2
70581 builtin and then its argument prototype would still apply. */
70582 char $ac_func ();
70583 /* The GNU C library defines this for functions which it implements
70584 to always fail with ENOSYS. Some functions are actually named
70585 something starting with __ and the normal name is an alias. */
70586 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70587 choke me
70588 #else
70589 char (*f) () = $ac_func;
70590 #endif
70591 #ifdef __cplusplus
70593 #endif
70596 main ()
70598 return f != $ac_func;
70600 return 0;
70602 _ACEOF
70603 rm -f conftest.$ac_objext conftest$ac_exeext
70604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70605 (eval $ac_link) 2>conftest.er1
70606 ac_status=$?
70607 grep -v '^ *+' conftest.er1 >conftest.err
70608 rm -f conftest.er1
70609 cat conftest.err >&5
70610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70611 (exit $ac_status); } &&
70612 { ac_try='test -z "$ac_c_werror_flag"
70613 || test ! -s conftest.err'
70614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70615 (eval $ac_try) 2>&5
70616 ac_status=$?
70617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70618 (exit $ac_status); }; } &&
70619 { ac_try='test -s conftest$ac_exeext'
70620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70621 (eval $ac_try) 2>&5
70622 ac_status=$?
70623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70624 (exit $ac_status); }; }; then
70625 eval "$as_ac_var=yes"
70626 else
70627 echo "$as_me: failed program was:" >&5
70628 sed 's/^/| /' conftest.$ac_ext >&5
70630 eval "$as_ac_var=no"
70632 rm -f conftest.err conftest.$ac_objext \
70633 conftest$ac_exeext conftest.$ac_ext
70635 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70636 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70637 if test `eval echo '${'$as_ac_var'}'` = yes; then
70638 cat >>confdefs.h <<_ACEOF
70639 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70640 _ACEOF
70643 done
70653 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
70654 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
70655 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
70656 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
70657 echo $ECHO_N "(cached) $ECHO_C" >&6
70658 else
70662 ac_ext=cc
70663 ac_cpp='$CXXCPP $CPPFLAGS'
70664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70668 cat >conftest.$ac_ext <<_ACEOF
70669 /* confdefs.h. */
70670 _ACEOF
70671 cat confdefs.h >>conftest.$ac_ext
70672 cat >>conftest.$ac_ext <<_ACEOF
70673 /* end confdefs.h. */
70674 #include <math.h>
70675 #ifdef HAVE_IEEEFP_H
70676 #include <ieeefp.h>
70677 #endif
70680 main ()
70682 sqrtl(0);
70684 return 0;
70686 _ACEOF
70687 rm -f conftest.$ac_objext
70688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70689 (eval $ac_compile) 2>conftest.er1
70690 ac_status=$?
70691 grep -v '^ *+' conftest.er1 >conftest.err
70692 rm -f conftest.er1
70693 cat conftest.err >&5
70694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70695 (exit $ac_status); } &&
70696 { ac_try='test -z "$ac_cxx_werror_flag"
70697 || test ! -s conftest.err'
70698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70699 (eval $ac_try) 2>&5
70700 ac_status=$?
70701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70702 (exit $ac_status); }; } &&
70703 { ac_try='test -s conftest.$ac_objext'
70704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70705 (eval $ac_try) 2>&5
70706 ac_status=$?
70707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70708 (exit $ac_status); }; }; then
70709 glibcxx_cv_func_sqrtl_use=yes
70710 else
70711 echo "$as_me: failed program was:" >&5
70712 sed 's/^/| /' conftest.$ac_ext >&5
70714 glibcxx_cv_func_sqrtl_use=no
70716 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70717 ac_ext=c
70718 ac_cpp='$CPP $CPPFLAGS'
70719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70727 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
70728 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
70730 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
70732 for ac_func in sqrtl
70734 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70735 echo "$as_me:$LINENO: checking for $ac_func" >&5
70736 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70737 if eval "test \"\${$as_ac_var+set}\" = set"; then
70738 echo $ECHO_N "(cached) $ECHO_C" >&6
70739 else
70740 if test x$gcc_no_link = xyes; then
70741 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70742 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70743 { (exit 1); exit 1; }; }
70745 cat >conftest.$ac_ext <<_ACEOF
70746 /* confdefs.h. */
70747 _ACEOF
70748 cat confdefs.h >>conftest.$ac_ext
70749 cat >>conftest.$ac_ext <<_ACEOF
70750 /* end confdefs.h. */
70751 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70752 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70753 #define $ac_func innocuous_$ac_func
70755 /* System header to define __stub macros and hopefully few prototypes,
70756 which can conflict with char $ac_func (); below.
70757 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70758 <limits.h> exists even on freestanding compilers. */
70760 #ifdef __STDC__
70761 # include <limits.h>
70762 #else
70763 # include <assert.h>
70764 #endif
70766 #undef $ac_func
70768 /* Override any gcc2 internal prototype to avoid an error. */
70769 #ifdef __cplusplus
70770 extern "C"
70772 #endif
70773 /* We use char because int might match the return type of a gcc2
70774 builtin and then its argument prototype would still apply. */
70775 char $ac_func ();
70776 /* The GNU C library defines this for functions which it implements
70777 to always fail with ENOSYS. Some functions are actually named
70778 something starting with __ and the normal name is an alias. */
70779 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70780 choke me
70781 #else
70782 char (*f) () = $ac_func;
70783 #endif
70784 #ifdef __cplusplus
70786 #endif
70789 main ()
70791 return f != $ac_func;
70793 return 0;
70795 _ACEOF
70796 rm -f conftest.$ac_objext conftest$ac_exeext
70797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70798 (eval $ac_link) 2>conftest.er1
70799 ac_status=$?
70800 grep -v '^ *+' conftest.er1 >conftest.err
70801 rm -f conftest.er1
70802 cat conftest.err >&5
70803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70804 (exit $ac_status); } &&
70805 { ac_try='test -z "$ac_c_werror_flag"
70806 || test ! -s conftest.err'
70807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70808 (eval $ac_try) 2>&5
70809 ac_status=$?
70810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70811 (exit $ac_status); }; } &&
70812 { ac_try='test -s conftest$ac_exeext'
70813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70814 (eval $ac_try) 2>&5
70815 ac_status=$?
70816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70817 (exit $ac_status); }; }; then
70818 eval "$as_ac_var=yes"
70819 else
70820 echo "$as_me: failed program was:" >&5
70821 sed 's/^/| /' conftest.$ac_ext >&5
70823 eval "$as_ac_var=no"
70825 rm -f conftest.err conftest.$ac_objext \
70826 conftest$ac_exeext conftest.$ac_ext
70828 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70829 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70830 if test `eval echo '${'$as_ac_var'}'` = yes; then
70831 cat >>confdefs.h <<_ACEOF
70832 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70833 _ACEOF
70836 done
70838 else
70840 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
70841 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
70842 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
70843 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
70844 echo $ECHO_N "(cached) $ECHO_C" >&6
70845 else
70849 ac_ext=cc
70850 ac_cpp='$CXXCPP $CPPFLAGS'
70851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70855 cat >conftest.$ac_ext <<_ACEOF
70856 /* confdefs.h. */
70857 _ACEOF
70858 cat confdefs.h >>conftest.$ac_ext
70859 cat >>conftest.$ac_ext <<_ACEOF
70860 /* end confdefs.h. */
70861 #include <math.h>
70862 #ifdef HAVE_IEEEFP_H
70863 #include <ieeefp.h>
70864 #endif
70867 main ()
70869 _sqrtl(0);
70871 return 0;
70873 _ACEOF
70874 rm -f conftest.$ac_objext
70875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70876 (eval $ac_compile) 2>conftest.er1
70877 ac_status=$?
70878 grep -v '^ *+' conftest.er1 >conftest.err
70879 rm -f conftest.er1
70880 cat conftest.err >&5
70881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70882 (exit $ac_status); } &&
70883 { ac_try='test -z "$ac_cxx_werror_flag"
70884 || test ! -s conftest.err'
70885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70886 (eval $ac_try) 2>&5
70887 ac_status=$?
70888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70889 (exit $ac_status); }; } &&
70890 { ac_try='test -s conftest.$ac_objext'
70891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70892 (eval $ac_try) 2>&5
70893 ac_status=$?
70894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70895 (exit $ac_status); }; }; then
70896 glibcxx_cv_func__sqrtl_use=yes
70897 else
70898 echo "$as_me: failed program was:" >&5
70899 sed 's/^/| /' conftest.$ac_ext >&5
70901 glibcxx_cv_func__sqrtl_use=no
70903 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70904 ac_ext=c
70905 ac_cpp='$CPP $CPPFLAGS'
70906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70914 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
70915 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
70917 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
70919 for ac_func in _sqrtl
70921 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70922 echo "$as_me:$LINENO: checking for $ac_func" >&5
70923 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70924 if eval "test \"\${$as_ac_var+set}\" = set"; then
70925 echo $ECHO_N "(cached) $ECHO_C" >&6
70926 else
70927 if test x$gcc_no_link = xyes; then
70928 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70929 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70930 { (exit 1); exit 1; }; }
70932 cat >conftest.$ac_ext <<_ACEOF
70933 /* confdefs.h. */
70934 _ACEOF
70935 cat confdefs.h >>conftest.$ac_ext
70936 cat >>conftest.$ac_ext <<_ACEOF
70937 /* end confdefs.h. */
70938 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70939 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70940 #define $ac_func innocuous_$ac_func
70942 /* System header to define __stub macros and hopefully few prototypes,
70943 which can conflict with char $ac_func (); below.
70944 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70945 <limits.h> exists even on freestanding compilers. */
70947 #ifdef __STDC__
70948 # include <limits.h>
70949 #else
70950 # include <assert.h>
70951 #endif
70953 #undef $ac_func
70955 /* Override any gcc2 internal prototype to avoid an error. */
70956 #ifdef __cplusplus
70957 extern "C"
70959 #endif
70960 /* We use char because int might match the return type of a gcc2
70961 builtin and then its argument prototype would still apply. */
70962 char $ac_func ();
70963 /* The GNU C library defines this for functions which it implements
70964 to always fail with ENOSYS. Some functions are actually named
70965 something starting with __ and the normal name is an alias. */
70966 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70967 choke me
70968 #else
70969 char (*f) () = $ac_func;
70970 #endif
70971 #ifdef __cplusplus
70973 #endif
70976 main ()
70978 return f != $ac_func;
70980 return 0;
70982 _ACEOF
70983 rm -f conftest.$ac_objext conftest$ac_exeext
70984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70985 (eval $ac_link) 2>conftest.er1
70986 ac_status=$?
70987 grep -v '^ *+' conftest.er1 >conftest.err
70988 rm -f conftest.er1
70989 cat conftest.err >&5
70990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70991 (exit $ac_status); } &&
70992 { ac_try='test -z "$ac_c_werror_flag"
70993 || test ! -s conftest.err'
70994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70995 (eval $ac_try) 2>&5
70996 ac_status=$?
70997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70998 (exit $ac_status); }; } &&
70999 { ac_try='test -s conftest$ac_exeext'
71000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71001 (eval $ac_try) 2>&5
71002 ac_status=$?
71003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71004 (exit $ac_status); }; }; then
71005 eval "$as_ac_var=yes"
71006 else
71007 echo "$as_me: failed program was:" >&5
71008 sed 's/^/| /' conftest.$ac_ext >&5
71010 eval "$as_ac_var=no"
71012 rm -f conftest.err conftest.$ac_objext \
71013 conftest$ac_exeext conftest.$ac_ext
71015 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71016 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71017 if test `eval echo '${'$as_ac_var'}'` = yes; then
71018 cat >>confdefs.h <<_ACEOF
71019 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71020 _ACEOF
71023 done
71033 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
71034 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
71035 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
71036 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
71037 echo $ECHO_N "(cached) $ECHO_C" >&6
71038 else
71042 ac_ext=cc
71043 ac_cpp='$CXXCPP $CPPFLAGS'
71044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71048 cat >conftest.$ac_ext <<_ACEOF
71049 /* confdefs.h. */
71050 _ACEOF
71051 cat confdefs.h >>conftest.$ac_ext
71052 cat >>conftest.$ac_ext <<_ACEOF
71053 /* end confdefs.h. */
71054 #include <math.h>
71056 main ()
71058 sincosl(0, 0, 0);
71060 return 0;
71062 _ACEOF
71063 rm -f conftest.$ac_objext
71064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71065 (eval $ac_compile) 2>conftest.er1
71066 ac_status=$?
71067 grep -v '^ *+' conftest.er1 >conftest.err
71068 rm -f conftest.er1
71069 cat conftest.err >&5
71070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71071 (exit $ac_status); } &&
71072 { ac_try='test -z "$ac_cxx_werror_flag"
71073 || test ! -s conftest.err'
71074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71075 (eval $ac_try) 2>&5
71076 ac_status=$?
71077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71078 (exit $ac_status); }; } &&
71079 { ac_try='test -s conftest.$ac_objext'
71080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71081 (eval $ac_try) 2>&5
71082 ac_status=$?
71083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71084 (exit $ac_status); }; }; then
71085 glibcxx_cv_func_sincosl_use=yes
71086 else
71087 echo "$as_me: failed program was:" >&5
71088 sed 's/^/| /' conftest.$ac_ext >&5
71090 glibcxx_cv_func_sincosl_use=no
71092 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71093 ac_ext=c
71094 ac_cpp='$CPP $CPPFLAGS'
71095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71103 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
71104 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
71106 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
71108 for ac_func in sincosl
71110 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71111 echo "$as_me:$LINENO: checking for $ac_func" >&5
71112 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71113 if eval "test \"\${$as_ac_var+set}\" = set"; then
71114 echo $ECHO_N "(cached) $ECHO_C" >&6
71115 else
71116 if test x$gcc_no_link = xyes; then
71117 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71118 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71119 { (exit 1); exit 1; }; }
71121 cat >conftest.$ac_ext <<_ACEOF
71122 /* confdefs.h. */
71123 _ACEOF
71124 cat confdefs.h >>conftest.$ac_ext
71125 cat >>conftest.$ac_ext <<_ACEOF
71126 /* end confdefs.h. */
71127 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71128 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71129 #define $ac_func innocuous_$ac_func
71131 /* System header to define __stub macros and hopefully few prototypes,
71132 which can conflict with char $ac_func (); below.
71133 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71134 <limits.h> exists even on freestanding compilers. */
71136 #ifdef __STDC__
71137 # include <limits.h>
71138 #else
71139 # include <assert.h>
71140 #endif
71142 #undef $ac_func
71144 /* Override any gcc2 internal prototype to avoid an error. */
71145 #ifdef __cplusplus
71146 extern "C"
71148 #endif
71149 /* We use char because int might match the return type of a gcc2
71150 builtin and then its argument prototype would still apply. */
71151 char $ac_func ();
71152 /* The GNU C library defines this for functions which it implements
71153 to always fail with ENOSYS. Some functions are actually named
71154 something starting with __ and the normal name is an alias. */
71155 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71156 choke me
71157 #else
71158 char (*f) () = $ac_func;
71159 #endif
71160 #ifdef __cplusplus
71162 #endif
71165 main ()
71167 return f != $ac_func;
71169 return 0;
71171 _ACEOF
71172 rm -f conftest.$ac_objext conftest$ac_exeext
71173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71174 (eval $ac_link) 2>conftest.er1
71175 ac_status=$?
71176 grep -v '^ *+' conftest.er1 >conftest.err
71177 rm -f conftest.er1
71178 cat conftest.err >&5
71179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71180 (exit $ac_status); } &&
71181 { ac_try='test -z "$ac_c_werror_flag"
71182 || test ! -s conftest.err'
71183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71184 (eval $ac_try) 2>&5
71185 ac_status=$?
71186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71187 (exit $ac_status); }; } &&
71188 { ac_try='test -s conftest$ac_exeext'
71189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71190 (eval $ac_try) 2>&5
71191 ac_status=$?
71192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71193 (exit $ac_status); }; }; then
71194 eval "$as_ac_var=yes"
71195 else
71196 echo "$as_me: failed program was:" >&5
71197 sed 's/^/| /' conftest.$ac_ext >&5
71199 eval "$as_ac_var=no"
71201 rm -f conftest.err conftest.$ac_objext \
71202 conftest$ac_exeext conftest.$ac_ext
71204 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71205 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71206 if test `eval echo '${'$as_ac_var'}'` = yes; then
71207 cat >>confdefs.h <<_ACEOF
71208 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71209 _ACEOF
71212 done
71214 else
71216 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
71217 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
71218 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
71219 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
71220 echo $ECHO_N "(cached) $ECHO_C" >&6
71221 else
71225 ac_ext=cc
71226 ac_cpp='$CXXCPP $CPPFLAGS'
71227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71231 cat >conftest.$ac_ext <<_ACEOF
71232 /* confdefs.h. */
71233 _ACEOF
71234 cat confdefs.h >>conftest.$ac_ext
71235 cat >>conftest.$ac_ext <<_ACEOF
71236 /* end confdefs.h. */
71237 #include <math.h>
71239 main ()
71241 _sincosl(0, 0, 0);
71243 return 0;
71245 _ACEOF
71246 rm -f conftest.$ac_objext
71247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71248 (eval $ac_compile) 2>conftest.er1
71249 ac_status=$?
71250 grep -v '^ *+' conftest.er1 >conftest.err
71251 rm -f conftest.er1
71252 cat conftest.err >&5
71253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71254 (exit $ac_status); } &&
71255 { ac_try='test -z "$ac_cxx_werror_flag"
71256 || test ! -s conftest.err'
71257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71258 (eval $ac_try) 2>&5
71259 ac_status=$?
71260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71261 (exit $ac_status); }; } &&
71262 { ac_try='test -s conftest.$ac_objext'
71263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71264 (eval $ac_try) 2>&5
71265 ac_status=$?
71266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71267 (exit $ac_status); }; }; then
71268 glibcxx_cv_func__sincosl_use=yes
71269 else
71270 echo "$as_me: failed program was:" >&5
71271 sed 's/^/| /' conftest.$ac_ext >&5
71273 glibcxx_cv_func__sincosl_use=no
71275 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71276 ac_ext=c
71277 ac_cpp='$CPP $CPPFLAGS'
71278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71286 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
71287 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
71289 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
71291 for ac_func in _sincosl
71293 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71294 echo "$as_me:$LINENO: checking for $ac_func" >&5
71295 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71296 if eval "test \"\${$as_ac_var+set}\" = set"; then
71297 echo $ECHO_N "(cached) $ECHO_C" >&6
71298 else
71299 if test x$gcc_no_link = xyes; then
71300 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71301 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71302 { (exit 1); exit 1; }; }
71304 cat >conftest.$ac_ext <<_ACEOF
71305 /* confdefs.h. */
71306 _ACEOF
71307 cat confdefs.h >>conftest.$ac_ext
71308 cat >>conftest.$ac_ext <<_ACEOF
71309 /* end confdefs.h. */
71310 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71311 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71312 #define $ac_func innocuous_$ac_func
71314 /* System header to define __stub macros and hopefully few prototypes,
71315 which can conflict with char $ac_func (); below.
71316 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71317 <limits.h> exists even on freestanding compilers. */
71319 #ifdef __STDC__
71320 # include <limits.h>
71321 #else
71322 # include <assert.h>
71323 #endif
71325 #undef $ac_func
71327 /* Override any gcc2 internal prototype to avoid an error. */
71328 #ifdef __cplusplus
71329 extern "C"
71331 #endif
71332 /* We use char because int might match the return type of a gcc2
71333 builtin and then its argument prototype would still apply. */
71334 char $ac_func ();
71335 /* The GNU C library defines this for functions which it implements
71336 to always fail with ENOSYS. Some functions are actually named
71337 something starting with __ and the normal name is an alias. */
71338 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71339 choke me
71340 #else
71341 char (*f) () = $ac_func;
71342 #endif
71343 #ifdef __cplusplus
71345 #endif
71348 main ()
71350 return f != $ac_func;
71352 return 0;
71354 _ACEOF
71355 rm -f conftest.$ac_objext conftest$ac_exeext
71356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71357 (eval $ac_link) 2>conftest.er1
71358 ac_status=$?
71359 grep -v '^ *+' conftest.er1 >conftest.err
71360 rm -f conftest.er1
71361 cat conftest.err >&5
71362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71363 (exit $ac_status); } &&
71364 { ac_try='test -z "$ac_c_werror_flag"
71365 || test ! -s conftest.err'
71366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71367 (eval $ac_try) 2>&5
71368 ac_status=$?
71369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71370 (exit $ac_status); }; } &&
71371 { ac_try='test -s conftest$ac_exeext'
71372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71373 (eval $ac_try) 2>&5
71374 ac_status=$?
71375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71376 (exit $ac_status); }; }; then
71377 eval "$as_ac_var=yes"
71378 else
71379 echo "$as_me: failed program was:" >&5
71380 sed 's/^/| /' conftest.$ac_ext >&5
71382 eval "$as_ac_var=no"
71384 rm -f conftest.err conftest.$ac_objext \
71385 conftest$ac_exeext conftest.$ac_ext
71387 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71388 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71389 if test `eval echo '${'$as_ac_var'}'` = yes; then
71390 cat >>confdefs.h <<_ACEOF
71391 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71392 _ACEOF
71395 done
71405 echo "$as_me:$LINENO: checking for finitel declaration" >&5
71406 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
71407 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
71408 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
71409 echo $ECHO_N "(cached) $ECHO_C" >&6
71410 else
71414 ac_ext=cc
71415 ac_cpp='$CXXCPP $CPPFLAGS'
71416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71420 cat >conftest.$ac_ext <<_ACEOF
71421 /* confdefs.h. */
71422 _ACEOF
71423 cat confdefs.h >>conftest.$ac_ext
71424 cat >>conftest.$ac_ext <<_ACEOF
71425 /* end confdefs.h. */
71426 #include <math.h>
71427 #ifdef HAVE_IEEEFP_H
71428 #include <ieeefp.h>
71429 #endif
71432 main ()
71434 finitel(0);
71436 return 0;
71438 _ACEOF
71439 rm -f conftest.$ac_objext
71440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71441 (eval $ac_compile) 2>conftest.er1
71442 ac_status=$?
71443 grep -v '^ *+' conftest.er1 >conftest.err
71444 rm -f conftest.er1
71445 cat conftest.err >&5
71446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71447 (exit $ac_status); } &&
71448 { ac_try='test -z "$ac_cxx_werror_flag"
71449 || test ! -s conftest.err'
71450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71451 (eval $ac_try) 2>&5
71452 ac_status=$?
71453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71454 (exit $ac_status); }; } &&
71455 { ac_try='test -s conftest.$ac_objext'
71456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71457 (eval $ac_try) 2>&5
71458 ac_status=$?
71459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71460 (exit $ac_status); }; }; then
71461 glibcxx_cv_func_finitel_use=yes
71462 else
71463 echo "$as_me: failed program was:" >&5
71464 sed 's/^/| /' conftest.$ac_ext >&5
71466 glibcxx_cv_func_finitel_use=no
71468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71469 ac_ext=c
71470 ac_cpp='$CPP $CPPFLAGS'
71471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71479 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
71480 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
71482 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
71484 for ac_func in finitel
71486 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71487 echo "$as_me:$LINENO: checking for $ac_func" >&5
71488 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71489 if eval "test \"\${$as_ac_var+set}\" = set"; then
71490 echo $ECHO_N "(cached) $ECHO_C" >&6
71491 else
71492 if test x$gcc_no_link = xyes; then
71493 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71494 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71495 { (exit 1); exit 1; }; }
71497 cat >conftest.$ac_ext <<_ACEOF
71498 /* confdefs.h. */
71499 _ACEOF
71500 cat confdefs.h >>conftest.$ac_ext
71501 cat >>conftest.$ac_ext <<_ACEOF
71502 /* end confdefs.h. */
71503 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71504 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71505 #define $ac_func innocuous_$ac_func
71507 /* System header to define __stub macros and hopefully few prototypes,
71508 which can conflict with char $ac_func (); below.
71509 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71510 <limits.h> exists even on freestanding compilers. */
71512 #ifdef __STDC__
71513 # include <limits.h>
71514 #else
71515 # include <assert.h>
71516 #endif
71518 #undef $ac_func
71520 /* Override any gcc2 internal prototype to avoid an error. */
71521 #ifdef __cplusplus
71522 extern "C"
71524 #endif
71525 /* We use char because int might match the return type of a gcc2
71526 builtin and then its argument prototype would still apply. */
71527 char $ac_func ();
71528 /* The GNU C library defines this for functions which it implements
71529 to always fail with ENOSYS. Some functions are actually named
71530 something starting with __ and the normal name is an alias. */
71531 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71532 choke me
71533 #else
71534 char (*f) () = $ac_func;
71535 #endif
71536 #ifdef __cplusplus
71538 #endif
71541 main ()
71543 return f != $ac_func;
71545 return 0;
71547 _ACEOF
71548 rm -f conftest.$ac_objext conftest$ac_exeext
71549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71550 (eval $ac_link) 2>conftest.er1
71551 ac_status=$?
71552 grep -v '^ *+' conftest.er1 >conftest.err
71553 rm -f conftest.er1
71554 cat conftest.err >&5
71555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71556 (exit $ac_status); } &&
71557 { ac_try='test -z "$ac_c_werror_flag"
71558 || test ! -s conftest.err'
71559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71560 (eval $ac_try) 2>&5
71561 ac_status=$?
71562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71563 (exit $ac_status); }; } &&
71564 { ac_try='test -s conftest$ac_exeext'
71565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71566 (eval $ac_try) 2>&5
71567 ac_status=$?
71568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71569 (exit $ac_status); }; }; then
71570 eval "$as_ac_var=yes"
71571 else
71572 echo "$as_me: failed program was:" >&5
71573 sed 's/^/| /' conftest.$ac_ext >&5
71575 eval "$as_ac_var=no"
71577 rm -f conftest.err conftest.$ac_objext \
71578 conftest$ac_exeext conftest.$ac_ext
71580 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71581 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71582 if test `eval echo '${'$as_ac_var'}'` = yes; then
71583 cat >>confdefs.h <<_ACEOF
71584 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71585 _ACEOF
71588 done
71590 else
71592 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
71593 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
71594 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
71595 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
71596 echo $ECHO_N "(cached) $ECHO_C" >&6
71597 else
71601 ac_ext=cc
71602 ac_cpp='$CXXCPP $CPPFLAGS'
71603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71607 cat >conftest.$ac_ext <<_ACEOF
71608 /* confdefs.h. */
71609 _ACEOF
71610 cat confdefs.h >>conftest.$ac_ext
71611 cat >>conftest.$ac_ext <<_ACEOF
71612 /* end confdefs.h. */
71613 #include <math.h>
71614 #ifdef HAVE_IEEEFP_H
71615 #include <ieeefp.h>
71616 #endif
71619 main ()
71621 _finitel(0);
71623 return 0;
71625 _ACEOF
71626 rm -f conftest.$ac_objext
71627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71628 (eval $ac_compile) 2>conftest.er1
71629 ac_status=$?
71630 grep -v '^ *+' conftest.er1 >conftest.err
71631 rm -f conftest.er1
71632 cat conftest.err >&5
71633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71634 (exit $ac_status); } &&
71635 { ac_try='test -z "$ac_cxx_werror_flag"
71636 || test ! -s conftest.err'
71637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71638 (eval $ac_try) 2>&5
71639 ac_status=$?
71640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71641 (exit $ac_status); }; } &&
71642 { ac_try='test -s conftest.$ac_objext'
71643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71644 (eval $ac_try) 2>&5
71645 ac_status=$?
71646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71647 (exit $ac_status); }; }; then
71648 glibcxx_cv_func__finitel_use=yes
71649 else
71650 echo "$as_me: failed program was:" >&5
71651 sed 's/^/| /' conftest.$ac_ext >&5
71653 glibcxx_cv_func__finitel_use=no
71655 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71656 ac_ext=c
71657 ac_cpp='$CPP $CPPFLAGS'
71658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71666 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
71667 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
71669 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
71671 for ac_func in _finitel
71673 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71674 echo "$as_me:$LINENO: checking for $ac_func" >&5
71675 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71676 if eval "test \"\${$as_ac_var+set}\" = set"; then
71677 echo $ECHO_N "(cached) $ECHO_C" >&6
71678 else
71679 if test x$gcc_no_link = xyes; then
71680 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71681 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71682 { (exit 1); exit 1; }; }
71684 cat >conftest.$ac_ext <<_ACEOF
71685 /* confdefs.h. */
71686 _ACEOF
71687 cat confdefs.h >>conftest.$ac_ext
71688 cat >>conftest.$ac_ext <<_ACEOF
71689 /* end confdefs.h. */
71690 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71691 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71692 #define $ac_func innocuous_$ac_func
71694 /* System header to define __stub macros and hopefully few prototypes,
71695 which can conflict with char $ac_func (); below.
71696 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71697 <limits.h> exists even on freestanding compilers. */
71699 #ifdef __STDC__
71700 # include <limits.h>
71701 #else
71702 # include <assert.h>
71703 #endif
71705 #undef $ac_func
71707 /* Override any gcc2 internal prototype to avoid an error. */
71708 #ifdef __cplusplus
71709 extern "C"
71711 #endif
71712 /* We use char because int might match the return type of a gcc2
71713 builtin and then its argument prototype would still apply. */
71714 char $ac_func ();
71715 /* The GNU C library defines this for functions which it implements
71716 to always fail with ENOSYS. Some functions are actually named
71717 something starting with __ and the normal name is an alias. */
71718 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71719 choke me
71720 #else
71721 char (*f) () = $ac_func;
71722 #endif
71723 #ifdef __cplusplus
71725 #endif
71728 main ()
71730 return f != $ac_func;
71732 return 0;
71734 _ACEOF
71735 rm -f conftest.$ac_objext conftest$ac_exeext
71736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71737 (eval $ac_link) 2>conftest.er1
71738 ac_status=$?
71739 grep -v '^ *+' conftest.er1 >conftest.err
71740 rm -f conftest.er1
71741 cat conftest.err >&5
71742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71743 (exit $ac_status); } &&
71744 { ac_try='test -z "$ac_c_werror_flag"
71745 || test ! -s conftest.err'
71746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71747 (eval $ac_try) 2>&5
71748 ac_status=$?
71749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71750 (exit $ac_status); }; } &&
71751 { ac_try='test -s conftest$ac_exeext'
71752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71753 (eval $ac_try) 2>&5
71754 ac_status=$?
71755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71756 (exit $ac_status); }; }; then
71757 eval "$as_ac_var=yes"
71758 else
71759 echo "$as_me: failed program was:" >&5
71760 sed 's/^/| /' conftest.$ac_ext >&5
71762 eval "$as_ac_var=no"
71764 rm -f conftest.err conftest.$ac_objext \
71765 conftest$ac_exeext conftest.$ac_ext
71767 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71768 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71769 if test `eval echo '${'$as_ac_var'}'` = yes; then
71770 cat >>confdefs.h <<_ACEOF
71771 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71772 _ACEOF
71775 done
71784 LIBS="$ac_save_LIBS"
71785 CXXFLAGS="$ac_save_CXXFLAGS"
71789 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
71790 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
71791 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
71792 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
71793 echo $ECHO_N "(cached) $ECHO_C" >&6
71794 else
71798 ac_ext=cc
71799 ac_cpp='$CXXCPP $CPPFLAGS'
71800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71804 cat >conftest.$ac_ext <<_ACEOF
71805 /* confdefs.h. */
71806 _ACEOF
71807 cat confdefs.h >>conftest.$ac_ext
71808 cat >>conftest.$ac_ext <<_ACEOF
71809 /* end confdefs.h. */
71810 #include <math.h>
71812 main ()
71814 __builtin_abs(0);
71816 return 0;
71818 _ACEOF
71819 rm -f conftest.$ac_objext
71820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71821 (eval $ac_compile) 2>conftest.er1
71822 ac_status=$?
71823 grep -v '^ *+' conftest.er1 >conftest.err
71824 rm -f conftest.er1
71825 cat conftest.err >&5
71826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71827 (exit $ac_status); } &&
71828 { ac_try='test -z "$ac_cxx_werror_flag"
71829 || test ! -s conftest.err'
71830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71831 (eval $ac_try) 2>&5
71832 ac_status=$?
71833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71834 (exit $ac_status); }; } &&
71835 { ac_try='test -s conftest.$ac_objext'
71836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71837 (eval $ac_try) 2>&5
71838 ac_status=$?
71839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71840 (exit $ac_status); }; }; then
71841 glibcxx_cv_func___builtin_abs_use=yes
71842 else
71843 echo "$as_me: failed program was:" >&5
71844 sed 's/^/| /' conftest.$ac_ext >&5
71846 glibcxx_cv_func___builtin_abs_use=no
71848 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71849 ac_ext=c
71850 ac_cpp='$CPP $CPPFLAGS'
71851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71859 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
71860 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
71861 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
71862 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
71863 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
71864 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
71865 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
71866 echo $ECHO_N "(cached) $ECHO_C" >&6
71867 else
71869 if test x$gcc_no_link = xyes; then
71870 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71871 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71872 { (exit 1); exit 1; }; }
71874 cat >conftest.$ac_ext <<_ACEOF
71875 /* confdefs.h. */
71876 _ACEOF
71877 cat confdefs.h >>conftest.$ac_ext
71878 cat >>conftest.$ac_ext <<_ACEOF
71879 /* end confdefs.h. */
71880 #include <math.h>
71882 main ()
71884 __builtin_abs(0);
71886 return 0;
71888 _ACEOF
71889 rm -f conftest.$ac_objext conftest$ac_exeext
71890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71891 (eval $ac_link) 2>conftest.er1
71892 ac_status=$?
71893 grep -v '^ *+' conftest.er1 >conftest.err
71894 rm -f conftest.er1
71895 cat conftest.err >&5
71896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71897 (exit $ac_status); } &&
71898 { ac_try='test -z "$ac_c_werror_flag"
71899 || test ! -s conftest.err'
71900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71901 (eval $ac_try) 2>&5
71902 ac_status=$?
71903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71904 (exit $ac_status); }; } &&
71905 { ac_try='test -s conftest$ac_exeext'
71906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71907 (eval $ac_try) 2>&5
71908 ac_status=$?
71909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71910 (exit $ac_status); }; }; then
71911 glibcxx_cv_func___builtin_abs_link=yes
71912 else
71913 echo "$as_me: failed program was:" >&5
71914 sed 's/^/| /' conftest.$ac_ext >&5
71916 glibcxx_cv_func___builtin_abs_link=no
71918 rm -f conftest.err conftest.$ac_objext \
71919 conftest$ac_exeext conftest.$ac_ext
71924 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
71925 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
71927 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
71929 cat >>confdefs.h <<\_ACEOF
71930 #define HAVE___BUILTIN_ABS 1
71931 _ACEOF
71938 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
71939 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
71940 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
71941 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
71942 echo $ECHO_N "(cached) $ECHO_C" >&6
71943 else
71947 ac_ext=cc
71948 ac_cpp='$CXXCPP $CPPFLAGS'
71949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71953 cat >conftest.$ac_ext <<_ACEOF
71954 /* confdefs.h. */
71955 _ACEOF
71956 cat confdefs.h >>conftest.$ac_ext
71957 cat >>conftest.$ac_ext <<_ACEOF
71958 /* end confdefs.h. */
71959 #include <math.h>
71961 main ()
71963 __builtin_fabsf(0);
71965 return 0;
71967 _ACEOF
71968 rm -f conftest.$ac_objext
71969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71970 (eval $ac_compile) 2>conftest.er1
71971 ac_status=$?
71972 grep -v '^ *+' conftest.er1 >conftest.err
71973 rm -f conftest.er1
71974 cat conftest.err >&5
71975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71976 (exit $ac_status); } &&
71977 { ac_try='test -z "$ac_cxx_werror_flag"
71978 || test ! -s conftest.err'
71979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71980 (eval $ac_try) 2>&5
71981 ac_status=$?
71982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71983 (exit $ac_status); }; } &&
71984 { ac_try='test -s conftest.$ac_objext'
71985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71986 (eval $ac_try) 2>&5
71987 ac_status=$?
71988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71989 (exit $ac_status); }; }; then
71990 glibcxx_cv_func___builtin_fabsf_use=yes
71991 else
71992 echo "$as_me: failed program was:" >&5
71993 sed 's/^/| /' conftest.$ac_ext >&5
71995 glibcxx_cv_func___builtin_fabsf_use=no
71997 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71998 ac_ext=c
71999 ac_cpp='$CPP $CPPFLAGS'
72000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72008 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
72009 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
72010 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
72011 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
72012 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
72013 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
72014 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
72015 echo $ECHO_N "(cached) $ECHO_C" >&6
72016 else
72018 if test x$gcc_no_link = xyes; then
72019 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72020 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72021 { (exit 1); exit 1; }; }
72023 cat >conftest.$ac_ext <<_ACEOF
72024 /* confdefs.h. */
72025 _ACEOF
72026 cat confdefs.h >>conftest.$ac_ext
72027 cat >>conftest.$ac_ext <<_ACEOF
72028 /* end confdefs.h. */
72029 #include <math.h>
72031 main ()
72033 __builtin_fabsf(0);
72035 return 0;
72037 _ACEOF
72038 rm -f conftest.$ac_objext conftest$ac_exeext
72039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72040 (eval $ac_link) 2>conftest.er1
72041 ac_status=$?
72042 grep -v '^ *+' conftest.er1 >conftest.err
72043 rm -f conftest.er1
72044 cat conftest.err >&5
72045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72046 (exit $ac_status); } &&
72047 { ac_try='test -z "$ac_c_werror_flag"
72048 || test ! -s conftest.err'
72049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72050 (eval $ac_try) 2>&5
72051 ac_status=$?
72052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72053 (exit $ac_status); }; } &&
72054 { ac_try='test -s conftest$ac_exeext'
72055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72056 (eval $ac_try) 2>&5
72057 ac_status=$?
72058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72059 (exit $ac_status); }; }; then
72060 glibcxx_cv_func___builtin_fabsf_link=yes
72061 else
72062 echo "$as_me: failed program was:" >&5
72063 sed 's/^/| /' conftest.$ac_ext >&5
72065 glibcxx_cv_func___builtin_fabsf_link=no
72067 rm -f conftest.err conftest.$ac_objext \
72068 conftest$ac_exeext conftest.$ac_ext
72073 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
72074 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
72076 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
72078 cat >>confdefs.h <<\_ACEOF
72079 #define HAVE___BUILTIN_FABSF 1
72080 _ACEOF
72087 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
72088 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
72089 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
72090 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
72091 echo $ECHO_N "(cached) $ECHO_C" >&6
72092 else
72096 ac_ext=cc
72097 ac_cpp='$CXXCPP $CPPFLAGS'
72098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72102 cat >conftest.$ac_ext <<_ACEOF
72103 /* confdefs.h. */
72104 _ACEOF
72105 cat confdefs.h >>conftest.$ac_ext
72106 cat >>conftest.$ac_ext <<_ACEOF
72107 /* end confdefs.h. */
72108 #include <math.h>
72110 main ()
72112 __builtin_fabs(0);
72114 return 0;
72116 _ACEOF
72117 rm -f conftest.$ac_objext
72118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72119 (eval $ac_compile) 2>conftest.er1
72120 ac_status=$?
72121 grep -v '^ *+' conftest.er1 >conftest.err
72122 rm -f conftest.er1
72123 cat conftest.err >&5
72124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72125 (exit $ac_status); } &&
72126 { ac_try='test -z "$ac_cxx_werror_flag"
72127 || test ! -s conftest.err'
72128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72129 (eval $ac_try) 2>&5
72130 ac_status=$?
72131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72132 (exit $ac_status); }; } &&
72133 { ac_try='test -s conftest.$ac_objext'
72134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72135 (eval $ac_try) 2>&5
72136 ac_status=$?
72137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72138 (exit $ac_status); }; }; then
72139 glibcxx_cv_func___builtin_fabs_use=yes
72140 else
72141 echo "$as_me: failed program was:" >&5
72142 sed 's/^/| /' conftest.$ac_ext >&5
72144 glibcxx_cv_func___builtin_fabs_use=no
72146 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72147 ac_ext=c
72148 ac_cpp='$CPP $CPPFLAGS'
72149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72157 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
72158 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
72159 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
72160 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
72161 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
72162 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
72163 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
72164 echo $ECHO_N "(cached) $ECHO_C" >&6
72165 else
72167 if test x$gcc_no_link = xyes; then
72168 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72169 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72170 { (exit 1); exit 1; }; }
72172 cat >conftest.$ac_ext <<_ACEOF
72173 /* confdefs.h. */
72174 _ACEOF
72175 cat confdefs.h >>conftest.$ac_ext
72176 cat >>conftest.$ac_ext <<_ACEOF
72177 /* end confdefs.h. */
72178 #include <math.h>
72180 main ()
72182 __builtin_fabs(0);
72184 return 0;
72186 _ACEOF
72187 rm -f conftest.$ac_objext conftest$ac_exeext
72188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72189 (eval $ac_link) 2>conftest.er1
72190 ac_status=$?
72191 grep -v '^ *+' conftest.er1 >conftest.err
72192 rm -f conftest.er1
72193 cat conftest.err >&5
72194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72195 (exit $ac_status); } &&
72196 { ac_try='test -z "$ac_c_werror_flag"
72197 || test ! -s conftest.err'
72198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72199 (eval $ac_try) 2>&5
72200 ac_status=$?
72201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72202 (exit $ac_status); }; } &&
72203 { ac_try='test -s conftest$ac_exeext'
72204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72205 (eval $ac_try) 2>&5
72206 ac_status=$?
72207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72208 (exit $ac_status); }; }; then
72209 glibcxx_cv_func___builtin_fabs_link=yes
72210 else
72211 echo "$as_me: failed program was:" >&5
72212 sed 's/^/| /' conftest.$ac_ext >&5
72214 glibcxx_cv_func___builtin_fabs_link=no
72216 rm -f conftest.err conftest.$ac_objext \
72217 conftest$ac_exeext conftest.$ac_ext
72222 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
72223 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
72225 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
72227 cat >>confdefs.h <<\_ACEOF
72228 #define HAVE___BUILTIN_FABS 1
72229 _ACEOF
72236 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
72237 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
72238 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
72239 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
72240 echo $ECHO_N "(cached) $ECHO_C" >&6
72241 else
72245 ac_ext=cc
72246 ac_cpp='$CXXCPP $CPPFLAGS'
72247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72251 cat >conftest.$ac_ext <<_ACEOF
72252 /* confdefs.h. */
72253 _ACEOF
72254 cat confdefs.h >>conftest.$ac_ext
72255 cat >>conftest.$ac_ext <<_ACEOF
72256 /* end confdefs.h. */
72257 #include <math.h>
72259 main ()
72261 __builtin_fabsl(0);
72263 return 0;
72265 _ACEOF
72266 rm -f conftest.$ac_objext
72267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72268 (eval $ac_compile) 2>conftest.er1
72269 ac_status=$?
72270 grep -v '^ *+' conftest.er1 >conftest.err
72271 rm -f conftest.er1
72272 cat conftest.err >&5
72273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72274 (exit $ac_status); } &&
72275 { ac_try='test -z "$ac_cxx_werror_flag"
72276 || test ! -s conftest.err'
72277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72278 (eval $ac_try) 2>&5
72279 ac_status=$?
72280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72281 (exit $ac_status); }; } &&
72282 { ac_try='test -s conftest.$ac_objext'
72283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72284 (eval $ac_try) 2>&5
72285 ac_status=$?
72286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72287 (exit $ac_status); }; }; then
72288 glibcxx_cv_func___builtin_fabsl_use=yes
72289 else
72290 echo "$as_me: failed program was:" >&5
72291 sed 's/^/| /' conftest.$ac_ext >&5
72293 glibcxx_cv_func___builtin_fabsl_use=no
72295 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72296 ac_ext=c
72297 ac_cpp='$CPP $CPPFLAGS'
72298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72306 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
72307 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
72308 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
72309 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
72310 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
72311 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
72312 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
72313 echo $ECHO_N "(cached) $ECHO_C" >&6
72314 else
72316 if test x$gcc_no_link = xyes; then
72317 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72318 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72319 { (exit 1); exit 1; }; }
72321 cat >conftest.$ac_ext <<_ACEOF
72322 /* confdefs.h. */
72323 _ACEOF
72324 cat confdefs.h >>conftest.$ac_ext
72325 cat >>conftest.$ac_ext <<_ACEOF
72326 /* end confdefs.h. */
72327 #include <math.h>
72329 main ()
72331 __builtin_fabsl(0);
72333 return 0;
72335 _ACEOF
72336 rm -f conftest.$ac_objext conftest$ac_exeext
72337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72338 (eval $ac_link) 2>conftest.er1
72339 ac_status=$?
72340 grep -v '^ *+' conftest.er1 >conftest.err
72341 rm -f conftest.er1
72342 cat conftest.err >&5
72343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72344 (exit $ac_status); } &&
72345 { ac_try='test -z "$ac_c_werror_flag"
72346 || test ! -s conftest.err'
72347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72348 (eval $ac_try) 2>&5
72349 ac_status=$?
72350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72351 (exit $ac_status); }; } &&
72352 { ac_try='test -s conftest$ac_exeext'
72353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72354 (eval $ac_try) 2>&5
72355 ac_status=$?
72356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72357 (exit $ac_status); }; }; then
72358 glibcxx_cv_func___builtin_fabsl_link=yes
72359 else
72360 echo "$as_me: failed program was:" >&5
72361 sed 's/^/| /' conftest.$ac_ext >&5
72363 glibcxx_cv_func___builtin_fabsl_link=no
72365 rm -f conftest.err conftest.$ac_objext \
72366 conftest$ac_exeext conftest.$ac_ext
72371 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
72372 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
72374 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
72376 cat >>confdefs.h <<\_ACEOF
72377 #define HAVE___BUILTIN_FABSL 1
72378 _ACEOF
72385 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
72386 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
72387 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
72388 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
72389 echo $ECHO_N "(cached) $ECHO_C" >&6
72390 else
72394 ac_ext=cc
72395 ac_cpp='$CXXCPP $CPPFLAGS'
72396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72400 cat >conftest.$ac_ext <<_ACEOF
72401 /* confdefs.h. */
72402 _ACEOF
72403 cat confdefs.h >>conftest.$ac_ext
72404 cat >>conftest.$ac_ext <<_ACEOF
72405 /* end confdefs.h. */
72406 #include <math.h>
72408 main ()
72410 __builtin_labs(0);
72412 return 0;
72414 _ACEOF
72415 rm -f conftest.$ac_objext
72416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72417 (eval $ac_compile) 2>conftest.er1
72418 ac_status=$?
72419 grep -v '^ *+' conftest.er1 >conftest.err
72420 rm -f conftest.er1
72421 cat conftest.err >&5
72422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72423 (exit $ac_status); } &&
72424 { ac_try='test -z "$ac_cxx_werror_flag"
72425 || test ! -s conftest.err'
72426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72427 (eval $ac_try) 2>&5
72428 ac_status=$?
72429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72430 (exit $ac_status); }; } &&
72431 { ac_try='test -s conftest.$ac_objext'
72432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72433 (eval $ac_try) 2>&5
72434 ac_status=$?
72435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72436 (exit $ac_status); }; }; then
72437 glibcxx_cv_func___builtin_labs_use=yes
72438 else
72439 echo "$as_me: failed program was:" >&5
72440 sed 's/^/| /' conftest.$ac_ext >&5
72442 glibcxx_cv_func___builtin_labs_use=no
72444 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72445 ac_ext=c
72446 ac_cpp='$CPP $CPPFLAGS'
72447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72455 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
72456 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
72457 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
72458 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
72459 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
72460 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
72461 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
72462 echo $ECHO_N "(cached) $ECHO_C" >&6
72463 else
72465 if test x$gcc_no_link = xyes; then
72466 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72467 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72468 { (exit 1); exit 1; }; }
72470 cat >conftest.$ac_ext <<_ACEOF
72471 /* confdefs.h. */
72472 _ACEOF
72473 cat confdefs.h >>conftest.$ac_ext
72474 cat >>conftest.$ac_ext <<_ACEOF
72475 /* end confdefs.h. */
72476 #include <math.h>
72478 main ()
72480 __builtin_labs(0);
72482 return 0;
72484 _ACEOF
72485 rm -f conftest.$ac_objext conftest$ac_exeext
72486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72487 (eval $ac_link) 2>conftest.er1
72488 ac_status=$?
72489 grep -v '^ *+' conftest.er1 >conftest.err
72490 rm -f conftest.er1
72491 cat conftest.err >&5
72492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72493 (exit $ac_status); } &&
72494 { ac_try='test -z "$ac_c_werror_flag"
72495 || test ! -s conftest.err'
72496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72497 (eval $ac_try) 2>&5
72498 ac_status=$?
72499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72500 (exit $ac_status); }; } &&
72501 { ac_try='test -s conftest$ac_exeext'
72502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72503 (eval $ac_try) 2>&5
72504 ac_status=$?
72505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72506 (exit $ac_status); }; }; then
72507 glibcxx_cv_func___builtin_labs_link=yes
72508 else
72509 echo "$as_me: failed program was:" >&5
72510 sed 's/^/| /' conftest.$ac_ext >&5
72512 glibcxx_cv_func___builtin_labs_link=no
72514 rm -f conftest.err conftest.$ac_objext \
72515 conftest$ac_exeext conftest.$ac_ext
72520 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
72521 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
72523 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
72525 cat >>confdefs.h <<\_ACEOF
72526 #define HAVE___BUILTIN_LABS 1
72527 _ACEOF
72535 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
72536 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
72537 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
72538 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
72539 echo $ECHO_N "(cached) $ECHO_C" >&6
72540 else
72544 ac_ext=cc
72545 ac_cpp='$CXXCPP $CPPFLAGS'
72546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72550 cat >conftest.$ac_ext <<_ACEOF
72551 /* confdefs.h. */
72552 _ACEOF
72553 cat confdefs.h >>conftest.$ac_ext
72554 cat >>conftest.$ac_ext <<_ACEOF
72555 /* end confdefs.h. */
72556 #include <math.h>
72558 main ()
72560 __builtin_sqrtf(0);
72562 return 0;
72564 _ACEOF
72565 rm -f conftest.$ac_objext
72566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72567 (eval $ac_compile) 2>conftest.er1
72568 ac_status=$?
72569 grep -v '^ *+' conftest.er1 >conftest.err
72570 rm -f conftest.er1
72571 cat conftest.err >&5
72572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72573 (exit $ac_status); } &&
72574 { ac_try='test -z "$ac_cxx_werror_flag"
72575 || test ! -s conftest.err'
72576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72577 (eval $ac_try) 2>&5
72578 ac_status=$?
72579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72580 (exit $ac_status); }; } &&
72581 { ac_try='test -s conftest.$ac_objext'
72582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72583 (eval $ac_try) 2>&5
72584 ac_status=$?
72585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72586 (exit $ac_status); }; }; then
72587 glibcxx_cv_func___builtin_sqrtf_use=yes
72588 else
72589 echo "$as_me: failed program was:" >&5
72590 sed 's/^/| /' conftest.$ac_ext >&5
72592 glibcxx_cv_func___builtin_sqrtf_use=no
72594 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72595 ac_ext=c
72596 ac_cpp='$CPP $CPPFLAGS'
72597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72605 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
72606 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
72607 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
72608 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
72609 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
72610 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
72611 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
72612 echo $ECHO_N "(cached) $ECHO_C" >&6
72613 else
72615 if test x$gcc_no_link = xyes; then
72616 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72617 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72618 { (exit 1); exit 1; }; }
72620 cat >conftest.$ac_ext <<_ACEOF
72621 /* confdefs.h. */
72622 _ACEOF
72623 cat confdefs.h >>conftest.$ac_ext
72624 cat >>conftest.$ac_ext <<_ACEOF
72625 /* end confdefs.h. */
72626 #include <math.h>
72628 main ()
72630 __builtin_sqrtf(0);
72632 return 0;
72634 _ACEOF
72635 rm -f conftest.$ac_objext conftest$ac_exeext
72636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72637 (eval $ac_link) 2>conftest.er1
72638 ac_status=$?
72639 grep -v '^ *+' conftest.er1 >conftest.err
72640 rm -f conftest.er1
72641 cat conftest.err >&5
72642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72643 (exit $ac_status); } &&
72644 { ac_try='test -z "$ac_c_werror_flag"
72645 || test ! -s conftest.err'
72646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72647 (eval $ac_try) 2>&5
72648 ac_status=$?
72649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72650 (exit $ac_status); }; } &&
72651 { ac_try='test -s conftest$ac_exeext'
72652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72653 (eval $ac_try) 2>&5
72654 ac_status=$?
72655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72656 (exit $ac_status); }; }; then
72657 glibcxx_cv_func___builtin_sqrtf_link=yes
72658 else
72659 echo "$as_me: failed program was:" >&5
72660 sed 's/^/| /' conftest.$ac_ext >&5
72662 glibcxx_cv_func___builtin_sqrtf_link=no
72664 rm -f conftest.err conftest.$ac_objext \
72665 conftest$ac_exeext conftest.$ac_ext
72670 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
72671 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
72673 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
72675 cat >>confdefs.h <<\_ACEOF
72676 #define HAVE___BUILTIN_SQRTF 1
72677 _ACEOF
72684 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
72685 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
72686 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
72687 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
72688 echo $ECHO_N "(cached) $ECHO_C" >&6
72689 else
72693 ac_ext=cc
72694 ac_cpp='$CXXCPP $CPPFLAGS'
72695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72699 cat >conftest.$ac_ext <<_ACEOF
72700 /* confdefs.h. */
72701 _ACEOF
72702 cat confdefs.h >>conftest.$ac_ext
72703 cat >>conftest.$ac_ext <<_ACEOF
72704 /* end confdefs.h. */
72705 #include <math.h>
72707 main ()
72709 __builtin_sqrt(0);
72711 return 0;
72713 _ACEOF
72714 rm -f conftest.$ac_objext
72715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72716 (eval $ac_compile) 2>conftest.er1
72717 ac_status=$?
72718 grep -v '^ *+' conftest.er1 >conftest.err
72719 rm -f conftest.er1
72720 cat conftest.err >&5
72721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72722 (exit $ac_status); } &&
72723 { ac_try='test -z "$ac_cxx_werror_flag"
72724 || test ! -s conftest.err'
72725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72726 (eval $ac_try) 2>&5
72727 ac_status=$?
72728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72729 (exit $ac_status); }; } &&
72730 { ac_try='test -s conftest.$ac_objext'
72731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72732 (eval $ac_try) 2>&5
72733 ac_status=$?
72734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72735 (exit $ac_status); }; }; then
72736 glibcxx_cv_func___builtin_sqrt_use=yes
72737 else
72738 echo "$as_me: failed program was:" >&5
72739 sed 's/^/| /' conftest.$ac_ext >&5
72741 glibcxx_cv_func___builtin_sqrt_use=no
72743 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72744 ac_ext=c
72745 ac_cpp='$CPP $CPPFLAGS'
72746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72754 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
72755 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
72756 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
72757 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
72758 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
72759 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
72760 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
72761 echo $ECHO_N "(cached) $ECHO_C" >&6
72762 else
72764 if test x$gcc_no_link = xyes; then
72765 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72766 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72767 { (exit 1); exit 1; }; }
72769 cat >conftest.$ac_ext <<_ACEOF
72770 /* confdefs.h. */
72771 _ACEOF
72772 cat confdefs.h >>conftest.$ac_ext
72773 cat >>conftest.$ac_ext <<_ACEOF
72774 /* end confdefs.h. */
72775 #include <math.h>
72777 main ()
72779 __builtin_sqrt(0);
72781 return 0;
72783 _ACEOF
72784 rm -f conftest.$ac_objext conftest$ac_exeext
72785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72786 (eval $ac_link) 2>conftest.er1
72787 ac_status=$?
72788 grep -v '^ *+' conftest.er1 >conftest.err
72789 rm -f conftest.er1
72790 cat conftest.err >&5
72791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72792 (exit $ac_status); } &&
72793 { ac_try='test -z "$ac_c_werror_flag"
72794 || test ! -s conftest.err'
72795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72796 (eval $ac_try) 2>&5
72797 ac_status=$?
72798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72799 (exit $ac_status); }; } &&
72800 { ac_try='test -s conftest$ac_exeext'
72801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72802 (eval $ac_try) 2>&5
72803 ac_status=$?
72804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72805 (exit $ac_status); }; }; then
72806 glibcxx_cv_func___builtin_sqrt_link=yes
72807 else
72808 echo "$as_me: failed program was:" >&5
72809 sed 's/^/| /' conftest.$ac_ext >&5
72811 glibcxx_cv_func___builtin_sqrt_link=no
72813 rm -f conftest.err conftest.$ac_objext \
72814 conftest$ac_exeext conftest.$ac_ext
72819 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
72820 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
72822 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
72824 cat >>confdefs.h <<\_ACEOF
72825 #define HAVE___BUILTIN_SQRT 1
72826 _ACEOF
72833 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
72834 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
72835 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
72836 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
72837 echo $ECHO_N "(cached) $ECHO_C" >&6
72838 else
72842 ac_ext=cc
72843 ac_cpp='$CXXCPP $CPPFLAGS'
72844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72848 cat >conftest.$ac_ext <<_ACEOF
72849 /* confdefs.h. */
72850 _ACEOF
72851 cat confdefs.h >>conftest.$ac_ext
72852 cat >>conftest.$ac_ext <<_ACEOF
72853 /* end confdefs.h. */
72854 #include <math.h>
72856 main ()
72858 __builtin_sqrtl(0);
72860 return 0;
72862 _ACEOF
72863 rm -f conftest.$ac_objext
72864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72865 (eval $ac_compile) 2>conftest.er1
72866 ac_status=$?
72867 grep -v '^ *+' conftest.er1 >conftest.err
72868 rm -f conftest.er1
72869 cat conftest.err >&5
72870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72871 (exit $ac_status); } &&
72872 { ac_try='test -z "$ac_cxx_werror_flag"
72873 || test ! -s conftest.err'
72874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72875 (eval $ac_try) 2>&5
72876 ac_status=$?
72877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72878 (exit $ac_status); }; } &&
72879 { ac_try='test -s conftest.$ac_objext'
72880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72881 (eval $ac_try) 2>&5
72882 ac_status=$?
72883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72884 (exit $ac_status); }; }; then
72885 glibcxx_cv_func___builtin_sqrtl_use=yes
72886 else
72887 echo "$as_me: failed program was:" >&5
72888 sed 's/^/| /' conftest.$ac_ext >&5
72890 glibcxx_cv_func___builtin_sqrtl_use=no
72892 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72893 ac_ext=c
72894 ac_cpp='$CPP $CPPFLAGS'
72895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72903 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
72904 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
72905 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
72906 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
72907 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
72908 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
72909 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
72910 echo $ECHO_N "(cached) $ECHO_C" >&6
72911 else
72913 if test x$gcc_no_link = xyes; then
72914 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72915 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72916 { (exit 1); exit 1; }; }
72918 cat >conftest.$ac_ext <<_ACEOF
72919 /* confdefs.h. */
72920 _ACEOF
72921 cat confdefs.h >>conftest.$ac_ext
72922 cat >>conftest.$ac_ext <<_ACEOF
72923 /* end confdefs.h. */
72924 #include <math.h>
72926 main ()
72928 __builtin_sqrtl(0);
72930 return 0;
72932 _ACEOF
72933 rm -f conftest.$ac_objext conftest$ac_exeext
72934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72935 (eval $ac_link) 2>conftest.er1
72936 ac_status=$?
72937 grep -v '^ *+' conftest.er1 >conftest.err
72938 rm -f conftest.er1
72939 cat conftest.err >&5
72940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72941 (exit $ac_status); } &&
72942 { ac_try='test -z "$ac_c_werror_flag"
72943 || test ! -s conftest.err'
72944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72945 (eval $ac_try) 2>&5
72946 ac_status=$?
72947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72948 (exit $ac_status); }; } &&
72949 { ac_try='test -s conftest$ac_exeext'
72950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72951 (eval $ac_try) 2>&5
72952 ac_status=$?
72953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72954 (exit $ac_status); }; }; then
72955 glibcxx_cv_func___builtin_sqrtl_link=yes
72956 else
72957 echo "$as_me: failed program was:" >&5
72958 sed 's/^/| /' conftest.$ac_ext >&5
72960 glibcxx_cv_func___builtin_sqrtl_link=no
72962 rm -f conftest.err conftest.$ac_objext \
72963 conftest$ac_exeext conftest.$ac_ext
72968 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
72969 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
72971 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
72973 cat >>confdefs.h <<\_ACEOF
72974 #define HAVE___BUILTIN_SQRTL 1
72975 _ACEOF
72983 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
72984 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
72985 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
72986 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
72987 echo $ECHO_N "(cached) $ECHO_C" >&6
72988 else
72992 ac_ext=cc
72993 ac_cpp='$CXXCPP $CPPFLAGS'
72994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72998 cat >conftest.$ac_ext <<_ACEOF
72999 /* confdefs.h. */
73000 _ACEOF
73001 cat confdefs.h >>conftest.$ac_ext
73002 cat >>conftest.$ac_ext <<_ACEOF
73003 /* end confdefs.h. */
73004 #include <math.h>
73006 main ()
73008 __builtin_sinf(0);
73010 return 0;
73012 _ACEOF
73013 rm -f conftest.$ac_objext
73014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73015 (eval $ac_compile) 2>conftest.er1
73016 ac_status=$?
73017 grep -v '^ *+' conftest.er1 >conftest.err
73018 rm -f conftest.er1
73019 cat conftest.err >&5
73020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73021 (exit $ac_status); } &&
73022 { ac_try='test -z "$ac_cxx_werror_flag"
73023 || test ! -s conftest.err'
73024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73025 (eval $ac_try) 2>&5
73026 ac_status=$?
73027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73028 (exit $ac_status); }; } &&
73029 { ac_try='test -s conftest.$ac_objext'
73030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73031 (eval $ac_try) 2>&5
73032 ac_status=$?
73033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73034 (exit $ac_status); }; }; then
73035 glibcxx_cv_func___builtin_sinf_use=yes
73036 else
73037 echo "$as_me: failed program was:" >&5
73038 sed 's/^/| /' conftest.$ac_ext >&5
73040 glibcxx_cv_func___builtin_sinf_use=no
73042 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73043 ac_ext=c
73044 ac_cpp='$CPP $CPPFLAGS'
73045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73053 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
73054 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
73055 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
73056 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
73057 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
73058 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
73059 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
73060 echo $ECHO_N "(cached) $ECHO_C" >&6
73061 else
73063 if test x$gcc_no_link = xyes; then
73064 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73065 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73066 { (exit 1); exit 1; }; }
73068 cat >conftest.$ac_ext <<_ACEOF
73069 /* confdefs.h. */
73070 _ACEOF
73071 cat confdefs.h >>conftest.$ac_ext
73072 cat >>conftest.$ac_ext <<_ACEOF
73073 /* end confdefs.h. */
73074 #include <math.h>
73076 main ()
73078 __builtin_sinf(0);
73080 return 0;
73082 _ACEOF
73083 rm -f conftest.$ac_objext conftest$ac_exeext
73084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73085 (eval $ac_link) 2>conftest.er1
73086 ac_status=$?
73087 grep -v '^ *+' conftest.er1 >conftest.err
73088 rm -f conftest.er1
73089 cat conftest.err >&5
73090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73091 (exit $ac_status); } &&
73092 { ac_try='test -z "$ac_c_werror_flag"
73093 || test ! -s conftest.err'
73094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73095 (eval $ac_try) 2>&5
73096 ac_status=$?
73097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73098 (exit $ac_status); }; } &&
73099 { ac_try='test -s conftest$ac_exeext'
73100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73101 (eval $ac_try) 2>&5
73102 ac_status=$?
73103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73104 (exit $ac_status); }; }; then
73105 glibcxx_cv_func___builtin_sinf_link=yes
73106 else
73107 echo "$as_me: failed program was:" >&5
73108 sed 's/^/| /' conftest.$ac_ext >&5
73110 glibcxx_cv_func___builtin_sinf_link=no
73112 rm -f conftest.err conftest.$ac_objext \
73113 conftest$ac_exeext conftest.$ac_ext
73118 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
73119 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
73121 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
73123 cat >>confdefs.h <<\_ACEOF
73124 #define HAVE___BUILTIN_SINF 1
73125 _ACEOF
73132 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
73133 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
73134 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
73135 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
73136 echo $ECHO_N "(cached) $ECHO_C" >&6
73137 else
73141 ac_ext=cc
73142 ac_cpp='$CXXCPP $CPPFLAGS'
73143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73147 cat >conftest.$ac_ext <<_ACEOF
73148 /* confdefs.h. */
73149 _ACEOF
73150 cat confdefs.h >>conftest.$ac_ext
73151 cat >>conftest.$ac_ext <<_ACEOF
73152 /* end confdefs.h. */
73153 #include <math.h>
73155 main ()
73157 __builtin_sin(0);
73159 return 0;
73161 _ACEOF
73162 rm -f conftest.$ac_objext
73163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73164 (eval $ac_compile) 2>conftest.er1
73165 ac_status=$?
73166 grep -v '^ *+' conftest.er1 >conftest.err
73167 rm -f conftest.er1
73168 cat conftest.err >&5
73169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73170 (exit $ac_status); } &&
73171 { ac_try='test -z "$ac_cxx_werror_flag"
73172 || test ! -s conftest.err'
73173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73174 (eval $ac_try) 2>&5
73175 ac_status=$?
73176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73177 (exit $ac_status); }; } &&
73178 { ac_try='test -s conftest.$ac_objext'
73179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73180 (eval $ac_try) 2>&5
73181 ac_status=$?
73182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73183 (exit $ac_status); }; }; then
73184 glibcxx_cv_func___builtin_sin_use=yes
73185 else
73186 echo "$as_me: failed program was:" >&5
73187 sed 's/^/| /' conftest.$ac_ext >&5
73189 glibcxx_cv_func___builtin_sin_use=no
73191 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73192 ac_ext=c
73193 ac_cpp='$CPP $CPPFLAGS'
73194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73202 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
73203 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
73204 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
73205 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
73206 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
73207 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
73208 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
73209 echo $ECHO_N "(cached) $ECHO_C" >&6
73210 else
73212 if test x$gcc_no_link = xyes; then
73213 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73214 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73215 { (exit 1); exit 1; }; }
73217 cat >conftest.$ac_ext <<_ACEOF
73218 /* confdefs.h. */
73219 _ACEOF
73220 cat confdefs.h >>conftest.$ac_ext
73221 cat >>conftest.$ac_ext <<_ACEOF
73222 /* end confdefs.h. */
73223 #include <math.h>
73225 main ()
73227 __builtin_sin(0);
73229 return 0;
73231 _ACEOF
73232 rm -f conftest.$ac_objext conftest$ac_exeext
73233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73234 (eval $ac_link) 2>conftest.er1
73235 ac_status=$?
73236 grep -v '^ *+' conftest.er1 >conftest.err
73237 rm -f conftest.er1
73238 cat conftest.err >&5
73239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73240 (exit $ac_status); } &&
73241 { ac_try='test -z "$ac_c_werror_flag"
73242 || test ! -s conftest.err'
73243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73244 (eval $ac_try) 2>&5
73245 ac_status=$?
73246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73247 (exit $ac_status); }; } &&
73248 { ac_try='test -s conftest$ac_exeext'
73249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73250 (eval $ac_try) 2>&5
73251 ac_status=$?
73252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73253 (exit $ac_status); }; }; then
73254 glibcxx_cv_func___builtin_sin_link=yes
73255 else
73256 echo "$as_me: failed program was:" >&5
73257 sed 's/^/| /' conftest.$ac_ext >&5
73259 glibcxx_cv_func___builtin_sin_link=no
73261 rm -f conftest.err conftest.$ac_objext \
73262 conftest$ac_exeext conftest.$ac_ext
73267 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
73268 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
73270 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
73272 cat >>confdefs.h <<\_ACEOF
73273 #define HAVE___BUILTIN_SIN 1
73274 _ACEOF
73281 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
73282 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
73283 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
73284 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
73285 echo $ECHO_N "(cached) $ECHO_C" >&6
73286 else
73290 ac_ext=cc
73291 ac_cpp='$CXXCPP $CPPFLAGS'
73292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73296 cat >conftest.$ac_ext <<_ACEOF
73297 /* confdefs.h. */
73298 _ACEOF
73299 cat confdefs.h >>conftest.$ac_ext
73300 cat >>conftest.$ac_ext <<_ACEOF
73301 /* end confdefs.h. */
73302 #include <math.h>
73304 main ()
73306 __builtin_sinl(0);
73308 return 0;
73310 _ACEOF
73311 rm -f conftest.$ac_objext
73312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73313 (eval $ac_compile) 2>conftest.er1
73314 ac_status=$?
73315 grep -v '^ *+' conftest.er1 >conftest.err
73316 rm -f conftest.er1
73317 cat conftest.err >&5
73318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73319 (exit $ac_status); } &&
73320 { ac_try='test -z "$ac_cxx_werror_flag"
73321 || test ! -s conftest.err'
73322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73323 (eval $ac_try) 2>&5
73324 ac_status=$?
73325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73326 (exit $ac_status); }; } &&
73327 { ac_try='test -s conftest.$ac_objext'
73328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73329 (eval $ac_try) 2>&5
73330 ac_status=$?
73331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73332 (exit $ac_status); }; }; then
73333 glibcxx_cv_func___builtin_sinl_use=yes
73334 else
73335 echo "$as_me: failed program was:" >&5
73336 sed 's/^/| /' conftest.$ac_ext >&5
73338 glibcxx_cv_func___builtin_sinl_use=no
73340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73341 ac_ext=c
73342 ac_cpp='$CPP $CPPFLAGS'
73343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73351 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
73352 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
73353 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
73354 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
73355 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
73356 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
73357 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
73358 echo $ECHO_N "(cached) $ECHO_C" >&6
73359 else
73361 if test x$gcc_no_link = xyes; then
73362 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73363 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73364 { (exit 1); exit 1; }; }
73366 cat >conftest.$ac_ext <<_ACEOF
73367 /* confdefs.h. */
73368 _ACEOF
73369 cat confdefs.h >>conftest.$ac_ext
73370 cat >>conftest.$ac_ext <<_ACEOF
73371 /* end confdefs.h. */
73372 #include <math.h>
73374 main ()
73376 __builtin_sinl(0);
73378 return 0;
73380 _ACEOF
73381 rm -f conftest.$ac_objext conftest$ac_exeext
73382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73383 (eval $ac_link) 2>conftest.er1
73384 ac_status=$?
73385 grep -v '^ *+' conftest.er1 >conftest.err
73386 rm -f conftest.er1
73387 cat conftest.err >&5
73388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73389 (exit $ac_status); } &&
73390 { ac_try='test -z "$ac_c_werror_flag"
73391 || test ! -s conftest.err'
73392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73393 (eval $ac_try) 2>&5
73394 ac_status=$?
73395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73396 (exit $ac_status); }; } &&
73397 { ac_try='test -s conftest$ac_exeext'
73398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73399 (eval $ac_try) 2>&5
73400 ac_status=$?
73401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73402 (exit $ac_status); }; }; then
73403 glibcxx_cv_func___builtin_sinl_link=yes
73404 else
73405 echo "$as_me: failed program was:" >&5
73406 sed 's/^/| /' conftest.$ac_ext >&5
73408 glibcxx_cv_func___builtin_sinl_link=no
73410 rm -f conftest.err conftest.$ac_objext \
73411 conftest$ac_exeext conftest.$ac_ext
73416 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
73417 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
73419 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
73421 cat >>confdefs.h <<\_ACEOF
73422 #define HAVE___BUILTIN_SINL 1
73423 _ACEOF
73431 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
73432 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
73433 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
73434 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
73435 echo $ECHO_N "(cached) $ECHO_C" >&6
73436 else
73440 ac_ext=cc
73441 ac_cpp='$CXXCPP $CPPFLAGS'
73442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73446 cat >conftest.$ac_ext <<_ACEOF
73447 /* confdefs.h. */
73448 _ACEOF
73449 cat confdefs.h >>conftest.$ac_ext
73450 cat >>conftest.$ac_ext <<_ACEOF
73451 /* end confdefs.h. */
73452 #include <math.h>
73454 main ()
73456 __builtin_cosf(0);
73458 return 0;
73460 _ACEOF
73461 rm -f conftest.$ac_objext
73462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73463 (eval $ac_compile) 2>conftest.er1
73464 ac_status=$?
73465 grep -v '^ *+' conftest.er1 >conftest.err
73466 rm -f conftest.er1
73467 cat conftest.err >&5
73468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73469 (exit $ac_status); } &&
73470 { ac_try='test -z "$ac_cxx_werror_flag"
73471 || test ! -s conftest.err'
73472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73473 (eval $ac_try) 2>&5
73474 ac_status=$?
73475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73476 (exit $ac_status); }; } &&
73477 { ac_try='test -s conftest.$ac_objext'
73478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73479 (eval $ac_try) 2>&5
73480 ac_status=$?
73481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73482 (exit $ac_status); }; }; then
73483 glibcxx_cv_func___builtin_cosf_use=yes
73484 else
73485 echo "$as_me: failed program was:" >&5
73486 sed 's/^/| /' conftest.$ac_ext >&5
73488 glibcxx_cv_func___builtin_cosf_use=no
73490 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73491 ac_ext=c
73492 ac_cpp='$CPP $CPPFLAGS'
73493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73501 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
73502 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
73503 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
73504 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
73505 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
73506 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
73507 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
73508 echo $ECHO_N "(cached) $ECHO_C" >&6
73509 else
73511 if test x$gcc_no_link = xyes; then
73512 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73513 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73514 { (exit 1); exit 1; }; }
73516 cat >conftest.$ac_ext <<_ACEOF
73517 /* confdefs.h. */
73518 _ACEOF
73519 cat confdefs.h >>conftest.$ac_ext
73520 cat >>conftest.$ac_ext <<_ACEOF
73521 /* end confdefs.h. */
73522 #include <math.h>
73524 main ()
73526 __builtin_cosf(0);
73528 return 0;
73530 _ACEOF
73531 rm -f conftest.$ac_objext conftest$ac_exeext
73532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73533 (eval $ac_link) 2>conftest.er1
73534 ac_status=$?
73535 grep -v '^ *+' conftest.er1 >conftest.err
73536 rm -f conftest.er1
73537 cat conftest.err >&5
73538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73539 (exit $ac_status); } &&
73540 { ac_try='test -z "$ac_c_werror_flag"
73541 || test ! -s conftest.err'
73542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73543 (eval $ac_try) 2>&5
73544 ac_status=$?
73545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73546 (exit $ac_status); }; } &&
73547 { ac_try='test -s conftest$ac_exeext'
73548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73549 (eval $ac_try) 2>&5
73550 ac_status=$?
73551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73552 (exit $ac_status); }; }; then
73553 glibcxx_cv_func___builtin_cosf_link=yes
73554 else
73555 echo "$as_me: failed program was:" >&5
73556 sed 's/^/| /' conftest.$ac_ext >&5
73558 glibcxx_cv_func___builtin_cosf_link=no
73560 rm -f conftest.err conftest.$ac_objext \
73561 conftest$ac_exeext conftest.$ac_ext
73566 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
73567 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
73569 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
73571 cat >>confdefs.h <<\_ACEOF
73572 #define HAVE___BUILTIN_COSF 1
73573 _ACEOF
73580 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
73581 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
73582 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
73583 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
73584 echo $ECHO_N "(cached) $ECHO_C" >&6
73585 else
73589 ac_ext=cc
73590 ac_cpp='$CXXCPP $CPPFLAGS'
73591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73595 cat >conftest.$ac_ext <<_ACEOF
73596 /* confdefs.h. */
73597 _ACEOF
73598 cat confdefs.h >>conftest.$ac_ext
73599 cat >>conftest.$ac_ext <<_ACEOF
73600 /* end confdefs.h. */
73601 #include <math.h>
73603 main ()
73605 __builtin_cos(0);
73607 return 0;
73609 _ACEOF
73610 rm -f conftest.$ac_objext
73611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73612 (eval $ac_compile) 2>conftest.er1
73613 ac_status=$?
73614 grep -v '^ *+' conftest.er1 >conftest.err
73615 rm -f conftest.er1
73616 cat conftest.err >&5
73617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73618 (exit $ac_status); } &&
73619 { ac_try='test -z "$ac_cxx_werror_flag"
73620 || test ! -s conftest.err'
73621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73622 (eval $ac_try) 2>&5
73623 ac_status=$?
73624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73625 (exit $ac_status); }; } &&
73626 { ac_try='test -s conftest.$ac_objext'
73627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73628 (eval $ac_try) 2>&5
73629 ac_status=$?
73630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73631 (exit $ac_status); }; }; then
73632 glibcxx_cv_func___builtin_cos_use=yes
73633 else
73634 echo "$as_me: failed program was:" >&5
73635 sed 's/^/| /' conftest.$ac_ext >&5
73637 glibcxx_cv_func___builtin_cos_use=no
73639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73640 ac_ext=c
73641 ac_cpp='$CPP $CPPFLAGS'
73642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73650 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
73651 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
73652 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
73653 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
73654 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
73655 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
73656 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
73657 echo $ECHO_N "(cached) $ECHO_C" >&6
73658 else
73660 if test x$gcc_no_link = xyes; then
73661 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73662 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73663 { (exit 1); exit 1; }; }
73665 cat >conftest.$ac_ext <<_ACEOF
73666 /* confdefs.h. */
73667 _ACEOF
73668 cat confdefs.h >>conftest.$ac_ext
73669 cat >>conftest.$ac_ext <<_ACEOF
73670 /* end confdefs.h. */
73671 #include <math.h>
73673 main ()
73675 __builtin_cos(0);
73677 return 0;
73679 _ACEOF
73680 rm -f conftest.$ac_objext conftest$ac_exeext
73681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73682 (eval $ac_link) 2>conftest.er1
73683 ac_status=$?
73684 grep -v '^ *+' conftest.er1 >conftest.err
73685 rm -f conftest.er1
73686 cat conftest.err >&5
73687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73688 (exit $ac_status); } &&
73689 { ac_try='test -z "$ac_c_werror_flag"
73690 || test ! -s conftest.err'
73691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73692 (eval $ac_try) 2>&5
73693 ac_status=$?
73694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73695 (exit $ac_status); }; } &&
73696 { ac_try='test -s conftest$ac_exeext'
73697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73698 (eval $ac_try) 2>&5
73699 ac_status=$?
73700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73701 (exit $ac_status); }; }; then
73702 glibcxx_cv_func___builtin_cos_link=yes
73703 else
73704 echo "$as_me: failed program was:" >&5
73705 sed 's/^/| /' conftest.$ac_ext >&5
73707 glibcxx_cv_func___builtin_cos_link=no
73709 rm -f conftest.err conftest.$ac_objext \
73710 conftest$ac_exeext conftest.$ac_ext
73715 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
73716 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
73718 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
73720 cat >>confdefs.h <<\_ACEOF
73721 #define HAVE___BUILTIN_COS 1
73722 _ACEOF
73729 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
73730 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
73731 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
73732 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
73733 echo $ECHO_N "(cached) $ECHO_C" >&6
73734 else
73738 ac_ext=cc
73739 ac_cpp='$CXXCPP $CPPFLAGS'
73740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73744 cat >conftest.$ac_ext <<_ACEOF
73745 /* confdefs.h. */
73746 _ACEOF
73747 cat confdefs.h >>conftest.$ac_ext
73748 cat >>conftest.$ac_ext <<_ACEOF
73749 /* end confdefs.h. */
73750 #include <math.h>
73752 main ()
73754 __builtin_cosl(0);
73756 return 0;
73758 _ACEOF
73759 rm -f conftest.$ac_objext
73760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73761 (eval $ac_compile) 2>conftest.er1
73762 ac_status=$?
73763 grep -v '^ *+' conftest.er1 >conftest.err
73764 rm -f conftest.er1
73765 cat conftest.err >&5
73766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73767 (exit $ac_status); } &&
73768 { ac_try='test -z "$ac_cxx_werror_flag"
73769 || test ! -s conftest.err'
73770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73771 (eval $ac_try) 2>&5
73772 ac_status=$?
73773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73774 (exit $ac_status); }; } &&
73775 { ac_try='test -s conftest.$ac_objext'
73776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73777 (eval $ac_try) 2>&5
73778 ac_status=$?
73779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73780 (exit $ac_status); }; }; then
73781 glibcxx_cv_func___builtin_cosl_use=yes
73782 else
73783 echo "$as_me: failed program was:" >&5
73784 sed 's/^/| /' conftest.$ac_ext >&5
73786 glibcxx_cv_func___builtin_cosl_use=no
73788 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73789 ac_ext=c
73790 ac_cpp='$CPP $CPPFLAGS'
73791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73799 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
73800 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
73801 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
73802 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
73803 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
73804 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
73805 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
73806 echo $ECHO_N "(cached) $ECHO_C" >&6
73807 else
73809 if test x$gcc_no_link = xyes; then
73810 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73811 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73812 { (exit 1); exit 1; }; }
73814 cat >conftest.$ac_ext <<_ACEOF
73815 /* confdefs.h. */
73816 _ACEOF
73817 cat confdefs.h >>conftest.$ac_ext
73818 cat >>conftest.$ac_ext <<_ACEOF
73819 /* end confdefs.h. */
73820 #include <math.h>
73822 main ()
73824 __builtin_cosl(0);
73826 return 0;
73828 _ACEOF
73829 rm -f conftest.$ac_objext conftest$ac_exeext
73830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73831 (eval $ac_link) 2>conftest.er1
73832 ac_status=$?
73833 grep -v '^ *+' conftest.er1 >conftest.err
73834 rm -f conftest.er1
73835 cat conftest.err >&5
73836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73837 (exit $ac_status); } &&
73838 { ac_try='test -z "$ac_c_werror_flag"
73839 || test ! -s conftest.err'
73840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73841 (eval $ac_try) 2>&5
73842 ac_status=$?
73843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73844 (exit $ac_status); }; } &&
73845 { ac_try='test -s conftest$ac_exeext'
73846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73847 (eval $ac_try) 2>&5
73848 ac_status=$?
73849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73850 (exit $ac_status); }; }; then
73851 glibcxx_cv_func___builtin_cosl_link=yes
73852 else
73853 echo "$as_me: failed program was:" >&5
73854 sed 's/^/| /' conftest.$ac_ext >&5
73856 glibcxx_cv_func___builtin_cosl_link=no
73858 rm -f conftest.err conftest.$ac_objext \
73859 conftest$ac_exeext conftest.$ac_ext
73864 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
73865 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
73867 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
73869 cat >>confdefs.h <<\_ACEOF
73870 #define HAVE___BUILTIN_COSL 1
73871 _ACEOF
73880 echo "$as_me:$LINENO: checking for main in -lm" >&5
73881 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
73882 if test "${ac_cv_lib_m_main+set}" = set; then
73883 echo $ECHO_N "(cached) $ECHO_C" >&6
73884 else
73885 ac_check_lib_save_LIBS=$LIBS
73886 LIBS="-lm $LIBS"
73887 if test x$gcc_no_link = xyes; then
73888 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73889 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73890 { (exit 1); exit 1; }; }
73892 cat >conftest.$ac_ext <<_ACEOF
73893 /* confdefs.h. */
73894 _ACEOF
73895 cat confdefs.h >>conftest.$ac_ext
73896 cat >>conftest.$ac_ext <<_ACEOF
73897 /* end confdefs.h. */
73901 main ()
73903 main ();
73905 return 0;
73907 _ACEOF
73908 rm -f conftest.$ac_objext conftest$ac_exeext
73909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73910 (eval $ac_link) 2>conftest.er1
73911 ac_status=$?
73912 grep -v '^ *+' conftest.er1 >conftest.err
73913 rm -f conftest.er1
73914 cat conftest.err >&5
73915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73916 (exit $ac_status); } &&
73917 { ac_try='test -z "$ac_c_werror_flag"
73918 || test ! -s conftest.err'
73919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73920 (eval $ac_try) 2>&5
73921 ac_status=$?
73922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73923 (exit $ac_status); }; } &&
73924 { ac_try='test -s conftest$ac_exeext'
73925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73926 (eval $ac_try) 2>&5
73927 ac_status=$?
73928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73929 (exit $ac_status); }; }; then
73930 ac_cv_lib_m_main=yes
73931 else
73932 echo "$as_me: failed program was:" >&5
73933 sed 's/^/| /' conftest.$ac_ext >&5
73935 ac_cv_lib_m_main=no
73937 rm -f conftest.err conftest.$ac_objext \
73938 conftest$ac_exeext conftest.$ac_ext
73939 LIBS=$ac_check_lib_save_LIBS
73941 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
73942 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
73943 if test $ac_cv_lib_m_main = yes; then
73944 cat >>confdefs.h <<_ACEOF
73945 #define HAVE_LIBM 1
73946 _ACEOF
73948 LIBS="-lm $LIBS"
73953 for ac_func in copysignf
73955 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73956 echo "$as_me:$LINENO: checking for $ac_func" >&5
73957 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73958 if eval "test \"\${$as_ac_var+set}\" = set"; then
73959 echo $ECHO_N "(cached) $ECHO_C" >&6
73960 else
73961 if test x$gcc_no_link = xyes; then
73962 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73963 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73964 { (exit 1); exit 1; }; }
73966 cat >conftest.$ac_ext <<_ACEOF
73967 /* confdefs.h. */
73968 _ACEOF
73969 cat confdefs.h >>conftest.$ac_ext
73970 cat >>conftest.$ac_ext <<_ACEOF
73971 /* end confdefs.h. */
73972 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73973 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73974 #define $ac_func innocuous_$ac_func
73976 /* System header to define __stub macros and hopefully few prototypes,
73977 which can conflict with char $ac_func (); below.
73978 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73979 <limits.h> exists even on freestanding compilers. */
73981 #ifdef __STDC__
73982 # include <limits.h>
73983 #else
73984 # include <assert.h>
73985 #endif
73987 #undef $ac_func
73989 /* Override any gcc2 internal prototype to avoid an error. */
73990 #ifdef __cplusplus
73991 extern "C"
73993 #endif
73994 /* We use char because int might match the return type of a gcc2
73995 builtin and then its argument prototype would still apply. */
73996 char $ac_func ();
73997 /* The GNU C library defines this for functions which it implements
73998 to always fail with ENOSYS. Some functions are actually named
73999 something starting with __ and the normal name is an alias. */
74000 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74001 choke me
74002 #else
74003 char (*f) () = $ac_func;
74004 #endif
74005 #ifdef __cplusplus
74007 #endif
74010 main ()
74012 return f != $ac_func;
74014 return 0;
74016 _ACEOF
74017 rm -f conftest.$ac_objext conftest$ac_exeext
74018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74019 (eval $ac_link) 2>conftest.er1
74020 ac_status=$?
74021 grep -v '^ *+' conftest.er1 >conftest.err
74022 rm -f conftest.er1
74023 cat conftest.err >&5
74024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74025 (exit $ac_status); } &&
74026 { ac_try='test -z "$ac_c_werror_flag"
74027 || test ! -s conftest.err'
74028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74029 (eval $ac_try) 2>&5
74030 ac_status=$?
74031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74032 (exit $ac_status); }; } &&
74033 { ac_try='test -s conftest$ac_exeext'
74034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74035 (eval $ac_try) 2>&5
74036 ac_status=$?
74037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74038 (exit $ac_status); }; }; then
74039 eval "$as_ac_var=yes"
74040 else
74041 echo "$as_me: failed program was:" >&5
74042 sed 's/^/| /' conftest.$ac_ext >&5
74044 eval "$as_ac_var=no"
74046 rm -f conftest.err conftest.$ac_objext \
74047 conftest$ac_exeext conftest.$ac_ext
74049 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74050 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74051 if test `eval echo '${'$as_ac_var'}'` = yes; then
74052 cat >>confdefs.h <<_ACEOF
74053 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74054 _ACEOF
74056 else
74057 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
74059 done
74063 for ac_func in __signbit
74065 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74066 echo "$as_me:$LINENO: checking for $ac_func" >&5
74067 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74068 if eval "test \"\${$as_ac_var+set}\" = set"; then
74069 echo $ECHO_N "(cached) $ECHO_C" >&6
74070 else
74071 if test x$gcc_no_link = xyes; then
74072 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74073 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74074 { (exit 1); exit 1; }; }
74076 cat >conftest.$ac_ext <<_ACEOF
74077 /* confdefs.h. */
74078 _ACEOF
74079 cat confdefs.h >>conftest.$ac_ext
74080 cat >>conftest.$ac_ext <<_ACEOF
74081 /* end confdefs.h. */
74082 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74083 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74084 #define $ac_func innocuous_$ac_func
74086 /* System header to define __stub macros and hopefully few prototypes,
74087 which can conflict with char $ac_func (); below.
74088 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74089 <limits.h> exists even on freestanding compilers. */
74091 #ifdef __STDC__
74092 # include <limits.h>
74093 #else
74094 # include <assert.h>
74095 #endif
74097 #undef $ac_func
74099 /* Override any gcc2 internal prototype to avoid an error. */
74100 #ifdef __cplusplus
74101 extern "C"
74103 #endif
74104 /* We use char because int might match the return type of a gcc2
74105 builtin and then its argument prototype would still apply. */
74106 char $ac_func ();
74107 /* The GNU C library defines this for functions which it implements
74108 to always fail with ENOSYS. Some functions are actually named
74109 something starting with __ and the normal name is an alias. */
74110 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74111 choke me
74112 #else
74113 char (*f) () = $ac_func;
74114 #endif
74115 #ifdef __cplusplus
74117 #endif
74120 main ()
74122 return f != $ac_func;
74124 return 0;
74126 _ACEOF
74127 rm -f conftest.$ac_objext conftest$ac_exeext
74128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74129 (eval $ac_link) 2>conftest.er1
74130 ac_status=$?
74131 grep -v '^ *+' conftest.er1 >conftest.err
74132 rm -f conftest.er1
74133 cat conftest.err >&5
74134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74135 (exit $ac_status); } &&
74136 { ac_try='test -z "$ac_c_werror_flag"
74137 || test ! -s conftest.err'
74138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74139 (eval $ac_try) 2>&5
74140 ac_status=$?
74141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74142 (exit $ac_status); }; } &&
74143 { ac_try='test -s conftest$ac_exeext'
74144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74145 (eval $ac_try) 2>&5
74146 ac_status=$?
74147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74148 (exit $ac_status); }; }; then
74149 eval "$as_ac_var=yes"
74150 else
74151 echo "$as_me: failed program was:" >&5
74152 sed 's/^/| /' conftest.$ac_ext >&5
74154 eval "$as_ac_var=no"
74156 rm -f conftest.err conftest.$ac_objext \
74157 conftest$ac_exeext conftest.$ac_ext
74159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74160 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74161 if test `eval echo '${'$as_ac_var'}'` = yes; then
74162 cat >>confdefs.h <<_ACEOF
74163 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74164 _ACEOF
74166 else
74167 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
74169 done
74173 for ac_func in __signbitf
74175 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74176 echo "$as_me:$LINENO: checking for $ac_func" >&5
74177 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74178 if eval "test \"\${$as_ac_var+set}\" = set"; then
74179 echo $ECHO_N "(cached) $ECHO_C" >&6
74180 else
74181 if test x$gcc_no_link = xyes; then
74182 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74183 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74184 { (exit 1); exit 1; }; }
74186 cat >conftest.$ac_ext <<_ACEOF
74187 /* confdefs.h. */
74188 _ACEOF
74189 cat confdefs.h >>conftest.$ac_ext
74190 cat >>conftest.$ac_ext <<_ACEOF
74191 /* end confdefs.h. */
74192 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74193 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74194 #define $ac_func innocuous_$ac_func
74196 /* System header to define __stub macros and hopefully few prototypes,
74197 which can conflict with char $ac_func (); below.
74198 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74199 <limits.h> exists even on freestanding compilers. */
74201 #ifdef __STDC__
74202 # include <limits.h>
74203 #else
74204 # include <assert.h>
74205 #endif
74207 #undef $ac_func
74209 /* Override any gcc2 internal prototype to avoid an error. */
74210 #ifdef __cplusplus
74211 extern "C"
74213 #endif
74214 /* We use char because int might match the return type of a gcc2
74215 builtin and then its argument prototype would still apply. */
74216 char $ac_func ();
74217 /* The GNU C library defines this for functions which it implements
74218 to always fail with ENOSYS. Some functions are actually named
74219 something starting with __ and the normal name is an alias. */
74220 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74221 choke me
74222 #else
74223 char (*f) () = $ac_func;
74224 #endif
74225 #ifdef __cplusplus
74227 #endif
74230 main ()
74232 return f != $ac_func;
74234 return 0;
74236 _ACEOF
74237 rm -f conftest.$ac_objext conftest$ac_exeext
74238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74239 (eval $ac_link) 2>conftest.er1
74240 ac_status=$?
74241 grep -v '^ *+' conftest.er1 >conftest.err
74242 rm -f conftest.er1
74243 cat conftest.err >&5
74244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74245 (exit $ac_status); } &&
74246 { ac_try='test -z "$ac_c_werror_flag"
74247 || test ! -s conftest.err'
74248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74249 (eval $ac_try) 2>&5
74250 ac_status=$?
74251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74252 (exit $ac_status); }; } &&
74253 { ac_try='test -s conftest$ac_exeext'
74254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74255 (eval $ac_try) 2>&5
74256 ac_status=$?
74257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74258 (exit $ac_status); }; }; then
74259 eval "$as_ac_var=yes"
74260 else
74261 echo "$as_me: failed program was:" >&5
74262 sed 's/^/| /' conftest.$ac_ext >&5
74264 eval "$as_ac_var=no"
74266 rm -f conftest.err conftest.$ac_objext \
74267 conftest$ac_exeext conftest.$ac_ext
74269 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74270 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74271 if test `eval echo '${'$as_ac_var'}'` = yes; then
74272 cat >>confdefs.h <<_ACEOF
74273 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74274 _ACEOF
74276 else
74277 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
74279 done
74282 if test x$ac_cv_func_copysignl = x"yes"; then
74284 for ac_func in __signbitl
74286 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74287 echo "$as_me:$LINENO: checking for $ac_func" >&5
74288 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74289 if eval "test \"\${$as_ac_var+set}\" = set"; then
74290 echo $ECHO_N "(cached) $ECHO_C" >&6
74291 else
74292 if test x$gcc_no_link = xyes; then
74293 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74294 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74295 { (exit 1); exit 1; }; }
74297 cat >conftest.$ac_ext <<_ACEOF
74298 /* confdefs.h. */
74299 _ACEOF
74300 cat confdefs.h >>conftest.$ac_ext
74301 cat >>conftest.$ac_ext <<_ACEOF
74302 /* end confdefs.h. */
74303 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74304 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74305 #define $ac_func innocuous_$ac_func
74307 /* System header to define __stub macros and hopefully few prototypes,
74308 which can conflict with char $ac_func (); below.
74309 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74310 <limits.h> exists even on freestanding compilers. */
74312 #ifdef __STDC__
74313 # include <limits.h>
74314 #else
74315 # include <assert.h>
74316 #endif
74318 #undef $ac_func
74320 /* Override any gcc2 internal prototype to avoid an error. */
74321 #ifdef __cplusplus
74322 extern "C"
74324 #endif
74325 /* We use char because int might match the return type of a gcc2
74326 builtin and then its argument prototype would still apply. */
74327 char $ac_func ();
74328 /* The GNU C library defines this for functions which it implements
74329 to always fail with ENOSYS. Some functions are actually named
74330 something starting with __ and the normal name is an alias. */
74331 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74332 choke me
74333 #else
74334 char (*f) () = $ac_func;
74335 #endif
74336 #ifdef __cplusplus
74338 #endif
74341 main ()
74343 return f != $ac_func;
74345 return 0;
74347 _ACEOF
74348 rm -f conftest.$ac_objext conftest$ac_exeext
74349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74350 (eval $ac_link) 2>conftest.er1
74351 ac_status=$?
74352 grep -v '^ *+' conftest.er1 >conftest.err
74353 rm -f conftest.er1
74354 cat conftest.err >&5
74355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74356 (exit $ac_status); } &&
74357 { ac_try='test -z "$ac_c_werror_flag"
74358 || test ! -s conftest.err'
74359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74360 (eval $ac_try) 2>&5
74361 ac_status=$?
74362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74363 (exit $ac_status); }; } &&
74364 { ac_try='test -s conftest$ac_exeext'
74365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74366 (eval $ac_try) 2>&5
74367 ac_status=$?
74368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74369 (exit $ac_status); }; }; then
74370 eval "$as_ac_var=yes"
74371 else
74372 echo "$as_me: failed program was:" >&5
74373 sed 's/^/| /' conftest.$ac_ext >&5
74375 eval "$as_ac_var=no"
74377 rm -f conftest.err conftest.$ac_objext \
74378 conftest$ac_exeext conftest.$ac_ext
74380 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74381 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74382 if test `eval echo '${'$as_ac_var'}'` = yes; then
74383 cat >>confdefs.h <<_ACEOF
74384 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74385 _ACEOF
74387 else
74388 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
74390 done
74394 # Used in libmath/Makefile.am.
74395 if test -n "$LIBMATHOBJS"; then
74396 need_libmath=yes
74402 enable_iconv=no
74403 # Only continue checking if the ISO C99 headers exist and support is on.
74404 if test x"$enable_wchar_t" = xyes; then
74406 # Use iconv for wchar_t to char conversions. As such, check for
74407 # X/Open Portability Guide, version 2 features (XPG2).
74408 if test "${ac_cv_header_iconv_h+set}" = set; then
74409 echo "$as_me:$LINENO: checking for iconv.h" >&5
74410 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
74411 if test "${ac_cv_header_iconv_h+set}" = set; then
74412 echo $ECHO_N "(cached) $ECHO_C" >&6
74414 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
74415 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
74416 else
74417 # Is the header compilable?
74418 echo "$as_me:$LINENO: checking iconv.h usability" >&5
74419 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
74420 cat >conftest.$ac_ext <<_ACEOF
74421 /* confdefs.h. */
74422 _ACEOF
74423 cat confdefs.h >>conftest.$ac_ext
74424 cat >>conftest.$ac_ext <<_ACEOF
74425 /* end confdefs.h. */
74426 $ac_includes_default
74427 #include <iconv.h>
74428 _ACEOF
74429 rm -f conftest.$ac_objext
74430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74431 (eval $ac_compile) 2>conftest.er1
74432 ac_status=$?
74433 grep -v '^ *+' conftest.er1 >conftest.err
74434 rm -f conftest.er1
74435 cat conftest.err >&5
74436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74437 (exit $ac_status); } &&
74438 { ac_try='test -z "$ac_c_werror_flag"
74439 || test ! -s conftest.err'
74440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74441 (eval $ac_try) 2>&5
74442 ac_status=$?
74443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74444 (exit $ac_status); }; } &&
74445 { ac_try='test -s conftest.$ac_objext'
74446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74447 (eval $ac_try) 2>&5
74448 ac_status=$?
74449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74450 (exit $ac_status); }; }; then
74451 ac_header_compiler=yes
74452 else
74453 echo "$as_me: failed program was:" >&5
74454 sed 's/^/| /' conftest.$ac_ext >&5
74456 ac_header_compiler=no
74458 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74459 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74460 echo "${ECHO_T}$ac_header_compiler" >&6
74462 # Is the header present?
74463 echo "$as_me:$LINENO: checking iconv.h presence" >&5
74464 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
74465 cat >conftest.$ac_ext <<_ACEOF
74466 /* confdefs.h. */
74467 _ACEOF
74468 cat confdefs.h >>conftest.$ac_ext
74469 cat >>conftest.$ac_ext <<_ACEOF
74470 /* end confdefs.h. */
74471 #include <iconv.h>
74472 _ACEOF
74473 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74474 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74475 ac_status=$?
74476 grep -v '^ *+' conftest.er1 >conftest.err
74477 rm -f conftest.er1
74478 cat conftest.err >&5
74479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74480 (exit $ac_status); } >/dev/null; then
74481 if test -s conftest.err; then
74482 ac_cpp_err=$ac_c_preproc_warn_flag
74483 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74484 else
74485 ac_cpp_err=
74487 else
74488 ac_cpp_err=yes
74490 if test -z "$ac_cpp_err"; then
74491 ac_header_preproc=yes
74492 else
74493 echo "$as_me: failed program was:" >&5
74494 sed 's/^/| /' conftest.$ac_ext >&5
74496 ac_header_preproc=no
74498 rm -f conftest.err conftest.$ac_ext
74499 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74500 echo "${ECHO_T}$ac_header_preproc" >&6
74502 # So? What about this header?
74503 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
74504 yes:no: )
74505 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
74506 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
74507 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
74508 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
74509 ac_header_preproc=yes
74511 no:yes:* )
74512 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
74513 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
74514 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
74515 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
74516 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
74517 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
74518 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
74519 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
74520 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
74521 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
74522 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
74523 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
74525 cat <<\_ASBOX
74526 ## ----------------------------------------- ##
74527 ## Report this to the package-unused lists. ##
74528 ## ----------------------------------------- ##
74529 _ASBOX
74531 sed "s/^/$as_me: WARNING: /" >&2
74533 esac
74534 echo "$as_me:$LINENO: checking for iconv.h" >&5
74535 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
74536 if test "${ac_cv_header_iconv_h+set}" = set; then
74537 echo $ECHO_N "(cached) $ECHO_C" >&6
74538 else
74539 ac_cv_header_iconv_h=$ac_header_preproc
74541 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
74542 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
74545 if test $ac_cv_header_iconv_h = yes; then
74546 ac_has_iconv_h=yes
74547 else
74548 ac_has_iconv_h=no
74552 if test "${ac_cv_header_langinfo_h+set}" = set; then
74553 echo "$as_me:$LINENO: checking for langinfo.h" >&5
74554 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
74555 if test "${ac_cv_header_langinfo_h+set}" = set; then
74556 echo $ECHO_N "(cached) $ECHO_C" >&6
74558 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
74559 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
74560 else
74561 # Is the header compilable?
74562 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
74563 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
74564 cat >conftest.$ac_ext <<_ACEOF
74565 /* confdefs.h. */
74566 _ACEOF
74567 cat confdefs.h >>conftest.$ac_ext
74568 cat >>conftest.$ac_ext <<_ACEOF
74569 /* end confdefs.h. */
74570 $ac_includes_default
74571 #include <langinfo.h>
74572 _ACEOF
74573 rm -f conftest.$ac_objext
74574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74575 (eval $ac_compile) 2>conftest.er1
74576 ac_status=$?
74577 grep -v '^ *+' conftest.er1 >conftest.err
74578 rm -f conftest.er1
74579 cat conftest.err >&5
74580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74581 (exit $ac_status); } &&
74582 { ac_try='test -z "$ac_c_werror_flag"
74583 || test ! -s conftest.err'
74584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74585 (eval $ac_try) 2>&5
74586 ac_status=$?
74587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74588 (exit $ac_status); }; } &&
74589 { ac_try='test -s conftest.$ac_objext'
74590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74591 (eval $ac_try) 2>&5
74592 ac_status=$?
74593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74594 (exit $ac_status); }; }; then
74595 ac_header_compiler=yes
74596 else
74597 echo "$as_me: failed program was:" >&5
74598 sed 's/^/| /' conftest.$ac_ext >&5
74600 ac_header_compiler=no
74602 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74603 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74604 echo "${ECHO_T}$ac_header_compiler" >&6
74606 # Is the header present?
74607 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
74608 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
74609 cat >conftest.$ac_ext <<_ACEOF
74610 /* confdefs.h. */
74611 _ACEOF
74612 cat confdefs.h >>conftest.$ac_ext
74613 cat >>conftest.$ac_ext <<_ACEOF
74614 /* end confdefs.h. */
74615 #include <langinfo.h>
74616 _ACEOF
74617 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74618 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74619 ac_status=$?
74620 grep -v '^ *+' conftest.er1 >conftest.err
74621 rm -f conftest.er1
74622 cat conftest.err >&5
74623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74624 (exit $ac_status); } >/dev/null; then
74625 if test -s conftest.err; then
74626 ac_cpp_err=$ac_c_preproc_warn_flag
74627 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74628 else
74629 ac_cpp_err=
74631 else
74632 ac_cpp_err=yes
74634 if test -z "$ac_cpp_err"; then
74635 ac_header_preproc=yes
74636 else
74637 echo "$as_me: failed program was:" >&5
74638 sed 's/^/| /' conftest.$ac_ext >&5
74640 ac_header_preproc=no
74642 rm -f conftest.err conftest.$ac_ext
74643 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74644 echo "${ECHO_T}$ac_header_preproc" >&6
74646 # So? What about this header?
74647 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
74648 yes:no: )
74649 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
74650 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
74651 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
74652 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
74653 ac_header_preproc=yes
74655 no:yes:* )
74656 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
74657 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
74658 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
74659 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
74660 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
74661 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
74662 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
74663 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
74664 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
74665 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
74666 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
74667 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
74669 cat <<\_ASBOX
74670 ## ----------------------------------------- ##
74671 ## Report this to the package-unused lists. ##
74672 ## ----------------------------------------- ##
74673 _ASBOX
74675 sed "s/^/$as_me: WARNING: /" >&2
74677 esac
74678 echo "$as_me:$LINENO: checking for langinfo.h" >&5
74679 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
74680 if test "${ac_cv_header_langinfo_h+set}" = set; then
74681 echo $ECHO_N "(cached) $ECHO_C" >&6
74682 else
74683 ac_cv_header_langinfo_h=$ac_header_preproc
74685 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
74686 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
74689 if test $ac_cv_header_langinfo_h = yes; then
74690 ac_has_langinfo_h=yes
74691 else
74692 ac_has_langinfo_h=no
74697 # Check for existence of libiconv.a providing XPG2 wchar_t support.
74698 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
74699 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
74700 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
74701 echo $ECHO_N "(cached) $ECHO_C" >&6
74702 else
74703 ac_check_lib_save_LIBS=$LIBS
74704 LIBS="-liconv $LIBS"
74705 if test x$gcc_no_link = xyes; then
74706 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74707 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74708 { (exit 1); exit 1; }; }
74710 cat >conftest.$ac_ext <<_ACEOF
74711 /* confdefs.h. */
74712 _ACEOF
74713 cat confdefs.h >>conftest.$ac_ext
74714 cat >>conftest.$ac_ext <<_ACEOF
74715 /* end confdefs.h. */
74717 /* Override any gcc2 internal prototype to avoid an error. */
74718 #ifdef __cplusplus
74719 extern "C"
74720 #endif
74721 /* We use char because int might match the return type of a gcc2
74722 builtin and then its argument prototype would still apply. */
74723 char iconv ();
74725 main ()
74727 iconv ();
74729 return 0;
74731 _ACEOF
74732 rm -f conftest.$ac_objext conftest$ac_exeext
74733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74734 (eval $ac_link) 2>conftest.er1
74735 ac_status=$?
74736 grep -v '^ *+' conftest.er1 >conftest.err
74737 rm -f conftest.er1
74738 cat conftest.err >&5
74739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74740 (exit $ac_status); } &&
74741 { ac_try='test -z "$ac_c_werror_flag"
74742 || test ! -s conftest.err'
74743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74744 (eval $ac_try) 2>&5
74745 ac_status=$?
74746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74747 (exit $ac_status); }; } &&
74748 { ac_try='test -s conftest$ac_exeext'
74749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74750 (eval $ac_try) 2>&5
74751 ac_status=$?
74752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74753 (exit $ac_status); }; }; then
74754 ac_cv_lib_iconv_iconv=yes
74755 else
74756 echo "$as_me: failed program was:" >&5
74757 sed 's/^/| /' conftest.$ac_ext >&5
74759 ac_cv_lib_iconv_iconv=no
74761 rm -f conftest.err conftest.$ac_objext \
74762 conftest$ac_exeext conftest.$ac_ext
74763 LIBS=$ac_check_lib_save_LIBS
74765 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
74766 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
74767 if test $ac_cv_lib_iconv_iconv = yes; then
74768 LIBICONV="-liconv"
74771 ac_save_LIBS="$LIBS"
74772 LIBS="$LIBS $LIBICONV"
74779 for ac_func in iconv_open iconv_close iconv nl_langinfo
74781 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74782 echo "$as_me:$LINENO: checking for $ac_func" >&5
74783 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74784 if eval "test \"\${$as_ac_var+set}\" = set"; then
74785 echo $ECHO_N "(cached) $ECHO_C" >&6
74786 else
74787 if test x$gcc_no_link = xyes; then
74788 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74789 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74790 { (exit 1); exit 1; }; }
74792 cat >conftest.$ac_ext <<_ACEOF
74793 /* confdefs.h. */
74794 _ACEOF
74795 cat confdefs.h >>conftest.$ac_ext
74796 cat >>conftest.$ac_ext <<_ACEOF
74797 /* end confdefs.h. */
74798 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74799 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74800 #define $ac_func innocuous_$ac_func
74802 /* System header to define __stub macros and hopefully few prototypes,
74803 which can conflict with char $ac_func (); below.
74804 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74805 <limits.h> exists even on freestanding compilers. */
74807 #ifdef __STDC__
74808 # include <limits.h>
74809 #else
74810 # include <assert.h>
74811 #endif
74813 #undef $ac_func
74815 /* Override any gcc2 internal prototype to avoid an error. */
74816 #ifdef __cplusplus
74817 extern "C"
74819 #endif
74820 /* We use char because int might match the return type of a gcc2
74821 builtin and then its argument prototype would still apply. */
74822 char $ac_func ();
74823 /* The GNU C library defines this for functions which it implements
74824 to always fail with ENOSYS. Some functions are actually named
74825 something starting with __ and the normal name is an alias. */
74826 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74827 choke me
74828 #else
74829 char (*f) () = $ac_func;
74830 #endif
74831 #ifdef __cplusplus
74833 #endif
74836 main ()
74838 return f != $ac_func;
74840 return 0;
74842 _ACEOF
74843 rm -f conftest.$ac_objext conftest$ac_exeext
74844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74845 (eval $ac_link) 2>conftest.er1
74846 ac_status=$?
74847 grep -v '^ *+' conftest.er1 >conftest.err
74848 rm -f conftest.er1
74849 cat conftest.err >&5
74850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74851 (exit $ac_status); } &&
74852 { ac_try='test -z "$ac_c_werror_flag"
74853 || test ! -s conftest.err'
74854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74855 (eval $ac_try) 2>&5
74856 ac_status=$?
74857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74858 (exit $ac_status); }; } &&
74859 { ac_try='test -s conftest$ac_exeext'
74860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74861 (eval $ac_try) 2>&5
74862 ac_status=$?
74863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74864 (exit $ac_status); }; }; then
74865 eval "$as_ac_var=yes"
74866 else
74867 echo "$as_me: failed program was:" >&5
74868 sed 's/^/| /' conftest.$ac_ext >&5
74870 eval "$as_ac_var=no"
74872 rm -f conftest.err conftest.$ac_objext \
74873 conftest$ac_exeext conftest.$ac_ext
74875 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74876 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74877 if test `eval echo '${'$as_ac_var'}'` = yes; then
74878 cat >>confdefs.h <<_ACEOF
74879 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74880 _ACEOF
74881 ac_XPG2funcs=yes
74882 else
74883 ac_XPG2funcs=no
74885 done
74888 LIBS="$ac_save_LIBS"
74890 if test x"$ac_has_iconv_h" = xyes &&
74891 test x"$ac_has_langinfo_h" = xyes &&
74892 test x"$ac_XPG2funcs" = xyes;
74893 then
74895 cat >>confdefs.h <<\_ACEOF
74896 #define _GLIBCXX_USE_ICONV 1
74897 _ACEOF
74899 enable_iconv=yes
74902 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
74903 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
74904 echo "$as_me:$LINENO: result: $enable_iconv" >&5
74905 echo "${ECHO_T}$enable_iconv" >&6
74908 ac_test_CXXFLAGS="${CXXFLAGS+set}"
74909 ac_save_CXXFLAGS="$CXXFLAGS"
74910 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
74913 echo "$as_me:$LINENO: checking for strtold declaration" >&5
74914 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
74915 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
74916 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
74917 echo $ECHO_N "(cached) $ECHO_C" >&6
74918 else
74922 ac_ext=cc
74923 ac_cpp='$CXXCPP $CPPFLAGS'
74924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74928 cat >conftest.$ac_ext <<_ACEOF
74929 /* confdefs.h. */
74930 _ACEOF
74931 cat confdefs.h >>conftest.$ac_ext
74932 cat >>conftest.$ac_ext <<_ACEOF
74933 /* end confdefs.h. */
74934 #include <stdlib.h>
74936 main ()
74938 strtold(0, 0);
74940 return 0;
74942 _ACEOF
74943 rm -f conftest.$ac_objext
74944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74945 (eval $ac_compile) 2>conftest.er1
74946 ac_status=$?
74947 grep -v '^ *+' conftest.er1 >conftest.err
74948 rm -f conftest.er1
74949 cat conftest.err >&5
74950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74951 (exit $ac_status); } &&
74952 { ac_try='test -z "$ac_cxx_werror_flag"
74953 || test ! -s conftest.err'
74954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74955 (eval $ac_try) 2>&5
74956 ac_status=$?
74957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74958 (exit $ac_status); }; } &&
74959 { ac_try='test -s conftest.$ac_objext'
74960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74961 (eval $ac_try) 2>&5
74962 ac_status=$?
74963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74964 (exit $ac_status); }; }; then
74965 glibcxx_cv_func_strtold_use=yes
74966 else
74967 echo "$as_me: failed program was:" >&5
74968 sed 's/^/| /' conftest.$ac_ext >&5
74970 glibcxx_cv_func_strtold_use=no
74972 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74973 ac_ext=c
74974 ac_cpp='$CPP $CPPFLAGS'
74975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74983 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
74984 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
74985 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
74987 for ac_func in strtold
74989 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74990 echo "$as_me:$LINENO: checking for $ac_func" >&5
74991 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74992 if eval "test \"\${$as_ac_var+set}\" = set"; then
74993 echo $ECHO_N "(cached) $ECHO_C" >&6
74994 else
74995 if test x$gcc_no_link = xyes; then
74996 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74997 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74998 { (exit 1); exit 1; }; }
75000 cat >conftest.$ac_ext <<_ACEOF
75001 /* confdefs.h. */
75002 _ACEOF
75003 cat confdefs.h >>conftest.$ac_ext
75004 cat >>conftest.$ac_ext <<_ACEOF
75005 /* end confdefs.h. */
75006 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75007 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75008 #define $ac_func innocuous_$ac_func
75010 /* System header to define __stub macros and hopefully few prototypes,
75011 which can conflict with char $ac_func (); below.
75012 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75013 <limits.h> exists even on freestanding compilers. */
75015 #ifdef __STDC__
75016 # include <limits.h>
75017 #else
75018 # include <assert.h>
75019 #endif
75021 #undef $ac_func
75023 /* Override any gcc2 internal prototype to avoid an error. */
75024 #ifdef __cplusplus
75025 extern "C"
75027 #endif
75028 /* We use char because int might match the return type of a gcc2
75029 builtin and then its argument prototype would still apply. */
75030 char $ac_func ();
75031 /* The GNU C library defines this for functions which it implements
75032 to always fail with ENOSYS. Some functions are actually named
75033 something starting with __ and the normal name is an alias. */
75034 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75035 choke me
75036 #else
75037 char (*f) () = $ac_func;
75038 #endif
75039 #ifdef __cplusplus
75041 #endif
75044 main ()
75046 return f != $ac_func;
75048 return 0;
75050 _ACEOF
75051 rm -f conftest.$ac_objext conftest$ac_exeext
75052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75053 (eval $ac_link) 2>conftest.er1
75054 ac_status=$?
75055 grep -v '^ *+' conftest.er1 >conftest.err
75056 rm -f conftest.er1
75057 cat conftest.err >&5
75058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75059 (exit $ac_status); } &&
75060 { ac_try='test -z "$ac_c_werror_flag"
75061 || test ! -s conftest.err'
75062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75063 (eval $ac_try) 2>&5
75064 ac_status=$?
75065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75066 (exit $ac_status); }; } &&
75067 { ac_try='test -s conftest$ac_exeext'
75068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75069 (eval $ac_try) 2>&5
75070 ac_status=$?
75071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75072 (exit $ac_status); }; }; then
75073 eval "$as_ac_var=yes"
75074 else
75075 echo "$as_me: failed program was:" >&5
75076 sed 's/^/| /' conftest.$ac_ext >&5
75078 eval "$as_ac_var=no"
75080 rm -f conftest.err conftest.$ac_objext \
75081 conftest$ac_exeext conftest.$ac_ext
75083 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75084 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75085 if test `eval echo '${'$as_ac_var'}'` = yes; then
75086 cat >>confdefs.h <<_ACEOF
75087 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75088 _ACEOF
75091 done
75099 echo "$as_me:$LINENO: checking for strtof declaration" >&5
75100 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
75101 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
75102 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
75103 echo $ECHO_N "(cached) $ECHO_C" >&6
75104 else
75108 ac_ext=cc
75109 ac_cpp='$CXXCPP $CPPFLAGS'
75110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75114 cat >conftest.$ac_ext <<_ACEOF
75115 /* confdefs.h. */
75116 _ACEOF
75117 cat confdefs.h >>conftest.$ac_ext
75118 cat >>conftest.$ac_ext <<_ACEOF
75119 /* end confdefs.h. */
75120 #include <stdlib.h>
75122 main ()
75124 strtof(0, 0);
75126 return 0;
75128 _ACEOF
75129 rm -f conftest.$ac_objext
75130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75131 (eval $ac_compile) 2>conftest.er1
75132 ac_status=$?
75133 grep -v '^ *+' conftest.er1 >conftest.err
75134 rm -f conftest.er1
75135 cat conftest.err >&5
75136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75137 (exit $ac_status); } &&
75138 { ac_try='test -z "$ac_cxx_werror_flag"
75139 || test ! -s conftest.err'
75140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75141 (eval $ac_try) 2>&5
75142 ac_status=$?
75143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75144 (exit $ac_status); }; } &&
75145 { ac_try='test -s conftest.$ac_objext'
75146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75147 (eval $ac_try) 2>&5
75148 ac_status=$?
75149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75150 (exit $ac_status); }; }; then
75151 glibcxx_cv_func_strtof_use=yes
75152 else
75153 echo "$as_me: failed program was:" >&5
75154 sed 's/^/| /' conftest.$ac_ext >&5
75156 glibcxx_cv_func_strtof_use=no
75158 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75159 ac_ext=c
75160 ac_cpp='$CPP $CPPFLAGS'
75161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75169 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
75170 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
75171 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
75173 for ac_func in strtof
75175 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75176 echo "$as_me:$LINENO: checking for $ac_func" >&5
75177 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75178 if eval "test \"\${$as_ac_var+set}\" = set"; then
75179 echo $ECHO_N "(cached) $ECHO_C" >&6
75180 else
75181 if test x$gcc_no_link = xyes; then
75182 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75183 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75184 { (exit 1); exit 1; }; }
75186 cat >conftest.$ac_ext <<_ACEOF
75187 /* confdefs.h. */
75188 _ACEOF
75189 cat confdefs.h >>conftest.$ac_ext
75190 cat >>conftest.$ac_ext <<_ACEOF
75191 /* end confdefs.h. */
75192 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75193 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75194 #define $ac_func innocuous_$ac_func
75196 /* System header to define __stub macros and hopefully few prototypes,
75197 which can conflict with char $ac_func (); below.
75198 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75199 <limits.h> exists even on freestanding compilers. */
75201 #ifdef __STDC__
75202 # include <limits.h>
75203 #else
75204 # include <assert.h>
75205 #endif
75207 #undef $ac_func
75209 /* Override any gcc2 internal prototype to avoid an error. */
75210 #ifdef __cplusplus
75211 extern "C"
75213 #endif
75214 /* We use char because int might match the return type of a gcc2
75215 builtin and then its argument prototype would still apply. */
75216 char $ac_func ();
75217 /* The GNU C library defines this for functions which it implements
75218 to always fail with ENOSYS. Some functions are actually named
75219 something starting with __ and the normal name is an alias. */
75220 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75221 choke me
75222 #else
75223 char (*f) () = $ac_func;
75224 #endif
75225 #ifdef __cplusplus
75227 #endif
75230 main ()
75232 return f != $ac_func;
75234 return 0;
75236 _ACEOF
75237 rm -f conftest.$ac_objext conftest$ac_exeext
75238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75239 (eval $ac_link) 2>conftest.er1
75240 ac_status=$?
75241 grep -v '^ *+' conftest.er1 >conftest.err
75242 rm -f conftest.er1
75243 cat conftest.err >&5
75244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75245 (exit $ac_status); } &&
75246 { ac_try='test -z "$ac_c_werror_flag"
75247 || test ! -s conftest.err'
75248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75249 (eval $ac_try) 2>&5
75250 ac_status=$?
75251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75252 (exit $ac_status); }; } &&
75253 { ac_try='test -s conftest$ac_exeext'
75254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75255 (eval $ac_try) 2>&5
75256 ac_status=$?
75257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75258 (exit $ac_status); }; }; then
75259 eval "$as_ac_var=yes"
75260 else
75261 echo "$as_me: failed program was:" >&5
75262 sed 's/^/| /' conftest.$ac_ext >&5
75264 eval "$as_ac_var=no"
75266 rm -f conftest.err conftest.$ac_objext \
75267 conftest$ac_exeext conftest.$ac_ext
75269 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75270 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75271 if test `eval echo '${'$as_ac_var'}'` = yes; then
75272 cat >>confdefs.h <<_ACEOF
75273 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75274 _ACEOF
75277 done
75285 CXXFLAGS="$ac_save_CXXFLAGS"
75288 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
75289 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
75290 if test "${glibcxx_cv_S_ISREG+set}" = set; then
75291 echo $ECHO_N "(cached) $ECHO_C" >&6
75292 else
75294 if test x$gcc_no_link = xyes; then
75295 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75296 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75297 { (exit 1); exit 1; }; }
75299 cat >conftest.$ac_ext <<_ACEOF
75300 /* confdefs.h. */
75301 _ACEOF
75302 cat confdefs.h >>conftest.$ac_ext
75303 cat >>conftest.$ac_ext <<_ACEOF
75304 /* end confdefs.h. */
75305 #include <sys/stat.h>
75307 main ()
75309 struct stat buffer;
75310 fstat(0, &buffer);
75311 S_ISREG(buffer.st_mode);
75313 return 0;
75315 _ACEOF
75316 rm -f conftest.$ac_objext conftest$ac_exeext
75317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75318 (eval $ac_link) 2>conftest.er1
75319 ac_status=$?
75320 grep -v '^ *+' conftest.er1 >conftest.err
75321 rm -f conftest.er1
75322 cat conftest.err >&5
75323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75324 (exit $ac_status); } &&
75325 { ac_try='test -z "$ac_c_werror_flag"
75326 || test ! -s conftest.err'
75327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75328 (eval $ac_try) 2>&5
75329 ac_status=$?
75330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75331 (exit $ac_status); }; } &&
75332 { ac_try='test -s conftest$ac_exeext'
75333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75334 (eval $ac_try) 2>&5
75335 ac_status=$?
75336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75337 (exit $ac_status); }; }; then
75338 glibcxx_cv_S_ISREG=yes
75339 else
75340 echo "$as_me: failed program was:" >&5
75341 sed 's/^/| /' conftest.$ac_ext >&5
75343 glibcxx_cv_S_ISREG=no
75345 rm -f conftest.err conftest.$ac_objext \
75346 conftest$ac_exeext conftest.$ac_ext
75350 if test "${glibcxx_cv_S_IFREG+set}" = set; then
75351 echo $ECHO_N "(cached) $ECHO_C" >&6
75352 else
75354 if test x$gcc_no_link = xyes; then
75355 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75356 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75357 { (exit 1); exit 1; }; }
75359 cat >conftest.$ac_ext <<_ACEOF
75360 /* confdefs.h. */
75361 _ACEOF
75362 cat confdefs.h >>conftest.$ac_ext
75363 cat >>conftest.$ac_ext <<_ACEOF
75364 /* end confdefs.h. */
75365 #include <sys/stat.h>
75367 main ()
75369 struct stat buffer;
75370 fstat(0, &buffer);
75371 S_IFREG & buffer.st_mode;
75373 return 0;
75375 _ACEOF
75376 rm -f conftest.$ac_objext conftest$ac_exeext
75377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75378 (eval $ac_link) 2>conftest.er1
75379 ac_status=$?
75380 grep -v '^ *+' conftest.er1 >conftest.err
75381 rm -f conftest.er1
75382 cat conftest.err >&5
75383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75384 (exit $ac_status); } &&
75385 { ac_try='test -z "$ac_c_werror_flag"
75386 || test ! -s conftest.err'
75387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75388 (eval $ac_try) 2>&5
75389 ac_status=$?
75390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75391 (exit $ac_status); }; } &&
75392 { ac_try='test -s conftest$ac_exeext'
75393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75394 (eval $ac_try) 2>&5
75395 ac_status=$?
75396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75397 (exit $ac_status); }; }; then
75398 glibcxx_cv_S_IFREG=yes
75399 else
75400 echo "$as_me: failed program was:" >&5
75401 sed 's/^/| /' conftest.$ac_ext >&5
75403 glibcxx_cv_S_IFREG=no
75405 rm -f conftest.err conftest.$ac_objext \
75406 conftest$ac_exeext conftest.$ac_ext
75410 res=no
75411 if test $glibcxx_cv_S_ISREG = yes; then
75413 cat >>confdefs.h <<\_ACEOF
75414 #define HAVE_S_ISREG 1
75415 _ACEOF
75417 res=S_ISREG
75418 elif test $glibcxx_cv_S_IFREG = yes; then
75420 cat >>confdefs.h <<\_ACEOF
75421 #define HAVE_S_IFREG 1
75422 _ACEOF
75424 res=S_IFREG
75426 echo "$as_me:$LINENO: result: $res" >&5
75427 echo "${ECHO_T}$res" >&6
75429 cat >>confdefs.h <<\_ACEOF
75430 #define HAVE_WRITEV 1
75431 _ACEOF
75435 *-freebsd*)
75452 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
75453 machine/endian.h machine/param.h sys/machine.h sys/types.h \
75454 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
75455 sys/time.h unistd.h
75457 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
75458 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75459 echo "$as_me:$LINENO: checking for $ac_header" >&5
75460 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75461 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75462 echo $ECHO_N "(cached) $ECHO_C" >&6
75464 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75465 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75466 else
75467 # Is the header compilable?
75468 echo "$as_me:$LINENO: checking $ac_header usability" >&5
75469 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
75470 cat >conftest.$ac_ext <<_ACEOF
75471 /* confdefs.h. */
75472 _ACEOF
75473 cat confdefs.h >>conftest.$ac_ext
75474 cat >>conftest.$ac_ext <<_ACEOF
75475 /* end confdefs.h. */
75476 $ac_includes_default
75477 #include <$ac_header>
75478 _ACEOF
75479 rm -f conftest.$ac_objext
75480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75481 (eval $ac_compile) 2>conftest.er1
75482 ac_status=$?
75483 grep -v '^ *+' conftest.er1 >conftest.err
75484 rm -f conftest.er1
75485 cat conftest.err >&5
75486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75487 (exit $ac_status); } &&
75488 { ac_try='test -z "$ac_c_werror_flag"
75489 || test ! -s conftest.err'
75490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75491 (eval $ac_try) 2>&5
75492 ac_status=$?
75493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75494 (exit $ac_status); }; } &&
75495 { ac_try='test -s conftest.$ac_objext'
75496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75497 (eval $ac_try) 2>&5
75498 ac_status=$?
75499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75500 (exit $ac_status); }; }; then
75501 ac_header_compiler=yes
75502 else
75503 echo "$as_me: failed program was:" >&5
75504 sed 's/^/| /' conftest.$ac_ext >&5
75506 ac_header_compiler=no
75508 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75509 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75510 echo "${ECHO_T}$ac_header_compiler" >&6
75512 # Is the header present?
75513 echo "$as_me:$LINENO: checking $ac_header presence" >&5
75514 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
75515 cat >conftest.$ac_ext <<_ACEOF
75516 /* confdefs.h. */
75517 _ACEOF
75518 cat confdefs.h >>conftest.$ac_ext
75519 cat >>conftest.$ac_ext <<_ACEOF
75520 /* end confdefs.h. */
75521 #include <$ac_header>
75522 _ACEOF
75523 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75524 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75525 ac_status=$?
75526 grep -v '^ *+' conftest.er1 >conftest.err
75527 rm -f conftest.er1
75528 cat conftest.err >&5
75529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75530 (exit $ac_status); } >/dev/null; then
75531 if test -s conftest.err; then
75532 ac_cpp_err=$ac_c_preproc_warn_flag
75533 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
75534 else
75535 ac_cpp_err=
75537 else
75538 ac_cpp_err=yes
75540 if test -z "$ac_cpp_err"; then
75541 ac_header_preproc=yes
75542 else
75543 echo "$as_me: failed program was:" >&5
75544 sed 's/^/| /' conftest.$ac_ext >&5
75546 ac_header_preproc=no
75548 rm -f conftest.err conftest.$ac_ext
75549 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75550 echo "${ECHO_T}$ac_header_preproc" >&6
75552 # So? What about this header?
75553 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
75554 yes:no: )
75555 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
75556 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
75557 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
75558 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
75559 ac_header_preproc=yes
75561 no:yes:* )
75562 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
75563 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
75564 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
75565 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
75566 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
75567 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
75568 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
75569 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
75570 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
75571 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
75572 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
75573 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
75575 cat <<\_ASBOX
75576 ## ----------------------------------------- ##
75577 ## Report this to the package-unused lists. ##
75578 ## ----------------------------------------- ##
75579 _ASBOX
75581 sed "s/^/$as_me: WARNING: /" >&2
75583 esac
75584 echo "$as_me:$LINENO: checking for $ac_header" >&5
75585 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75586 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75587 echo $ECHO_N "(cached) $ECHO_C" >&6
75588 else
75589 eval "$as_ac_Header=\$ac_header_preproc"
75591 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75592 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75595 if test `eval echo '${'$as_ac_Header'}'` = yes; then
75596 cat >>confdefs.h <<_ACEOF
75597 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
75598 _ACEOF
75602 done
75604 SECTION_FLAGS='-ffunction-sections -fdata-sections'
75607 # If we're not using GNU ld, then there's no point in even trying these
75608 # tests. Check for that first. We should have already tested for gld
75609 # by now (in libtool), but require it now just to be safe...
75610 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
75611 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
75615 # The name set by libtool depends on the version of libtool. Shame on us
75616 # for depending on an impl detail, but c'est la vie. Older versions used
75617 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
75618 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
75619 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
75620 # set (hence we're using an older libtool), then set it.
75621 if test x${with_gnu_ld+set} != xset; then
75622 if test x${ac_cv_prog_gnu_ld+set} != xset; then
75623 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
75624 with_gnu_ld=no
75625 else
75626 with_gnu_ld=$ac_cv_prog_gnu_ld
75630 # Start by getting the version number. I think the libtool test already
75631 # does some of this, but throws away the result.
75632 echo "$as_me:$LINENO: checking for ld version" >&5
75633 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
75635 ldver=`$LD --version 2>/dev/null | head -1 | \
75636 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
75638 glibcxx_gnu_ld_version=`echo $ldver | \
75639 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
75640 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
75641 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
75643 # Set --gc-sections.
75644 glibcxx_gcsections_min_ld=21602
75645 if test x"$with_gnu_ld" = x"yes" &&
75646 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
75648 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
75649 # NB: This flag only works reliably after 2.16.1. Configure tests
75650 # for this are difficult, so hard wire a value that should work.
75652 # All these tests are for C++, but run with the "C" compiler driver.
75653 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
75654 ac_test_CFLAGS="${CFLAGS+set}"
75655 ac_save_CFLAGS="$CFLAGS"
75656 CFLAGS='-x c++ -Wl,--gc-sections'
75658 # Check for -Wl,--gc-sections
75659 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
75660 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
75661 if test x$gcc_no_link = xyes; then
75662 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75663 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75664 { (exit 1); exit 1; }; }
75666 cat >conftest.$ac_ext <<_ACEOF
75667 /* confdefs.h. */
75668 _ACEOF
75669 cat confdefs.h >>conftest.$ac_ext
75670 cat >>conftest.$ac_ext <<_ACEOF
75671 /* end confdefs.h. */
75672 int one(void) { return 1; }
75673 int two(void) { return 2; }
75676 main ()
75678 two();
75680 return 0;
75682 _ACEOF
75683 rm -f conftest.$ac_objext conftest$ac_exeext
75684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75685 (eval $ac_link) 2>conftest.er1
75686 ac_status=$?
75687 grep -v '^ *+' conftest.er1 >conftest.err
75688 rm -f conftest.er1
75689 cat conftest.err >&5
75690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75691 (exit $ac_status); } &&
75692 { ac_try='test -z "$ac_c_werror_flag"
75693 || test ! -s conftest.err'
75694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75695 (eval $ac_try) 2>&5
75696 ac_status=$?
75697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75698 (exit $ac_status); }; } &&
75699 { ac_try='test -s conftest$ac_exeext'
75700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75701 (eval $ac_try) 2>&5
75702 ac_status=$?
75703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75704 (exit $ac_status); }; }; then
75705 ac_gcsections=yes
75706 else
75707 echo "$as_me: failed program was:" >&5
75708 sed 's/^/| /' conftest.$ac_ext >&5
75710 ac_gcsections=no
75712 rm -f conftest.err conftest.$ac_objext \
75713 conftest$ac_exeext conftest.$ac_ext
75714 if test "$ac_gcsections" = "yes"; then
75715 rm -f conftest.c
75716 touch conftest.c
75717 if $CC -c conftest.c; then
75718 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
75719 grep "Warning: gc-sections option ignored" > /dev/null; then
75720 ac_gcsections=no
75723 rm -f conftest.c conftest.o conftest
75725 if test "$ac_gcsections" = "yes"; then
75726 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
75728 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
75729 echo "${ECHO_T}$ac_gcsections" >&6
75731 if test "$ac_test_CFLAGS" = set; then
75732 CFLAGS="$ac_save_CFLAGS"
75733 else
75734 # this is the suspicious part
75735 CFLAGS=''
75739 # Set -z,relro.
75740 # Note this is only for shared objects.
75741 ac_ld_relro=no
75742 if test x"$with_gnu_ld" = x"yes"; then
75743 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
75744 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
75745 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
75746 if test -n "$cxx_z_relo"; then
75747 OPT_LDFLAGS="-Wl,-z,relro"
75748 ac_ld_relro=yes
75750 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
75751 echo "${ECHO_T}$ac_ld_relro" >&6
75754 # Set linker optimization flags.
75755 if test x"$with_gnu_ld" = x"yes"; then
75756 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
75764 echo "$as_me:$LINENO: checking for main in -lm" >&5
75765 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
75766 if test "${ac_cv_lib_m_main+set}" = set; then
75767 echo $ECHO_N "(cached) $ECHO_C" >&6
75768 else
75769 ac_check_lib_save_LIBS=$LIBS
75770 LIBS="-lm $LIBS"
75771 if test x$gcc_no_link = xyes; then
75772 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75773 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75774 { (exit 1); exit 1; }; }
75776 cat >conftest.$ac_ext <<_ACEOF
75777 /* confdefs.h. */
75778 _ACEOF
75779 cat confdefs.h >>conftest.$ac_ext
75780 cat >>conftest.$ac_ext <<_ACEOF
75781 /* end confdefs.h. */
75785 main ()
75787 main ();
75789 return 0;
75791 _ACEOF
75792 rm -f conftest.$ac_objext conftest$ac_exeext
75793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75794 (eval $ac_link) 2>conftest.er1
75795 ac_status=$?
75796 grep -v '^ *+' conftest.er1 >conftest.err
75797 rm -f conftest.er1
75798 cat conftest.err >&5
75799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75800 (exit $ac_status); } &&
75801 { ac_try='test -z "$ac_c_werror_flag"
75802 || test ! -s conftest.err'
75803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75804 (eval $ac_try) 2>&5
75805 ac_status=$?
75806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75807 (exit $ac_status); }; } &&
75808 { ac_try='test -s conftest$ac_exeext'
75809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75810 (eval $ac_try) 2>&5
75811 ac_status=$?
75812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75813 (exit $ac_status); }; }; then
75814 ac_cv_lib_m_main=yes
75815 else
75816 echo "$as_me: failed program was:" >&5
75817 sed 's/^/| /' conftest.$ac_ext >&5
75819 ac_cv_lib_m_main=no
75821 rm -f conftest.err conftest.$ac_objext \
75822 conftest$ac_exeext conftest.$ac_ext
75823 LIBS=$ac_check_lib_save_LIBS
75825 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
75826 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
75827 if test $ac_cv_lib_m_main = yes; then
75828 cat >>confdefs.h <<_ACEOF
75829 #define HAVE_LIBM 1
75830 _ACEOF
75832 LIBS="-lm $LIBS"
75837 for ac_func in copysignf
75839 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75840 echo "$as_me:$LINENO: checking for $ac_func" >&5
75841 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75842 if eval "test \"\${$as_ac_var+set}\" = set"; then
75843 echo $ECHO_N "(cached) $ECHO_C" >&6
75844 else
75845 if test x$gcc_no_link = xyes; then
75846 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75847 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75848 { (exit 1); exit 1; }; }
75850 cat >conftest.$ac_ext <<_ACEOF
75851 /* confdefs.h. */
75852 _ACEOF
75853 cat confdefs.h >>conftest.$ac_ext
75854 cat >>conftest.$ac_ext <<_ACEOF
75855 /* end confdefs.h. */
75856 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75857 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75858 #define $ac_func innocuous_$ac_func
75860 /* System header to define __stub macros and hopefully few prototypes,
75861 which can conflict with char $ac_func (); below.
75862 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75863 <limits.h> exists even on freestanding compilers. */
75865 #ifdef __STDC__
75866 # include <limits.h>
75867 #else
75868 # include <assert.h>
75869 #endif
75871 #undef $ac_func
75873 /* Override any gcc2 internal prototype to avoid an error. */
75874 #ifdef __cplusplus
75875 extern "C"
75877 #endif
75878 /* We use char because int might match the return type of a gcc2
75879 builtin and then its argument prototype would still apply. */
75880 char $ac_func ();
75881 /* The GNU C library defines this for functions which it implements
75882 to always fail with ENOSYS. Some functions are actually named
75883 something starting with __ and the normal name is an alias. */
75884 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75885 choke me
75886 #else
75887 char (*f) () = $ac_func;
75888 #endif
75889 #ifdef __cplusplus
75891 #endif
75894 main ()
75896 return f != $ac_func;
75898 return 0;
75900 _ACEOF
75901 rm -f conftest.$ac_objext conftest$ac_exeext
75902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75903 (eval $ac_link) 2>conftest.er1
75904 ac_status=$?
75905 grep -v '^ *+' conftest.er1 >conftest.err
75906 rm -f conftest.er1
75907 cat conftest.err >&5
75908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75909 (exit $ac_status); } &&
75910 { ac_try='test -z "$ac_c_werror_flag"
75911 || test ! -s conftest.err'
75912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75913 (eval $ac_try) 2>&5
75914 ac_status=$?
75915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75916 (exit $ac_status); }; } &&
75917 { ac_try='test -s conftest$ac_exeext'
75918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75919 (eval $ac_try) 2>&5
75920 ac_status=$?
75921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75922 (exit $ac_status); }; }; then
75923 eval "$as_ac_var=yes"
75924 else
75925 echo "$as_me: failed program was:" >&5
75926 sed 's/^/| /' conftest.$ac_ext >&5
75928 eval "$as_ac_var=no"
75930 rm -f conftest.err conftest.$ac_objext \
75931 conftest$ac_exeext conftest.$ac_ext
75933 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75934 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75935 if test `eval echo '${'$as_ac_var'}'` = yes; then
75936 cat >>confdefs.h <<_ACEOF
75937 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75938 _ACEOF
75940 else
75941 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
75943 done
75947 for ac_func in __signbit
75949 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75950 echo "$as_me:$LINENO: checking for $ac_func" >&5
75951 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75952 if eval "test \"\${$as_ac_var+set}\" = set"; then
75953 echo $ECHO_N "(cached) $ECHO_C" >&6
75954 else
75955 if test x$gcc_no_link = xyes; then
75956 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75957 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75958 { (exit 1); exit 1; }; }
75960 cat >conftest.$ac_ext <<_ACEOF
75961 /* confdefs.h. */
75962 _ACEOF
75963 cat confdefs.h >>conftest.$ac_ext
75964 cat >>conftest.$ac_ext <<_ACEOF
75965 /* end confdefs.h. */
75966 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75967 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75968 #define $ac_func innocuous_$ac_func
75970 /* System header to define __stub macros and hopefully few prototypes,
75971 which can conflict with char $ac_func (); below.
75972 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75973 <limits.h> exists even on freestanding compilers. */
75975 #ifdef __STDC__
75976 # include <limits.h>
75977 #else
75978 # include <assert.h>
75979 #endif
75981 #undef $ac_func
75983 /* Override any gcc2 internal prototype to avoid an error. */
75984 #ifdef __cplusplus
75985 extern "C"
75987 #endif
75988 /* We use char because int might match the return type of a gcc2
75989 builtin and then its argument prototype would still apply. */
75990 char $ac_func ();
75991 /* The GNU C library defines this for functions which it implements
75992 to always fail with ENOSYS. Some functions are actually named
75993 something starting with __ and the normal name is an alias. */
75994 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75995 choke me
75996 #else
75997 char (*f) () = $ac_func;
75998 #endif
75999 #ifdef __cplusplus
76001 #endif
76004 main ()
76006 return f != $ac_func;
76008 return 0;
76010 _ACEOF
76011 rm -f conftest.$ac_objext conftest$ac_exeext
76012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76013 (eval $ac_link) 2>conftest.er1
76014 ac_status=$?
76015 grep -v '^ *+' conftest.er1 >conftest.err
76016 rm -f conftest.er1
76017 cat conftest.err >&5
76018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76019 (exit $ac_status); } &&
76020 { ac_try='test -z "$ac_c_werror_flag"
76021 || test ! -s conftest.err'
76022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76023 (eval $ac_try) 2>&5
76024 ac_status=$?
76025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76026 (exit $ac_status); }; } &&
76027 { ac_try='test -s conftest$ac_exeext'
76028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76029 (eval $ac_try) 2>&5
76030 ac_status=$?
76031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76032 (exit $ac_status); }; }; then
76033 eval "$as_ac_var=yes"
76034 else
76035 echo "$as_me: failed program was:" >&5
76036 sed 's/^/| /' conftest.$ac_ext >&5
76038 eval "$as_ac_var=no"
76040 rm -f conftest.err conftest.$ac_objext \
76041 conftest$ac_exeext conftest.$ac_ext
76043 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76044 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76045 if test `eval echo '${'$as_ac_var'}'` = yes; then
76046 cat >>confdefs.h <<_ACEOF
76047 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76048 _ACEOF
76050 else
76051 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
76053 done
76057 for ac_func in __signbitf
76059 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76060 echo "$as_me:$LINENO: checking for $ac_func" >&5
76061 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76062 if eval "test \"\${$as_ac_var+set}\" = set"; then
76063 echo $ECHO_N "(cached) $ECHO_C" >&6
76064 else
76065 if test x$gcc_no_link = xyes; then
76066 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76067 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76068 { (exit 1); exit 1; }; }
76070 cat >conftest.$ac_ext <<_ACEOF
76071 /* confdefs.h. */
76072 _ACEOF
76073 cat confdefs.h >>conftest.$ac_ext
76074 cat >>conftest.$ac_ext <<_ACEOF
76075 /* end confdefs.h. */
76076 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76077 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76078 #define $ac_func innocuous_$ac_func
76080 /* System header to define __stub macros and hopefully few prototypes,
76081 which can conflict with char $ac_func (); below.
76082 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76083 <limits.h> exists even on freestanding compilers. */
76085 #ifdef __STDC__
76086 # include <limits.h>
76087 #else
76088 # include <assert.h>
76089 #endif
76091 #undef $ac_func
76093 /* Override any gcc2 internal prototype to avoid an error. */
76094 #ifdef __cplusplus
76095 extern "C"
76097 #endif
76098 /* We use char because int might match the return type of a gcc2
76099 builtin and then its argument prototype would still apply. */
76100 char $ac_func ();
76101 /* The GNU C library defines this for functions which it implements
76102 to always fail with ENOSYS. Some functions are actually named
76103 something starting with __ and the normal name is an alias. */
76104 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76105 choke me
76106 #else
76107 char (*f) () = $ac_func;
76108 #endif
76109 #ifdef __cplusplus
76111 #endif
76114 main ()
76116 return f != $ac_func;
76118 return 0;
76120 _ACEOF
76121 rm -f conftest.$ac_objext conftest$ac_exeext
76122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76123 (eval $ac_link) 2>conftest.er1
76124 ac_status=$?
76125 grep -v '^ *+' conftest.er1 >conftest.err
76126 rm -f conftest.er1
76127 cat conftest.err >&5
76128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76129 (exit $ac_status); } &&
76130 { ac_try='test -z "$ac_c_werror_flag"
76131 || test ! -s conftest.err'
76132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76133 (eval $ac_try) 2>&5
76134 ac_status=$?
76135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76136 (exit $ac_status); }; } &&
76137 { ac_try='test -s conftest$ac_exeext'
76138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76139 (eval $ac_try) 2>&5
76140 ac_status=$?
76141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76142 (exit $ac_status); }; }; then
76143 eval "$as_ac_var=yes"
76144 else
76145 echo "$as_me: failed program was:" >&5
76146 sed 's/^/| /' conftest.$ac_ext >&5
76148 eval "$as_ac_var=no"
76150 rm -f conftest.err conftest.$ac_objext \
76151 conftest$ac_exeext conftest.$ac_ext
76153 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76154 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76155 if test `eval echo '${'$as_ac_var'}'` = yes; then
76156 cat >>confdefs.h <<_ACEOF
76157 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76158 _ACEOF
76160 else
76161 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
76163 done
76166 if test x$ac_cv_func_copysignl = x"yes"; then
76168 for ac_func in __signbitl
76170 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76171 echo "$as_me:$LINENO: checking for $ac_func" >&5
76172 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76173 if eval "test \"\${$as_ac_var+set}\" = set"; then
76174 echo $ECHO_N "(cached) $ECHO_C" >&6
76175 else
76176 if test x$gcc_no_link = xyes; then
76177 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76178 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76179 { (exit 1); exit 1; }; }
76181 cat >conftest.$ac_ext <<_ACEOF
76182 /* confdefs.h. */
76183 _ACEOF
76184 cat confdefs.h >>conftest.$ac_ext
76185 cat >>conftest.$ac_ext <<_ACEOF
76186 /* end confdefs.h. */
76187 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76188 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76189 #define $ac_func innocuous_$ac_func
76191 /* System header to define __stub macros and hopefully few prototypes,
76192 which can conflict with char $ac_func (); below.
76193 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76194 <limits.h> exists even on freestanding compilers. */
76196 #ifdef __STDC__
76197 # include <limits.h>
76198 #else
76199 # include <assert.h>
76200 #endif
76202 #undef $ac_func
76204 /* Override any gcc2 internal prototype to avoid an error. */
76205 #ifdef __cplusplus
76206 extern "C"
76208 #endif
76209 /* We use char because int might match the return type of a gcc2
76210 builtin and then its argument prototype would still apply. */
76211 char $ac_func ();
76212 /* The GNU C library defines this for functions which it implements
76213 to always fail with ENOSYS. Some functions are actually named
76214 something starting with __ and the normal name is an alias. */
76215 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76216 choke me
76217 #else
76218 char (*f) () = $ac_func;
76219 #endif
76220 #ifdef __cplusplus
76222 #endif
76225 main ()
76227 return f != $ac_func;
76229 return 0;
76231 _ACEOF
76232 rm -f conftest.$ac_objext conftest$ac_exeext
76233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76234 (eval $ac_link) 2>conftest.er1
76235 ac_status=$?
76236 grep -v '^ *+' conftest.er1 >conftest.err
76237 rm -f conftest.er1
76238 cat conftest.err >&5
76239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76240 (exit $ac_status); } &&
76241 { ac_try='test -z "$ac_c_werror_flag"
76242 || test ! -s conftest.err'
76243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76244 (eval $ac_try) 2>&5
76245 ac_status=$?
76246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76247 (exit $ac_status); }; } &&
76248 { ac_try='test -s conftest$ac_exeext'
76249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76250 (eval $ac_try) 2>&5
76251 ac_status=$?
76252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76253 (exit $ac_status); }; }; then
76254 eval "$as_ac_var=yes"
76255 else
76256 echo "$as_me: failed program was:" >&5
76257 sed 's/^/| /' conftest.$ac_ext >&5
76259 eval "$as_ac_var=no"
76261 rm -f conftest.err conftest.$ac_objext \
76262 conftest$ac_exeext conftest.$ac_ext
76264 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76265 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76266 if test `eval echo '${'$as_ac_var'}'` = yes; then
76267 cat >>confdefs.h <<_ACEOF
76268 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76269 _ACEOF
76271 else
76272 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
76274 done
76278 # Used in libmath/Makefile.am.
76279 if test -n "$LIBMATHOBJS"; then
76280 need_libmath=yes
76286 enable_iconv=no
76287 # Only continue checking if the ISO C99 headers exist and support is on.
76288 if test x"$enable_wchar_t" = xyes; then
76290 # Use iconv for wchar_t to char conversions. As such, check for
76291 # X/Open Portability Guide, version 2 features (XPG2).
76292 if test "${ac_cv_header_iconv_h+set}" = set; then
76293 echo "$as_me:$LINENO: checking for iconv.h" >&5
76294 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
76295 if test "${ac_cv_header_iconv_h+set}" = set; then
76296 echo $ECHO_N "(cached) $ECHO_C" >&6
76298 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
76299 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
76300 else
76301 # Is the header compilable?
76302 echo "$as_me:$LINENO: checking iconv.h usability" >&5
76303 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
76304 cat >conftest.$ac_ext <<_ACEOF
76305 /* confdefs.h. */
76306 _ACEOF
76307 cat confdefs.h >>conftest.$ac_ext
76308 cat >>conftest.$ac_ext <<_ACEOF
76309 /* end confdefs.h. */
76310 $ac_includes_default
76311 #include <iconv.h>
76312 _ACEOF
76313 rm -f conftest.$ac_objext
76314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76315 (eval $ac_compile) 2>conftest.er1
76316 ac_status=$?
76317 grep -v '^ *+' conftest.er1 >conftest.err
76318 rm -f conftest.er1
76319 cat conftest.err >&5
76320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76321 (exit $ac_status); } &&
76322 { ac_try='test -z "$ac_c_werror_flag"
76323 || test ! -s conftest.err'
76324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76325 (eval $ac_try) 2>&5
76326 ac_status=$?
76327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76328 (exit $ac_status); }; } &&
76329 { ac_try='test -s conftest.$ac_objext'
76330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76331 (eval $ac_try) 2>&5
76332 ac_status=$?
76333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76334 (exit $ac_status); }; }; then
76335 ac_header_compiler=yes
76336 else
76337 echo "$as_me: failed program was:" >&5
76338 sed 's/^/| /' conftest.$ac_ext >&5
76340 ac_header_compiler=no
76342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76343 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76344 echo "${ECHO_T}$ac_header_compiler" >&6
76346 # Is the header present?
76347 echo "$as_me:$LINENO: checking iconv.h presence" >&5
76348 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
76349 cat >conftest.$ac_ext <<_ACEOF
76350 /* confdefs.h. */
76351 _ACEOF
76352 cat confdefs.h >>conftest.$ac_ext
76353 cat >>conftest.$ac_ext <<_ACEOF
76354 /* end confdefs.h. */
76355 #include <iconv.h>
76356 _ACEOF
76357 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76358 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76359 ac_status=$?
76360 grep -v '^ *+' conftest.er1 >conftest.err
76361 rm -f conftest.er1
76362 cat conftest.err >&5
76363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76364 (exit $ac_status); } >/dev/null; then
76365 if test -s conftest.err; then
76366 ac_cpp_err=$ac_c_preproc_warn_flag
76367 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76368 else
76369 ac_cpp_err=
76371 else
76372 ac_cpp_err=yes
76374 if test -z "$ac_cpp_err"; then
76375 ac_header_preproc=yes
76376 else
76377 echo "$as_me: failed program was:" >&5
76378 sed 's/^/| /' conftest.$ac_ext >&5
76380 ac_header_preproc=no
76382 rm -f conftest.err conftest.$ac_ext
76383 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76384 echo "${ECHO_T}$ac_header_preproc" >&6
76386 # So? What about this header?
76387 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76388 yes:no: )
76389 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
76390 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
76391 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
76392 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
76393 ac_header_preproc=yes
76395 no:yes:* )
76396 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
76397 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
76398 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
76399 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
76400 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
76401 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
76402 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
76403 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
76404 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
76405 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
76406 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
76407 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
76409 cat <<\_ASBOX
76410 ## ----------------------------------------- ##
76411 ## Report this to the package-unused lists. ##
76412 ## ----------------------------------------- ##
76413 _ASBOX
76415 sed "s/^/$as_me: WARNING: /" >&2
76417 esac
76418 echo "$as_me:$LINENO: checking for iconv.h" >&5
76419 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
76420 if test "${ac_cv_header_iconv_h+set}" = set; then
76421 echo $ECHO_N "(cached) $ECHO_C" >&6
76422 else
76423 ac_cv_header_iconv_h=$ac_header_preproc
76425 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
76426 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
76429 if test $ac_cv_header_iconv_h = yes; then
76430 ac_has_iconv_h=yes
76431 else
76432 ac_has_iconv_h=no
76436 if test "${ac_cv_header_langinfo_h+set}" = set; then
76437 echo "$as_me:$LINENO: checking for langinfo.h" >&5
76438 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
76439 if test "${ac_cv_header_langinfo_h+set}" = set; then
76440 echo $ECHO_N "(cached) $ECHO_C" >&6
76442 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
76443 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
76444 else
76445 # Is the header compilable?
76446 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
76447 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
76448 cat >conftest.$ac_ext <<_ACEOF
76449 /* confdefs.h. */
76450 _ACEOF
76451 cat confdefs.h >>conftest.$ac_ext
76452 cat >>conftest.$ac_ext <<_ACEOF
76453 /* end confdefs.h. */
76454 $ac_includes_default
76455 #include <langinfo.h>
76456 _ACEOF
76457 rm -f conftest.$ac_objext
76458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76459 (eval $ac_compile) 2>conftest.er1
76460 ac_status=$?
76461 grep -v '^ *+' conftest.er1 >conftest.err
76462 rm -f conftest.er1
76463 cat conftest.err >&5
76464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76465 (exit $ac_status); } &&
76466 { ac_try='test -z "$ac_c_werror_flag"
76467 || test ! -s conftest.err'
76468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76469 (eval $ac_try) 2>&5
76470 ac_status=$?
76471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76472 (exit $ac_status); }; } &&
76473 { ac_try='test -s conftest.$ac_objext'
76474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76475 (eval $ac_try) 2>&5
76476 ac_status=$?
76477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76478 (exit $ac_status); }; }; then
76479 ac_header_compiler=yes
76480 else
76481 echo "$as_me: failed program was:" >&5
76482 sed 's/^/| /' conftest.$ac_ext >&5
76484 ac_header_compiler=no
76486 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76487 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76488 echo "${ECHO_T}$ac_header_compiler" >&6
76490 # Is the header present?
76491 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
76492 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
76493 cat >conftest.$ac_ext <<_ACEOF
76494 /* confdefs.h. */
76495 _ACEOF
76496 cat confdefs.h >>conftest.$ac_ext
76497 cat >>conftest.$ac_ext <<_ACEOF
76498 /* end confdefs.h. */
76499 #include <langinfo.h>
76500 _ACEOF
76501 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76502 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76503 ac_status=$?
76504 grep -v '^ *+' conftest.er1 >conftest.err
76505 rm -f conftest.er1
76506 cat conftest.err >&5
76507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76508 (exit $ac_status); } >/dev/null; then
76509 if test -s conftest.err; then
76510 ac_cpp_err=$ac_c_preproc_warn_flag
76511 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76512 else
76513 ac_cpp_err=
76515 else
76516 ac_cpp_err=yes
76518 if test -z "$ac_cpp_err"; then
76519 ac_header_preproc=yes
76520 else
76521 echo "$as_me: failed program was:" >&5
76522 sed 's/^/| /' conftest.$ac_ext >&5
76524 ac_header_preproc=no
76526 rm -f conftest.err conftest.$ac_ext
76527 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76528 echo "${ECHO_T}$ac_header_preproc" >&6
76530 # So? What about this header?
76531 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76532 yes:no: )
76533 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
76534 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
76535 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
76536 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
76537 ac_header_preproc=yes
76539 no:yes:* )
76540 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
76541 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
76542 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
76543 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
76544 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
76545 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
76546 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
76547 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
76548 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
76549 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
76550 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
76551 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
76553 cat <<\_ASBOX
76554 ## ----------------------------------------- ##
76555 ## Report this to the package-unused lists. ##
76556 ## ----------------------------------------- ##
76557 _ASBOX
76559 sed "s/^/$as_me: WARNING: /" >&2
76561 esac
76562 echo "$as_me:$LINENO: checking for langinfo.h" >&5
76563 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
76564 if test "${ac_cv_header_langinfo_h+set}" = set; then
76565 echo $ECHO_N "(cached) $ECHO_C" >&6
76566 else
76567 ac_cv_header_langinfo_h=$ac_header_preproc
76569 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
76570 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
76573 if test $ac_cv_header_langinfo_h = yes; then
76574 ac_has_langinfo_h=yes
76575 else
76576 ac_has_langinfo_h=no
76581 # Check for existence of libiconv.a providing XPG2 wchar_t support.
76582 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
76583 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
76584 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
76585 echo $ECHO_N "(cached) $ECHO_C" >&6
76586 else
76587 ac_check_lib_save_LIBS=$LIBS
76588 LIBS="-liconv $LIBS"
76589 if test x$gcc_no_link = xyes; then
76590 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76591 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76592 { (exit 1); exit 1; }; }
76594 cat >conftest.$ac_ext <<_ACEOF
76595 /* confdefs.h. */
76596 _ACEOF
76597 cat confdefs.h >>conftest.$ac_ext
76598 cat >>conftest.$ac_ext <<_ACEOF
76599 /* end confdefs.h. */
76601 /* Override any gcc2 internal prototype to avoid an error. */
76602 #ifdef __cplusplus
76603 extern "C"
76604 #endif
76605 /* We use char because int might match the return type of a gcc2
76606 builtin and then its argument prototype would still apply. */
76607 char iconv ();
76609 main ()
76611 iconv ();
76613 return 0;
76615 _ACEOF
76616 rm -f conftest.$ac_objext conftest$ac_exeext
76617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76618 (eval $ac_link) 2>conftest.er1
76619 ac_status=$?
76620 grep -v '^ *+' conftest.er1 >conftest.err
76621 rm -f conftest.er1
76622 cat conftest.err >&5
76623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76624 (exit $ac_status); } &&
76625 { ac_try='test -z "$ac_c_werror_flag"
76626 || test ! -s conftest.err'
76627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76628 (eval $ac_try) 2>&5
76629 ac_status=$?
76630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76631 (exit $ac_status); }; } &&
76632 { ac_try='test -s conftest$ac_exeext'
76633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76634 (eval $ac_try) 2>&5
76635 ac_status=$?
76636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76637 (exit $ac_status); }; }; then
76638 ac_cv_lib_iconv_iconv=yes
76639 else
76640 echo "$as_me: failed program was:" >&5
76641 sed 's/^/| /' conftest.$ac_ext >&5
76643 ac_cv_lib_iconv_iconv=no
76645 rm -f conftest.err conftest.$ac_objext \
76646 conftest$ac_exeext conftest.$ac_ext
76647 LIBS=$ac_check_lib_save_LIBS
76649 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
76650 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
76651 if test $ac_cv_lib_iconv_iconv = yes; then
76652 LIBICONV="-liconv"
76655 ac_save_LIBS="$LIBS"
76656 LIBS="$LIBS $LIBICONV"
76663 for ac_func in iconv_open iconv_close iconv nl_langinfo
76665 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76666 echo "$as_me:$LINENO: checking for $ac_func" >&5
76667 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76668 if eval "test \"\${$as_ac_var+set}\" = set"; then
76669 echo $ECHO_N "(cached) $ECHO_C" >&6
76670 else
76671 if test x$gcc_no_link = xyes; then
76672 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76673 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76674 { (exit 1); exit 1; }; }
76676 cat >conftest.$ac_ext <<_ACEOF
76677 /* confdefs.h. */
76678 _ACEOF
76679 cat confdefs.h >>conftest.$ac_ext
76680 cat >>conftest.$ac_ext <<_ACEOF
76681 /* end confdefs.h. */
76682 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76683 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76684 #define $ac_func innocuous_$ac_func
76686 /* System header to define __stub macros and hopefully few prototypes,
76687 which can conflict with char $ac_func (); below.
76688 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76689 <limits.h> exists even on freestanding compilers. */
76691 #ifdef __STDC__
76692 # include <limits.h>
76693 #else
76694 # include <assert.h>
76695 #endif
76697 #undef $ac_func
76699 /* Override any gcc2 internal prototype to avoid an error. */
76700 #ifdef __cplusplus
76701 extern "C"
76703 #endif
76704 /* We use char because int might match the return type of a gcc2
76705 builtin and then its argument prototype would still apply. */
76706 char $ac_func ();
76707 /* The GNU C library defines this for functions which it implements
76708 to always fail with ENOSYS. Some functions are actually named
76709 something starting with __ and the normal name is an alias. */
76710 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76711 choke me
76712 #else
76713 char (*f) () = $ac_func;
76714 #endif
76715 #ifdef __cplusplus
76717 #endif
76720 main ()
76722 return f != $ac_func;
76724 return 0;
76726 _ACEOF
76727 rm -f conftest.$ac_objext conftest$ac_exeext
76728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76729 (eval $ac_link) 2>conftest.er1
76730 ac_status=$?
76731 grep -v '^ *+' conftest.er1 >conftest.err
76732 rm -f conftest.er1
76733 cat conftest.err >&5
76734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76735 (exit $ac_status); } &&
76736 { ac_try='test -z "$ac_c_werror_flag"
76737 || test ! -s conftest.err'
76738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76739 (eval $ac_try) 2>&5
76740 ac_status=$?
76741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76742 (exit $ac_status); }; } &&
76743 { ac_try='test -s conftest$ac_exeext'
76744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76745 (eval $ac_try) 2>&5
76746 ac_status=$?
76747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76748 (exit $ac_status); }; }; then
76749 eval "$as_ac_var=yes"
76750 else
76751 echo "$as_me: failed program was:" >&5
76752 sed 's/^/| /' conftest.$ac_ext >&5
76754 eval "$as_ac_var=no"
76756 rm -f conftest.err conftest.$ac_objext \
76757 conftest$ac_exeext conftest.$ac_ext
76759 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76760 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76761 if test `eval echo '${'$as_ac_var'}'` = yes; then
76762 cat >>confdefs.h <<_ACEOF
76763 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76764 _ACEOF
76765 ac_XPG2funcs=yes
76766 else
76767 ac_XPG2funcs=no
76769 done
76772 LIBS="$ac_save_LIBS"
76774 if test x"$ac_has_iconv_h" = xyes &&
76775 test x"$ac_has_langinfo_h" = xyes &&
76776 test x"$ac_XPG2funcs" = xyes;
76777 then
76779 cat >>confdefs.h <<\_ACEOF
76780 #define _GLIBCXX_USE_ICONV 1
76781 _ACEOF
76783 enable_iconv=yes
76786 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
76787 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
76788 echo "$as_me:$LINENO: result: $enable_iconv" >&5
76789 echo "${ECHO_T}$enable_iconv" >&6
76791 cat >>confdefs.h <<\_ACEOF
76792 #define HAVE_LC_MESSAGES 1
76793 _ACEOF
76795 cat >>confdefs.h <<\_ACEOF
76796 #define HAVE_GETPAGESIZE 1
76797 _ACEOF
76799 cat >>confdefs.h <<\_ACEOF
76800 #define HAVE_SETENV 1
76801 _ACEOF
76803 cat >>confdefs.h <<\_ACEOF
76804 #define HAVE_SIGSETJMP 1
76805 _ACEOF
76807 cat >>confdefs.h <<\_ACEOF
76808 #define HAVE_COPYSIGN 1
76809 _ACEOF
76811 cat >>confdefs.h <<\_ACEOF
76812 #define HAVE_COPYSIGNF 1
76813 _ACEOF
76815 cat >>confdefs.h <<\_ACEOF
76816 #define HAVE_FINITEF 1
76817 _ACEOF
76819 cat >>confdefs.h <<\_ACEOF
76820 #define HAVE_FINITE 1
76821 _ACEOF
76823 cat >>confdefs.h <<\_ACEOF
76824 #define HAVE_FREXPF 1
76825 _ACEOF
76827 cat >>confdefs.h <<\_ACEOF
76828 #define HAVE_HYPOT 1
76829 _ACEOF
76831 cat >>confdefs.h <<\_ACEOF
76832 #define HAVE_HYPOTF 1
76833 _ACEOF
76835 cat >>confdefs.h <<\_ACEOF
76836 #define HAVE_ISINF 1
76837 _ACEOF
76839 cat >>confdefs.h <<\_ACEOF
76840 #define HAVE_ISNAN 1
76841 _ACEOF
76843 cat >>confdefs.h <<\_ACEOF
76844 #define HAVE_ISNANF 1
76845 _ACEOF
76848 cat >>confdefs.h <<\_ACEOF
76849 #define HAVE_MMAP 1
76850 _ACEOF
76852 cat >>confdefs.h <<\_ACEOF
76853 #define HAVE_ACOSF 1
76854 _ACEOF
76856 cat >>confdefs.h <<\_ACEOF
76857 #define HAVE_ASINF 1
76858 _ACEOF
76860 cat >>confdefs.h <<\_ACEOF
76861 #define HAVE_ATAN2F 1
76862 _ACEOF
76864 cat >>confdefs.h <<\_ACEOF
76865 #define HAVE_ATANF 1
76866 _ACEOF
76868 cat >>confdefs.h <<\_ACEOF
76869 #define HAVE_CEILF 1
76870 _ACEOF
76872 cat >>confdefs.h <<\_ACEOF
76873 #define HAVE_COPYSIGN 1
76874 _ACEOF
76876 cat >>confdefs.h <<\_ACEOF
76877 #define HAVE_COPYSIGNF 1
76878 _ACEOF
76880 cat >>confdefs.h <<\_ACEOF
76881 #define HAVE_COSF 1
76882 _ACEOF
76884 cat >>confdefs.h <<\_ACEOF
76885 #define HAVE_COSHF 1
76886 _ACEOF
76888 cat >>confdefs.h <<\_ACEOF
76889 #define HAVE_EXPF 1
76890 _ACEOF
76892 cat >>confdefs.h <<\_ACEOF
76893 #define HAVE_FABSF 1
76894 _ACEOF
76896 cat >>confdefs.h <<\_ACEOF
76897 #define HAVE_FLOORF 1
76898 _ACEOF
76900 cat >>confdefs.h <<\_ACEOF
76901 #define HAVE_FMODF 1
76902 _ACEOF
76904 cat >>confdefs.h <<\_ACEOF
76905 #define HAVE_FREXPF 1
76906 _ACEOF
76908 cat >>confdefs.h <<\_ACEOF
76909 #define HAVE_LDEXPF 1
76910 _ACEOF
76912 cat >>confdefs.h <<\_ACEOF
76913 #define HAVE_LOG10F 1
76914 _ACEOF
76916 cat >>confdefs.h <<\_ACEOF
76917 #define HAVE_LOGF 1
76918 _ACEOF
76920 cat >>confdefs.h <<\_ACEOF
76921 #define HAVE_MODFF 1
76922 _ACEOF
76924 cat >>confdefs.h <<\_ACEOF
76925 #define HAVE_POWF 1
76926 _ACEOF
76928 cat >>confdefs.h <<\_ACEOF
76929 #define HAVE_SINF 1
76930 _ACEOF
76932 cat >>confdefs.h <<\_ACEOF
76933 #define HAVE_SINHF 1
76934 _ACEOF
76936 cat >>confdefs.h <<\_ACEOF
76937 #define HAVE_SQRTF 1
76938 _ACEOF
76940 cat >>confdefs.h <<\_ACEOF
76941 #define HAVE_TANF 1
76942 _ACEOF
76944 cat >>confdefs.h <<\_ACEOF
76945 #define HAVE_TANHF 1
76946 _ACEOF
76948 if test x"long_double_math_on_this_cpu" = x"yes"; then
76949 cat >>confdefs.h <<\_ACEOF
76950 #define HAVE_FINITEL 1
76951 _ACEOF
76953 cat >>confdefs.h <<\_ACEOF
76954 #define HAVE_ISINFL 1
76955 _ACEOF
76957 cat >>confdefs.h <<\_ACEOF
76958 #define HAVE_ISNANL 1
76959 _ACEOF
76963 *-hpux*)
76976 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
76977 machine/endian.h machine/param.h sys/machine.h sys/types.h \
76978 fp.h locale.h float.h inttypes.h
76980 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
76981 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76982 echo "$as_me:$LINENO: checking for $ac_header" >&5
76983 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76984 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76985 echo $ECHO_N "(cached) $ECHO_C" >&6
76987 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76988 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76989 else
76990 # Is the header compilable?
76991 echo "$as_me:$LINENO: checking $ac_header usability" >&5
76992 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
76993 cat >conftest.$ac_ext <<_ACEOF
76994 /* confdefs.h. */
76995 _ACEOF
76996 cat confdefs.h >>conftest.$ac_ext
76997 cat >>conftest.$ac_ext <<_ACEOF
76998 /* end confdefs.h. */
76999 $ac_includes_default
77000 #include <$ac_header>
77001 _ACEOF
77002 rm -f conftest.$ac_objext
77003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77004 (eval $ac_compile) 2>conftest.er1
77005 ac_status=$?
77006 grep -v '^ *+' conftest.er1 >conftest.err
77007 rm -f conftest.er1
77008 cat conftest.err >&5
77009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77010 (exit $ac_status); } &&
77011 { ac_try='test -z "$ac_c_werror_flag"
77012 || test ! -s conftest.err'
77013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77014 (eval $ac_try) 2>&5
77015 ac_status=$?
77016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77017 (exit $ac_status); }; } &&
77018 { ac_try='test -s conftest.$ac_objext'
77019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77020 (eval $ac_try) 2>&5
77021 ac_status=$?
77022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77023 (exit $ac_status); }; }; then
77024 ac_header_compiler=yes
77025 else
77026 echo "$as_me: failed program was:" >&5
77027 sed 's/^/| /' conftest.$ac_ext >&5
77029 ac_header_compiler=no
77031 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77032 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77033 echo "${ECHO_T}$ac_header_compiler" >&6
77035 # Is the header present?
77036 echo "$as_me:$LINENO: checking $ac_header presence" >&5
77037 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
77038 cat >conftest.$ac_ext <<_ACEOF
77039 /* confdefs.h. */
77040 _ACEOF
77041 cat confdefs.h >>conftest.$ac_ext
77042 cat >>conftest.$ac_ext <<_ACEOF
77043 /* end confdefs.h. */
77044 #include <$ac_header>
77045 _ACEOF
77046 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77047 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77048 ac_status=$?
77049 grep -v '^ *+' conftest.er1 >conftest.err
77050 rm -f conftest.er1
77051 cat conftest.err >&5
77052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77053 (exit $ac_status); } >/dev/null; then
77054 if test -s conftest.err; then
77055 ac_cpp_err=$ac_c_preproc_warn_flag
77056 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
77057 else
77058 ac_cpp_err=
77060 else
77061 ac_cpp_err=yes
77063 if test -z "$ac_cpp_err"; then
77064 ac_header_preproc=yes
77065 else
77066 echo "$as_me: failed program was:" >&5
77067 sed 's/^/| /' conftest.$ac_ext >&5
77069 ac_header_preproc=no
77071 rm -f conftest.err conftest.$ac_ext
77072 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77073 echo "${ECHO_T}$ac_header_preproc" >&6
77075 # So? What about this header?
77076 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
77077 yes:no: )
77078 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
77079 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
77080 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
77081 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
77082 ac_header_preproc=yes
77084 no:yes:* )
77085 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
77086 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
77087 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
77088 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
77089 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
77090 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
77091 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
77092 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
77093 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
77094 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
77095 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
77096 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
77098 cat <<\_ASBOX
77099 ## ----------------------------------------- ##
77100 ## Report this to the package-unused lists. ##
77101 ## ----------------------------------------- ##
77102 _ASBOX
77104 sed "s/^/$as_me: WARNING: /" >&2
77106 esac
77107 echo "$as_me:$LINENO: checking for $ac_header" >&5
77108 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77109 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77110 echo $ECHO_N "(cached) $ECHO_C" >&6
77111 else
77112 eval "$as_ac_Header=\$ac_header_preproc"
77114 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77115 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77118 if test `eval echo '${'$as_ac_Header'}'` = yes; then
77119 cat >>confdefs.h <<_ACEOF
77120 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
77121 _ACEOF
77125 done
77127 SECTION_FLAGS='-ffunction-sections -fdata-sections'
77130 # If we're not using GNU ld, then there's no point in even trying these
77131 # tests. Check for that first. We should have already tested for gld
77132 # by now (in libtool), but require it now just to be safe...
77133 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
77134 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
77138 # The name set by libtool depends on the version of libtool. Shame on us
77139 # for depending on an impl detail, but c'est la vie. Older versions used
77140 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
77141 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
77142 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
77143 # set (hence we're using an older libtool), then set it.
77144 if test x${with_gnu_ld+set} != xset; then
77145 if test x${ac_cv_prog_gnu_ld+set} != xset; then
77146 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
77147 with_gnu_ld=no
77148 else
77149 with_gnu_ld=$ac_cv_prog_gnu_ld
77153 # Start by getting the version number. I think the libtool test already
77154 # does some of this, but throws away the result.
77155 echo "$as_me:$LINENO: checking for ld version" >&5
77156 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
77158 ldver=`$LD --version 2>/dev/null | head -1 | \
77159 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
77161 glibcxx_gnu_ld_version=`echo $ldver | \
77162 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
77163 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
77164 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
77166 # Set --gc-sections.
77167 glibcxx_gcsections_min_ld=21602
77168 if test x"$with_gnu_ld" = x"yes" &&
77169 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
77171 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
77172 # NB: This flag only works reliably after 2.16.1. Configure tests
77173 # for this are difficult, so hard wire a value that should work.
77175 # All these tests are for C++, but run with the "C" compiler driver.
77176 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
77177 ac_test_CFLAGS="${CFLAGS+set}"
77178 ac_save_CFLAGS="$CFLAGS"
77179 CFLAGS='-x c++ -Wl,--gc-sections'
77181 # Check for -Wl,--gc-sections
77182 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
77183 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
77184 if test x$gcc_no_link = xyes; then
77185 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77186 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77187 { (exit 1); exit 1; }; }
77189 cat >conftest.$ac_ext <<_ACEOF
77190 /* confdefs.h. */
77191 _ACEOF
77192 cat confdefs.h >>conftest.$ac_ext
77193 cat >>conftest.$ac_ext <<_ACEOF
77194 /* end confdefs.h. */
77195 int one(void) { return 1; }
77196 int two(void) { return 2; }
77199 main ()
77201 two();
77203 return 0;
77205 _ACEOF
77206 rm -f conftest.$ac_objext conftest$ac_exeext
77207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77208 (eval $ac_link) 2>conftest.er1
77209 ac_status=$?
77210 grep -v '^ *+' conftest.er1 >conftest.err
77211 rm -f conftest.er1
77212 cat conftest.err >&5
77213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77214 (exit $ac_status); } &&
77215 { ac_try='test -z "$ac_c_werror_flag"
77216 || test ! -s conftest.err'
77217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77218 (eval $ac_try) 2>&5
77219 ac_status=$?
77220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77221 (exit $ac_status); }; } &&
77222 { ac_try='test -s conftest$ac_exeext'
77223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77224 (eval $ac_try) 2>&5
77225 ac_status=$?
77226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77227 (exit $ac_status); }; }; then
77228 ac_gcsections=yes
77229 else
77230 echo "$as_me: failed program was:" >&5
77231 sed 's/^/| /' conftest.$ac_ext >&5
77233 ac_gcsections=no
77235 rm -f conftest.err conftest.$ac_objext \
77236 conftest$ac_exeext conftest.$ac_ext
77237 if test "$ac_gcsections" = "yes"; then
77238 rm -f conftest.c
77239 touch conftest.c
77240 if $CC -c conftest.c; then
77241 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
77242 grep "Warning: gc-sections option ignored" > /dev/null; then
77243 ac_gcsections=no
77246 rm -f conftest.c conftest.o conftest
77248 if test "$ac_gcsections" = "yes"; then
77249 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
77251 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
77252 echo "${ECHO_T}$ac_gcsections" >&6
77254 if test "$ac_test_CFLAGS" = set; then
77255 CFLAGS="$ac_save_CFLAGS"
77256 else
77257 # this is the suspicious part
77258 CFLAGS=''
77262 # Set -z,relro.
77263 # Note this is only for shared objects.
77264 ac_ld_relro=no
77265 if test x"$with_gnu_ld" = x"yes"; then
77266 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
77267 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
77268 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
77269 if test -n "$cxx_z_relo"; then
77270 OPT_LDFLAGS="-Wl,-z,relro"
77271 ac_ld_relro=yes
77273 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
77274 echo "${ECHO_T}$ac_ld_relro" >&6
77277 # Set linker optimization flags.
77278 if test x"$with_gnu_ld" = x"yes"; then
77279 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
77287 echo "$as_me:$LINENO: checking for main in -lm" >&5
77288 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
77289 if test "${ac_cv_lib_m_main+set}" = set; then
77290 echo $ECHO_N "(cached) $ECHO_C" >&6
77291 else
77292 ac_check_lib_save_LIBS=$LIBS
77293 LIBS="-lm $LIBS"
77294 if test x$gcc_no_link = xyes; then
77295 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77296 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77297 { (exit 1); exit 1; }; }
77299 cat >conftest.$ac_ext <<_ACEOF
77300 /* confdefs.h. */
77301 _ACEOF
77302 cat confdefs.h >>conftest.$ac_ext
77303 cat >>conftest.$ac_ext <<_ACEOF
77304 /* end confdefs.h. */
77308 main ()
77310 main ();
77312 return 0;
77314 _ACEOF
77315 rm -f conftest.$ac_objext conftest$ac_exeext
77316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77317 (eval $ac_link) 2>conftest.er1
77318 ac_status=$?
77319 grep -v '^ *+' conftest.er1 >conftest.err
77320 rm -f conftest.er1
77321 cat conftest.err >&5
77322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77323 (exit $ac_status); } &&
77324 { ac_try='test -z "$ac_c_werror_flag"
77325 || test ! -s conftest.err'
77326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77327 (eval $ac_try) 2>&5
77328 ac_status=$?
77329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77330 (exit $ac_status); }; } &&
77331 { ac_try='test -s conftest$ac_exeext'
77332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77333 (eval $ac_try) 2>&5
77334 ac_status=$?
77335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77336 (exit $ac_status); }; }; then
77337 ac_cv_lib_m_main=yes
77338 else
77339 echo "$as_me: failed program was:" >&5
77340 sed 's/^/| /' conftest.$ac_ext >&5
77342 ac_cv_lib_m_main=no
77344 rm -f conftest.err conftest.$ac_objext \
77345 conftest$ac_exeext conftest.$ac_ext
77346 LIBS=$ac_check_lib_save_LIBS
77348 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
77349 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
77350 if test $ac_cv_lib_m_main = yes; then
77351 cat >>confdefs.h <<_ACEOF
77352 #define HAVE_LIBM 1
77353 _ACEOF
77355 LIBS="-lm $LIBS"
77360 for ac_func in copysignf
77362 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77363 echo "$as_me:$LINENO: checking for $ac_func" >&5
77364 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77365 if eval "test \"\${$as_ac_var+set}\" = set"; then
77366 echo $ECHO_N "(cached) $ECHO_C" >&6
77367 else
77368 if test x$gcc_no_link = xyes; then
77369 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77370 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77371 { (exit 1); exit 1; }; }
77373 cat >conftest.$ac_ext <<_ACEOF
77374 /* confdefs.h. */
77375 _ACEOF
77376 cat confdefs.h >>conftest.$ac_ext
77377 cat >>conftest.$ac_ext <<_ACEOF
77378 /* end confdefs.h. */
77379 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77380 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77381 #define $ac_func innocuous_$ac_func
77383 /* System header to define __stub macros and hopefully few prototypes,
77384 which can conflict with char $ac_func (); below.
77385 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77386 <limits.h> exists even on freestanding compilers. */
77388 #ifdef __STDC__
77389 # include <limits.h>
77390 #else
77391 # include <assert.h>
77392 #endif
77394 #undef $ac_func
77396 /* Override any gcc2 internal prototype to avoid an error. */
77397 #ifdef __cplusplus
77398 extern "C"
77400 #endif
77401 /* We use char because int might match the return type of a gcc2
77402 builtin and then its argument prototype would still apply. */
77403 char $ac_func ();
77404 /* The GNU C library defines this for functions which it implements
77405 to always fail with ENOSYS. Some functions are actually named
77406 something starting with __ and the normal name is an alias. */
77407 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77408 choke me
77409 #else
77410 char (*f) () = $ac_func;
77411 #endif
77412 #ifdef __cplusplus
77414 #endif
77417 main ()
77419 return f != $ac_func;
77421 return 0;
77423 _ACEOF
77424 rm -f conftest.$ac_objext conftest$ac_exeext
77425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77426 (eval $ac_link) 2>conftest.er1
77427 ac_status=$?
77428 grep -v '^ *+' conftest.er1 >conftest.err
77429 rm -f conftest.er1
77430 cat conftest.err >&5
77431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77432 (exit $ac_status); } &&
77433 { ac_try='test -z "$ac_c_werror_flag"
77434 || test ! -s conftest.err'
77435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77436 (eval $ac_try) 2>&5
77437 ac_status=$?
77438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77439 (exit $ac_status); }; } &&
77440 { ac_try='test -s conftest$ac_exeext'
77441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77442 (eval $ac_try) 2>&5
77443 ac_status=$?
77444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77445 (exit $ac_status); }; }; then
77446 eval "$as_ac_var=yes"
77447 else
77448 echo "$as_me: failed program was:" >&5
77449 sed 's/^/| /' conftest.$ac_ext >&5
77451 eval "$as_ac_var=no"
77453 rm -f conftest.err conftest.$ac_objext \
77454 conftest$ac_exeext conftest.$ac_ext
77456 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77457 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77458 if test `eval echo '${'$as_ac_var'}'` = yes; then
77459 cat >>confdefs.h <<_ACEOF
77460 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77461 _ACEOF
77463 else
77464 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
77466 done
77470 for ac_func in __signbit
77472 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77473 echo "$as_me:$LINENO: checking for $ac_func" >&5
77474 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77475 if eval "test \"\${$as_ac_var+set}\" = set"; then
77476 echo $ECHO_N "(cached) $ECHO_C" >&6
77477 else
77478 if test x$gcc_no_link = xyes; then
77479 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77480 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77481 { (exit 1); exit 1; }; }
77483 cat >conftest.$ac_ext <<_ACEOF
77484 /* confdefs.h. */
77485 _ACEOF
77486 cat confdefs.h >>conftest.$ac_ext
77487 cat >>conftest.$ac_ext <<_ACEOF
77488 /* end confdefs.h. */
77489 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77490 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77491 #define $ac_func innocuous_$ac_func
77493 /* System header to define __stub macros and hopefully few prototypes,
77494 which can conflict with char $ac_func (); below.
77495 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77496 <limits.h> exists even on freestanding compilers. */
77498 #ifdef __STDC__
77499 # include <limits.h>
77500 #else
77501 # include <assert.h>
77502 #endif
77504 #undef $ac_func
77506 /* Override any gcc2 internal prototype to avoid an error. */
77507 #ifdef __cplusplus
77508 extern "C"
77510 #endif
77511 /* We use char because int might match the return type of a gcc2
77512 builtin and then its argument prototype would still apply. */
77513 char $ac_func ();
77514 /* The GNU C library defines this for functions which it implements
77515 to always fail with ENOSYS. Some functions are actually named
77516 something starting with __ and the normal name is an alias. */
77517 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77518 choke me
77519 #else
77520 char (*f) () = $ac_func;
77521 #endif
77522 #ifdef __cplusplus
77524 #endif
77527 main ()
77529 return f != $ac_func;
77531 return 0;
77533 _ACEOF
77534 rm -f conftest.$ac_objext conftest$ac_exeext
77535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77536 (eval $ac_link) 2>conftest.er1
77537 ac_status=$?
77538 grep -v '^ *+' conftest.er1 >conftest.err
77539 rm -f conftest.er1
77540 cat conftest.err >&5
77541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77542 (exit $ac_status); } &&
77543 { ac_try='test -z "$ac_c_werror_flag"
77544 || test ! -s conftest.err'
77545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77546 (eval $ac_try) 2>&5
77547 ac_status=$?
77548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77549 (exit $ac_status); }; } &&
77550 { ac_try='test -s conftest$ac_exeext'
77551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77552 (eval $ac_try) 2>&5
77553 ac_status=$?
77554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77555 (exit $ac_status); }; }; then
77556 eval "$as_ac_var=yes"
77557 else
77558 echo "$as_me: failed program was:" >&5
77559 sed 's/^/| /' conftest.$ac_ext >&5
77561 eval "$as_ac_var=no"
77563 rm -f conftest.err conftest.$ac_objext \
77564 conftest$ac_exeext conftest.$ac_ext
77566 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77567 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77568 if test `eval echo '${'$as_ac_var'}'` = yes; then
77569 cat >>confdefs.h <<_ACEOF
77570 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77571 _ACEOF
77573 else
77574 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
77576 done
77580 for ac_func in __signbitf
77582 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77583 echo "$as_me:$LINENO: checking for $ac_func" >&5
77584 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77585 if eval "test \"\${$as_ac_var+set}\" = set"; then
77586 echo $ECHO_N "(cached) $ECHO_C" >&6
77587 else
77588 if test x$gcc_no_link = xyes; then
77589 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77590 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77591 { (exit 1); exit 1; }; }
77593 cat >conftest.$ac_ext <<_ACEOF
77594 /* confdefs.h. */
77595 _ACEOF
77596 cat confdefs.h >>conftest.$ac_ext
77597 cat >>conftest.$ac_ext <<_ACEOF
77598 /* end confdefs.h. */
77599 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77600 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77601 #define $ac_func innocuous_$ac_func
77603 /* System header to define __stub macros and hopefully few prototypes,
77604 which can conflict with char $ac_func (); below.
77605 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77606 <limits.h> exists even on freestanding compilers. */
77608 #ifdef __STDC__
77609 # include <limits.h>
77610 #else
77611 # include <assert.h>
77612 #endif
77614 #undef $ac_func
77616 /* Override any gcc2 internal prototype to avoid an error. */
77617 #ifdef __cplusplus
77618 extern "C"
77620 #endif
77621 /* We use char because int might match the return type of a gcc2
77622 builtin and then its argument prototype would still apply. */
77623 char $ac_func ();
77624 /* The GNU C library defines this for functions which it implements
77625 to always fail with ENOSYS. Some functions are actually named
77626 something starting with __ and the normal name is an alias. */
77627 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77628 choke me
77629 #else
77630 char (*f) () = $ac_func;
77631 #endif
77632 #ifdef __cplusplus
77634 #endif
77637 main ()
77639 return f != $ac_func;
77641 return 0;
77643 _ACEOF
77644 rm -f conftest.$ac_objext conftest$ac_exeext
77645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77646 (eval $ac_link) 2>conftest.er1
77647 ac_status=$?
77648 grep -v '^ *+' conftest.er1 >conftest.err
77649 rm -f conftest.er1
77650 cat conftest.err >&5
77651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77652 (exit $ac_status); } &&
77653 { ac_try='test -z "$ac_c_werror_flag"
77654 || test ! -s conftest.err'
77655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77656 (eval $ac_try) 2>&5
77657 ac_status=$?
77658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77659 (exit $ac_status); }; } &&
77660 { ac_try='test -s conftest$ac_exeext'
77661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77662 (eval $ac_try) 2>&5
77663 ac_status=$?
77664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77665 (exit $ac_status); }; }; then
77666 eval "$as_ac_var=yes"
77667 else
77668 echo "$as_me: failed program was:" >&5
77669 sed 's/^/| /' conftest.$ac_ext >&5
77671 eval "$as_ac_var=no"
77673 rm -f conftest.err conftest.$ac_objext \
77674 conftest$ac_exeext conftest.$ac_ext
77676 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77677 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77678 if test `eval echo '${'$as_ac_var'}'` = yes; then
77679 cat >>confdefs.h <<_ACEOF
77680 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77681 _ACEOF
77683 else
77684 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
77686 done
77689 if test x$ac_cv_func_copysignl = x"yes"; then
77691 for ac_func in __signbitl
77693 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77694 echo "$as_me:$LINENO: checking for $ac_func" >&5
77695 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77696 if eval "test \"\${$as_ac_var+set}\" = set"; then
77697 echo $ECHO_N "(cached) $ECHO_C" >&6
77698 else
77699 if test x$gcc_no_link = xyes; then
77700 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77701 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77702 { (exit 1); exit 1; }; }
77704 cat >conftest.$ac_ext <<_ACEOF
77705 /* confdefs.h. */
77706 _ACEOF
77707 cat confdefs.h >>conftest.$ac_ext
77708 cat >>conftest.$ac_ext <<_ACEOF
77709 /* end confdefs.h. */
77710 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77711 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77712 #define $ac_func innocuous_$ac_func
77714 /* System header to define __stub macros and hopefully few prototypes,
77715 which can conflict with char $ac_func (); below.
77716 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77717 <limits.h> exists even on freestanding compilers. */
77719 #ifdef __STDC__
77720 # include <limits.h>
77721 #else
77722 # include <assert.h>
77723 #endif
77725 #undef $ac_func
77727 /* Override any gcc2 internal prototype to avoid an error. */
77728 #ifdef __cplusplus
77729 extern "C"
77731 #endif
77732 /* We use char because int might match the return type of a gcc2
77733 builtin and then its argument prototype would still apply. */
77734 char $ac_func ();
77735 /* The GNU C library defines this for functions which it implements
77736 to always fail with ENOSYS. Some functions are actually named
77737 something starting with __ and the normal name is an alias. */
77738 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77739 choke me
77740 #else
77741 char (*f) () = $ac_func;
77742 #endif
77743 #ifdef __cplusplus
77745 #endif
77748 main ()
77750 return f != $ac_func;
77752 return 0;
77754 _ACEOF
77755 rm -f conftest.$ac_objext conftest$ac_exeext
77756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77757 (eval $ac_link) 2>conftest.er1
77758 ac_status=$?
77759 grep -v '^ *+' conftest.er1 >conftest.err
77760 rm -f conftest.er1
77761 cat conftest.err >&5
77762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77763 (exit $ac_status); } &&
77764 { ac_try='test -z "$ac_c_werror_flag"
77765 || test ! -s conftest.err'
77766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77767 (eval $ac_try) 2>&5
77768 ac_status=$?
77769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77770 (exit $ac_status); }; } &&
77771 { ac_try='test -s conftest$ac_exeext'
77772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77773 (eval $ac_try) 2>&5
77774 ac_status=$?
77775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77776 (exit $ac_status); }; }; then
77777 eval "$as_ac_var=yes"
77778 else
77779 echo "$as_me: failed program was:" >&5
77780 sed 's/^/| /' conftest.$ac_ext >&5
77782 eval "$as_ac_var=no"
77784 rm -f conftest.err conftest.$ac_objext \
77785 conftest$ac_exeext conftest.$ac_ext
77787 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77788 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77789 if test `eval echo '${'$as_ac_var'}'` = yes; then
77790 cat >>confdefs.h <<_ACEOF
77791 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77792 _ACEOF
77794 else
77795 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
77797 done
77801 # Used in libmath/Makefile.am.
77802 if test -n "$LIBMATHOBJS"; then
77803 need_libmath=yes
77809 enable_iconv=no
77810 # Only continue checking if the ISO C99 headers exist and support is on.
77811 if test x"$enable_wchar_t" = xyes; then
77813 # Use iconv for wchar_t to char conversions. As such, check for
77814 # X/Open Portability Guide, version 2 features (XPG2).
77815 if test "${ac_cv_header_iconv_h+set}" = set; then
77816 echo "$as_me:$LINENO: checking for iconv.h" >&5
77817 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
77818 if test "${ac_cv_header_iconv_h+set}" = set; then
77819 echo $ECHO_N "(cached) $ECHO_C" >&6
77821 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
77822 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
77823 else
77824 # Is the header compilable?
77825 echo "$as_me:$LINENO: checking iconv.h usability" >&5
77826 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
77827 cat >conftest.$ac_ext <<_ACEOF
77828 /* confdefs.h. */
77829 _ACEOF
77830 cat confdefs.h >>conftest.$ac_ext
77831 cat >>conftest.$ac_ext <<_ACEOF
77832 /* end confdefs.h. */
77833 $ac_includes_default
77834 #include <iconv.h>
77835 _ACEOF
77836 rm -f conftest.$ac_objext
77837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77838 (eval $ac_compile) 2>conftest.er1
77839 ac_status=$?
77840 grep -v '^ *+' conftest.er1 >conftest.err
77841 rm -f conftest.er1
77842 cat conftest.err >&5
77843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77844 (exit $ac_status); } &&
77845 { ac_try='test -z "$ac_c_werror_flag"
77846 || test ! -s conftest.err'
77847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77848 (eval $ac_try) 2>&5
77849 ac_status=$?
77850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77851 (exit $ac_status); }; } &&
77852 { ac_try='test -s conftest.$ac_objext'
77853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77854 (eval $ac_try) 2>&5
77855 ac_status=$?
77856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77857 (exit $ac_status); }; }; then
77858 ac_header_compiler=yes
77859 else
77860 echo "$as_me: failed program was:" >&5
77861 sed 's/^/| /' conftest.$ac_ext >&5
77863 ac_header_compiler=no
77865 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77866 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77867 echo "${ECHO_T}$ac_header_compiler" >&6
77869 # Is the header present?
77870 echo "$as_me:$LINENO: checking iconv.h presence" >&5
77871 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
77872 cat >conftest.$ac_ext <<_ACEOF
77873 /* confdefs.h. */
77874 _ACEOF
77875 cat confdefs.h >>conftest.$ac_ext
77876 cat >>conftest.$ac_ext <<_ACEOF
77877 /* end confdefs.h. */
77878 #include <iconv.h>
77879 _ACEOF
77880 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77881 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77882 ac_status=$?
77883 grep -v '^ *+' conftest.er1 >conftest.err
77884 rm -f conftest.er1
77885 cat conftest.err >&5
77886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77887 (exit $ac_status); } >/dev/null; then
77888 if test -s conftest.err; then
77889 ac_cpp_err=$ac_c_preproc_warn_flag
77890 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
77891 else
77892 ac_cpp_err=
77894 else
77895 ac_cpp_err=yes
77897 if test -z "$ac_cpp_err"; then
77898 ac_header_preproc=yes
77899 else
77900 echo "$as_me: failed program was:" >&5
77901 sed 's/^/| /' conftest.$ac_ext >&5
77903 ac_header_preproc=no
77905 rm -f conftest.err conftest.$ac_ext
77906 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77907 echo "${ECHO_T}$ac_header_preproc" >&6
77909 # So? What about this header?
77910 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
77911 yes:no: )
77912 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
77913 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
77914 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
77915 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
77916 ac_header_preproc=yes
77918 no:yes:* )
77919 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
77920 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
77921 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
77922 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
77923 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
77924 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
77925 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
77926 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
77927 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
77928 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
77929 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
77930 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
77932 cat <<\_ASBOX
77933 ## ----------------------------------------- ##
77934 ## Report this to the package-unused lists. ##
77935 ## ----------------------------------------- ##
77936 _ASBOX
77938 sed "s/^/$as_me: WARNING: /" >&2
77940 esac
77941 echo "$as_me:$LINENO: checking for iconv.h" >&5
77942 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
77943 if test "${ac_cv_header_iconv_h+set}" = set; then
77944 echo $ECHO_N "(cached) $ECHO_C" >&6
77945 else
77946 ac_cv_header_iconv_h=$ac_header_preproc
77948 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
77949 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
77952 if test $ac_cv_header_iconv_h = yes; then
77953 ac_has_iconv_h=yes
77954 else
77955 ac_has_iconv_h=no
77959 if test "${ac_cv_header_langinfo_h+set}" = set; then
77960 echo "$as_me:$LINENO: checking for langinfo.h" >&5
77961 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
77962 if test "${ac_cv_header_langinfo_h+set}" = set; then
77963 echo $ECHO_N "(cached) $ECHO_C" >&6
77965 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
77966 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
77967 else
77968 # Is the header compilable?
77969 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
77970 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
77971 cat >conftest.$ac_ext <<_ACEOF
77972 /* confdefs.h. */
77973 _ACEOF
77974 cat confdefs.h >>conftest.$ac_ext
77975 cat >>conftest.$ac_ext <<_ACEOF
77976 /* end confdefs.h. */
77977 $ac_includes_default
77978 #include <langinfo.h>
77979 _ACEOF
77980 rm -f conftest.$ac_objext
77981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77982 (eval $ac_compile) 2>conftest.er1
77983 ac_status=$?
77984 grep -v '^ *+' conftest.er1 >conftest.err
77985 rm -f conftest.er1
77986 cat conftest.err >&5
77987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77988 (exit $ac_status); } &&
77989 { ac_try='test -z "$ac_c_werror_flag"
77990 || test ! -s conftest.err'
77991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77992 (eval $ac_try) 2>&5
77993 ac_status=$?
77994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77995 (exit $ac_status); }; } &&
77996 { ac_try='test -s conftest.$ac_objext'
77997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77998 (eval $ac_try) 2>&5
77999 ac_status=$?
78000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78001 (exit $ac_status); }; }; then
78002 ac_header_compiler=yes
78003 else
78004 echo "$as_me: failed program was:" >&5
78005 sed 's/^/| /' conftest.$ac_ext >&5
78007 ac_header_compiler=no
78009 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78010 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78011 echo "${ECHO_T}$ac_header_compiler" >&6
78013 # Is the header present?
78014 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
78015 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
78016 cat >conftest.$ac_ext <<_ACEOF
78017 /* confdefs.h. */
78018 _ACEOF
78019 cat confdefs.h >>conftest.$ac_ext
78020 cat >>conftest.$ac_ext <<_ACEOF
78021 /* end confdefs.h. */
78022 #include <langinfo.h>
78023 _ACEOF
78024 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78025 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78026 ac_status=$?
78027 grep -v '^ *+' conftest.er1 >conftest.err
78028 rm -f conftest.er1
78029 cat conftest.err >&5
78030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78031 (exit $ac_status); } >/dev/null; then
78032 if test -s conftest.err; then
78033 ac_cpp_err=$ac_c_preproc_warn_flag
78034 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78035 else
78036 ac_cpp_err=
78038 else
78039 ac_cpp_err=yes
78041 if test -z "$ac_cpp_err"; then
78042 ac_header_preproc=yes
78043 else
78044 echo "$as_me: failed program was:" >&5
78045 sed 's/^/| /' conftest.$ac_ext >&5
78047 ac_header_preproc=no
78049 rm -f conftest.err conftest.$ac_ext
78050 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78051 echo "${ECHO_T}$ac_header_preproc" >&6
78053 # So? What about this header?
78054 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78055 yes:no: )
78056 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
78057 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
78058 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
78059 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
78060 ac_header_preproc=yes
78062 no:yes:* )
78063 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
78064 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
78065 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
78066 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
78067 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
78068 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
78069 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
78070 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
78071 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
78072 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
78073 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
78074 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
78076 cat <<\_ASBOX
78077 ## ----------------------------------------- ##
78078 ## Report this to the package-unused lists. ##
78079 ## ----------------------------------------- ##
78080 _ASBOX
78082 sed "s/^/$as_me: WARNING: /" >&2
78084 esac
78085 echo "$as_me:$LINENO: checking for langinfo.h" >&5
78086 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
78087 if test "${ac_cv_header_langinfo_h+set}" = set; then
78088 echo $ECHO_N "(cached) $ECHO_C" >&6
78089 else
78090 ac_cv_header_langinfo_h=$ac_header_preproc
78092 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
78093 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
78096 if test $ac_cv_header_langinfo_h = yes; then
78097 ac_has_langinfo_h=yes
78098 else
78099 ac_has_langinfo_h=no
78104 # Check for existence of libiconv.a providing XPG2 wchar_t support.
78105 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
78106 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
78107 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
78108 echo $ECHO_N "(cached) $ECHO_C" >&6
78109 else
78110 ac_check_lib_save_LIBS=$LIBS
78111 LIBS="-liconv $LIBS"
78112 if test x$gcc_no_link = xyes; then
78113 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78114 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78115 { (exit 1); exit 1; }; }
78117 cat >conftest.$ac_ext <<_ACEOF
78118 /* confdefs.h. */
78119 _ACEOF
78120 cat confdefs.h >>conftest.$ac_ext
78121 cat >>conftest.$ac_ext <<_ACEOF
78122 /* end confdefs.h. */
78124 /* Override any gcc2 internal prototype to avoid an error. */
78125 #ifdef __cplusplus
78126 extern "C"
78127 #endif
78128 /* We use char because int might match the return type of a gcc2
78129 builtin and then its argument prototype would still apply. */
78130 char iconv ();
78132 main ()
78134 iconv ();
78136 return 0;
78138 _ACEOF
78139 rm -f conftest.$ac_objext conftest$ac_exeext
78140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78141 (eval $ac_link) 2>conftest.er1
78142 ac_status=$?
78143 grep -v '^ *+' conftest.er1 >conftest.err
78144 rm -f conftest.er1
78145 cat conftest.err >&5
78146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78147 (exit $ac_status); } &&
78148 { ac_try='test -z "$ac_c_werror_flag"
78149 || test ! -s conftest.err'
78150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78151 (eval $ac_try) 2>&5
78152 ac_status=$?
78153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78154 (exit $ac_status); }; } &&
78155 { ac_try='test -s conftest$ac_exeext'
78156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78157 (eval $ac_try) 2>&5
78158 ac_status=$?
78159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78160 (exit $ac_status); }; }; then
78161 ac_cv_lib_iconv_iconv=yes
78162 else
78163 echo "$as_me: failed program was:" >&5
78164 sed 's/^/| /' conftest.$ac_ext >&5
78166 ac_cv_lib_iconv_iconv=no
78168 rm -f conftest.err conftest.$ac_objext \
78169 conftest$ac_exeext conftest.$ac_ext
78170 LIBS=$ac_check_lib_save_LIBS
78172 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
78173 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
78174 if test $ac_cv_lib_iconv_iconv = yes; then
78175 LIBICONV="-liconv"
78178 ac_save_LIBS="$LIBS"
78179 LIBS="$LIBS $LIBICONV"
78186 for ac_func in iconv_open iconv_close iconv nl_langinfo
78188 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78189 echo "$as_me:$LINENO: checking for $ac_func" >&5
78190 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78191 if eval "test \"\${$as_ac_var+set}\" = set"; then
78192 echo $ECHO_N "(cached) $ECHO_C" >&6
78193 else
78194 if test x$gcc_no_link = xyes; then
78195 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78196 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78197 { (exit 1); exit 1; }; }
78199 cat >conftest.$ac_ext <<_ACEOF
78200 /* confdefs.h. */
78201 _ACEOF
78202 cat confdefs.h >>conftest.$ac_ext
78203 cat >>conftest.$ac_ext <<_ACEOF
78204 /* end confdefs.h. */
78205 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78206 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78207 #define $ac_func innocuous_$ac_func
78209 /* System header to define __stub macros and hopefully few prototypes,
78210 which can conflict with char $ac_func (); below.
78211 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78212 <limits.h> exists even on freestanding compilers. */
78214 #ifdef __STDC__
78215 # include <limits.h>
78216 #else
78217 # include <assert.h>
78218 #endif
78220 #undef $ac_func
78222 /* Override any gcc2 internal prototype to avoid an error. */
78223 #ifdef __cplusplus
78224 extern "C"
78226 #endif
78227 /* We use char because int might match the return type of a gcc2
78228 builtin and then its argument prototype would still apply. */
78229 char $ac_func ();
78230 /* The GNU C library defines this for functions which it implements
78231 to always fail with ENOSYS. Some functions are actually named
78232 something starting with __ and the normal name is an alias. */
78233 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78234 choke me
78235 #else
78236 char (*f) () = $ac_func;
78237 #endif
78238 #ifdef __cplusplus
78240 #endif
78243 main ()
78245 return f != $ac_func;
78247 return 0;
78249 _ACEOF
78250 rm -f conftest.$ac_objext conftest$ac_exeext
78251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78252 (eval $ac_link) 2>conftest.er1
78253 ac_status=$?
78254 grep -v '^ *+' conftest.er1 >conftest.err
78255 rm -f conftest.er1
78256 cat conftest.err >&5
78257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78258 (exit $ac_status); } &&
78259 { ac_try='test -z "$ac_c_werror_flag"
78260 || test ! -s conftest.err'
78261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78262 (eval $ac_try) 2>&5
78263 ac_status=$?
78264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78265 (exit $ac_status); }; } &&
78266 { ac_try='test -s conftest$ac_exeext'
78267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78268 (eval $ac_try) 2>&5
78269 ac_status=$?
78270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78271 (exit $ac_status); }; }; then
78272 eval "$as_ac_var=yes"
78273 else
78274 echo "$as_me: failed program was:" >&5
78275 sed 's/^/| /' conftest.$ac_ext >&5
78277 eval "$as_ac_var=no"
78279 rm -f conftest.err conftest.$ac_objext \
78280 conftest$ac_exeext conftest.$ac_ext
78282 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78283 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78284 if test `eval echo '${'$as_ac_var'}'` = yes; then
78285 cat >>confdefs.h <<_ACEOF
78286 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78287 _ACEOF
78288 ac_XPG2funcs=yes
78289 else
78290 ac_XPG2funcs=no
78292 done
78295 LIBS="$ac_save_LIBS"
78297 if test x"$ac_has_iconv_h" = xyes &&
78298 test x"$ac_has_langinfo_h" = xyes &&
78299 test x"$ac_XPG2funcs" = xyes;
78300 then
78302 cat >>confdefs.h <<\_ACEOF
78303 #define _GLIBCXX_USE_ICONV 1
78304 _ACEOF
78306 enable_iconv=yes
78309 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
78310 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
78311 echo "$as_me:$LINENO: result: $enable_iconv" >&5
78312 echo "${ECHO_T}$enable_iconv" >&6
78314 cat >>confdefs.h <<\_ACEOF
78315 #define HAVE_COPYSIGN 1
78316 _ACEOF
78318 cat >>confdefs.h <<\_ACEOF
78319 #define HAVE_COPYSIGNF 1
78320 _ACEOF
78322 cat >>confdefs.h <<\_ACEOF
78323 #define HAVE_FREXPF 1
78324 _ACEOF
78326 cat >>confdefs.h <<\_ACEOF
78327 #define HAVE_HYPOT 1
78328 _ACEOF
78330 case "$target" in
78331 *-hpux10*)
78332 cat >>confdefs.h <<\_ACEOF
78333 #define HAVE_FINITE 1
78334 _ACEOF
78336 cat >>confdefs.h <<\_ACEOF
78337 #define HAVE_FINITEF 1
78338 _ACEOF
78340 cat >>confdefs.h <<\_ACEOF
78341 #define HAVE_ISINF 1
78342 _ACEOF
78344 cat >>confdefs.h <<\_ACEOF
78345 #define HAVE_ISINFF 1
78346 _ACEOF
78348 cat >>confdefs.h <<\_ACEOF
78349 #define HAVE_ISNAN 1
78350 _ACEOF
78352 cat >>confdefs.h <<\_ACEOF
78353 #define HAVE_ISNANF 1
78354 _ACEOF
78357 esac
78359 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
78375 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
78376 machine/endian.h machine/param.h sys/machine.h sys/types.h \
78377 fp.h float.h endian.h inttypes.h locale.h float.h stdint.h
78379 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
78380 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78381 echo "$as_me:$LINENO: checking for $ac_header" >&5
78382 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78383 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78384 echo $ECHO_N "(cached) $ECHO_C" >&6
78386 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78387 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78388 else
78389 # Is the header compilable?
78390 echo "$as_me:$LINENO: checking $ac_header usability" >&5
78391 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
78392 cat >conftest.$ac_ext <<_ACEOF
78393 /* confdefs.h. */
78394 _ACEOF
78395 cat confdefs.h >>conftest.$ac_ext
78396 cat >>conftest.$ac_ext <<_ACEOF
78397 /* end confdefs.h. */
78398 $ac_includes_default
78399 #include <$ac_header>
78400 _ACEOF
78401 rm -f conftest.$ac_objext
78402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78403 (eval $ac_compile) 2>conftest.er1
78404 ac_status=$?
78405 grep -v '^ *+' conftest.er1 >conftest.err
78406 rm -f conftest.er1
78407 cat conftest.err >&5
78408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78409 (exit $ac_status); } &&
78410 { ac_try='test -z "$ac_c_werror_flag"
78411 || test ! -s conftest.err'
78412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78413 (eval $ac_try) 2>&5
78414 ac_status=$?
78415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78416 (exit $ac_status); }; } &&
78417 { ac_try='test -s conftest.$ac_objext'
78418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78419 (eval $ac_try) 2>&5
78420 ac_status=$?
78421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78422 (exit $ac_status); }; }; then
78423 ac_header_compiler=yes
78424 else
78425 echo "$as_me: failed program was:" >&5
78426 sed 's/^/| /' conftest.$ac_ext >&5
78428 ac_header_compiler=no
78430 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78431 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78432 echo "${ECHO_T}$ac_header_compiler" >&6
78434 # Is the header present?
78435 echo "$as_me:$LINENO: checking $ac_header presence" >&5
78436 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
78437 cat >conftest.$ac_ext <<_ACEOF
78438 /* confdefs.h. */
78439 _ACEOF
78440 cat confdefs.h >>conftest.$ac_ext
78441 cat >>conftest.$ac_ext <<_ACEOF
78442 /* end confdefs.h. */
78443 #include <$ac_header>
78444 _ACEOF
78445 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78446 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78447 ac_status=$?
78448 grep -v '^ *+' conftest.er1 >conftest.err
78449 rm -f conftest.er1
78450 cat conftest.err >&5
78451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78452 (exit $ac_status); } >/dev/null; then
78453 if test -s conftest.err; then
78454 ac_cpp_err=$ac_c_preproc_warn_flag
78455 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78456 else
78457 ac_cpp_err=
78459 else
78460 ac_cpp_err=yes
78462 if test -z "$ac_cpp_err"; then
78463 ac_header_preproc=yes
78464 else
78465 echo "$as_me: failed program was:" >&5
78466 sed 's/^/| /' conftest.$ac_ext >&5
78468 ac_header_preproc=no
78470 rm -f conftest.err conftest.$ac_ext
78471 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78472 echo "${ECHO_T}$ac_header_preproc" >&6
78474 # So? What about this header?
78475 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78476 yes:no: )
78477 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
78478 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
78479 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
78480 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
78481 ac_header_preproc=yes
78483 no:yes:* )
78484 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
78485 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
78486 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
78487 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
78488 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
78489 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
78490 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
78491 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
78492 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
78493 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
78494 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
78495 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
78497 cat <<\_ASBOX
78498 ## ----------------------------------------- ##
78499 ## Report this to the package-unused lists. ##
78500 ## ----------------------------------------- ##
78501 _ASBOX
78503 sed "s/^/$as_me: WARNING: /" >&2
78505 esac
78506 echo "$as_me:$LINENO: checking for $ac_header" >&5
78507 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78508 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78509 echo $ECHO_N "(cached) $ECHO_C" >&6
78510 else
78511 eval "$as_ac_Header=\$ac_header_preproc"
78513 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78514 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78517 if test `eval echo '${'$as_ac_Header'}'` = yes; then
78518 cat >>confdefs.h <<_ACEOF
78519 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
78520 _ACEOF
78524 done
78526 SECTION_FLAGS='-ffunction-sections -fdata-sections'
78529 # All these tests are for C++; save the language and the compiler flags.
78530 # The CXXFLAGS thing is suspicious, but based on similar bits previously
78531 # found in GLIBCXX_CONFIGURE.
78534 ac_ext=cc
78535 ac_cpp='$CXXCPP $CPPFLAGS'
78536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78540 ac_test_CXXFLAGS="${CXXFLAGS+set}"
78541 ac_save_CXXFLAGS="$CXXFLAGS"
78543 # Check for maintainer-mode bits.
78544 if test x"$USE_MAINTAINER_MODE" = xno; then
78545 WERROR=''
78546 else
78547 WERROR='-Werror'
78550 # Check for -ffunction-sections -fdata-sections
78551 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
78552 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
78553 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
78554 cat >conftest.$ac_ext <<_ACEOF
78555 /* confdefs.h. */
78556 _ACEOF
78557 cat confdefs.h >>conftest.$ac_ext
78558 cat >>conftest.$ac_ext <<_ACEOF
78559 /* end confdefs.h. */
78562 main ()
78564 int foo;
78566 return 0;
78568 _ACEOF
78569 rm -f conftest.$ac_objext
78570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78571 (eval $ac_compile) 2>conftest.er1
78572 ac_status=$?
78573 grep -v '^ *+' conftest.er1 >conftest.err
78574 rm -f conftest.er1
78575 cat conftest.err >&5
78576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78577 (exit $ac_status); } &&
78578 { ac_try='test -z "$ac_cxx_werror_flag"
78579 || test ! -s conftest.err'
78580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78581 (eval $ac_try) 2>&5
78582 ac_status=$?
78583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78584 (exit $ac_status); }; } &&
78585 { ac_try='test -s conftest.$ac_objext'
78586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78587 (eval $ac_try) 2>&5
78588 ac_status=$?
78589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78590 (exit $ac_status); }; }; then
78591 ac_fdsections=yes
78592 else
78593 echo "$as_me: failed program was:" >&5
78594 sed 's/^/| /' conftest.$ac_ext >&5
78596 ac_fdsections=no
78598 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78599 if test "$ac_test_CXXFLAGS" = set; then
78600 CXXFLAGS="$ac_save_CXXFLAGS"
78601 else
78602 # this is the suspicious part
78603 CXXFLAGS=''
78605 if test x"$ac_fdsections" = x"yes"; then
78606 SECTION_FLAGS='-ffunction-sections -fdata-sections'
78608 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
78609 echo "${ECHO_T}$ac_fdsections" >&6
78611 ac_ext=c
78612 ac_cpp='$CPP $CPPFLAGS'
78613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78621 # If we're not using GNU ld, then there's no point in even trying these
78622 # tests. Check for that first. We should have already tested for gld
78623 # by now (in libtool), but require it now just to be safe...
78624 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
78625 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
78629 # The name set by libtool depends on the version of libtool. Shame on us
78630 # for depending on an impl detail, but c'est la vie. Older versions used
78631 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
78632 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
78633 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
78634 # set (hence we're using an older libtool), then set it.
78635 if test x${with_gnu_ld+set} != xset; then
78636 if test x${ac_cv_prog_gnu_ld+set} != xset; then
78637 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
78638 with_gnu_ld=no
78639 else
78640 with_gnu_ld=$ac_cv_prog_gnu_ld
78644 # Start by getting the version number. I think the libtool test already
78645 # does some of this, but throws away the result.
78646 echo "$as_me:$LINENO: checking for ld version" >&5
78647 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
78649 ldver=`$LD --version 2>/dev/null | head -1 | \
78650 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
78652 glibcxx_gnu_ld_version=`echo $ldver | \
78653 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
78654 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
78655 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
78657 # Set --gc-sections.
78658 glibcxx_gcsections_min_ld=21602
78659 if test x"$with_gnu_ld" = x"yes" &&
78660 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
78662 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
78663 # NB: This flag only works reliably after 2.16.1. Configure tests
78664 # for this are difficult, so hard wire a value that should work.
78666 # All these tests are for C++, but run with the "C" compiler driver.
78667 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
78668 ac_test_CFLAGS="${CFLAGS+set}"
78669 ac_save_CFLAGS="$CFLAGS"
78670 CFLAGS='-x c++ -Wl,--gc-sections'
78672 # Check for -Wl,--gc-sections
78673 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
78674 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
78675 if test x$gcc_no_link = xyes; then
78676 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78677 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78678 { (exit 1); exit 1; }; }
78680 cat >conftest.$ac_ext <<_ACEOF
78681 /* confdefs.h. */
78682 _ACEOF
78683 cat confdefs.h >>conftest.$ac_ext
78684 cat >>conftest.$ac_ext <<_ACEOF
78685 /* end confdefs.h. */
78686 int one(void) { return 1; }
78687 int two(void) { return 2; }
78690 main ()
78692 two();
78694 return 0;
78696 _ACEOF
78697 rm -f conftest.$ac_objext conftest$ac_exeext
78698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78699 (eval $ac_link) 2>conftest.er1
78700 ac_status=$?
78701 grep -v '^ *+' conftest.er1 >conftest.err
78702 rm -f conftest.er1
78703 cat conftest.err >&5
78704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78705 (exit $ac_status); } &&
78706 { ac_try='test -z "$ac_c_werror_flag"
78707 || test ! -s conftest.err'
78708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78709 (eval $ac_try) 2>&5
78710 ac_status=$?
78711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78712 (exit $ac_status); }; } &&
78713 { ac_try='test -s conftest$ac_exeext'
78714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78715 (eval $ac_try) 2>&5
78716 ac_status=$?
78717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78718 (exit $ac_status); }; }; then
78719 ac_gcsections=yes
78720 else
78721 echo "$as_me: failed program was:" >&5
78722 sed 's/^/| /' conftest.$ac_ext >&5
78724 ac_gcsections=no
78726 rm -f conftest.err conftest.$ac_objext \
78727 conftest$ac_exeext conftest.$ac_ext
78728 if test "$ac_gcsections" = "yes"; then
78729 rm -f conftest.c
78730 touch conftest.c
78731 if $CC -c conftest.c; then
78732 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
78733 grep "Warning: gc-sections option ignored" > /dev/null; then
78734 ac_gcsections=no
78737 rm -f conftest.c conftest.o conftest
78739 if test "$ac_gcsections" = "yes"; then
78740 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
78742 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
78743 echo "${ECHO_T}$ac_gcsections" >&6
78745 if test "$ac_test_CFLAGS" = set; then
78746 CFLAGS="$ac_save_CFLAGS"
78747 else
78748 # this is the suspicious part
78749 CFLAGS=''
78753 # Set -z,relro.
78754 # Note this is only for shared objects.
78755 ac_ld_relro=no
78756 if test x"$with_gnu_ld" = x"yes"; then
78757 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
78758 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
78759 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
78760 if test -n "$cxx_z_relo"; then
78761 OPT_LDFLAGS="-Wl,-z,relro"
78762 ac_ld_relro=yes
78764 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
78765 echo "${ECHO_T}$ac_ld_relro" >&6
78768 # Set linker optimization flags.
78769 if test x"$with_gnu_ld" = x"yes"; then
78770 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
78777 ac_test_CXXFLAGS="${CXXFLAGS+set}"
78778 ac_save_CXXFLAGS="$CXXFLAGS"
78779 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
78781 echo "$as_me:$LINENO: checking for sin in -lm" >&5
78782 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
78783 if test "${ac_cv_lib_m_sin+set}" = set; then
78784 echo $ECHO_N "(cached) $ECHO_C" >&6
78785 else
78786 ac_check_lib_save_LIBS=$LIBS
78787 LIBS="-lm $LIBS"
78788 if test x$gcc_no_link = xyes; then
78789 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78790 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78791 { (exit 1); exit 1; }; }
78793 cat >conftest.$ac_ext <<_ACEOF
78794 /* confdefs.h. */
78795 _ACEOF
78796 cat confdefs.h >>conftest.$ac_ext
78797 cat >>conftest.$ac_ext <<_ACEOF
78798 /* end confdefs.h. */
78800 /* Override any gcc2 internal prototype to avoid an error. */
78801 #ifdef __cplusplus
78802 extern "C"
78803 #endif
78804 /* We use char because int might match the return type of a gcc2
78805 builtin and then its argument prototype would still apply. */
78806 char sin ();
78808 main ()
78810 sin ();
78812 return 0;
78814 _ACEOF
78815 rm -f conftest.$ac_objext conftest$ac_exeext
78816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78817 (eval $ac_link) 2>conftest.er1
78818 ac_status=$?
78819 grep -v '^ *+' conftest.er1 >conftest.err
78820 rm -f conftest.er1
78821 cat conftest.err >&5
78822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78823 (exit $ac_status); } &&
78824 { ac_try='test -z "$ac_c_werror_flag"
78825 || test ! -s conftest.err'
78826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78827 (eval $ac_try) 2>&5
78828 ac_status=$?
78829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78830 (exit $ac_status); }; } &&
78831 { ac_try='test -s conftest$ac_exeext'
78832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78833 (eval $ac_try) 2>&5
78834 ac_status=$?
78835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78836 (exit $ac_status); }; }; then
78837 ac_cv_lib_m_sin=yes
78838 else
78839 echo "$as_me: failed program was:" >&5
78840 sed 's/^/| /' conftest.$ac_ext >&5
78842 ac_cv_lib_m_sin=no
78844 rm -f conftest.err conftest.$ac_objext \
78845 conftest$ac_exeext conftest.$ac_ext
78846 LIBS=$ac_check_lib_save_LIBS
78848 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
78849 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
78850 if test $ac_cv_lib_m_sin = yes; then
78851 libm="-lm"
78854 ac_save_LIBS="$LIBS"
78855 LIBS="$LIBS $libm"
78859 echo "$as_me:$LINENO: checking for isinf declaration" >&5
78860 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
78861 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
78862 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
78863 echo $ECHO_N "(cached) $ECHO_C" >&6
78864 else
78868 ac_ext=cc
78869 ac_cpp='$CXXCPP $CPPFLAGS'
78870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78874 cat >conftest.$ac_ext <<_ACEOF
78875 /* confdefs.h. */
78876 _ACEOF
78877 cat confdefs.h >>conftest.$ac_ext
78878 cat >>conftest.$ac_ext <<_ACEOF
78879 /* end confdefs.h. */
78880 #include <math.h>
78881 #ifdef HAVE_IEEEFP_H
78882 #include <ieeefp.h>
78883 #endif
78886 main ()
78888 isinf(0);
78890 return 0;
78892 _ACEOF
78893 rm -f conftest.$ac_objext
78894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78895 (eval $ac_compile) 2>conftest.er1
78896 ac_status=$?
78897 grep -v '^ *+' conftest.er1 >conftest.err
78898 rm -f conftest.er1
78899 cat conftest.err >&5
78900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78901 (exit $ac_status); } &&
78902 { ac_try='test -z "$ac_cxx_werror_flag"
78903 || test ! -s conftest.err'
78904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78905 (eval $ac_try) 2>&5
78906 ac_status=$?
78907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78908 (exit $ac_status); }; } &&
78909 { ac_try='test -s conftest.$ac_objext'
78910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78911 (eval $ac_try) 2>&5
78912 ac_status=$?
78913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78914 (exit $ac_status); }; }; then
78915 glibcxx_cv_func_isinf_use=yes
78916 else
78917 echo "$as_me: failed program was:" >&5
78918 sed 's/^/| /' conftest.$ac_ext >&5
78920 glibcxx_cv_func_isinf_use=no
78922 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78923 ac_ext=c
78924 ac_cpp='$CPP $CPPFLAGS'
78925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78933 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
78934 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
78936 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
78938 for ac_func in isinf
78940 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78941 echo "$as_me:$LINENO: checking for $ac_func" >&5
78942 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78943 if eval "test \"\${$as_ac_var+set}\" = set"; then
78944 echo $ECHO_N "(cached) $ECHO_C" >&6
78945 else
78946 if test x$gcc_no_link = xyes; then
78947 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78948 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78949 { (exit 1); exit 1; }; }
78951 cat >conftest.$ac_ext <<_ACEOF
78952 /* confdefs.h. */
78953 _ACEOF
78954 cat confdefs.h >>conftest.$ac_ext
78955 cat >>conftest.$ac_ext <<_ACEOF
78956 /* end confdefs.h. */
78957 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78958 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78959 #define $ac_func innocuous_$ac_func
78961 /* System header to define __stub macros and hopefully few prototypes,
78962 which can conflict with char $ac_func (); below.
78963 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78964 <limits.h> exists even on freestanding compilers. */
78966 #ifdef __STDC__
78967 # include <limits.h>
78968 #else
78969 # include <assert.h>
78970 #endif
78972 #undef $ac_func
78974 /* Override any gcc2 internal prototype to avoid an error. */
78975 #ifdef __cplusplus
78976 extern "C"
78978 #endif
78979 /* We use char because int might match the return type of a gcc2
78980 builtin and then its argument prototype would still apply. */
78981 char $ac_func ();
78982 /* The GNU C library defines this for functions which it implements
78983 to always fail with ENOSYS. Some functions are actually named
78984 something starting with __ and the normal name is an alias. */
78985 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78986 choke me
78987 #else
78988 char (*f) () = $ac_func;
78989 #endif
78990 #ifdef __cplusplus
78992 #endif
78995 main ()
78997 return f != $ac_func;
78999 return 0;
79001 _ACEOF
79002 rm -f conftest.$ac_objext conftest$ac_exeext
79003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79004 (eval $ac_link) 2>conftest.er1
79005 ac_status=$?
79006 grep -v '^ *+' conftest.er1 >conftest.err
79007 rm -f conftest.er1
79008 cat conftest.err >&5
79009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79010 (exit $ac_status); } &&
79011 { ac_try='test -z "$ac_c_werror_flag"
79012 || test ! -s conftest.err'
79013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79014 (eval $ac_try) 2>&5
79015 ac_status=$?
79016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79017 (exit $ac_status); }; } &&
79018 { ac_try='test -s conftest$ac_exeext'
79019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79020 (eval $ac_try) 2>&5
79021 ac_status=$?
79022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79023 (exit $ac_status); }; }; then
79024 eval "$as_ac_var=yes"
79025 else
79026 echo "$as_me: failed program was:" >&5
79027 sed 's/^/| /' conftest.$ac_ext >&5
79029 eval "$as_ac_var=no"
79031 rm -f conftest.err conftest.$ac_objext \
79032 conftest$ac_exeext conftest.$ac_ext
79034 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79035 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79036 if test `eval echo '${'$as_ac_var'}'` = yes; then
79037 cat >>confdefs.h <<_ACEOF
79038 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79039 _ACEOF
79042 done
79044 else
79046 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
79047 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
79048 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
79049 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
79050 echo $ECHO_N "(cached) $ECHO_C" >&6
79051 else
79055 ac_ext=cc
79056 ac_cpp='$CXXCPP $CPPFLAGS'
79057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79061 cat >conftest.$ac_ext <<_ACEOF
79062 /* confdefs.h. */
79063 _ACEOF
79064 cat confdefs.h >>conftest.$ac_ext
79065 cat >>conftest.$ac_ext <<_ACEOF
79066 /* end confdefs.h. */
79067 #include <math.h>
79068 #ifdef HAVE_IEEEFP_H
79069 #include <ieeefp.h>
79070 #endif
79073 main ()
79075 _isinf(0);
79077 return 0;
79079 _ACEOF
79080 rm -f conftest.$ac_objext
79081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79082 (eval $ac_compile) 2>conftest.er1
79083 ac_status=$?
79084 grep -v '^ *+' conftest.er1 >conftest.err
79085 rm -f conftest.er1
79086 cat conftest.err >&5
79087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79088 (exit $ac_status); } &&
79089 { ac_try='test -z "$ac_cxx_werror_flag"
79090 || test ! -s conftest.err'
79091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79092 (eval $ac_try) 2>&5
79093 ac_status=$?
79094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79095 (exit $ac_status); }; } &&
79096 { ac_try='test -s conftest.$ac_objext'
79097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79098 (eval $ac_try) 2>&5
79099 ac_status=$?
79100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79101 (exit $ac_status); }; }; then
79102 glibcxx_cv_func__isinf_use=yes
79103 else
79104 echo "$as_me: failed program was:" >&5
79105 sed 's/^/| /' conftest.$ac_ext >&5
79107 glibcxx_cv_func__isinf_use=no
79109 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79110 ac_ext=c
79111 ac_cpp='$CPP $CPPFLAGS'
79112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79120 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
79121 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
79123 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
79125 for ac_func in _isinf
79127 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79128 echo "$as_me:$LINENO: checking for $ac_func" >&5
79129 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79130 if eval "test \"\${$as_ac_var+set}\" = set"; then
79131 echo $ECHO_N "(cached) $ECHO_C" >&6
79132 else
79133 if test x$gcc_no_link = xyes; then
79134 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79135 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79136 { (exit 1); exit 1; }; }
79138 cat >conftest.$ac_ext <<_ACEOF
79139 /* confdefs.h. */
79140 _ACEOF
79141 cat confdefs.h >>conftest.$ac_ext
79142 cat >>conftest.$ac_ext <<_ACEOF
79143 /* end confdefs.h. */
79144 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79145 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79146 #define $ac_func innocuous_$ac_func
79148 /* System header to define __stub macros and hopefully few prototypes,
79149 which can conflict with char $ac_func (); below.
79150 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79151 <limits.h> exists even on freestanding compilers. */
79153 #ifdef __STDC__
79154 # include <limits.h>
79155 #else
79156 # include <assert.h>
79157 #endif
79159 #undef $ac_func
79161 /* Override any gcc2 internal prototype to avoid an error. */
79162 #ifdef __cplusplus
79163 extern "C"
79165 #endif
79166 /* We use char because int might match the return type of a gcc2
79167 builtin and then its argument prototype would still apply. */
79168 char $ac_func ();
79169 /* The GNU C library defines this for functions which it implements
79170 to always fail with ENOSYS. Some functions are actually named
79171 something starting with __ and the normal name is an alias. */
79172 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79173 choke me
79174 #else
79175 char (*f) () = $ac_func;
79176 #endif
79177 #ifdef __cplusplus
79179 #endif
79182 main ()
79184 return f != $ac_func;
79186 return 0;
79188 _ACEOF
79189 rm -f conftest.$ac_objext conftest$ac_exeext
79190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79191 (eval $ac_link) 2>conftest.er1
79192 ac_status=$?
79193 grep -v '^ *+' conftest.er1 >conftest.err
79194 rm -f conftest.er1
79195 cat conftest.err >&5
79196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79197 (exit $ac_status); } &&
79198 { ac_try='test -z "$ac_c_werror_flag"
79199 || test ! -s conftest.err'
79200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79201 (eval $ac_try) 2>&5
79202 ac_status=$?
79203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79204 (exit $ac_status); }; } &&
79205 { ac_try='test -s conftest$ac_exeext'
79206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79207 (eval $ac_try) 2>&5
79208 ac_status=$?
79209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79210 (exit $ac_status); }; }; then
79211 eval "$as_ac_var=yes"
79212 else
79213 echo "$as_me: failed program was:" >&5
79214 sed 's/^/| /' conftest.$ac_ext >&5
79216 eval "$as_ac_var=no"
79218 rm -f conftest.err conftest.$ac_objext \
79219 conftest$ac_exeext conftest.$ac_ext
79221 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79222 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79223 if test `eval echo '${'$as_ac_var'}'` = yes; then
79224 cat >>confdefs.h <<_ACEOF
79225 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79226 _ACEOF
79229 done
79239 echo "$as_me:$LINENO: checking for isnan declaration" >&5
79240 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
79241 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
79242 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
79243 echo $ECHO_N "(cached) $ECHO_C" >&6
79244 else
79248 ac_ext=cc
79249 ac_cpp='$CXXCPP $CPPFLAGS'
79250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79254 cat >conftest.$ac_ext <<_ACEOF
79255 /* confdefs.h. */
79256 _ACEOF
79257 cat confdefs.h >>conftest.$ac_ext
79258 cat >>conftest.$ac_ext <<_ACEOF
79259 /* end confdefs.h. */
79260 #include <math.h>
79261 #ifdef HAVE_IEEEFP_H
79262 #include <ieeefp.h>
79263 #endif
79266 main ()
79268 isnan(0);
79270 return 0;
79272 _ACEOF
79273 rm -f conftest.$ac_objext
79274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79275 (eval $ac_compile) 2>conftest.er1
79276 ac_status=$?
79277 grep -v '^ *+' conftest.er1 >conftest.err
79278 rm -f conftest.er1
79279 cat conftest.err >&5
79280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79281 (exit $ac_status); } &&
79282 { ac_try='test -z "$ac_cxx_werror_flag"
79283 || test ! -s conftest.err'
79284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79285 (eval $ac_try) 2>&5
79286 ac_status=$?
79287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79288 (exit $ac_status); }; } &&
79289 { ac_try='test -s conftest.$ac_objext'
79290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79291 (eval $ac_try) 2>&5
79292 ac_status=$?
79293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79294 (exit $ac_status); }; }; then
79295 glibcxx_cv_func_isnan_use=yes
79296 else
79297 echo "$as_me: failed program was:" >&5
79298 sed 's/^/| /' conftest.$ac_ext >&5
79300 glibcxx_cv_func_isnan_use=no
79302 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79303 ac_ext=c
79304 ac_cpp='$CPP $CPPFLAGS'
79305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79313 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
79314 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
79316 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
79318 for ac_func in isnan
79320 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79321 echo "$as_me:$LINENO: checking for $ac_func" >&5
79322 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79323 if eval "test \"\${$as_ac_var+set}\" = set"; then
79324 echo $ECHO_N "(cached) $ECHO_C" >&6
79325 else
79326 if test x$gcc_no_link = xyes; then
79327 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79328 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79329 { (exit 1); exit 1; }; }
79331 cat >conftest.$ac_ext <<_ACEOF
79332 /* confdefs.h. */
79333 _ACEOF
79334 cat confdefs.h >>conftest.$ac_ext
79335 cat >>conftest.$ac_ext <<_ACEOF
79336 /* end confdefs.h. */
79337 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79338 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79339 #define $ac_func innocuous_$ac_func
79341 /* System header to define __stub macros and hopefully few prototypes,
79342 which can conflict with char $ac_func (); below.
79343 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79344 <limits.h> exists even on freestanding compilers. */
79346 #ifdef __STDC__
79347 # include <limits.h>
79348 #else
79349 # include <assert.h>
79350 #endif
79352 #undef $ac_func
79354 /* Override any gcc2 internal prototype to avoid an error. */
79355 #ifdef __cplusplus
79356 extern "C"
79358 #endif
79359 /* We use char because int might match the return type of a gcc2
79360 builtin and then its argument prototype would still apply. */
79361 char $ac_func ();
79362 /* The GNU C library defines this for functions which it implements
79363 to always fail with ENOSYS. Some functions are actually named
79364 something starting with __ and the normal name is an alias. */
79365 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79366 choke me
79367 #else
79368 char (*f) () = $ac_func;
79369 #endif
79370 #ifdef __cplusplus
79372 #endif
79375 main ()
79377 return f != $ac_func;
79379 return 0;
79381 _ACEOF
79382 rm -f conftest.$ac_objext conftest$ac_exeext
79383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79384 (eval $ac_link) 2>conftest.er1
79385 ac_status=$?
79386 grep -v '^ *+' conftest.er1 >conftest.err
79387 rm -f conftest.er1
79388 cat conftest.err >&5
79389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79390 (exit $ac_status); } &&
79391 { ac_try='test -z "$ac_c_werror_flag"
79392 || test ! -s conftest.err'
79393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79394 (eval $ac_try) 2>&5
79395 ac_status=$?
79396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79397 (exit $ac_status); }; } &&
79398 { ac_try='test -s conftest$ac_exeext'
79399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79400 (eval $ac_try) 2>&5
79401 ac_status=$?
79402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79403 (exit $ac_status); }; }; then
79404 eval "$as_ac_var=yes"
79405 else
79406 echo "$as_me: failed program was:" >&5
79407 sed 's/^/| /' conftest.$ac_ext >&5
79409 eval "$as_ac_var=no"
79411 rm -f conftest.err conftest.$ac_objext \
79412 conftest$ac_exeext conftest.$ac_ext
79414 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79415 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79416 if test `eval echo '${'$as_ac_var'}'` = yes; then
79417 cat >>confdefs.h <<_ACEOF
79418 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79419 _ACEOF
79422 done
79424 else
79426 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
79427 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
79428 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
79429 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
79430 echo $ECHO_N "(cached) $ECHO_C" >&6
79431 else
79435 ac_ext=cc
79436 ac_cpp='$CXXCPP $CPPFLAGS'
79437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79441 cat >conftest.$ac_ext <<_ACEOF
79442 /* confdefs.h. */
79443 _ACEOF
79444 cat confdefs.h >>conftest.$ac_ext
79445 cat >>conftest.$ac_ext <<_ACEOF
79446 /* end confdefs.h. */
79447 #include <math.h>
79448 #ifdef HAVE_IEEEFP_H
79449 #include <ieeefp.h>
79450 #endif
79453 main ()
79455 _isnan(0);
79457 return 0;
79459 _ACEOF
79460 rm -f conftest.$ac_objext
79461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79462 (eval $ac_compile) 2>conftest.er1
79463 ac_status=$?
79464 grep -v '^ *+' conftest.er1 >conftest.err
79465 rm -f conftest.er1
79466 cat conftest.err >&5
79467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79468 (exit $ac_status); } &&
79469 { ac_try='test -z "$ac_cxx_werror_flag"
79470 || test ! -s conftest.err'
79471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79472 (eval $ac_try) 2>&5
79473 ac_status=$?
79474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79475 (exit $ac_status); }; } &&
79476 { ac_try='test -s conftest.$ac_objext'
79477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79478 (eval $ac_try) 2>&5
79479 ac_status=$?
79480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79481 (exit $ac_status); }; }; then
79482 glibcxx_cv_func__isnan_use=yes
79483 else
79484 echo "$as_me: failed program was:" >&5
79485 sed 's/^/| /' conftest.$ac_ext >&5
79487 glibcxx_cv_func__isnan_use=no
79489 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79490 ac_ext=c
79491 ac_cpp='$CPP $CPPFLAGS'
79492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79500 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
79501 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
79503 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
79505 for ac_func in _isnan
79507 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79508 echo "$as_me:$LINENO: checking for $ac_func" >&5
79509 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79510 if eval "test \"\${$as_ac_var+set}\" = set"; then
79511 echo $ECHO_N "(cached) $ECHO_C" >&6
79512 else
79513 if test x$gcc_no_link = xyes; then
79514 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79515 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79516 { (exit 1); exit 1; }; }
79518 cat >conftest.$ac_ext <<_ACEOF
79519 /* confdefs.h. */
79520 _ACEOF
79521 cat confdefs.h >>conftest.$ac_ext
79522 cat >>conftest.$ac_ext <<_ACEOF
79523 /* end confdefs.h. */
79524 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79525 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79526 #define $ac_func innocuous_$ac_func
79528 /* System header to define __stub macros and hopefully few prototypes,
79529 which can conflict with char $ac_func (); below.
79530 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79531 <limits.h> exists even on freestanding compilers. */
79533 #ifdef __STDC__
79534 # include <limits.h>
79535 #else
79536 # include <assert.h>
79537 #endif
79539 #undef $ac_func
79541 /* Override any gcc2 internal prototype to avoid an error. */
79542 #ifdef __cplusplus
79543 extern "C"
79545 #endif
79546 /* We use char because int might match the return type of a gcc2
79547 builtin and then its argument prototype would still apply. */
79548 char $ac_func ();
79549 /* The GNU C library defines this for functions which it implements
79550 to always fail with ENOSYS. Some functions are actually named
79551 something starting with __ and the normal name is an alias. */
79552 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79553 choke me
79554 #else
79555 char (*f) () = $ac_func;
79556 #endif
79557 #ifdef __cplusplus
79559 #endif
79562 main ()
79564 return f != $ac_func;
79566 return 0;
79568 _ACEOF
79569 rm -f conftest.$ac_objext conftest$ac_exeext
79570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79571 (eval $ac_link) 2>conftest.er1
79572 ac_status=$?
79573 grep -v '^ *+' conftest.er1 >conftest.err
79574 rm -f conftest.er1
79575 cat conftest.err >&5
79576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79577 (exit $ac_status); } &&
79578 { ac_try='test -z "$ac_c_werror_flag"
79579 || test ! -s conftest.err'
79580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79581 (eval $ac_try) 2>&5
79582 ac_status=$?
79583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79584 (exit $ac_status); }; } &&
79585 { ac_try='test -s conftest$ac_exeext'
79586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79587 (eval $ac_try) 2>&5
79588 ac_status=$?
79589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79590 (exit $ac_status); }; }; then
79591 eval "$as_ac_var=yes"
79592 else
79593 echo "$as_me: failed program was:" >&5
79594 sed 's/^/| /' conftest.$ac_ext >&5
79596 eval "$as_ac_var=no"
79598 rm -f conftest.err conftest.$ac_objext \
79599 conftest$ac_exeext conftest.$ac_ext
79601 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79602 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79603 if test `eval echo '${'$as_ac_var'}'` = yes; then
79604 cat >>confdefs.h <<_ACEOF
79605 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79606 _ACEOF
79609 done
79619 echo "$as_me:$LINENO: checking for finite declaration" >&5
79620 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
79621 if test x${glibcxx_cv_func_finite_use+set} != xset; then
79622 if test "${glibcxx_cv_func_finite_use+set}" = set; then
79623 echo $ECHO_N "(cached) $ECHO_C" >&6
79624 else
79628 ac_ext=cc
79629 ac_cpp='$CXXCPP $CPPFLAGS'
79630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79634 cat >conftest.$ac_ext <<_ACEOF
79635 /* confdefs.h. */
79636 _ACEOF
79637 cat confdefs.h >>conftest.$ac_ext
79638 cat >>conftest.$ac_ext <<_ACEOF
79639 /* end confdefs.h. */
79640 #include <math.h>
79641 #ifdef HAVE_IEEEFP_H
79642 #include <ieeefp.h>
79643 #endif
79646 main ()
79648 finite(0);
79650 return 0;
79652 _ACEOF
79653 rm -f conftest.$ac_objext
79654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79655 (eval $ac_compile) 2>conftest.er1
79656 ac_status=$?
79657 grep -v '^ *+' conftest.er1 >conftest.err
79658 rm -f conftest.er1
79659 cat conftest.err >&5
79660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79661 (exit $ac_status); } &&
79662 { ac_try='test -z "$ac_cxx_werror_flag"
79663 || test ! -s conftest.err'
79664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79665 (eval $ac_try) 2>&5
79666 ac_status=$?
79667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79668 (exit $ac_status); }; } &&
79669 { ac_try='test -s conftest.$ac_objext'
79670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79671 (eval $ac_try) 2>&5
79672 ac_status=$?
79673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79674 (exit $ac_status); }; }; then
79675 glibcxx_cv_func_finite_use=yes
79676 else
79677 echo "$as_me: failed program was:" >&5
79678 sed 's/^/| /' conftest.$ac_ext >&5
79680 glibcxx_cv_func_finite_use=no
79682 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79683 ac_ext=c
79684 ac_cpp='$CPP $CPPFLAGS'
79685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79693 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
79694 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
79696 if test x$glibcxx_cv_func_finite_use = x"yes"; then
79698 for ac_func in finite
79700 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79701 echo "$as_me:$LINENO: checking for $ac_func" >&5
79702 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79703 if eval "test \"\${$as_ac_var+set}\" = set"; then
79704 echo $ECHO_N "(cached) $ECHO_C" >&6
79705 else
79706 if test x$gcc_no_link = xyes; then
79707 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79708 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79709 { (exit 1); exit 1; }; }
79711 cat >conftest.$ac_ext <<_ACEOF
79712 /* confdefs.h. */
79713 _ACEOF
79714 cat confdefs.h >>conftest.$ac_ext
79715 cat >>conftest.$ac_ext <<_ACEOF
79716 /* end confdefs.h. */
79717 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79718 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79719 #define $ac_func innocuous_$ac_func
79721 /* System header to define __stub macros and hopefully few prototypes,
79722 which can conflict with char $ac_func (); below.
79723 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79724 <limits.h> exists even on freestanding compilers. */
79726 #ifdef __STDC__
79727 # include <limits.h>
79728 #else
79729 # include <assert.h>
79730 #endif
79732 #undef $ac_func
79734 /* Override any gcc2 internal prototype to avoid an error. */
79735 #ifdef __cplusplus
79736 extern "C"
79738 #endif
79739 /* We use char because int might match the return type of a gcc2
79740 builtin and then its argument prototype would still apply. */
79741 char $ac_func ();
79742 /* The GNU C library defines this for functions which it implements
79743 to always fail with ENOSYS. Some functions are actually named
79744 something starting with __ and the normal name is an alias. */
79745 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79746 choke me
79747 #else
79748 char (*f) () = $ac_func;
79749 #endif
79750 #ifdef __cplusplus
79752 #endif
79755 main ()
79757 return f != $ac_func;
79759 return 0;
79761 _ACEOF
79762 rm -f conftest.$ac_objext conftest$ac_exeext
79763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79764 (eval $ac_link) 2>conftest.er1
79765 ac_status=$?
79766 grep -v '^ *+' conftest.er1 >conftest.err
79767 rm -f conftest.er1
79768 cat conftest.err >&5
79769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79770 (exit $ac_status); } &&
79771 { ac_try='test -z "$ac_c_werror_flag"
79772 || test ! -s conftest.err'
79773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79774 (eval $ac_try) 2>&5
79775 ac_status=$?
79776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79777 (exit $ac_status); }; } &&
79778 { ac_try='test -s conftest$ac_exeext'
79779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79780 (eval $ac_try) 2>&5
79781 ac_status=$?
79782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79783 (exit $ac_status); }; }; then
79784 eval "$as_ac_var=yes"
79785 else
79786 echo "$as_me: failed program was:" >&5
79787 sed 's/^/| /' conftest.$ac_ext >&5
79789 eval "$as_ac_var=no"
79791 rm -f conftest.err conftest.$ac_objext \
79792 conftest$ac_exeext conftest.$ac_ext
79794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79795 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79796 if test `eval echo '${'$as_ac_var'}'` = yes; then
79797 cat >>confdefs.h <<_ACEOF
79798 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79799 _ACEOF
79802 done
79804 else
79806 echo "$as_me:$LINENO: checking for _finite declaration" >&5
79807 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
79808 if test x${glibcxx_cv_func__finite_use+set} != xset; then
79809 if test "${glibcxx_cv_func__finite_use+set}" = set; then
79810 echo $ECHO_N "(cached) $ECHO_C" >&6
79811 else
79815 ac_ext=cc
79816 ac_cpp='$CXXCPP $CPPFLAGS'
79817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79821 cat >conftest.$ac_ext <<_ACEOF
79822 /* confdefs.h. */
79823 _ACEOF
79824 cat confdefs.h >>conftest.$ac_ext
79825 cat >>conftest.$ac_ext <<_ACEOF
79826 /* end confdefs.h. */
79827 #include <math.h>
79828 #ifdef HAVE_IEEEFP_H
79829 #include <ieeefp.h>
79830 #endif
79833 main ()
79835 _finite(0);
79837 return 0;
79839 _ACEOF
79840 rm -f conftest.$ac_objext
79841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79842 (eval $ac_compile) 2>conftest.er1
79843 ac_status=$?
79844 grep -v '^ *+' conftest.er1 >conftest.err
79845 rm -f conftest.er1
79846 cat conftest.err >&5
79847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79848 (exit $ac_status); } &&
79849 { ac_try='test -z "$ac_cxx_werror_flag"
79850 || test ! -s conftest.err'
79851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79852 (eval $ac_try) 2>&5
79853 ac_status=$?
79854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79855 (exit $ac_status); }; } &&
79856 { ac_try='test -s conftest.$ac_objext'
79857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79858 (eval $ac_try) 2>&5
79859 ac_status=$?
79860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79861 (exit $ac_status); }; }; then
79862 glibcxx_cv_func__finite_use=yes
79863 else
79864 echo "$as_me: failed program was:" >&5
79865 sed 's/^/| /' conftest.$ac_ext >&5
79867 glibcxx_cv_func__finite_use=no
79869 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79870 ac_ext=c
79871 ac_cpp='$CPP $CPPFLAGS'
79872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79880 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
79881 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
79883 if test x$glibcxx_cv_func__finite_use = x"yes"; then
79885 for ac_func in _finite
79887 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79888 echo "$as_me:$LINENO: checking for $ac_func" >&5
79889 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79890 if eval "test \"\${$as_ac_var+set}\" = set"; then
79891 echo $ECHO_N "(cached) $ECHO_C" >&6
79892 else
79893 if test x$gcc_no_link = xyes; then
79894 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79895 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79896 { (exit 1); exit 1; }; }
79898 cat >conftest.$ac_ext <<_ACEOF
79899 /* confdefs.h. */
79900 _ACEOF
79901 cat confdefs.h >>conftest.$ac_ext
79902 cat >>conftest.$ac_ext <<_ACEOF
79903 /* end confdefs.h. */
79904 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79905 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79906 #define $ac_func innocuous_$ac_func
79908 /* System header to define __stub macros and hopefully few prototypes,
79909 which can conflict with char $ac_func (); below.
79910 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79911 <limits.h> exists even on freestanding compilers. */
79913 #ifdef __STDC__
79914 # include <limits.h>
79915 #else
79916 # include <assert.h>
79917 #endif
79919 #undef $ac_func
79921 /* Override any gcc2 internal prototype to avoid an error. */
79922 #ifdef __cplusplus
79923 extern "C"
79925 #endif
79926 /* We use char because int might match the return type of a gcc2
79927 builtin and then its argument prototype would still apply. */
79928 char $ac_func ();
79929 /* The GNU C library defines this for functions which it implements
79930 to always fail with ENOSYS. Some functions are actually named
79931 something starting with __ and the normal name is an alias. */
79932 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79933 choke me
79934 #else
79935 char (*f) () = $ac_func;
79936 #endif
79937 #ifdef __cplusplus
79939 #endif
79942 main ()
79944 return f != $ac_func;
79946 return 0;
79948 _ACEOF
79949 rm -f conftest.$ac_objext conftest$ac_exeext
79950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79951 (eval $ac_link) 2>conftest.er1
79952 ac_status=$?
79953 grep -v '^ *+' conftest.er1 >conftest.err
79954 rm -f conftest.er1
79955 cat conftest.err >&5
79956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79957 (exit $ac_status); } &&
79958 { ac_try='test -z "$ac_c_werror_flag"
79959 || test ! -s conftest.err'
79960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79961 (eval $ac_try) 2>&5
79962 ac_status=$?
79963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79964 (exit $ac_status); }; } &&
79965 { ac_try='test -s conftest$ac_exeext'
79966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79967 (eval $ac_try) 2>&5
79968 ac_status=$?
79969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79970 (exit $ac_status); }; }; then
79971 eval "$as_ac_var=yes"
79972 else
79973 echo "$as_me: failed program was:" >&5
79974 sed 's/^/| /' conftest.$ac_ext >&5
79976 eval "$as_ac_var=no"
79978 rm -f conftest.err conftest.$ac_objext \
79979 conftest$ac_exeext conftest.$ac_ext
79981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79982 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79983 if test `eval echo '${'$as_ac_var'}'` = yes; then
79984 cat >>confdefs.h <<_ACEOF
79985 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79986 _ACEOF
79989 done
79999 echo "$as_me:$LINENO: checking for copysign declaration" >&5
80000 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
80001 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
80002 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
80003 echo $ECHO_N "(cached) $ECHO_C" >&6
80004 else
80008 ac_ext=cc
80009 ac_cpp='$CXXCPP $CPPFLAGS'
80010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80014 cat >conftest.$ac_ext <<_ACEOF
80015 /* confdefs.h. */
80016 _ACEOF
80017 cat confdefs.h >>conftest.$ac_ext
80018 cat >>conftest.$ac_ext <<_ACEOF
80019 /* end confdefs.h. */
80020 #include <math.h>
80022 main ()
80024 copysign(0, 0);
80026 return 0;
80028 _ACEOF
80029 rm -f conftest.$ac_objext
80030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80031 (eval $ac_compile) 2>conftest.er1
80032 ac_status=$?
80033 grep -v '^ *+' conftest.er1 >conftest.err
80034 rm -f conftest.er1
80035 cat conftest.err >&5
80036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80037 (exit $ac_status); } &&
80038 { ac_try='test -z "$ac_cxx_werror_flag"
80039 || test ! -s conftest.err'
80040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80041 (eval $ac_try) 2>&5
80042 ac_status=$?
80043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80044 (exit $ac_status); }; } &&
80045 { ac_try='test -s conftest.$ac_objext'
80046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80047 (eval $ac_try) 2>&5
80048 ac_status=$?
80049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80050 (exit $ac_status); }; }; then
80051 glibcxx_cv_func_copysign_use=yes
80052 else
80053 echo "$as_me: failed program was:" >&5
80054 sed 's/^/| /' conftest.$ac_ext >&5
80056 glibcxx_cv_func_copysign_use=no
80058 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80059 ac_ext=c
80060 ac_cpp='$CPP $CPPFLAGS'
80061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80069 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
80070 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
80072 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
80074 for ac_func in copysign
80076 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80077 echo "$as_me:$LINENO: checking for $ac_func" >&5
80078 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80079 if eval "test \"\${$as_ac_var+set}\" = set"; then
80080 echo $ECHO_N "(cached) $ECHO_C" >&6
80081 else
80082 if test x$gcc_no_link = xyes; then
80083 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80084 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80085 { (exit 1); exit 1; }; }
80087 cat >conftest.$ac_ext <<_ACEOF
80088 /* confdefs.h. */
80089 _ACEOF
80090 cat confdefs.h >>conftest.$ac_ext
80091 cat >>conftest.$ac_ext <<_ACEOF
80092 /* end confdefs.h. */
80093 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80094 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80095 #define $ac_func innocuous_$ac_func
80097 /* System header to define __stub macros and hopefully few prototypes,
80098 which can conflict with char $ac_func (); below.
80099 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80100 <limits.h> exists even on freestanding compilers. */
80102 #ifdef __STDC__
80103 # include <limits.h>
80104 #else
80105 # include <assert.h>
80106 #endif
80108 #undef $ac_func
80110 /* Override any gcc2 internal prototype to avoid an error. */
80111 #ifdef __cplusplus
80112 extern "C"
80114 #endif
80115 /* We use char because int might match the return type of a gcc2
80116 builtin and then its argument prototype would still apply. */
80117 char $ac_func ();
80118 /* The GNU C library defines this for functions which it implements
80119 to always fail with ENOSYS. Some functions are actually named
80120 something starting with __ and the normal name is an alias. */
80121 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80122 choke me
80123 #else
80124 char (*f) () = $ac_func;
80125 #endif
80126 #ifdef __cplusplus
80128 #endif
80131 main ()
80133 return f != $ac_func;
80135 return 0;
80137 _ACEOF
80138 rm -f conftest.$ac_objext conftest$ac_exeext
80139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80140 (eval $ac_link) 2>conftest.er1
80141 ac_status=$?
80142 grep -v '^ *+' conftest.er1 >conftest.err
80143 rm -f conftest.er1
80144 cat conftest.err >&5
80145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80146 (exit $ac_status); } &&
80147 { ac_try='test -z "$ac_c_werror_flag"
80148 || test ! -s conftest.err'
80149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80150 (eval $ac_try) 2>&5
80151 ac_status=$?
80152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80153 (exit $ac_status); }; } &&
80154 { ac_try='test -s conftest$ac_exeext'
80155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80156 (eval $ac_try) 2>&5
80157 ac_status=$?
80158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80159 (exit $ac_status); }; }; then
80160 eval "$as_ac_var=yes"
80161 else
80162 echo "$as_me: failed program was:" >&5
80163 sed 's/^/| /' conftest.$ac_ext >&5
80165 eval "$as_ac_var=no"
80167 rm -f conftest.err conftest.$ac_objext \
80168 conftest$ac_exeext conftest.$ac_ext
80170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80171 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80172 if test `eval echo '${'$as_ac_var'}'` = yes; then
80173 cat >>confdefs.h <<_ACEOF
80174 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80175 _ACEOF
80178 done
80180 else
80182 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
80183 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
80184 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
80185 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
80186 echo $ECHO_N "(cached) $ECHO_C" >&6
80187 else
80191 ac_ext=cc
80192 ac_cpp='$CXXCPP $CPPFLAGS'
80193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80197 cat >conftest.$ac_ext <<_ACEOF
80198 /* confdefs.h. */
80199 _ACEOF
80200 cat confdefs.h >>conftest.$ac_ext
80201 cat >>conftest.$ac_ext <<_ACEOF
80202 /* end confdefs.h. */
80203 #include <math.h>
80205 main ()
80207 _copysign(0, 0);
80209 return 0;
80211 _ACEOF
80212 rm -f conftest.$ac_objext
80213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80214 (eval $ac_compile) 2>conftest.er1
80215 ac_status=$?
80216 grep -v '^ *+' conftest.er1 >conftest.err
80217 rm -f conftest.er1
80218 cat conftest.err >&5
80219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80220 (exit $ac_status); } &&
80221 { ac_try='test -z "$ac_cxx_werror_flag"
80222 || test ! -s conftest.err'
80223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80224 (eval $ac_try) 2>&5
80225 ac_status=$?
80226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80227 (exit $ac_status); }; } &&
80228 { ac_try='test -s conftest.$ac_objext'
80229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80230 (eval $ac_try) 2>&5
80231 ac_status=$?
80232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80233 (exit $ac_status); }; }; then
80234 glibcxx_cv_func__copysign_use=yes
80235 else
80236 echo "$as_me: failed program was:" >&5
80237 sed 's/^/| /' conftest.$ac_ext >&5
80239 glibcxx_cv_func__copysign_use=no
80241 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80242 ac_ext=c
80243 ac_cpp='$CPP $CPPFLAGS'
80244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80252 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
80253 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
80255 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
80257 for ac_func in _copysign
80259 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80260 echo "$as_me:$LINENO: checking for $ac_func" >&5
80261 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80262 if eval "test \"\${$as_ac_var+set}\" = set"; then
80263 echo $ECHO_N "(cached) $ECHO_C" >&6
80264 else
80265 if test x$gcc_no_link = xyes; then
80266 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80267 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80268 { (exit 1); exit 1; }; }
80270 cat >conftest.$ac_ext <<_ACEOF
80271 /* confdefs.h. */
80272 _ACEOF
80273 cat confdefs.h >>conftest.$ac_ext
80274 cat >>conftest.$ac_ext <<_ACEOF
80275 /* end confdefs.h. */
80276 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80277 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80278 #define $ac_func innocuous_$ac_func
80280 /* System header to define __stub macros and hopefully few prototypes,
80281 which can conflict with char $ac_func (); below.
80282 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80283 <limits.h> exists even on freestanding compilers. */
80285 #ifdef __STDC__
80286 # include <limits.h>
80287 #else
80288 # include <assert.h>
80289 #endif
80291 #undef $ac_func
80293 /* Override any gcc2 internal prototype to avoid an error. */
80294 #ifdef __cplusplus
80295 extern "C"
80297 #endif
80298 /* We use char because int might match the return type of a gcc2
80299 builtin and then its argument prototype would still apply. */
80300 char $ac_func ();
80301 /* The GNU C library defines this for functions which it implements
80302 to always fail with ENOSYS. Some functions are actually named
80303 something starting with __ and the normal name is an alias. */
80304 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80305 choke me
80306 #else
80307 char (*f) () = $ac_func;
80308 #endif
80309 #ifdef __cplusplus
80311 #endif
80314 main ()
80316 return f != $ac_func;
80318 return 0;
80320 _ACEOF
80321 rm -f conftest.$ac_objext conftest$ac_exeext
80322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80323 (eval $ac_link) 2>conftest.er1
80324 ac_status=$?
80325 grep -v '^ *+' conftest.er1 >conftest.err
80326 rm -f conftest.er1
80327 cat conftest.err >&5
80328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80329 (exit $ac_status); } &&
80330 { ac_try='test -z "$ac_c_werror_flag"
80331 || test ! -s conftest.err'
80332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80333 (eval $ac_try) 2>&5
80334 ac_status=$?
80335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80336 (exit $ac_status); }; } &&
80337 { ac_try='test -s conftest$ac_exeext'
80338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80339 (eval $ac_try) 2>&5
80340 ac_status=$?
80341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80342 (exit $ac_status); }; }; then
80343 eval "$as_ac_var=yes"
80344 else
80345 echo "$as_me: failed program was:" >&5
80346 sed 's/^/| /' conftest.$ac_ext >&5
80348 eval "$as_ac_var=no"
80350 rm -f conftest.err conftest.$ac_objext \
80351 conftest$ac_exeext conftest.$ac_ext
80353 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80354 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80355 if test `eval echo '${'$as_ac_var'}'` = yes; then
80356 cat >>confdefs.h <<_ACEOF
80357 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80358 _ACEOF
80361 done
80371 echo "$as_me:$LINENO: checking for sincos declaration" >&5
80372 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
80373 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
80374 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
80375 echo $ECHO_N "(cached) $ECHO_C" >&6
80376 else
80380 ac_ext=cc
80381 ac_cpp='$CXXCPP $CPPFLAGS'
80382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80386 cat >conftest.$ac_ext <<_ACEOF
80387 /* confdefs.h. */
80388 _ACEOF
80389 cat confdefs.h >>conftest.$ac_ext
80390 cat >>conftest.$ac_ext <<_ACEOF
80391 /* end confdefs.h. */
80392 #include <math.h>
80394 main ()
80396 sincos(0, 0, 0);
80398 return 0;
80400 _ACEOF
80401 rm -f conftest.$ac_objext
80402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80403 (eval $ac_compile) 2>conftest.er1
80404 ac_status=$?
80405 grep -v '^ *+' conftest.er1 >conftest.err
80406 rm -f conftest.er1
80407 cat conftest.err >&5
80408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80409 (exit $ac_status); } &&
80410 { ac_try='test -z "$ac_cxx_werror_flag"
80411 || test ! -s conftest.err'
80412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80413 (eval $ac_try) 2>&5
80414 ac_status=$?
80415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80416 (exit $ac_status); }; } &&
80417 { ac_try='test -s conftest.$ac_objext'
80418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80419 (eval $ac_try) 2>&5
80420 ac_status=$?
80421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80422 (exit $ac_status); }; }; then
80423 glibcxx_cv_func_sincos_use=yes
80424 else
80425 echo "$as_me: failed program was:" >&5
80426 sed 's/^/| /' conftest.$ac_ext >&5
80428 glibcxx_cv_func_sincos_use=no
80430 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80431 ac_ext=c
80432 ac_cpp='$CPP $CPPFLAGS'
80433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80441 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
80442 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
80444 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
80446 for ac_func in sincos
80448 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80449 echo "$as_me:$LINENO: checking for $ac_func" >&5
80450 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80451 if eval "test \"\${$as_ac_var+set}\" = set"; then
80452 echo $ECHO_N "(cached) $ECHO_C" >&6
80453 else
80454 if test x$gcc_no_link = xyes; then
80455 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80456 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80457 { (exit 1); exit 1; }; }
80459 cat >conftest.$ac_ext <<_ACEOF
80460 /* confdefs.h. */
80461 _ACEOF
80462 cat confdefs.h >>conftest.$ac_ext
80463 cat >>conftest.$ac_ext <<_ACEOF
80464 /* end confdefs.h. */
80465 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80466 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80467 #define $ac_func innocuous_$ac_func
80469 /* System header to define __stub macros and hopefully few prototypes,
80470 which can conflict with char $ac_func (); below.
80471 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80472 <limits.h> exists even on freestanding compilers. */
80474 #ifdef __STDC__
80475 # include <limits.h>
80476 #else
80477 # include <assert.h>
80478 #endif
80480 #undef $ac_func
80482 /* Override any gcc2 internal prototype to avoid an error. */
80483 #ifdef __cplusplus
80484 extern "C"
80486 #endif
80487 /* We use char because int might match the return type of a gcc2
80488 builtin and then its argument prototype would still apply. */
80489 char $ac_func ();
80490 /* The GNU C library defines this for functions which it implements
80491 to always fail with ENOSYS. Some functions are actually named
80492 something starting with __ and the normal name is an alias. */
80493 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80494 choke me
80495 #else
80496 char (*f) () = $ac_func;
80497 #endif
80498 #ifdef __cplusplus
80500 #endif
80503 main ()
80505 return f != $ac_func;
80507 return 0;
80509 _ACEOF
80510 rm -f conftest.$ac_objext conftest$ac_exeext
80511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80512 (eval $ac_link) 2>conftest.er1
80513 ac_status=$?
80514 grep -v '^ *+' conftest.er1 >conftest.err
80515 rm -f conftest.er1
80516 cat conftest.err >&5
80517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80518 (exit $ac_status); } &&
80519 { ac_try='test -z "$ac_c_werror_flag"
80520 || test ! -s conftest.err'
80521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80522 (eval $ac_try) 2>&5
80523 ac_status=$?
80524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80525 (exit $ac_status); }; } &&
80526 { ac_try='test -s conftest$ac_exeext'
80527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80528 (eval $ac_try) 2>&5
80529 ac_status=$?
80530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80531 (exit $ac_status); }; }; then
80532 eval "$as_ac_var=yes"
80533 else
80534 echo "$as_me: failed program was:" >&5
80535 sed 's/^/| /' conftest.$ac_ext >&5
80537 eval "$as_ac_var=no"
80539 rm -f conftest.err conftest.$ac_objext \
80540 conftest$ac_exeext conftest.$ac_ext
80542 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80543 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80544 if test `eval echo '${'$as_ac_var'}'` = yes; then
80545 cat >>confdefs.h <<_ACEOF
80546 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80547 _ACEOF
80550 done
80552 else
80554 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
80555 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
80556 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
80557 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
80558 echo $ECHO_N "(cached) $ECHO_C" >&6
80559 else
80563 ac_ext=cc
80564 ac_cpp='$CXXCPP $CPPFLAGS'
80565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80569 cat >conftest.$ac_ext <<_ACEOF
80570 /* confdefs.h. */
80571 _ACEOF
80572 cat confdefs.h >>conftest.$ac_ext
80573 cat >>conftest.$ac_ext <<_ACEOF
80574 /* end confdefs.h. */
80575 #include <math.h>
80577 main ()
80579 _sincos(0, 0, 0);
80581 return 0;
80583 _ACEOF
80584 rm -f conftest.$ac_objext
80585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80586 (eval $ac_compile) 2>conftest.er1
80587 ac_status=$?
80588 grep -v '^ *+' conftest.er1 >conftest.err
80589 rm -f conftest.er1
80590 cat conftest.err >&5
80591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80592 (exit $ac_status); } &&
80593 { ac_try='test -z "$ac_cxx_werror_flag"
80594 || test ! -s conftest.err'
80595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80596 (eval $ac_try) 2>&5
80597 ac_status=$?
80598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80599 (exit $ac_status); }; } &&
80600 { ac_try='test -s conftest.$ac_objext'
80601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80602 (eval $ac_try) 2>&5
80603 ac_status=$?
80604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80605 (exit $ac_status); }; }; then
80606 glibcxx_cv_func__sincos_use=yes
80607 else
80608 echo "$as_me: failed program was:" >&5
80609 sed 's/^/| /' conftest.$ac_ext >&5
80611 glibcxx_cv_func__sincos_use=no
80613 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80614 ac_ext=c
80615 ac_cpp='$CPP $CPPFLAGS'
80616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80624 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
80625 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
80627 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
80629 for ac_func in _sincos
80631 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80632 echo "$as_me:$LINENO: checking for $ac_func" >&5
80633 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80634 if eval "test \"\${$as_ac_var+set}\" = set"; then
80635 echo $ECHO_N "(cached) $ECHO_C" >&6
80636 else
80637 if test x$gcc_no_link = xyes; then
80638 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80639 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80640 { (exit 1); exit 1; }; }
80642 cat >conftest.$ac_ext <<_ACEOF
80643 /* confdefs.h. */
80644 _ACEOF
80645 cat confdefs.h >>conftest.$ac_ext
80646 cat >>conftest.$ac_ext <<_ACEOF
80647 /* end confdefs.h. */
80648 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80649 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80650 #define $ac_func innocuous_$ac_func
80652 /* System header to define __stub macros and hopefully few prototypes,
80653 which can conflict with char $ac_func (); below.
80654 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80655 <limits.h> exists even on freestanding compilers. */
80657 #ifdef __STDC__
80658 # include <limits.h>
80659 #else
80660 # include <assert.h>
80661 #endif
80663 #undef $ac_func
80665 /* Override any gcc2 internal prototype to avoid an error. */
80666 #ifdef __cplusplus
80667 extern "C"
80669 #endif
80670 /* We use char because int might match the return type of a gcc2
80671 builtin and then its argument prototype would still apply. */
80672 char $ac_func ();
80673 /* The GNU C library defines this for functions which it implements
80674 to always fail with ENOSYS. Some functions are actually named
80675 something starting with __ and the normal name is an alias. */
80676 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80677 choke me
80678 #else
80679 char (*f) () = $ac_func;
80680 #endif
80681 #ifdef __cplusplus
80683 #endif
80686 main ()
80688 return f != $ac_func;
80690 return 0;
80692 _ACEOF
80693 rm -f conftest.$ac_objext conftest$ac_exeext
80694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80695 (eval $ac_link) 2>conftest.er1
80696 ac_status=$?
80697 grep -v '^ *+' conftest.er1 >conftest.err
80698 rm -f conftest.er1
80699 cat conftest.err >&5
80700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80701 (exit $ac_status); } &&
80702 { ac_try='test -z "$ac_c_werror_flag"
80703 || test ! -s conftest.err'
80704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80705 (eval $ac_try) 2>&5
80706 ac_status=$?
80707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80708 (exit $ac_status); }; } &&
80709 { ac_try='test -s conftest$ac_exeext'
80710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80711 (eval $ac_try) 2>&5
80712 ac_status=$?
80713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80714 (exit $ac_status); }; }; then
80715 eval "$as_ac_var=yes"
80716 else
80717 echo "$as_me: failed program was:" >&5
80718 sed 's/^/| /' conftest.$ac_ext >&5
80720 eval "$as_ac_var=no"
80722 rm -f conftest.err conftest.$ac_objext \
80723 conftest$ac_exeext conftest.$ac_ext
80725 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80726 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80727 if test `eval echo '${'$as_ac_var'}'` = yes; then
80728 cat >>confdefs.h <<_ACEOF
80729 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80730 _ACEOF
80733 done
80743 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
80744 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
80745 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
80746 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
80747 echo $ECHO_N "(cached) $ECHO_C" >&6
80748 else
80752 ac_ext=cc
80753 ac_cpp='$CXXCPP $CPPFLAGS'
80754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80758 cat >conftest.$ac_ext <<_ACEOF
80759 /* confdefs.h. */
80760 _ACEOF
80761 cat confdefs.h >>conftest.$ac_ext
80762 cat >>conftest.$ac_ext <<_ACEOF
80763 /* end confdefs.h. */
80764 #include <math.h>
80765 #ifdef HAVE_IEEEFP_H
80766 #include <ieeefp.h>
80767 #endif
80770 main ()
80772 fpclass(0);
80774 return 0;
80776 _ACEOF
80777 rm -f conftest.$ac_objext
80778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80779 (eval $ac_compile) 2>conftest.er1
80780 ac_status=$?
80781 grep -v '^ *+' conftest.er1 >conftest.err
80782 rm -f conftest.er1
80783 cat conftest.err >&5
80784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80785 (exit $ac_status); } &&
80786 { ac_try='test -z "$ac_cxx_werror_flag"
80787 || test ! -s conftest.err'
80788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80789 (eval $ac_try) 2>&5
80790 ac_status=$?
80791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80792 (exit $ac_status); }; } &&
80793 { ac_try='test -s conftest.$ac_objext'
80794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80795 (eval $ac_try) 2>&5
80796 ac_status=$?
80797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80798 (exit $ac_status); }; }; then
80799 glibcxx_cv_func_fpclass_use=yes
80800 else
80801 echo "$as_me: failed program was:" >&5
80802 sed 's/^/| /' conftest.$ac_ext >&5
80804 glibcxx_cv_func_fpclass_use=no
80806 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80807 ac_ext=c
80808 ac_cpp='$CPP $CPPFLAGS'
80809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80817 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
80818 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
80820 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
80822 for ac_func in fpclass
80824 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80825 echo "$as_me:$LINENO: checking for $ac_func" >&5
80826 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80827 if eval "test \"\${$as_ac_var+set}\" = set"; then
80828 echo $ECHO_N "(cached) $ECHO_C" >&6
80829 else
80830 if test x$gcc_no_link = xyes; then
80831 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80832 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80833 { (exit 1); exit 1; }; }
80835 cat >conftest.$ac_ext <<_ACEOF
80836 /* confdefs.h. */
80837 _ACEOF
80838 cat confdefs.h >>conftest.$ac_ext
80839 cat >>conftest.$ac_ext <<_ACEOF
80840 /* end confdefs.h. */
80841 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80842 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80843 #define $ac_func innocuous_$ac_func
80845 /* System header to define __stub macros and hopefully few prototypes,
80846 which can conflict with char $ac_func (); below.
80847 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80848 <limits.h> exists even on freestanding compilers. */
80850 #ifdef __STDC__
80851 # include <limits.h>
80852 #else
80853 # include <assert.h>
80854 #endif
80856 #undef $ac_func
80858 /* Override any gcc2 internal prototype to avoid an error. */
80859 #ifdef __cplusplus
80860 extern "C"
80862 #endif
80863 /* We use char because int might match the return type of a gcc2
80864 builtin and then its argument prototype would still apply. */
80865 char $ac_func ();
80866 /* The GNU C library defines this for functions which it implements
80867 to always fail with ENOSYS. Some functions are actually named
80868 something starting with __ and the normal name is an alias. */
80869 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80870 choke me
80871 #else
80872 char (*f) () = $ac_func;
80873 #endif
80874 #ifdef __cplusplus
80876 #endif
80879 main ()
80881 return f != $ac_func;
80883 return 0;
80885 _ACEOF
80886 rm -f conftest.$ac_objext conftest$ac_exeext
80887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80888 (eval $ac_link) 2>conftest.er1
80889 ac_status=$?
80890 grep -v '^ *+' conftest.er1 >conftest.err
80891 rm -f conftest.er1
80892 cat conftest.err >&5
80893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80894 (exit $ac_status); } &&
80895 { ac_try='test -z "$ac_c_werror_flag"
80896 || test ! -s conftest.err'
80897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80898 (eval $ac_try) 2>&5
80899 ac_status=$?
80900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80901 (exit $ac_status); }; } &&
80902 { ac_try='test -s conftest$ac_exeext'
80903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80904 (eval $ac_try) 2>&5
80905 ac_status=$?
80906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80907 (exit $ac_status); }; }; then
80908 eval "$as_ac_var=yes"
80909 else
80910 echo "$as_me: failed program was:" >&5
80911 sed 's/^/| /' conftest.$ac_ext >&5
80913 eval "$as_ac_var=no"
80915 rm -f conftest.err conftest.$ac_objext \
80916 conftest$ac_exeext conftest.$ac_ext
80918 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80919 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80920 if test `eval echo '${'$as_ac_var'}'` = yes; then
80921 cat >>confdefs.h <<_ACEOF
80922 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80923 _ACEOF
80926 done
80928 else
80930 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
80931 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
80932 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
80933 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
80934 echo $ECHO_N "(cached) $ECHO_C" >&6
80935 else
80939 ac_ext=cc
80940 ac_cpp='$CXXCPP $CPPFLAGS'
80941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80945 cat >conftest.$ac_ext <<_ACEOF
80946 /* confdefs.h. */
80947 _ACEOF
80948 cat confdefs.h >>conftest.$ac_ext
80949 cat >>conftest.$ac_ext <<_ACEOF
80950 /* end confdefs.h. */
80951 #include <math.h>
80952 #ifdef HAVE_IEEEFP_H
80953 #include <ieeefp.h>
80954 #endif
80957 main ()
80959 _fpclass(0);
80961 return 0;
80963 _ACEOF
80964 rm -f conftest.$ac_objext
80965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80966 (eval $ac_compile) 2>conftest.er1
80967 ac_status=$?
80968 grep -v '^ *+' conftest.er1 >conftest.err
80969 rm -f conftest.er1
80970 cat conftest.err >&5
80971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80972 (exit $ac_status); } &&
80973 { ac_try='test -z "$ac_cxx_werror_flag"
80974 || test ! -s conftest.err'
80975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80976 (eval $ac_try) 2>&5
80977 ac_status=$?
80978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80979 (exit $ac_status); }; } &&
80980 { ac_try='test -s conftest.$ac_objext'
80981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80982 (eval $ac_try) 2>&5
80983 ac_status=$?
80984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80985 (exit $ac_status); }; }; then
80986 glibcxx_cv_func__fpclass_use=yes
80987 else
80988 echo "$as_me: failed program was:" >&5
80989 sed 's/^/| /' conftest.$ac_ext >&5
80991 glibcxx_cv_func__fpclass_use=no
80993 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80994 ac_ext=c
80995 ac_cpp='$CPP $CPPFLAGS'
80996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81004 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
81005 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
81007 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
81009 for ac_func in _fpclass
81011 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81012 echo "$as_me:$LINENO: checking for $ac_func" >&5
81013 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81014 if eval "test \"\${$as_ac_var+set}\" = set"; then
81015 echo $ECHO_N "(cached) $ECHO_C" >&6
81016 else
81017 if test x$gcc_no_link = xyes; then
81018 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81019 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81020 { (exit 1); exit 1; }; }
81022 cat >conftest.$ac_ext <<_ACEOF
81023 /* confdefs.h. */
81024 _ACEOF
81025 cat confdefs.h >>conftest.$ac_ext
81026 cat >>conftest.$ac_ext <<_ACEOF
81027 /* end confdefs.h. */
81028 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81029 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81030 #define $ac_func innocuous_$ac_func
81032 /* System header to define __stub macros and hopefully few prototypes,
81033 which can conflict with char $ac_func (); below.
81034 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81035 <limits.h> exists even on freestanding compilers. */
81037 #ifdef __STDC__
81038 # include <limits.h>
81039 #else
81040 # include <assert.h>
81041 #endif
81043 #undef $ac_func
81045 /* Override any gcc2 internal prototype to avoid an error. */
81046 #ifdef __cplusplus
81047 extern "C"
81049 #endif
81050 /* We use char because int might match the return type of a gcc2
81051 builtin and then its argument prototype would still apply. */
81052 char $ac_func ();
81053 /* The GNU C library defines this for functions which it implements
81054 to always fail with ENOSYS. Some functions are actually named
81055 something starting with __ and the normal name is an alias. */
81056 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81057 choke me
81058 #else
81059 char (*f) () = $ac_func;
81060 #endif
81061 #ifdef __cplusplus
81063 #endif
81066 main ()
81068 return f != $ac_func;
81070 return 0;
81072 _ACEOF
81073 rm -f conftest.$ac_objext conftest$ac_exeext
81074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81075 (eval $ac_link) 2>conftest.er1
81076 ac_status=$?
81077 grep -v '^ *+' conftest.er1 >conftest.err
81078 rm -f conftest.er1
81079 cat conftest.err >&5
81080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81081 (exit $ac_status); } &&
81082 { ac_try='test -z "$ac_c_werror_flag"
81083 || test ! -s conftest.err'
81084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81085 (eval $ac_try) 2>&5
81086 ac_status=$?
81087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81088 (exit $ac_status); }; } &&
81089 { ac_try='test -s conftest$ac_exeext'
81090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81091 (eval $ac_try) 2>&5
81092 ac_status=$?
81093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81094 (exit $ac_status); }; }; then
81095 eval "$as_ac_var=yes"
81096 else
81097 echo "$as_me: failed program was:" >&5
81098 sed 's/^/| /' conftest.$ac_ext >&5
81100 eval "$as_ac_var=no"
81102 rm -f conftest.err conftest.$ac_objext \
81103 conftest$ac_exeext conftest.$ac_ext
81105 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81106 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81107 if test `eval echo '${'$as_ac_var'}'` = yes; then
81108 cat >>confdefs.h <<_ACEOF
81109 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81110 _ACEOF
81113 done
81123 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
81124 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
81125 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
81126 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
81127 echo $ECHO_N "(cached) $ECHO_C" >&6
81128 else
81132 ac_ext=cc
81133 ac_cpp='$CXXCPP $CPPFLAGS'
81134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81138 cat >conftest.$ac_ext <<_ACEOF
81139 /* confdefs.h. */
81140 _ACEOF
81141 cat confdefs.h >>conftest.$ac_ext
81142 cat >>conftest.$ac_ext <<_ACEOF
81143 /* end confdefs.h. */
81144 #include <math.h>
81145 #ifdef HAVE_IEEEFP_H
81146 #include <ieeefp.h>
81147 #endif
81150 main ()
81152 qfpclass(0);
81154 return 0;
81156 _ACEOF
81157 rm -f conftest.$ac_objext
81158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81159 (eval $ac_compile) 2>conftest.er1
81160 ac_status=$?
81161 grep -v '^ *+' conftest.er1 >conftest.err
81162 rm -f conftest.er1
81163 cat conftest.err >&5
81164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81165 (exit $ac_status); } &&
81166 { ac_try='test -z "$ac_cxx_werror_flag"
81167 || test ! -s conftest.err'
81168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81169 (eval $ac_try) 2>&5
81170 ac_status=$?
81171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81172 (exit $ac_status); }; } &&
81173 { ac_try='test -s conftest.$ac_objext'
81174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81175 (eval $ac_try) 2>&5
81176 ac_status=$?
81177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81178 (exit $ac_status); }; }; then
81179 glibcxx_cv_func_qfpclass_use=yes
81180 else
81181 echo "$as_me: failed program was:" >&5
81182 sed 's/^/| /' conftest.$ac_ext >&5
81184 glibcxx_cv_func_qfpclass_use=no
81186 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81187 ac_ext=c
81188 ac_cpp='$CPP $CPPFLAGS'
81189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81197 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
81198 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
81200 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
81202 for ac_func in qfpclass
81204 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81205 echo "$as_me:$LINENO: checking for $ac_func" >&5
81206 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81207 if eval "test \"\${$as_ac_var+set}\" = set"; then
81208 echo $ECHO_N "(cached) $ECHO_C" >&6
81209 else
81210 if test x$gcc_no_link = xyes; then
81211 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81212 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81213 { (exit 1); exit 1; }; }
81215 cat >conftest.$ac_ext <<_ACEOF
81216 /* confdefs.h. */
81217 _ACEOF
81218 cat confdefs.h >>conftest.$ac_ext
81219 cat >>conftest.$ac_ext <<_ACEOF
81220 /* end confdefs.h. */
81221 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81222 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81223 #define $ac_func innocuous_$ac_func
81225 /* System header to define __stub macros and hopefully few prototypes,
81226 which can conflict with char $ac_func (); below.
81227 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81228 <limits.h> exists even on freestanding compilers. */
81230 #ifdef __STDC__
81231 # include <limits.h>
81232 #else
81233 # include <assert.h>
81234 #endif
81236 #undef $ac_func
81238 /* Override any gcc2 internal prototype to avoid an error. */
81239 #ifdef __cplusplus
81240 extern "C"
81242 #endif
81243 /* We use char because int might match the return type of a gcc2
81244 builtin and then its argument prototype would still apply. */
81245 char $ac_func ();
81246 /* The GNU C library defines this for functions which it implements
81247 to always fail with ENOSYS. Some functions are actually named
81248 something starting with __ and the normal name is an alias. */
81249 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81250 choke me
81251 #else
81252 char (*f) () = $ac_func;
81253 #endif
81254 #ifdef __cplusplus
81256 #endif
81259 main ()
81261 return f != $ac_func;
81263 return 0;
81265 _ACEOF
81266 rm -f conftest.$ac_objext conftest$ac_exeext
81267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81268 (eval $ac_link) 2>conftest.er1
81269 ac_status=$?
81270 grep -v '^ *+' conftest.er1 >conftest.err
81271 rm -f conftest.er1
81272 cat conftest.err >&5
81273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81274 (exit $ac_status); } &&
81275 { ac_try='test -z "$ac_c_werror_flag"
81276 || test ! -s conftest.err'
81277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81278 (eval $ac_try) 2>&5
81279 ac_status=$?
81280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81281 (exit $ac_status); }; } &&
81282 { ac_try='test -s conftest$ac_exeext'
81283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81284 (eval $ac_try) 2>&5
81285 ac_status=$?
81286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81287 (exit $ac_status); }; }; then
81288 eval "$as_ac_var=yes"
81289 else
81290 echo "$as_me: failed program was:" >&5
81291 sed 's/^/| /' conftest.$ac_ext >&5
81293 eval "$as_ac_var=no"
81295 rm -f conftest.err conftest.$ac_objext \
81296 conftest$ac_exeext conftest.$ac_ext
81298 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81299 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81300 if test `eval echo '${'$as_ac_var'}'` = yes; then
81301 cat >>confdefs.h <<_ACEOF
81302 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81303 _ACEOF
81306 done
81308 else
81310 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
81311 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
81312 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
81313 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
81314 echo $ECHO_N "(cached) $ECHO_C" >&6
81315 else
81319 ac_ext=cc
81320 ac_cpp='$CXXCPP $CPPFLAGS'
81321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81325 cat >conftest.$ac_ext <<_ACEOF
81326 /* confdefs.h. */
81327 _ACEOF
81328 cat confdefs.h >>conftest.$ac_ext
81329 cat >>conftest.$ac_ext <<_ACEOF
81330 /* end confdefs.h. */
81331 #include <math.h>
81332 #ifdef HAVE_IEEEFP_H
81333 #include <ieeefp.h>
81334 #endif
81337 main ()
81339 _qfpclass(0);
81341 return 0;
81343 _ACEOF
81344 rm -f conftest.$ac_objext
81345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81346 (eval $ac_compile) 2>conftest.er1
81347 ac_status=$?
81348 grep -v '^ *+' conftest.er1 >conftest.err
81349 rm -f conftest.er1
81350 cat conftest.err >&5
81351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81352 (exit $ac_status); } &&
81353 { ac_try='test -z "$ac_cxx_werror_flag"
81354 || test ! -s conftest.err'
81355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81356 (eval $ac_try) 2>&5
81357 ac_status=$?
81358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81359 (exit $ac_status); }; } &&
81360 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
81366 glibcxx_cv_func__qfpclass_use=yes
81367 else
81368 echo "$as_me: failed program was:" >&5
81369 sed 's/^/| /' conftest.$ac_ext >&5
81371 glibcxx_cv_func__qfpclass_use=no
81373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81374 ac_ext=c
81375 ac_cpp='$CPP $CPPFLAGS'
81376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81384 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
81385 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
81387 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
81389 for ac_func in _qfpclass
81391 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81392 echo "$as_me:$LINENO: checking for $ac_func" >&5
81393 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81394 if eval "test \"\${$as_ac_var+set}\" = set"; then
81395 echo $ECHO_N "(cached) $ECHO_C" >&6
81396 else
81397 if test x$gcc_no_link = xyes; then
81398 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81399 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81400 { (exit 1); exit 1; }; }
81402 cat >conftest.$ac_ext <<_ACEOF
81403 /* confdefs.h. */
81404 _ACEOF
81405 cat confdefs.h >>conftest.$ac_ext
81406 cat >>conftest.$ac_ext <<_ACEOF
81407 /* end confdefs.h. */
81408 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81409 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81410 #define $ac_func innocuous_$ac_func
81412 /* System header to define __stub macros and hopefully few prototypes,
81413 which can conflict with char $ac_func (); below.
81414 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81415 <limits.h> exists even on freestanding compilers. */
81417 #ifdef __STDC__
81418 # include <limits.h>
81419 #else
81420 # include <assert.h>
81421 #endif
81423 #undef $ac_func
81425 /* Override any gcc2 internal prototype to avoid an error. */
81426 #ifdef __cplusplus
81427 extern "C"
81429 #endif
81430 /* We use char because int might match the return type of a gcc2
81431 builtin and then its argument prototype would still apply. */
81432 char $ac_func ();
81433 /* The GNU C library defines this for functions which it implements
81434 to always fail with ENOSYS. Some functions are actually named
81435 something starting with __ and the normal name is an alias. */
81436 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81437 choke me
81438 #else
81439 char (*f) () = $ac_func;
81440 #endif
81441 #ifdef __cplusplus
81443 #endif
81446 main ()
81448 return f != $ac_func;
81450 return 0;
81452 _ACEOF
81453 rm -f conftest.$ac_objext conftest$ac_exeext
81454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81455 (eval $ac_link) 2>conftest.er1
81456 ac_status=$?
81457 grep -v '^ *+' conftest.er1 >conftest.err
81458 rm -f conftest.er1
81459 cat conftest.err >&5
81460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81461 (exit $ac_status); } &&
81462 { ac_try='test -z "$ac_c_werror_flag"
81463 || test ! -s conftest.err'
81464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81465 (eval $ac_try) 2>&5
81466 ac_status=$?
81467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81468 (exit $ac_status); }; } &&
81469 { ac_try='test -s conftest$ac_exeext'
81470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81471 (eval $ac_try) 2>&5
81472 ac_status=$?
81473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81474 (exit $ac_status); }; }; then
81475 eval "$as_ac_var=yes"
81476 else
81477 echo "$as_me: failed program was:" >&5
81478 sed 's/^/| /' conftest.$ac_ext >&5
81480 eval "$as_ac_var=no"
81482 rm -f conftest.err conftest.$ac_objext \
81483 conftest$ac_exeext conftest.$ac_ext
81485 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81486 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81487 if test `eval echo '${'$as_ac_var'}'` = yes; then
81488 cat >>confdefs.h <<_ACEOF
81489 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81490 _ACEOF
81493 done
81503 echo "$as_me:$LINENO: checking for hypot declaration" >&5
81504 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
81505 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
81506 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
81507 echo $ECHO_N "(cached) $ECHO_C" >&6
81508 else
81512 ac_ext=cc
81513 ac_cpp='$CXXCPP $CPPFLAGS'
81514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81518 cat >conftest.$ac_ext <<_ACEOF
81519 /* confdefs.h. */
81520 _ACEOF
81521 cat confdefs.h >>conftest.$ac_ext
81522 cat >>conftest.$ac_ext <<_ACEOF
81523 /* end confdefs.h. */
81524 #include <math.h>
81526 main ()
81528 hypot(0, 0);
81530 return 0;
81532 _ACEOF
81533 rm -f conftest.$ac_objext
81534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81535 (eval $ac_compile) 2>conftest.er1
81536 ac_status=$?
81537 grep -v '^ *+' conftest.er1 >conftest.err
81538 rm -f conftest.er1
81539 cat conftest.err >&5
81540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81541 (exit $ac_status); } &&
81542 { ac_try='test -z "$ac_cxx_werror_flag"
81543 || test ! -s conftest.err'
81544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81545 (eval $ac_try) 2>&5
81546 ac_status=$?
81547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81548 (exit $ac_status); }; } &&
81549 { ac_try='test -s conftest.$ac_objext'
81550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81551 (eval $ac_try) 2>&5
81552 ac_status=$?
81553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81554 (exit $ac_status); }; }; then
81555 glibcxx_cv_func_hypot_use=yes
81556 else
81557 echo "$as_me: failed program was:" >&5
81558 sed 's/^/| /' conftest.$ac_ext >&5
81560 glibcxx_cv_func_hypot_use=no
81562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81563 ac_ext=c
81564 ac_cpp='$CPP $CPPFLAGS'
81565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81573 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
81574 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
81576 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
81578 for ac_func in hypot
81580 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81581 echo "$as_me:$LINENO: checking for $ac_func" >&5
81582 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81583 if eval "test \"\${$as_ac_var+set}\" = set"; then
81584 echo $ECHO_N "(cached) $ECHO_C" >&6
81585 else
81586 if test x$gcc_no_link = xyes; then
81587 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81588 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81589 { (exit 1); exit 1; }; }
81591 cat >conftest.$ac_ext <<_ACEOF
81592 /* confdefs.h. */
81593 _ACEOF
81594 cat confdefs.h >>conftest.$ac_ext
81595 cat >>conftest.$ac_ext <<_ACEOF
81596 /* end confdefs.h. */
81597 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81598 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81599 #define $ac_func innocuous_$ac_func
81601 /* System header to define __stub macros and hopefully few prototypes,
81602 which can conflict with char $ac_func (); below.
81603 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81604 <limits.h> exists even on freestanding compilers. */
81606 #ifdef __STDC__
81607 # include <limits.h>
81608 #else
81609 # include <assert.h>
81610 #endif
81612 #undef $ac_func
81614 /* Override any gcc2 internal prototype to avoid an error. */
81615 #ifdef __cplusplus
81616 extern "C"
81618 #endif
81619 /* We use char because int might match the return type of a gcc2
81620 builtin and then its argument prototype would still apply. */
81621 char $ac_func ();
81622 /* The GNU C library defines this for functions which it implements
81623 to always fail with ENOSYS. Some functions are actually named
81624 something starting with __ and the normal name is an alias. */
81625 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81626 choke me
81627 #else
81628 char (*f) () = $ac_func;
81629 #endif
81630 #ifdef __cplusplus
81632 #endif
81635 main ()
81637 return f != $ac_func;
81639 return 0;
81641 _ACEOF
81642 rm -f conftest.$ac_objext conftest$ac_exeext
81643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81644 (eval $ac_link) 2>conftest.er1
81645 ac_status=$?
81646 grep -v '^ *+' conftest.er1 >conftest.err
81647 rm -f conftest.er1
81648 cat conftest.err >&5
81649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81650 (exit $ac_status); } &&
81651 { ac_try='test -z "$ac_c_werror_flag"
81652 || test ! -s conftest.err'
81653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81654 (eval $ac_try) 2>&5
81655 ac_status=$?
81656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81657 (exit $ac_status); }; } &&
81658 { ac_try='test -s conftest$ac_exeext'
81659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81660 (eval $ac_try) 2>&5
81661 ac_status=$?
81662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81663 (exit $ac_status); }; }; then
81664 eval "$as_ac_var=yes"
81665 else
81666 echo "$as_me: failed program was:" >&5
81667 sed 's/^/| /' conftest.$ac_ext >&5
81669 eval "$as_ac_var=no"
81671 rm -f conftest.err conftest.$ac_objext \
81672 conftest$ac_exeext conftest.$ac_ext
81674 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81675 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81676 if test `eval echo '${'$as_ac_var'}'` = yes; then
81677 cat >>confdefs.h <<_ACEOF
81678 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81679 _ACEOF
81682 done
81684 else
81686 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
81687 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
81688 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
81689 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
81690 echo $ECHO_N "(cached) $ECHO_C" >&6
81691 else
81695 ac_ext=cc
81696 ac_cpp='$CXXCPP $CPPFLAGS'
81697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81701 cat >conftest.$ac_ext <<_ACEOF
81702 /* confdefs.h. */
81703 _ACEOF
81704 cat confdefs.h >>conftest.$ac_ext
81705 cat >>conftest.$ac_ext <<_ACEOF
81706 /* end confdefs.h. */
81707 #include <math.h>
81709 main ()
81711 _hypot(0, 0);
81713 return 0;
81715 _ACEOF
81716 rm -f conftest.$ac_objext
81717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81718 (eval $ac_compile) 2>conftest.er1
81719 ac_status=$?
81720 grep -v '^ *+' conftest.er1 >conftest.err
81721 rm -f conftest.er1
81722 cat conftest.err >&5
81723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81724 (exit $ac_status); } &&
81725 { ac_try='test -z "$ac_cxx_werror_flag"
81726 || test ! -s conftest.err'
81727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81728 (eval $ac_try) 2>&5
81729 ac_status=$?
81730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81731 (exit $ac_status); }; } &&
81732 { ac_try='test -s conftest.$ac_objext'
81733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81734 (eval $ac_try) 2>&5
81735 ac_status=$?
81736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81737 (exit $ac_status); }; }; then
81738 glibcxx_cv_func__hypot_use=yes
81739 else
81740 echo "$as_me: failed program was:" >&5
81741 sed 's/^/| /' conftest.$ac_ext >&5
81743 glibcxx_cv_func__hypot_use=no
81745 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81746 ac_ext=c
81747 ac_cpp='$CPP $CPPFLAGS'
81748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81756 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
81757 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
81759 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
81761 for ac_func in _hypot
81763 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81764 echo "$as_me:$LINENO: checking for $ac_func" >&5
81765 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81766 if eval "test \"\${$as_ac_var+set}\" = set"; then
81767 echo $ECHO_N "(cached) $ECHO_C" >&6
81768 else
81769 if test x$gcc_no_link = xyes; then
81770 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81771 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81772 { (exit 1); exit 1; }; }
81774 cat >conftest.$ac_ext <<_ACEOF
81775 /* confdefs.h. */
81776 _ACEOF
81777 cat confdefs.h >>conftest.$ac_ext
81778 cat >>conftest.$ac_ext <<_ACEOF
81779 /* end confdefs.h. */
81780 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81781 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81782 #define $ac_func innocuous_$ac_func
81784 /* System header to define __stub macros and hopefully few prototypes,
81785 which can conflict with char $ac_func (); below.
81786 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81787 <limits.h> exists even on freestanding compilers. */
81789 #ifdef __STDC__
81790 # include <limits.h>
81791 #else
81792 # include <assert.h>
81793 #endif
81795 #undef $ac_func
81797 /* Override any gcc2 internal prototype to avoid an error. */
81798 #ifdef __cplusplus
81799 extern "C"
81801 #endif
81802 /* We use char because int might match the return type of a gcc2
81803 builtin and then its argument prototype would still apply. */
81804 char $ac_func ();
81805 /* The GNU C library defines this for functions which it implements
81806 to always fail with ENOSYS. Some functions are actually named
81807 something starting with __ and the normal name is an alias. */
81808 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81809 choke me
81810 #else
81811 char (*f) () = $ac_func;
81812 #endif
81813 #ifdef __cplusplus
81815 #endif
81818 main ()
81820 return f != $ac_func;
81822 return 0;
81824 _ACEOF
81825 rm -f conftest.$ac_objext conftest$ac_exeext
81826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81827 (eval $ac_link) 2>conftest.er1
81828 ac_status=$?
81829 grep -v '^ *+' conftest.er1 >conftest.err
81830 rm -f conftest.er1
81831 cat conftest.err >&5
81832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81833 (exit $ac_status); } &&
81834 { ac_try='test -z "$ac_c_werror_flag"
81835 || test ! -s conftest.err'
81836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81837 (eval $ac_try) 2>&5
81838 ac_status=$?
81839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81840 (exit $ac_status); }; } &&
81841 { ac_try='test -s conftest$ac_exeext'
81842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81843 (eval $ac_try) 2>&5
81844 ac_status=$?
81845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81846 (exit $ac_status); }; }; then
81847 eval "$as_ac_var=yes"
81848 else
81849 echo "$as_me: failed program was:" >&5
81850 sed 's/^/| /' conftest.$ac_ext >&5
81852 eval "$as_ac_var=no"
81854 rm -f conftest.err conftest.$ac_objext \
81855 conftest$ac_exeext conftest.$ac_ext
81857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81858 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81859 if test `eval echo '${'$as_ac_var'}'` = yes; then
81860 cat >>confdefs.h <<_ACEOF
81861 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81862 _ACEOF
81865 done
81875 echo "$as_me:$LINENO: checking for float trig functions" >&5
81876 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
81877 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
81878 echo $ECHO_N "(cached) $ECHO_C" >&6
81879 else
81883 ac_ext=cc
81884 ac_cpp='$CXXCPP $CPPFLAGS'
81885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81889 cat >conftest.$ac_ext <<_ACEOF
81890 /* confdefs.h. */
81891 _ACEOF
81892 cat confdefs.h >>conftest.$ac_ext
81893 cat >>conftest.$ac_ext <<_ACEOF
81894 /* end confdefs.h. */
81895 #include <math.h>
81897 main ()
81899 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
81901 return 0;
81903 _ACEOF
81904 rm -f conftest.$ac_objext
81905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81906 (eval $ac_compile) 2>conftest.er1
81907 ac_status=$?
81908 grep -v '^ *+' conftest.er1 >conftest.err
81909 rm -f conftest.er1
81910 cat conftest.err >&5
81911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81912 (exit $ac_status); } &&
81913 { ac_try='test -z "$ac_cxx_werror_flag"
81914 || test ! -s conftest.err'
81915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81916 (eval $ac_try) 2>&5
81917 ac_status=$?
81918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81919 (exit $ac_status); }; } &&
81920 { ac_try='test -s conftest.$ac_objext'
81921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81922 (eval $ac_try) 2>&5
81923 ac_status=$?
81924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81925 (exit $ac_status); }; }; then
81926 glibcxx_cv_func_float_trig_use=yes
81927 else
81928 echo "$as_me: failed program was:" >&5
81929 sed 's/^/| /' conftest.$ac_ext >&5
81931 glibcxx_cv_func_float_trig_use=no
81933 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81934 ac_ext=c
81935 ac_cpp='$CPP $CPPFLAGS'
81936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81942 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
81943 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
81944 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
81954 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
81956 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81957 echo "$as_me:$LINENO: checking for $ac_func" >&5
81958 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81959 if eval "test \"\${$as_ac_var+set}\" = set"; then
81960 echo $ECHO_N "(cached) $ECHO_C" >&6
81961 else
81962 if test x$gcc_no_link = xyes; then
81963 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81964 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81965 { (exit 1); exit 1; }; }
81967 cat >conftest.$ac_ext <<_ACEOF
81968 /* confdefs.h. */
81969 _ACEOF
81970 cat confdefs.h >>conftest.$ac_ext
81971 cat >>conftest.$ac_ext <<_ACEOF
81972 /* end confdefs.h. */
81973 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81974 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81975 #define $ac_func innocuous_$ac_func
81977 /* System header to define __stub macros and hopefully few prototypes,
81978 which can conflict with char $ac_func (); below.
81979 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81980 <limits.h> exists even on freestanding compilers. */
81982 #ifdef __STDC__
81983 # include <limits.h>
81984 #else
81985 # include <assert.h>
81986 #endif
81988 #undef $ac_func
81990 /* Override any gcc2 internal prototype to avoid an error. */
81991 #ifdef __cplusplus
81992 extern "C"
81994 #endif
81995 /* We use char because int might match the return type of a gcc2
81996 builtin and then its argument prototype would still apply. */
81997 char $ac_func ();
81998 /* The GNU C library defines this for functions which it implements
81999 to always fail with ENOSYS. Some functions are actually named
82000 something starting with __ and the normal name is an alias. */
82001 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82002 choke me
82003 #else
82004 char (*f) () = $ac_func;
82005 #endif
82006 #ifdef __cplusplus
82008 #endif
82011 main ()
82013 return f != $ac_func;
82015 return 0;
82017 _ACEOF
82018 rm -f conftest.$ac_objext conftest$ac_exeext
82019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82020 (eval $ac_link) 2>conftest.er1
82021 ac_status=$?
82022 grep -v '^ *+' conftest.er1 >conftest.err
82023 rm -f conftest.er1
82024 cat conftest.err >&5
82025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82026 (exit $ac_status); } &&
82027 { ac_try='test -z "$ac_c_werror_flag"
82028 || test ! -s conftest.err'
82029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82030 (eval $ac_try) 2>&5
82031 ac_status=$?
82032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82033 (exit $ac_status); }; } &&
82034 { ac_try='test -s conftest$ac_exeext'
82035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82036 (eval $ac_try) 2>&5
82037 ac_status=$?
82038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82039 (exit $ac_status); }; }; then
82040 eval "$as_ac_var=yes"
82041 else
82042 echo "$as_me: failed program was:" >&5
82043 sed 's/^/| /' conftest.$ac_ext >&5
82045 eval "$as_ac_var=no"
82047 rm -f conftest.err conftest.$ac_objext \
82048 conftest$ac_exeext conftest.$ac_ext
82050 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82051 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82052 if test `eval echo '${'$as_ac_var'}'` = yes; then
82053 cat >>confdefs.h <<_ACEOF
82054 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82055 _ACEOF
82058 done
82060 else
82061 echo "$as_me:$LINENO: checking for _float trig functions" >&5
82062 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
82063 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
82064 echo $ECHO_N "(cached) $ECHO_C" >&6
82065 else
82069 ac_ext=cc
82070 ac_cpp='$CXXCPP $CPPFLAGS'
82071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82075 cat >conftest.$ac_ext <<_ACEOF
82076 /* confdefs.h. */
82077 _ACEOF
82078 cat confdefs.h >>conftest.$ac_ext
82079 cat >>conftest.$ac_ext <<_ACEOF
82080 /* end confdefs.h. */
82081 #include <math.h>
82083 main ()
82085 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
82087 return 0;
82089 _ACEOF
82090 rm -f conftest.$ac_objext
82091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82092 (eval $ac_compile) 2>conftest.er1
82093 ac_status=$?
82094 grep -v '^ *+' conftest.er1 >conftest.err
82095 rm -f conftest.er1
82096 cat conftest.err >&5
82097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82098 (exit $ac_status); } &&
82099 { ac_try='test -z "$ac_cxx_werror_flag"
82100 || test ! -s conftest.err'
82101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82102 (eval $ac_try) 2>&5
82103 ac_status=$?
82104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82105 (exit $ac_status); }; } &&
82106 { ac_try='test -s conftest.$ac_objext'
82107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82108 (eval $ac_try) 2>&5
82109 ac_status=$?
82110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82111 (exit $ac_status); }; }; then
82112 glibcxx_cv_func__float_trig_use=yes
82113 else
82114 echo "$as_me: failed program was:" >&5
82115 sed 's/^/| /' conftest.$ac_ext >&5
82117 glibcxx_cv_func__float_trig_use=no
82119 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82120 ac_ext=c
82121 ac_cpp='$CPP $CPPFLAGS'
82122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82128 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
82129 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
82130 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
82140 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
82142 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82143 echo "$as_me:$LINENO: checking for $ac_func" >&5
82144 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82145 if eval "test \"\${$as_ac_var+set}\" = set"; then
82146 echo $ECHO_N "(cached) $ECHO_C" >&6
82147 else
82148 if test x$gcc_no_link = xyes; then
82149 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82150 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82151 { (exit 1); exit 1; }; }
82153 cat >conftest.$ac_ext <<_ACEOF
82154 /* confdefs.h. */
82155 _ACEOF
82156 cat confdefs.h >>conftest.$ac_ext
82157 cat >>conftest.$ac_ext <<_ACEOF
82158 /* end confdefs.h. */
82159 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82160 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82161 #define $ac_func innocuous_$ac_func
82163 /* System header to define __stub macros and hopefully few prototypes,
82164 which can conflict with char $ac_func (); below.
82165 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82166 <limits.h> exists even on freestanding compilers. */
82168 #ifdef __STDC__
82169 # include <limits.h>
82170 #else
82171 # include <assert.h>
82172 #endif
82174 #undef $ac_func
82176 /* Override any gcc2 internal prototype to avoid an error. */
82177 #ifdef __cplusplus
82178 extern "C"
82180 #endif
82181 /* We use char because int might match the return type of a gcc2
82182 builtin and then its argument prototype would still apply. */
82183 char $ac_func ();
82184 /* The GNU C library defines this for functions which it implements
82185 to always fail with ENOSYS. Some functions are actually named
82186 something starting with __ and the normal name is an alias. */
82187 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82188 choke me
82189 #else
82190 char (*f) () = $ac_func;
82191 #endif
82192 #ifdef __cplusplus
82194 #endif
82197 main ()
82199 return f != $ac_func;
82201 return 0;
82203 _ACEOF
82204 rm -f conftest.$ac_objext conftest$ac_exeext
82205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82206 (eval $ac_link) 2>conftest.er1
82207 ac_status=$?
82208 grep -v '^ *+' conftest.er1 >conftest.err
82209 rm -f conftest.er1
82210 cat conftest.err >&5
82211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82212 (exit $ac_status); } &&
82213 { ac_try='test -z "$ac_c_werror_flag"
82214 || test ! -s conftest.err'
82215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82216 (eval $ac_try) 2>&5
82217 ac_status=$?
82218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82219 (exit $ac_status); }; } &&
82220 { ac_try='test -s conftest$ac_exeext'
82221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82222 (eval $ac_try) 2>&5
82223 ac_status=$?
82224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82225 (exit $ac_status); }; }; then
82226 eval "$as_ac_var=yes"
82227 else
82228 echo "$as_me: failed program was:" >&5
82229 sed 's/^/| /' conftest.$ac_ext >&5
82231 eval "$as_ac_var=no"
82233 rm -f conftest.err conftest.$ac_objext \
82234 conftest$ac_exeext conftest.$ac_ext
82236 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82237 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82238 if test `eval echo '${'$as_ac_var'}'` = yes; then
82239 cat >>confdefs.h <<_ACEOF
82240 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82241 _ACEOF
82244 done
82262 echo "$as_me:$LINENO: checking for float round functions" >&5
82263 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
82264 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
82265 echo $ECHO_N "(cached) $ECHO_C" >&6
82266 else
82270 ac_ext=cc
82271 ac_cpp='$CXXCPP $CPPFLAGS'
82272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82276 cat >conftest.$ac_ext <<_ACEOF
82277 /* confdefs.h. */
82278 _ACEOF
82279 cat confdefs.h >>conftest.$ac_ext
82280 cat >>conftest.$ac_ext <<_ACEOF
82281 /* end confdefs.h. */
82282 #include <math.h>
82284 main ()
82286 ceilf (0); floorf (0);
82288 return 0;
82290 _ACEOF
82291 rm -f conftest.$ac_objext
82292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82293 (eval $ac_compile) 2>conftest.er1
82294 ac_status=$?
82295 grep -v '^ *+' conftest.er1 >conftest.err
82296 rm -f conftest.er1
82297 cat conftest.err >&5
82298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82299 (exit $ac_status); } &&
82300 { ac_try='test -z "$ac_cxx_werror_flag"
82301 || test ! -s conftest.err'
82302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82303 (eval $ac_try) 2>&5
82304 ac_status=$?
82305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82306 (exit $ac_status); }; } &&
82307 { ac_try='test -s conftest.$ac_objext'
82308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82309 (eval $ac_try) 2>&5
82310 ac_status=$?
82311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82312 (exit $ac_status); }; }; then
82313 glibcxx_cv_func_float_round_use=yes
82314 else
82315 echo "$as_me: failed program was:" >&5
82316 sed 's/^/| /' conftest.$ac_ext >&5
82318 glibcxx_cv_func_float_round_use=no
82320 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82321 ac_ext=c
82322 ac_cpp='$CPP $CPPFLAGS'
82323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82329 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
82330 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
82331 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
82334 for ac_func in ceilf floorf
82336 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82337 echo "$as_me:$LINENO: checking for $ac_func" >&5
82338 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82339 if eval "test \"\${$as_ac_var+set}\" = set"; then
82340 echo $ECHO_N "(cached) $ECHO_C" >&6
82341 else
82342 if test x$gcc_no_link = xyes; then
82343 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82344 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82345 { (exit 1); exit 1; }; }
82347 cat >conftest.$ac_ext <<_ACEOF
82348 /* confdefs.h. */
82349 _ACEOF
82350 cat confdefs.h >>conftest.$ac_ext
82351 cat >>conftest.$ac_ext <<_ACEOF
82352 /* end confdefs.h. */
82353 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82354 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82355 #define $ac_func innocuous_$ac_func
82357 /* System header to define __stub macros and hopefully few prototypes,
82358 which can conflict with char $ac_func (); below.
82359 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82360 <limits.h> exists even on freestanding compilers. */
82362 #ifdef __STDC__
82363 # include <limits.h>
82364 #else
82365 # include <assert.h>
82366 #endif
82368 #undef $ac_func
82370 /* Override any gcc2 internal prototype to avoid an error. */
82371 #ifdef __cplusplus
82372 extern "C"
82374 #endif
82375 /* We use char because int might match the return type of a gcc2
82376 builtin and then its argument prototype would still apply. */
82377 char $ac_func ();
82378 /* The GNU C library defines this for functions which it implements
82379 to always fail with ENOSYS. Some functions are actually named
82380 something starting with __ and the normal name is an alias. */
82381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82382 choke me
82383 #else
82384 char (*f) () = $ac_func;
82385 #endif
82386 #ifdef __cplusplus
82388 #endif
82391 main ()
82393 return f != $ac_func;
82395 return 0;
82397 _ACEOF
82398 rm -f conftest.$ac_objext conftest$ac_exeext
82399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82400 (eval $ac_link) 2>conftest.er1
82401 ac_status=$?
82402 grep -v '^ *+' conftest.er1 >conftest.err
82403 rm -f conftest.er1
82404 cat conftest.err >&5
82405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82406 (exit $ac_status); } &&
82407 { ac_try='test -z "$ac_c_werror_flag"
82408 || test ! -s conftest.err'
82409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82410 (eval $ac_try) 2>&5
82411 ac_status=$?
82412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82413 (exit $ac_status); }; } &&
82414 { ac_try='test -s conftest$ac_exeext'
82415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82416 (eval $ac_try) 2>&5
82417 ac_status=$?
82418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82419 (exit $ac_status); }; }; then
82420 eval "$as_ac_var=yes"
82421 else
82422 echo "$as_me: failed program was:" >&5
82423 sed 's/^/| /' conftest.$ac_ext >&5
82425 eval "$as_ac_var=no"
82427 rm -f conftest.err conftest.$ac_objext \
82428 conftest$ac_exeext conftest.$ac_ext
82430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82431 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82432 if test `eval echo '${'$as_ac_var'}'` = yes; then
82433 cat >>confdefs.h <<_ACEOF
82434 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82435 _ACEOF
82438 done
82440 else
82441 echo "$as_me:$LINENO: checking for _float round functions" >&5
82442 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
82443 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
82444 echo $ECHO_N "(cached) $ECHO_C" >&6
82445 else
82449 ac_ext=cc
82450 ac_cpp='$CXXCPP $CPPFLAGS'
82451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82455 cat >conftest.$ac_ext <<_ACEOF
82456 /* confdefs.h. */
82457 _ACEOF
82458 cat confdefs.h >>conftest.$ac_ext
82459 cat >>conftest.$ac_ext <<_ACEOF
82460 /* end confdefs.h. */
82461 #include <math.h>
82463 main ()
82465 _ceilf (0); _floorf (0);
82467 return 0;
82469 _ACEOF
82470 rm -f conftest.$ac_objext
82471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82472 (eval $ac_compile) 2>conftest.er1
82473 ac_status=$?
82474 grep -v '^ *+' conftest.er1 >conftest.err
82475 rm -f conftest.er1
82476 cat conftest.err >&5
82477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82478 (exit $ac_status); } &&
82479 { ac_try='test -z "$ac_cxx_werror_flag"
82480 || test ! -s conftest.err'
82481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82482 (eval $ac_try) 2>&5
82483 ac_status=$?
82484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82485 (exit $ac_status); }; } &&
82486 { ac_try='test -s conftest.$ac_objext'
82487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82488 (eval $ac_try) 2>&5
82489 ac_status=$?
82490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82491 (exit $ac_status); }; }; then
82492 glibcxx_cv_func__float_round_use=yes
82493 else
82494 echo "$as_me: failed program was:" >&5
82495 sed 's/^/| /' conftest.$ac_ext >&5
82497 glibcxx_cv_func__float_round_use=no
82499 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82500 ac_ext=c
82501 ac_cpp='$CPP $CPPFLAGS'
82502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82508 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
82509 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
82510 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
82513 for ac_func in _ceilf _floorf
82515 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82516 echo "$as_me:$LINENO: checking for $ac_func" >&5
82517 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82518 if eval "test \"\${$as_ac_var+set}\" = set"; then
82519 echo $ECHO_N "(cached) $ECHO_C" >&6
82520 else
82521 if test x$gcc_no_link = xyes; then
82522 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82523 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82524 { (exit 1); exit 1; }; }
82526 cat >conftest.$ac_ext <<_ACEOF
82527 /* confdefs.h. */
82528 _ACEOF
82529 cat confdefs.h >>conftest.$ac_ext
82530 cat >>conftest.$ac_ext <<_ACEOF
82531 /* end confdefs.h. */
82532 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82533 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82534 #define $ac_func innocuous_$ac_func
82536 /* System header to define __stub macros and hopefully few prototypes,
82537 which can conflict with char $ac_func (); below.
82538 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82539 <limits.h> exists even on freestanding compilers. */
82541 #ifdef __STDC__
82542 # include <limits.h>
82543 #else
82544 # include <assert.h>
82545 #endif
82547 #undef $ac_func
82549 /* Override any gcc2 internal prototype to avoid an error. */
82550 #ifdef __cplusplus
82551 extern "C"
82553 #endif
82554 /* We use char because int might match the return type of a gcc2
82555 builtin and then its argument prototype would still apply. */
82556 char $ac_func ();
82557 /* The GNU C library defines this for functions which it implements
82558 to always fail with ENOSYS. Some functions are actually named
82559 something starting with __ and the normal name is an alias. */
82560 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82561 choke me
82562 #else
82563 char (*f) () = $ac_func;
82564 #endif
82565 #ifdef __cplusplus
82567 #endif
82570 main ()
82572 return f != $ac_func;
82574 return 0;
82576 _ACEOF
82577 rm -f conftest.$ac_objext conftest$ac_exeext
82578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82579 (eval $ac_link) 2>conftest.er1
82580 ac_status=$?
82581 grep -v '^ *+' conftest.er1 >conftest.err
82582 rm -f conftest.er1
82583 cat conftest.err >&5
82584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82585 (exit $ac_status); } &&
82586 { ac_try='test -z "$ac_c_werror_flag"
82587 || test ! -s conftest.err'
82588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82589 (eval $ac_try) 2>&5
82590 ac_status=$?
82591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82592 (exit $ac_status); }; } &&
82593 { ac_try='test -s conftest$ac_exeext'
82594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82595 (eval $ac_try) 2>&5
82596 ac_status=$?
82597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82598 (exit $ac_status); }; }; then
82599 eval "$as_ac_var=yes"
82600 else
82601 echo "$as_me: failed program was:" >&5
82602 sed 's/^/| /' conftest.$ac_ext >&5
82604 eval "$as_ac_var=no"
82606 rm -f conftest.err conftest.$ac_objext \
82607 conftest$ac_exeext conftest.$ac_ext
82609 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82610 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82611 if test `eval echo '${'$as_ac_var'}'` = yes; then
82612 cat >>confdefs.h <<_ACEOF
82613 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82614 _ACEOF
82617 done
82629 echo "$as_me:$LINENO: checking for expf declaration" >&5
82630 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
82631 if test x${glibcxx_cv_func_expf_use+set} != xset; then
82632 if test "${glibcxx_cv_func_expf_use+set}" = set; then
82633 echo $ECHO_N "(cached) $ECHO_C" >&6
82634 else
82638 ac_ext=cc
82639 ac_cpp='$CXXCPP $CPPFLAGS'
82640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82644 cat >conftest.$ac_ext <<_ACEOF
82645 /* confdefs.h. */
82646 _ACEOF
82647 cat confdefs.h >>conftest.$ac_ext
82648 cat >>conftest.$ac_ext <<_ACEOF
82649 /* end confdefs.h. */
82650 #include <math.h>
82651 #ifdef HAVE_IEEEFP_H
82652 #include <ieeefp.h>
82653 #endif
82656 main ()
82658 expf(0);
82660 return 0;
82662 _ACEOF
82663 rm -f conftest.$ac_objext
82664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82665 (eval $ac_compile) 2>conftest.er1
82666 ac_status=$?
82667 grep -v '^ *+' conftest.er1 >conftest.err
82668 rm -f conftest.er1
82669 cat conftest.err >&5
82670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82671 (exit $ac_status); } &&
82672 { ac_try='test -z "$ac_cxx_werror_flag"
82673 || test ! -s conftest.err'
82674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82675 (eval $ac_try) 2>&5
82676 ac_status=$?
82677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82678 (exit $ac_status); }; } &&
82679 { ac_try='test -s conftest.$ac_objext'
82680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82681 (eval $ac_try) 2>&5
82682 ac_status=$?
82683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82684 (exit $ac_status); }; }; then
82685 glibcxx_cv_func_expf_use=yes
82686 else
82687 echo "$as_me: failed program was:" >&5
82688 sed 's/^/| /' conftest.$ac_ext >&5
82690 glibcxx_cv_func_expf_use=no
82692 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82693 ac_ext=c
82694 ac_cpp='$CPP $CPPFLAGS'
82695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82703 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
82704 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
82706 if test x$glibcxx_cv_func_expf_use = x"yes"; then
82708 for ac_func in expf
82710 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82711 echo "$as_me:$LINENO: checking for $ac_func" >&5
82712 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82713 if eval "test \"\${$as_ac_var+set}\" = set"; then
82714 echo $ECHO_N "(cached) $ECHO_C" >&6
82715 else
82716 if test x$gcc_no_link = xyes; then
82717 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82718 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82719 { (exit 1); exit 1; }; }
82721 cat >conftest.$ac_ext <<_ACEOF
82722 /* confdefs.h. */
82723 _ACEOF
82724 cat confdefs.h >>conftest.$ac_ext
82725 cat >>conftest.$ac_ext <<_ACEOF
82726 /* end confdefs.h. */
82727 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82728 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82729 #define $ac_func innocuous_$ac_func
82731 /* System header to define __stub macros and hopefully few prototypes,
82732 which can conflict with char $ac_func (); below.
82733 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82734 <limits.h> exists even on freestanding compilers. */
82736 #ifdef __STDC__
82737 # include <limits.h>
82738 #else
82739 # include <assert.h>
82740 #endif
82742 #undef $ac_func
82744 /* Override any gcc2 internal prototype to avoid an error. */
82745 #ifdef __cplusplus
82746 extern "C"
82748 #endif
82749 /* We use char because int might match the return type of a gcc2
82750 builtin and then its argument prototype would still apply. */
82751 char $ac_func ();
82752 /* The GNU C library defines this for functions which it implements
82753 to always fail with ENOSYS. Some functions are actually named
82754 something starting with __ and the normal name is an alias. */
82755 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82756 choke me
82757 #else
82758 char (*f) () = $ac_func;
82759 #endif
82760 #ifdef __cplusplus
82762 #endif
82765 main ()
82767 return f != $ac_func;
82769 return 0;
82771 _ACEOF
82772 rm -f conftest.$ac_objext conftest$ac_exeext
82773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82774 (eval $ac_link) 2>conftest.er1
82775 ac_status=$?
82776 grep -v '^ *+' conftest.er1 >conftest.err
82777 rm -f conftest.er1
82778 cat conftest.err >&5
82779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82780 (exit $ac_status); } &&
82781 { ac_try='test -z "$ac_c_werror_flag"
82782 || test ! -s conftest.err'
82783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82784 (eval $ac_try) 2>&5
82785 ac_status=$?
82786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82787 (exit $ac_status); }; } &&
82788 { ac_try='test -s conftest$ac_exeext'
82789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82790 (eval $ac_try) 2>&5
82791 ac_status=$?
82792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82793 (exit $ac_status); }; }; then
82794 eval "$as_ac_var=yes"
82795 else
82796 echo "$as_me: failed program was:" >&5
82797 sed 's/^/| /' conftest.$ac_ext >&5
82799 eval "$as_ac_var=no"
82801 rm -f conftest.err conftest.$ac_objext \
82802 conftest$ac_exeext conftest.$ac_ext
82804 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82805 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82806 if test `eval echo '${'$as_ac_var'}'` = yes; then
82807 cat >>confdefs.h <<_ACEOF
82808 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82809 _ACEOF
82812 done
82814 else
82816 echo "$as_me:$LINENO: checking for _expf declaration" >&5
82817 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
82818 if test x${glibcxx_cv_func__expf_use+set} != xset; then
82819 if test "${glibcxx_cv_func__expf_use+set}" = set; then
82820 echo $ECHO_N "(cached) $ECHO_C" >&6
82821 else
82825 ac_ext=cc
82826 ac_cpp='$CXXCPP $CPPFLAGS'
82827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82831 cat >conftest.$ac_ext <<_ACEOF
82832 /* confdefs.h. */
82833 _ACEOF
82834 cat confdefs.h >>conftest.$ac_ext
82835 cat >>conftest.$ac_ext <<_ACEOF
82836 /* end confdefs.h. */
82837 #include <math.h>
82838 #ifdef HAVE_IEEEFP_H
82839 #include <ieeefp.h>
82840 #endif
82843 main ()
82845 _expf(0);
82847 return 0;
82849 _ACEOF
82850 rm -f conftest.$ac_objext
82851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82852 (eval $ac_compile) 2>conftest.er1
82853 ac_status=$?
82854 grep -v '^ *+' conftest.er1 >conftest.err
82855 rm -f conftest.er1
82856 cat conftest.err >&5
82857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82858 (exit $ac_status); } &&
82859 { ac_try='test -z "$ac_cxx_werror_flag"
82860 || test ! -s conftest.err'
82861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82862 (eval $ac_try) 2>&5
82863 ac_status=$?
82864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82865 (exit $ac_status); }; } &&
82866 { ac_try='test -s conftest.$ac_objext'
82867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82868 (eval $ac_try) 2>&5
82869 ac_status=$?
82870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82871 (exit $ac_status); }; }; then
82872 glibcxx_cv_func__expf_use=yes
82873 else
82874 echo "$as_me: failed program was:" >&5
82875 sed 's/^/| /' conftest.$ac_ext >&5
82877 glibcxx_cv_func__expf_use=no
82879 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82880 ac_ext=c
82881 ac_cpp='$CPP $CPPFLAGS'
82882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82890 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
82891 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
82893 if test x$glibcxx_cv_func__expf_use = x"yes"; then
82895 for ac_func in _expf
82897 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82898 echo "$as_me:$LINENO: checking for $ac_func" >&5
82899 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82900 if eval "test \"\${$as_ac_var+set}\" = set"; then
82901 echo $ECHO_N "(cached) $ECHO_C" >&6
82902 else
82903 if test x$gcc_no_link = xyes; then
82904 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82905 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82906 { (exit 1); exit 1; }; }
82908 cat >conftest.$ac_ext <<_ACEOF
82909 /* confdefs.h. */
82910 _ACEOF
82911 cat confdefs.h >>conftest.$ac_ext
82912 cat >>conftest.$ac_ext <<_ACEOF
82913 /* end confdefs.h. */
82914 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82915 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82916 #define $ac_func innocuous_$ac_func
82918 /* System header to define __stub macros and hopefully few prototypes,
82919 which can conflict with char $ac_func (); below.
82920 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82921 <limits.h> exists even on freestanding compilers. */
82923 #ifdef __STDC__
82924 # include <limits.h>
82925 #else
82926 # include <assert.h>
82927 #endif
82929 #undef $ac_func
82931 /* Override any gcc2 internal prototype to avoid an error. */
82932 #ifdef __cplusplus
82933 extern "C"
82935 #endif
82936 /* We use char because int might match the return type of a gcc2
82937 builtin and then its argument prototype would still apply. */
82938 char $ac_func ();
82939 /* The GNU C library defines this for functions which it implements
82940 to always fail with ENOSYS. Some functions are actually named
82941 something starting with __ and the normal name is an alias. */
82942 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82943 choke me
82944 #else
82945 char (*f) () = $ac_func;
82946 #endif
82947 #ifdef __cplusplus
82949 #endif
82952 main ()
82954 return f != $ac_func;
82956 return 0;
82958 _ACEOF
82959 rm -f conftest.$ac_objext conftest$ac_exeext
82960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82961 (eval $ac_link) 2>conftest.er1
82962 ac_status=$?
82963 grep -v '^ *+' conftest.er1 >conftest.err
82964 rm -f conftest.er1
82965 cat conftest.err >&5
82966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82967 (exit $ac_status); } &&
82968 { ac_try='test -z "$ac_c_werror_flag"
82969 || test ! -s conftest.err'
82970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82971 (eval $ac_try) 2>&5
82972 ac_status=$?
82973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82974 (exit $ac_status); }; } &&
82975 { ac_try='test -s conftest$ac_exeext'
82976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82977 (eval $ac_try) 2>&5
82978 ac_status=$?
82979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82980 (exit $ac_status); }; }; then
82981 eval "$as_ac_var=yes"
82982 else
82983 echo "$as_me: failed program was:" >&5
82984 sed 's/^/| /' conftest.$ac_ext >&5
82986 eval "$as_ac_var=no"
82988 rm -f conftest.err conftest.$ac_objext \
82989 conftest$ac_exeext conftest.$ac_ext
82991 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82992 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82993 if test `eval echo '${'$as_ac_var'}'` = yes; then
82994 cat >>confdefs.h <<_ACEOF
82995 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82996 _ACEOF
82999 done
83009 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
83010 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
83011 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
83012 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
83013 echo $ECHO_N "(cached) $ECHO_C" >&6
83014 else
83018 ac_ext=cc
83019 ac_cpp='$CXXCPP $CPPFLAGS'
83020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83024 cat >conftest.$ac_ext <<_ACEOF
83025 /* confdefs.h. */
83026 _ACEOF
83027 cat confdefs.h >>conftest.$ac_ext
83028 cat >>conftest.$ac_ext <<_ACEOF
83029 /* end confdefs.h. */
83030 #include <math.h>
83031 #ifdef HAVE_IEEEFP_H
83032 #include <ieeefp.h>
83033 #endif
83036 main ()
83038 isnanf(0);
83040 return 0;
83042 _ACEOF
83043 rm -f conftest.$ac_objext
83044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83045 (eval $ac_compile) 2>conftest.er1
83046 ac_status=$?
83047 grep -v '^ *+' conftest.er1 >conftest.err
83048 rm -f conftest.er1
83049 cat conftest.err >&5
83050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83051 (exit $ac_status); } &&
83052 { ac_try='test -z "$ac_cxx_werror_flag"
83053 || test ! -s conftest.err'
83054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83055 (eval $ac_try) 2>&5
83056 ac_status=$?
83057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83058 (exit $ac_status); }; } &&
83059 { ac_try='test -s conftest.$ac_objext'
83060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83061 (eval $ac_try) 2>&5
83062 ac_status=$?
83063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83064 (exit $ac_status); }; }; then
83065 glibcxx_cv_func_isnanf_use=yes
83066 else
83067 echo "$as_me: failed program was:" >&5
83068 sed 's/^/| /' conftest.$ac_ext >&5
83070 glibcxx_cv_func_isnanf_use=no
83072 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83073 ac_ext=c
83074 ac_cpp='$CPP $CPPFLAGS'
83075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83083 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
83084 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
83086 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
83088 for ac_func in isnanf
83090 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83091 echo "$as_me:$LINENO: checking for $ac_func" >&5
83092 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83093 if eval "test \"\${$as_ac_var+set}\" = set"; then
83094 echo $ECHO_N "(cached) $ECHO_C" >&6
83095 else
83096 if test x$gcc_no_link = xyes; then
83097 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83098 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83099 { (exit 1); exit 1; }; }
83101 cat >conftest.$ac_ext <<_ACEOF
83102 /* confdefs.h. */
83103 _ACEOF
83104 cat confdefs.h >>conftest.$ac_ext
83105 cat >>conftest.$ac_ext <<_ACEOF
83106 /* end confdefs.h. */
83107 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83108 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83109 #define $ac_func innocuous_$ac_func
83111 /* System header to define __stub macros and hopefully few prototypes,
83112 which can conflict with char $ac_func (); below.
83113 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83114 <limits.h> exists even on freestanding compilers. */
83116 #ifdef __STDC__
83117 # include <limits.h>
83118 #else
83119 # include <assert.h>
83120 #endif
83122 #undef $ac_func
83124 /* Override any gcc2 internal prototype to avoid an error. */
83125 #ifdef __cplusplus
83126 extern "C"
83128 #endif
83129 /* We use char because int might match the return type of a gcc2
83130 builtin and then its argument prototype would still apply. */
83131 char $ac_func ();
83132 /* The GNU C library defines this for functions which it implements
83133 to always fail with ENOSYS. Some functions are actually named
83134 something starting with __ and the normal name is an alias. */
83135 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83136 choke me
83137 #else
83138 char (*f) () = $ac_func;
83139 #endif
83140 #ifdef __cplusplus
83142 #endif
83145 main ()
83147 return f != $ac_func;
83149 return 0;
83151 _ACEOF
83152 rm -f conftest.$ac_objext conftest$ac_exeext
83153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83154 (eval $ac_link) 2>conftest.er1
83155 ac_status=$?
83156 grep -v '^ *+' conftest.er1 >conftest.err
83157 rm -f conftest.er1
83158 cat conftest.err >&5
83159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83160 (exit $ac_status); } &&
83161 { ac_try='test -z "$ac_c_werror_flag"
83162 || test ! -s conftest.err'
83163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83164 (eval $ac_try) 2>&5
83165 ac_status=$?
83166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83167 (exit $ac_status); }; } &&
83168 { ac_try='test -s conftest$ac_exeext'
83169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83170 (eval $ac_try) 2>&5
83171 ac_status=$?
83172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83173 (exit $ac_status); }; }; then
83174 eval "$as_ac_var=yes"
83175 else
83176 echo "$as_me: failed program was:" >&5
83177 sed 's/^/| /' conftest.$ac_ext >&5
83179 eval "$as_ac_var=no"
83181 rm -f conftest.err conftest.$ac_objext \
83182 conftest$ac_exeext conftest.$ac_ext
83184 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83185 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83186 if test `eval echo '${'$as_ac_var'}'` = yes; then
83187 cat >>confdefs.h <<_ACEOF
83188 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83189 _ACEOF
83192 done
83194 else
83196 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
83197 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
83198 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
83199 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
83200 echo $ECHO_N "(cached) $ECHO_C" >&6
83201 else
83205 ac_ext=cc
83206 ac_cpp='$CXXCPP $CPPFLAGS'
83207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83211 cat >conftest.$ac_ext <<_ACEOF
83212 /* confdefs.h. */
83213 _ACEOF
83214 cat confdefs.h >>conftest.$ac_ext
83215 cat >>conftest.$ac_ext <<_ACEOF
83216 /* end confdefs.h. */
83217 #include <math.h>
83218 #ifdef HAVE_IEEEFP_H
83219 #include <ieeefp.h>
83220 #endif
83223 main ()
83225 _isnanf(0);
83227 return 0;
83229 _ACEOF
83230 rm -f conftest.$ac_objext
83231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83232 (eval $ac_compile) 2>conftest.er1
83233 ac_status=$?
83234 grep -v '^ *+' conftest.er1 >conftest.err
83235 rm -f conftest.er1
83236 cat conftest.err >&5
83237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83238 (exit $ac_status); } &&
83239 { ac_try='test -z "$ac_cxx_werror_flag"
83240 || test ! -s conftest.err'
83241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83242 (eval $ac_try) 2>&5
83243 ac_status=$?
83244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83245 (exit $ac_status); }; } &&
83246 { ac_try='test -s conftest.$ac_objext'
83247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83248 (eval $ac_try) 2>&5
83249 ac_status=$?
83250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83251 (exit $ac_status); }; }; then
83252 glibcxx_cv_func__isnanf_use=yes
83253 else
83254 echo "$as_me: failed program was:" >&5
83255 sed 's/^/| /' conftest.$ac_ext >&5
83257 glibcxx_cv_func__isnanf_use=no
83259 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83260 ac_ext=c
83261 ac_cpp='$CPP $CPPFLAGS'
83262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83270 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
83271 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
83273 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
83275 for ac_func in _isnanf
83277 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83278 echo "$as_me:$LINENO: checking for $ac_func" >&5
83279 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83280 if eval "test \"\${$as_ac_var+set}\" = set"; then
83281 echo $ECHO_N "(cached) $ECHO_C" >&6
83282 else
83283 if test x$gcc_no_link = xyes; then
83284 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83285 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83286 { (exit 1); exit 1; }; }
83288 cat >conftest.$ac_ext <<_ACEOF
83289 /* confdefs.h. */
83290 _ACEOF
83291 cat confdefs.h >>conftest.$ac_ext
83292 cat >>conftest.$ac_ext <<_ACEOF
83293 /* end confdefs.h. */
83294 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83295 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83296 #define $ac_func innocuous_$ac_func
83298 /* System header to define __stub macros and hopefully few prototypes,
83299 which can conflict with char $ac_func (); below.
83300 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83301 <limits.h> exists even on freestanding compilers. */
83303 #ifdef __STDC__
83304 # include <limits.h>
83305 #else
83306 # include <assert.h>
83307 #endif
83309 #undef $ac_func
83311 /* Override any gcc2 internal prototype to avoid an error. */
83312 #ifdef __cplusplus
83313 extern "C"
83315 #endif
83316 /* We use char because int might match the return type of a gcc2
83317 builtin and then its argument prototype would still apply. */
83318 char $ac_func ();
83319 /* The GNU C library defines this for functions which it implements
83320 to always fail with ENOSYS. Some functions are actually named
83321 something starting with __ and the normal name is an alias. */
83322 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83323 choke me
83324 #else
83325 char (*f) () = $ac_func;
83326 #endif
83327 #ifdef __cplusplus
83329 #endif
83332 main ()
83334 return f != $ac_func;
83336 return 0;
83338 _ACEOF
83339 rm -f conftest.$ac_objext conftest$ac_exeext
83340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83341 (eval $ac_link) 2>conftest.er1
83342 ac_status=$?
83343 grep -v '^ *+' conftest.er1 >conftest.err
83344 rm -f conftest.er1
83345 cat conftest.err >&5
83346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83347 (exit $ac_status); } &&
83348 { ac_try='test -z "$ac_c_werror_flag"
83349 || test ! -s conftest.err'
83350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83351 (eval $ac_try) 2>&5
83352 ac_status=$?
83353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83354 (exit $ac_status); }; } &&
83355 { ac_try='test -s conftest$ac_exeext'
83356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83357 (eval $ac_try) 2>&5
83358 ac_status=$?
83359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83360 (exit $ac_status); }; }; then
83361 eval "$as_ac_var=yes"
83362 else
83363 echo "$as_me: failed program was:" >&5
83364 sed 's/^/| /' conftest.$ac_ext >&5
83366 eval "$as_ac_var=no"
83368 rm -f conftest.err conftest.$ac_objext \
83369 conftest$ac_exeext conftest.$ac_ext
83371 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83372 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83373 if test `eval echo '${'$as_ac_var'}'` = yes; then
83374 cat >>confdefs.h <<_ACEOF
83375 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83376 _ACEOF
83379 done
83389 echo "$as_me:$LINENO: checking for isinff declaration" >&5
83390 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
83391 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
83392 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
83393 echo $ECHO_N "(cached) $ECHO_C" >&6
83394 else
83398 ac_ext=cc
83399 ac_cpp='$CXXCPP $CPPFLAGS'
83400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83404 cat >conftest.$ac_ext <<_ACEOF
83405 /* confdefs.h. */
83406 _ACEOF
83407 cat confdefs.h >>conftest.$ac_ext
83408 cat >>conftest.$ac_ext <<_ACEOF
83409 /* end confdefs.h. */
83410 #include <math.h>
83411 #ifdef HAVE_IEEEFP_H
83412 #include <ieeefp.h>
83413 #endif
83416 main ()
83418 isinff(0);
83420 return 0;
83422 _ACEOF
83423 rm -f conftest.$ac_objext
83424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83425 (eval $ac_compile) 2>conftest.er1
83426 ac_status=$?
83427 grep -v '^ *+' conftest.er1 >conftest.err
83428 rm -f conftest.er1
83429 cat conftest.err >&5
83430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83431 (exit $ac_status); } &&
83432 { ac_try='test -z "$ac_cxx_werror_flag"
83433 || test ! -s conftest.err'
83434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83435 (eval $ac_try) 2>&5
83436 ac_status=$?
83437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83438 (exit $ac_status); }; } &&
83439 { ac_try='test -s conftest.$ac_objext'
83440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83441 (eval $ac_try) 2>&5
83442 ac_status=$?
83443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83444 (exit $ac_status); }; }; then
83445 glibcxx_cv_func_isinff_use=yes
83446 else
83447 echo "$as_me: failed program was:" >&5
83448 sed 's/^/| /' conftest.$ac_ext >&5
83450 glibcxx_cv_func_isinff_use=no
83452 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83453 ac_ext=c
83454 ac_cpp='$CPP $CPPFLAGS'
83455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83463 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
83464 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
83466 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
83468 for ac_func in isinff
83470 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83471 echo "$as_me:$LINENO: checking for $ac_func" >&5
83472 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83473 if eval "test \"\${$as_ac_var+set}\" = set"; then
83474 echo $ECHO_N "(cached) $ECHO_C" >&6
83475 else
83476 if test x$gcc_no_link = xyes; then
83477 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83478 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83479 { (exit 1); exit 1; }; }
83481 cat >conftest.$ac_ext <<_ACEOF
83482 /* confdefs.h. */
83483 _ACEOF
83484 cat confdefs.h >>conftest.$ac_ext
83485 cat >>conftest.$ac_ext <<_ACEOF
83486 /* end confdefs.h. */
83487 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83488 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83489 #define $ac_func innocuous_$ac_func
83491 /* System header to define __stub macros and hopefully few prototypes,
83492 which can conflict with char $ac_func (); below.
83493 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83494 <limits.h> exists even on freestanding compilers. */
83496 #ifdef __STDC__
83497 # include <limits.h>
83498 #else
83499 # include <assert.h>
83500 #endif
83502 #undef $ac_func
83504 /* Override any gcc2 internal prototype to avoid an error. */
83505 #ifdef __cplusplus
83506 extern "C"
83508 #endif
83509 /* We use char because int might match the return type of a gcc2
83510 builtin and then its argument prototype would still apply. */
83511 char $ac_func ();
83512 /* The GNU C library defines this for functions which it implements
83513 to always fail with ENOSYS. Some functions are actually named
83514 something starting with __ and the normal name is an alias. */
83515 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83516 choke me
83517 #else
83518 char (*f) () = $ac_func;
83519 #endif
83520 #ifdef __cplusplus
83522 #endif
83525 main ()
83527 return f != $ac_func;
83529 return 0;
83531 _ACEOF
83532 rm -f conftest.$ac_objext conftest$ac_exeext
83533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83534 (eval $ac_link) 2>conftest.er1
83535 ac_status=$?
83536 grep -v '^ *+' conftest.er1 >conftest.err
83537 rm -f conftest.er1
83538 cat conftest.err >&5
83539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83540 (exit $ac_status); } &&
83541 { ac_try='test -z "$ac_c_werror_flag"
83542 || test ! -s conftest.err'
83543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83544 (eval $ac_try) 2>&5
83545 ac_status=$?
83546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83547 (exit $ac_status); }; } &&
83548 { ac_try='test -s conftest$ac_exeext'
83549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83550 (eval $ac_try) 2>&5
83551 ac_status=$?
83552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83553 (exit $ac_status); }; }; then
83554 eval "$as_ac_var=yes"
83555 else
83556 echo "$as_me: failed program was:" >&5
83557 sed 's/^/| /' conftest.$ac_ext >&5
83559 eval "$as_ac_var=no"
83561 rm -f conftest.err conftest.$ac_objext \
83562 conftest$ac_exeext conftest.$ac_ext
83564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83565 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83566 if test `eval echo '${'$as_ac_var'}'` = yes; then
83567 cat >>confdefs.h <<_ACEOF
83568 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83569 _ACEOF
83572 done
83574 else
83576 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
83577 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
83578 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
83579 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
83580 echo $ECHO_N "(cached) $ECHO_C" >&6
83581 else
83585 ac_ext=cc
83586 ac_cpp='$CXXCPP $CPPFLAGS'
83587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83591 cat >conftest.$ac_ext <<_ACEOF
83592 /* confdefs.h. */
83593 _ACEOF
83594 cat confdefs.h >>conftest.$ac_ext
83595 cat >>conftest.$ac_ext <<_ACEOF
83596 /* end confdefs.h. */
83597 #include <math.h>
83598 #ifdef HAVE_IEEEFP_H
83599 #include <ieeefp.h>
83600 #endif
83603 main ()
83605 _isinff(0);
83607 return 0;
83609 _ACEOF
83610 rm -f conftest.$ac_objext
83611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83612 (eval $ac_compile) 2>conftest.er1
83613 ac_status=$?
83614 grep -v '^ *+' conftest.er1 >conftest.err
83615 rm -f conftest.er1
83616 cat conftest.err >&5
83617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83618 (exit $ac_status); } &&
83619 { ac_try='test -z "$ac_cxx_werror_flag"
83620 || test ! -s conftest.err'
83621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83622 (eval $ac_try) 2>&5
83623 ac_status=$?
83624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83625 (exit $ac_status); }; } &&
83626 { ac_try='test -s conftest.$ac_objext'
83627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83628 (eval $ac_try) 2>&5
83629 ac_status=$?
83630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83631 (exit $ac_status); }; }; then
83632 glibcxx_cv_func__isinff_use=yes
83633 else
83634 echo "$as_me: failed program was:" >&5
83635 sed 's/^/| /' conftest.$ac_ext >&5
83637 glibcxx_cv_func__isinff_use=no
83639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83640 ac_ext=c
83641 ac_cpp='$CPP $CPPFLAGS'
83642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83650 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
83651 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
83653 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
83655 for ac_func in _isinff
83657 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83658 echo "$as_me:$LINENO: checking for $ac_func" >&5
83659 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83660 if eval "test \"\${$as_ac_var+set}\" = set"; then
83661 echo $ECHO_N "(cached) $ECHO_C" >&6
83662 else
83663 if test x$gcc_no_link = xyes; then
83664 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83665 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83666 { (exit 1); exit 1; }; }
83668 cat >conftest.$ac_ext <<_ACEOF
83669 /* confdefs.h. */
83670 _ACEOF
83671 cat confdefs.h >>conftest.$ac_ext
83672 cat >>conftest.$ac_ext <<_ACEOF
83673 /* end confdefs.h. */
83674 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83675 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83676 #define $ac_func innocuous_$ac_func
83678 /* System header to define __stub macros and hopefully few prototypes,
83679 which can conflict with char $ac_func (); below.
83680 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83681 <limits.h> exists even on freestanding compilers. */
83683 #ifdef __STDC__
83684 # include <limits.h>
83685 #else
83686 # include <assert.h>
83687 #endif
83689 #undef $ac_func
83691 /* Override any gcc2 internal prototype to avoid an error. */
83692 #ifdef __cplusplus
83693 extern "C"
83695 #endif
83696 /* We use char because int might match the return type of a gcc2
83697 builtin and then its argument prototype would still apply. */
83698 char $ac_func ();
83699 /* The GNU C library defines this for functions which it implements
83700 to always fail with ENOSYS. Some functions are actually named
83701 something starting with __ and the normal name is an alias. */
83702 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83703 choke me
83704 #else
83705 char (*f) () = $ac_func;
83706 #endif
83707 #ifdef __cplusplus
83709 #endif
83712 main ()
83714 return f != $ac_func;
83716 return 0;
83718 _ACEOF
83719 rm -f conftest.$ac_objext conftest$ac_exeext
83720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83721 (eval $ac_link) 2>conftest.er1
83722 ac_status=$?
83723 grep -v '^ *+' conftest.er1 >conftest.err
83724 rm -f conftest.er1
83725 cat conftest.err >&5
83726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83727 (exit $ac_status); } &&
83728 { ac_try='test -z "$ac_c_werror_flag"
83729 || test ! -s conftest.err'
83730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83731 (eval $ac_try) 2>&5
83732 ac_status=$?
83733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83734 (exit $ac_status); }; } &&
83735 { ac_try='test -s conftest$ac_exeext'
83736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83737 (eval $ac_try) 2>&5
83738 ac_status=$?
83739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83740 (exit $ac_status); }; }; then
83741 eval "$as_ac_var=yes"
83742 else
83743 echo "$as_me: failed program was:" >&5
83744 sed 's/^/| /' conftest.$ac_ext >&5
83746 eval "$as_ac_var=no"
83748 rm -f conftest.err conftest.$ac_objext \
83749 conftest$ac_exeext conftest.$ac_ext
83751 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83752 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83753 if test `eval echo '${'$as_ac_var'}'` = yes; then
83754 cat >>confdefs.h <<_ACEOF
83755 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83756 _ACEOF
83759 done
83769 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
83770 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
83771 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
83772 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
83773 echo $ECHO_N "(cached) $ECHO_C" >&6
83774 else
83778 ac_ext=cc
83779 ac_cpp='$CXXCPP $CPPFLAGS'
83780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83784 cat >conftest.$ac_ext <<_ACEOF
83785 /* confdefs.h. */
83786 _ACEOF
83787 cat confdefs.h >>conftest.$ac_ext
83788 cat >>conftest.$ac_ext <<_ACEOF
83789 /* end confdefs.h. */
83790 #include <math.h>
83792 main ()
83794 atan2f(0, 0);
83796 return 0;
83798 _ACEOF
83799 rm -f conftest.$ac_objext
83800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83801 (eval $ac_compile) 2>conftest.er1
83802 ac_status=$?
83803 grep -v '^ *+' conftest.er1 >conftest.err
83804 rm -f conftest.er1
83805 cat conftest.err >&5
83806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83807 (exit $ac_status); } &&
83808 { ac_try='test -z "$ac_cxx_werror_flag"
83809 || test ! -s conftest.err'
83810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83811 (eval $ac_try) 2>&5
83812 ac_status=$?
83813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83814 (exit $ac_status); }; } &&
83815 { ac_try='test -s conftest.$ac_objext'
83816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83817 (eval $ac_try) 2>&5
83818 ac_status=$?
83819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83820 (exit $ac_status); }; }; then
83821 glibcxx_cv_func_atan2f_use=yes
83822 else
83823 echo "$as_me: failed program was:" >&5
83824 sed 's/^/| /' conftest.$ac_ext >&5
83826 glibcxx_cv_func_atan2f_use=no
83828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83829 ac_ext=c
83830 ac_cpp='$CPP $CPPFLAGS'
83831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83839 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
83840 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
83842 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
83844 for ac_func in atan2f
83846 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83847 echo "$as_me:$LINENO: checking for $ac_func" >&5
83848 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83849 if eval "test \"\${$as_ac_var+set}\" = set"; then
83850 echo $ECHO_N "(cached) $ECHO_C" >&6
83851 else
83852 if test x$gcc_no_link = xyes; then
83853 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83854 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83855 { (exit 1); exit 1; }; }
83857 cat >conftest.$ac_ext <<_ACEOF
83858 /* confdefs.h. */
83859 _ACEOF
83860 cat confdefs.h >>conftest.$ac_ext
83861 cat >>conftest.$ac_ext <<_ACEOF
83862 /* end confdefs.h. */
83863 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83864 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83865 #define $ac_func innocuous_$ac_func
83867 /* System header to define __stub macros and hopefully few prototypes,
83868 which can conflict with char $ac_func (); below.
83869 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83870 <limits.h> exists even on freestanding compilers. */
83872 #ifdef __STDC__
83873 # include <limits.h>
83874 #else
83875 # include <assert.h>
83876 #endif
83878 #undef $ac_func
83880 /* Override any gcc2 internal prototype to avoid an error. */
83881 #ifdef __cplusplus
83882 extern "C"
83884 #endif
83885 /* We use char because int might match the return type of a gcc2
83886 builtin and then its argument prototype would still apply. */
83887 char $ac_func ();
83888 /* The GNU C library defines this for functions which it implements
83889 to always fail with ENOSYS. Some functions are actually named
83890 something starting with __ and the normal name is an alias. */
83891 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83892 choke me
83893 #else
83894 char (*f) () = $ac_func;
83895 #endif
83896 #ifdef __cplusplus
83898 #endif
83901 main ()
83903 return f != $ac_func;
83905 return 0;
83907 _ACEOF
83908 rm -f conftest.$ac_objext conftest$ac_exeext
83909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83910 (eval $ac_link) 2>conftest.er1
83911 ac_status=$?
83912 grep -v '^ *+' conftest.er1 >conftest.err
83913 rm -f conftest.er1
83914 cat conftest.err >&5
83915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83916 (exit $ac_status); } &&
83917 { ac_try='test -z "$ac_c_werror_flag"
83918 || test ! -s conftest.err'
83919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83920 (eval $ac_try) 2>&5
83921 ac_status=$?
83922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83923 (exit $ac_status); }; } &&
83924 { ac_try='test -s conftest$ac_exeext'
83925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83926 (eval $ac_try) 2>&5
83927 ac_status=$?
83928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83929 (exit $ac_status); }; }; then
83930 eval "$as_ac_var=yes"
83931 else
83932 echo "$as_me: failed program was:" >&5
83933 sed 's/^/| /' conftest.$ac_ext >&5
83935 eval "$as_ac_var=no"
83937 rm -f conftest.err conftest.$ac_objext \
83938 conftest$ac_exeext conftest.$ac_ext
83940 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83941 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83942 if test `eval echo '${'$as_ac_var'}'` = yes; then
83943 cat >>confdefs.h <<_ACEOF
83944 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83945 _ACEOF
83948 done
83950 else
83952 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
83953 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
83954 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
83955 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
83956 echo $ECHO_N "(cached) $ECHO_C" >&6
83957 else
83961 ac_ext=cc
83962 ac_cpp='$CXXCPP $CPPFLAGS'
83963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83967 cat >conftest.$ac_ext <<_ACEOF
83968 /* confdefs.h. */
83969 _ACEOF
83970 cat confdefs.h >>conftest.$ac_ext
83971 cat >>conftest.$ac_ext <<_ACEOF
83972 /* end confdefs.h. */
83973 #include <math.h>
83975 main ()
83977 _atan2f(0, 0);
83979 return 0;
83981 _ACEOF
83982 rm -f conftest.$ac_objext
83983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83984 (eval $ac_compile) 2>conftest.er1
83985 ac_status=$?
83986 grep -v '^ *+' conftest.er1 >conftest.err
83987 rm -f conftest.er1
83988 cat conftest.err >&5
83989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83990 (exit $ac_status); } &&
83991 { ac_try='test -z "$ac_cxx_werror_flag"
83992 || test ! -s conftest.err'
83993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83994 (eval $ac_try) 2>&5
83995 ac_status=$?
83996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83997 (exit $ac_status); }; } &&
83998 { ac_try='test -s conftest.$ac_objext'
83999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84000 (eval $ac_try) 2>&5
84001 ac_status=$?
84002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84003 (exit $ac_status); }; }; then
84004 glibcxx_cv_func__atan2f_use=yes
84005 else
84006 echo "$as_me: failed program was:" >&5
84007 sed 's/^/| /' conftest.$ac_ext >&5
84009 glibcxx_cv_func__atan2f_use=no
84011 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84012 ac_ext=c
84013 ac_cpp='$CPP $CPPFLAGS'
84014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84022 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
84023 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
84025 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
84027 for ac_func in _atan2f
84029 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84030 echo "$as_me:$LINENO: checking for $ac_func" >&5
84031 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84032 if eval "test \"\${$as_ac_var+set}\" = set"; then
84033 echo $ECHO_N "(cached) $ECHO_C" >&6
84034 else
84035 if test x$gcc_no_link = xyes; then
84036 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84037 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84038 { (exit 1); exit 1; }; }
84040 cat >conftest.$ac_ext <<_ACEOF
84041 /* confdefs.h. */
84042 _ACEOF
84043 cat confdefs.h >>conftest.$ac_ext
84044 cat >>conftest.$ac_ext <<_ACEOF
84045 /* end confdefs.h. */
84046 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84047 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84048 #define $ac_func innocuous_$ac_func
84050 /* System header to define __stub macros and hopefully few prototypes,
84051 which can conflict with char $ac_func (); below.
84052 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84053 <limits.h> exists even on freestanding compilers. */
84055 #ifdef __STDC__
84056 # include <limits.h>
84057 #else
84058 # include <assert.h>
84059 #endif
84061 #undef $ac_func
84063 /* Override any gcc2 internal prototype to avoid an error. */
84064 #ifdef __cplusplus
84065 extern "C"
84067 #endif
84068 /* We use char because int might match the return type of a gcc2
84069 builtin and then its argument prototype would still apply. */
84070 char $ac_func ();
84071 /* The GNU C library defines this for functions which it implements
84072 to always fail with ENOSYS. Some functions are actually named
84073 something starting with __ and the normal name is an alias. */
84074 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84075 choke me
84076 #else
84077 char (*f) () = $ac_func;
84078 #endif
84079 #ifdef __cplusplus
84081 #endif
84084 main ()
84086 return f != $ac_func;
84088 return 0;
84090 _ACEOF
84091 rm -f conftest.$ac_objext conftest$ac_exeext
84092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84093 (eval $ac_link) 2>conftest.er1
84094 ac_status=$?
84095 grep -v '^ *+' conftest.er1 >conftest.err
84096 rm -f conftest.er1
84097 cat conftest.err >&5
84098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84099 (exit $ac_status); } &&
84100 { ac_try='test -z "$ac_c_werror_flag"
84101 || test ! -s conftest.err'
84102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84103 (eval $ac_try) 2>&5
84104 ac_status=$?
84105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84106 (exit $ac_status); }; } &&
84107 { ac_try='test -s conftest$ac_exeext'
84108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84109 (eval $ac_try) 2>&5
84110 ac_status=$?
84111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84112 (exit $ac_status); }; }; then
84113 eval "$as_ac_var=yes"
84114 else
84115 echo "$as_me: failed program was:" >&5
84116 sed 's/^/| /' conftest.$ac_ext >&5
84118 eval "$as_ac_var=no"
84120 rm -f conftest.err conftest.$ac_objext \
84121 conftest$ac_exeext conftest.$ac_ext
84123 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84124 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84125 if test `eval echo '${'$as_ac_var'}'` = yes; then
84126 cat >>confdefs.h <<_ACEOF
84127 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84128 _ACEOF
84131 done
84141 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
84142 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
84143 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
84144 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
84145 echo $ECHO_N "(cached) $ECHO_C" >&6
84146 else
84150 ac_ext=cc
84151 ac_cpp='$CXXCPP $CPPFLAGS'
84152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84156 cat >conftest.$ac_ext <<_ACEOF
84157 /* confdefs.h. */
84158 _ACEOF
84159 cat confdefs.h >>conftest.$ac_ext
84160 cat >>conftest.$ac_ext <<_ACEOF
84161 /* end confdefs.h. */
84162 #include <math.h>
84163 #ifdef HAVE_IEEEFP_H
84164 #include <ieeefp.h>
84165 #endif
84168 main ()
84170 fabsf(0);
84172 return 0;
84174 _ACEOF
84175 rm -f conftest.$ac_objext
84176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84177 (eval $ac_compile) 2>conftest.er1
84178 ac_status=$?
84179 grep -v '^ *+' conftest.er1 >conftest.err
84180 rm -f conftest.er1
84181 cat conftest.err >&5
84182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84183 (exit $ac_status); } &&
84184 { ac_try='test -z "$ac_cxx_werror_flag"
84185 || test ! -s conftest.err'
84186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84187 (eval $ac_try) 2>&5
84188 ac_status=$?
84189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84190 (exit $ac_status); }; } &&
84191 { ac_try='test -s conftest.$ac_objext'
84192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84193 (eval $ac_try) 2>&5
84194 ac_status=$?
84195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84196 (exit $ac_status); }; }; then
84197 glibcxx_cv_func_fabsf_use=yes
84198 else
84199 echo "$as_me: failed program was:" >&5
84200 sed 's/^/| /' conftest.$ac_ext >&5
84202 glibcxx_cv_func_fabsf_use=no
84204 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84205 ac_ext=c
84206 ac_cpp='$CPP $CPPFLAGS'
84207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84215 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
84216 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
84218 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
84220 for ac_func in fabsf
84222 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84223 echo "$as_me:$LINENO: checking for $ac_func" >&5
84224 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84225 if eval "test \"\${$as_ac_var+set}\" = set"; then
84226 echo $ECHO_N "(cached) $ECHO_C" >&6
84227 else
84228 if test x$gcc_no_link = xyes; then
84229 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84230 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84231 { (exit 1); exit 1; }; }
84233 cat >conftest.$ac_ext <<_ACEOF
84234 /* confdefs.h. */
84235 _ACEOF
84236 cat confdefs.h >>conftest.$ac_ext
84237 cat >>conftest.$ac_ext <<_ACEOF
84238 /* end confdefs.h. */
84239 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84240 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84241 #define $ac_func innocuous_$ac_func
84243 /* System header to define __stub macros and hopefully few prototypes,
84244 which can conflict with char $ac_func (); below.
84245 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84246 <limits.h> exists even on freestanding compilers. */
84248 #ifdef __STDC__
84249 # include <limits.h>
84250 #else
84251 # include <assert.h>
84252 #endif
84254 #undef $ac_func
84256 /* Override any gcc2 internal prototype to avoid an error. */
84257 #ifdef __cplusplus
84258 extern "C"
84260 #endif
84261 /* We use char because int might match the return type of a gcc2
84262 builtin and then its argument prototype would still apply. */
84263 char $ac_func ();
84264 /* The GNU C library defines this for functions which it implements
84265 to always fail with ENOSYS. Some functions are actually named
84266 something starting with __ and the normal name is an alias. */
84267 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84268 choke me
84269 #else
84270 char (*f) () = $ac_func;
84271 #endif
84272 #ifdef __cplusplus
84274 #endif
84277 main ()
84279 return f != $ac_func;
84281 return 0;
84283 _ACEOF
84284 rm -f conftest.$ac_objext conftest$ac_exeext
84285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84286 (eval $ac_link) 2>conftest.er1
84287 ac_status=$?
84288 grep -v '^ *+' conftest.er1 >conftest.err
84289 rm -f conftest.er1
84290 cat conftest.err >&5
84291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84292 (exit $ac_status); } &&
84293 { ac_try='test -z "$ac_c_werror_flag"
84294 || test ! -s conftest.err'
84295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84296 (eval $ac_try) 2>&5
84297 ac_status=$?
84298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84299 (exit $ac_status); }; } &&
84300 { ac_try='test -s conftest$ac_exeext'
84301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84302 (eval $ac_try) 2>&5
84303 ac_status=$?
84304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84305 (exit $ac_status); }; }; then
84306 eval "$as_ac_var=yes"
84307 else
84308 echo "$as_me: failed program was:" >&5
84309 sed 's/^/| /' conftest.$ac_ext >&5
84311 eval "$as_ac_var=no"
84313 rm -f conftest.err conftest.$ac_objext \
84314 conftest$ac_exeext conftest.$ac_ext
84316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84317 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84318 if test `eval echo '${'$as_ac_var'}'` = yes; then
84319 cat >>confdefs.h <<_ACEOF
84320 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84321 _ACEOF
84324 done
84326 else
84328 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
84329 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
84330 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
84331 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
84332 echo $ECHO_N "(cached) $ECHO_C" >&6
84333 else
84337 ac_ext=cc
84338 ac_cpp='$CXXCPP $CPPFLAGS'
84339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84343 cat >conftest.$ac_ext <<_ACEOF
84344 /* confdefs.h. */
84345 _ACEOF
84346 cat confdefs.h >>conftest.$ac_ext
84347 cat >>conftest.$ac_ext <<_ACEOF
84348 /* end confdefs.h. */
84349 #include <math.h>
84350 #ifdef HAVE_IEEEFP_H
84351 #include <ieeefp.h>
84352 #endif
84355 main ()
84357 _fabsf(0);
84359 return 0;
84361 _ACEOF
84362 rm -f conftest.$ac_objext
84363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84364 (eval $ac_compile) 2>conftest.er1
84365 ac_status=$?
84366 grep -v '^ *+' conftest.er1 >conftest.err
84367 rm -f conftest.er1
84368 cat conftest.err >&5
84369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84370 (exit $ac_status); } &&
84371 { ac_try='test -z "$ac_cxx_werror_flag"
84372 || test ! -s conftest.err'
84373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84374 (eval $ac_try) 2>&5
84375 ac_status=$?
84376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84377 (exit $ac_status); }; } &&
84378 { ac_try='test -s conftest.$ac_objext'
84379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84380 (eval $ac_try) 2>&5
84381 ac_status=$?
84382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84383 (exit $ac_status); }; }; then
84384 glibcxx_cv_func__fabsf_use=yes
84385 else
84386 echo "$as_me: failed program was:" >&5
84387 sed 's/^/| /' conftest.$ac_ext >&5
84389 glibcxx_cv_func__fabsf_use=no
84391 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84392 ac_ext=c
84393 ac_cpp='$CPP $CPPFLAGS'
84394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84402 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
84403 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
84405 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
84407 for ac_func in _fabsf
84409 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84410 echo "$as_me:$LINENO: checking for $ac_func" >&5
84411 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84412 if eval "test \"\${$as_ac_var+set}\" = set"; then
84413 echo $ECHO_N "(cached) $ECHO_C" >&6
84414 else
84415 if test x$gcc_no_link = xyes; then
84416 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84417 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84418 { (exit 1); exit 1; }; }
84420 cat >conftest.$ac_ext <<_ACEOF
84421 /* confdefs.h. */
84422 _ACEOF
84423 cat confdefs.h >>conftest.$ac_ext
84424 cat >>conftest.$ac_ext <<_ACEOF
84425 /* end confdefs.h. */
84426 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84427 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84428 #define $ac_func innocuous_$ac_func
84430 /* System header to define __stub macros and hopefully few prototypes,
84431 which can conflict with char $ac_func (); below.
84432 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84433 <limits.h> exists even on freestanding compilers. */
84435 #ifdef __STDC__
84436 # include <limits.h>
84437 #else
84438 # include <assert.h>
84439 #endif
84441 #undef $ac_func
84443 /* Override any gcc2 internal prototype to avoid an error. */
84444 #ifdef __cplusplus
84445 extern "C"
84447 #endif
84448 /* We use char because int might match the return type of a gcc2
84449 builtin and then its argument prototype would still apply. */
84450 char $ac_func ();
84451 /* The GNU C library defines this for functions which it implements
84452 to always fail with ENOSYS. Some functions are actually named
84453 something starting with __ and the normal name is an alias. */
84454 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84455 choke me
84456 #else
84457 char (*f) () = $ac_func;
84458 #endif
84459 #ifdef __cplusplus
84461 #endif
84464 main ()
84466 return f != $ac_func;
84468 return 0;
84470 _ACEOF
84471 rm -f conftest.$ac_objext conftest$ac_exeext
84472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84473 (eval $ac_link) 2>conftest.er1
84474 ac_status=$?
84475 grep -v '^ *+' conftest.er1 >conftest.err
84476 rm -f conftest.er1
84477 cat conftest.err >&5
84478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84479 (exit $ac_status); } &&
84480 { ac_try='test -z "$ac_c_werror_flag"
84481 || test ! -s conftest.err'
84482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84483 (eval $ac_try) 2>&5
84484 ac_status=$?
84485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84486 (exit $ac_status); }; } &&
84487 { ac_try='test -s conftest$ac_exeext'
84488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84489 (eval $ac_try) 2>&5
84490 ac_status=$?
84491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84492 (exit $ac_status); }; }; then
84493 eval "$as_ac_var=yes"
84494 else
84495 echo "$as_me: failed program was:" >&5
84496 sed 's/^/| /' conftest.$ac_ext >&5
84498 eval "$as_ac_var=no"
84500 rm -f conftest.err conftest.$ac_objext \
84501 conftest$ac_exeext conftest.$ac_ext
84503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84504 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84505 if test `eval echo '${'$as_ac_var'}'` = yes; then
84506 cat >>confdefs.h <<_ACEOF
84507 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84508 _ACEOF
84511 done
84521 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
84522 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
84523 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
84524 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
84525 echo $ECHO_N "(cached) $ECHO_C" >&6
84526 else
84530 ac_ext=cc
84531 ac_cpp='$CXXCPP $CPPFLAGS'
84532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84536 cat >conftest.$ac_ext <<_ACEOF
84537 /* confdefs.h. */
84538 _ACEOF
84539 cat confdefs.h >>conftest.$ac_ext
84540 cat >>conftest.$ac_ext <<_ACEOF
84541 /* end confdefs.h. */
84542 #include <math.h>
84544 main ()
84546 fmodf(0, 0);
84548 return 0;
84550 _ACEOF
84551 rm -f conftest.$ac_objext
84552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84553 (eval $ac_compile) 2>conftest.er1
84554 ac_status=$?
84555 grep -v '^ *+' conftest.er1 >conftest.err
84556 rm -f conftest.er1
84557 cat conftest.err >&5
84558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84559 (exit $ac_status); } &&
84560 { ac_try='test -z "$ac_cxx_werror_flag"
84561 || test ! -s conftest.err'
84562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84563 (eval $ac_try) 2>&5
84564 ac_status=$?
84565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84566 (exit $ac_status); }; } &&
84567 { ac_try='test -s conftest.$ac_objext'
84568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84569 (eval $ac_try) 2>&5
84570 ac_status=$?
84571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84572 (exit $ac_status); }; }; then
84573 glibcxx_cv_func_fmodf_use=yes
84574 else
84575 echo "$as_me: failed program was:" >&5
84576 sed 's/^/| /' conftest.$ac_ext >&5
84578 glibcxx_cv_func_fmodf_use=no
84580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84581 ac_ext=c
84582 ac_cpp='$CPP $CPPFLAGS'
84583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84591 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
84592 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
84594 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
84596 for ac_func in fmodf
84598 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84599 echo "$as_me:$LINENO: checking for $ac_func" >&5
84600 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84601 if eval "test \"\${$as_ac_var+set}\" = set"; then
84602 echo $ECHO_N "(cached) $ECHO_C" >&6
84603 else
84604 if test x$gcc_no_link = xyes; then
84605 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84606 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84607 { (exit 1); exit 1; }; }
84609 cat >conftest.$ac_ext <<_ACEOF
84610 /* confdefs.h. */
84611 _ACEOF
84612 cat confdefs.h >>conftest.$ac_ext
84613 cat >>conftest.$ac_ext <<_ACEOF
84614 /* end confdefs.h. */
84615 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84616 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84617 #define $ac_func innocuous_$ac_func
84619 /* System header to define __stub macros and hopefully few prototypes,
84620 which can conflict with char $ac_func (); below.
84621 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84622 <limits.h> exists even on freestanding compilers. */
84624 #ifdef __STDC__
84625 # include <limits.h>
84626 #else
84627 # include <assert.h>
84628 #endif
84630 #undef $ac_func
84632 /* Override any gcc2 internal prototype to avoid an error. */
84633 #ifdef __cplusplus
84634 extern "C"
84636 #endif
84637 /* We use char because int might match the return type of a gcc2
84638 builtin and then its argument prototype would still apply. */
84639 char $ac_func ();
84640 /* The GNU C library defines this for functions which it implements
84641 to always fail with ENOSYS. Some functions are actually named
84642 something starting with __ and the normal name is an alias. */
84643 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84644 choke me
84645 #else
84646 char (*f) () = $ac_func;
84647 #endif
84648 #ifdef __cplusplus
84650 #endif
84653 main ()
84655 return f != $ac_func;
84657 return 0;
84659 _ACEOF
84660 rm -f conftest.$ac_objext conftest$ac_exeext
84661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84662 (eval $ac_link) 2>conftest.er1
84663 ac_status=$?
84664 grep -v '^ *+' conftest.er1 >conftest.err
84665 rm -f conftest.er1
84666 cat conftest.err >&5
84667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84668 (exit $ac_status); } &&
84669 { ac_try='test -z "$ac_c_werror_flag"
84670 || test ! -s conftest.err'
84671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84672 (eval $ac_try) 2>&5
84673 ac_status=$?
84674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84675 (exit $ac_status); }; } &&
84676 { ac_try='test -s conftest$ac_exeext'
84677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84678 (eval $ac_try) 2>&5
84679 ac_status=$?
84680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84681 (exit $ac_status); }; }; then
84682 eval "$as_ac_var=yes"
84683 else
84684 echo "$as_me: failed program was:" >&5
84685 sed 's/^/| /' conftest.$ac_ext >&5
84687 eval "$as_ac_var=no"
84689 rm -f conftest.err conftest.$ac_objext \
84690 conftest$ac_exeext conftest.$ac_ext
84692 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84693 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84694 if test `eval echo '${'$as_ac_var'}'` = yes; then
84695 cat >>confdefs.h <<_ACEOF
84696 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84697 _ACEOF
84700 done
84702 else
84704 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
84705 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
84706 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
84707 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
84708 echo $ECHO_N "(cached) $ECHO_C" >&6
84709 else
84713 ac_ext=cc
84714 ac_cpp='$CXXCPP $CPPFLAGS'
84715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84719 cat >conftest.$ac_ext <<_ACEOF
84720 /* confdefs.h. */
84721 _ACEOF
84722 cat confdefs.h >>conftest.$ac_ext
84723 cat >>conftest.$ac_ext <<_ACEOF
84724 /* end confdefs.h. */
84725 #include <math.h>
84727 main ()
84729 _fmodf(0, 0);
84731 return 0;
84733 _ACEOF
84734 rm -f conftest.$ac_objext
84735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84736 (eval $ac_compile) 2>conftest.er1
84737 ac_status=$?
84738 grep -v '^ *+' conftest.er1 >conftest.err
84739 rm -f conftest.er1
84740 cat conftest.err >&5
84741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84742 (exit $ac_status); } &&
84743 { ac_try='test -z "$ac_cxx_werror_flag"
84744 || test ! -s conftest.err'
84745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84746 (eval $ac_try) 2>&5
84747 ac_status=$?
84748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84749 (exit $ac_status); }; } &&
84750 { ac_try='test -s conftest.$ac_objext'
84751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84752 (eval $ac_try) 2>&5
84753 ac_status=$?
84754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84755 (exit $ac_status); }; }; then
84756 glibcxx_cv_func__fmodf_use=yes
84757 else
84758 echo "$as_me: failed program was:" >&5
84759 sed 's/^/| /' conftest.$ac_ext >&5
84761 glibcxx_cv_func__fmodf_use=no
84763 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84764 ac_ext=c
84765 ac_cpp='$CPP $CPPFLAGS'
84766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84774 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
84775 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
84777 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
84779 for ac_func in _fmodf
84781 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84782 echo "$as_me:$LINENO: checking for $ac_func" >&5
84783 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84784 if eval "test \"\${$as_ac_var+set}\" = set"; then
84785 echo $ECHO_N "(cached) $ECHO_C" >&6
84786 else
84787 if test x$gcc_no_link = xyes; then
84788 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84789 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84790 { (exit 1); exit 1; }; }
84792 cat >conftest.$ac_ext <<_ACEOF
84793 /* confdefs.h. */
84794 _ACEOF
84795 cat confdefs.h >>conftest.$ac_ext
84796 cat >>conftest.$ac_ext <<_ACEOF
84797 /* end confdefs.h. */
84798 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84799 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84800 #define $ac_func innocuous_$ac_func
84802 /* System header to define __stub macros and hopefully few prototypes,
84803 which can conflict with char $ac_func (); below.
84804 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84805 <limits.h> exists even on freestanding compilers. */
84807 #ifdef __STDC__
84808 # include <limits.h>
84809 #else
84810 # include <assert.h>
84811 #endif
84813 #undef $ac_func
84815 /* Override any gcc2 internal prototype to avoid an error. */
84816 #ifdef __cplusplus
84817 extern "C"
84819 #endif
84820 /* We use char because int might match the return type of a gcc2
84821 builtin and then its argument prototype would still apply. */
84822 char $ac_func ();
84823 /* The GNU C library defines this for functions which it implements
84824 to always fail with ENOSYS. Some functions are actually named
84825 something starting with __ and the normal name is an alias. */
84826 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84827 choke me
84828 #else
84829 char (*f) () = $ac_func;
84830 #endif
84831 #ifdef __cplusplus
84833 #endif
84836 main ()
84838 return f != $ac_func;
84840 return 0;
84842 _ACEOF
84843 rm -f conftest.$ac_objext conftest$ac_exeext
84844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84845 (eval $ac_link) 2>conftest.er1
84846 ac_status=$?
84847 grep -v '^ *+' conftest.er1 >conftest.err
84848 rm -f conftest.er1
84849 cat conftest.err >&5
84850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84851 (exit $ac_status); } &&
84852 { ac_try='test -z "$ac_c_werror_flag"
84853 || test ! -s conftest.err'
84854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84855 (eval $ac_try) 2>&5
84856 ac_status=$?
84857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84858 (exit $ac_status); }; } &&
84859 { ac_try='test -s conftest$ac_exeext'
84860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84861 (eval $ac_try) 2>&5
84862 ac_status=$?
84863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84864 (exit $ac_status); }; }; then
84865 eval "$as_ac_var=yes"
84866 else
84867 echo "$as_me: failed program was:" >&5
84868 sed 's/^/| /' conftest.$ac_ext >&5
84870 eval "$as_ac_var=no"
84872 rm -f conftest.err conftest.$ac_objext \
84873 conftest$ac_exeext conftest.$ac_ext
84875 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84876 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84877 if test `eval echo '${'$as_ac_var'}'` = yes; then
84878 cat >>confdefs.h <<_ACEOF
84879 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84880 _ACEOF
84883 done
84893 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
84894 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
84895 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
84896 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
84897 echo $ECHO_N "(cached) $ECHO_C" >&6
84898 else
84902 ac_ext=cc
84903 ac_cpp='$CXXCPP $CPPFLAGS'
84904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84908 cat >conftest.$ac_ext <<_ACEOF
84909 /* confdefs.h. */
84910 _ACEOF
84911 cat confdefs.h >>conftest.$ac_ext
84912 cat >>conftest.$ac_ext <<_ACEOF
84913 /* end confdefs.h. */
84914 #include <math.h>
84916 main ()
84918 frexpf(0, 0);
84920 return 0;
84922 _ACEOF
84923 rm -f conftest.$ac_objext
84924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84925 (eval $ac_compile) 2>conftest.er1
84926 ac_status=$?
84927 grep -v '^ *+' conftest.er1 >conftest.err
84928 rm -f conftest.er1
84929 cat conftest.err >&5
84930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84931 (exit $ac_status); } &&
84932 { ac_try='test -z "$ac_cxx_werror_flag"
84933 || test ! -s conftest.err'
84934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84935 (eval $ac_try) 2>&5
84936 ac_status=$?
84937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84938 (exit $ac_status); }; } &&
84939 { ac_try='test -s conftest.$ac_objext'
84940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84941 (eval $ac_try) 2>&5
84942 ac_status=$?
84943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84944 (exit $ac_status); }; }; then
84945 glibcxx_cv_func_frexpf_use=yes
84946 else
84947 echo "$as_me: failed program was:" >&5
84948 sed 's/^/| /' conftest.$ac_ext >&5
84950 glibcxx_cv_func_frexpf_use=no
84952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84953 ac_ext=c
84954 ac_cpp='$CPP $CPPFLAGS'
84955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84963 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
84964 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
84966 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
84968 for ac_func in frexpf
84970 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84971 echo "$as_me:$LINENO: checking for $ac_func" >&5
84972 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84973 if eval "test \"\${$as_ac_var+set}\" = set"; then
84974 echo $ECHO_N "(cached) $ECHO_C" >&6
84975 else
84976 if test x$gcc_no_link = xyes; then
84977 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84978 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84979 { (exit 1); exit 1; }; }
84981 cat >conftest.$ac_ext <<_ACEOF
84982 /* confdefs.h. */
84983 _ACEOF
84984 cat confdefs.h >>conftest.$ac_ext
84985 cat >>conftest.$ac_ext <<_ACEOF
84986 /* end confdefs.h. */
84987 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84988 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84989 #define $ac_func innocuous_$ac_func
84991 /* System header to define __stub macros and hopefully few prototypes,
84992 which can conflict with char $ac_func (); below.
84993 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84994 <limits.h> exists even on freestanding compilers. */
84996 #ifdef __STDC__
84997 # include <limits.h>
84998 #else
84999 # include <assert.h>
85000 #endif
85002 #undef $ac_func
85004 /* Override any gcc2 internal prototype to avoid an error. */
85005 #ifdef __cplusplus
85006 extern "C"
85008 #endif
85009 /* We use char because int might match the return type of a gcc2
85010 builtin and then its argument prototype would still apply. */
85011 char $ac_func ();
85012 /* The GNU C library defines this for functions which it implements
85013 to always fail with ENOSYS. Some functions are actually named
85014 something starting with __ and the normal name is an alias. */
85015 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85016 choke me
85017 #else
85018 char (*f) () = $ac_func;
85019 #endif
85020 #ifdef __cplusplus
85022 #endif
85025 main ()
85027 return f != $ac_func;
85029 return 0;
85031 _ACEOF
85032 rm -f conftest.$ac_objext conftest$ac_exeext
85033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85034 (eval $ac_link) 2>conftest.er1
85035 ac_status=$?
85036 grep -v '^ *+' conftest.er1 >conftest.err
85037 rm -f conftest.er1
85038 cat conftest.err >&5
85039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85040 (exit $ac_status); } &&
85041 { ac_try='test -z "$ac_c_werror_flag"
85042 || test ! -s conftest.err'
85043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85044 (eval $ac_try) 2>&5
85045 ac_status=$?
85046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85047 (exit $ac_status); }; } &&
85048 { ac_try='test -s conftest$ac_exeext'
85049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85050 (eval $ac_try) 2>&5
85051 ac_status=$?
85052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85053 (exit $ac_status); }; }; then
85054 eval "$as_ac_var=yes"
85055 else
85056 echo "$as_me: failed program was:" >&5
85057 sed 's/^/| /' conftest.$ac_ext >&5
85059 eval "$as_ac_var=no"
85061 rm -f conftest.err conftest.$ac_objext \
85062 conftest$ac_exeext conftest.$ac_ext
85064 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85065 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85066 if test `eval echo '${'$as_ac_var'}'` = yes; then
85067 cat >>confdefs.h <<_ACEOF
85068 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85069 _ACEOF
85072 done
85074 else
85076 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
85077 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
85078 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
85079 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
85080 echo $ECHO_N "(cached) $ECHO_C" >&6
85081 else
85085 ac_ext=cc
85086 ac_cpp='$CXXCPP $CPPFLAGS'
85087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85091 cat >conftest.$ac_ext <<_ACEOF
85092 /* confdefs.h. */
85093 _ACEOF
85094 cat confdefs.h >>conftest.$ac_ext
85095 cat >>conftest.$ac_ext <<_ACEOF
85096 /* end confdefs.h. */
85097 #include <math.h>
85099 main ()
85101 _frexpf(0, 0);
85103 return 0;
85105 _ACEOF
85106 rm -f conftest.$ac_objext
85107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85108 (eval $ac_compile) 2>conftest.er1
85109 ac_status=$?
85110 grep -v '^ *+' conftest.er1 >conftest.err
85111 rm -f conftest.er1
85112 cat conftest.err >&5
85113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85114 (exit $ac_status); } &&
85115 { ac_try='test -z "$ac_cxx_werror_flag"
85116 || test ! -s conftest.err'
85117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85118 (eval $ac_try) 2>&5
85119 ac_status=$?
85120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85121 (exit $ac_status); }; } &&
85122 { ac_try='test -s conftest.$ac_objext'
85123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85124 (eval $ac_try) 2>&5
85125 ac_status=$?
85126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85127 (exit $ac_status); }; }; then
85128 glibcxx_cv_func__frexpf_use=yes
85129 else
85130 echo "$as_me: failed program was:" >&5
85131 sed 's/^/| /' conftest.$ac_ext >&5
85133 glibcxx_cv_func__frexpf_use=no
85135 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85136 ac_ext=c
85137 ac_cpp='$CPP $CPPFLAGS'
85138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85146 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
85147 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
85149 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
85151 for ac_func in _frexpf
85153 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85154 echo "$as_me:$LINENO: checking for $ac_func" >&5
85155 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85156 if eval "test \"\${$as_ac_var+set}\" = set"; then
85157 echo $ECHO_N "(cached) $ECHO_C" >&6
85158 else
85159 if test x$gcc_no_link = xyes; then
85160 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85161 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85162 { (exit 1); exit 1; }; }
85164 cat >conftest.$ac_ext <<_ACEOF
85165 /* confdefs.h. */
85166 _ACEOF
85167 cat confdefs.h >>conftest.$ac_ext
85168 cat >>conftest.$ac_ext <<_ACEOF
85169 /* end confdefs.h. */
85170 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85171 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85172 #define $ac_func innocuous_$ac_func
85174 /* System header to define __stub macros and hopefully few prototypes,
85175 which can conflict with char $ac_func (); below.
85176 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85177 <limits.h> exists even on freestanding compilers. */
85179 #ifdef __STDC__
85180 # include <limits.h>
85181 #else
85182 # include <assert.h>
85183 #endif
85185 #undef $ac_func
85187 /* Override any gcc2 internal prototype to avoid an error. */
85188 #ifdef __cplusplus
85189 extern "C"
85191 #endif
85192 /* We use char because int might match the return type of a gcc2
85193 builtin and then its argument prototype would still apply. */
85194 char $ac_func ();
85195 /* The GNU C library defines this for functions which it implements
85196 to always fail with ENOSYS. Some functions are actually named
85197 something starting with __ and the normal name is an alias. */
85198 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85199 choke me
85200 #else
85201 char (*f) () = $ac_func;
85202 #endif
85203 #ifdef __cplusplus
85205 #endif
85208 main ()
85210 return f != $ac_func;
85212 return 0;
85214 _ACEOF
85215 rm -f conftest.$ac_objext conftest$ac_exeext
85216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85217 (eval $ac_link) 2>conftest.er1
85218 ac_status=$?
85219 grep -v '^ *+' conftest.er1 >conftest.err
85220 rm -f conftest.er1
85221 cat conftest.err >&5
85222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85223 (exit $ac_status); } &&
85224 { ac_try='test -z "$ac_c_werror_flag"
85225 || test ! -s conftest.err'
85226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85227 (eval $ac_try) 2>&5
85228 ac_status=$?
85229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85230 (exit $ac_status); }; } &&
85231 { ac_try='test -s conftest$ac_exeext'
85232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85233 (eval $ac_try) 2>&5
85234 ac_status=$?
85235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85236 (exit $ac_status); }; }; then
85237 eval "$as_ac_var=yes"
85238 else
85239 echo "$as_me: failed program was:" >&5
85240 sed 's/^/| /' conftest.$ac_ext >&5
85242 eval "$as_ac_var=no"
85244 rm -f conftest.err conftest.$ac_objext \
85245 conftest$ac_exeext conftest.$ac_ext
85247 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85248 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85249 if test `eval echo '${'$as_ac_var'}'` = yes; then
85250 cat >>confdefs.h <<_ACEOF
85251 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85252 _ACEOF
85255 done
85265 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
85266 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
85267 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
85268 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
85269 echo $ECHO_N "(cached) $ECHO_C" >&6
85270 else
85274 ac_ext=cc
85275 ac_cpp='$CXXCPP $CPPFLAGS'
85276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85280 cat >conftest.$ac_ext <<_ACEOF
85281 /* confdefs.h. */
85282 _ACEOF
85283 cat confdefs.h >>conftest.$ac_ext
85284 cat >>conftest.$ac_ext <<_ACEOF
85285 /* end confdefs.h. */
85286 #include <math.h>
85288 main ()
85290 hypotf(0, 0);
85292 return 0;
85294 _ACEOF
85295 rm -f conftest.$ac_objext
85296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85297 (eval $ac_compile) 2>conftest.er1
85298 ac_status=$?
85299 grep -v '^ *+' conftest.er1 >conftest.err
85300 rm -f conftest.er1
85301 cat conftest.err >&5
85302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85303 (exit $ac_status); } &&
85304 { ac_try='test -z "$ac_cxx_werror_flag"
85305 || test ! -s conftest.err'
85306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85307 (eval $ac_try) 2>&5
85308 ac_status=$?
85309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85310 (exit $ac_status); }; } &&
85311 { ac_try='test -s conftest.$ac_objext'
85312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85313 (eval $ac_try) 2>&5
85314 ac_status=$?
85315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85316 (exit $ac_status); }; }; then
85317 glibcxx_cv_func_hypotf_use=yes
85318 else
85319 echo "$as_me: failed program was:" >&5
85320 sed 's/^/| /' conftest.$ac_ext >&5
85322 glibcxx_cv_func_hypotf_use=no
85324 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85325 ac_ext=c
85326 ac_cpp='$CPP $CPPFLAGS'
85327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85335 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
85336 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
85338 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
85340 for ac_func in hypotf
85342 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85343 echo "$as_me:$LINENO: checking for $ac_func" >&5
85344 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85345 if eval "test \"\${$as_ac_var+set}\" = set"; then
85346 echo $ECHO_N "(cached) $ECHO_C" >&6
85347 else
85348 if test x$gcc_no_link = xyes; then
85349 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85350 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85351 { (exit 1); exit 1; }; }
85353 cat >conftest.$ac_ext <<_ACEOF
85354 /* confdefs.h. */
85355 _ACEOF
85356 cat confdefs.h >>conftest.$ac_ext
85357 cat >>conftest.$ac_ext <<_ACEOF
85358 /* end confdefs.h. */
85359 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85360 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85361 #define $ac_func innocuous_$ac_func
85363 /* System header to define __stub macros and hopefully few prototypes,
85364 which can conflict with char $ac_func (); below.
85365 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85366 <limits.h> exists even on freestanding compilers. */
85368 #ifdef __STDC__
85369 # include <limits.h>
85370 #else
85371 # include <assert.h>
85372 #endif
85374 #undef $ac_func
85376 /* Override any gcc2 internal prototype to avoid an error. */
85377 #ifdef __cplusplus
85378 extern "C"
85380 #endif
85381 /* We use char because int might match the return type of a gcc2
85382 builtin and then its argument prototype would still apply. */
85383 char $ac_func ();
85384 /* The GNU C library defines this for functions which it implements
85385 to always fail with ENOSYS. Some functions are actually named
85386 something starting with __ and the normal name is an alias. */
85387 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85388 choke me
85389 #else
85390 char (*f) () = $ac_func;
85391 #endif
85392 #ifdef __cplusplus
85394 #endif
85397 main ()
85399 return f != $ac_func;
85401 return 0;
85403 _ACEOF
85404 rm -f conftest.$ac_objext conftest$ac_exeext
85405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85406 (eval $ac_link) 2>conftest.er1
85407 ac_status=$?
85408 grep -v '^ *+' conftest.er1 >conftest.err
85409 rm -f conftest.er1
85410 cat conftest.err >&5
85411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85412 (exit $ac_status); } &&
85413 { ac_try='test -z "$ac_c_werror_flag"
85414 || test ! -s conftest.err'
85415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85416 (eval $ac_try) 2>&5
85417 ac_status=$?
85418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85419 (exit $ac_status); }; } &&
85420 { ac_try='test -s conftest$ac_exeext'
85421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85422 (eval $ac_try) 2>&5
85423 ac_status=$?
85424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85425 (exit $ac_status); }; }; then
85426 eval "$as_ac_var=yes"
85427 else
85428 echo "$as_me: failed program was:" >&5
85429 sed 's/^/| /' conftest.$ac_ext >&5
85431 eval "$as_ac_var=no"
85433 rm -f conftest.err conftest.$ac_objext \
85434 conftest$ac_exeext conftest.$ac_ext
85436 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85437 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85438 if test `eval echo '${'$as_ac_var'}'` = yes; then
85439 cat >>confdefs.h <<_ACEOF
85440 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85441 _ACEOF
85444 done
85446 else
85448 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
85449 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
85450 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
85451 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
85452 echo $ECHO_N "(cached) $ECHO_C" >&6
85453 else
85457 ac_ext=cc
85458 ac_cpp='$CXXCPP $CPPFLAGS'
85459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85463 cat >conftest.$ac_ext <<_ACEOF
85464 /* confdefs.h. */
85465 _ACEOF
85466 cat confdefs.h >>conftest.$ac_ext
85467 cat >>conftest.$ac_ext <<_ACEOF
85468 /* end confdefs.h. */
85469 #include <math.h>
85471 main ()
85473 _hypotf(0, 0);
85475 return 0;
85477 _ACEOF
85478 rm -f conftest.$ac_objext
85479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85480 (eval $ac_compile) 2>conftest.er1
85481 ac_status=$?
85482 grep -v '^ *+' conftest.er1 >conftest.err
85483 rm -f conftest.er1
85484 cat conftest.err >&5
85485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85486 (exit $ac_status); } &&
85487 { ac_try='test -z "$ac_cxx_werror_flag"
85488 || test ! -s conftest.err'
85489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85490 (eval $ac_try) 2>&5
85491 ac_status=$?
85492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85493 (exit $ac_status); }; } &&
85494 { ac_try='test -s conftest.$ac_objext'
85495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85496 (eval $ac_try) 2>&5
85497 ac_status=$?
85498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85499 (exit $ac_status); }; }; then
85500 glibcxx_cv_func__hypotf_use=yes
85501 else
85502 echo "$as_me: failed program was:" >&5
85503 sed 's/^/| /' conftest.$ac_ext >&5
85505 glibcxx_cv_func__hypotf_use=no
85507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85508 ac_ext=c
85509 ac_cpp='$CPP $CPPFLAGS'
85510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85518 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
85519 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
85521 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
85523 for ac_func in _hypotf
85525 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85526 echo "$as_me:$LINENO: checking for $ac_func" >&5
85527 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85528 if eval "test \"\${$as_ac_var+set}\" = set"; then
85529 echo $ECHO_N "(cached) $ECHO_C" >&6
85530 else
85531 if test x$gcc_no_link = xyes; then
85532 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85533 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85534 { (exit 1); exit 1; }; }
85536 cat >conftest.$ac_ext <<_ACEOF
85537 /* confdefs.h. */
85538 _ACEOF
85539 cat confdefs.h >>conftest.$ac_ext
85540 cat >>conftest.$ac_ext <<_ACEOF
85541 /* end confdefs.h. */
85542 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85543 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85544 #define $ac_func innocuous_$ac_func
85546 /* System header to define __stub macros and hopefully few prototypes,
85547 which can conflict with char $ac_func (); below.
85548 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85549 <limits.h> exists even on freestanding compilers. */
85551 #ifdef __STDC__
85552 # include <limits.h>
85553 #else
85554 # include <assert.h>
85555 #endif
85557 #undef $ac_func
85559 /* Override any gcc2 internal prototype to avoid an error. */
85560 #ifdef __cplusplus
85561 extern "C"
85563 #endif
85564 /* We use char because int might match the return type of a gcc2
85565 builtin and then its argument prototype would still apply. */
85566 char $ac_func ();
85567 /* The GNU C library defines this for functions which it implements
85568 to always fail with ENOSYS. Some functions are actually named
85569 something starting with __ and the normal name is an alias. */
85570 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85571 choke me
85572 #else
85573 char (*f) () = $ac_func;
85574 #endif
85575 #ifdef __cplusplus
85577 #endif
85580 main ()
85582 return f != $ac_func;
85584 return 0;
85586 _ACEOF
85587 rm -f conftest.$ac_objext conftest$ac_exeext
85588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85589 (eval $ac_link) 2>conftest.er1
85590 ac_status=$?
85591 grep -v '^ *+' conftest.er1 >conftest.err
85592 rm -f conftest.er1
85593 cat conftest.err >&5
85594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85595 (exit $ac_status); } &&
85596 { ac_try='test -z "$ac_c_werror_flag"
85597 || test ! -s conftest.err'
85598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85599 (eval $ac_try) 2>&5
85600 ac_status=$?
85601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85602 (exit $ac_status); }; } &&
85603 { ac_try='test -s conftest$ac_exeext'
85604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85605 (eval $ac_try) 2>&5
85606 ac_status=$?
85607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85608 (exit $ac_status); }; }; then
85609 eval "$as_ac_var=yes"
85610 else
85611 echo "$as_me: failed program was:" >&5
85612 sed 's/^/| /' conftest.$ac_ext >&5
85614 eval "$as_ac_var=no"
85616 rm -f conftest.err conftest.$ac_objext \
85617 conftest$ac_exeext conftest.$ac_ext
85619 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85620 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85621 if test `eval echo '${'$as_ac_var'}'` = yes; then
85622 cat >>confdefs.h <<_ACEOF
85623 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85624 _ACEOF
85627 done
85637 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
85638 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
85639 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
85640 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
85641 echo $ECHO_N "(cached) $ECHO_C" >&6
85642 else
85646 ac_ext=cc
85647 ac_cpp='$CXXCPP $CPPFLAGS'
85648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85652 cat >conftest.$ac_ext <<_ACEOF
85653 /* confdefs.h. */
85654 _ACEOF
85655 cat confdefs.h >>conftest.$ac_ext
85656 cat >>conftest.$ac_ext <<_ACEOF
85657 /* end confdefs.h. */
85658 #include <math.h>
85660 main ()
85662 ldexpf(0, 0);
85664 return 0;
85666 _ACEOF
85667 rm -f conftest.$ac_objext
85668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85669 (eval $ac_compile) 2>conftest.er1
85670 ac_status=$?
85671 grep -v '^ *+' conftest.er1 >conftest.err
85672 rm -f conftest.er1
85673 cat conftest.err >&5
85674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85675 (exit $ac_status); } &&
85676 { ac_try='test -z "$ac_cxx_werror_flag"
85677 || test ! -s conftest.err'
85678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85679 (eval $ac_try) 2>&5
85680 ac_status=$?
85681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85682 (exit $ac_status); }; } &&
85683 { ac_try='test -s conftest.$ac_objext'
85684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85685 (eval $ac_try) 2>&5
85686 ac_status=$?
85687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85688 (exit $ac_status); }; }; then
85689 glibcxx_cv_func_ldexpf_use=yes
85690 else
85691 echo "$as_me: failed program was:" >&5
85692 sed 's/^/| /' conftest.$ac_ext >&5
85694 glibcxx_cv_func_ldexpf_use=no
85696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85697 ac_ext=c
85698 ac_cpp='$CPP $CPPFLAGS'
85699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85707 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
85708 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
85710 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
85712 for ac_func in ldexpf
85714 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85715 echo "$as_me:$LINENO: checking for $ac_func" >&5
85716 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85717 if eval "test \"\${$as_ac_var+set}\" = set"; then
85718 echo $ECHO_N "(cached) $ECHO_C" >&6
85719 else
85720 if test x$gcc_no_link = xyes; then
85721 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85722 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85723 { (exit 1); exit 1; }; }
85725 cat >conftest.$ac_ext <<_ACEOF
85726 /* confdefs.h. */
85727 _ACEOF
85728 cat confdefs.h >>conftest.$ac_ext
85729 cat >>conftest.$ac_ext <<_ACEOF
85730 /* end confdefs.h. */
85731 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85732 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85733 #define $ac_func innocuous_$ac_func
85735 /* System header to define __stub macros and hopefully few prototypes,
85736 which can conflict with char $ac_func (); below.
85737 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85738 <limits.h> exists even on freestanding compilers. */
85740 #ifdef __STDC__
85741 # include <limits.h>
85742 #else
85743 # include <assert.h>
85744 #endif
85746 #undef $ac_func
85748 /* Override any gcc2 internal prototype to avoid an error. */
85749 #ifdef __cplusplus
85750 extern "C"
85752 #endif
85753 /* We use char because int might match the return type of a gcc2
85754 builtin and then its argument prototype would still apply. */
85755 char $ac_func ();
85756 /* The GNU C library defines this for functions which it implements
85757 to always fail with ENOSYS. Some functions are actually named
85758 something starting with __ and the normal name is an alias. */
85759 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85760 choke me
85761 #else
85762 char (*f) () = $ac_func;
85763 #endif
85764 #ifdef __cplusplus
85766 #endif
85769 main ()
85771 return f != $ac_func;
85773 return 0;
85775 _ACEOF
85776 rm -f conftest.$ac_objext conftest$ac_exeext
85777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85778 (eval $ac_link) 2>conftest.er1
85779 ac_status=$?
85780 grep -v '^ *+' conftest.er1 >conftest.err
85781 rm -f conftest.er1
85782 cat conftest.err >&5
85783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85784 (exit $ac_status); } &&
85785 { ac_try='test -z "$ac_c_werror_flag"
85786 || test ! -s conftest.err'
85787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85788 (eval $ac_try) 2>&5
85789 ac_status=$?
85790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85791 (exit $ac_status); }; } &&
85792 { ac_try='test -s conftest$ac_exeext'
85793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85794 (eval $ac_try) 2>&5
85795 ac_status=$?
85796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85797 (exit $ac_status); }; }; then
85798 eval "$as_ac_var=yes"
85799 else
85800 echo "$as_me: failed program was:" >&5
85801 sed 's/^/| /' conftest.$ac_ext >&5
85803 eval "$as_ac_var=no"
85805 rm -f conftest.err conftest.$ac_objext \
85806 conftest$ac_exeext conftest.$ac_ext
85808 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85809 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85810 if test `eval echo '${'$as_ac_var'}'` = yes; then
85811 cat >>confdefs.h <<_ACEOF
85812 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85813 _ACEOF
85816 done
85818 else
85820 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
85821 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
85822 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
85823 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
85824 echo $ECHO_N "(cached) $ECHO_C" >&6
85825 else
85829 ac_ext=cc
85830 ac_cpp='$CXXCPP $CPPFLAGS'
85831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85835 cat >conftest.$ac_ext <<_ACEOF
85836 /* confdefs.h. */
85837 _ACEOF
85838 cat confdefs.h >>conftest.$ac_ext
85839 cat >>conftest.$ac_ext <<_ACEOF
85840 /* end confdefs.h. */
85841 #include <math.h>
85843 main ()
85845 _ldexpf(0, 0);
85847 return 0;
85849 _ACEOF
85850 rm -f conftest.$ac_objext
85851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85852 (eval $ac_compile) 2>conftest.er1
85853 ac_status=$?
85854 grep -v '^ *+' conftest.er1 >conftest.err
85855 rm -f conftest.er1
85856 cat conftest.err >&5
85857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85858 (exit $ac_status); } &&
85859 { ac_try='test -z "$ac_cxx_werror_flag"
85860 || test ! -s conftest.err'
85861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85862 (eval $ac_try) 2>&5
85863 ac_status=$?
85864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85865 (exit $ac_status); }; } &&
85866 { ac_try='test -s conftest.$ac_objext'
85867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85868 (eval $ac_try) 2>&5
85869 ac_status=$?
85870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85871 (exit $ac_status); }; }; then
85872 glibcxx_cv_func__ldexpf_use=yes
85873 else
85874 echo "$as_me: failed program was:" >&5
85875 sed 's/^/| /' conftest.$ac_ext >&5
85877 glibcxx_cv_func__ldexpf_use=no
85879 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85880 ac_ext=c
85881 ac_cpp='$CPP $CPPFLAGS'
85882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85890 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
85891 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
85893 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
85895 for ac_func in _ldexpf
85897 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85898 echo "$as_me:$LINENO: checking for $ac_func" >&5
85899 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85900 if eval "test \"\${$as_ac_var+set}\" = set"; then
85901 echo $ECHO_N "(cached) $ECHO_C" >&6
85902 else
85903 if test x$gcc_no_link = xyes; then
85904 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85905 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85906 { (exit 1); exit 1; }; }
85908 cat >conftest.$ac_ext <<_ACEOF
85909 /* confdefs.h. */
85910 _ACEOF
85911 cat confdefs.h >>conftest.$ac_ext
85912 cat >>conftest.$ac_ext <<_ACEOF
85913 /* end confdefs.h. */
85914 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85915 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85916 #define $ac_func innocuous_$ac_func
85918 /* System header to define __stub macros and hopefully few prototypes,
85919 which can conflict with char $ac_func (); below.
85920 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85921 <limits.h> exists even on freestanding compilers. */
85923 #ifdef __STDC__
85924 # include <limits.h>
85925 #else
85926 # include <assert.h>
85927 #endif
85929 #undef $ac_func
85931 /* Override any gcc2 internal prototype to avoid an error. */
85932 #ifdef __cplusplus
85933 extern "C"
85935 #endif
85936 /* We use char because int might match the return type of a gcc2
85937 builtin and then its argument prototype would still apply. */
85938 char $ac_func ();
85939 /* The GNU C library defines this for functions which it implements
85940 to always fail with ENOSYS. Some functions are actually named
85941 something starting with __ and the normal name is an alias. */
85942 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85943 choke me
85944 #else
85945 char (*f) () = $ac_func;
85946 #endif
85947 #ifdef __cplusplus
85949 #endif
85952 main ()
85954 return f != $ac_func;
85956 return 0;
85958 _ACEOF
85959 rm -f conftest.$ac_objext conftest$ac_exeext
85960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85961 (eval $ac_link) 2>conftest.er1
85962 ac_status=$?
85963 grep -v '^ *+' conftest.er1 >conftest.err
85964 rm -f conftest.er1
85965 cat conftest.err >&5
85966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85967 (exit $ac_status); } &&
85968 { ac_try='test -z "$ac_c_werror_flag"
85969 || test ! -s conftest.err'
85970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85971 (eval $ac_try) 2>&5
85972 ac_status=$?
85973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85974 (exit $ac_status); }; } &&
85975 { ac_try='test -s conftest$ac_exeext'
85976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85977 (eval $ac_try) 2>&5
85978 ac_status=$?
85979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85980 (exit $ac_status); }; }; then
85981 eval "$as_ac_var=yes"
85982 else
85983 echo "$as_me: failed program was:" >&5
85984 sed 's/^/| /' conftest.$ac_ext >&5
85986 eval "$as_ac_var=no"
85988 rm -f conftest.err conftest.$ac_objext \
85989 conftest$ac_exeext conftest.$ac_ext
85991 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85992 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85993 if test `eval echo '${'$as_ac_var'}'` = yes; then
85994 cat >>confdefs.h <<_ACEOF
85995 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85996 _ACEOF
85999 done
86009 echo "$as_me:$LINENO: checking for logf declaration" >&5
86010 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
86011 if test x${glibcxx_cv_func_logf_use+set} != xset; then
86012 if test "${glibcxx_cv_func_logf_use+set}" = set; then
86013 echo $ECHO_N "(cached) $ECHO_C" >&6
86014 else
86018 ac_ext=cc
86019 ac_cpp='$CXXCPP $CPPFLAGS'
86020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86024 cat >conftest.$ac_ext <<_ACEOF
86025 /* confdefs.h. */
86026 _ACEOF
86027 cat confdefs.h >>conftest.$ac_ext
86028 cat >>conftest.$ac_ext <<_ACEOF
86029 /* end confdefs.h. */
86030 #include <math.h>
86031 #ifdef HAVE_IEEEFP_H
86032 #include <ieeefp.h>
86033 #endif
86036 main ()
86038 logf(0);
86040 return 0;
86042 _ACEOF
86043 rm -f conftest.$ac_objext
86044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86045 (eval $ac_compile) 2>conftest.er1
86046 ac_status=$?
86047 grep -v '^ *+' conftest.er1 >conftest.err
86048 rm -f conftest.er1
86049 cat conftest.err >&5
86050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86051 (exit $ac_status); } &&
86052 { ac_try='test -z "$ac_cxx_werror_flag"
86053 || test ! -s conftest.err'
86054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86055 (eval $ac_try) 2>&5
86056 ac_status=$?
86057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86058 (exit $ac_status); }; } &&
86059 { ac_try='test -s conftest.$ac_objext'
86060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86061 (eval $ac_try) 2>&5
86062 ac_status=$?
86063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86064 (exit $ac_status); }; }; then
86065 glibcxx_cv_func_logf_use=yes
86066 else
86067 echo "$as_me: failed program was:" >&5
86068 sed 's/^/| /' conftest.$ac_ext >&5
86070 glibcxx_cv_func_logf_use=no
86072 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86073 ac_ext=c
86074 ac_cpp='$CPP $CPPFLAGS'
86075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86083 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
86084 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
86086 if test x$glibcxx_cv_func_logf_use = x"yes"; then
86088 for ac_func in logf
86090 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86091 echo "$as_me:$LINENO: checking for $ac_func" >&5
86092 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86093 if eval "test \"\${$as_ac_var+set}\" = set"; then
86094 echo $ECHO_N "(cached) $ECHO_C" >&6
86095 else
86096 if test x$gcc_no_link = xyes; then
86097 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86098 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86099 { (exit 1); exit 1; }; }
86101 cat >conftest.$ac_ext <<_ACEOF
86102 /* confdefs.h. */
86103 _ACEOF
86104 cat confdefs.h >>conftest.$ac_ext
86105 cat >>conftest.$ac_ext <<_ACEOF
86106 /* end confdefs.h. */
86107 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86108 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86109 #define $ac_func innocuous_$ac_func
86111 /* System header to define __stub macros and hopefully few prototypes,
86112 which can conflict with char $ac_func (); below.
86113 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86114 <limits.h> exists even on freestanding compilers. */
86116 #ifdef __STDC__
86117 # include <limits.h>
86118 #else
86119 # include <assert.h>
86120 #endif
86122 #undef $ac_func
86124 /* Override any gcc2 internal prototype to avoid an error. */
86125 #ifdef __cplusplus
86126 extern "C"
86128 #endif
86129 /* We use char because int might match the return type of a gcc2
86130 builtin and then its argument prototype would still apply. */
86131 char $ac_func ();
86132 /* The GNU C library defines this for functions which it implements
86133 to always fail with ENOSYS. Some functions are actually named
86134 something starting with __ and the normal name is an alias. */
86135 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86136 choke me
86137 #else
86138 char (*f) () = $ac_func;
86139 #endif
86140 #ifdef __cplusplus
86142 #endif
86145 main ()
86147 return f != $ac_func;
86149 return 0;
86151 _ACEOF
86152 rm -f conftest.$ac_objext conftest$ac_exeext
86153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86154 (eval $ac_link) 2>conftest.er1
86155 ac_status=$?
86156 grep -v '^ *+' conftest.er1 >conftest.err
86157 rm -f conftest.er1
86158 cat conftest.err >&5
86159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86160 (exit $ac_status); } &&
86161 { ac_try='test -z "$ac_c_werror_flag"
86162 || test ! -s conftest.err'
86163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86164 (eval $ac_try) 2>&5
86165 ac_status=$?
86166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86167 (exit $ac_status); }; } &&
86168 { ac_try='test -s conftest$ac_exeext'
86169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86170 (eval $ac_try) 2>&5
86171 ac_status=$?
86172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86173 (exit $ac_status); }; }; then
86174 eval "$as_ac_var=yes"
86175 else
86176 echo "$as_me: failed program was:" >&5
86177 sed 's/^/| /' conftest.$ac_ext >&5
86179 eval "$as_ac_var=no"
86181 rm -f conftest.err conftest.$ac_objext \
86182 conftest$ac_exeext conftest.$ac_ext
86184 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86185 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86186 if test `eval echo '${'$as_ac_var'}'` = yes; then
86187 cat >>confdefs.h <<_ACEOF
86188 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86189 _ACEOF
86192 done
86194 else
86196 echo "$as_me:$LINENO: checking for _logf declaration" >&5
86197 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
86198 if test x${glibcxx_cv_func__logf_use+set} != xset; then
86199 if test "${glibcxx_cv_func__logf_use+set}" = set; then
86200 echo $ECHO_N "(cached) $ECHO_C" >&6
86201 else
86205 ac_ext=cc
86206 ac_cpp='$CXXCPP $CPPFLAGS'
86207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86211 cat >conftest.$ac_ext <<_ACEOF
86212 /* confdefs.h. */
86213 _ACEOF
86214 cat confdefs.h >>conftest.$ac_ext
86215 cat >>conftest.$ac_ext <<_ACEOF
86216 /* end confdefs.h. */
86217 #include <math.h>
86218 #ifdef HAVE_IEEEFP_H
86219 #include <ieeefp.h>
86220 #endif
86223 main ()
86225 _logf(0);
86227 return 0;
86229 _ACEOF
86230 rm -f conftest.$ac_objext
86231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86232 (eval $ac_compile) 2>conftest.er1
86233 ac_status=$?
86234 grep -v '^ *+' conftest.er1 >conftest.err
86235 rm -f conftest.er1
86236 cat conftest.err >&5
86237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86238 (exit $ac_status); } &&
86239 { ac_try='test -z "$ac_cxx_werror_flag"
86240 || test ! -s conftest.err'
86241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86242 (eval $ac_try) 2>&5
86243 ac_status=$?
86244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86245 (exit $ac_status); }; } &&
86246 { ac_try='test -s conftest.$ac_objext'
86247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86248 (eval $ac_try) 2>&5
86249 ac_status=$?
86250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86251 (exit $ac_status); }; }; then
86252 glibcxx_cv_func__logf_use=yes
86253 else
86254 echo "$as_me: failed program was:" >&5
86255 sed 's/^/| /' conftest.$ac_ext >&5
86257 glibcxx_cv_func__logf_use=no
86259 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86260 ac_ext=c
86261 ac_cpp='$CPP $CPPFLAGS'
86262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86270 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
86271 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
86273 if test x$glibcxx_cv_func__logf_use = x"yes"; then
86275 for ac_func in _logf
86277 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86278 echo "$as_me:$LINENO: checking for $ac_func" >&5
86279 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86280 if eval "test \"\${$as_ac_var+set}\" = set"; then
86281 echo $ECHO_N "(cached) $ECHO_C" >&6
86282 else
86283 if test x$gcc_no_link = xyes; then
86284 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86285 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86286 { (exit 1); exit 1; }; }
86288 cat >conftest.$ac_ext <<_ACEOF
86289 /* confdefs.h. */
86290 _ACEOF
86291 cat confdefs.h >>conftest.$ac_ext
86292 cat >>conftest.$ac_ext <<_ACEOF
86293 /* end confdefs.h. */
86294 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86295 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86296 #define $ac_func innocuous_$ac_func
86298 /* System header to define __stub macros and hopefully few prototypes,
86299 which can conflict with char $ac_func (); below.
86300 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86301 <limits.h> exists even on freestanding compilers. */
86303 #ifdef __STDC__
86304 # include <limits.h>
86305 #else
86306 # include <assert.h>
86307 #endif
86309 #undef $ac_func
86311 /* Override any gcc2 internal prototype to avoid an error. */
86312 #ifdef __cplusplus
86313 extern "C"
86315 #endif
86316 /* We use char because int might match the return type of a gcc2
86317 builtin and then its argument prototype would still apply. */
86318 char $ac_func ();
86319 /* The GNU C library defines this for functions which it implements
86320 to always fail with ENOSYS. Some functions are actually named
86321 something starting with __ and the normal name is an alias. */
86322 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86323 choke me
86324 #else
86325 char (*f) () = $ac_func;
86326 #endif
86327 #ifdef __cplusplus
86329 #endif
86332 main ()
86334 return f != $ac_func;
86336 return 0;
86338 _ACEOF
86339 rm -f conftest.$ac_objext conftest$ac_exeext
86340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86341 (eval $ac_link) 2>conftest.er1
86342 ac_status=$?
86343 grep -v '^ *+' conftest.er1 >conftest.err
86344 rm -f conftest.er1
86345 cat conftest.err >&5
86346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86347 (exit $ac_status); } &&
86348 { ac_try='test -z "$ac_c_werror_flag"
86349 || test ! -s conftest.err'
86350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86351 (eval $ac_try) 2>&5
86352 ac_status=$?
86353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86354 (exit $ac_status); }; } &&
86355 { ac_try='test -s conftest$ac_exeext'
86356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86357 (eval $ac_try) 2>&5
86358 ac_status=$?
86359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86360 (exit $ac_status); }; }; then
86361 eval "$as_ac_var=yes"
86362 else
86363 echo "$as_me: failed program was:" >&5
86364 sed 's/^/| /' conftest.$ac_ext >&5
86366 eval "$as_ac_var=no"
86368 rm -f conftest.err conftest.$ac_objext \
86369 conftest$ac_exeext conftest.$ac_ext
86371 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86372 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86373 if test `eval echo '${'$as_ac_var'}'` = yes; then
86374 cat >>confdefs.h <<_ACEOF
86375 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86376 _ACEOF
86379 done
86389 echo "$as_me:$LINENO: checking for log10f declaration" >&5
86390 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
86391 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
86392 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
86393 echo $ECHO_N "(cached) $ECHO_C" >&6
86394 else
86398 ac_ext=cc
86399 ac_cpp='$CXXCPP $CPPFLAGS'
86400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86404 cat >conftest.$ac_ext <<_ACEOF
86405 /* confdefs.h. */
86406 _ACEOF
86407 cat confdefs.h >>conftest.$ac_ext
86408 cat >>conftest.$ac_ext <<_ACEOF
86409 /* end confdefs.h. */
86410 #include <math.h>
86411 #ifdef HAVE_IEEEFP_H
86412 #include <ieeefp.h>
86413 #endif
86416 main ()
86418 log10f(0);
86420 return 0;
86422 _ACEOF
86423 rm -f conftest.$ac_objext
86424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86425 (eval $ac_compile) 2>conftest.er1
86426 ac_status=$?
86427 grep -v '^ *+' conftest.er1 >conftest.err
86428 rm -f conftest.er1
86429 cat conftest.err >&5
86430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86431 (exit $ac_status); } &&
86432 { ac_try='test -z "$ac_cxx_werror_flag"
86433 || test ! -s conftest.err'
86434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86435 (eval $ac_try) 2>&5
86436 ac_status=$?
86437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86438 (exit $ac_status); }; } &&
86439 { ac_try='test -s conftest.$ac_objext'
86440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86441 (eval $ac_try) 2>&5
86442 ac_status=$?
86443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86444 (exit $ac_status); }; }; then
86445 glibcxx_cv_func_log10f_use=yes
86446 else
86447 echo "$as_me: failed program was:" >&5
86448 sed 's/^/| /' conftest.$ac_ext >&5
86450 glibcxx_cv_func_log10f_use=no
86452 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86453 ac_ext=c
86454 ac_cpp='$CPP $CPPFLAGS'
86455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86463 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
86464 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
86466 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
86468 for ac_func in log10f
86470 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86471 echo "$as_me:$LINENO: checking for $ac_func" >&5
86472 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86473 if eval "test \"\${$as_ac_var+set}\" = set"; then
86474 echo $ECHO_N "(cached) $ECHO_C" >&6
86475 else
86476 if test x$gcc_no_link = xyes; then
86477 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86478 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86479 { (exit 1); exit 1; }; }
86481 cat >conftest.$ac_ext <<_ACEOF
86482 /* confdefs.h. */
86483 _ACEOF
86484 cat confdefs.h >>conftest.$ac_ext
86485 cat >>conftest.$ac_ext <<_ACEOF
86486 /* end confdefs.h. */
86487 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86488 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86489 #define $ac_func innocuous_$ac_func
86491 /* System header to define __stub macros and hopefully few prototypes,
86492 which can conflict with char $ac_func (); below.
86493 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86494 <limits.h> exists even on freestanding compilers. */
86496 #ifdef __STDC__
86497 # include <limits.h>
86498 #else
86499 # include <assert.h>
86500 #endif
86502 #undef $ac_func
86504 /* Override any gcc2 internal prototype to avoid an error. */
86505 #ifdef __cplusplus
86506 extern "C"
86508 #endif
86509 /* We use char because int might match the return type of a gcc2
86510 builtin and then its argument prototype would still apply. */
86511 char $ac_func ();
86512 /* The GNU C library defines this for functions which it implements
86513 to always fail with ENOSYS. Some functions are actually named
86514 something starting with __ and the normal name is an alias. */
86515 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86516 choke me
86517 #else
86518 char (*f) () = $ac_func;
86519 #endif
86520 #ifdef __cplusplus
86522 #endif
86525 main ()
86527 return f != $ac_func;
86529 return 0;
86531 _ACEOF
86532 rm -f conftest.$ac_objext conftest$ac_exeext
86533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86534 (eval $ac_link) 2>conftest.er1
86535 ac_status=$?
86536 grep -v '^ *+' conftest.er1 >conftest.err
86537 rm -f conftest.er1
86538 cat conftest.err >&5
86539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86540 (exit $ac_status); } &&
86541 { ac_try='test -z "$ac_c_werror_flag"
86542 || test ! -s conftest.err'
86543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86544 (eval $ac_try) 2>&5
86545 ac_status=$?
86546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86547 (exit $ac_status); }; } &&
86548 { ac_try='test -s conftest$ac_exeext'
86549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86550 (eval $ac_try) 2>&5
86551 ac_status=$?
86552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86553 (exit $ac_status); }; }; then
86554 eval "$as_ac_var=yes"
86555 else
86556 echo "$as_me: failed program was:" >&5
86557 sed 's/^/| /' conftest.$ac_ext >&5
86559 eval "$as_ac_var=no"
86561 rm -f conftest.err conftest.$ac_objext \
86562 conftest$ac_exeext conftest.$ac_ext
86564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86565 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86566 if test `eval echo '${'$as_ac_var'}'` = yes; then
86567 cat >>confdefs.h <<_ACEOF
86568 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86569 _ACEOF
86572 done
86574 else
86576 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
86577 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
86578 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
86579 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
86580 echo $ECHO_N "(cached) $ECHO_C" >&6
86581 else
86585 ac_ext=cc
86586 ac_cpp='$CXXCPP $CPPFLAGS'
86587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86591 cat >conftest.$ac_ext <<_ACEOF
86592 /* confdefs.h. */
86593 _ACEOF
86594 cat confdefs.h >>conftest.$ac_ext
86595 cat >>conftest.$ac_ext <<_ACEOF
86596 /* end confdefs.h. */
86597 #include <math.h>
86598 #ifdef HAVE_IEEEFP_H
86599 #include <ieeefp.h>
86600 #endif
86603 main ()
86605 _log10f(0);
86607 return 0;
86609 _ACEOF
86610 rm -f conftest.$ac_objext
86611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86612 (eval $ac_compile) 2>conftest.er1
86613 ac_status=$?
86614 grep -v '^ *+' conftest.er1 >conftest.err
86615 rm -f conftest.er1
86616 cat conftest.err >&5
86617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86618 (exit $ac_status); } &&
86619 { ac_try='test -z "$ac_cxx_werror_flag"
86620 || test ! -s conftest.err'
86621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86622 (eval $ac_try) 2>&5
86623 ac_status=$?
86624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86625 (exit $ac_status); }; } &&
86626 { ac_try='test -s conftest.$ac_objext'
86627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86628 (eval $ac_try) 2>&5
86629 ac_status=$?
86630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86631 (exit $ac_status); }; }; then
86632 glibcxx_cv_func__log10f_use=yes
86633 else
86634 echo "$as_me: failed program was:" >&5
86635 sed 's/^/| /' conftest.$ac_ext >&5
86637 glibcxx_cv_func__log10f_use=no
86639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86640 ac_ext=c
86641 ac_cpp='$CPP $CPPFLAGS'
86642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86650 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
86651 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
86653 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
86655 for ac_func in _log10f
86657 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86658 echo "$as_me:$LINENO: checking for $ac_func" >&5
86659 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86660 if eval "test \"\${$as_ac_var+set}\" = set"; then
86661 echo $ECHO_N "(cached) $ECHO_C" >&6
86662 else
86663 if test x$gcc_no_link = xyes; then
86664 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86665 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86666 { (exit 1); exit 1; }; }
86668 cat >conftest.$ac_ext <<_ACEOF
86669 /* confdefs.h. */
86670 _ACEOF
86671 cat confdefs.h >>conftest.$ac_ext
86672 cat >>conftest.$ac_ext <<_ACEOF
86673 /* end confdefs.h. */
86674 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86675 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86676 #define $ac_func innocuous_$ac_func
86678 /* System header to define __stub macros and hopefully few prototypes,
86679 which can conflict with char $ac_func (); below.
86680 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86681 <limits.h> exists even on freestanding compilers. */
86683 #ifdef __STDC__
86684 # include <limits.h>
86685 #else
86686 # include <assert.h>
86687 #endif
86689 #undef $ac_func
86691 /* Override any gcc2 internal prototype to avoid an error. */
86692 #ifdef __cplusplus
86693 extern "C"
86695 #endif
86696 /* We use char because int might match the return type of a gcc2
86697 builtin and then its argument prototype would still apply. */
86698 char $ac_func ();
86699 /* The GNU C library defines this for functions which it implements
86700 to always fail with ENOSYS. Some functions are actually named
86701 something starting with __ and the normal name is an alias. */
86702 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86703 choke me
86704 #else
86705 char (*f) () = $ac_func;
86706 #endif
86707 #ifdef __cplusplus
86709 #endif
86712 main ()
86714 return f != $ac_func;
86716 return 0;
86718 _ACEOF
86719 rm -f conftest.$ac_objext conftest$ac_exeext
86720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86721 (eval $ac_link) 2>conftest.er1
86722 ac_status=$?
86723 grep -v '^ *+' conftest.er1 >conftest.err
86724 rm -f conftest.er1
86725 cat conftest.err >&5
86726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86727 (exit $ac_status); } &&
86728 { ac_try='test -z "$ac_c_werror_flag"
86729 || test ! -s conftest.err'
86730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86731 (eval $ac_try) 2>&5
86732 ac_status=$?
86733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86734 (exit $ac_status); }; } &&
86735 { ac_try='test -s conftest$ac_exeext'
86736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86737 (eval $ac_try) 2>&5
86738 ac_status=$?
86739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86740 (exit $ac_status); }; }; then
86741 eval "$as_ac_var=yes"
86742 else
86743 echo "$as_me: failed program was:" >&5
86744 sed 's/^/| /' conftest.$ac_ext >&5
86746 eval "$as_ac_var=no"
86748 rm -f conftest.err conftest.$ac_objext \
86749 conftest$ac_exeext conftest.$ac_ext
86751 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86752 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86753 if test `eval echo '${'$as_ac_var'}'` = yes; then
86754 cat >>confdefs.h <<_ACEOF
86755 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86756 _ACEOF
86759 done
86769 echo "$as_me:$LINENO: checking for modff declaration" >&5
86770 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
86771 if test x${glibcxx_cv_func_modff_use+set} != xset; then
86772 if test "${glibcxx_cv_func_modff_use+set}" = set; then
86773 echo $ECHO_N "(cached) $ECHO_C" >&6
86774 else
86778 ac_ext=cc
86779 ac_cpp='$CXXCPP $CPPFLAGS'
86780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86784 cat >conftest.$ac_ext <<_ACEOF
86785 /* confdefs.h. */
86786 _ACEOF
86787 cat confdefs.h >>conftest.$ac_ext
86788 cat >>conftest.$ac_ext <<_ACEOF
86789 /* end confdefs.h. */
86790 #include <math.h>
86792 main ()
86794 modff(0, 0);
86796 return 0;
86798 _ACEOF
86799 rm -f conftest.$ac_objext
86800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86801 (eval $ac_compile) 2>conftest.er1
86802 ac_status=$?
86803 grep -v '^ *+' conftest.er1 >conftest.err
86804 rm -f conftest.er1
86805 cat conftest.err >&5
86806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86807 (exit $ac_status); } &&
86808 { ac_try='test -z "$ac_cxx_werror_flag"
86809 || test ! -s conftest.err'
86810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86811 (eval $ac_try) 2>&5
86812 ac_status=$?
86813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86814 (exit $ac_status); }; } &&
86815 { ac_try='test -s conftest.$ac_objext'
86816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86817 (eval $ac_try) 2>&5
86818 ac_status=$?
86819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86820 (exit $ac_status); }; }; then
86821 glibcxx_cv_func_modff_use=yes
86822 else
86823 echo "$as_me: failed program was:" >&5
86824 sed 's/^/| /' conftest.$ac_ext >&5
86826 glibcxx_cv_func_modff_use=no
86828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86829 ac_ext=c
86830 ac_cpp='$CPP $CPPFLAGS'
86831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86839 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
86840 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
86842 if test x$glibcxx_cv_func_modff_use = x"yes"; then
86844 for ac_func in modff
86846 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86847 echo "$as_me:$LINENO: checking for $ac_func" >&5
86848 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86849 if eval "test \"\${$as_ac_var+set}\" = set"; then
86850 echo $ECHO_N "(cached) $ECHO_C" >&6
86851 else
86852 if test x$gcc_no_link = xyes; then
86853 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86854 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86855 { (exit 1); exit 1; }; }
86857 cat >conftest.$ac_ext <<_ACEOF
86858 /* confdefs.h. */
86859 _ACEOF
86860 cat confdefs.h >>conftest.$ac_ext
86861 cat >>conftest.$ac_ext <<_ACEOF
86862 /* end confdefs.h. */
86863 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86864 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86865 #define $ac_func innocuous_$ac_func
86867 /* System header to define __stub macros and hopefully few prototypes,
86868 which can conflict with char $ac_func (); below.
86869 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86870 <limits.h> exists even on freestanding compilers. */
86872 #ifdef __STDC__
86873 # include <limits.h>
86874 #else
86875 # include <assert.h>
86876 #endif
86878 #undef $ac_func
86880 /* Override any gcc2 internal prototype to avoid an error. */
86881 #ifdef __cplusplus
86882 extern "C"
86884 #endif
86885 /* We use char because int might match the return type of a gcc2
86886 builtin and then its argument prototype would still apply. */
86887 char $ac_func ();
86888 /* The GNU C library defines this for functions which it implements
86889 to always fail with ENOSYS. Some functions are actually named
86890 something starting with __ and the normal name is an alias. */
86891 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86892 choke me
86893 #else
86894 char (*f) () = $ac_func;
86895 #endif
86896 #ifdef __cplusplus
86898 #endif
86901 main ()
86903 return f != $ac_func;
86905 return 0;
86907 _ACEOF
86908 rm -f conftest.$ac_objext conftest$ac_exeext
86909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86910 (eval $ac_link) 2>conftest.er1
86911 ac_status=$?
86912 grep -v '^ *+' conftest.er1 >conftest.err
86913 rm -f conftest.er1
86914 cat conftest.err >&5
86915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86916 (exit $ac_status); } &&
86917 { ac_try='test -z "$ac_c_werror_flag"
86918 || test ! -s conftest.err'
86919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86920 (eval $ac_try) 2>&5
86921 ac_status=$?
86922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86923 (exit $ac_status); }; } &&
86924 { ac_try='test -s conftest$ac_exeext'
86925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86926 (eval $ac_try) 2>&5
86927 ac_status=$?
86928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86929 (exit $ac_status); }; }; then
86930 eval "$as_ac_var=yes"
86931 else
86932 echo "$as_me: failed program was:" >&5
86933 sed 's/^/| /' conftest.$ac_ext >&5
86935 eval "$as_ac_var=no"
86937 rm -f conftest.err conftest.$ac_objext \
86938 conftest$ac_exeext conftest.$ac_ext
86940 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86941 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86942 if test `eval echo '${'$as_ac_var'}'` = yes; then
86943 cat >>confdefs.h <<_ACEOF
86944 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86945 _ACEOF
86948 done
86950 else
86952 echo "$as_me:$LINENO: checking for _modff declaration" >&5
86953 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
86954 if test x${glibcxx_cv_func__modff_use+set} != xset; then
86955 if test "${glibcxx_cv_func__modff_use+set}" = set; then
86956 echo $ECHO_N "(cached) $ECHO_C" >&6
86957 else
86961 ac_ext=cc
86962 ac_cpp='$CXXCPP $CPPFLAGS'
86963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86967 cat >conftest.$ac_ext <<_ACEOF
86968 /* confdefs.h. */
86969 _ACEOF
86970 cat confdefs.h >>conftest.$ac_ext
86971 cat >>conftest.$ac_ext <<_ACEOF
86972 /* end confdefs.h. */
86973 #include <math.h>
86975 main ()
86977 _modff(0, 0);
86979 return 0;
86981 _ACEOF
86982 rm -f conftest.$ac_objext
86983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86984 (eval $ac_compile) 2>conftest.er1
86985 ac_status=$?
86986 grep -v '^ *+' conftest.er1 >conftest.err
86987 rm -f conftest.er1
86988 cat conftest.err >&5
86989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86990 (exit $ac_status); } &&
86991 { ac_try='test -z "$ac_cxx_werror_flag"
86992 || test ! -s conftest.err'
86993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86994 (eval $ac_try) 2>&5
86995 ac_status=$?
86996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86997 (exit $ac_status); }; } &&
86998 { ac_try='test -s conftest.$ac_objext'
86999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87000 (eval $ac_try) 2>&5
87001 ac_status=$?
87002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87003 (exit $ac_status); }; }; then
87004 glibcxx_cv_func__modff_use=yes
87005 else
87006 echo "$as_me: failed program was:" >&5
87007 sed 's/^/| /' conftest.$ac_ext >&5
87009 glibcxx_cv_func__modff_use=no
87011 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87012 ac_ext=c
87013 ac_cpp='$CPP $CPPFLAGS'
87014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87022 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
87023 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
87025 if test x$glibcxx_cv_func__modff_use = x"yes"; then
87027 for ac_func in _modff
87029 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87030 echo "$as_me:$LINENO: checking for $ac_func" >&5
87031 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87032 if eval "test \"\${$as_ac_var+set}\" = set"; then
87033 echo $ECHO_N "(cached) $ECHO_C" >&6
87034 else
87035 if test x$gcc_no_link = xyes; then
87036 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87037 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87038 { (exit 1); exit 1; }; }
87040 cat >conftest.$ac_ext <<_ACEOF
87041 /* confdefs.h. */
87042 _ACEOF
87043 cat confdefs.h >>conftest.$ac_ext
87044 cat >>conftest.$ac_ext <<_ACEOF
87045 /* end confdefs.h. */
87046 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87047 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87048 #define $ac_func innocuous_$ac_func
87050 /* System header to define __stub macros and hopefully few prototypes,
87051 which can conflict with char $ac_func (); below.
87052 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87053 <limits.h> exists even on freestanding compilers. */
87055 #ifdef __STDC__
87056 # include <limits.h>
87057 #else
87058 # include <assert.h>
87059 #endif
87061 #undef $ac_func
87063 /* Override any gcc2 internal prototype to avoid an error. */
87064 #ifdef __cplusplus
87065 extern "C"
87067 #endif
87068 /* We use char because int might match the return type of a gcc2
87069 builtin and then its argument prototype would still apply. */
87070 char $ac_func ();
87071 /* The GNU C library defines this for functions which it implements
87072 to always fail with ENOSYS. Some functions are actually named
87073 something starting with __ and the normal name is an alias. */
87074 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87075 choke me
87076 #else
87077 char (*f) () = $ac_func;
87078 #endif
87079 #ifdef __cplusplus
87081 #endif
87084 main ()
87086 return f != $ac_func;
87088 return 0;
87090 _ACEOF
87091 rm -f conftest.$ac_objext conftest$ac_exeext
87092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87093 (eval $ac_link) 2>conftest.er1
87094 ac_status=$?
87095 grep -v '^ *+' conftest.er1 >conftest.err
87096 rm -f conftest.er1
87097 cat conftest.err >&5
87098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87099 (exit $ac_status); } &&
87100 { ac_try='test -z "$ac_c_werror_flag"
87101 || test ! -s conftest.err'
87102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87103 (eval $ac_try) 2>&5
87104 ac_status=$?
87105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87106 (exit $ac_status); }; } &&
87107 { ac_try='test -s conftest$ac_exeext'
87108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87109 (eval $ac_try) 2>&5
87110 ac_status=$?
87111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87112 (exit $ac_status); }; }; then
87113 eval "$as_ac_var=yes"
87114 else
87115 echo "$as_me: failed program was:" >&5
87116 sed 's/^/| /' conftest.$ac_ext >&5
87118 eval "$as_ac_var=no"
87120 rm -f conftest.err conftest.$ac_objext \
87121 conftest$ac_exeext conftest.$ac_ext
87123 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87124 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87125 if test `eval echo '${'$as_ac_var'}'` = yes; then
87126 cat >>confdefs.h <<_ACEOF
87127 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87128 _ACEOF
87131 done
87141 echo "$as_me:$LINENO: checking for modf declaration" >&5
87142 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
87143 if test x${glibcxx_cv_func_modf_use+set} != xset; then
87144 if test "${glibcxx_cv_func_modf_use+set}" = set; then
87145 echo $ECHO_N "(cached) $ECHO_C" >&6
87146 else
87150 ac_ext=cc
87151 ac_cpp='$CXXCPP $CPPFLAGS'
87152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87156 cat >conftest.$ac_ext <<_ACEOF
87157 /* confdefs.h. */
87158 _ACEOF
87159 cat confdefs.h >>conftest.$ac_ext
87160 cat >>conftest.$ac_ext <<_ACEOF
87161 /* end confdefs.h. */
87162 #include <math.h>
87164 main ()
87166 modf(0, 0);
87168 return 0;
87170 _ACEOF
87171 rm -f conftest.$ac_objext
87172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87173 (eval $ac_compile) 2>conftest.er1
87174 ac_status=$?
87175 grep -v '^ *+' conftest.er1 >conftest.err
87176 rm -f conftest.er1
87177 cat conftest.err >&5
87178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87179 (exit $ac_status); } &&
87180 { ac_try='test -z "$ac_cxx_werror_flag"
87181 || test ! -s conftest.err'
87182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87183 (eval $ac_try) 2>&5
87184 ac_status=$?
87185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87186 (exit $ac_status); }; } &&
87187 { ac_try='test -s conftest.$ac_objext'
87188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87189 (eval $ac_try) 2>&5
87190 ac_status=$?
87191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87192 (exit $ac_status); }; }; then
87193 glibcxx_cv_func_modf_use=yes
87194 else
87195 echo "$as_me: failed program was:" >&5
87196 sed 's/^/| /' conftest.$ac_ext >&5
87198 glibcxx_cv_func_modf_use=no
87200 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87201 ac_ext=c
87202 ac_cpp='$CPP $CPPFLAGS'
87203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87211 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
87212 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
87214 if test x$glibcxx_cv_func_modf_use = x"yes"; then
87216 for ac_func in modf
87218 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87219 echo "$as_me:$LINENO: checking for $ac_func" >&5
87220 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87221 if eval "test \"\${$as_ac_var+set}\" = set"; then
87222 echo $ECHO_N "(cached) $ECHO_C" >&6
87223 else
87224 if test x$gcc_no_link = xyes; then
87225 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87226 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87227 { (exit 1); exit 1; }; }
87229 cat >conftest.$ac_ext <<_ACEOF
87230 /* confdefs.h. */
87231 _ACEOF
87232 cat confdefs.h >>conftest.$ac_ext
87233 cat >>conftest.$ac_ext <<_ACEOF
87234 /* end confdefs.h. */
87235 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87236 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87237 #define $ac_func innocuous_$ac_func
87239 /* System header to define __stub macros and hopefully few prototypes,
87240 which can conflict with char $ac_func (); below.
87241 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87242 <limits.h> exists even on freestanding compilers. */
87244 #ifdef __STDC__
87245 # include <limits.h>
87246 #else
87247 # include <assert.h>
87248 #endif
87250 #undef $ac_func
87252 /* Override any gcc2 internal prototype to avoid an error. */
87253 #ifdef __cplusplus
87254 extern "C"
87256 #endif
87257 /* We use char because int might match the return type of a gcc2
87258 builtin and then its argument prototype would still apply. */
87259 char $ac_func ();
87260 /* The GNU C library defines this for functions which it implements
87261 to always fail with ENOSYS. Some functions are actually named
87262 something starting with __ and the normal name is an alias. */
87263 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87264 choke me
87265 #else
87266 char (*f) () = $ac_func;
87267 #endif
87268 #ifdef __cplusplus
87270 #endif
87273 main ()
87275 return f != $ac_func;
87277 return 0;
87279 _ACEOF
87280 rm -f conftest.$ac_objext conftest$ac_exeext
87281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87282 (eval $ac_link) 2>conftest.er1
87283 ac_status=$?
87284 grep -v '^ *+' conftest.er1 >conftest.err
87285 rm -f conftest.er1
87286 cat conftest.err >&5
87287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87288 (exit $ac_status); } &&
87289 { ac_try='test -z "$ac_c_werror_flag"
87290 || test ! -s conftest.err'
87291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87292 (eval $ac_try) 2>&5
87293 ac_status=$?
87294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87295 (exit $ac_status); }; } &&
87296 { ac_try='test -s conftest$ac_exeext'
87297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87298 (eval $ac_try) 2>&5
87299 ac_status=$?
87300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87301 (exit $ac_status); }; }; then
87302 eval "$as_ac_var=yes"
87303 else
87304 echo "$as_me: failed program was:" >&5
87305 sed 's/^/| /' conftest.$ac_ext >&5
87307 eval "$as_ac_var=no"
87309 rm -f conftest.err conftest.$ac_objext \
87310 conftest$ac_exeext conftest.$ac_ext
87312 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87313 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87314 if test `eval echo '${'$as_ac_var'}'` = yes; then
87315 cat >>confdefs.h <<_ACEOF
87316 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87317 _ACEOF
87320 done
87322 else
87324 echo "$as_me:$LINENO: checking for _modf declaration" >&5
87325 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
87326 if test x${glibcxx_cv_func__modf_use+set} != xset; then
87327 if test "${glibcxx_cv_func__modf_use+set}" = set; then
87328 echo $ECHO_N "(cached) $ECHO_C" >&6
87329 else
87333 ac_ext=cc
87334 ac_cpp='$CXXCPP $CPPFLAGS'
87335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87339 cat >conftest.$ac_ext <<_ACEOF
87340 /* confdefs.h. */
87341 _ACEOF
87342 cat confdefs.h >>conftest.$ac_ext
87343 cat >>conftest.$ac_ext <<_ACEOF
87344 /* end confdefs.h. */
87345 #include <math.h>
87347 main ()
87349 _modf(0, 0);
87351 return 0;
87353 _ACEOF
87354 rm -f conftest.$ac_objext
87355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87356 (eval $ac_compile) 2>conftest.er1
87357 ac_status=$?
87358 grep -v '^ *+' conftest.er1 >conftest.err
87359 rm -f conftest.er1
87360 cat conftest.err >&5
87361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87362 (exit $ac_status); } &&
87363 { ac_try='test -z "$ac_cxx_werror_flag"
87364 || test ! -s conftest.err'
87365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87366 (eval $ac_try) 2>&5
87367 ac_status=$?
87368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87369 (exit $ac_status); }; } &&
87370 { ac_try='test -s conftest.$ac_objext'
87371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87372 (eval $ac_try) 2>&5
87373 ac_status=$?
87374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87375 (exit $ac_status); }; }; then
87376 glibcxx_cv_func__modf_use=yes
87377 else
87378 echo "$as_me: failed program was:" >&5
87379 sed 's/^/| /' conftest.$ac_ext >&5
87381 glibcxx_cv_func__modf_use=no
87383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87384 ac_ext=c
87385 ac_cpp='$CPP $CPPFLAGS'
87386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87394 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
87395 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
87397 if test x$glibcxx_cv_func__modf_use = x"yes"; then
87399 for ac_func in _modf
87401 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87402 echo "$as_me:$LINENO: checking for $ac_func" >&5
87403 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87404 if eval "test \"\${$as_ac_var+set}\" = set"; then
87405 echo $ECHO_N "(cached) $ECHO_C" >&6
87406 else
87407 if test x$gcc_no_link = xyes; then
87408 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87409 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87410 { (exit 1); exit 1; }; }
87412 cat >conftest.$ac_ext <<_ACEOF
87413 /* confdefs.h. */
87414 _ACEOF
87415 cat confdefs.h >>conftest.$ac_ext
87416 cat >>conftest.$ac_ext <<_ACEOF
87417 /* end confdefs.h. */
87418 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87419 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87420 #define $ac_func innocuous_$ac_func
87422 /* System header to define __stub macros and hopefully few prototypes,
87423 which can conflict with char $ac_func (); below.
87424 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87425 <limits.h> exists even on freestanding compilers. */
87427 #ifdef __STDC__
87428 # include <limits.h>
87429 #else
87430 # include <assert.h>
87431 #endif
87433 #undef $ac_func
87435 /* Override any gcc2 internal prototype to avoid an error. */
87436 #ifdef __cplusplus
87437 extern "C"
87439 #endif
87440 /* We use char because int might match the return type of a gcc2
87441 builtin and then its argument prototype would still apply. */
87442 char $ac_func ();
87443 /* The GNU C library defines this for functions which it implements
87444 to always fail with ENOSYS. Some functions are actually named
87445 something starting with __ and the normal name is an alias. */
87446 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87447 choke me
87448 #else
87449 char (*f) () = $ac_func;
87450 #endif
87451 #ifdef __cplusplus
87453 #endif
87456 main ()
87458 return f != $ac_func;
87460 return 0;
87462 _ACEOF
87463 rm -f conftest.$ac_objext conftest$ac_exeext
87464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87465 (eval $ac_link) 2>conftest.er1
87466 ac_status=$?
87467 grep -v '^ *+' conftest.er1 >conftest.err
87468 rm -f conftest.er1
87469 cat conftest.err >&5
87470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87471 (exit $ac_status); } &&
87472 { ac_try='test -z "$ac_c_werror_flag"
87473 || test ! -s conftest.err'
87474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87475 (eval $ac_try) 2>&5
87476 ac_status=$?
87477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87478 (exit $ac_status); }; } &&
87479 { ac_try='test -s conftest$ac_exeext'
87480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87481 (eval $ac_try) 2>&5
87482 ac_status=$?
87483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87484 (exit $ac_status); }; }; then
87485 eval "$as_ac_var=yes"
87486 else
87487 echo "$as_me: failed program was:" >&5
87488 sed 's/^/| /' conftest.$ac_ext >&5
87490 eval "$as_ac_var=no"
87492 rm -f conftest.err conftest.$ac_objext \
87493 conftest$ac_exeext conftest.$ac_ext
87495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87496 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87497 if test `eval echo '${'$as_ac_var'}'` = yes; then
87498 cat >>confdefs.h <<_ACEOF
87499 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87500 _ACEOF
87503 done
87513 echo "$as_me:$LINENO: checking for powf declaration" >&5
87514 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
87515 if test x${glibcxx_cv_func_powf_use+set} != xset; then
87516 if test "${glibcxx_cv_func_powf_use+set}" = set; then
87517 echo $ECHO_N "(cached) $ECHO_C" >&6
87518 else
87522 ac_ext=cc
87523 ac_cpp='$CXXCPP $CPPFLAGS'
87524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87528 cat >conftest.$ac_ext <<_ACEOF
87529 /* confdefs.h. */
87530 _ACEOF
87531 cat confdefs.h >>conftest.$ac_ext
87532 cat >>conftest.$ac_ext <<_ACEOF
87533 /* end confdefs.h. */
87534 #include <math.h>
87536 main ()
87538 powf(0, 0);
87540 return 0;
87542 _ACEOF
87543 rm -f conftest.$ac_objext
87544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87545 (eval $ac_compile) 2>conftest.er1
87546 ac_status=$?
87547 grep -v '^ *+' conftest.er1 >conftest.err
87548 rm -f conftest.er1
87549 cat conftest.err >&5
87550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87551 (exit $ac_status); } &&
87552 { ac_try='test -z "$ac_cxx_werror_flag"
87553 || test ! -s conftest.err'
87554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87555 (eval $ac_try) 2>&5
87556 ac_status=$?
87557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87558 (exit $ac_status); }; } &&
87559 { ac_try='test -s conftest.$ac_objext'
87560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87561 (eval $ac_try) 2>&5
87562 ac_status=$?
87563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87564 (exit $ac_status); }; }; then
87565 glibcxx_cv_func_powf_use=yes
87566 else
87567 echo "$as_me: failed program was:" >&5
87568 sed 's/^/| /' conftest.$ac_ext >&5
87570 glibcxx_cv_func_powf_use=no
87572 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87573 ac_ext=c
87574 ac_cpp='$CPP $CPPFLAGS'
87575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87583 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
87584 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
87586 if test x$glibcxx_cv_func_powf_use = x"yes"; then
87588 for ac_func in powf
87590 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87591 echo "$as_me:$LINENO: checking for $ac_func" >&5
87592 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87593 if eval "test \"\${$as_ac_var+set}\" = set"; then
87594 echo $ECHO_N "(cached) $ECHO_C" >&6
87595 else
87596 if test x$gcc_no_link = xyes; then
87597 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87598 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87599 { (exit 1); exit 1; }; }
87601 cat >conftest.$ac_ext <<_ACEOF
87602 /* confdefs.h. */
87603 _ACEOF
87604 cat confdefs.h >>conftest.$ac_ext
87605 cat >>conftest.$ac_ext <<_ACEOF
87606 /* end confdefs.h. */
87607 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87608 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87609 #define $ac_func innocuous_$ac_func
87611 /* System header to define __stub macros and hopefully few prototypes,
87612 which can conflict with char $ac_func (); below.
87613 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87614 <limits.h> exists even on freestanding compilers. */
87616 #ifdef __STDC__
87617 # include <limits.h>
87618 #else
87619 # include <assert.h>
87620 #endif
87622 #undef $ac_func
87624 /* Override any gcc2 internal prototype to avoid an error. */
87625 #ifdef __cplusplus
87626 extern "C"
87628 #endif
87629 /* We use char because int might match the return type of a gcc2
87630 builtin and then its argument prototype would still apply. */
87631 char $ac_func ();
87632 /* The GNU C library defines this for functions which it implements
87633 to always fail with ENOSYS. Some functions are actually named
87634 something starting with __ and the normal name is an alias. */
87635 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87636 choke me
87637 #else
87638 char (*f) () = $ac_func;
87639 #endif
87640 #ifdef __cplusplus
87642 #endif
87645 main ()
87647 return f != $ac_func;
87649 return 0;
87651 _ACEOF
87652 rm -f conftest.$ac_objext conftest$ac_exeext
87653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87654 (eval $ac_link) 2>conftest.er1
87655 ac_status=$?
87656 grep -v '^ *+' conftest.er1 >conftest.err
87657 rm -f conftest.er1
87658 cat conftest.err >&5
87659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87660 (exit $ac_status); } &&
87661 { ac_try='test -z "$ac_c_werror_flag"
87662 || test ! -s conftest.err'
87663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87664 (eval $ac_try) 2>&5
87665 ac_status=$?
87666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87667 (exit $ac_status); }; } &&
87668 { ac_try='test -s conftest$ac_exeext'
87669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87670 (eval $ac_try) 2>&5
87671 ac_status=$?
87672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87673 (exit $ac_status); }; }; then
87674 eval "$as_ac_var=yes"
87675 else
87676 echo "$as_me: failed program was:" >&5
87677 sed 's/^/| /' conftest.$ac_ext >&5
87679 eval "$as_ac_var=no"
87681 rm -f conftest.err conftest.$ac_objext \
87682 conftest$ac_exeext conftest.$ac_ext
87684 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87685 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87686 if test `eval echo '${'$as_ac_var'}'` = yes; then
87687 cat >>confdefs.h <<_ACEOF
87688 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87689 _ACEOF
87692 done
87694 else
87696 echo "$as_me:$LINENO: checking for _powf declaration" >&5
87697 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
87698 if test x${glibcxx_cv_func__powf_use+set} != xset; then
87699 if test "${glibcxx_cv_func__powf_use+set}" = set; then
87700 echo $ECHO_N "(cached) $ECHO_C" >&6
87701 else
87705 ac_ext=cc
87706 ac_cpp='$CXXCPP $CPPFLAGS'
87707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87711 cat >conftest.$ac_ext <<_ACEOF
87712 /* confdefs.h. */
87713 _ACEOF
87714 cat confdefs.h >>conftest.$ac_ext
87715 cat >>conftest.$ac_ext <<_ACEOF
87716 /* end confdefs.h. */
87717 #include <math.h>
87719 main ()
87721 _powf(0, 0);
87723 return 0;
87725 _ACEOF
87726 rm -f conftest.$ac_objext
87727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87728 (eval $ac_compile) 2>conftest.er1
87729 ac_status=$?
87730 grep -v '^ *+' conftest.er1 >conftest.err
87731 rm -f conftest.er1
87732 cat conftest.err >&5
87733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87734 (exit $ac_status); } &&
87735 { ac_try='test -z "$ac_cxx_werror_flag"
87736 || test ! -s conftest.err'
87737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87738 (eval $ac_try) 2>&5
87739 ac_status=$?
87740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87741 (exit $ac_status); }; } &&
87742 { ac_try='test -s conftest.$ac_objext'
87743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87744 (eval $ac_try) 2>&5
87745 ac_status=$?
87746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87747 (exit $ac_status); }; }; then
87748 glibcxx_cv_func__powf_use=yes
87749 else
87750 echo "$as_me: failed program was:" >&5
87751 sed 's/^/| /' conftest.$ac_ext >&5
87753 glibcxx_cv_func__powf_use=no
87755 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87756 ac_ext=c
87757 ac_cpp='$CPP $CPPFLAGS'
87758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87766 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
87767 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
87769 if test x$glibcxx_cv_func__powf_use = x"yes"; then
87771 for ac_func in _powf
87773 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87774 echo "$as_me:$LINENO: checking for $ac_func" >&5
87775 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87776 if eval "test \"\${$as_ac_var+set}\" = set"; then
87777 echo $ECHO_N "(cached) $ECHO_C" >&6
87778 else
87779 if test x$gcc_no_link = xyes; then
87780 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87781 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87782 { (exit 1); exit 1; }; }
87784 cat >conftest.$ac_ext <<_ACEOF
87785 /* confdefs.h. */
87786 _ACEOF
87787 cat confdefs.h >>conftest.$ac_ext
87788 cat >>conftest.$ac_ext <<_ACEOF
87789 /* end confdefs.h. */
87790 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87791 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87792 #define $ac_func innocuous_$ac_func
87794 /* System header to define __stub macros and hopefully few prototypes,
87795 which can conflict with char $ac_func (); below.
87796 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87797 <limits.h> exists even on freestanding compilers. */
87799 #ifdef __STDC__
87800 # include <limits.h>
87801 #else
87802 # include <assert.h>
87803 #endif
87805 #undef $ac_func
87807 /* Override any gcc2 internal prototype to avoid an error. */
87808 #ifdef __cplusplus
87809 extern "C"
87811 #endif
87812 /* We use char because int might match the return type of a gcc2
87813 builtin and then its argument prototype would still apply. */
87814 char $ac_func ();
87815 /* The GNU C library defines this for functions which it implements
87816 to always fail with ENOSYS. Some functions are actually named
87817 something starting with __ and the normal name is an alias. */
87818 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87819 choke me
87820 #else
87821 char (*f) () = $ac_func;
87822 #endif
87823 #ifdef __cplusplus
87825 #endif
87828 main ()
87830 return f != $ac_func;
87832 return 0;
87834 _ACEOF
87835 rm -f conftest.$ac_objext conftest$ac_exeext
87836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87837 (eval $ac_link) 2>conftest.er1
87838 ac_status=$?
87839 grep -v '^ *+' conftest.er1 >conftest.err
87840 rm -f conftest.er1
87841 cat conftest.err >&5
87842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87843 (exit $ac_status); } &&
87844 { ac_try='test -z "$ac_c_werror_flag"
87845 || test ! -s conftest.err'
87846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87847 (eval $ac_try) 2>&5
87848 ac_status=$?
87849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87850 (exit $ac_status); }; } &&
87851 { ac_try='test -s conftest$ac_exeext'
87852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87853 (eval $ac_try) 2>&5
87854 ac_status=$?
87855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87856 (exit $ac_status); }; }; then
87857 eval "$as_ac_var=yes"
87858 else
87859 echo "$as_me: failed program was:" >&5
87860 sed 's/^/| /' conftest.$ac_ext >&5
87862 eval "$as_ac_var=no"
87864 rm -f conftest.err conftest.$ac_objext \
87865 conftest$ac_exeext conftest.$ac_ext
87867 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87868 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87869 if test `eval echo '${'$as_ac_var'}'` = yes; then
87870 cat >>confdefs.h <<_ACEOF
87871 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87872 _ACEOF
87875 done
87885 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
87886 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
87887 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
87888 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
87889 echo $ECHO_N "(cached) $ECHO_C" >&6
87890 else
87894 ac_ext=cc
87895 ac_cpp='$CXXCPP $CPPFLAGS'
87896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87900 cat >conftest.$ac_ext <<_ACEOF
87901 /* confdefs.h. */
87902 _ACEOF
87903 cat confdefs.h >>conftest.$ac_ext
87904 cat >>conftest.$ac_ext <<_ACEOF
87905 /* end confdefs.h. */
87906 #include <math.h>
87907 #ifdef HAVE_IEEEFP_H
87908 #include <ieeefp.h>
87909 #endif
87912 main ()
87914 sqrtf(0);
87916 return 0;
87918 _ACEOF
87919 rm -f conftest.$ac_objext
87920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87921 (eval $ac_compile) 2>conftest.er1
87922 ac_status=$?
87923 grep -v '^ *+' conftest.er1 >conftest.err
87924 rm -f conftest.er1
87925 cat conftest.err >&5
87926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87927 (exit $ac_status); } &&
87928 { ac_try='test -z "$ac_cxx_werror_flag"
87929 || test ! -s conftest.err'
87930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87931 (eval $ac_try) 2>&5
87932 ac_status=$?
87933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87934 (exit $ac_status); }; } &&
87935 { ac_try='test -s conftest.$ac_objext'
87936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87937 (eval $ac_try) 2>&5
87938 ac_status=$?
87939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87940 (exit $ac_status); }; }; then
87941 glibcxx_cv_func_sqrtf_use=yes
87942 else
87943 echo "$as_me: failed program was:" >&5
87944 sed 's/^/| /' conftest.$ac_ext >&5
87946 glibcxx_cv_func_sqrtf_use=no
87948 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87949 ac_ext=c
87950 ac_cpp='$CPP $CPPFLAGS'
87951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87959 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
87960 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
87962 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
87964 for ac_func in sqrtf
87966 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87967 echo "$as_me:$LINENO: checking for $ac_func" >&5
87968 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87969 if eval "test \"\${$as_ac_var+set}\" = set"; then
87970 echo $ECHO_N "(cached) $ECHO_C" >&6
87971 else
87972 if test x$gcc_no_link = xyes; then
87973 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87974 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87975 { (exit 1); exit 1; }; }
87977 cat >conftest.$ac_ext <<_ACEOF
87978 /* confdefs.h. */
87979 _ACEOF
87980 cat confdefs.h >>conftest.$ac_ext
87981 cat >>conftest.$ac_ext <<_ACEOF
87982 /* end confdefs.h. */
87983 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87984 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87985 #define $ac_func innocuous_$ac_func
87987 /* System header to define __stub macros and hopefully few prototypes,
87988 which can conflict with char $ac_func (); below.
87989 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87990 <limits.h> exists even on freestanding compilers. */
87992 #ifdef __STDC__
87993 # include <limits.h>
87994 #else
87995 # include <assert.h>
87996 #endif
87998 #undef $ac_func
88000 /* Override any gcc2 internal prototype to avoid an error. */
88001 #ifdef __cplusplus
88002 extern "C"
88004 #endif
88005 /* We use char because int might match the return type of a gcc2
88006 builtin and then its argument prototype would still apply. */
88007 char $ac_func ();
88008 /* The GNU C library defines this for functions which it implements
88009 to always fail with ENOSYS. Some functions are actually named
88010 something starting with __ and the normal name is an alias. */
88011 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88012 choke me
88013 #else
88014 char (*f) () = $ac_func;
88015 #endif
88016 #ifdef __cplusplus
88018 #endif
88021 main ()
88023 return f != $ac_func;
88025 return 0;
88027 _ACEOF
88028 rm -f conftest.$ac_objext conftest$ac_exeext
88029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88030 (eval $ac_link) 2>conftest.er1
88031 ac_status=$?
88032 grep -v '^ *+' conftest.er1 >conftest.err
88033 rm -f conftest.er1
88034 cat conftest.err >&5
88035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88036 (exit $ac_status); } &&
88037 { ac_try='test -z "$ac_c_werror_flag"
88038 || test ! -s conftest.err'
88039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88040 (eval $ac_try) 2>&5
88041 ac_status=$?
88042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88043 (exit $ac_status); }; } &&
88044 { ac_try='test -s conftest$ac_exeext'
88045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88046 (eval $ac_try) 2>&5
88047 ac_status=$?
88048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88049 (exit $ac_status); }; }; then
88050 eval "$as_ac_var=yes"
88051 else
88052 echo "$as_me: failed program was:" >&5
88053 sed 's/^/| /' conftest.$ac_ext >&5
88055 eval "$as_ac_var=no"
88057 rm -f conftest.err conftest.$ac_objext \
88058 conftest$ac_exeext conftest.$ac_ext
88060 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88061 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88062 if test `eval echo '${'$as_ac_var'}'` = yes; then
88063 cat >>confdefs.h <<_ACEOF
88064 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88065 _ACEOF
88068 done
88070 else
88072 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
88073 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
88074 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
88075 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
88076 echo $ECHO_N "(cached) $ECHO_C" >&6
88077 else
88081 ac_ext=cc
88082 ac_cpp='$CXXCPP $CPPFLAGS'
88083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88087 cat >conftest.$ac_ext <<_ACEOF
88088 /* confdefs.h. */
88089 _ACEOF
88090 cat confdefs.h >>conftest.$ac_ext
88091 cat >>conftest.$ac_ext <<_ACEOF
88092 /* end confdefs.h. */
88093 #include <math.h>
88094 #ifdef HAVE_IEEEFP_H
88095 #include <ieeefp.h>
88096 #endif
88099 main ()
88101 _sqrtf(0);
88103 return 0;
88105 _ACEOF
88106 rm -f conftest.$ac_objext
88107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88108 (eval $ac_compile) 2>conftest.er1
88109 ac_status=$?
88110 grep -v '^ *+' conftest.er1 >conftest.err
88111 rm -f conftest.er1
88112 cat conftest.err >&5
88113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88114 (exit $ac_status); } &&
88115 { ac_try='test -z "$ac_cxx_werror_flag"
88116 || test ! -s conftest.err'
88117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88118 (eval $ac_try) 2>&5
88119 ac_status=$?
88120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88121 (exit $ac_status); }; } &&
88122 { ac_try='test -s conftest.$ac_objext'
88123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88124 (eval $ac_try) 2>&5
88125 ac_status=$?
88126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88127 (exit $ac_status); }; }; then
88128 glibcxx_cv_func__sqrtf_use=yes
88129 else
88130 echo "$as_me: failed program was:" >&5
88131 sed 's/^/| /' conftest.$ac_ext >&5
88133 glibcxx_cv_func__sqrtf_use=no
88135 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88136 ac_ext=c
88137 ac_cpp='$CPP $CPPFLAGS'
88138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88146 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
88147 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
88149 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
88151 for ac_func in _sqrtf
88153 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88154 echo "$as_me:$LINENO: checking for $ac_func" >&5
88155 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88156 if eval "test \"\${$as_ac_var+set}\" = set"; then
88157 echo $ECHO_N "(cached) $ECHO_C" >&6
88158 else
88159 if test x$gcc_no_link = xyes; then
88160 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88161 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88162 { (exit 1); exit 1; }; }
88164 cat >conftest.$ac_ext <<_ACEOF
88165 /* confdefs.h. */
88166 _ACEOF
88167 cat confdefs.h >>conftest.$ac_ext
88168 cat >>conftest.$ac_ext <<_ACEOF
88169 /* end confdefs.h. */
88170 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88171 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88172 #define $ac_func innocuous_$ac_func
88174 /* System header to define __stub macros and hopefully few prototypes,
88175 which can conflict with char $ac_func (); below.
88176 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88177 <limits.h> exists even on freestanding compilers. */
88179 #ifdef __STDC__
88180 # include <limits.h>
88181 #else
88182 # include <assert.h>
88183 #endif
88185 #undef $ac_func
88187 /* Override any gcc2 internal prototype to avoid an error. */
88188 #ifdef __cplusplus
88189 extern "C"
88191 #endif
88192 /* We use char because int might match the return type of a gcc2
88193 builtin and then its argument prototype would still apply. */
88194 char $ac_func ();
88195 /* The GNU C library defines this for functions which it implements
88196 to always fail with ENOSYS. Some functions are actually named
88197 something starting with __ and the normal name is an alias. */
88198 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88199 choke me
88200 #else
88201 char (*f) () = $ac_func;
88202 #endif
88203 #ifdef __cplusplus
88205 #endif
88208 main ()
88210 return f != $ac_func;
88212 return 0;
88214 _ACEOF
88215 rm -f conftest.$ac_objext conftest$ac_exeext
88216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88217 (eval $ac_link) 2>conftest.er1
88218 ac_status=$?
88219 grep -v '^ *+' conftest.er1 >conftest.err
88220 rm -f conftest.er1
88221 cat conftest.err >&5
88222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88223 (exit $ac_status); } &&
88224 { ac_try='test -z "$ac_c_werror_flag"
88225 || test ! -s conftest.err'
88226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88227 (eval $ac_try) 2>&5
88228 ac_status=$?
88229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88230 (exit $ac_status); }; } &&
88231 { ac_try='test -s conftest$ac_exeext'
88232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88233 (eval $ac_try) 2>&5
88234 ac_status=$?
88235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88236 (exit $ac_status); }; }; then
88237 eval "$as_ac_var=yes"
88238 else
88239 echo "$as_me: failed program was:" >&5
88240 sed 's/^/| /' conftest.$ac_ext >&5
88242 eval "$as_ac_var=no"
88244 rm -f conftest.err conftest.$ac_objext \
88245 conftest$ac_exeext conftest.$ac_ext
88247 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88248 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88249 if test `eval echo '${'$as_ac_var'}'` = yes; then
88250 cat >>confdefs.h <<_ACEOF
88251 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88252 _ACEOF
88255 done
88265 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
88266 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
88267 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
88268 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
88269 echo $ECHO_N "(cached) $ECHO_C" >&6
88270 else
88274 ac_ext=cc
88275 ac_cpp='$CXXCPP $CPPFLAGS'
88276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88280 cat >conftest.$ac_ext <<_ACEOF
88281 /* confdefs.h. */
88282 _ACEOF
88283 cat confdefs.h >>conftest.$ac_ext
88284 cat >>conftest.$ac_ext <<_ACEOF
88285 /* end confdefs.h. */
88286 #include <math.h>
88288 main ()
88290 sincosf(0, 0, 0);
88292 return 0;
88294 _ACEOF
88295 rm -f conftest.$ac_objext
88296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88297 (eval $ac_compile) 2>conftest.er1
88298 ac_status=$?
88299 grep -v '^ *+' conftest.er1 >conftest.err
88300 rm -f conftest.er1
88301 cat conftest.err >&5
88302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88303 (exit $ac_status); } &&
88304 { ac_try='test -z "$ac_cxx_werror_flag"
88305 || test ! -s conftest.err'
88306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88307 (eval $ac_try) 2>&5
88308 ac_status=$?
88309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88310 (exit $ac_status); }; } &&
88311 { ac_try='test -s conftest.$ac_objext'
88312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88313 (eval $ac_try) 2>&5
88314 ac_status=$?
88315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88316 (exit $ac_status); }; }; then
88317 glibcxx_cv_func_sincosf_use=yes
88318 else
88319 echo "$as_me: failed program was:" >&5
88320 sed 's/^/| /' conftest.$ac_ext >&5
88322 glibcxx_cv_func_sincosf_use=no
88324 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88325 ac_ext=c
88326 ac_cpp='$CPP $CPPFLAGS'
88327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88335 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
88336 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
88338 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
88340 for ac_func in sincosf
88342 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88343 echo "$as_me:$LINENO: checking for $ac_func" >&5
88344 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88345 if eval "test \"\${$as_ac_var+set}\" = set"; then
88346 echo $ECHO_N "(cached) $ECHO_C" >&6
88347 else
88348 if test x$gcc_no_link = xyes; then
88349 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88350 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88351 { (exit 1); exit 1; }; }
88353 cat >conftest.$ac_ext <<_ACEOF
88354 /* confdefs.h. */
88355 _ACEOF
88356 cat confdefs.h >>conftest.$ac_ext
88357 cat >>conftest.$ac_ext <<_ACEOF
88358 /* end confdefs.h. */
88359 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88360 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88361 #define $ac_func innocuous_$ac_func
88363 /* System header to define __stub macros and hopefully few prototypes,
88364 which can conflict with char $ac_func (); below.
88365 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88366 <limits.h> exists even on freestanding compilers. */
88368 #ifdef __STDC__
88369 # include <limits.h>
88370 #else
88371 # include <assert.h>
88372 #endif
88374 #undef $ac_func
88376 /* Override any gcc2 internal prototype to avoid an error. */
88377 #ifdef __cplusplus
88378 extern "C"
88380 #endif
88381 /* We use char because int might match the return type of a gcc2
88382 builtin and then its argument prototype would still apply. */
88383 char $ac_func ();
88384 /* The GNU C library defines this for functions which it implements
88385 to always fail with ENOSYS. Some functions are actually named
88386 something starting with __ and the normal name is an alias. */
88387 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88388 choke me
88389 #else
88390 char (*f) () = $ac_func;
88391 #endif
88392 #ifdef __cplusplus
88394 #endif
88397 main ()
88399 return f != $ac_func;
88401 return 0;
88403 _ACEOF
88404 rm -f conftest.$ac_objext conftest$ac_exeext
88405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88406 (eval $ac_link) 2>conftest.er1
88407 ac_status=$?
88408 grep -v '^ *+' conftest.er1 >conftest.err
88409 rm -f conftest.er1
88410 cat conftest.err >&5
88411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88412 (exit $ac_status); } &&
88413 { ac_try='test -z "$ac_c_werror_flag"
88414 || test ! -s conftest.err'
88415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88416 (eval $ac_try) 2>&5
88417 ac_status=$?
88418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88419 (exit $ac_status); }; } &&
88420 { ac_try='test -s conftest$ac_exeext'
88421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88422 (eval $ac_try) 2>&5
88423 ac_status=$?
88424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88425 (exit $ac_status); }; }; then
88426 eval "$as_ac_var=yes"
88427 else
88428 echo "$as_me: failed program was:" >&5
88429 sed 's/^/| /' conftest.$ac_ext >&5
88431 eval "$as_ac_var=no"
88433 rm -f conftest.err conftest.$ac_objext \
88434 conftest$ac_exeext conftest.$ac_ext
88436 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88437 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88438 if test `eval echo '${'$as_ac_var'}'` = yes; then
88439 cat >>confdefs.h <<_ACEOF
88440 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88441 _ACEOF
88444 done
88446 else
88448 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
88449 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
88450 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
88451 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
88452 echo $ECHO_N "(cached) $ECHO_C" >&6
88453 else
88457 ac_ext=cc
88458 ac_cpp='$CXXCPP $CPPFLAGS'
88459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88463 cat >conftest.$ac_ext <<_ACEOF
88464 /* confdefs.h. */
88465 _ACEOF
88466 cat confdefs.h >>conftest.$ac_ext
88467 cat >>conftest.$ac_ext <<_ACEOF
88468 /* end confdefs.h. */
88469 #include <math.h>
88471 main ()
88473 _sincosf(0, 0, 0);
88475 return 0;
88477 _ACEOF
88478 rm -f conftest.$ac_objext
88479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88480 (eval $ac_compile) 2>conftest.er1
88481 ac_status=$?
88482 grep -v '^ *+' conftest.er1 >conftest.err
88483 rm -f conftest.er1
88484 cat conftest.err >&5
88485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88486 (exit $ac_status); } &&
88487 { ac_try='test -z "$ac_cxx_werror_flag"
88488 || test ! -s conftest.err'
88489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88490 (eval $ac_try) 2>&5
88491 ac_status=$?
88492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88493 (exit $ac_status); }; } &&
88494 { ac_try='test -s conftest.$ac_objext'
88495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88496 (eval $ac_try) 2>&5
88497 ac_status=$?
88498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88499 (exit $ac_status); }; }; then
88500 glibcxx_cv_func__sincosf_use=yes
88501 else
88502 echo "$as_me: failed program was:" >&5
88503 sed 's/^/| /' conftest.$ac_ext >&5
88505 glibcxx_cv_func__sincosf_use=no
88507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88508 ac_ext=c
88509 ac_cpp='$CPP $CPPFLAGS'
88510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88518 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
88519 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
88521 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
88523 for ac_func in _sincosf
88525 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88526 echo "$as_me:$LINENO: checking for $ac_func" >&5
88527 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88528 if eval "test \"\${$as_ac_var+set}\" = set"; then
88529 echo $ECHO_N "(cached) $ECHO_C" >&6
88530 else
88531 if test x$gcc_no_link = xyes; then
88532 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88533 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88534 { (exit 1); exit 1; }; }
88536 cat >conftest.$ac_ext <<_ACEOF
88537 /* confdefs.h. */
88538 _ACEOF
88539 cat confdefs.h >>conftest.$ac_ext
88540 cat >>conftest.$ac_ext <<_ACEOF
88541 /* end confdefs.h. */
88542 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88543 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88544 #define $ac_func innocuous_$ac_func
88546 /* System header to define __stub macros and hopefully few prototypes,
88547 which can conflict with char $ac_func (); below.
88548 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88549 <limits.h> exists even on freestanding compilers. */
88551 #ifdef __STDC__
88552 # include <limits.h>
88553 #else
88554 # include <assert.h>
88555 #endif
88557 #undef $ac_func
88559 /* Override any gcc2 internal prototype to avoid an error. */
88560 #ifdef __cplusplus
88561 extern "C"
88563 #endif
88564 /* We use char because int might match the return type of a gcc2
88565 builtin and then its argument prototype would still apply. */
88566 char $ac_func ();
88567 /* The GNU C library defines this for functions which it implements
88568 to always fail with ENOSYS. Some functions are actually named
88569 something starting with __ and the normal name is an alias. */
88570 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88571 choke me
88572 #else
88573 char (*f) () = $ac_func;
88574 #endif
88575 #ifdef __cplusplus
88577 #endif
88580 main ()
88582 return f != $ac_func;
88584 return 0;
88586 _ACEOF
88587 rm -f conftest.$ac_objext conftest$ac_exeext
88588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88589 (eval $ac_link) 2>conftest.er1
88590 ac_status=$?
88591 grep -v '^ *+' conftest.er1 >conftest.err
88592 rm -f conftest.er1
88593 cat conftest.err >&5
88594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88595 (exit $ac_status); } &&
88596 { ac_try='test -z "$ac_c_werror_flag"
88597 || test ! -s conftest.err'
88598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88599 (eval $ac_try) 2>&5
88600 ac_status=$?
88601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88602 (exit $ac_status); }; } &&
88603 { ac_try='test -s conftest$ac_exeext'
88604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88605 (eval $ac_try) 2>&5
88606 ac_status=$?
88607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88608 (exit $ac_status); }; }; then
88609 eval "$as_ac_var=yes"
88610 else
88611 echo "$as_me: failed program was:" >&5
88612 sed 's/^/| /' conftest.$ac_ext >&5
88614 eval "$as_ac_var=no"
88616 rm -f conftest.err conftest.$ac_objext \
88617 conftest$ac_exeext conftest.$ac_ext
88619 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88620 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88621 if test `eval echo '${'$as_ac_var'}'` = yes; then
88622 cat >>confdefs.h <<_ACEOF
88623 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88624 _ACEOF
88627 done
88637 echo "$as_me:$LINENO: checking for finitef declaration" >&5
88638 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
88639 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
88640 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
88641 echo $ECHO_N "(cached) $ECHO_C" >&6
88642 else
88646 ac_ext=cc
88647 ac_cpp='$CXXCPP $CPPFLAGS'
88648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88652 cat >conftest.$ac_ext <<_ACEOF
88653 /* confdefs.h. */
88654 _ACEOF
88655 cat confdefs.h >>conftest.$ac_ext
88656 cat >>conftest.$ac_ext <<_ACEOF
88657 /* end confdefs.h. */
88658 #include <math.h>
88659 #ifdef HAVE_IEEEFP_H
88660 #include <ieeefp.h>
88661 #endif
88664 main ()
88666 finitef(0);
88668 return 0;
88670 _ACEOF
88671 rm -f conftest.$ac_objext
88672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88673 (eval $ac_compile) 2>conftest.er1
88674 ac_status=$?
88675 grep -v '^ *+' conftest.er1 >conftest.err
88676 rm -f conftest.er1
88677 cat conftest.err >&5
88678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88679 (exit $ac_status); } &&
88680 { ac_try='test -z "$ac_cxx_werror_flag"
88681 || test ! -s conftest.err'
88682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88683 (eval $ac_try) 2>&5
88684 ac_status=$?
88685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88686 (exit $ac_status); }; } &&
88687 { ac_try='test -s conftest.$ac_objext'
88688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88689 (eval $ac_try) 2>&5
88690 ac_status=$?
88691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88692 (exit $ac_status); }; }; then
88693 glibcxx_cv_func_finitef_use=yes
88694 else
88695 echo "$as_me: failed program was:" >&5
88696 sed 's/^/| /' conftest.$ac_ext >&5
88698 glibcxx_cv_func_finitef_use=no
88700 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88701 ac_ext=c
88702 ac_cpp='$CPP $CPPFLAGS'
88703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88711 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
88712 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
88714 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
88716 for ac_func in finitef
88718 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88719 echo "$as_me:$LINENO: checking for $ac_func" >&5
88720 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88721 if eval "test \"\${$as_ac_var+set}\" = set"; then
88722 echo $ECHO_N "(cached) $ECHO_C" >&6
88723 else
88724 if test x$gcc_no_link = xyes; then
88725 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88726 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88727 { (exit 1); exit 1; }; }
88729 cat >conftest.$ac_ext <<_ACEOF
88730 /* confdefs.h. */
88731 _ACEOF
88732 cat confdefs.h >>conftest.$ac_ext
88733 cat >>conftest.$ac_ext <<_ACEOF
88734 /* end confdefs.h. */
88735 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88736 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88737 #define $ac_func innocuous_$ac_func
88739 /* System header to define __stub macros and hopefully few prototypes,
88740 which can conflict with char $ac_func (); below.
88741 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88742 <limits.h> exists even on freestanding compilers. */
88744 #ifdef __STDC__
88745 # include <limits.h>
88746 #else
88747 # include <assert.h>
88748 #endif
88750 #undef $ac_func
88752 /* Override any gcc2 internal prototype to avoid an error. */
88753 #ifdef __cplusplus
88754 extern "C"
88756 #endif
88757 /* We use char because int might match the return type of a gcc2
88758 builtin and then its argument prototype would still apply. */
88759 char $ac_func ();
88760 /* The GNU C library defines this for functions which it implements
88761 to always fail with ENOSYS. Some functions are actually named
88762 something starting with __ and the normal name is an alias. */
88763 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88764 choke me
88765 #else
88766 char (*f) () = $ac_func;
88767 #endif
88768 #ifdef __cplusplus
88770 #endif
88773 main ()
88775 return f != $ac_func;
88777 return 0;
88779 _ACEOF
88780 rm -f conftest.$ac_objext conftest$ac_exeext
88781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88782 (eval $ac_link) 2>conftest.er1
88783 ac_status=$?
88784 grep -v '^ *+' conftest.er1 >conftest.err
88785 rm -f conftest.er1
88786 cat conftest.err >&5
88787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88788 (exit $ac_status); } &&
88789 { ac_try='test -z "$ac_c_werror_flag"
88790 || test ! -s conftest.err'
88791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88792 (eval $ac_try) 2>&5
88793 ac_status=$?
88794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88795 (exit $ac_status); }; } &&
88796 { ac_try='test -s conftest$ac_exeext'
88797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88798 (eval $ac_try) 2>&5
88799 ac_status=$?
88800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88801 (exit $ac_status); }; }; then
88802 eval "$as_ac_var=yes"
88803 else
88804 echo "$as_me: failed program was:" >&5
88805 sed 's/^/| /' conftest.$ac_ext >&5
88807 eval "$as_ac_var=no"
88809 rm -f conftest.err conftest.$ac_objext \
88810 conftest$ac_exeext conftest.$ac_ext
88812 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88813 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88814 if test `eval echo '${'$as_ac_var'}'` = yes; then
88815 cat >>confdefs.h <<_ACEOF
88816 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88817 _ACEOF
88820 done
88822 else
88824 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
88825 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
88826 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
88827 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
88828 echo $ECHO_N "(cached) $ECHO_C" >&6
88829 else
88833 ac_ext=cc
88834 ac_cpp='$CXXCPP $CPPFLAGS'
88835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88839 cat >conftest.$ac_ext <<_ACEOF
88840 /* confdefs.h. */
88841 _ACEOF
88842 cat confdefs.h >>conftest.$ac_ext
88843 cat >>conftest.$ac_ext <<_ACEOF
88844 /* end confdefs.h. */
88845 #include <math.h>
88846 #ifdef HAVE_IEEEFP_H
88847 #include <ieeefp.h>
88848 #endif
88851 main ()
88853 _finitef(0);
88855 return 0;
88857 _ACEOF
88858 rm -f conftest.$ac_objext
88859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88860 (eval $ac_compile) 2>conftest.er1
88861 ac_status=$?
88862 grep -v '^ *+' conftest.er1 >conftest.err
88863 rm -f conftest.er1
88864 cat conftest.err >&5
88865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88866 (exit $ac_status); } &&
88867 { ac_try='test -z "$ac_cxx_werror_flag"
88868 || test ! -s conftest.err'
88869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88870 (eval $ac_try) 2>&5
88871 ac_status=$?
88872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88873 (exit $ac_status); }; } &&
88874 { ac_try='test -s conftest.$ac_objext'
88875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88876 (eval $ac_try) 2>&5
88877 ac_status=$?
88878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88879 (exit $ac_status); }; }; then
88880 glibcxx_cv_func__finitef_use=yes
88881 else
88882 echo "$as_me: failed program was:" >&5
88883 sed 's/^/| /' conftest.$ac_ext >&5
88885 glibcxx_cv_func__finitef_use=no
88887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88888 ac_ext=c
88889 ac_cpp='$CPP $CPPFLAGS'
88890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88898 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
88899 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
88901 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
88903 for ac_func in _finitef
88905 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88906 echo "$as_me:$LINENO: checking for $ac_func" >&5
88907 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88908 if eval "test \"\${$as_ac_var+set}\" = set"; then
88909 echo $ECHO_N "(cached) $ECHO_C" >&6
88910 else
88911 if test x$gcc_no_link = xyes; then
88912 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88913 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88914 { (exit 1); exit 1; }; }
88916 cat >conftest.$ac_ext <<_ACEOF
88917 /* confdefs.h. */
88918 _ACEOF
88919 cat confdefs.h >>conftest.$ac_ext
88920 cat >>conftest.$ac_ext <<_ACEOF
88921 /* end confdefs.h. */
88922 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88923 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88924 #define $ac_func innocuous_$ac_func
88926 /* System header to define __stub macros and hopefully few prototypes,
88927 which can conflict with char $ac_func (); below.
88928 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88929 <limits.h> exists even on freestanding compilers. */
88931 #ifdef __STDC__
88932 # include <limits.h>
88933 #else
88934 # include <assert.h>
88935 #endif
88937 #undef $ac_func
88939 /* Override any gcc2 internal prototype to avoid an error. */
88940 #ifdef __cplusplus
88941 extern "C"
88943 #endif
88944 /* We use char because int might match the return type of a gcc2
88945 builtin and then its argument prototype would still apply. */
88946 char $ac_func ();
88947 /* The GNU C library defines this for functions which it implements
88948 to always fail with ENOSYS. Some functions are actually named
88949 something starting with __ and the normal name is an alias. */
88950 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88951 choke me
88952 #else
88953 char (*f) () = $ac_func;
88954 #endif
88955 #ifdef __cplusplus
88957 #endif
88960 main ()
88962 return f != $ac_func;
88964 return 0;
88966 _ACEOF
88967 rm -f conftest.$ac_objext conftest$ac_exeext
88968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88969 (eval $ac_link) 2>conftest.er1
88970 ac_status=$?
88971 grep -v '^ *+' conftest.er1 >conftest.err
88972 rm -f conftest.er1
88973 cat conftest.err >&5
88974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88975 (exit $ac_status); } &&
88976 { ac_try='test -z "$ac_c_werror_flag"
88977 || test ! -s conftest.err'
88978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88979 (eval $ac_try) 2>&5
88980 ac_status=$?
88981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88982 (exit $ac_status); }; } &&
88983 { ac_try='test -s conftest$ac_exeext'
88984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88985 (eval $ac_try) 2>&5
88986 ac_status=$?
88987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88988 (exit $ac_status); }; }; then
88989 eval "$as_ac_var=yes"
88990 else
88991 echo "$as_me: failed program was:" >&5
88992 sed 's/^/| /' conftest.$ac_ext >&5
88994 eval "$as_ac_var=no"
88996 rm -f conftest.err conftest.$ac_objext \
88997 conftest$ac_exeext conftest.$ac_ext
88999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89000 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89001 if test `eval echo '${'$as_ac_var'}'` = yes; then
89002 cat >>confdefs.h <<_ACEOF
89003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89004 _ACEOF
89007 done
89017 echo "$as_me:$LINENO: checking for long double trig functions" >&5
89018 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
89019 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
89020 echo $ECHO_N "(cached) $ECHO_C" >&6
89021 else
89025 ac_ext=cc
89026 ac_cpp='$CXXCPP $CPPFLAGS'
89027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89031 cat >conftest.$ac_ext <<_ACEOF
89032 /* confdefs.h. */
89033 _ACEOF
89034 cat confdefs.h >>conftest.$ac_ext
89035 cat >>conftest.$ac_ext <<_ACEOF
89036 /* end confdefs.h. */
89037 #include <math.h>
89039 main ()
89041 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
89043 return 0;
89045 _ACEOF
89046 rm -f conftest.$ac_objext
89047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89048 (eval $ac_compile) 2>conftest.er1
89049 ac_status=$?
89050 grep -v '^ *+' conftest.er1 >conftest.err
89051 rm -f conftest.er1
89052 cat conftest.err >&5
89053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89054 (exit $ac_status); } &&
89055 { ac_try='test -z "$ac_cxx_werror_flag"
89056 || test ! -s conftest.err'
89057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89058 (eval $ac_try) 2>&5
89059 ac_status=$?
89060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89061 (exit $ac_status); }; } &&
89062 { ac_try='test -s conftest.$ac_objext'
89063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89064 (eval $ac_try) 2>&5
89065 ac_status=$?
89066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89067 (exit $ac_status); }; }; then
89068 glibcxx_cv_func_long_double_trig_use=yes
89069 else
89070 echo "$as_me: failed program was:" >&5
89071 sed 's/^/| /' conftest.$ac_ext >&5
89073 glibcxx_cv_func_long_double_trig_use=no
89075 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89076 ac_ext=c
89077 ac_cpp='$CPP $CPPFLAGS'
89078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89084 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
89085 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
89086 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
89096 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
89098 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89099 echo "$as_me:$LINENO: checking for $ac_func" >&5
89100 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89101 if eval "test \"\${$as_ac_var+set}\" = set"; then
89102 echo $ECHO_N "(cached) $ECHO_C" >&6
89103 else
89104 if test x$gcc_no_link = xyes; then
89105 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89106 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89107 { (exit 1); exit 1; }; }
89109 cat >conftest.$ac_ext <<_ACEOF
89110 /* confdefs.h. */
89111 _ACEOF
89112 cat confdefs.h >>conftest.$ac_ext
89113 cat >>conftest.$ac_ext <<_ACEOF
89114 /* end confdefs.h. */
89115 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89116 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89117 #define $ac_func innocuous_$ac_func
89119 /* System header to define __stub macros and hopefully few prototypes,
89120 which can conflict with char $ac_func (); below.
89121 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89122 <limits.h> exists even on freestanding compilers. */
89124 #ifdef __STDC__
89125 # include <limits.h>
89126 #else
89127 # include <assert.h>
89128 #endif
89130 #undef $ac_func
89132 /* Override any gcc2 internal prototype to avoid an error. */
89133 #ifdef __cplusplus
89134 extern "C"
89136 #endif
89137 /* We use char because int might match the return type of a gcc2
89138 builtin and then its argument prototype would still apply. */
89139 char $ac_func ();
89140 /* The GNU C library defines this for functions which it implements
89141 to always fail with ENOSYS. Some functions are actually named
89142 something starting with __ and the normal name is an alias. */
89143 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89144 choke me
89145 #else
89146 char (*f) () = $ac_func;
89147 #endif
89148 #ifdef __cplusplus
89150 #endif
89153 main ()
89155 return f != $ac_func;
89157 return 0;
89159 _ACEOF
89160 rm -f conftest.$ac_objext conftest$ac_exeext
89161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89162 (eval $ac_link) 2>conftest.er1
89163 ac_status=$?
89164 grep -v '^ *+' conftest.er1 >conftest.err
89165 rm -f conftest.er1
89166 cat conftest.err >&5
89167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89168 (exit $ac_status); } &&
89169 { ac_try='test -z "$ac_c_werror_flag"
89170 || test ! -s conftest.err'
89171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89172 (eval $ac_try) 2>&5
89173 ac_status=$?
89174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89175 (exit $ac_status); }; } &&
89176 { ac_try='test -s conftest$ac_exeext'
89177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89178 (eval $ac_try) 2>&5
89179 ac_status=$?
89180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89181 (exit $ac_status); }; }; then
89182 eval "$as_ac_var=yes"
89183 else
89184 echo "$as_me: failed program was:" >&5
89185 sed 's/^/| /' conftest.$ac_ext >&5
89187 eval "$as_ac_var=no"
89189 rm -f conftest.err conftest.$ac_objext \
89190 conftest$ac_exeext conftest.$ac_ext
89192 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89193 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89194 if test `eval echo '${'$as_ac_var'}'` = yes; then
89195 cat >>confdefs.h <<_ACEOF
89196 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89197 _ACEOF
89200 done
89202 else
89203 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
89204 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
89205 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
89206 echo $ECHO_N "(cached) $ECHO_C" >&6
89207 else
89211 ac_ext=cc
89212 ac_cpp='$CXXCPP $CPPFLAGS'
89213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89217 cat >conftest.$ac_ext <<_ACEOF
89218 /* confdefs.h. */
89219 _ACEOF
89220 cat confdefs.h >>conftest.$ac_ext
89221 cat >>conftest.$ac_ext <<_ACEOF
89222 /* end confdefs.h. */
89223 #include <math.h>
89225 main ()
89227 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
89229 return 0;
89231 _ACEOF
89232 rm -f conftest.$ac_objext
89233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89234 (eval $ac_compile) 2>conftest.er1
89235 ac_status=$?
89236 grep -v '^ *+' conftest.er1 >conftest.err
89237 rm -f conftest.er1
89238 cat conftest.err >&5
89239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89240 (exit $ac_status); } &&
89241 { ac_try='test -z "$ac_cxx_werror_flag"
89242 || test ! -s conftest.err'
89243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89244 (eval $ac_try) 2>&5
89245 ac_status=$?
89246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89247 (exit $ac_status); }; } &&
89248 { ac_try='test -s conftest.$ac_objext'
89249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89250 (eval $ac_try) 2>&5
89251 ac_status=$?
89252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89253 (exit $ac_status); }; }; then
89254 glibcxx_cv_func__long_double_trig_use=yes
89255 else
89256 echo "$as_me: failed program was:" >&5
89257 sed 's/^/| /' conftest.$ac_ext >&5
89259 glibcxx_cv_func__long_double_trig_use=no
89261 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89262 ac_ext=c
89263 ac_cpp='$CPP $CPPFLAGS'
89264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89270 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
89271 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
89272 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
89282 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
89284 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89285 echo "$as_me:$LINENO: checking for $ac_func" >&5
89286 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89287 if eval "test \"\${$as_ac_var+set}\" = set"; then
89288 echo $ECHO_N "(cached) $ECHO_C" >&6
89289 else
89290 if test x$gcc_no_link = xyes; then
89291 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89292 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89293 { (exit 1); exit 1; }; }
89295 cat >conftest.$ac_ext <<_ACEOF
89296 /* confdefs.h. */
89297 _ACEOF
89298 cat confdefs.h >>conftest.$ac_ext
89299 cat >>conftest.$ac_ext <<_ACEOF
89300 /* end confdefs.h. */
89301 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89302 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89303 #define $ac_func innocuous_$ac_func
89305 /* System header to define __stub macros and hopefully few prototypes,
89306 which can conflict with char $ac_func (); below.
89307 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89308 <limits.h> exists even on freestanding compilers. */
89310 #ifdef __STDC__
89311 # include <limits.h>
89312 #else
89313 # include <assert.h>
89314 #endif
89316 #undef $ac_func
89318 /* Override any gcc2 internal prototype to avoid an error. */
89319 #ifdef __cplusplus
89320 extern "C"
89322 #endif
89323 /* We use char because int might match the return type of a gcc2
89324 builtin and then its argument prototype would still apply. */
89325 char $ac_func ();
89326 /* The GNU C library defines this for functions which it implements
89327 to always fail with ENOSYS. Some functions are actually named
89328 something starting with __ and the normal name is an alias. */
89329 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89330 choke me
89331 #else
89332 char (*f) () = $ac_func;
89333 #endif
89334 #ifdef __cplusplus
89336 #endif
89339 main ()
89341 return f != $ac_func;
89343 return 0;
89345 _ACEOF
89346 rm -f conftest.$ac_objext conftest$ac_exeext
89347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89348 (eval $ac_link) 2>conftest.er1
89349 ac_status=$?
89350 grep -v '^ *+' conftest.er1 >conftest.err
89351 rm -f conftest.er1
89352 cat conftest.err >&5
89353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89354 (exit $ac_status); } &&
89355 { ac_try='test -z "$ac_c_werror_flag"
89356 || test ! -s conftest.err'
89357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89358 (eval $ac_try) 2>&5
89359 ac_status=$?
89360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89361 (exit $ac_status); }; } &&
89362 { ac_try='test -s conftest$ac_exeext'
89363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89364 (eval $ac_try) 2>&5
89365 ac_status=$?
89366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89367 (exit $ac_status); }; }; then
89368 eval "$as_ac_var=yes"
89369 else
89370 echo "$as_me: failed program was:" >&5
89371 sed 's/^/| /' conftest.$ac_ext >&5
89373 eval "$as_ac_var=no"
89375 rm -f conftest.err conftest.$ac_objext \
89376 conftest$ac_exeext conftest.$ac_ext
89378 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89379 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89380 if test `eval echo '${'$as_ac_var'}'` = yes; then
89381 cat >>confdefs.h <<_ACEOF
89382 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89383 _ACEOF
89386 done
89404 echo "$as_me:$LINENO: checking for long double round functions" >&5
89405 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
89406 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
89407 echo $ECHO_N "(cached) $ECHO_C" >&6
89408 else
89412 ac_ext=cc
89413 ac_cpp='$CXXCPP $CPPFLAGS'
89414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89418 cat >conftest.$ac_ext <<_ACEOF
89419 /* confdefs.h. */
89420 _ACEOF
89421 cat confdefs.h >>conftest.$ac_ext
89422 cat >>conftest.$ac_ext <<_ACEOF
89423 /* end confdefs.h. */
89424 #include <math.h>
89426 main ()
89428 ceill (0); floorl (0);
89430 return 0;
89432 _ACEOF
89433 rm -f conftest.$ac_objext
89434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89435 (eval $ac_compile) 2>conftest.er1
89436 ac_status=$?
89437 grep -v '^ *+' conftest.er1 >conftest.err
89438 rm -f conftest.er1
89439 cat conftest.err >&5
89440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89441 (exit $ac_status); } &&
89442 { ac_try='test -z "$ac_cxx_werror_flag"
89443 || test ! -s conftest.err'
89444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89445 (eval $ac_try) 2>&5
89446 ac_status=$?
89447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89448 (exit $ac_status); }; } &&
89449 { ac_try='test -s conftest.$ac_objext'
89450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89451 (eval $ac_try) 2>&5
89452 ac_status=$?
89453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89454 (exit $ac_status); }; }; then
89455 glibcxx_cv_func_long_double_round_use=yes
89456 else
89457 echo "$as_me: failed program was:" >&5
89458 sed 's/^/| /' conftest.$ac_ext >&5
89460 glibcxx_cv_func_long_double_round_use=no
89462 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89463 ac_ext=c
89464 ac_cpp='$CPP $CPPFLAGS'
89465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89471 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
89472 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
89473 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
89476 for ac_func in ceill floorl
89478 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89479 echo "$as_me:$LINENO: checking for $ac_func" >&5
89480 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89481 if eval "test \"\${$as_ac_var+set}\" = set"; then
89482 echo $ECHO_N "(cached) $ECHO_C" >&6
89483 else
89484 if test x$gcc_no_link = xyes; then
89485 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89486 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89487 { (exit 1); exit 1; }; }
89489 cat >conftest.$ac_ext <<_ACEOF
89490 /* confdefs.h. */
89491 _ACEOF
89492 cat confdefs.h >>conftest.$ac_ext
89493 cat >>conftest.$ac_ext <<_ACEOF
89494 /* end confdefs.h. */
89495 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89496 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89497 #define $ac_func innocuous_$ac_func
89499 /* System header to define __stub macros and hopefully few prototypes,
89500 which can conflict with char $ac_func (); below.
89501 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89502 <limits.h> exists even on freestanding compilers. */
89504 #ifdef __STDC__
89505 # include <limits.h>
89506 #else
89507 # include <assert.h>
89508 #endif
89510 #undef $ac_func
89512 /* Override any gcc2 internal prototype to avoid an error. */
89513 #ifdef __cplusplus
89514 extern "C"
89516 #endif
89517 /* We use char because int might match the return type of a gcc2
89518 builtin and then its argument prototype would still apply. */
89519 char $ac_func ();
89520 /* The GNU C library defines this for functions which it implements
89521 to always fail with ENOSYS. Some functions are actually named
89522 something starting with __ and the normal name is an alias. */
89523 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89524 choke me
89525 #else
89526 char (*f) () = $ac_func;
89527 #endif
89528 #ifdef __cplusplus
89530 #endif
89533 main ()
89535 return f != $ac_func;
89537 return 0;
89539 _ACEOF
89540 rm -f conftest.$ac_objext conftest$ac_exeext
89541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89542 (eval $ac_link) 2>conftest.er1
89543 ac_status=$?
89544 grep -v '^ *+' conftest.er1 >conftest.err
89545 rm -f conftest.er1
89546 cat conftest.err >&5
89547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89548 (exit $ac_status); } &&
89549 { ac_try='test -z "$ac_c_werror_flag"
89550 || test ! -s conftest.err'
89551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89552 (eval $ac_try) 2>&5
89553 ac_status=$?
89554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89555 (exit $ac_status); }; } &&
89556 { ac_try='test -s conftest$ac_exeext'
89557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89558 (eval $ac_try) 2>&5
89559 ac_status=$?
89560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89561 (exit $ac_status); }; }; then
89562 eval "$as_ac_var=yes"
89563 else
89564 echo "$as_me: failed program was:" >&5
89565 sed 's/^/| /' conftest.$ac_ext >&5
89567 eval "$as_ac_var=no"
89569 rm -f conftest.err conftest.$ac_objext \
89570 conftest$ac_exeext conftest.$ac_ext
89572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89573 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89574 if test `eval echo '${'$as_ac_var'}'` = yes; then
89575 cat >>confdefs.h <<_ACEOF
89576 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89577 _ACEOF
89580 done
89582 else
89583 echo "$as_me:$LINENO: checking for _long double round functions" >&5
89584 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
89585 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
89586 echo $ECHO_N "(cached) $ECHO_C" >&6
89587 else
89591 ac_ext=cc
89592 ac_cpp='$CXXCPP $CPPFLAGS'
89593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89597 cat >conftest.$ac_ext <<_ACEOF
89598 /* confdefs.h. */
89599 _ACEOF
89600 cat confdefs.h >>conftest.$ac_ext
89601 cat >>conftest.$ac_ext <<_ACEOF
89602 /* end confdefs.h. */
89603 #include <math.h>
89605 main ()
89607 _ceill (0); _floorl (0);
89609 return 0;
89611 _ACEOF
89612 rm -f conftest.$ac_objext
89613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89614 (eval $ac_compile) 2>conftest.er1
89615 ac_status=$?
89616 grep -v '^ *+' conftest.er1 >conftest.err
89617 rm -f conftest.er1
89618 cat conftest.err >&5
89619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89620 (exit $ac_status); } &&
89621 { ac_try='test -z "$ac_cxx_werror_flag"
89622 || test ! -s conftest.err'
89623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89624 (eval $ac_try) 2>&5
89625 ac_status=$?
89626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89627 (exit $ac_status); }; } &&
89628 { ac_try='test -s conftest.$ac_objext'
89629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89630 (eval $ac_try) 2>&5
89631 ac_status=$?
89632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89633 (exit $ac_status); }; }; then
89634 glibcxx_cv_func__long_double_round_use=yes
89635 else
89636 echo "$as_me: failed program was:" >&5
89637 sed 's/^/| /' conftest.$ac_ext >&5
89639 glibcxx_cv_func__long_double_round_use=no
89641 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89642 ac_ext=c
89643 ac_cpp='$CPP $CPPFLAGS'
89644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89650 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
89651 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
89652 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
89655 for ac_func in _ceill _floorl
89657 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89658 echo "$as_me:$LINENO: checking for $ac_func" >&5
89659 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89660 if eval "test \"\${$as_ac_var+set}\" = set"; then
89661 echo $ECHO_N "(cached) $ECHO_C" >&6
89662 else
89663 if test x$gcc_no_link = xyes; then
89664 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89665 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89666 { (exit 1); exit 1; }; }
89668 cat >conftest.$ac_ext <<_ACEOF
89669 /* confdefs.h. */
89670 _ACEOF
89671 cat confdefs.h >>conftest.$ac_ext
89672 cat >>conftest.$ac_ext <<_ACEOF
89673 /* end confdefs.h. */
89674 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89675 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89676 #define $ac_func innocuous_$ac_func
89678 /* System header to define __stub macros and hopefully few prototypes,
89679 which can conflict with char $ac_func (); below.
89680 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89681 <limits.h> exists even on freestanding compilers. */
89683 #ifdef __STDC__
89684 # include <limits.h>
89685 #else
89686 # include <assert.h>
89687 #endif
89689 #undef $ac_func
89691 /* Override any gcc2 internal prototype to avoid an error. */
89692 #ifdef __cplusplus
89693 extern "C"
89695 #endif
89696 /* We use char because int might match the return type of a gcc2
89697 builtin and then its argument prototype would still apply. */
89698 char $ac_func ();
89699 /* The GNU C library defines this for functions which it implements
89700 to always fail with ENOSYS. Some functions are actually named
89701 something starting with __ and the normal name is an alias. */
89702 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89703 choke me
89704 #else
89705 char (*f) () = $ac_func;
89706 #endif
89707 #ifdef __cplusplus
89709 #endif
89712 main ()
89714 return f != $ac_func;
89716 return 0;
89718 _ACEOF
89719 rm -f conftest.$ac_objext conftest$ac_exeext
89720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89721 (eval $ac_link) 2>conftest.er1
89722 ac_status=$?
89723 grep -v '^ *+' conftest.er1 >conftest.err
89724 rm -f conftest.er1
89725 cat conftest.err >&5
89726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89727 (exit $ac_status); } &&
89728 { ac_try='test -z "$ac_c_werror_flag"
89729 || test ! -s conftest.err'
89730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89731 (eval $ac_try) 2>&5
89732 ac_status=$?
89733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89734 (exit $ac_status); }; } &&
89735 { ac_try='test -s conftest$ac_exeext'
89736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89737 (eval $ac_try) 2>&5
89738 ac_status=$?
89739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89740 (exit $ac_status); }; }; then
89741 eval "$as_ac_var=yes"
89742 else
89743 echo "$as_me: failed program was:" >&5
89744 sed 's/^/| /' conftest.$ac_ext >&5
89746 eval "$as_ac_var=no"
89748 rm -f conftest.err conftest.$ac_objext \
89749 conftest$ac_exeext conftest.$ac_ext
89751 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89752 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89753 if test `eval echo '${'$as_ac_var'}'` = yes; then
89754 cat >>confdefs.h <<_ACEOF
89755 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89756 _ACEOF
89759 done
89771 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
89772 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
89773 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
89774 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
89775 echo $ECHO_N "(cached) $ECHO_C" >&6
89776 else
89780 ac_ext=cc
89781 ac_cpp='$CXXCPP $CPPFLAGS'
89782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89786 cat >conftest.$ac_ext <<_ACEOF
89787 /* confdefs.h. */
89788 _ACEOF
89789 cat confdefs.h >>conftest.$ac_ext
89790 cat >>conftest.$ac_ext <<_ACEOF
89791 /* end confdefs.h. */
89792 #include <math.h>
89793 #ifdef HAVE_IEEEFP_H
89794 #include <ieeefp.h>
89795 #endif
89798 main ()
89800 isnanl(0);
89802 return 0;
89804 _ACEOF
89805 rm -f conftest.$ac_objext
89806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89807 (eval $ac_compile) 2>conftest.er1
89808 ac_status=$?
89809 grep -v '^ *+' conftest.er1 >conftest.err
89810 rm -f conftest.er1
89811 cat conftest.err >&5
89812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89813 (exit $ac_status); } &&
89814 { ac_try='test -z "$ac_cxx_werror_flag"
89815 || test ! -s conftest.err'
89816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89817 (eval $ac_try) 2>&5
89818 ac_status=$?
89819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89820 (exit $ac_status); }; } &&
89821 { ac_try='test -s conftest.$ac_objext'
89822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89823 (eval $ac_try) 2>&5
89824 ac_status=$?
89825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89826 (exit $ac_status); }; }; then
89827 glibcxx_cv_func_isnanl_use=yes
89828 else
89829 echo "$as_me: failed program was:" >&5
89830 sed 's/^/| /' conftest.$ac_ext >&5
89832 glibcxx_cv_func_isnanl_use=no
89834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89835 ac_ext=c
89836 ac_cpp='$CPP $CPPFLAGS'
89837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89845 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
89846 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
89848 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
89850 for ac_func in isnanl
89852 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89853 echo "$as_me:$LINENO: checking for $ac_func" >&5
89854 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89855 if eval "test \"\${$as_ac_var+set}\" = set"; then
89856 echo $ECHO_N "(cached) $ECHO_C" >&6
89857 else
89858 if test x$gcc_no_link = xyes; then
89859 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89860 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89861 { (exit 1); exit 1; }; }
89863 cat >conftest.$ac_ext <<_ACEOF
89864 /* confdefs.h. */
89865 _ACEOF
89866 cat confdefs.h >>conftest.$ac_ext
89867 cat >>conftest.$ac_ext <<_ACEOF
89868 /* end confdefs.h. */
89869 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89870 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89871 #define $ac_func innocuous_$ac_func
89873 /* System header to define __stub macros and hopefully few prototypes,
89874 which can conflict with char $ac_func (); below.
89875 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89876 <limits.h> exists even on freestanding compilers. */
89878 #ifdef __STDC__
89879 # include <limits.h>
89880 #else
89881 # include <assert.h>
89882 #endif
89884 #undef $ac_func
89886 /* Override any gcc2 internal prototype to avoid an error. */
89887 #ifdef __cplusplus
89888 extern "C"
89890 #endif
89891 /* We use char because int might match the return type of a gcc2
89892 builtin and then its argument prototype would still apply. */
89893 char $ac_func ();
89894 /* The GNU C library defines this for functions which it implements
89895 to always fail with ENOSYS. Some functions are actually named
89896 something starting with __ and the normal name is an alias. */
89897 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89898 choke me
89899 #else
89900 char (*f) () = $ac_func;
89901 #endif
89902 #ifdef __cplusplus
89904 #endif
89907 main ()
89909 return f != $ac_func;
89911 return 0;
89913 _ACEOF
89914 rm -f conftest.$ac_objext conftest$ac_exeext
89915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89916 (eval $ac_link) 2>conftest.er1
89917 ac_status=$?
89918 grep -v '^ *+' conftest.er1 >conftest.err
89919 rm -f conftest.er1
89920 cat conftest.err >&5
89921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89922 (exit $ac_status); } &&
89923 { ac_try='test -z "$ac_c_werror_flag"
89924 || test ! -s conftest.err'
89925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89926 (eval $ac_try) 2>&5
89927 ac_status=$?
89928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89929 (exit $ac_status); }; } &&
89930 { ac_try='test -s conftest$ac_exeext'
89931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89932 (eval $ac_try) 2>&5
89933 ac_status=$?
89934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89935 (exit $ac_status); }; }; then
89936 eval "$as_ac_var=yes"
89937 else
89938 echo "$as_me: failed program was:" >&5
89939 sed 's/^/| /' conftest.$ac_ext >&5
89941 eval "$as_ac_var=no"
89943 rm -f conftest.err conftest.$ac_objext \
89944 conftest$ac_exeext conftest.$ac_ext
89946 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89947 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89948 if test `eval echo '${'$as_ac_var'}'` = yes; then
89949 cat >>confdefs.h <<_ACEOF
89950 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89951 _ACEOF
89954 done
89956 else
89958 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
89959 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
89960 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
89961 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
89962 echo $ECHO_N "(cached) $ECHO_C" >&6
89963 else
89967 ac_ext=cc
89968 ac_cpp='$CXXCPP $CPPFLAGS'
89969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89973 cat >conftest.$ac_ext <<_ACEOF
89974 /* confdefs.h. */
89975 _ACEOF
89976 cat confdefs.h >>conftest.$ac_ext
89977 cat >>conftest.$ac_ext <<_ACEOF
89978 /* end confdefs.h. */
89979 #include <math.h>
89980 #ifdef HAVE_IEEEFP_H
89981 #include <ieeefp.h>
89982 #endif
89985 main ()
89987 _isnanl(0);
89989 return 0;
89991 _ACEOF
89992 rm -f conftest.$ac_objext
89993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89994 (eval $ac_compile) 2>conftest.er1
89995 ac_status=$?
89996 grep -v '^ *+' conftest.er1 >conftest.err
89997 rm -f conftest.er1
89998 cat conftest.err >&5
89999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90000 (exit $ac_status); } &&
90001 { ac_try='test -z "$ac_cxx_werror_flag"
90002 || test ! -s conftest.err'
90003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90004 (eval $ac_try) 2>&5
90005 ac_status=$?
90006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90007 (exit $ac_status); }; } &&
90008 { ac_try='test -s conftest.$ac_objext'
90009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90010 (eval $ac_try) 2>&5
90011 ac_status=$?
90012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90013 (exit $ac_status); }; }; then
90014 glibcxx_cv_func__isnanl_use=yes
90015 else
90016 echo "$as_me: failed program was:" >&5
90017 sed 's/^/| /' conftest.$ac_ext >&5
90019 glibcxx_cv_func__isnanl_use=no
90021 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90022 ac_ext=c
90023 ac_cpp='$CPP $CPPFLAGS'
90024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90032 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
90033 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
90035 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
90037 for ac_func in _isnanl
90039 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90040 echo "$as_me:$LINENO: checking for $ac_func" >&5
90041 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90042 if eval "test \"\${$as_ac_var+set}\" = set"; then
90043 echo $ECHO_N "(cached) $ECHO_C" >&6
90044 else
90045 if test x$gcc_no_link = xyes; then
90046 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90047 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90048 { (exit 1); exit 1; }; }
90050 cat >conftest.$ac_ext <<_ACEOF
90051 /* confdefs.h. */
90052 _ACEOF
90053 cat confdefs.h >>conftest.$ac_ext
90054 cat >>conftest.$ac_ext <<_ACEOF
90055 /* end confdefs.h. */
90056 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90057 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90058 #define $ac_func innocuous_$ac_func
90060 /* System header to define __stub macros and hopefully few prototypes,
90061 which can conflict with char $ac_func (); below.
90062 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90063 <limits.h> exists even on freestanding compilers. */
90065 #ifdef __STDC__
90066 # include <limits.h>
90067 #else
90068 # include <assert.h>
90069 #endif
90071 #undef $ac_func
90073 /* Override any gcc2 internal prototype to avoid an error. */
90074 #ifdef __cplusplus
90075 extern "C"
90077 #endif
90078 /* We use char because int might match the return type of a gcc2
90079 builtin and then its argument prototype would still apply. */
90080 char $ac_func ();
90081 /* The GNU C library defines this for functions which it implements
90082 to always fail with ENOSYS. Some functions are actually named
90083 something starting with __ and the normal name is an alias. */
90084 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90085 choke me
90086 #else
90087 char (*f) () = $ac_func;
90088 #endif
90089 #ifdef __cplusplus
90091 #endif
90094 main ()
90096 return f != $ac_func;
90098 return 0;
90100 _ACEOF
90101 rm -f conftest.$ac_objext conftest$ac_exeext
90102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90103 (eval $ac_link) 2>conftest.er1
90104 ac_status=$?
90105 grep -v '^ *+' conftest.er1 >conftest.err
90106 rm -f conftest.er1
90107 cat conftest.err >&5
90108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90109 (exit $ac_status); } &&
90110 { ac_try='test -z "$ac_c_werror_flag"
90111 || test ! -s conftest.err'
90112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90113 (eval $ac_try) 2>&5
90114 ac_status=$?
90115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90116 (exit $ac_status); }; } &&
90117 { ac_try='test -s conftest$ac_exeext'
90118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90119 (eval $ac_try) 2>&5
90120 ac_status=$?
90121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90122 (exit $ac_status); }; }; then
90123 eval "$as_ac_var=yes"
90124 else
90125 echo "$as_me: failed program was:" >&5
90126 sed 's/^/| /' conftest.$ac_ext >&5
90128 eval "$as_ac_var=no"
90130 rm -f conftest.err conftest.$ac_objext \
90131 conftest$ac_exeext conftest.$ac_ext
90133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90134 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90135 if test `eval echo '${'$as_ac_var'}'` = yes; then
90136 cat >>confdefs.h <<_ACEOF
90137 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90138 _ACEOF
90141 done
90151 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
90152 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
90153 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
90154 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
90155 echo $ECHO_N "(cached) $ECHO_C" >&6
90156 else
90160 ac_ext=cc
90161 ac_cpp='$CXXCPP $CPPFLAGS'
90162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90166 cat >conftest.$ac_ext <<_ACEOF
90167 /* confdefs.h. */
90168 _ACEOF
90169 cat confdefs.h >>conftest.$ac_ext
90170 cat >>conftest.$ac_ext <<_ACEOF
90171 /* end confdefs.h. */
90172 #include <math.h>
90173 #ifdef HAVE_IEEEFP_H
90174 #include <ieeefp.h>
90175 #endif
90178 main ()
90180 isinfl(0);
90182 return 0;
90184 _ACEOF
90185 rm -f conftest.$ac_objext
90186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90187 (eval $ac_compile) 2>conftest.er1
90188 ac_status=$?
90189 grep -v '^ *+' conftest.er1 >conftest.err
90190 rm -f conftest.er1
90191 cat conftest.err >&5
90192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90193 (exit $ac_status); } &&
90194 { ac_try='test -z "$ac_cxx_werror_flag"
90195 || test ! -s conftest.err'
90196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90197 (eval $ac_try) 2>&5
90198 ac_status=$?
90199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90200 (exit $ac_status); }; } &&
90201 { ac_try='test -s conftest.$ac_objext'
90202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90203 (eval $ac_try) 2>&5
90204 ac_status=$?
90205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90206 (exit $ac_status); }; }; then
90207 glibcxx_cv_func_isinfl_use=yes
90208 else
90209 echo "$as_me: failed program was:" >&5
90210 sed 's/^/| /' conftest.$ac_ext >&5
90212 glibcxx_cv_func_isinfl_use=no
90214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90215 ac_ext=c
90216 ac_cpp='$CPP $CPPFLAGS'
90217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90225 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
90226 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
90228 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
90230 for ac_func in isinfl
90232 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90233 echo "$as_me:$LINENO: checking for $ac_func" >&5
90234 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90235 if eval "test \"\${$as_ac_var+set}\" = set"; then
90236 echo $ECHO_N "(cached) $ECHO_C" >&6
90237 else
90238 if test x$gcc_no_link = xyes; then
90239 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90240 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90241 { (exit 1); exit 1; }; }
90243 cat >conftest.$ac_ext <<_ACEOF
90244 /* confdefs.h. */
90245 _ACEOF
90246 cat confdefs.h >>conftest.$ac_ext
90247 cat >>conftest.$ac_ext <<_ACEOF
90248 /* end confdefs.h. */
90249 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90250 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90251 #define $ac_func innocuous_$ac_func
90253 /* System header to define __stub macros and hopefully few prototypes,
90254 which can conflict with char $ac_func (); below.
90255 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90256 <limits.h> exists even on freestanding compilers. */
90258 #ifdef __STDC__
90259 # include <limits.h>
90260 #else
90261 # include <assert.h>
90262 #endif
90264 #undef $ac_func
90266 /* Override any gcc2 internal prototype to avoid an error. */
90267 #ifdef __cplusplus
90268 extern "C"
90270 #endif
90271 /* We use char because int might match the return type of a gcc2
90272 builtin and then its argument prototype would still apply. */
90273 char $ac_func ();
90274 /* The GNU C library defines this for functions which it implements
90275 to always fail with ENOSYS. Some functions are actually named
90276 something starting with __ and the normal name is an alias. */
90277 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90278 choke me
90279 #else
90280 char (*f) () = $ac_func;
90281 #endif
90282 #ifdef __cplusplus
90284 #endif
90287 main ()
90289 return f != $ac_func;
90291 return 0;
90293 _ACEOF
90294 rm -f conftest.$ac_objext conftest$ac_exeext
90295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90296 (eval $ac_link) 2>conftest.er1
90297 ac_status=$?
90298 grep -v '^ *+' conftest.er1 >conftest.err
90299 rm -f conftest.er1
90300 cat conftest.err >&5
90301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90302 (exit $ac_status); } &&
90303 { ac_try='test -z "$ac_c_werror_flag"
90304 || test ! -s conftest.err'
90305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90306 (eval $ac_try) 2>&5
90307 ac_status=$?
90308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90309 (exit $ac_status); }; } &&
90310 { ac_try='test -s conftest$ac_exeext'
90311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90312 (eval $ac_try) 2>&5
90313 ac_status=$?
90314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90315 (exit $ac_status); }; }; then
90316 eval "$as_ac_var=yes"
90317 else
90318 echo "$as_me: failed program was:" >&5
90319 sed 's/^/| /' conftest.$ac_ext >&5
90321 eval "$as_ac_var=no"
90323 rm -f conftest.err conftest.$ac_objext \
90324 conftest$ac_exeext conftest.$ac_ext
90326 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90327 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90328 if test `eval echo '${'$as_ac_var'}'` = yes; then
90329 cat >>confdefs.h <<_ACEOF
90330 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90331 _ACEOF
90334 done
90336 else
90338 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
90339 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
90340 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
90341 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
90342 echo $ECHO_N "(cached) $ECHO_C" >&6
90343 else
90347 ac_ext=cc
90348 ac_cpp='$CXXCPP $CPPFLAGS'
90349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90353 cat >conftest.$ac_ext <<_ACEOF
90354 /* confdefs.h. */
90355 _ACEOF
90356 cat confdefs.h >>conftest.$ac_ext
90357 cat >>conftest.$ac_ext <<_ACEOF
90358 /* end confdefs.h. */
90359 #include <math.h>
90360 #ifdef HAVE_IEEEFP_H
90361 #include <ieeefp.h>
90362 #endif
90365 main ()
90367 _isinfl(0);
90369 return 0;
90371 _ACEOF
90372 rm -f conftest.$ac_objext
90373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90374 (eval $ac_compile) 2>conftest.er1
90375 ac_status=$?
90376 grep -v '^ *+' conftest.er1 >conftest.err
90377 rm -f conftest.er1
90378 cat conftest.err >&5
90379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90380 (exit $ac_status); } &&
90381 { ac_try='test -z "$ac_cxx_werror_flag"
90382 || test ! -s conftest.err'
90383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90384 (eval $ac_try) 2>&5
90385 ac_status=$?
90386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90387 (exit $ac_status); }; } &&
90388 { ac_try='test -s conftest.$ac_objext'
90389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90390 (eval $ac_try) 2>&5
90391 ac_status=$?
90392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90393 (exit $ac_status); }; }; then
90394 glibcxx_cv_func__isinfl_use=yes
90395 else
90396 echo "$as_me: failed program was:" >&5
90397 sed 's/^/| /' conftest.$ac_ext >&5
90399 glibcxx_cv_func__isinfl_use=no
90401 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90402 ac_ext=c
90403 ac_cpp='$CPP $CPPFLAGS'
90404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90412 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
90413 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
90415 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
90417 for ac_func in _isinfl
90419 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90420 echo "$as_me:$LINENO: checking for $ac_func" >&5
90421 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90422 if eval "test \"\${$as_ac_var+set}\" = set"; then
90423 echo $ECHO_N "(cached) $ECHO_C" >&6
90424 else
90425 if test x$gcc_no_link = xyes; then
90426 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90427 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90428 { (exit 1); exit 1; }; }
90430 cat >conftest.$ac_ext <<_ACEOF
90431 /* confdefs.h. */
90432 _ACEOF
90433 cat confdefs.h >>conftest.$ac_ext
90434 cat >>conftest.$ac_ext <<_ACEOF
90435 /* end confdefs.h. */
90436 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90437 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90438 #define $ac_func innocuous_$ac_func
90440 /* System header to define __stub macros and hopefully few prototypes,
90441 which can conflict with char $ac_func (); below.
90442 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90443 <limits.h> exists even on freestanding compilers. */
90445 #ifdef __STDC__
90446 # include <limits.h>
90447 #else
90448 # include <assert.h>
90449 #endif
90451 #undef $ac_func
90453 /* Override any gcc2 internal prototype to avoid an error. */
90454 #ifdef __cplusplus
90455 extern "C"
90457 #endif
90458 /* We use char because int might match the return type of a gcc2
90459 builtin and then its argument prototype would still apply. */
90460 char $ac_func ();
90461 /* The GNU C library defines this for functions which it implements
90462 to always fail with ENOSYS. Some functions are actually named
90463 something starting with __ and the normal name is an alias. */
90464 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90465 choke me
90466 #else
90467 char (*f) () = $ac_func;
90468 #endif
90469 #ifdef __cplusplus
90471 #endif
90474 main ()
90476 return f != $ac_func;
90478 return 0;
90480 _ACEOF
90481 rm -f conftest.$ac_objext conftest$ac_exeext
90482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90483 (eval $ac_link) 2>conftest.er1
90484 ac_status=$?
90485 grep -v '^ *+' conftest.er1 >conftest.err
90486 rm -f conftest.er1
90487 cat conftest.err >&5
90488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90489 (exit $ac_status); } &&
90490 { ac_try='test -z "$ac_c_werror_flag"
90491 || test ! -s conftest.err'
90492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90493 (eval $ac_try) 2>&5
90494 ac_status=$?
90495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90496 (exit $ac_status); }; } &&
90497 { ac_try='test -s conftest$ac_exeext'
90498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90499 (eval $ac_try) 2>&5
90500 ac_status=$?
90501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90502 (exit $ac_status); }; }; then
90503 eval "$as_ac_var=yes"
90504 else
90505 echo "$as_me: failed program was:" >&5
90506 sed 's/^/| /' conftest.$ac_ext >&5
90508 eval "$as_ac_var=no"
90510 rm -f conftest.err conftest.$ac_objext \
90511 conftest$ac_exeext conftest.$ac_ext
90513 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90514 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90515 if test `eval echo '${'$as_ac_var'}'` = yes; then
90516 cat >>confdefs.h <<_ACEOF
90517 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90518 _ACEOF
90521 done
90531 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
90532 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
90533 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
90534 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
90535 echo $ECHO_N "(cached) $ECHO_C" >&6
90536 else
90540 ac_ext=cc
90541 ac_cpp='$CXXCPP $CPPFLAGS'
90542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90546 cat >conftest.$ac_ext <<_ACEOF
90547 /* confdefs.h. */
90548 _ACEOF
90549 cat confdefs.h >>conftest.$ac_ext
90550 cat >>conftest.$ac_ext <<_ACEOF
90551 /* end confdefs.h. */
90552 #include <math.h>
90554 main ()
90556 copysignl(0, 0);
90558 return 0;
90560 _ACEOF
90561 rm -f conftest.$ac_objext
90562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90563 (eval $ac_compile) 2>conftest.er1
90564 ac_status=$?
90565 grep -v '^ *+' conftest.er1 >conftest.err
90566 rm -f conftest.er1
90567 cat conftest.err >&5
90568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90569 (exit $ac_status); } &&
90570 { ac_try='test -z "$ac_cxx_werror_flag"
90571 || test ! -s conftest.err'
90572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90573 (eval $ac_try) 2>&5
90574 ac_status=$?
90575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90576 (exit $ac_status); }; } &&
90577 { ac_try='test -s conftest.$ac_objext'
90578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90579 (eval $ac_try) 2>&5
90580 ac_status=$?
90581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90582 (exit $ac_status); }; }; then
90583 glibcxx_cv_func_copysignl_use=yes
90584 else
90585 echo "$as_me: failed program was:" >&5
90586 sed 's/^/| /' conftest.$ac_ext >&5
90588 glibcxx_cv_func_copysignl_use=no
90590 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90591 ac_ext=c
90592 ac_cpp='$CPP $CPPFLAGS'
90593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90601 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
90602 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
90604 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
90606 for ac_func in copysignl
90608 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90609 echo "$as_me:$LINENO: checking for $ac_func" >&5
90610 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90611 if eval "test \"\${$as_ac_var+set}\" = set"; then
90612 echo $ECHO_N "(cached) $ECHO_C" >&6
90613 else
90614 if test x$gcc_no_link = xyes; then
90615 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90616 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90617 { (exit 1); exit 1; }; }
90619 cat >conftest.$ac_ext <<_ACEOF
90620 /* confdefs.h. */
90621 _ACEOF
90622 cat confdefs.h >>conftest.$ac_ext
90623 cat >>conftest.$ac_ext <<_ACEOF
90624 /* end confdefs.h. */
90625 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90626 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90627 #define $ac_func innocuous_$ac_func
90629 /* System header to define __stub macros and hopefully few prototypes,
90630 which can conflict with char $ac_func (); below.
90631 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90632 <limits.h> exists even on freestanding compilers. */
90634 #ifdef __STDC__
90635 # include <limits.h>
90636 #else
90637 # include <assert.h>
90638 #endif
90640 #undef $ac_func
90642 /* Override any gcc2 internal prototype to avoid an error. */
90643 #ifdef __cplusplus
90644 extern "C"
90646 #endif
90647 /* We use char because int might match the return type of a gcc2
90648 builtin and then its argument prototype would still apply. */
90649 char $ac_func ();
90650 /* The GNU C library defines this for functions which it implements
90651 to always fail with ENOSYS. Some functions are actually named
90652 something starting with __ and the normal name is an alias. */
90653 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90654 choke me
90655 #else
90656 char (*f) () = $ac_func;
90657 #endif
90658 #ifdef __cplusplus
90660 #endif
90663 main ()
90665 return f != $ac_func;
90667 return 0;
90669 _ACEOF
90670 rm -f conftest.$ac_objext conftest$ac_exeext
90671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90672 (eval $ac_link) 2>conftest.er1
90673 ac_status=$?
90674 grep -v '^ *+' conftest.er1 >conftest.err
90675 rm -f conftest.er1
90676 cat conftest.err >&5
90677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90678 (exit $ac_status); } &&
90679 { ac_try='test -z "$ac_c_werror_flag"
90680 || test ! -s conftest.err'
90681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90682 (eval $ac_try) 2>&5
90683 ac_status=$?
90684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90685 (exit $ac_status); }; } &&
90686 { ac_try='test -s conftest$ac_exeext'
90687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90688 (eval $ac_try) 2>&5
90689 ac_status=$?
90690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90691 (exit $ac_status); }; }; then
90692 eval "$as_ac_var=yes"
90693 else
90694 echo "$as_me: failed program was:" >&5
90695 sed 's/^/| /' conftest.$ac_ext >&5
90697 eval "$as_ac_var=no"
90699 rm -f conftest.err conftest.$ac_objext \
90700 conftest$ac_exeext conftest.$ac_ext
90702 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90703 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90704 if test `eval echo '${'$as_ac_var'}'` = yes; then
90705 cat >>confdefs.h <<_ACEOF
90706 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90707 _ACEOF
90710 done
90712 else
90714 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
90715 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
90716 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
90717 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
90718 echo $ECHO_N "(cached) $ECHO_C" >&6
90719 else
90723 ac_ext=cc
90724 ac_cpp='$CXXCPP $CPPFLAGS'
90725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90729 cat >conftest.$ac_ext <<_ACEOF
90730 /* confdefs.h. */
90731 _ACEOF
90732 cat confdefs.h >>conftest.$ac_ext
90733 cat >>conftest.$ac_ext <<_ACEOF
90734 /* end confdefs.h. */
90735 #include <math.h>
90737 main ()
90739 _copysignl(0, 0);
90741 return 0;
90743 _ACEOF
90744 rm -f conftest.$ac_objext
90745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90746 (eval $ac_compile) 2>conftest.er1
90747 ac_status=$?
90748 grep -v '^ *+' conftest.er1 >conftest.err
90749 rm -f conftest.er1
90750 cat conftest.err >&5
90751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90752 (exit $ac_status); } &&
90753 { ac_try='test -z "$ac_cxx_werror_flag"
90754 || test ! -s conftest.err'
90755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90756 (eval $ac_try) 2>&5
90757 ac_status=$?
90758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90759 (exit $ac_status); }; } &&
90760 { ac_try='test -s conftest.$ac_objext'
90761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90762 (eval $ac_try) 2>&5
90763 ac_status=$?
90764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90765 (exit $ac_status); }; }; then
90766 glibcxx_cv_func__copysignl_use=yes
90767 else
90768 echo "$as_me: failed program was:" >&5
90769 sed 's/^/| /' conftest.$ac_ext >&5
90771 glibcxx_cv_func__copysignl_use=no
90773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90774 ac_ext=c
90775 ac_cpp='$CPP $CPPFLAGS'
90776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90784 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
90785 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
90787 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
90789 for ac_func in _copysignl
90791 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90792 echo "$as_me:$LINENO: checking for $ac_func" >&5
90793 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90794 if eval "test \"\${$as_ac_var+set}\" = set"; then
90795 echo $ECHO_N "(cached) $ECHO_C" >&6
90796 else
90797 if test x$gcc_no_link = xyes; then
90798 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90799 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90800 { (exit 1); exit 1; }; }
90802 cat >conftest.$ac_ext <<_ACEOF
90803 /* confdefs.h. */
90804 _ACEOF
90805 cat confdefs.h >>conftest.$ac_ext
90806 cat >>conftest.$ac_ext <<_ACEOF
90807 /* end confdefs.h. */
90808 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90809 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90810 #define $ac_func innocuous_$ac_func
90812 /* System header to define __stub macros and hopefully few prototypes,
90813 which can conflict with char $ac_func (); below.
90814 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90815 <limits.h> exists even on freestanding compilers. */
90817 #ifdef __STDC__
90818 # include <limits.h>
90819 #else
90820 # include <assert.h>
90821 #endif
90823 #undef $ac_func
90825 /* Override any gcc2 internal prototype to avoid an error. */
90826 #ifdef __cplusplus
90827 extern "C"
90829 #endif
90830 /* We use char because int might match the return type of a gcc2
90831 builtin and then its argument prototype would still apply. */
90832 char $ac_func ();
90833 /* The GNU C library defines this for functions which it implements
90834 to always fail with ENOSYS. Some functions are actually named
90835 something starting with __ and the normal name is an alias. */
90836 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90837 choke me
90838 #else
90839 char (*f) () = $ac_func;
90840 #endif
90841 #ifdef __cplusplus
90843 #endif
90846 main ()
90848 return f != $ac_func;
90850 return 0;
90852 _ACEOF
90853 rm -f conftest.$ac_objext conftest$ac_exeext
90854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90855 (eval $ac_link) 2>conftest.er1
90856 ac_status=$?
90857 grep -v '^ *+' conftest.er1 >conftest.err
90858 rm -f conftest.er1
90859 cat conftest.err >&5
90860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90861 (exit $ac_status); } &&
90862 { ac_try='test -z "$ac_c_werror_flag"
90863 || test ! -s conftest.err'
90864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90865 (eval $ac_try) 2>&5
90866 ac_status=$?
90867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90868 (exit $ac_status); }; } &&
90869 { ac_try='test -s conftest$ac_exeext'
90870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90871 (eval $ac_try) 2>&5
90872 ac_status=$?
90873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90874 (exit $ac_status); }; }; then
90875 eval "$as_ac_var=yes"
90876 else
90877 echo "$as_me: failed program was:" >&5
90878 sed 's/^/| /' conftest.$ac_ext >&5
90880 eval "$as_ac_var=no"
90882 rm -f conftest.err conftest.$ac_objext \
90883 conftest$ac_exeext conftest.$ac_ext
90885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90886 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90887 if test `eval echo '${'$as_ac_var'}'` = yes; then
90888 cat >>confdefs.h <<_ACEOF
90889 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90890 _ACEOF
90893 done
90903 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
90904 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
90905 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
90906 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
90907 echo $ECHO_N "(cached) $ECHO_C" >&6
90908 else
90912 ac_ext=cc
90913 ac_cpp='$CXXCPP $CPPFLAGS'
90914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90918 cat >conftest.$ac_ext <<_ACEOF
90919 /* confdefs.h. */
90920 _ACEOF
90921 cat confdefs.h >>conftest.$ac_ext
90922 cat >>conftest.$ac_ext <<_ACEOF
90923 /* end confdefs.h. */
90924 #include <math.h>
90926 main ()
90928 atan2l(0, 0);
90930 return 0;
90932 _ACEOF
90933 rm -f conftest.$ac_objext
90934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90935 (eval $ac_compile) 2>conftest.er1
90936 ac_status=$?
90937 grep -v '^ *+' conftest.er1 >conftest.err
90938 rm -f conftest.er1
90939 cat conftest.err >&5
90940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90941 (exit $ac_status); } &&
90942 { ac_try='test -z "$ac_cxx_werror_flag"
90943 || test ! -s conftest.err'
90944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90945 (eval $ac_try) 2>&5
90946 ac_status=$?
90947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90948 (exit $ac_status); }; } &&
90949 { ac_try='test -s conftest.$ac_objext'
90950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90951 (eval $ac_try) 2>&5
90952 ac_status=$?
90953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90954 (exit $ac_status); }; }; then
90955 glibcxx_cv_func_atan2l_use=yes
90956 else
90957 echo "$as_me: failed program was:" >&5
90958 sed 's/^/| /' conftest.$ac_ext >&5
90960 glibcxx_cv_func_atan2l_use=no
90962 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90963 ac_ext=c
90964 ac_cpp='$CPP $CPPFLAGS'
90965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90973 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
90974 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
90976 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
90978 for ac_func in atan2l
90980 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90981 echo "$as_me:$LINENO: checking for $ac_func" >&5
90982 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90983 if eval "test \"\${$as_ac_var+set}\" = set"; then
90984 echo $ECHO_N "(cached) $ECHO_C" >&6
90985 else
90986 if test x$gcc_no_link = xyes; then
90987 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90988 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90989 { (exit 1); exit 1; }; }
90991 cat >conftest.$ac_ext <<_ACEOF
90992 /* confdefs.h. */
90993 _ACEOF
90994 cat confdefs.h >>conftest.$ac_ext
90995 cat >>conftest.$ac_ext <<_ACEOF
90996 /* end confdefs.h. */
90997 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90998 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90999 #define $ac_func innocuous_$ac_func
91001 /* System header to define __stub macros and hopefully few prototypes,
91002 which can conflict with char $ac_func (); below.
91003 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91004 <limits.h> exists even on freestanding compilers. */
91006 #ifdef __STDC__
91007 # include <limits.h>
91008 #else
91009 # include <assert.h>
91010 #endif
91012 #undef $ac_func
91014 /* Override any gcc2 internal prototype to avoid an error. */
91015 #ifdef __cplusplus
91016 extern "C"
91018 #endif
91019 /* We use char because int might match the return type of a gcc2
91020 builtin and then its argument prototype would still apply. */
91021 char $ac_func ();
91022 /* The GNU C library defines this for functions which it implements
91023 to always fail with ENOSYS. Some functions are actually named
91024 something starting with __ and the normal name is an alias. */
91025 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91026 choke me
91027 #else
91028 char (*f) () = $ac_func;
91029 #endif
91030 #ifdef __cplusplus
91032 #endif
91035 main ()
91037 return f != $ac_func;
91039 return 0;
91041 _ACEOF
91042 rm -f conftest.$ac_objext conftest$ac_exeext
91043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91044 (eval $ac_link) 2>conftest.er1
91045 ac_status=$?
91046 grep -v '^ *+' conftest.er1 >conftest.err
91047 rm -f conftest.er1
91048 cat conftest.err >&5
91049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91050 (exit $ac_status); } &&
91051 { ac_try='test -z "$ac_c_werror_flag"
91052 || test ! -s conftest.err'
91053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91054 (eval $ac_try) 2>&5
91055 ac_status=$?
91056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91057 (exit $ac_status); }; } &&
91058 { ac_try='test -s conftest$ac_exeext'
91059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91060 (eval $ac_try) 2>&5
91061 ac_status=$?
91062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91063 (exit $ac_status); }; }; then
91064 eval "$as_ac_var=yes"
91065 else
91066 echo "$as_me: failed program was:" >&5
91067 sed 's/^/| /' conftest.$ac_ext >&5
91069 eval "$as_ac_var=no"
91071 rm -f conftest.err conftest.$ac_objext \
91072 conftest$ac_exeext conftest.$ac_ext
91074 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91075 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91076 if test `eval echo '${'$as_ac_var'}'` = yes; then
91077 cat >>confdefs.h <<_ACEOF
91078 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91079 _ACEOF
91082 done
91084 else
91086 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
91087 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
91088 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
91089 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
91090 echo $ECHO_N "(cached) $ECHO_C" >&6
91091 else
91095 ac_ext=cc
91096 ac_cpp='$CXXCPP $CPPFLAGS'
91097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91101 cat >conftest.$ac_ext <<_ACEOF
91102 /* confdefs.h. */
91103 _ACEOF
91104 cat confdefs.h >>conftest.$ac_ext
91105 cat >>conftest.$ac_ext <<_ACEOF
91106 /* end confdefs.h. */
91107 #include <math.h>
91109 main ()
91111 _atan2l(0, 0);
91113 return 0;
91115 _ACEOF
91116 rm -f conftest.$ac_objext
91117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91118 (eval $ac_compile) 2>conftest.er1
91119 ac_status=$?
91120 grep -v '^ *+' conftest.er1 >conftest.err
91121 rm -f conftest.er1
91122 cat conftest.err >&5
91123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91124 (exit $ac_status); } &&
91125 { ac_try='test -z "$ac_cxx_werror_flag"
91126 || test ! -s conftest.err'
91127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91128 (eval $ac_try) 2>&5
91129 ac_status=$?
91130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91131 (exit $ac_status); }; } &&
91132 { ac_try='test -s conftest.$ac_objext'
91133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91134 (eval $ac_try) 2>&5
91135 ac_status=$?
91136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91137 (exit $ac_status); }; }; then
91138 glibcxx_cv_func__atan2l_use=yes
91139 else
91140 echo "$as_me: failed program was:" >&5
91141 sed 's/^/| /' conftest.$ac_ext >&5
91143 glibcxx_cv_func__atan2l_use=no
91145 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91146 ac_ext=c
91147 ac_cpp='$CPP $CPPFLAGS'
91148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91156 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
91157 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
91159 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
91161 for ac_func in _atan2l
91163 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91164 echo "$as_me:$LINENO: checking for $ac_func" >&5
91165 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91166 if eval "test \"\${$as_ac_var+set}\" = set"; then
91167 echo $ECHO_N "(cached) $ECHO_C" >&6
91168 else
91169 if test x$gcc_no_link = xyes; then
91170 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91171 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91172 { (exit 1); exit 1; }; }
91174 cat >conftest.$ac_ext <<_ACEOF
91175 /* confdefs.h. */
91176 _ACEOF
91177 cat confdefs.h >>conftest.$ac_ext
91178 cat >>conftest.$ac_ext <<_ACEOF
91179 /* end confdefs.h. */
91180 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91181 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91182 #define $ac_func innocuous_$ac_func
91184 /* System header to define __stub macros and hopefully few prototypes,
91185 which can conflict with char $ac_func (); below.
91186 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91187 <limits.h> exists even on freestanding compilers. */
91189 #ifdef __STDC__
91190 # include <limits.h>
91191 #else
91192 # include <assert.h>
91193 #endif
91195 #undef $ac_func
91197 /* Override any gcc2 internal prototype to avoid an error. */
91198 #ifdef __cplusplus
91199 extern "C"
91201 #endif
91202 /* We use char because int might match the return type of a gcc2
91203 builtin and then its argument prototype would still apply. */
91204 char $ac_func ();
91205 /* The GNU C library defines this for functions which it implements
91206 to always fail with ENOSYS. Some functions are actually named
91207 something starting with __ and the normal name is an alias. */
91208 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91209 choke me
91210 #else
91211 char (*f) () = $ac_func;
91212 #endif
91213 #ifdef __cplusplus
91215 #endif
91218 main ()
91220 return f != $ac_func;
91222 return 0;
91224 _ACEOF
91225 rm -f conftest.$ac_objext conftest$ac_exeext
91226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91227 (eval $ac_link) 2>conftest.er1
91228 ac_status=$?
91229 grep -v '^ *+' conftest.er1 >conftest.err
91230 rm -f conftest.er1
91231 cat conftest.err >&5
91232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91233 (exit $ac_status); } &&
91234 { ac_try='test -z "$ac_c_werror_flag"
91235 || test ! -s conftest.err'
91236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91237 (eval $ac_try) 2>&5
91238 ac_status=$?
91239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91240 (exit $ac_status); }; } &&
91241 { ac_try='test -s conftest$ac_exeext'
91242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91243 (eval $ac_try) 2>&5
91244 ac_status=$?
91245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91246 (exit $ac_status); }; }; then
91247 eval "$as_ac_var=yes"
91248 else
91249 echo "$as_me: failed program was:" >&5
91250 sed 's/^/| /' conftest.$ac_ext >&5
91252 eval "$as_ac_var=no"
91254 rm -f conftest.err conftest.$ac_objext \
91255 conftest$ac_exeext conftest.$ac_ext
91257 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91258 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91259 if test `eval echo '${'$as_ac_var'}'` = yes; then
91260 cat >>confdefs.h <<_ACEOF
91261 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91262 _ACEOF
91265 done
91275 echo "$as_me:$LINENO: checking for expl declaration" >&5
91276 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
91277 if test x${glibcxx_cv_func_expl_use+set} != xset; then
91278 if test "${glibcxx_cv_func_expl_use+set}" = set; then
91279 echo $ECHO_N "(cached) $ECHO_C" >&6
91280 else
91284 ac_ext=cc
91285 ac_cpp='$CXXCPP $CPPFLAGS'
91286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91290 cat >conftest.$ac_ext <<_ACEOF
91291 /* confdefs.h. */
91292 _ACEOF
91293 cat confdefs.h >>conftest.$ac_ext
91294 cat >>conftest.$ac_ext <<_ACEOF
91295 /* end confdefs.h. */
91296 #include <math.h>
91297 #ifdef HAVE_IEEEFP_H
91298 #include <ieeefp.h>
91299 #endif
91302 main ()
91304 expl(0);
91306 return 0;
91308 _ACEOF
91309 rm -f conftest.$ac_objext
91310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91311 (eval $ac_compile) 2>conftest.er1
91312 ac_status=$?
91313 grep -v '^ *+' conftest.er1 >conftest.err
91314 rm -f conftest.er1
91315 cat conftest.err >&5
91316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91317 (exit $ac_status); } &&
91318 { ac_try='test -z "$ac_cxx_werror_flag"
91319 || test ! -s conftest.err'
91320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91321 (eval $ac_try) 2>&5
91322 ac_status=$?
91323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91324 (exit $ac_status); }; } &&
91325 { ac_try='test -s conftest.$ac_objext'
91326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91327 (eval $ac_try) 2>&5
91328 ac_status=$?
91329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91330 (exit $ac_status); }; }; then
91331 glibcxx_cv_func_expl_use=yes
91332 else
91333 echo "$as_me: failed program was:" >&5
91334 sed 's/^/| /' conftest.$ac_ext >&5
91336 glibcxx_cv_func_expl_use=no
91338 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91339 ac_ext=c
91340 ac_cpp='$CPP $CPPFLAGS'
91341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91349 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
91350 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
91352 if test x$glibcxx_cv_func_expl_use = x"yes"; then
91354 for ac_func in expl
91356 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91357 echo "$as_me:$LINENO: checking for $ac_func" >&5
91358 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91359 if eval "test \"\${$as_ac_var+set}\" = set"; then
91360 echo $ECHO_N "(cached) $ECHO_C" >&6
91361 else
91362 if test x$gcc_no_link = xyes; then
91363 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91364 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91365 { (exit 1); exit 1; }; }
91367 cat >conftest.$ac_ext <<_ACEOF
91368 /* confdefs.h. */
91369 _ACEOF
91370 cat confdefs.h >>conftest.$ac_ext
91371 cat >>conftest.$ac_ext <<_ACEOF
91372 /* end confdefs.h. */
91373 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91374 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91375 #define $ac_func innocuous_$ac_func
91377 /* System header to define __stub macros and hopefully few prototypes,
91378 which can conflict with char $ac_func (); below.
91379 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91380 <limits.h> exists even on freestanding compilers. */
91382 #ifdef __STDC__
91383 # include <limits.h>
91384 #else
91385 # include <assert.h>
91386 #endif
91388 #undef $ac_func
91390 /* Override any gcc2 internal prototype to avoid an error. */
91391 #ifdef __cplusplus
91392 extern "C"
91394 #endif
91395 /* We use char because int might match the return type of a gcc2
91396 builtin and then its argument prototype would still apply. */
91397 char $ac_func ();
91398 /* The GNU C library defines this for functions which it implements
91399 to always fail with ENOSYS. Some functions are actually named
91400 something starting with __ and the normal name is an alias. */
91401 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91402 choke me
91403 #else
91404 char (*f) () = $ac_func;
91405 #endif
91406 #ifdef __cplusplus
91408 #endif
91411 main ()
91413 return f != $ac_func;
91415 return 0;
91417 _ACEOF
91418 rm -f conftest.$ac_objext conftest$ac_exeext
91419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91420 (eval $ac_link) 2>conftest.er1
91421 ac_status=$?
91422 grep -v '^ *+' conftest.er1 >conftest.err
91423 rm -f conftest.er1
91424 cat conftest.err >&5
91425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91426 (exit $ac_status); } &&
91427 { ac_try='test -z "$ac_c_werror_flag"
91428 || test ! -s conftest.err'
91429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91430 (eval $ac_try) 2>&5
91431 ac_status=$?
91432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91433 (exit $ac_status); }; } &&
91434 { ac_try='test -s conftest$ac_exeext'
91435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91436 (eval $ac_try) 2>&5
91437 ac_status=$?
91438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91439 (exit $ac_status); }; }; then
91440 eval "$as_ac_var=yes"
91441 else
91442 echo "$as_me: failed program was:" >&5
91443 sed 's/^/| /' conftest.$ac_ext >&5
91445 eval "$as_ac_var=no"
91447 rm -f conftest.err conftest.$ac_objext \
91448 conftest$ac_exeext conftest.$ac_ext
91450 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91451 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91452 if test `eval echo '${'$as_ac_var'}'` = yes; then
91453 cat >>confdefs.h <<_ACEOF
91454 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91455 _ACEOF
91458 done
91460 else
91462 echo "$as_me:$LINENO: checking for _expl declaration" >&5
91463 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
91464 if test x${glibcxx_cv_func__expl_use+set} != xset; then
91465 if test "${glibcxx_cv_func__expl_use+set}" = set; then
91466 echo $ECHO_N "(cached) $ECHO_C" >&6
91467 else
91471 ac_ext=cc
91472 ac_cpp='$CXXCPP $CPPFLAGS'
91473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91477 cat >conftest.$ac_ext <<_ACEOF
91478 /* confdefs.h. */
91479 _ACEOF
91480 cat confdefs.h >>conftest.$ac_ext
91481 cat >>conftest.$ac_ext <<_ACEOF
91482 /* end confdefs.h. */
91483 #include <math.h>
91484 #ifdef HAVE_IEEEFP_H
91485 #include <ieeefp.h>
91486 #endif
91489 main ()
91491 _expl(0);
91493 return 0;
91495 _ACEOF
91496 rm -f conftest.$ac_objext
91497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91498 (eval $ac_compile) 2>conftest.er1
91499 ac_status=$?
91500 grep -v '^ *+' conftest.er1 >conftest.err
91501 rm -f conftest.er1
91502 cat conftest.err >&5
91503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91504 (exit $ac_status); } &&
91505 { ac_try='test -z "$ac_cxx_werror_flag"
91506 || test ! -s conftest.err'
91507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91508 (eval $ac_try) 2>&5
91509 ac_status=$?
91510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91511 (exit $ac_status); }; } &&
91512 { ac_try='test -s conftest.$ac_objext'
91513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91514 (eval $ac_try) 2>&5
91515 ac_status=$?
91516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91517 (exit $ac_status); }; }; then
91518 glibcxx_cv_func__expl_use=yes
91519 else
91520 echo "$as_me: failed program was:" >&5
91521 sed 's/^/| /' conftest.$ac_ext >&5
91523 glibcxx_cv_func__expl_use=no
91525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91526 ac_ext=c
91527 ac_cpp='$CPP $CPPFLAGS'
91528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91536 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
91537 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
91539 if test x$glibcxx_cv_func__expl_use = x"yes"; then
91541 for ac_func in _expl
91543 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91544 echo "$as_me:$LINENO: checking for $ac_func" >&5
91545 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91546 if eval "test \"\${$as_ac_var+set}\" = set"; then
91547 echo $ECHO_N "(cached) $ECHO_C" >&6
91548 else
91549 if test x$gcc_no_link = xyes; then
91550 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91551 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91552 { (exit 1); exit 1; }; }
91554 cat >conftest.$ac_ext <<_ACEOF
91555 /* confdefs.h. */
91556 _ACEOF
91557 cat confdefs.h >>conftest.$ac_ext
91558 cat >>conftest.$ac_ext <<_ACEOF
91559 /* end confdefs.h. */
91560 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91561 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91562 #define $ac_func innocuous_$ac_func
91564 /* System header to define __stub macros and hopefully few prototypes,
91565 which can conflict with char $ac_func (); below.
91566 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91567 <limits.h> exists even on freestanding compilers. */
91569 #ifdef __STDC__
91570 # include <limits.h>
91571 #else
91572 # include <assert.h>
91573 #endif
91575 #undef $ac_func
91577 /* Override any gcc2 internal prototype to avoid an error. */
91578 #ifdef __cplusplus
91579 extern "C"
91581 #endif
91582 /* We use char because int might match the return type of a gcc2
91583 builtin and then its argument prototype would still apply. */
91584 char $ac_func ();
91585 /* The GNU C library defines this for functions which it implements
91586 to always fail with ENOSYS. Some functions are actually named
91587 something starting with __ and the normal name is an alias. */
91588 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91589 choke me
91590 #else
91591 char (*f) () = $ac_func;
91592 #endif
91593 #ifdef __cplusplus
91595 #endif
91598 main ()
91600 return f != $ac_func;
91602 return 0;
91604 _ACEOF
91605 rm -f conftest.$ac_objext conftest$ac_exeext
91606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91607 (eval $ac_link) 2>conftest.er1
91608 ac_status=$?
91609 grep -v '^ *+' conftest.er1 >conftest.err
91610 rm -f conftest.er1
91611 cat conftest.err >&5
91612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91613 (exit $ac_status); } &&
91614 { ac_try='test -z "$ac_c_werror_flag"
91615 || test ! -s conftest.err'
91616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91617 (eval $ac_try) 2>&5
91618 ac_status=$?
91619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91620 (exit $ac_status); }; } &&
91621 { ac_try='test -s conftest$ac_exeext'
91622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91623 (eval $ac_try) 2>&5
91624 ac_status=$?
91625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91626 (exit $ac_status); }; }; then
91627 eval "$as_ac_var=yes"
91628 else
91629 echo "$as_me: failed program was:" >&5
91630 sed 's/^/| /' conftest.$ac_ext >&5
91632 eval "$as_ac_var=no"
91634 rm -f conftest.err conftest.$ac_objext \
91635 conftest$ac_exeext conftest.$ac_ext
91637 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91638 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91639 if test `eval echo '${'$as_ac_var'}'` = yes; then
91640 cat >>confdefs.h <<_ACEOF
91641 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91642 _ACEOF
91645 done
91655 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
91656 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
91657 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
91658 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
91659 echo $ECHO_N "(cached) $ECHO_C" >&6
91660 else
91664 ac_ext=cc
91665 ac_cpp='$CXXCPP $CPPFLAGS'
91666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91670 cat >conftest.$ac_ext <<_ACEOF
91671 /* confdefs.h. */
91672 _ACEOF
91673 cat confdefs.h >>conftest.$ac_ext
91674 cat >>conftest.$ac_ext <<_ACEOF
91675 /* end confdefs.h. */
91676 #include <math.h>
91677 #ifdef HAVE_IEEEFP_H
91678 #include <ieeefp.h>
91679 #endif
91682 main ()
91684 fabsl(0);
91686 return 0;
91688 _ACEOF
91689 rm -f conftest.$ac_objext
91690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91691 (eval $ac_compile) 2>conftest.er1
91692 ac_status=$?
91693 grep -v '^ *+' conftest.er1 >conftest.err
91694 rm -f conftest.er1
91695 cat conftest.err >&5
91696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91697 (exit $ac_status); } &&
91698 { ac_try='test -z "$ac_cxx_werror_flag"
91699 || test ! -s conftest.err'
91700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91701 (eval $ac_try) 2>&5
91702 ac_status=$?
91703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91704 (exit $ac_status); }; } &&
91705 { ac_try='test -s conftest.$ac_objext'
91706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91707 (eval $ac_try) 2>&5
91708 ac_status=$?
91709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91710 (exit $ac_status); }; }; then
91711 glibcxx_cv_func_fabsl_use=yes
91712 else
91713 echo "$as_me: failed program was:" >&5
91714 sed 's/^/| /' conftest.$ac_ext >&5
91716 glibcxx_cv_func_fabsl_use=no
91718 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91719 ac_ext=c
91720 ac_cpp='$CPP $CPPFLAGS'
91721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91729 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
91730 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
91732 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
91734 for ac_func in fabsl
91736 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91737 echo "$as_me:$LINENO: checking for $ac_func" >&5
91738 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91739 if eval "test \"\${$as_ac_var+set}\" = set"; then
91740 echo $ECHO_N "(cached) $ECHO_C" >&6
91741 else
91742 if test x$gcc_no_link = xyes; then
91743 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91744 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91745 { (exit 1); exit 1; }; }
91747 cat >conftest.$ac_ext <<_ACEOF
91748 /* confdefs.h. */
91749 _ACEOF
91750 cat confdefs.h >>conftest.$ac_ext
91751 cat >>conftest.$ac_ext <<_ACEOF
91752 /* end confdefs.h. */
91753 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91754 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91755 #define $ac_func innocuous_$ac_func
91757 /* System header to define __stub macros and hopefully few prototypes,
91758 which can conflict with char $ac_func (); below.
91759 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91760 <limits.h> exists even on freestanding compilers. */
91762 #ifdef __STDC__
91763 # include <limits.h>
91764 #else
91765 # include <assert.h>
91766 #endif
91768 #undef $ac_func
91770 /* Override any gcc2 internal prototype to avoid an error. */
91771 #ifdef __cplusplus
91772 extern "C"
91774 #endif
91775 /* We use char because int might match the return type of a gcc2
91776 builtin and then its argument prototype would still apply. */
91777 char $ac_func ();
91778 /* The GNU C library defines this for functions which it implements
91779 to always fail with ENOSYS. Some functions are actually named
91780 something starting with __ and the normal name is an alias. */
91781 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91782 choke me
91783 #else
91784 char (*f) () = $ac_func;
91785 #endif
91786 #ifdef __cplusplus
91788 #endif
91791 main ()
91793 return f != $ac_func;
91795 return 0;
91797 _ACEOF
91798 rm -f conftest.$ac_objext conftest$ac_exeext
91799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91800 (eval $ac_link) 2>conftest.er1
91801 ac_status=$?
91802 grep -v '^ *+' conftest.er1 >conftest.err
91803 rm -f conftest.er1
91804 cat conftest.err >&5
91805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91806 (exit $ac_status); } &&
91807 { ac_try='test -z "$ac_c_werror_flag"
91808 || test ! -s conftest.err'
91809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91810 (eval $ac_try) 2>&5
91811 ac_status=$?
91812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91813 (exit $ac_status); }; } &&
91814 { ac_try='test -s conftest$ac_exeext'
91815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91816 (eval $ac_try) 2>&5
91817 ac_status=$?
91818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91819 (exit $ac_status); }; }; then
91820 eval "$as_ac_var=yes"
91821 else
91822 echo "$as_me: failed program was:" >&5
91823 sed 's/^/| /' conftest.$ac_ext >&5
91825 eval "$as_ac_var=no"
91827 rm -f conftest.err conftest.$ac_objext \
91828 conftest$ac_exeext conftest.$ac_ext
91830 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91831 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91832 if test `eval echo '${'$as_ac_var'}'` = yes; then
91833 cat >>confdefs.h <<_ACEOF
91834 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91835 _ACEOF
91838 done
91840 else
91842 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
91843 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
91844 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
91845 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
91846 echo $ECHO_N "(cached) $ECHO_C" >&6
91847 else
91851 ac_ext=cc
91852 ac_cpp='$CXXCPP $CPPFLAGS'
91853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91857 cat >conftest.$ac_ext <<_ACEOF
91858 /* confdefs.h. */
91859 _ACEOF
91860 cat confdefs.h >>conftest.$ac_ext
91861 cat >>conftest.$ac_ext <<_ACEOF
91862 /* end confdefs.h. */
91863 #include <math.h>
91864 #ifdef HAVE_IEEEFP_H
91865 #include <ieeefp.h>
91866 #endif
91869 main ()
91871 _fabsl(0);
91873 return 0;
91875 _ACEOF
91876 rm -f conftest.$ac_objext
91877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91878 (eval $ac_compile) 2>conftest.er1
91879 ac_status=$?
91880 grep -v '^ *+' conftest.er1 >conftest.err
91881 rm -f conftest.er1
91882 cat conftest.err >&5
91883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91884 (exit $ac_status); } &&
91885 { ac_try='test -z "$ac_cxx_werror_flag"
91886 || test ! -s conftest.err'
91887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91888 (eval $ac_try) 2>&5
91889 ac_status=$?
91890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91891 (exit $ac_status); }; } &&
91892 { ac_try='test -s conftest.$ac_objext'
91893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91894 (eval $ac_try) 2>&5
91895 ac_status=$?
91896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91897 (exit $ac_status); }; }; then
91898 glibcxx_cv_func__fabsl_use=yes
91899 else
91900 echo "$as_me: failed program was:" >&5
91901 sed 's/^/| /' conftest.$ac_ext >&5
91903 glibcxx_cv_func__fabsl_use=no
91905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91906 ac_ext=c
91907 ac_cpp='$CPP $CPPFLAGS'
91908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91916 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
91917 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
91919 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
91921 for ac_func in _fabsl
91923 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91924 echo "$as_me:$LINENO: checking for $ac_func" >&5
91925 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91926 if eval "test \"\${$as_ac_var+set}\" = set"; then
91927 echo $ECHO_N "(cached) $ECHO_C" >&6
91928 else
91929 if test x$gcc_no_link = xyes; then
91930 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91931 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91932 { (exit 1); exit 1; }; }
91934 cat >conftest.$ac_ext <<_ACEOF
91935 /* confdefs.h. */
91936 _ACEOF
91937 cat confdefs.h >>conftest.$ac_ext
91938 cat >>conftest.$ac_ext <<_ACEOF
91939 /* end confdefs.h. */
91940 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91941 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91942 #define $ac_func innocuous_$ac_func
91944 /* System header to define __stub macros and hopefully few prototypes,
91945 which can conflict with char $ac_func (); below.
91946 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91947 <limits.h> exists even on freestanding compilers. */
91949 #ifdef __STDC__
91950 # include <limits.h>
91951 #else
91952 # include <assert.h>
91953 #endif
91955 #undef $ac_func
91957 /* Override any gcc2 internal prototype to avoid an error. */
91958 #ifdef __cplusplus
91959 extern "C"
91961 #endif
91962 /* We use char because int might match the return type of a gcc2
91963 builtin and then its argument prototype would still apply. */
91964 char $ac_func ();
91965 /* The GNU C library defines this for functions which it implements
91966 to always fail with ENOSYS. Some functions are actually named
91967 something starting with __ and the normal name is an alias. */
91968 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91969 choke me
91970 #else
91971 char (*f) () = $ac_func;
91972 #endif
91973 #ifdef __cplusplus
91975 #endif
91978 main ()
91980 return f != $ac_func;
91982 return 0;
91984 _ACEOF
91985 rm -f conftest.$ac_objext conftest$ac_exeext
91986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91987 (eval $ac_link) 2>conftest.er1
91988 ac_status=$?
91989 grep -v '^ *+' conftest.er1 >conftest.err
91990 rm -f conftest.er1
91991 cat conftest.err >&5
91992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91993 (exit $ac_status); } &&
91994 { ac_try='test -z "$ac_c_werror_flag"
91995 || test ! -s conftest.err'
91996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91997 (eval $ac_try) 2>&5
91998 ac_status=$?
91999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92000 (exit $ac_status); }; } &&
92001 { ac_try='test -s conftest$ac_exeext'
92002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92003 (eval $ac_try) 2>&5
92004 ac_status=$?
92005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92006 (exit $ac_status); }; }; then
92007 eval "$as_ac_var=yes"
92008 else
92009 echo "$as_me: failed program was:" >&5
92010 sed 's/^/| /' conftest.$ac_ext >&5
92012 eval "$as_ac_var=no"
92014 rm -f conftest.err conftest.$ac_objext \
92015 conftest$ac_exeext conftest.$ac_ext
92017 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92018 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92019 if test `eval echo '${'$as_ac_var'}'` = yes; then
92020 cat >>confdefs.h <<_ACEOF
92021 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92022 _ACEOF
92025 done
92035 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
92036 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
92037 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
92038 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
92039 echo $ECHO_N "(cached) $ECHO_C" >&6
92040 else
92044 ac_ext=cc
92045 ac_cpp='$CXXCPP $CPPFLAGS'
92046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92050 cat >conftest.$ac_ext <<_ACEOF
92051 /* confdefs.h. */
92052 _ACEOF
92053 cat confdefs.h >>conftest.$ac_ext
92054 cat >>conftest.$ac_ext <<_ACEOF
92055 /* end confdefs.h. */
92056 #include <math.h>
92058 main ()
92060 fmodl(0, 0);
92062 return 0;
92064 _ACEOF
92065 rm -f conftest.$ac_objext
92066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92067 (eval $ac_compile) 2>conftest.er1
92068 ac_status=$?
92069 grep -v '^ *+' conftest.er1 >conftest.err
92070 rm -f conftest.er1
92071 cat conftest.err >&5
92072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92073 (exit $ac_status); } &&
92074 { ac_try='test -z "$ac_cxx_werror_flag"
92075 || test ! -s conftest.err'
92076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92077 (eval $ac_try) 2>&5
92078 ac_status=$?
92079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92080 (exit $ac_status); }; } &&
92081 { ac_try='test -s conftest.$ac_objext'
92082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92083 (eval $ac_try) 2>&5
92084 ac_status=$?
92085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92086 (exit $ac_status); }; }; then
92087 glibcxx_cv_func_fmodl_use=yes
92088 else
92089 echo "$as_me: failed program was:" >&5
92090 sed 's/^/| /' conftest.$ac_ext >&5
92092 glibcxx_cv_func_fmodl_use=no
92094 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92095 ac_ext=c
92096 ac_cpp='$CPP $CPPFLAGS'
92097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92105 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
92106 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
92108 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
92110 for ac_func in fmodl
92112 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92113 echo "$as_me:$LINENO: checking for $ac_func" >&5
92114 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92115 if eval "test \"\${$as_ac_var+set}\" = set"; then
92116 echo $ECHO_N "(cached) $ECHO_C" >&6
92117 else
92118 if test x$gcc_no_link = xyes; then
92119 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92120 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92121 { (exit 1); exit 1; }; }
92123 cat >conftest.$ac_ext <<_ACEOF
92124 /* confdefs.h. */
92125 _ACEOF
92126 cat confdefs.h >>conftest.$ac_ext
92127 cat >>conftest.$ac_ext <<_ACEOF
92128 /* end confdefs.h. */
92129 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92130 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92131 #define $ac_func innocuous_$ac_func
92133 /* System header to define __stub macros and hopefully few prototypes,
92134 which can conflict with char $ac_func (); below.
92135 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92136 <limits.h> exists even on freestanding compilers. */
92138 #ifdef __STDC__
92139 # include <limits.h>
92140 #else
92141 # include <assert.h>
92142 #endif
92144 #undef $ac_func
92146 /* Override any gcc2 internal prototype to avoid an error. */
92147 #ifdef __cplusplus
92148 extern "C"
92150 #endif
92151 /* We use char because int might match the return type of a gcc2
92152 builtin and then its argument prototype would still apply. */
92153 char $ac_func ();
92154 /* The GNU C library defines this for functions which it implements
92155 to always fail with ENOSYS. Some functions are actually named
92156 something starting with __ and the normal name is an alias. */
92157 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92158 choke me
92159 #else
92160 char (*f) () = $ac_func;
92161 #endif
92162 #ifdef __cplusplus
92164 #endif
92167 main ()
92169 return f != $ac_func;
92171 return 0;
92173 _ACEOF
92174 rm -f conftest.$ac_objext conftest$ac_exeext
92175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92176 (eval $ac_link) 2>conftest.er1
92177 ac_status=$?
92178 grep -v '^ *+' conftest.er1 >conftest.err
92179 rm -f conftest.er1
92180 cat conftest.err >&5
92181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92182 (exit $ac_status); } &&
92183 { ac_try='test -z "$ac_c_werror_flag"
92184 || test ! -s conftest.err'
92185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92186 (eval $ac_try) 2>&5
92187 ac_status=$?
92188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92189 (exit $ac_status); }; } &&
92190 { ac_try='test -s conftest$ac_exeext'
92191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92192 (eval $ac_try) 2>&5
92193 ac_status=$?
92194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92195 (exit $ac_status); }; }; then
92196 eval "$as_ac_var=yes"
92197 else
92198 echo "$as_me: failed program was:" >&5
92199 sed 's/^/| /' conftest.$ac_ext >&5
92201 eval "$as_ac_var=no"
92203 rm -f conftest.err conftest.$ac_objext \
92204 conftest$ac_exeext conftest.$ac_ext
92206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92207 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92208 if test `eval echo '${'$as_ac_var'}'` = yes; then
92209 cat >>confdefs.h <<_ACEOF
92210 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92211 _ACEOF
92214 done
92216 else
92218 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
92219 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
92220 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
92221 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
92222 echo $ECHO_N "(cached) $ECHO_C" >&6
92223 else
92227 ac_ext=cc
92228 ac_cpp='$CXXCPP $CPPFLAGS'
92229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92233 cat >conftest.$ac_ext <<_ACEOF
92234 /* confdefs.h. */
92235 _ACEOF
92236 cat confdefs.h >>conftest.$ac_ext
92237 cat >>conftest.$ac_ext <<_ACEOF
92238 /* end confdefs.h. */
92239 #include <math.h>
92241 main ()
92243 _fmodl(0, 0);
92245 return 0;
92247 _ACEOF
92248 rm -f conftest.$ac_objext
92249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92250 (eval $ac_compile) 2>conftest.er1
92251 ac_status=$?
92252 grep -v '^ *+' conftest.er1 >conftest.err
92253 rm -f conftest.er1
92254 cat conftest.err >&5
92255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92256 (exit $ac_status); } &&
92257 { ac_try='test -z "$ac_cxx_werror_flag"
92258 || test ! -s conftest.err'
92259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92260 (eval $ac_try) 2>&5
92261 ac_status=$?
92262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92263 (exit $ac_status); }; } &&
92264 { ac_try='test -s conftest.$ac_objext'
92265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92266 (eval $ac_try) 2>&5
92267 ac_status=$?
92268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92269 (exit $ac_status); }; }; then
92270 glibcxx_cv_func__fmodl_use=yes
92271 else
92272 echo "$as_me: failed program was:" >&5
92273 sed 's/^/| /' conftest.$ac_ext >&5
92275 glibcxx_cv_func__fmodl_use=no
92277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92278 ac_ext=c
92279 ac_cpp='$CPP $CPPFLAGS'
92280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92288 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
92289 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
92291 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
92293 for ac_func in _fmodl
92295 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92296 echo "$as_me:$LINENO: checking for $ac_func" >&5
92297 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92298 if eval "test \"\${$as_ac_var+set}\" = set"; then
92299 echo $ECHO_N "(cached) $ECHO_C" >&6
92300 else
92301 if test x$gcc_no_link = xyes; then
92302 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92303 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92304 { (exit 1); exit 1; }; }
92306 cat >conftest.$ac_ext <<_ACEOF
92307 /* confdefs.h. */
92308 _ACEOF
92309 cat confdefs.h >>conftest.$ac_ext
92310 cat >>conftest.$ac_ext <<_ACEOF
92311 /* end confdefs.h. */
92312 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92313 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92314 #define $ac_func innocuous_$ac_func
92316 /* System header to define __stub macros and hopefully few prototypes,
92317 which can conflict with char $ac_func (); below.
92318 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92319 <limits.h> exists even on freestanding compilers. */
92321 #ifdef __STDC__
92322 # include <limits.h>
92323 #else
92324 # include <assert.h>
92325 #endif
92327 #undef $ac_func
92329 /* Override any gcc2 internal prototype to avoid an error. */
92330 #ifdef __cplusplus
92331 extern "C"
92333 #endif
92334 /* We use char because int might match the return type of a gcc2
92335 builtin and then its argument prototype would still apply. */
92336 char $ac_func ();
92337 /* The GNU C library defines this for functions which it implements
92338 to always fail with ENOSYS. Some functions are actually named
92339 something starting with __ and the normal name is an alias. */
92340 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92341 choke me
92342 #else
92343 char (*f) () = $ac_func;
92344 #endif
92345 #ifdef __cplusplus
92347 #endif
92350 main ()
92352 return f != $ac_func;
92354 return 0;
92356 _ACEOF
92357 rm -f conftest.$ac_objext conftest$ac_exeext
92358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92359 (eval $ac_link) 2>conftest.er1
92360 ac_status=$?
92361 grep -v '^ *+' conftest.er1 >conftest.err
92362 rm -f conftest.er1
92363 cat conftest.err >&5
92364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92365 (exit $ac_status); } &&
92366 { ac_try='test -z "$ac_c_werror_flag"
92367 || test ! -s conftest.err'
92368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92369 (eval $ac_try) 2>&5
92370 ac_status=$?
92371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92372 (exit $ac_status); }; } &&
92373 { ac_try='test -s conftest$ac_exeext'
92374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92375 (eval $ac_try) 2>&5
92376 ac_status=$?
92377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92378 (exit $ac_status); }; }; then
92379 eval "$as_ac_var=yes"
92380 else
92381 echo "$as_me: failed program was:" >&5
92382 sed 's/^/| /' conftest.$ac_ext >&5
92384 eval "$as_ac_var=no"
92386 rm -f conftest.err conftest.$ac_objext \
92387 conftest$ac_exeext conftest.$ac_ext
92389 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92390 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92391 if test `eval echo '${'$as_ac_var'}'` = yes; then
92392 cat >>confdefs.h <<_ACEOF
92393 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92394 _ACEOF
92397 done
92407 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
92408 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
92409 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
92410 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
92411 echo $ECHO_N "(cached) $ECHO_C" >&6
92412 else
92416 ac_ext=cc
92417 ac_cpp='$CXXCPP $CPPFLAGS'
92418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92422 cat >conftest.$ac_ext <<_ACEOF
92423 /* confdefs.h. */
92424 _ACEOF
92425 cat confdefs.h >>conftest.$ac_ext
92426 cat >>conftest.$ac_ext <<_ACEOF
92427 /* end confdefs.h. */
92428 #include <math.h>
92430 main ()
92432 frexpl(0, 0);
92434 return 0;
92436 _ACEOF
92437 rm -f conftest.$ac_objext
92438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92439 (eval $ac_compile) 2>conftest.er1
92440 ac_status=$?
92441 grep -v '^ *+' conftest.er1 >conftest.err
92442 rm -f conftest.er1
92443 cat conftest.err >&5
92444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92445 (exit $ac_status); } &&
92446 { ac_try='test -z "$ac_cxx_werror_flag"
92447 || test ! -s conftest.err'
92448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92449 (eval $ac_try) 2>&5
92450 ac_status=$?
92451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92452 (exit $ac_status); }; } &&
92453 { ac_try='test -s conftest.$ac_objext'
92454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92455 (eval $ac_try) 2>&5
92456 ac_status=$?
92457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92458 (exit $ac_status); }; }; then
92459 glibcxx_cv_func_frexpl_use=yes
92460 else
92461 echo "$as_me: failed program was:" >&5
92462 sed 's/^/| /' conftest.$ac_ext >&5
92464 glibcxx_cv_func_frexpl_use=no
92466 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92467 ac_ext=c
92468 ac_cpp='$CPP $CPPFLAGS'
92469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92477 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
92478 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
92480 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
92482 for ac_func in frexpl
92484 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92485 echo "$as_me:$LINENO: checking for $ac_func" >&5
92486 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92487 if eval "test \"\${$as_ac_var+set}\" = set"; then
92488 echo $ECHO_N "(cached) $ECHO_C" >&6
92489 else
92490 if test x$gcc_no_link = xyes; then
92491 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92492 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92493 { (exit 1); exit 1; }; }
92495 cat >conftest.$ac_ext <<_ACEOF
92496 /* confdefs.h. */
92497 _ACEOF
92498 cat confdefs.h >>conftest.$ac_ext
92499 cat >>conftest.$ac_ext <<_ACEOF
92500 /* end confdefs.h. */
92501 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92502 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92503 #define $ac_func innocuous_$ac_func
92505 /* System header to define __stub macros and hopefully few prototypes,
92506 which can conflict with char $ac_func (); below.
92507 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92508 <limits.h> exists even on freestanding compilers. */
92510 #ifdef __STDC__
92511 # include <limits.h>
92512 #else
92513 # include <assert.h>
92514 #endif
92516 #undef $ac_func
92518 /* Override any gcc2 internal prototype to avoid an error. */
92519 #ifdef __cplusplus
92520 extern "C"
92522 #endif
92523 /* We use char because int might match the return type of a gcc2
92524 builtin and then its argument prototype would still apply. */
92525 char $ac_func ();
92526 /* The GNU C library defines this for functions which it implements
92527 to always fail with ENOSYS. Some functions are actually named
92528 something starting with __ and the normal name is an alias. */
92529 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92530 choke me
92531 #else
92532 char (*f) () = $ac_func;
92533 #endif
92534 #ifdef __cplusplus
92536 #endif
92539 main ()
92541 return f != $ac_func;
92543 return 0;
92545 _ACEOF
92546 rm -f conftest.$ac_objext conftest$ac_exeext
92547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92548 (eval $ac_link) 2>conftest.er1
92549 ac_status=$?
92550 grep -v '^ *+' conftest.er1 >conftest.err
92551 rm -f conftest.er1
92552 cat conftest.err >&5
92553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92554 (exit $ac_status); } &&
92555 { ac_try='test -z "$ac_c_werror_flag"
92556 || test ! -s conftest.err'
92557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92558 (eval $ac_try) 2>&5
92559 ac_status=$?
92560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92561 (exit $ac_status); }; } &&
92562 { ac_try='test -s conftest$ac_exeext'
92563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92564 (eval $ac_try) 2>&5
92565 ac_status=$?
92566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92567 (exit $ac_status); }; }; then
92568 eval "$as_ac_var=yes"
92569 else
92570 echo "$as_me: failed program was:" >&5
92571 sed 's/^/| /' conftest.$ac_ext >&5
92573 eval "$as_ac_var=no"
92575 rm -f conftest.err conftest.$ac_objext \
92576 conftest$ac_exeext conftest.$ac_ext
92578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92579 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92580 if test `eval echo '${'$as_ac_var'}'` = yes; then
92581 cat >>confdefs.h <<_ACEOF
92582 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92583 _ACEOF
92586 done
92588 else
92590 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
92591 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
92592 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
92593 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
92594 echo $ECHO_N "(cached) $ECHO_C" >&6
92595 else
92599 ac_ext=cc
92600 ac_cpp='$CXXCPP $CPPFLAGS'
92601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92605 cat >conftest.$ac_ext <<_ACEOF
92606 /* confdefs.h. */
92607 _ACEOF
92608 cat confdefs.h >>conftest.$ac_ext
92609 cat >>conftest.$ac_ext <<_ACEOF
92610 /* end confdefs.h. */
92611 #include <math.h>
92613 main ()
92615 _frexpl(0, 0);
92617 return 0;
92619 _ACEOF
92620 rm -f conftest.$ac_objext
92621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92622 (eval $ac_compile) 2>conftest.er1
92623 ac_status=$?
92624 grep -v '^ *+' conftest.er1 >conftest.err
92625 rm -f conftest.er1
92626 cat conftest.err >&5
92627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92628 (exit $ac_status); } &&
92629 { ac_try='test -z "$ac_cxx_werror_flag"
92630 || test ! -s conftest.err'
92631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92632 (eval $ac_try) 2>&5
92633 ac_status=$?
92634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92635 (exit $ac_status); }; } &&
92636 { ac_try='test -s conftest.$ac_objext'
92637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92638 (eval $ac_try) 2>&5
92639 ac_status=$?
92640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92641 (exit $ac_status); }; }; then
92642 glibcxx_cv_func__frexpl_use=yes
92643 else
92644 echo "$as_me: failed program was:" >&5
92645 sed 's/^/| /' conftest.$ac_ext >&5
92647 glibcxx_cv_func__frexpl_use=no
92649 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92650 ac_ext=c
92651 ac_cpp='$CPP $CPPFLAGS'
92652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92660 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
92661 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
92663 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
92665 for ac_func in _frexpl
92667 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92668 echo "$as_me:$LINENO: checking for $ac_func" >&5
92669 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92670 if eval "test \"\${$as_ac_var+set}\" = set"; then
92671 echo $ECHO_N "(cached) $ECHO_C" >&6
92672 else
92673 if test x$gcc_no_link = xyes; then
92674 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92675 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92676 { (exit 1); exit 1; }; }
92678 cat >conftest.$ac_ext <<_ACEOF
92679 /* confdefs.h. */
92680 _ACEOF
92681 cat confdefs.h >>conftest.$ac_ext
92682 cat >>conftest.$ac_ext <<_ACEOF
92683 /* end confdefs.h. */
92684 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92685 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92686 #define $ac_func innocuous_$ac_func
92688 /* System header to define __stub macros and hopefully few prototypes,
92689 which can conflict with char $ac_func (); below.
92690 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92691 <limits.h> exists even on freestanding compilers. */
92693 #ifdef __STDC__
92694 # include <limits.h>
92695 #else
92696 # include <assert.h>
92697 #endif
92699 #undef $ac_func
92701 /* Override any gcc2 internal prototype to avoid an error. */
92702 #ifdef __cplusplus
92703 extern "C"
92705 #endif
92706 /* We use char because int might match the return type of a gcc2
92707 builtin and then its argument prototype would still apply. */
92708 char $ac_func ();
92709 /* The GNU C library defines this for functions which it implements
92710 to always fail with ENOSYS. Some functions are actually named
92711 something starting with __ and the normal name is an alias. */
92712 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92713 choke me
92714 #else
92715 char (*f) () = $ac_func;
92716 #endif
92717 #ifdef __cplusplus
92719 #endif
92722 main ()
92724 return f != $ac_func;
92726 return 0;
92728 _ACEOF
92729 rm -f conftest.$ac_objext conftest$ac_exeext
92730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92731 (eval $ac_link) 2>conftest.er1
92732 ac_status=$?
92733 grep -v '^ *+' conftest.er1 >conftest.err
92734 rm -f conftest.er1
92735 cat conftest.err >&5
92736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92737 (exit $ac_status); } &&
92738 { ac_try='test -z "$ac_c_werror_flag"
92739 || test ! -s conftest.err'
92740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92741 (eval $ac_try) 2>&5
92742 ac_status=$?
92743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92744 (exit $ac_status); }; } &&
92745 { ac_try='test -s conftest$ac_exeext'
92746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92747 (eval $ac_try) 2>&5
92748 ac_status=$?
92749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92750 (exit $ac_status); }; }; then
92751 eval "$as_ac_var=yes"
92752 else
92753 echo "$as_me: failed program was:" >&5
92754 sed 's/^/| /' conftest.$ac_ext >&5
92756 eval "$as_ac_var=no"
92758 rm -f conftest.err conftest.$ac_objext \
92759 conftest$ac_exeext conftest.$ac_ext
92761 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92762 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92763 if test `eval echo '${'$as_ac_var'}'` = yes; then
92764 cat >>confdefs.h <<_ACEOF
92765 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92766 _ACEOF
92769 done
92779 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
92780 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
92781 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
92782 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
92783 echo $ECHO_N "(cached) $ECHO_C" >&6
92784 else
92788 ac_ext=cc
92789 ac_cpp='$CXXCPP $CPPFLAGS'
92790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92794 cat >conftest.$ac_ext <<_ACEOF
92795 /* confdefs.h. */
92796 _ACEOF
92797 cat confdefs.h >>conftest.$ac_ext
92798 cat >>conftest.$ac_ext <<_ACEOF
92799 /* end confdefs.h. */
92800 #include <math.h>
92802 main ()
92804 hypotl(0, 0);
92806 return 0;
92808 _ACEOF
92809 rm -f conftest.$ac_objext
92810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92811 (eval $ac_compile) 2>conftest.er1
92812 ac_status=$?
92813 grep -v '^ *+' conftest.er1 >conftest.err
92814 rm -f conftest.er1
92815 cat conftest.err >&5
92816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92817 (exit $ac_status); } &&
92818 { ac_try='test -z "$ac_cxx_werror_flag"
92819 || test ! -s conftest.err'
92820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92821 (eval $ac_try) 2>&5
92822 ac_status=$?
92823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92824 (exit $ac_status); }; } &&
92825 { ac_try='test -s conftest.$ac_objext'
92826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92827 (eval $ac_try) 2>&5
92828 ac_status=$?
92829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92830 (exit $ac_status); }; }; then
92831 glibcxx_cv_func_hypotl_use=yes
92832 else
92833 echo "$as_me: failed program was:" >&5
92834 sed 's/^/| /' conftest.$ac_ext >&5
92836 glibcxx_cv_func_hypotl_use=no
92838 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92839 ac_ext=c
92840 ac_cpp='$CPP $CPPFLAGS'
92841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92849 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
92850 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
92852 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
92854 for ac_func in hypotl
92856 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92857 echo "$as_me:$LINENO: checking for $ac_func" >&5
92858 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92859 if eval "test \"\${$as_ac_var+set}\" = set"; then
92860 echo $ECHO_N "(cached) $ECHO_C" >&6
92861 else
92862 if test x$gcc_no_link = xyes; then
92863 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92864 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92865 { (exit 1); exit 1; }; }
92867 cat >conftest.$ac_ext <<_ACEOF
92868 /* confdefs.h. */
92869 _ACEOF
92870 cat confdefs.h >>conftest.$ac_ext
92871 cat >>conftest.$ac_ext <<_ACEOF
92872 /* end confdefs.h. */
92873 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92874 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92875 #define $ac_func innocuous_$ac_func
92877 /* System header to define __stub macros and hopefully few prototypes,
92878 which can conflict with char $ac_func (); below.
92879 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92880 <limits.h> exists even on freestanding compilers. */
92882 #ifdef __STDC__
92883 # include <limits.h>
92884 #else
92885 # include <assert.h>
92886 #endif
92888 #undef $ac_func
92890 /* Override any gcc2 internal prototype to avoid an error. */
92891 #ifdef __cplusplus
92892 extern "C"
92894 #endif
92895 /* We use char because int might match the return type of a gcc2
92896 builtin and then its argument prototype would still apply. */
92897 char $ac_func ();
92898 /* The GNU C library defines this for functions which it implements
92899 to always fail with ENOSYS. Some functions are actually named
92900 something starting with __ and the normal name is an alias. */
92901 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92902 choke me
92903 #else
92904 char (*f) () = $ac_func;
92905 #endif
92906 #ifdef __cplusplus
92908 #endif
92911 main ()
92913 return f != $ac_func;
92915 return 0;
92917 _ACEOF
92918 rm -f conftest.$ac_objext conftest$ac_exeext
92919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92920 (eval $ac_link) 2>conftest.er1
92921 ac_status=$?
92922 grep -v '^ *+' conftest.er1 >conftest.err
92923 rm -f conftest.er1
92924 cat conftest.err >&5
92925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92926 (exit $ac_status); } &&
92927 { ac_try='test -z "$ac_c_werror_flag"
92928 || test ! -s conftest.err'
92929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92930 (eval $ac_try) 2>&5
92931 ac_status=$?
92932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92933 (exit $ac_status); }; } &&
92934 { ac_try='test -s conftest$ac_exeext'
92935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92936 (eval $ac_try) 2>&5
92937 ac_status=$?
92938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92939 (exit $ac_status); }; }; then
92940 eval "$as_ac_var=yes"
92941 else
92942 echo "$as_me: failed program was:" >&5
92943 sed 's/^/| /' conftest.$ac_ext >&5
92945 eval "$as_ac_var=no"
92947 rm -f conftest.err conftest.$ac_objext \
92948 conftest$ac_exeext conftest.$ac_ext
92950 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92951 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92952 if test `eval echo '${'$as_ac_var'}'` = yes; then
92953 cat >>confdefs.h <<_ACEOF
92954 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92955 _ACEOF
92958 done
92960 else
92962 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
92963 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
92964 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
92965 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
92966 echo $ECHO_N "(cached) $ECHO_C" >&6
92967 else
92971 ac_ext=cc
92972 ac_cpp='$CXXCPP $CPPFLAGS'
92973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92977 cat >conftest.$ac_ext <<_ACEOF
92978 /* confdefs.h. */
92979 _ACEOF
92980 cat confdefs.h >>conftest.$ac_ext
92981 cat >>conftest.$ac_ext <<_ACEOF
92982 /* end confdefs.h. */
92983 #include <math.h>
92985 main ()
92987 _hypotl(0, 0);
92989 return 0;
92991 _ACEOF
92992 rm -f conftest.$ac_objext
92993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92994 (eval $ac_compile) 2>conftest.er1
92995 ac_status=$?
92996 grep -v '^ *+' conftest.er1 >conftest.err
92997 rm -f conftest.er1
92998 cat conftest.err >&5
92999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93000 (exit $ac_status); } &&
93001 { ac_try='test -z "$ac_cxx_werror_flag"
93002 || test ! -s conftest.err'
93003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93004 (eval $ac_try) 2>&5
93005 ac_status=$?
93006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93007 (exit $ac_status); }; } &&
93008 { ac_try='test -s conftest.$ac_objext'
93009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93010 (eval $ac_try) 2>&5
93011 ac_status=$?
93012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93013 (exit $ac_status); }; }; then
93014 glibcxx_cv_func__hypotl_use=yes
93015 else
93016 echo "$as_me: failed program was:" >&5
93017 sed 's/^/| /' conftest.$ac_ext >&5
93019 glibcxx_cv_func__hypotl_use=no
93021 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93022 ac_ext=c
93023 ac_cpp='$CPP $CPPFLAGS'
93024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93032 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
93033 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
93035 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
93037 for ac_func in _hypotl
93039 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93040 echo "$as_me:$LINENO: checking for $ac_func" >&5
93041 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93042 if eval "test \"\${$as_ac_var+set}\" = set"; then
93043 echo $ECHO_N "(cached) $ECHO_C" >&6
93044 else
93045 if test x$gcc_no_link = xyes; then
93046 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93047 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93048 { (exit 1); exit 1; }; }
93050 cat >conftest.$ac_ext <<_ACEOF
93051 /* confdefs.h. */
93052 _ACEOF
93053 cat confdefs.h >>conftest.$ac_ext
93054 cat >>conftest.$ac_ext <<_ACEOF
93055 /* end confdefs.h. */
93056 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93057 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93058 #define $ac_func innocuous_$ac_func
93060 /* System header to define __stub macros and hopefully few prototypes,
93061 which can conflict with char $ac_func (); below.
93062 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93063 <limits.h> exists even on freestanding compilers. */
93065 #ifdef __STDC__
93066 # include <limits.h>
93067 #else
93068 # include <assert.h>
93069 #endif
93071 #undef $ac_func
93073 /* Override any gcc2 internal prototype to avoid an error. */
93074 #ifdef __cplusplus
93075 extern "C"
93077 #endif
93078 /* We use char because int might match the return type of a gcc2
93079 builtin and then its argument prototype would still apply. */
93080 char $ac_func ();
93081 /* The GNU C library defines this for functions which it implements
93082 to always fail with ENOSYS. Some functions are actually named
93083 something starting with __ and the normal name is an alias. */
93084 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93085 choke me
93086 #else
93087 char (*f) () = $ac_func;
93088 #endif
93089 #ifdef __cplusplus
93091 #endif
93094 main ()
93096 return f != $ac_func;
93098 return 0;
93100 _ACEOF
93101 rm -f conftest.$ac_objext conftest$ac_exeext
93102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93103 (eval $ac_link) 2>conftest.er1
93104 ac_status=$?
93105 grep -v '^ *+' conftest.er1 >conftest.err
93106 rm -f conftest.er1
93107 cat conftest.err >&5
93108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93109 (exit $ac_status); } &&
93110 { ac_try='test -z "$ac_c_werror_flag"
93111 || test ! -s conftest.err'
93112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93113 (eval $ac_try) 2>&5
93114 ac_status=$?
93115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93116 (exit $ac_status); }; } &&
93117 { ac_try='test -s conftest$ac_exeext'
93118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93119 (eval $ac_try) 2>&5
93120 ac_status=$?
93121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93122 (exit $ac_status); }; }; then
93123 eval "$as_ac_var=yes"
93124 else
93125 echo "$as_me: failed program was:" >&5
93126 sed 's/^/| /' conftest.$ac_ext >&5
93128 eval "$as_ac_var=no"
93130 rm -f conftest.err conftest.$ac_objext \
93131 conftest$ac_exeext conftest.$ac_ext
93133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93134 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93135 if test `eval echo '${'$as_ac_var'}'` = yes; then
93136 cat >>confdefs.h <<_ACEOF
93137 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93138 _ACEOF
93141 done
93151 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
93152 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
93153 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
93154 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
93155 echo $ECHO_N "(cached) $ECHO_C" >&6
93156 else
93160 ac_ext=cc
93161 ac_cpp='$CXXCPP $CPPFLAGS'
93162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93166 cat >conftest.$ac_ext <<_ACEOF
93167 /* confdefs.h. */
93168 _ACEOF
93169 cat confdefs.h >>conftest.$ac_ext
93170 cat >>conftest.$ac_ext <<_ACEOF
93171 /* end confdefs.h. */
93172 #include <math.h>
93174 main ()
93176 ldexpl(0, 0);
93178 return 0;
93180 _ACEOF
93181 rm -f conftest.$ac_objext
93182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93183 (eval $ac_compile) 2>conftest.er1
93184 ac_status=$?
93185 grep -v '^ *+' conftest.er1 >conftest.err
93186 rm -f conftest.er1
93187 cat conftest.err >&5
93188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93189 (exit $ac_status); } &&
93190 { ac_try='test -z "$ac_cxx_werror_flag"
93191 || test ! -s conftest.err'
93192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93193 (eval $ac_try) 2>&5
93194 ac_status=$?
93195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93196 (exit $ac_status); }; } &&
93197 { ac_try='test -s conftest.$ac_objext'
93198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93199 (eval $ac_try) 2>&5
93200 ac_status=$?
93201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93202 (exit $ac_status); }; }; then
93203 glibcxx_cv_func_ldexpl_use=yes
93204 else
93205 echo "$as_me: failed program was:" >&5
93206 sed 's/^/| /' conftest.$ac_ext >&5
93208 glibcxx_cv_func_ldexpl_use=no
93210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93211 ac_ext=c
93212 ac_cpp='$CPP $CPPFLAGS'
93213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93221 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
93222 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
93224 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
93226 for ac_func in ldexpl
93228 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93229 echo "$as_me:$LINENO: checking for $ac_func" >&5
93230 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93231 if eval "test \"\${$as_ac_var+set}\" = set"; then
93232 echo $ECHO_N "(cached) $ECHO_C" >&6
93233 else
93234 if test x$gcc_no_link = xyes; then
93235 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93236 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93237 { (exit 1); exit 1; }; }
93239 cat >conftest.$ac_ext <<_ACEOF
93240 /* confdefs.h. */
93241 _ACEOF
93242 cat confdefs.h >>conftest.$ac_ext
93243 cat >>conftest.$ac_ext <<_ACEOF
93244 /* end confdefs.h. */
93245 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93246 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93247 #define $ac_func innocuous_$ac_func
93249 /* System header to define __stub macros and hopefully few prototypes,
93250 which can conflict with char $ac_func (); below.
93251 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93252 <limits.h> exists even on freestanding compilers. */
93254 #ifdef __STDC__
93255 # include <limits.h>
93256 #else
93257 # include <assert.h>
93258 #endif
93260 #undef $ac_func
93262 /* Override any gcc2 internal prototype to avoid an error. */
93263 #ifdef __cplusplus
93264 extern "C"
93266 #endif
93267 /* We use char because int might match the return type of a gcc2
93268 builtin and then its argument prototype would still apply. */
93269 char $ac_func ();
93270 /* The GNU C library defines this for functions which it implements
93271 to always fail with ENOSYS. Some functions are actually named
93272 something starting with __ and the normal name is an alias. */
93273 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93274 choke me
93275 #else
93276 char (*f) () = $ac_func;
93277 #endif
93278 #ifdef __cplusplus
93280 #endif
93283 main ()
93285 return f != $ac_func;
93287 return 0;
93289 _ACEOF
93290 rm -f conftest.$ac_objext conftest$ac_exeext
93291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93292 (eval $ac_link) 2>conftest.er1
93293 ac_status=$?
93294 grep -v '^ *+' conftest.er1 >conftest.err
93295 rm -f conftest.er1
93296 cat conftest.err >&5
93297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93298 (exit $ac_status); } &&
93299 { ac_try='test -z "$ac_c_werror_flag"
93300 || test ! -s conftest.err'
93301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93302 (eval $ac_try) 2>&5
93303 ac_status=$?
93304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93305 (exit $ac_status); }; } &&
93306 { ac_try='test -s conftest$ac_exeext'
93307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93308 (eval $ac_try) 2>&5
93309 ac_status=$?
93310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93311 (exit $ac_status); }; }; then
93312 eval "$as_ac_var=yes"
93313 else
93314 echo "$as_me: failed program was:" >&5
93315 sed 's/^/| /' conftest.$ac_ext >&5
93317 eval "$as_ac_var=no"
93319 rm -f conftest.err conftest.$ac_objext \
93320 conftest$ac_exeext conftest.$ac_ext
93322 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93323 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93324 if test `eval echo '${'$as_ac_var'}'` = yes; then
93325 cat >>confdefs.h <<_ACEOF
93326 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93327 _ACEOF
93330 done
93332 else
93334 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
93335 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
93336 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
93337 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
93338 echo $ECHO_N "(cached) $ECHO_C" >&6
93339 else
93343 ac_ext=cc
93344 ac_cpp='$CXXCPP $CPPFLAGS'
93345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93349 cat >conftest.$ac_ext <<_ACEOF
93350 /* confdefs.h. */
93351 _ACEOF
93352 cat confdefs.h >>conftest.$ac_ext
93353 cat >>conftest.$ac_ext <<_ACEOF
93354 /* end confdefs.h. */
93355 #include <math.h>
93357 main ()
93359 _ldexpl(0, 0);
93361 return 0;
93363 _ACEOF
93364 rm -f conftest.$ac_objext
93365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93366 (eval $ac_compile) 2>conftest.er1
93367 ac_status=$?
93368 grep -v '^ *+' conftest.er1 >conftest.err
93369 rm -f conftest.er1
93370 cat conftest.err >&5
93371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93372 (exit $ac_status); } &&
93373 { ac_try='test -z "$ac_cxx_werror_flag"
93374 || test ! -s conftest.err'
93375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93376 (eval $ac_try) 2>&5
93377 ac_status=$?
93378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93379 (exit $ac_status); }; } &&
93380 { ac_try='test -s conftest.$ac_objext'
93381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93382 (eval $ac_try) 2>&5
93383 ac_status=$?
93384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93385 (exit $ac_status); }; }; then
93386 glibcxx_cv_func__ldexpl_use=yes
93387 else
93388 echo "$as_me: failed program was:" >&5
93389 sed 's/^/| /' conftest.$ac_ext >&5
93391 glibcxx_cv_func__ldexpl_use=no
93393 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93394 ac_ext=c
93395 ac_cpp='$CPP $CPPFLAGS'
93396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93404 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
93405 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
93407 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
93409 for ac_func in _ldexpl
93411 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93412 echo "$as_me:$LINENO: checking for $ac_func" >&5
93413 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93414 if eval "test \"\${$as_ac_var+set}\" = set"; then
93415 echo $ECHO_N "(cached) $ECHO_C" >&6
93416 else
93417 if test x$gcc_no_link = xyes; then
93418 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93419 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93420 { (exit 1); exit 1; }; }
93422 cat >conftest.$ac_ext <<_ACEOF
93423 /* confdefs.h. */
93424 _ACEOF
93425 cat confdefs.h >>conftest.$ac_ext
93426 cat >>conftest.$ac_ext <<_ACEOF
93427 /* end confdefs.h. */
93428 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93429 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93430 #define $ac_func innocuous_$ac_func
93432 /* System header to define __stub macros and hopefully few prototypes,
93433 which can conflict with char $ac_func (); below.
93434 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93435 <limits.h> exists even on freestanding compilers. */
93437 #ifdef __STDC__
93438 # include <limits.h>
93439 #else
93440 # include <assert.h>
93441 #endif
93443 #undef $ac_func
93445 /* Override any gcc2 internal prototype to avoid an error. */
93446 #ifdef __cplusplus
93447 extern "C"
93449 #endif
93450 /* We use char because int might match the return type of a gcc2
93451 builtin and then its argument prototype would still apply. */
93452 char $ac_func ();
93453 /* The GNU C library defines this for functions which it implements
93454 to always fail with ENOSYS. Some functions are actually named
93455 something starting with __ and the normal name is an alias. */
93456 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93457 choke me
93458 #else
93459 char (*f) () = $ac_func;
93460 #endif
93461 #ifdef __cplusplus
93463 #endif
93466 main ()
93468 return f != $ac_func;
93470 return 0;
93472 _ACEOF
93473 rm -f conftest.$ac_objext conftest$ac_exeext
93474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93475 (eval $ac_link) 2>conftest.er1
93476 ac_status=$?
93477 grep -v '^ *+' conftest.er1 >conftest.err
93478 rm -f conftest.er1
93479 cat conftest.err >&5
93480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93481 (exit $ac_status); } &&
93482 { ac_try='test -z "$ac_c_werror_flag"
93483 || test ! -s conftest.err'
93484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93485 (eval $ac_try) 2>&5
93486 ac_status=$?
93487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93488 (exit $ac_status); }; } &&
93489 { ac_try='test -s conftest$ac_exeext'
93490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93491 (eval $ac_try) 2>&5
93492 ac_status=$?
93493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93494 (exit $ac_status); }; }; then
93495 eval "$as_ac_var=yes"
93496 else
93497 echo "$as_me: failed program was:" >&5
93498 sed 's/^/| /' conftest.$ac_ext >&5
93500 eval "$as_ac_var=no"
93502 rm -f conftest.err conftest.$ac_objext \
93503 conftest$ac_exeext conftest.$ac_ext
93505 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93506 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93507 if test `eval echo '${'$as_ac_var'}'` = yes; then
93508 cat >>confdefs.h <<_ACEOF
93509 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93510 _ACEOF
93513 done
93523 echo "$as_me:$LINENO: checking for logl declaration" >&5
93524 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
93525 if test x${glibcxx_cv_func_logl_use+set} != xset; then
93526 if test "${glibcxx_cv_func_logl_use+set}" = set; then
93527 echo $ECHO_N "(cached) $ECHO_C" >&6
93528 else
93532 ac_ext=cc
93533 ac_cpp='$CXXCPP $CPPFLAGS'
93534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93538 cat >conftest.$ac_ext <<_ACEOF
93539 /* confdefs.h. */
93540 _ACEOF
93541 cat confdefs.h >>conftest.$ac_ext
93542 cat >>conftest.$ac_ext <<_ACEOF
93543 /* end confdefs.h. */
93544 #include <math.h>
93545 #ifdef HAVE_IEEEFP_H
93546 #include <ieeefp.h>
93547 #endif
93550 main ()
93552 logl(0);
93554 return 0;
93556 _ACEOF
93557 rm -f conftest.$ac_objext
93558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93559 (eval $ac_compile) 2>conftest.er1
93560 ac_status=$?
93561 grep -v '^ *+' conftest.er1 >conftest.err
93562 rm -f conftest.er1
93563 cat conftest.err >&5
93564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93565 (exit $ac_status); } &&
93566 { ac_try='test -z "$ac_cxx_werror_flag"
93567 || test ! -s conftest.err'
93568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93569 (eval $ac_try) 2>&5
93570 ac_status=$?
93571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93572 (exit $ac_status); }; } &&
93573 { ac_try='test -s conftest.$ac_objext'
93574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93575 (eval $ac_try) 2>&5
93576 ac_status=$?
93577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93578 (exit $ac_status); }; }; then
93579 glibcxx_cv_func_logl_use=yes
93580 else
93581 echo "$as_me: failed program was:" >&5
93582 sed 's/^/| /' conftest.$ac_ext >&5
93584 glibcxx_cv_func_logl_use=no
93586 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93587 ac_ext=c
93588 ac_cpp='$CPP $CPPFLAGS'
93589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93597 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
93598 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
93600 if test x$glibcxx_cv_func_logl_use = x"yes"; then
93602 for ac_func in logl
93604 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93605 echo "$as_me:$LINENO: checking for $ac_func" >&5
93606 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93607 if eval "test \"\${$as_ac_var+set}\" = set"; then
93608 echo $ECHO_N "(cached) $ECHO_C" >&6
93609 else
93610 if test x$gcc_no_link = xyes; then
93611 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93612 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93613 { (exit 1); exit 1; }; }
93615 cat >conftest.$ac_ext <<_ACEOF
93616 /* confdefs.h. */
93617 _ACEOF
93618 cat confdefs.h >>conftest.$ac_ext
93619 cat >>conftest.$ac_ext <<_ACEOF
93620 /* end confdefs.h. */
93621 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93622 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93623 #define $ac_func innocuous_$ac_func
93625 /* System header to define __stub macros and hopefully few prototypes,
93626 which can conflict with char $ac_func (); below.
93627 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93628 <limits.h> exists even on freestanding compilers. */
93630 #ifdef __STDC__
93631 # include <limits.h>
93632 #else
93633 # include <assert.h>
93634 #endif
93636 #undef $ac_func
93638 /* Override any gcc2 internal prototype to avoid an error. */
93639 #ifdef __cplusplus
93640 extern "C"
93642 #endif
93643 /* We use char because int might match the return type of a gcc2
93644 builtin and then its argument prototype would still apply. */
93645 char $ac_func ();
93646 /* The GNU C library defines this for functions which it implements
93647 to always fail with ENOSYS. Some functions are actually named
93648 something starting with __ and the normal name is an alias. */
93649 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93650 choke me
93651 #else
93652 char (*f) () = $ac_func;
93653 #endif
93654 #ifdef __cplusplus
93656 #endif
93659 main ()
93661 return f != $ac_func;
93663 return 0;
93665 _ACEOF
93666 rm -f conftest.$ac_objext conftest$ac_exeext
93667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93668 (eval $ac_link) 2>conftest.er1
93669 ac_status=$?
93670 grep -v '^ *+' conftest.er1 >conftest.err
93671 rm -f conftest.er1
93672 cat conftest.err >&5
93673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93674 (exit $ac_status); } &&
93675 { ac_try='test -z "$ac_c_werror_flag"
93676 || test ! -s conftest.err'
93677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93678 (eval $ac_try) 2>&5
93679 ac_status=$?
93680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93681 (exit $ac_status); }; } &&
93682 { ac_try='test -s conftest$ac_exeext'
93683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93684 (eval $ac_try) 2>&5
93685 ac_status=$?
93686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93687 (exit $ac_status); }; }; then
93688 eval "$as_ac_var=yes"
93689 else
93690 echo "$as_me: failed program was:" >&5
93691 sed 's/^/| /' conftest.$ac_ext >&5
93693 eval "$as_ac_var=no"
93695 rm -f conftest.err conftest.$ac_objext \
93696 conftest$ac_exeext conftest.$ac_ext
93698 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93699 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93700 if test `eval echo '${'$as_ac_var'}'` = yes; then
93701 cat >>confdefs.h <<_ACEOF
93702 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93703 _ACEOF
93706 done
93708 else
93710 echo "$as_me:$LINENO: checking for _logl declaration" >&5
93711 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
93712 if test x${glibcxx_cv_func__logl_use+set} != xset; then
93713 if test "${glibcxx_cv_func__logl_use+set}" = set; then
93714 echo $ECHO_N "(cached) $ECHO_C" >&6
93715 else
93719 ac_ext=cc
93720 ac_cpp='$CXXCPP $CPPFLAGS'
93721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93725 cat >conftest.$ac_ext <<_ACEOF
93726 /* confdefs.h. */
93727 _ACEOF
93728 cat confdefs.h >>conftest.$ac_ext
93729 cat >>conftest.$ac_ext <<_ACEOF
93730 /* end confdefs.h. */
93731 #include <math.h>
93732 #ifdef HAVE_IEEEFP_H
93733 #include <ieeefp.h>
93734 #endif
93737 main ()
93739 _logl(0);
93741 return 0;
93743 _ACEOF
93744 rm -f conftest.$ac_objext
93745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93746 (eval $ac_compile) 2>conftest.er1
93747 ac_status=$?
93748 grep -v '^ *+' conftest.er1 >conftest.err
93749 rm -f conftest.er1
93750 cat conftest.err >&5
93751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93752 (exit $ac_status); } &&
93753 { ac_try='test -z "$ac_cxx_werror_flag"
93754 || test ! -s conftest.err'
93755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93756 (eval $ac_try) 2>&5
93757 ac_status=$?
93758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93759 (exit $ac_status); }; } &&
93760 { ac_try='test -s conftest.$ac_objext'
93761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93762 (eval $ac_try) 2>&5
93763 ac_status=$?
93764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93765 (exit $ac_status); }; }; then
93766 glibcxx_cv_func__logl_use=yes
93767 else
93768 echo "$as_me: failed program was:" >&5
93769 sed 's/^/| /' conftest.$ac_ext >&5
93771 glibcxx_cv_func__logl_use=no
93773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93774 ac_ext=c
93775 ac_cpp='$CPP $CPPFLAGS'
93776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93784 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
93785 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
93787 if test x$glibcxx_cv_func__logl_use = x"yes"; then
93789 for ac_func in _logl
93791 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93792 echo "$as_me:$LINENO: checking for $ac_func" >&5
93793 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93794 if eval "test \"\${$as_ac_var+set}\" = set"; then
93795 echo $ECHO_N "(cached) $ECHO_C" >&6
93796 else
93797 if test x$gcc_no_link = xyes; then
93798 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93799 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93800 { (exit 1); exit 1; }; }
93802 cat >conftest.$ac_ext <<_ACEOF
93803 /* confdefs.h. */
93804 _ACEOF
93805 cat confdefs.h >>conftest.$ac_ext
93806 cat >>conftest.$ac_ext <<_ACEOF
93807 /* end confdefs.h. */
93808 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93809 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93810 #define $ac_func innocuous_$ac_func
93812 /* System header to define __stub macros and hopefully few prototypes,
93813 which can conflict with char $ac_func (); below.
93814 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93815 <limits.h> exists even on freestanding compilers. */
93817 #ifdef __STDC__
93818 # include <limits.h>
93819 #else
93820 # include <assert.h>
93821 #endif
93823 #undef $ac_func
93825 /* Override any gcc2 internal prototype to avoid an error. */
93826 #ifdef __cplusplus
93827 extern "C"
93829 #endif
93830 /* We use char because int might match the return type of a gcc2
93831 builtin and then its argument prototype would still apply. */
93832 char $ac_func ();
93833 /* The GNU C library defines this for functions which it implements
93834 to always fail with ENOSYS. Some functions are actually named
93835 something starting with __ and the normal name is an alias. */
93836 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93837 choke me
93838 #else
93839 char (*f) () = $ac_func;
93840 #endif
93841 #ifdef __cplusplus
93843 #endif
93846 main ()
93848 return f != $ac_func;
93850 return 0;
93852 _ACEOF
93853 rm -f conftest.$ac_objext conftest$ac_exeext
93854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93855 (eval $ac_link) 2>conftest.er1
93856 ac_status=$?
93857 grep -v '^ *+' conftest.er1 >conftest.err
93858 rm -f conftest.er1
93859 cat conftest.err >&5
93860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93861 (exit $ac_status); } &&
93862 { ac_try='test -z "$ac_c_werror_flag"
93863 || test ! -s conftest.err'
93864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93865 (eval $ac_try) 2>&5
93866 ac_status=$?
93867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93868 (exit $ac_status); }; } &&
93869 { ac_try='test -s conftest$ac_exeext'
93870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93871 (eval $ac_try) 2>&5
93872 ac_status=$?
93873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93874 (exit $ac_status); }; }; then
93875 eval "$as_ac_var=yes"
93876 else
93877 echo "$as_me: failed program was:" >&5
93878 sed 's/^/| /' conftest.$ac_ext >&5
93880 eval "$as_ac_var=no"
93882 rm -f conftest.err conftest.$ac_objext \
93883 conftest$ac_exeext conftest.$ac_ext
93885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93886 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93887 if test `eval echo '${'$as_ac_var'}'` = yes; then
93888 cat >>confdefs.h <<_ACEOF
93889 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93890 _ACEOF
93893 done
93903 echo "$as_me:$LINENO: checking for log10l declaration" >&5
93904 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
93905 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
93906 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
93907 echo $ECHO_N "(cached) $ECHO_C" >&6
93908 else
93912 ac_ext=cc
93913 ac_cpp='$CXXCPP $CPPFLAGS'
93914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93918 cat >conftest.$ac_ext <<_ACEOF
93919 /* confdefs.h. */
93920 _ACEOF
93921 cat confdefs.h >>conftest.$ac_ext
93922 cat >>conftest.$ac_ext <<_ACEOF
93923 /* end confdefs.h. */
93924 #include <math.h>
93925 #ifdef HAVE_IEEEFP_H
93926 #include <ieeefp.h>
93927 #endif
93930 main ()
93932 log10l(0);
93934 return 0;
93936 _ACEOF
93937 rm -f conftest.$ac_objext
93938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93939 (eval $ac_compile) 2>conftest.er1
93940 ac_status=$?
93941 grep -v '^ *+' conftest.er1 >conftest.err
93942 rm -f conftest.er1
93943 cat conftest.err >&5
93944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93945 (exit $ac_status); } &&
93946 { ac_try='test -z "$ac_cxx_werror_flag"
93947 || test ! -s conftest.err'
93948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93949 (eval $ac_try) 2>&5
93950 ac_status=$?
93951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93952 (exit $ac_status); }; } &&
93953 { ac_try='test -s conftest.$ac_objext'
93954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93955 (eval $ac_try) 2>&5
93956 ac_status=$?
93957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93958 (exit $ac_status); }; }; then
93959 glibcxx_cv_func_log10l_use=yes
93960 else
93961 echo "$as_me: failed program was:" >&5
93962 sed 's/^/| /' conftest.$ac_ext >&5
93964 glibcxx_cv_func_log10l_use=no
93966 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93967 ac_ext=c
93968 ac_cpp='$CPP $CPPFLAGS'
93969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93977 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
93978 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
93980 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
93982 for ac_func in log10l
93984 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93985 echo "$as_me:$LINENO: checking for $ac_func" >&5
93986 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93987 if eval "test \"\${$as_ac_var+set}\" = set"; then
93988 echo $ECHO_N "(cached) $ECHO_C" >&6
93989 else
93990 if test x$gcc_no_link = xyes; then
93991 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93992 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93993 { (exit 1); exit 1; }; }
93995 cat >conftest.$ac_ext <<_ACEOF
93996 /* confdefs.h. */
93997 _ACEOF
93998 cat confdefs.h >>conftest.$ac_ext
93999 cat >>conftest.$ac_ext <<_ACEOF
94000 /* end confdefs.h. */
94001 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94002 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94003 #define $ac_func innocuous_$ac_func
94005 /* System header to define __stub macros and hopefully few prototypes,
94006 which can conflict with char $ac_func (); below.
94007 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94008 <limits.h> exists even on freestanding compilers. */
94010 #ifdef __STDC__
94011 # include <limits.h>
94012 #else
94013 # include <assert.h>
94014 #endif
94016 #undef $ac_func
94018 /* Override any gcc2 internal prototype to avoid an error. */
94019 #ifdef __cplusplus
94020 extern "C"
94022 #endif
94023 /* We use char because int might match the return type of a gcc2
94024 builtin and then its argument prototype would still apply. */
94025 char $ac_func ();
94026 /* The GNU C library defines this for functions which it implements
94027 to always fail with ENOSYS. Some functions are actually named
94028 something starting with __ and the normal name is an alias. */
94029 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94030 choke me
94031 #else
94032 char (*f) () = $ac_func;
94033 #endif
94034 #ifdef __cplusplus
94036 #endif
94039 main ()
94041 return f != $ac_func;
94043 return 0;
94045 _ACEOF
94046 rm -f conftest.$ac_objext conftest$ac_exeext
94047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94048 (eval $ac_link) 2>conftest.er1
94049 ac_status=$?
94050 grep -v '^ *+' conftest.er1 >conftest.err
94051 rm -f conftest.er1
94052 cat conftest.err >&5
94053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94054 (exit $ac_status); } &&
94055 { ac_try='test -z "$ac_c_werror_flag"
94056 || test ! -s conftest.err'
94057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94058 (eval $ac_try) 2>&5
94059 ac_status=$?
94060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94061 (exit $ac_status); }; } &&
94062 { ac_try='test -s conftest$ac_exeext'
94063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94064 (eval $ac_try) 2>&5
94065 ac_status=$?
94066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94067 (exit $ac_status); }; }; then
94068 eval "$as_ac_var=yes"
94069 else
94070 echo "$as_me: failed program was:" >&5
94071 sed 's/^/| /' conftest.$ac_ext >&5
94073 eval "$as_ac_var=no"
94075 rm -f conftest.err conftest.$ac_objext \
94076 conftest$ac_exeext conftest.$ac_ext
94078 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94079 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94080 if test `eval echo '${'$as_ac_var'}'` = yes; then
94081 cat >>confdefs.h <<_ACEOF
94082 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94083 _ACEOF
94086 done
94088 else
94090 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
94091 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
94092 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
94093 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
94094 echo $ECHO_N "(cached) $ECHO_C" >&6
94095 else
94099 ac_ext=cc
94100 ac_cpp='$CXXCPP $CPPFLAGS'
94101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94105 cat >conftest.$ac_ext <<_ACEOF
94106 /* confdefs.h. */
94107 _ACEOF
94108 cat confdefs.h >>conftest.$ac_ext
94109 cat >>conftest.$ac_ext <<_ACEOF
94110 /* end confdefs.h. */
94111 #include <math.h>
94112 #ifdef HAVE_IEEEFP_H
94113 #include <ieeefp.h>
94114 #endif
94117 main ()
94119 _log10l(0);
94121 return 0;
94123 _ACEOF
94124 rm -f conftest.$ac_objext
94125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94126 (eval $ac_compile) 2>conftest.er1
94127 ac_status=$?
94128 grep -v '^ *+' conftest.er1 >conftest.err
94129 rm -f conftest.er1
94130 cat conftest.err >&5
94131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94132 (exit $ac_status); } &&
94133 { ac_try='test -z "$ac_cxx_werror_flag"
94134 || test ! -s conftest.err'
94135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94136 (eval $ac_try) 2>&5
94137 ac_status=$?
94138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94139 (exit $ac_status); }; } &&
94140 { ac_try='test -s conftest.$ac_objext'
94141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94142 (eval $ac_try) 2>&5
94143 ac_status=$?
94144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94145 (exit $ac_status); }; }; then
94146 glibcxx_cv_func__log10l_use=yes
94147 else
94148 echo "$as_me: failed program was:" >&5
94149 sed 's/^/| /' conftest.$ac_ext >&5
94151 glibcxx_cv_func__log10l_use=no
94153 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94154 ac_ext=c
94155 ac_cpp='$CPP $CPPFLAGS'
94156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94164 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
94165 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
94167 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
94169 for ac_func in _log10l
94171 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94172 echo "$as_me:$LINENO: checking for $ac_func" >&5
94173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94174 if eval "test \"\${$as_ac_var+set}\" = set"; then
94175 echo $ECHO_N "(cached) $ECHO_C" >&6
94176 else
94177 if test x$gcc_no_link = xyes; then
94178 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94179 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94180 { (exit 1); exit 1; }; }
94182 cat >conftest.$ac_ext <<_ACEOF
94183 /* confdefs.h. */
94184 _ACEOF
94185 cat confdefs.h >>conftest.$ac_ext
94186 cat >>conftest.$ac_ext <<_ACEOF
94187 /* end confdefs.h. */
94188 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94189 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94190 #define $ac_func innocuous_$ac_func
94192 /* System header to define __stub macros and hopefully few prototypes,
94193 which can conflict with char $ac_func (); below.
94194 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94195 <limits.h> exists even on freestanding compilers. */
94197 #ifdef __STDC__
94198 # include <limits.h>
94199 #else
94200 # include <assert.h>
94201 #endif
94203 #undef $ac_func
94205 /* Override any gcc2 internal prototype to avoid an error. */
94206 #ifdef __cplusplus
94207 extern "C"
94209 #endif
94210 /* We use char because int might match the return type of a gcc2
94211 builtin and then its argument prototype would still apply. */
94212 char $ac_func ();
94213 /* The GNU C library defines this for functions which it implements
94214 to always fail with ENOSYS. Some functions are actually named
94215 something starting with __ and the normal name is an alias. */
94216 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94217 choke me
94218 #else
94219 char (*f) () = $ac_func;
94220 #endif
94221 #ifdef __cplusplus
94223 #endif
94226 main ()
94228 return f != $ac_func;
94230 return 0;
94232 _ACEOF
94233 rm -f conftest.$ac_objext conftest$ac_exeext
94234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94235 (eval $ac_link) 2>conftest.er1
94236 ac_status=$?
94237 grep -v '^ *+' conftest.er1 >conftest.err
94238 rm -f conftest.er1
94239 cat conftest.err >&5
94240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94241 (exit $ac_status); } &&
94242 { ac_try='test -z "$ac_c_werror_flag"
94243 || test ! -s conftest.err'
94244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94245 (eval $ac_try) 2>&5
94246 ac_status=$?
94247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94248 (exit $ac_status); }; } &&
94249 { ac_try='test -s conftest$ac_exeext'
94250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94251 (eval $ac_try) 2>&5
94252 ac_status=$?
94253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94254 (exit $ac_status); }; }; then
94255 eval "$as_ac_var=yes"
94256 else
94257 echo "$as_me: failed program was:" >&5
94258 sed 's/^/| /' conftest.$ac_ext >&5
94260 eval "$as_ac_var=no"
94262 rm -f conftest.err conftest.$ac_objext \
94263 conftest$ac_exeext conftest.$ac_ext
94265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94266 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94267 if test `eval echo '${'$as_ac_var'}'` = yes; then
94268 cat >>confdefs.h <<_ACEOF
94269 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94270 _ACEOF
94273 done
94283 echo "$as_me:$LINENO: checking for modfl declaration" >&5
94284 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
94285 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
94286 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
94287 echo $ECHO_N "(cached) $ECHO_C" >&6
94288 else
94292 ac_ext=cc
94293 ac_cpp='$CXXCPP $CPPFLAGS'
94294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94298 cat >conftest.$ac_ext <<_ACEOF
94299 /* confdefs.h. */
94300 _ACEOF
94301 cat confdefs.h >>conftest.$ac_ext
94302 cat >>conftest.$ac_ext <<_ACEOF
94303 /* end confdefs.h. */
94304 #include <math.h>
94306 main ()
94308 modfl(0, 0);
94310 return 0;
94312 _ACEOF
94313 rm -f conftest.$ac_objext
94314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94315 (eval $ac_compile) 2>conftest.er1
94316 ac_status=$?
94317 grep -v '^ *+' conftest.er1 >conftest.err
94318 rm -f conftest.er1
94319 cat conftest.err >&5
94320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94321 (exit $ac_status); } &&
94322 { ac_try='test -z "$ac_cxx_werror_flag"
94323 || test ! -s conftest.err'
94324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94325 (eval $ac_try) 2>&5
94326 ac_status=$?
94327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94328 (exit $ac_status); }; } &&
94329 { ac_try='test -s conftest.$ac_objext'
94330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94331 (eval $ac_try) 2>&5
94332 ac_status=$?
94333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94334 (exit $ac_status); }; }; then
94335 glibcxx_cv_func_modfl_use=yes
94336 else
94337 echo "$as_me: failed program was:" >&5
94338 sed 's/^/| /' conftest.$ac_ext >&5
94340 glibcxx_cv_func_modfl_use=no
94342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94343 ac_ext=c
94344 ac_cpp='$CPP $CPPFLAGS'
94345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94353 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
94354 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
94356 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
94358 for ac_func in modfl
94360 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94361 echo "$as_me:$LINENO: checking for $ac_func" >&5
94362 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94363 if eval "test \"\${$as_ac_var+set}\" = set"; then
94364 echo $ECHO_N "(cached) $ECHO_C" >&6
94365 else
94366 if test x$gcc_no_link = xyes; then
94367 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94368 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94369 { (exit 1); exit 1; }; }
94371 cat >conftest.$ac_ext <<_ACEOF
94372 /* confdefs.h. */
94373 _ACEOF
94374 cat confdefs.h >>conftest.$ac_ext
94375 cat >>conftest.$ac_ext <<_ACEOF
94376 /* end confdefs.h. */
94377 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94378 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94379 #define $ac_func innocuous_$ac_func
94381 /* System header to define __stub macros and hopefully few prototypes,
94382 which can conflict with char $ac_func (); below.
94383 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94384 <limits.h> exists even on freestanding compilers. */
94386 #ifdef __STDC__
94387 # include <limits.h>
94388 #else
94389 # include <assert.h>
94390 #endif
94392 #undef $ac_func
94394 /* Override any gcc2 internal prototype to avoid an error. */
94395 #ifdef __cplusplus
94396 extern "C"
94398 #endif
94399 /* We use char because int might match the return type of a gcc2
94400 builtin and then its argument prototype would still apply. */
94401 char $ac_func ();
94402 /* The GNU C library defines this for functions which it implements
94403 to always fail with ENOSYS. Some functions are actually named
94404 something starting with __ and the normal name is an alias. */
94405 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94406 choke me
94407 #else
94408 char (*f) () = $ac_func;
94409 #endif
94410 #ifdef __cplusplus
94412 #endif
94415 main ()
94417 return f != $ac_func;
94419 return 0;
94421 _ACEOF
94422 rm -f conftest.$ac_objext conftest$ac_exeext
94423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94424 (eval $ac_link) 2>conftest.er1
94425 ac_status=$?
94426 grep -v '^ *+' conftest.er1 >conftest.err
94427 rm -f conftest.er1
94428 cat conftest.err >&5
94429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94430 (exit $ac_status); } &&
94431 { ac_try='test -z "$ac_c_werror_flag"
94432 || test ! -s conftest.err'
94433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94434 (eval $ac_try) 2>&5
94435 ac_status=$?
94436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94437 (exit $ac_status); }; } &&
94438 { ac_try='test -s conftest$ac_exeext'
94439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94440 (eval $ac_try) 2>&5
94441 ac_status=$?
94442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94443 (exit $ac_status); }; }; then
94444 eval "$as_ac_var=yes"
94445 else
94446 echo "$as_me: failed program was:" >&5
94447 sed 's/^/| /' conftest.$ac_ext >&5
94449 eval "$as_ac_var=no"
94451 rm -f conftest.err conftest.$ac_objext \
94452 conftest$ac_exeext conftest.$ac_ext
94454 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94455 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94456 if test `eval echo '${'$as_ac_var'}'` = yes; then
94457 cat >>confdefs.h <<_ACEOF
94458 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94459 _ACEOF
94462 done
94464 else
94466 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
94467 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
94468 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
94469 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
94470 echo $ECHO_N "(cached) $ECHO_C" >&6
94471 else
94475 ac_ext=cc
94476 ac_cpp='$CXXCPP $CPPFLAGS'
94477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94481 cat >conftest.$ac_ext <<_ACEOF
94482 /* confdefs.h. */
94483 _ACEOF
94484 cat confdefs.h >>conftest.$ac_ext
94485 cat >>conftest.$ac_ext <<_ACEOF
94486 /* end confdefs.h. */
94487 #include <math.h>
94489 main ()
94491 _modfl(0, 0);
94493 return 0;
94495 _ACEOF
94496 rm -f conftest.$ac_objext
94497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94498 (eval $ac_compile) 2>conftest.er1
94499 ac_status=$?
94500 grep -v '^ *+' conftest.er1 >conftest.err
94501 rm -f conftest.er1
94502 cat conftest.err >&5
94503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94504 (exit $ac_status); } &&
94505 { ac_try='test -z "$ac_cxx_werror_flag"
94506 || test ! -s conftest.err'
94507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94508 (eval $ac_try) 2>&5
94509 ac_status=$?
94510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94511 (exit $ac_status); }; } &&
94512 { ac_try='test -s conftest.$ac_objext'
94513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94514 (eval $ac_try) 2>&5
94515 ac_status=$?
94516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94517 (exit $ac_status); }; }; then
94518 glibcxx_cv_func__modfl_use=yes
94519 else
94520 echo "$as_me: failed program was:" >&5
94521 sed 's/^/| /' conftest.$ac_ext >&5
94523 glibcxx_cv_func__modfl_use=no
94525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94526 ac_ext=c
94527 ac_cpp='$CPP $CPPFLAGS'
94528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94536 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
94537 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
94539 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
94541 for ac_func in _modfl
94543 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94544 echo "$as_me:$LINENO: checking for $ac_func" >&5
94545 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94546 if eval "test \"\${$as_ac_var+set}\" = set"; then
94547 echo $ECHO_N "(cached) $ECHO_C" >&6
94548 else
94549 if test x$gcc_no_link = xyes; then
94550 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94551 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94552 { (exit 1); exit 1; }; }
94554 cat >conftest.$ac_ext <<_ACEOF
94555 /* confdefs.h. */
94556 _ACEOF
94557 cat confdefs.h >>conftest.$ac_ext
94558 cat >>conftest.$ac_ext <<_ACEOF
94559 /* end confdefs.h. */
94560 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94561 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94562 #define $ac_func innocuous_$ac_func
94564 /* System header to define __stub macros and hopefully few prototypes,
94565 which can conflict with char $ac_func (); below.
94566 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94567 <limits.h> exists even on freestanding compilers. */
94569 #ifdef __STDC__
94570 # include <limits.h>
94571 #else
94572 # include <assert.h>
94573 #endif
94575 #undef $ac_func
94577 /* Override any gcc2 internal prototype to avoid an error. */
94578 #ifdef __cplusplus
94579 extern "C"
94581 #endif
94582 /* We use char because int might match the return type of a gcc2
94583 builtin and then its argument prototype would still apply. */
94584 char $ac_func ();
94585 /* The GNU C library defines this for functions which it implements
94586 to always fail with ENOSYS. Some functions are actually named
94587 something starting with __ and the normal name is an alias. */
94588 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94589 choke me
94590 #else
94591 char (*f) () = $ac_func;
94592 #endif
94593 #ifdef __cplusplus
94595 #endif
94598 main ()
94600 return f != $ac_func;
94602 return 0;
94604 _ACEOF
94605 rm -f conftest.$ac_objext conftest$ac_exeext
94606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94607 (eval $ac_link) 2>conftest.er1
94608 ac_status=$?
94609 grep -v '^ *+' conftest.er1 >conftest.err
94610 rm -f conftest.er1
94611 cat conftest.err >&5
94612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94613 (exit $ac_status); } &&
94614 { ac_try='test -z "$ac_c_werror_flag"
94615 || test ! -s conftest.err'
94616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94617 (eval $ac_try) 2>&5
94618 ac_status=$?
94619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94620 (exit $ac_status); }; } &&
94621 { ac_try='test -s conftest$ac_exeext'
94622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94623 (eval $ac_try) 2>&5
94624 ac_status=$?
94625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94626 (exit $ac_status); }; }; then
94627 eval "$as_ac_var=yes"
94628 else
94629 echo "$as_me: failed program was:" >&5
94630 sed 's/^/| /' conftest.$ac_ext >&5
94632 eval "$as_ac_var=no"
94634 rm -f conftest.err conftest.$ac_objext \
94635 conftest$ac_exeext conftest.$ac_ext
94637 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94638 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94639 if test `eval echo '${'$as_ac_var'}'` = yes; then
94640 cat >>confdefs.h <<_ACEOF
94641 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94642 _ACEOF
94645 done
94655 echo "$as_me:$LINENO: checking for powl declaration" >&5
94656 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
94657 if test x${glibcxx_cv_func_powl_use+set} != xset; then
94658 if test "${glibcxx_cv_func_powl_use+set}" = set; then
94659 echo $ECHO_N "(cached) $ECHO_C" >&6
94660 else
94664 ac_ext=cc
94665 ac_cpp='$CXXCPP $CPPFLAGS'
94666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94670 cat >conftest.$ac_ext <<_ACEOF
94671 /* confdefs.h. */
94672 _ACEOF
94673 cat confdefs.h >>conftest.$ac_ext
94674 cat >>conftest.$ac_ext <<_ACEOF
94675 /* end confdefs.h. */
94676 #include <math.h>
94678 main ()
94680 powl(0, 0);
94682 return 0;
94684 _ACEOF
94685 rm -f conftest.$ac_objext
94686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94687 (eval $ac_compile) 2>conftest.er1
94688 ac_status=$?
94689 grep -v '^ *+' conftest.er1 >conftest.err
94690 rm -f conftest.er1
94691 cat conftest.err >&5
94692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94693 (exit $ac_status); } &&
94694 { ac_try='test -z "$ac_cxx_werror_flag"
94695 || test ! -s conftest.err'
94696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94697 (eval $ac_try) 2>&5
94698 ac_status=$?
94699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94700 (exit $ac_status); }; } &&
94701 { ac_try='test -s conftest.$ac_objext'
94702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94703 (eval $ac_try) 2>&5
94704 ac_status=$?
94705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94706 (exit $ac_status); }; }; then
94707 glibcxx_cv_func_powl_use=yes
94708 else
94709 echo "$as_me: failed program was:" >&5
94710 sed 's/^/| /' conftest.$ac_ext >&5
94712 glibcxx_cv_func_powl_use=no
94714 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94715 ac_ext=c
94716 ac_cpp='$CPP $CPPFLAGS'
94717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94725 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
94726 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
94728 if test x$glibcxx_cv_func_powl_use = x"yes"; then
94730 for ac_func in powl
94732 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94733 echo "$as_me:$LINENO: checking for $ac_func" >&5
94734 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94735 if eval "test \"\${$as_ac_var+set}\" = set"; then
94736 echo $ECHO_N "(cached) $ECHO_C" >&6
94737 else
94738 if test x$gcc_no_link = xyes; then
94739 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94740 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94741 { (exit 1); exit 1; }; }
94743 cat >conftest.$ac_ext <<_ACEOF
94744 /* confdefs.h. */
94745 _ACEOF
94746 cat confdefs.h >>conftest.$ac_ext
94747 cat >>conftest.$ac_ext <<_ACEOF
94748 /* end confdefs.h. */
94749 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94750 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94751 #define $ac_func innocuous_$ac_func
94753 /* System header to define __stub macros and hopefully few prototypes,
94754 which can conflict with char $ac_func (); below.
94755 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94756 <limits.h> exists even on freestanding compilers. */
94758 #ifdef __STDC__
94759 # include <limits.h>
94760 #else
94761 # include <assert.h>
94762 #endif
94764 #undef $ac_func
94766 /* Override any gcc2 internal prototype to avoid an error. */
94767 #ifdef __cplusplus
94768 extern "C"
94770 #endif
94771 /* We use char because int might match the return type of a gcc2
94772 builtin and then its argument prototype would still apply. */
94773 char $ac_func ();
94774 /* The GNU C library defines this for functions which it implements
94775 to always fail with ENOSYS. Some functions are actually named
94776 something starting with __ and the normal name is an alias. */
94777 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94778 choke me
94779 #else
94780 char (*f) () = $ac_func;
94781 #endif
94782 #ifdef __cplusplus
94784 #endif
94787 main ()
94789 return f != $ac_func;
94791 return 0;
94793 _ACEOF
94794 rm -f conftest.$ac_objext conftest$ac_exeext
94795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94796 (eval $ac_link) 2>conftest.er1
94797 ac_status=$?
94798 grep -v '^ *+' conftest.er1 >conftest.err
94799 rm -f conftest.er1
94800 cat conftest.err >&5
94801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94802 (exit $ac_status); } &&
94803 { ac_try='test -z "$ac_c_werror_flag"
94804 || test ! -s conftest.err'
94805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94806 (eval $ac_try) 2>&5
94807 ac_status=$?
94808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94809 (exit $ac_status); }; } &&
94810 { ac_try='test -s conftest$ac_exeext'
94811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94812 (eval $ac_try) 2>&5
94813 ac_status=$?
94814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94815 (exit $ac_status); }; }; then
94816 eval "$as_ac_var=yes"
94817 else
94818 echo "$as_me: failed program was:" >&5
94819 sed 's/^/| /' conftest.$ac_ext >&5
94821 eval "$as_ac_var=no"
94823 rm -f conftest.err conftest.$ac_objext \
94824 conftest$ac_exeext conftest.$ac_ext
94826 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94827 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94828 if test `eval echo '${'$as_ac_var'}'` = yes; then
94829 cat >>confdefs.h <<_ACEOF
94830 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94831 _ACEOF
94834 done
94836 else
94838 echo "$as_me:$LINENO: checking for _powl declaration" >&5
94839 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
94840 if test x${glibcxx_cv_func__powl_use+set} != xset; then
94841 if test "${glibcxx_cv_func__powl_use+set}" = set; then
94842 echo $ECHO_N "(cached) $ECHO_C" >&6
94843 else
94847 ac_ext=cc
94848 ac_cpp='$CXXCPP $CPPFLAGS'
94849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94853 cat >conftest.$ac_ext <<_ACEOF
94854 /* confdefs.h. */
94855 _ACEOF
94856 cat confdefs.h >>conftest.$ac_ext
94857 cat >>conftest.$ac_ext <<_ACEOF
94858 /* end confdefs.h. */
94859 #include <math.h>
94861 main ()
94863 _powl(0, 0);
94865 return 0;
94867 _ACEOF
94868 rm -f conftest.$ac_objext
94869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94870 (eval $ac_compile) 2>conftest.er1
94871 ac_status=$?
94872 grep -v '^ *+' conftest.er1 >conftest.err
94873 rm -f conftest.er1
94874 cat conftest.err >&5
94875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94876 (exit $ac_status); } &&
94877 { ac_try='test -z "$ac_cxx_werror_flag"
94878 || test ! -s conftest.err'
94879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94880 (eval $ac_try) 2>&5
94881 ac_status=$?
94882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94883 (exit $ac_status); }; } &&
94884 { ac_try='test -s conftest.$ac_objext'
94885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94886 (eval $ac_try) 2>&5
94887 ac_status=$?
94888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94889 (exit $ac_status); }; }; then
94890 glibcxx_cv_func__powl_use=yes
94891 else
94892 echo "$as_me: failed program was:" >&5
94893 sed 's/^/| /' conftest.$ac_ext >&5
94895 glibcxx_cv_func__powl_use=no
94897 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94898 ac_ext=c
94899 ac_cpp='$CPP $CPPFLAGS'
94900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94908 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
94909 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
94911 if test x$glibcxx_cv_func__powl_use = x"yes"; then
94913 for ac_func in _powl
94915 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94916 echo "$as_me:$LINENO: checking for $ac_func" >&5
94917 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94918 if eval "test \"\${$as_ac_var+set}\" = set"; then
94919 echo $ECHO_N "(cached) $ECHO_C" >&6
94920 else
94921 if test x$gcc_no_link = xyes; then
94922 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94923 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94924 { (exit 1); exit 1; }; }
94926 cat >conftest.$ac_ext <<_ACEOF
94927 /* confdefs.h. */
94928 _ACEOF
94929 cat confdefs.h >>conftest.$ac_ext
94930 cat >>conftest.$ac_ext <<_ACEOF
94931 /* end confdefs.h. */
94932 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94933 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94934 #define $ac_func innocuous_$ac_func
94936 /* System header to define __stub macros and hopefully few prototypes,
94937 which can conflict with char $ac_func (); below.
94938 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94939 <limits.h> exists even on freestanding compilers. */
94941 #ifdef __STDC__
94942 # include <limits.h>
94943 #else
94944 # include <assert.h>
94945 #endif
94947 #undef $ac_func
94949 /* Override any gcc2 internal prototype to avoid an error. */
94950 #ifdef __cplusplus
94951 extern "C"
94953 #endif
94954 /* We use char because int might match the return type of a gcc2
94955 builtin and then its argument prototype would still apply. */
94956 char $ac_func ();
94957 /* The GNU C library defines this for functions which it implements
94958 to always fail with ENOSYS. Some functions are actually named
94959 something starting with __ and the normal name is an alias. */
94960 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94961 choke me
94962 #else
94963 char (*f) () = $ac_func;
94964 #endif
94965 #ifdef __cplusplus
94967 #endif
94970 main ()
94972 return f != $ac_func;
94974 return 0;
94976 _ACEOF
94977 rm -f conftest.$ac_objext conftest$ac_exeext
94978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94979 (eval $ac_link) 2>conftest.er1
94980 ac_status=$?
94981 grep -v '^ *+' conftest.er1 >conftest.err
94982 rm -f conftest.er1
94983 cat conftest.err >&5
94984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94985 (exit $ac_status); } &&
94986 { ac_try='test -z "$ac_c_werror_flag"
94987 || test ! -s conftest.err'
94988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94989 (eval $ac_try) 2>&5
94990 ac_status=$?
94991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94992 (exit $ac_status); }; } &&
94993 { ac_try='test -s conftest$ac_exeext'
94994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94995 (eval $ac_try) 2>&5
94996 ac_status=$?
94997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94998 (exit $ac_status); }; }; then
94999 eval "$as_ac_var=yes"
95000 else
95001 echo "$as_me: failed program was:" >&5
95002 sed 's/^/| /' conftest.$ac_ext >&5
95004 eval "$as_ac_var=no"
95006 rm -f conftest.err conftest.$ac_objext \
95007 conftest$ac_exeext conftest.$ac_ext
95009 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95010 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95011 if test `eval echo '${'$as_ac_var'}'` = yes; then
95012 cat >>confdefs.h <<_ACEOF
95013 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95014 _ACEOF
95017 done
95027 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
95028 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
95029 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
95030 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
95031 echo $ECHO_N "(cached) $ECHO_C" >&6
95032 else
95036 ac_ext=cc
95037 ac_cpp='$CXXCPP $CPPFLAGS'
95038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95042 cat >conftest.$ac_ext <<_ACEOF
95043 /* confdefs.h. */
95044 _ACEOF
95045 cat confdefs.h >>conftest.$ac_ext
95046 cat >>conftest.$ac_ext <<_ACEOF
95047 /* end confdefs.h. */
95048 #include <math.h>
95049 #ifdef HAVE_IEEEFP_H
95050 #include <ieeefp.h>
95051 #endif
95054 main ()
95056 sqrtl(0);
95058 return 0;
95060 _ACEOF
95061 rm -f conftest.$ac_objext
95062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95063 (eval $ac_compile) 2>conftest.er1
95064 ac_status=$?
95065 grep -v '^ *+' conftest.er1 >conftest.err
95066 rm -f conftest.er1
95067 cat conftest.err >&5
95068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95069 (exit $ac_status); } &&
95070 { ac_try='test -z "$ac_cxx_werror_flag"
95071 || test ! -s conftest.err'
95072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95073 (eval $ac_try) 2>&5
95074 ac_status=$?
95075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95076 (exit $ac_status); }; } &&
95077 { ac_try='test -s conftest.$ac_objext'
95078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95079 (eval $ac_try) 2>&5
95080 ac_status=$?
95081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95082 (exit $ac_status); }; }; then
95083 glibcxx_cv_func_sqrtl_use=yes
95084 else
95085 echo "$as_me: failed program was:" >&5
95086 sed 's/^/| /' conftest.$ac_ext >&5
95088 glibcxx_cv_func_sqrtl_use=no
95090 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95091 ac_ext=c
95092 ac_cpp='$CPP $CPPFLAGS'
95093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95101 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
95102 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
95104 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
95106 for ac_func in sqrtl
95108 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95109 echo "$as_me:$LINENO: checking for $ac_func" >&5
95110 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95111 if eval "test \"\${$as_ac_var+set}\" = set"; then
95112 echo $ECHO_N "(cached) $ECHO_C" >&6
95113 else
95114 if test x$gcc_no_link = xyes; then
95115 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95116 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95117 { (exit 1); exit 1; }; }
95119 cat >conftest.$ac_ext <<_ACEOF
95120 /* confdefs.h. */
95121 _ACEOF
95122 cat confdefs.h >>conftest.$ac_ext
95123 cat >>conftest.$ac_ext <<_ACEOF
95124 /* end confdefs.h. */
95125 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95126 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95127 #define $ac_func innocuous_$ac_func
95129 /* System header to define __stub macros and hopefully few prototypes,
95130 which can conflict with char $ac_func (); below.
95131 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95132 <limits.h> exists even on freestanding compilers. */
95134 #ifdef __STDC__
95135 # include <limits.h>
95136 #else
95137 # include <assert.h>
95138 #endif
95140 #undef $ac_func
95142 /* Override any gcc2 internal prototype to avoid an error. */
95143 #ifdef __cplusplus
95144 extern "C"
95146 #endif
95147 /* We use char because int might match the return type of a gcc2
95148 builtin and then its argument prototype would still apply. */
95149 char $ac_func ();
95150 /* The GNU C library defines this for functions which it implements
95151 to always fail with ENOSYS. Some functions are actually named
95152 something starting with __ and the normal name is an alias. */
95153 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95154 choke me
95155 #else
95156 char (*f) () = $ac_func;
95157 #endif
95158 #ifdef __cplusplus
95160 #endif
95163 main ()
95165 return f != $ac_func;
95167 return 0;
95169 _ACEOF
95170 rm -f conftest.$ac_objext conftest$ac_exeext
95171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95172 (eval $ac_link) 2>conftest.er1
95173 ac_status=$?
95174 grep -v '^ *+' conftest.er1 >conftest.err
95175 rm -f conftest.er1
95176 cat conftest.err >&5
95177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95178 (exit $ac_status); } &&
95179 { ac_try='test -z "$ac_c_werror_flag"
95180 || test ! -s conftest.err'
95181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95182 (eval $ac_try) 2>&5
95183 ac_status=$?
95184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95185 (exit $ac_status); }; } &&
95186 { ac_try='test -s conftest$ac_exeext'
95187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95188 (eval $ac_try) 2>&5
95189 ac_status=$?
95190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95191 (exit $ac_status); }; }; then
95192 eval "$as_ac_var=yes"
95193 else
95194 echo "$as_me: failed program was:" >&5
95195 sed 's/^/| /' conftest.$ac_ext >&5
95197 eval "$as_ac_var=no"
95199 rm -f conftest.err conftest.$ac_objext \
95200 conftest$ac_exeext conftest.$ac_ext
95202 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95203 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95204 if test `eval echo '${'$as_ac_var'}'` = yes; then
95205 cat >>confdefs.h <<_ACEOF
95206 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95207 _ACEOF
95210 done
95212 else
95214 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
95215 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
95216 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
95217 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
95218 echo $ECHO_N "(cached) $ECHO_C" >&6
95219 else
95223 ac_ext=cc
95224 ac_cpp='$CXXCPP $CPPFLAGS'
95225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95229 cat >conftest.$ac_ext <<_ACEOF
95230 /* confdefs.h. */
95231 _ACEOF
95232 cat confdefs.h >>conftest.$ac_ext
95233 cat >>conftest.$ac_ext <<_ACEOF
95234 /* end confdefs.h. */
95235 #include <math.h>
95236 #ifdef HAVE_IEEEFP_H
95237 #include <ieeefp.h>
95238 #endif
95241 main ()
95243 _sqrtl(0);
95245 return 0;
95247 _ACEOF
95248 rm -f conftest.$ac_objext
95249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95250 (eval $ac_compile) 2>conftest.er1
95251 ac_status=$?
95252 grep -v '^ *+' conftest.er1 >conftest.err
95253 rm -f conftest.er1
95254 cat conftest.err >&5
95255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95256 (exit $ac_status); } &&
95257 { ac_try='test -z "$ac_cxx_werror_flag"
95258 || test ! -s conftest.err'
95259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95260 (eval $ac_try) 2>&5
95261 ac_status=$?
95262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95263 (exit $ac_status); }; } &&
95264 { ac_try='test -s conftest.$ac_objext'
95265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95266 (eval $ac_try) 2>&5
95267 ac_status=$?
95268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95269 (exit $ac_status); }; }; then
95270 glibcxx_cv_func__sqrtl_use=yes
95271 else
95272 echo "$as_me: failed program was:" >&5
95273 sed 's/^/| /' conftest.$ac_ext >&5
95275 glibcxx_cv_func__sqrtl_use=no
95277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95278 ac_ext=c
95279 ac_cpp='$CPP $CPPFLAGS'
95280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95288 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
95289 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
95291 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
95293 for ac_func in _sqrtl
95295 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95296 echo "$as_me:$LINENO: checking for $ac_func" >&5
95297 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95298 if eval "test \"\${$as_ac_var+set}\" = set"; then
95299 echo $ECHO_N "(cached) $ECHO_C" >&6
95300 else
95301 if test x$gcc_no_link = xyes; then
95302 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95303 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95304 { (exit 1); exit 1; }; }
95306 cat >conftest.$ac_ext <<_ACEOF
95307 /* confdefs.h. */
95308 _ACEOF
95309 cat confdefs.h >>conftest.$ac_ext
95310 cat >>conftest.$ac_ext <<_ACEOF
95311 /* end confdefs.h. */
95312 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95313 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95314 #define $ac_func innocuous_$ac_func
95316 /* System header to define __stub macros and hopefully few prototypes,
95317 which can conflict with char $ac_func (); below.
95318 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95319 <limits.h> exists even on freestanding compilers. */
95321 #ifdef __STDC__
95322 # include <limits.h>
95323 #else
95324 # include <assert.h>
95325 #endif
95327 #undef $ac_func
95329 /* Override any gcc2 internal prototype to avoid an error. */
95330 #ifdef __cplusplus
95331 extern "C"
95333 #endif
95334 /* We use char because int might match the return type of a gcc2
95335 builtin and then its argument prototype would still apply. */
95336 char $ac_func ();
95337 /* The GNU C library defines this for functions which it implements
95338 to always fail with ENOSYS. Some functions are actually named
95339 something starting with __ and the normal name is an alias. */
95340 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95341 choke me
95342 #else
95343 char (*f) () = $ac_func;
95344 #endif
95345 #ifdef __cplusplus
95347 #endif
95350 main ()
95352 return f != $ac_func;
95354 return 0;
95356 _ACEOF
95357 rm -f conftest.$ac_objext conftest$ac_exeext
95358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95359 (eval $ac_link) 2>conftest.er1
95360 ac_status=$?
95361 grep -v '^ *+' conftest.er1 >conftest.err
95362 rm -f conftest.er1
95363 cat conftest.err >&5
95364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95365 (exit $ac_status); } &&
95366 { ac_try='test -z "$ac_c_werror_flag"
95367 || test ! -s conftest.err'
95368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95369 (eval $ac_try) 2>&5
95370 ac_status=$?
95371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95372 (exit $ac_status); }; } &&
95373 { ac_try='test -s conftest$ac_exeext'
95374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95375 (eval $ac_try) 2>&5
95376 ac_status=$?
95377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95378 (exit $ac_status); }; }; then
95379 eval "$as_ac_var=yes"
95380 else
95381 echo "$as_me: failed program was:" >&5
95382 sed 's/^/| /' conftest.$ac_ext >&5
95384 eval "$as_ac_var=no"
95386 rm -f conftest.err conftest.$ac_objext \
95387 conftest$ac_exeext conftest.$ac_ext
95389 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95390 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95391 if test `eval echo '${'$as_ac_var'}'` = yes; then
95392 cat >>confdefs.h <<_ACEOF
95393 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95394 _ACEOF
95397 done
95407 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
95408 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
95409 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
95410 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
95411 echo $ECHO_N "(cached) $ECHO_C" >&6
95412 else
95416 ac_ext=cc
95417 ac_cpp='$CXXCPP $CPPFLAGS'
95418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95422 cat >conftest.$ac_ext <<_ACEOF
95423 /* confdefs.h. */
95424 _ACEOF
95425 cat confdefs.h >>conftest.$ac_ext
95426 cat >>conftest.$ac_ext <<_ACEOF
95427 /* end confdefs.h. */
95428 #include <math.h>
95430 main ()
95432 sincosl(0, 0, 0);
95434 return 0;
95436 _ACEOF
95437 rm -f conftest.$ac_objext
95438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95439 (eval $ac_compile) 2>conftest.er1
95440 ac_status=$?
95441 grep -v '^ *+' conftest.er1 >conftest.err
95442 rm -f conftest.er1
95443 cat conftest.err >&5
95444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95445 (exit $ac_status); } &&
95446 { ac_try='test -z "$ac_cxx_werror_flag"
95447 || test ! -s conftest.err'
95448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95449 (eval $ac_try) 2>&5
95450 ac_status=$?
95451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95452 (exit $ac_status); }; } &&
95453 { ac_try='test -s conftest.$ac_objext'
95454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95455 (eval $ac_try) 2>&5
95456 ac_status=$?
95457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95458 (exit $ac_status); }; }; then
95459 glibcxx_cv_func_sincosl_use=yes
95460 else
95461 echo "$as_me: failed program was:" >&5
95462 sed 's/^/| /' conftest.$ac_ext >&5
95464 glibcxx_cv_func_sincosl_use=no
95466 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95467 ac_ext=c
95468 ac_cpp='$CPP $CPPFLAGS'
95469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95477 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
95478 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
95480 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
95482 for ac_func in sincosl
95484 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95485 echo "$as_me:$LINENO: checking for $ac_func" >&5
95486 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95487 if eval "test \"\${$as_ac_var+set}\" = set"; then
95488 echo $ECHO_N "(cached) $ECHO_C" >&6
95489 else
95490 if test x$gcc_no_link = xyes; then
95491 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95492 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95493 { (exit 1); exit 1; }; }
95495 cat >conftest.$ac_ext <<_ACEOF
95496 /* confdefs.h. */
95497 _ACEOF
95498 cat confdefs.h >>conftest.$ac_ext
95499 cat >>conftest.$ac_ext <<_ACEOF
95500 /* end confdefs.h. */
95501 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95502 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95503 #define $ac_func innocuous_$ac_func
95505 /* System header to define __stub macros and hopefully few prototypes,
95506 which can conflict with char $ac_func (); below.
95507 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95508 <limits.h> exists even on freestanding compilers. */
95510 #ifdef __STDC__
95511 # include <limits.h>
95512 #else
95513 # include <assert.h>
95514 #endif
95516 #undef $ac_func
95518 /* Override any gcc2 internal prototype to avoid an error. */
95519 #ifdef __cplusplus
95520 extern "C"
95522 #endif
95523 /* We use char because int might match the return type of a gcc2
95524 builtin and then its argument prototype would still apply. */
95525 char $ac_func ();
95526 /* The GNU C library defines this for functions which it implements
95527 to always fail with ENOSYS. Some functions are actually named
95528 something starting with __ and the normal name is an alias. */
95529 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95530 choke me
95531 #else
95532 char (*f) () = $ac_func;
95533 #endif
95534 #ifdef __cplusplus
95536 #endif
95539 main ()
95541 return f != $ac_func;
95543 return 0;
95545 _ACEOF
95546 rm -f conftest.$ac_objext conftest$ac_exeext
95547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95548 (eval $ac_link) 2>conftest.er1
95549 ac_status=$?
95550 grep -v '^ *+' conftest.er1 >conftest.err
95551 rm -f conftest.er1
95552 cat conftest.err >&5
95553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95554 (exit $ac_status); } &&
95555 { ac_try='test -z "$ac_c_werror_flag"
95556 || test ! -s conftest.err'
95557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95558 (eval $ac_try) 2>&5
95559 ac_status=$?
95560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95561 (exit $ac_status); }; } &&
95562 { ac_try='test -s conftest$ac_exeext'
95563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95564 (eval $ac_try) 2>&5
95565 ac_status=$?
95566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95567 (exit $ac_status); }; }; then
95568 eval "$as_ac_var=yes"
95569 else
95570 echo "$as_me: failed program was:" >&5
95571 sed 's/^/| /' conftest.$ac_ext >&5
95573 eval "$as_ac_var=no"
95575 rm -f conftest.err conftest.$ac_objext \
95576 conftest$ac_exeext conftest.$ac_ext
95578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95579 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95580 if test `eval echo '${'$as_ac_var'}'` = yes; then
95581 cat >>confdefs.h <<_ACEOF
95582 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95583 _ACEOF
95586 done
95588 else
95590 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
95591 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
95592 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
95593 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
95594 echo $ECHO_N "(cached) $ECHO_C" >&6
95595 else
95599 ac_ext=cc
95600 ac_cpp='$CXXCPP $CPPFLAGS'
95601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95605 cat >conftest.$ac_ext <<_ACEOF
95606 /* confdefs.h. */
95607 _ACEOF
95608 cat confdefs.h >>conftest.$ac_ext
95609 cat >>conftest.$ac_ext <<_ACEOF
95610 /* end confdefs.h. */
95611 #include <math.h>
95613 main ()
95615 _sincosl(0, 0, 0);
95617 return 0;
95619 _ACEOF
95620 rm -f conftest.$ac_objext
95621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95622 (eval $ac_compile) 2>conftest.er1
95623 ac_status=$?
95624 grep -v '^ *+' conftest.er1 >conftest.err
95625 rm -f conftest.er1
95626 cat conftest.err >&5
95627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95628 (exit $ac_status); } &&
95629 { ac_try='test -z "$ac_cxx_werror_flag"
95630 || test ! -s conftest.err'
95631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95632 (eval $ac_try) 2>&5
95633 ac_status=$?
95634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95635 (exit $ac_status); }; } &&
95636 { ac_try='test -s conftest.$ac_objext'
95637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95638 (eval $ac_try) 2>&5
95639 ac_status=$?
95640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95641 (exit $ac_status); }; }; then
95642 glibcxx_cv_func__sincosl_use=yes
95643 else
95644 echo "$as_me: failed program was:" >&5
95645 sed 's/^/| /' conftest.$ac_ext >&5
95647 glibcxx_cv_func__sincosl_use=no
95649 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95650 ac_ext=c
95651 ac_cpp='$CPP $CPPFLAGS'
95652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95660 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
95661 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
95663 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
95665 for ac_func in _sincosl
95667 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95668 echo "$as_me:$LINENO: checking for $ac_func" >&5
95669 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95670 if eval "test \"\${$as_ac_var+set}\" = set"; then
95671 echo $ECHO_N "(cached) $ECHO_C" >&6
95672 else
95673 if test x$gcc_no_link = xyes; then
95674 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95675 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95676 { (exit 1); exit 1; }; }
95678 cat >conftest.$ac_ext <<_ACEOF
95679 /* confdefs.h. */
95680 _ACEOF
95681 cat confdefs.h >>conftest.$ac_ext
95682 cat >>conftest.$ac_ext <<_ACEOF
95683 /* end confdefs.h. */
95684 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95685 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95686 #define $ac_func innocuous_$ac_func
95688 /* System header to define __stub macros and hopefully few prototypes,
95689 which can conflict with char $ac_func (); below.
95690 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95691 <limits.h> exists even on freestanding compilers. */
95693 #ifdef __STDC__
95694 # include <limits.h>
95695 #else
95696 # include <assert.h>
95697 #endif
95699 #undef $ac_func
95701 /* Override any gcc2 internal prototype to avoid an error. */
95702 #ifdef __cplusplus
95703 extern "C"
95705 #endif
95706 /* We use char because int might match the return type of a gcc2
95707 builtin and then its argument prototype would still apply. */
95708 char $ac_func ();
95709 /* The GNU C library defines this for functions which it implements
95710 to always fail with ENOSYS. Some functions are actually named
95711 something starting with __ and the normal name is an alias. */
95712 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95713 choke me
95714 #else
95715 char (*f) () = $ac_func;
95716 #endif
95717 #ifdef __cplusplus
95719 #endif
95722 main ()
95724 return f != $ac_func;
95726 return 0;
95728 _ACEOF
95729 rm -f conftest.$ac_objext conftest$ac_exeext
95730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95731 (eval $ac_link) 2>conftest.er1
95732 ac_status=$?
95733 grep -v '^ *+' conftest.er1 >conftest.err
95734 rm -f conftest.er1
95735 cat conftest.err >&5
95736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95737 (exit $ac_status); } &&
95738 { ac_try='test -z "$ac_c_werror_flag"
95739 || test ! -s conftest.err'
95740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95741 (eval $ac_try) 2>&5
95742 ac_status=$?
95743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95744 (exit $ac_status); }; } &&
95745 { ac_try='test -s conftest$ac_exeext'
95746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95747 (eval $ac_try) 2>&5
95748 ac_status=$?
95749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95750 (exit $ac_status); }; }; then
95751 eval "$as_ac_var=yes"
95752 else
95753 echo "$as_me: failed program was:" >&5
95754 sed 's/^/| /' conftest.$ac_ext >&5
95756 eval "$as_ac_var=no"
95758 rm -f conftest.err conftest.$ac_objext \
95759 conftest$ac_exeext conftest.$ac_ext
95761 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95762 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95763 if test `eval echo '${'$as_ac_var'}'` = yes; then
95764 cat >>confdefs.h <<_ACEOF
95765 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95766 _ACEOF
95769 done
95779 echo "$as_me:$LINENO: checking for finitel declaration" >&5
95780 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
95781 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
95782 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
95783 echo $ECHO_N "(cached) $ECHO_C" >&6
95784 else
95788 ac_ext=cc
95789 ac_cpp='$CXXCPP $CPPFLAGS'
95790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95794 cat >conftest.$ac_ext <<_ACEOF
95795 /* confdefs.h. */
95796 _ACEOF
95797 cat confdefs.h >>conftest.$ac_ext
95798 cat >>conftest.$ac_ext <<_ACEOF
95799 /* end confdefs.h. */
95800 #include <math.h>
95801 #ifdef HAVE_IEEEFP_H
95802 #include <ieeefp.h>
95803 #endif
95806 main ()
95808 finitel(0);
95810 return 0;
95812 _ACEOF
95813 rm -f conftest.$ac_objext
95814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95815 (eval $ac_compile) 2>conftest.er1
95816 ac_status=$?
95817 grep -v '^ *+' conftest.er1 >conftest.err
95818 rm -f conftest.er1
95819 cat conftest.err >&5
95820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95821 (exit $ac_status); } &&
95822 { ac_try='test -z "$ac_cxx_werror_flag"
95823 || test ! -s conftest.err'
95824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95825 (eval $ac_try) 2>&5
95826 ac_status=$?
95827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95828 (exit $ac_status); }; } &&
95829 { ac_try='test -s conftest.$ac_objext'
95830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95831 (eval $ac_try) 2>&5
95832 ac_status=$?
95833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95834 (exit $ac_status); }; }; then
95835 glibcxx_cv_func_finitel_use=yes
95836 else
95837 echo "$as_me: failed program was:" >&5
95838 sed 's/^/| /' conftest.$ac_ext >&5
95840 glibcxx_cv_func_finitel_use=no
95842 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95843 ac_ext=c
95844 ac_cpp='$CPP $CPPFLAGS'
95845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95853 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
95854 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
95856 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
95858 for ac_func in finitel
95860 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95861 echo "$as_me:$LINENO: checking for $ac_func" >&5
95862 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95863 if eval "test \"\${$as_ac_var+set}\" = set"; then
95864 echo $ECHO_N "(cached) $ECHO_C" >&6
95865 else
95866 if test x$gcc_no_link = xyes; then
95867 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95868 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95869 { (exit 1); exit 1; }; }
95871 cat >conftest.$ac_ext <<_ACEOF
95872 /* confdefs.h. */
95873 _ACEOF
95874 cat confdefs.h >>conftest.$ac_ext
95875 cat >>conftest.$ac_ext <<_ACEOF
95876 /* end confdefs.h. */
95877 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95878 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95879 #define $ac_func innocuous_$ac_func
95881 /* System header to define __stub macros and hopefully few prototypes,
95882 which can conflict with char $ac_func (); below.
95883 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95884 <limits.h> exists even on freestanding compilers. */
95886 #ifdef __STDC__
95887 # include <limits.h>
95888 #else
95889 # include <assert.h>
95890 #endif
95892 #undef $ac_func
95894 /* Override any gcc2 internal prototype to avoid an error. */
95895 #ifdef __cplusplus
95896 extern "C"
95898 #endif
95899 /* We use char because int might match the return type of a gcc2
95900 builtin and then its argument prototype would still apply. */
95901 char $ac_func ();
95902 /* The GNU C library defines this for functions which it implements
95903 to always fail with ENOSYS. Some functions are actually named
95904 something starting with __ and the normal name is an alias. */
95905 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95906 choke me
95907 #else
95908 char (*f) () = $ac_func;
95909 #endif
95910 #ifdef __cplusplus
95912 #endif
95915 main ()
95917 return f != $ac_func;
95919 return 0;
95921 _ACEOF
95922 rm -f conftest.$ac_objext conftest$ac_exeext
95923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95924 (eval $ac_link) 2>conftest.er1
95925 ac_status=$?
95926 grep -v '^ *+' conftest.er1 >conftest.err
95927 rm -f conftest.er1
95928 cat conftest.err >&5
95929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95930 (exit $ac_status); } &&
95931 { ac_try='test -z "$ac_c_werror_flag"
95932 || test ! -s conftest.err'
95933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95934 (eval $ac_try) 2>&5
95935 ac_status=$?
95936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95937 (exit $ac_status); }; } &&
95938 { ac_try='test -s conftest$ac_exeext'
95939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95940 (eval $ac_try) 2>&5
95941 ac_status=$?
95942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95943 (exit $ac_status); }; }; then
95944 eval "$as_ac_var=yes"
95945 else
95946 echo "$as_me: failed program was:" >&5
95947 sed 's/^/| /' conftest.$ac_ext >&5
95949 eval "$as_ac_var=no"
95951 rm -f conftest.err conftest.$ac_objext \
95952 conftest$ac_exeext conftest.$ac_ext
95954 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95955 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95956 if test `eval echo '${'$as_ac_var'}'` = yes; then
95957 cat >>confdefs.h <<_ACEOF
95958 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95959 _ACEOF
95962 done
95964 else
95966 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
95967 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
95968 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
95969 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
95970 echo $ECHO_N "(cached) $ECHO_C" >&6
95971 else
95975 ac_ext=cc
95976 ac_cpp='$CXXCPP $CPPFLAGS'
95977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95981 cat >conftest.$ac_ext <<_ACEOF
95982 /* confdefs.h. */
95983 _ACEOF
95984 cat confdefs.h >>conftest.$ac_ext
95985 cat >>conftest.$ac_ext <<_ACEOF
95986 /* end confdefs.h. */
95987 #include <math.h>
95988 #ifdef HAVE_IEEEFP_H
95989 #include <ieeefp.h>
95990 #endif
95993 main ()
95995 _finitel(0);
95997 return 0;
95999 _ACEOF
96000 rm -f conftest.$ac_objext
96001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96002 (eval $ac_compile) 2>conftest.er1
96003 ac_status=$?
96004 grep -v '^ *+' conftest.er1 >conftest.err
96005 rm -f conftest.er1
96006 cat conftest.err >&5
96007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96008 (exit $ac_status); } &&
96009 { ac_try='test -z "$ac_cxx_werror_flag"
96010 || test ! -s conftest.err'
96011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96012 (eval $ac_try) 2>&5
96013 ac_status=$?
96014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96015 (exit $ac_status); }; } &&
96016 { ac_try='test -s conftest.$ac_objext'
96017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96018 (eval $ac_try) 2>&5
96019 ac_status=$?
96020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96021 (exit $ac_status); }; }; then
96022 glibcxx_cv_func__finitel_use=yes
96023 else
96024 echo "$as_me: failed program was:" >&5
96025 sed 's/^/| /' conftest.$ac_ext >&5
96027 glibcxx_cv_func__finitel_use=no
96029 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96030 ac_ext=c
96031 ac_cpp='$CPP $CPPFLAGS'
96032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96040 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
96041 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
96043 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
96045 for ac_func in _finitel
96047 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96048 echo "$as_me:$LINENO: checking for $ac_func" >&5
96049 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96050 if eval "test \"\${$as_ac_var+set}\" = set"; then
96051 echo $ECHO_N "(cached) $ECHO_C" >&6
96052 else
96053 if test x$gcc_no_link = xyes; then
96054 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96055 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96056 { (exit 1); exit 1; }; }
96058 cat >conftest.$ac_ext <<_ACEOF
96059 /* confdefs.h. */
96060 _ACEOF
96061 cat confdefs.h >>conftest.$ac_ext
96062 cat >>conftest.$ac_ext <<_ACEOF
96063 /* end confdefs.h. */
96064 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96065 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96066 #define $ac_func innocuous_$ac_func
96068 /* System header to define __stub macros and hopefully few prototypes,
96069 which can conflict with char $ac_func (); below.
96070 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96071 <limits.h> exists even on freestanding compilers. */
96073 #ifdef __STDC__
96074 # include <limits.h>
96075 #else
96076 # include <assert.h>
96077 #endif
96079 #undef $ac_func
96081 /* Override any gcc2 internal prototype to avoid an error. */
96082 #ifdef __cplusplus
96083 extern "C"
96085 #endif
96086 /* We use char because int might match the return type of a gcc2
96087 builtin and then its argument prototype would still apply. */
96088 char $ac_func ();
96089 /* The GNU C library defines this for functions which it implements
96090 to always fail with ENOSYS. Some functions are actually named
96091 something starting with __ and the normal name is an alias. */
96092 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96093 choke me
96094 #else
96095 char (*f) () = $ac_func;
96096 #endif
96097 #ifdef __cplusplus
96099 #endif
96102 main ()
96104 return f != $ac_func;
96106 return 0;
96108 _ACEOF
96109 rm -f conftest.$ac_objext conftest$ac_exeext
96110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96111 (eval $ac_link) 2>conftest.er1
96112 ac_status=$?
96113 grep -v '^ *+' conftest.er1 >conftest.err
96114 rm -f conftest.er1
96115 cat conftest.err >&5
96116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96117 (exit $ac_status); } &&
96118 { ac_try='test -z "$ac_c_werror_flag"
96119 || test ! -s conftest.err'
96120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96121 (eval $ac_try) 2>&5
96122 ac_status=$?
96123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96124 (exit $ac_status); }; } &&
96125 { ac_try='test -s conftest$ac_exeext'
96126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96127 (eval $ac_try) 2>&5
96128 ac_status=$?
96129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96130 (exit $ac_status); }; }; then
96131 eval "$as_ac_var=yes"
96132 else
96133 echo "$as_me: failed program was:" >&5
96134 sed 's/^/| /' conftest.$ac_ext >&5
96136 eval "$as_ac_var=no"
96138 rm -f conftest.err conftest.$ac_objext \
96139 conftest$ac_exeext conftest.$ac_ext
96141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96142 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96143 if test `eval echo '${'$as_ac_var'}'` = yes; then
96144 cat >>confdefs.h <<_ACEOF
96145 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96146 _ACEOF
96149 done
96158 LIBS="$ac_save_LIBS"
96159 CXXFLAGS="$ac_save_CXXFLAGS"
96163 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
96164 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
96165 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
96166 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
96167 echo $ECHO_N "(cached) $ECHO_C" >&6
96168 else
96172 ac_ext=cc
96173 ac_cpp='$CXXCPP $CPPFLAGS'
96174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96178 cat >conftest.$ac_ext <<_ACEOF
96179 /* confdefs.h. */
96180 _ACEOF
96181 cat confdefs.h >>conftest.$ac_ext
96182 cat >>conftest.$ac_ext <<_ACEOF
96183 /* end confdefs.h. */
96184 #include <math.h>
96186 main ()
96188 __builtin_abs(0);
96190 return 0;
96192 _ACEOF
96193 rm -f conftest.$ac_objext
96194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96195 (eval $ac_compile) 2>conftest.er1
96196 ac_status=$?
96197 grep -v '^ *+' conftest.er1 >conftest.err
96198 rm -f conftest.er1
96199 cat conftest.err >&5
96200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96201 (exit $ac_status); } &&
96202 { ac_try='test -z "$ac_cxx_werror_flag"
96203 || test ! -s conftest.err'
96204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96205 (eval $ac_try) 2>&5
96206 ac_status=$?
96207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96208 (exit $ac_status); }; } &&
96209 { ac_try='test -s conftest.$ac_objext'
96210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96211 (eval $ac_try) 2>&5
96212 ac_status=$?
96213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96214 (exit $ac_status); }; }; then
96215 glibcxx_cv_func___builtin_abs_use=yes
96216 else
96217 echo "$as_me: failed program was:" >&5
96218 sed 's/^/| /' conftest.$ac_ext >&5
96220 glibcxx_cv_func___builtin_abs_use=no
96222 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96223 ac_ext=c
96224 ac_cpp='$CPP $CPPFLAGS'
96225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96233 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
96234 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
96235 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
96236 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
96237 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
96238 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
96239 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
96240 echo $ECHO_N "(cached) $ECHO_C" >&6
96241 else
96243 if test x$gcc_no_link = xyes; then
96244 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96245 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96246 { (exit 1); exit 1; }; }
96248 cat >conftest.$ac_ext <<_ACEOF
96249 /* confdefs.h. */
96250 _ACEOF
96251 cat confdefs.h >>conftest.$ac_ext
96252 cat >>conftest.$ac_ext <<_ACEOF
96253 /* end confdefs.h. */
96254 #include <math.h>
96256 main ()
96258 __builtin_abs(0);
96260 return 0;
96262 _ACEOF
96263 rm -f conftest.$ac_objext conftest$ac_exeext
96264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96265 (eval $ac_link) 2>conftest.er1
96266 ac_status=$?
96267 grep -v '^ *+' conftest.er1 >conftest.err
96268 rm -f conftest.er1
96269 cat conftest.err >&5
96270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96271 (exit $ac_status); } &&
96272 { ac_try='test -z "$ac_c_werror_flag"
96273 || test ! -s conftest.err'
96274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96275 (eval $ac_try) 2>&5
96276 ac_status=$?
96277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96278 (exit $ac_status); }; } &&
96279 { ac_try='test -s conftest$ac_exeext'
96280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96281 (eval $ac_try) 2>&5
96282 ac_status=$?
96283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96284 (exit $ac_status); }; }; then
96285 glibcxx_cv_func___builtin_abs_link=yes
96286 else
96287 echo "$as_me: failed program was:" >&5
96288 sed 's/^/| /' conftest.$ac_ext >&5
96290 glibcxx_cv_func___builtin_abs_link=no
96292 rm -f conftest.err conftest.$ac_objext \
96293 conftest$ac_exeext conftest.$ac_ext
96298 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
96299 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
96301 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
96303 cat >>confdefs.h <<\_ACEOF
96304 #define HAVE___BUILTIN_ABS 1
96305 _ACEOF
96312 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
96313 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
96314 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
96315 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
96316 echo $ECHO_N "(cached) $ECHO_C" >&6
96317 else
96321 ac_ext=cc
96322 ac_cpp='$CXXCPP $CPPFLAGS'
96323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96327 cat >conftest.$ac_ext <<_ACEOF
96328 /* confdefs.h. */
96329 _ACEOF
96330 cat confdefs.h >>conftest.$ac_ext
96331 cat >>conftest.$ac_ext <<_ACEOF
96332 /* end confdefs.h. */
96333 #include <math.h>
96335 main ()
96337 __builtin_fabsf(0);
96339 return 0;
96341 _ACEOF
96342 rm -f conftest.$ac_objext
96343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96344 (eval $ac_compile) 2>conftest.er1
96345 ac_status=$?
96346 grep -v '^ *+' conftest.er1 >conftest.err
96347 rm -f conftest.er1
96348 cat conftest.err >&5
96349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96350 (exit $ac_status); } &&
96351 { ac_try='test -z "$ac_cxx_werror_flag"
96352 || test ! -s conftest.err'
96353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96354 (eval $ac_try) 2>&5
96355 ac_status=$?
96356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96357 (exit $ac_status); }; } &&
96358 { ac_try='test -s conftest.$ac_objext'
96359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96360 (eval $ac_try) 2>&5
96361 ac_status=$?
96362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96363 (exit $ac_status); }; }; then
96364 glibcxx_cv_func___builtin_fabsf_use=yes
96365 else
96366 echo "$as_me: failed program was:" >&5
96367 sed 's/^/| /' conftest.$ac_ext >&5
96369 glibcxx_cv_func___builtin_fabsf_use=no
96371 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96372 ac_ext=c
96373 ac_cpp='$CPP $CPPFLAGS'
96374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96382 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
96383 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
96384 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
96385 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
96386 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
96387 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
96388 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
96389 echo $ECHO_N "(cached) $ECHO_C" >&6
96390 else
96392 if test x$gcc_no_link = xyes; then
96393 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96394 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96395 { (exit 1); exit 1; }; }
96397 cat >conftest.$ac_ext <<_ACEOF
96398 /* confdefs.h. */
96399 _ACEOF
96400 cat confdefs.h >>conftest.$ac_ext
96401 cat >>conftest.$ac_ext <<_ACEOF
96402 /* end confdefs.h. */
96403 #include <math.h>
96405 main ()
96407 __builtin_fabsf(0);
96409 return 0;
96411 _ACEOF
96412 rm -f conftest.$ac_objext conftest$ac_exeext
96413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96414 (eval $ac_link) 2>conftest.er1
96415 ac_status=$?
96416 grep -v '^ *+' conftest.er1 >conftest.err
96417 rm -f conftest.er1
96418 cat conftest.err >&5
96419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96420 (exit $ac_status); } &&
96421 { ac_try='test -z "$ac_c_werror_flag"
96422 || test ! -s conftest.err'
96423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96424 (eval $ac_try) 2>&5
96425 ac_status=$?
96426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96427 (exit $ac_status); }; } &&
96428 { ac_try='test -s conftest$ac_exeext'
96429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96430 (eval $ac_try) 2>&5
96431 ac_status=$?
96432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96433 (exit $ac_status); }; }; then
96434 glibcxx_cv_func___builtin_fabsf_link=yes
96435 else
96436 echo "$as_me: failed program was:" >&5
96437 sed 's/^/| /' conftest.$ac_ext >&5
96439 glibcxx_cv_func___builtin_fabsf_link=no
96441 rm -f conftest.err conftest.$ac_objext \
96442 conftest$ac_exeext conftest.$ac_ext
96447 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
96448 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
96450 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
96452 cat >>confdefs.h <<\_ACEOF
96453 #define HAVE___BUILTIN_FABSF 1
96454 _ACEOF
96461 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
96462 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
96463 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
96464 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
96465 echo $ECHO_N "(cached) $ECHO_C" >&6
96466 else
96470 ac_ext=cc
96471 ac_cpp='$CXXCPP $CPPFLAGS'
96472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96476 cat >conftest.$ac_ext <<_ACEOF
96477 /* confdefs.h. */
96478 _ACEOF
96479 cat confdefs.h >>conftest.$ac_ext
96480 cat >>conftest.$ac_ext <<_ACEOF
96481 /* end confdefs.h. */
96482 #include <math.h>
96484 main ()
96486 __builtin_fabs(0);
96488 return 0;
96490 _ACEOF
96491 rm -f conftest.$ac_objext
96492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96493 (eval $ac_compile) 2>conftest.er1
96494 ac_status=$?
96495 grep -v '^ *+' conftest.er1 >conftest.err
96496 rm -f conftest.er1
96497 cat conftest.err >&5
96498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96499 (exit $ac_status); } &&
96500 { ac_try='test -z "$ac_cxx_werror_flag"
96501 || test ! -s conftest.err'
96502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96503 (eval $ac_try) 2>&5
96504 ac_status=$?
96505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96506 (exit $ac_status); }; } &&
96507 { ac_try='test -s conftest.$ac_objext'
96508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96509 (eval $ac_try) 2>&5
96510 ac_status=$?
96511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96512 (exit $ac_status); }; }; then
96513 glibcxx_cv_func___builtin_fabs_use=yes
96514 else
96515 echo "$as_me: failed program was:" >&5
96516 sed 's/^/| /' conftest.$ac_ext >&5
96518 glibcxx_cv_func___builtin_fabs_use=no
96520 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96521 ac_ext=c
96522 ac_cpp='$CPP $CPPFLAGS'
96523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96531 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
96532 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
96533 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
96534 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
96535 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
96536 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
96537 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
96538 echo $ECHO_N "(cached) $ECHO_C" >&6
96539 else
96541 if test x$gcc_no_link = xyes; then
96542 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96543 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96544 { (exit 1); exit 1; }; }
96546 cat >conftest.$ac_ext <<_ACEOF
96547 /* confdefs.h. */
96548 _ACEOF
96549 cat confdefs.h >>conftest.$ac_ext
96550 cat >>conftest.$ac_ext <<_ACEOF
96551 /* end confdefs.h. */
96552 #include <math.h>
96554 main ()
96556 __builtin_fabs(0);
96558 return 0;
96560 _ACEOF
96561 rm -f conftest.$ac_objext conftest$ac_exeext
96562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96563 (eval $ac_link) 2>conftest.er1
96564 ac_status=$?
96565 grep -v '^ *+' conftest.er1 >conftest.err
96566 rm -f conftest.er1
96567 cat conftest.err >&5
96568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96569 (exit $ac_status); } &&
96570 { ac_try='test -z "$ac_c_werror_flag"
96571 || test ! -s conftest.err'
96572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96573 (eval $ac_try) 2>&5
96574 ac_status=$?
96575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96576 (exit $ac_status); }; } &&
96577 { ac_try='test -s conftest$ac_exeext'
96578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96579 (eval $ac_try) 2>&5
96580 ac_status=$?
96581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96582 (exit $ac_status); }; }; then
96583 glibcxx_cv_func___builtin_fabs_link=yes
96584 else
96585 echo "$as_me: failed program was:" >&5
96586 sed 's/^/| /' conftest.$ac_ext >&5
96588 glibcxx_cv_func___builtin_fabs_link=no
96590 rm -f conftest.err conftest.$ac_objext \
96591 conftest$ac_exeext conftest.$ac_ext
96596 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
96597 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
96599 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
96601 cat >>confdefs.h <<\_ACEOF
96602 #define HAVE___BUILTIN_FABS 1
96603 _ACEOF
96610 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
96611 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
96612 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
96613 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
96614 echo $ECHO_N "(cached) $ECHO_C" >&6
96615 else
96619 ac_ext=cc
96620 ac_cpp='$CXXCPP $CPPFLAGS'
96621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96625 cat >conftest.$ac_ext <<_ACEOF
96626 /* confdefs.h. */
96627 _ACEOF
96628 cat confdefs.h >>conftest.$ac_ext
96629 cat >>conftest.$ac_ext <<_ACEOF
96630 /* end confdefs.h. */
96631 #include <math.h>
96633 main ()
96635 __builtin_fabsl(0);
96637 return 0;
96639 _ACEOF
96640 rm -f conftest.$ac_objext
96641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96642 (eval $ac_compile) 2>conftest.er1
96643 ac_status=$?
96644 grep -v '^ *+' conftest.er1 >conftest.err
96645 rm -f conftest.er1
96646 cat conftest.err >&5
96647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96648 (exit $ac_status); } &&
96649 { ac_try='test -z "$ac_cxx_werror_flag"
96650 || test ! -s conftest.err'
96651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96652 (eval $ac_try) 2>&5
96653 ac_status=$?
96654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96655 (exit $ac_status); }; } &&
96656 { ac_try='test -s conftest.$ac_objext'
96657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96658 (eval $ac_try) 2>&5
96659 ac_status=$?
96660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96661 (exit $ac_status); }; }; then
96662 glibcxx_cv_func___builtin_fabsl_use=yes
96663 else
96664 echo "$as_me: failed program was:" >&5
96665 sed 's/^/| /' conftest.$ac_ext >&5
96667 glibcxx_cv_func___builtin_fabsl_use=no
96669 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96670 ac_ext=c
96671 ac_cpp='$CPP $CPPFLAGS'
96672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96680 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
96681 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
96682 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
96683 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
96684 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
96685 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
96686 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
96687 echo $ECHO_N "(cached) $ECHO_C" >&6
96688 else
96690 if test x$gcc_no_link = xyes; then
96691 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96692 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96693 { (exit 1); exit 1; }; }
96695 cat >conftest.$ac_ext <<_ACEOF
96696 /* confdefs.h. */
96697 _ACEOF
96698 cat confdefs.h >>conftest.$ac_ext
96699 cat >>conftest.$ac_ext <<_ACEOF
96700 /* end confdefs.h. */
96701 #include <math.h>
96703 main ()
96705 __builtin_fabsl(0);
96707 return 0;
96709 _ACEOF
96710 rm -f conftest.$ac_objext conftest$ac_exeext
96711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96712 (eval $ac_link) 2>conftest.er1
96713 ac_status=$?
96714 grep -v '^ *+' conftest.er1 >conftest.err
96715 rm -f conftest.er1
96716 cat conftest.err >&5
96717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96718 (exit $ac_status); } &&
96719 { ac_try='test -z "$ac_c_werror_flag"
96720 || test ! -s conftest.err'
96721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96722 (eval $ac_try) 2>&5
96723 ac_status=$?
96724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96725 (exit $ac_status); }; } &&
96726 { ac_try='test -s conftest$ac_exeext'
96727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96728 (eval $ac_try) 2>&5
96729 ac_status=$?
96730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96731 (exit $ac_status); }; }; then
96732 glibcxx_cv_func___builtin_fabsl_link=yes
96733 else
96734 echo "$as_me: failed program was:" >&5
96735 sed 's/^/| /' conftest.$ac_ext >&5
96737 glibcxx_cv_func___builtin_fabsl_link=no
96739 rm -f conftest.err conftest.$ac_objext \
96740 conftest$ac_exeext conftest.$ac_ext
96745 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
96746 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
96748 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
96750 cat >>confdefs.h <<\_ACEOF
96751 #define HAVE___BUILTIN_FABSL 1
96752 _ACEOF
96759 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
96760 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
96761 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
96762 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
96763 echo $ECHO_N "(cached) $ECHO_C" >&6
96764 else
96768 ac_ext=cc
96769 ac_cpp='$CXXCPP $CPPFLAGS'
96770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96774 cat >conftest.$ac_ext <<_ACEOF
96775 /* confdefs.h. */
96776 _ACEOF
96777 cat confdefs.h >>conftest.$ac_ext
96778 cat >>conftest.$ac_ext <<_ACEOF
96779 /* end confdefs.h. */
96780 #include <math.h>
96782 main ()
96784 __builtin_labs(0);
96786 return 0;
96788 _ACEOF
96789 rm -f conftest.$ac_objext
96790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96791 (eval $ac_compile) 2>conftest.er1
96792 ac_status=$?
96793 grep -v '^ *+' conftest.er1 >conftest.err
96794 rm -f conftest.er1
96795 cat conftest.err >&5
96796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96797 (exit $ac_status); } &&
96798 { ac_try='test -z "$ac_cxx_werror_flag"
96799 || test ! -s conftest.err'
96800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96801 (eval $ac_try) 2>&5
96802 ac_status=$?
96803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96804 (exit $ac_status); }; } &&
96805 { ac_try='test -s conftest.$ac_objext'
96806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96807 (eval $ac_try) 2>&5
96808 ac_status=$?
96809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96810 (exit $ac_status); }; }; then
96811 glibcxx_cv_func___builtin_labs_use=yes
96812 else
96813 echo "$as_me: failed program was:" >&5
96814 sed 's/^/| /' conftest.$ac_ext >&5
96816 glibcxx_cv_func___builtin_labs_use=no
96818 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96819 ac_ext=c
96820 ac_cpp='$CPP $CPPFLAGS'
96821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96829 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
96830 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
96831 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
96832 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
96833 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
96834 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
96835 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
96836 echo $ECHO_N "(cached) $ECHO_C" >&6
96837 else
96839 if test x$gcc_no_link = xyes; then
96840 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96841 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96842 { (exit 1); exit 1; }; }
96844 cat >conftest.$ac_ext <<_ACEOF
96845 /* confdefs.h. */
96846 _ACEOF
96847 cat confdefs.h >>conftest.$ac_ext
96848 cat >>conftest.$ac_ext <<_ACEOF
96849 /* end confdefs.h. */
96850 #include <math.h>
96852 main ()
96854 __builtin_labs(0);
96856 return 0;
96858 _ACEOF
96859 rm -f conftest.$ac_objext conftest$ac_exeext
96860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96861 (eval $ac_link) 2>conftest.er1
96862 ac_status=$?
96863 grep -v '^ *+' conftest.er1 >conftest.err
96864 rm -f conftest.er1
96865 cat conftest.err >&5
96866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96867 (exit $ac_status); } &&
96868 { ac_try='test -z "$ac_c_werror_flag"
96869 || test ! -s conftest.err'
96870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96871 (eval $ac_try) 2>&5
96872 ac_status=$?
96873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96874 (exit $ac_status); }; } &&
96875 { ac_try='test -s conftest$ac_exeext'
96876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96877 (eval $ac_try) 2>&5
96878 ac_status=$?
96879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96880 (exit $ac_status); }; }; then
96881 glibcxx_cv_func___builtin_labs_link=yes
96882 else
96883 echo "$as_me: failed program was:" >&5
96884 sed 's/^/| /' conftest.$ac_ext >&5
96886 glibcxx_cv_func___builtin_labs_link=no
96888 rm -f conftest.err conftest.$ac_objext \
96889 conftest$ac_exeext conftest.$ac_ext
96894 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
96895 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
96897 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
96899 cat >>confdefs.h <<\_ACEOF
96900 #define HAVE___BUILTIN_LABS 1
96901 _ACEOF
96909 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
96910 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
96911 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
96912 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
96913 echo $ECHO_N "(cached) $ECHO_C" >&6
96914 else
96918 ac_ext=cc
96919 ac_cpp='$CXXCPP $CPPFLAGS'
96920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96924 cat >conftest.$ac_ext <<_ACEOF
96925 /* confdefs.h. */
96926 _ACEOF
96927 cat confdefs.h >>conftest.$ac_ext
96928 cat >>conftest.$ac_ext <<_ACEOF
96929 /* end confdefs.h. */
96930 #include <math.h>
96932 main ()
96934 __builtin_sqrtf(0);
96936 return 0;
96938 _ACEOF
96939 rm -f conftest.$ac_objext
96940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96941 (eval $ac_compile) 2>conftest.er1
96942 ac_status=$?
96943 grep -v '^ *+' conftest.er1 >conftest.err
96944 rm -f conftest.er1
96945 cat conftest.err >&5
96946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96947 (exit $ac_status); } &&
96948 { ac_try='test -z "$ac_cxx_werror_flag"
96949 || test ! -s conftest.err'
96950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96951 (eval $ac_try) 2>&5
96952 ac_status=$?
96953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96954 (exit $ac_status); }; } &&
96955 { ac_try='test -s conftest.$ac_objext'
96956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96957 (eval $ac_try) 2>&5
96958 ac_status=$?
96959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96960 (exit $ac_status); }; }; then
96961 glibcxx_cv_func___builtin_sqrtf_use=yes
96962 else
96963 echo "$as_me: failed program was:" >&5
96964 sed 's/^/| /' conftest.$ac_ext >&5
96966 glibcxx_cv_func___builtin_sqrtf_use=no
96968 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96969 ac_ext=c
96970 ac_cpp='$CPP $CPPFLAGS'
96971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96979 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
96980 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
96981 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
96982 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
96983 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
96984 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
96985 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
96986 echo $ECHO_N "(cached) $ECHO_C" >&6
96987 else
96989 if test x$gcc_no_link = xyes; then
96990 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96991 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96992 { (exit 1); exit 1; }; }
96994 cat >conftest.$ac_ext <<_ACEOF
96995 /* confdefs.h. */
96996 _ACEOF
96997 cat confdefs.h >>conftest.$ac_ext
96998 cat >>conftest.$ac_ext <<_ACEOF
96999 /* end confdefs.h. */
97000 #include <math.h>
97002 main ()
97004 __builtin_sqrtf(0);
97006 return 0;
97008 _ACEOF
97009 rm -f conftest.$ac_objext conftest$ac_exeext
97010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97011 (eval $ac_link) 2>conftest.er1
97012 ac_status=$?
97013 grep -v '^ *+' conftest.er1 >conftest.err
97014 rm -f conftest.er1
97015 cat conftest.err >&5
97016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97017 (exit $ac_status); } &&
97018 { ac_try='test -z "$ac_c_werror_flag"
97019 || test ! -s conftest.err'
97020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97021 (eval $ac_try) 2>&5
97022 ac_status=$?
97023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97024 (exit $ac_status); }; } &&
97025 { ac_try='test -s conftest$ac_exeext'
97026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97027 (eval $ac_try) 2>&5
97028 ac_status=$?
97029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97030 (exit $ac_status); }; }; then
97031 glibcxx_cv_func___builtin_sqrtf_link=yes
97032 else
97033 echo "$as_me: failed program was:" >&5
97034 sed 's/^/| /' conftest.$ac_ext >&5
97036 glibcxx_cv_func___builtin_sqrtf_link=no
97038 rm -f conftest.err conftest.$ac_objext \
97039 conftest$ac_exeext conftest.$ac_ext
97044 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
97045 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
97047 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
97049 cat >>confdefs.h <<\_ACEOF
97050 #define HAVE___BUILTIN_SQRTF 1
97051 _ACEOF
97058 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
97059 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
97060 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
97061 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
97062 echo $ECHO_N "(cached) $ECHO_C" >&6
97063 else
97067 ac_ext=cc
97068 ac_cpp='$CXXCPP $CPPFLAGS'
97069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97073 cat >conftest.$ac_ext <<_ACEOF
97074 /* confdefs.h. */
97075 _ACEOF
97076 cat confdefs.h >>conftest.$ac_ext
97077 cat >>conftest.$ac_ext <<_ACEOF
97078 /* end confdefs.h. */
97079 #include <math.h>
97081 main ()
97083 __builtin_sqrt(0);
97085 return 0;
97087 _ACEOF
97088 rm -f conftest.$ac_objext
97089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97090 (eval $ac_compile) 2>conftest.er1
97091 ac_status=$?
97092 grep -v '^ *+' conftest.er1 >conftest.err
97093 rm -f conftest.er1
97094 cat conftest.err >&5
97095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97096 (exit $ac_status); } &&
97097 { ac_try='test -z "$ac_cxx_werror_flag"
97098 || test ! -s conftest.err'
97099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97100 (eval $ac_try) 2>&5
97101 ac_status=$?
97102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97103 (exit $ac_status); }; } &&
97104 { ac_try='test -s conftest.$ac_objext'
97105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97106 (eval $ac_try) 2>&5
97107 ac_status=$?
97108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97109 (exit $ac_status); }; }; then
97110 glibcxx_cv_func___builtin_sqrt_use=yes
97111 else
97112 echo "$as_me: failed program was:" >&5
97113 sed 's/^/| /' conftest.$ac_ext >&5
97115 glibcxx_cv_func___builtin_sqrt_use=no
97117 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97118 ac_ext=c
97119 ac_cpp='$CPP $CPPFLAGS'
97120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97128 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
97129 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
97130 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
97131 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
97132 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
97133 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
97134 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
97135 echo $ECHO_N "(cached) $ECHO_C" >&6
97136 else
97138 if test x$gcc_no_link = xyes; then
97139 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97140 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97141 { (exit 1); exit 1; }; }
97143 cat >conftest.$ac_ext <<_ACEOF
97144 /* confdefs.h. */
97145 _ACEOF
97146 cat confdefs.h >>conftest.$ac_ext
97147 cat >>conftest.$ac_ext <<_ACEOF
97148 /* end confdefs.h. */
97149 #include <math.h>
97151 main ()
97153 __builtin_sqrt(0);
97155 return 0;
97157 _ACEOF
97158 rm -f conftest.$ac_objext conftest$ac_exeext
97159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97160 (eval $ac_link) 2>conftest.er1
97161 ac_status=$?
97162 grep -v '^ *+' conftest.er1 >conftest.err
97163 rm -f conftest.er1
97164 cat conftest.err >&5
97165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97166 (exit $ac_status); } &&
97167 { ac_try='test -z "$ac_c_werror_flag"
97168 || test ! -s conftest.err'
97169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97170 (eval $ac_try) 2>&5
97171 ac_status=$?
97172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97173 (exit $ac_status); }; } &&
97174 { ac_try='test -s conftest$ac_exeext'
97175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97176 (eval $ac_try) 2>&5
97177 ac_status=$?
97178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97179 (exit $ac_status); }; }; then
97180 glibcxx_cv_func___builtin_sqrt_link=yes
97181 else
97182 echo "$as_me: failed program was:" >&5
97183 sed 's/^/| /' conftest.$ac_ext >&5
97185 glibcxx_cv_func___builtin_sqrt_link=no
97187 rm -f conftest.err conftest.$ac_objext \
97188 conftest$ac_exeext conftest.$ac_ext
97193 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
97194 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
97196 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
97198 cat >>confdefs.h <<\_ACEOF
97199 #define HAVE___BUILTIN_SQRT 1
97200 _ACEOF
97207 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
97208 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
97209 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
97210 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
97211 echo $ECHO_N "(cached) $ECHO_C" >&6
97212 else
97216 ac_ext=cc
97217 ac_cpp='$CXXCPP $CPPFLAGS'
97218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97222 cat >conftest.$ac_ext <<_ACEOF
97223 /* confdefs.h. */
97224 _ACEOF
97225 cat confdefs.h >>conftest.$ac_ext
97226 cat >>conftest.$ac_ext <<_ACEOF
97227 /* end confdefs.h. */
97228 #include <math.h>
97230 main ()
97232 __builtin_sqrtl(0);
97234 return 0;
97236 _ACEOF
97237 rm -f conftest.$ac_objext
97238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97239 (eval $ac_compile) 2>conftest.er1
97240 ac_status=$?
97241 grep -v '^ *+' conftest.er1 >conftest.err
97242 rm -f conftest.er1
97243 cat conftest.err >&5
97244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97245 (exit $ac_status); } &&
97246 { ac_try='test -z "$ac_cxx_werror_flag"
97247 || test ! -s conftest.err'
97248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97249 (eval $ac_try) 2>&5
97250 ac_status=$?
97251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97252 (exit $ac_status); }; } &&
97253 { ac_try='test -s conftest.$ac_objext'
97254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97255 (eval $ac_try) 2>&5
97256 ac_status=$?
97257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97258 (exit $ac_status); }; }; then
97259 glibcxx_cv_func___builtin_sqrtl_use=yes
97260 else
97261 echo "$as_me: failed program was:" >&5
97262 sed 's/^/| /' conftest.$ac_ext >&5
97264 glibcxx_cv_func___builtin_sqrtl_use=no
97266 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97267 ac_ext=c
97268 ac_cpp='$CPP $CPPFLAGS'
97269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97277 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
97278 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
97279 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
97280 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
97281 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
97282 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
97283 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
97284 echo $ECHO_N "(cached) $ECHO_C" >&6
97285 else
97287 if test x$gcc_no_link = xyes; then
97288 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97289 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97290 { (exit 1); exit 1; }; }
97292 cat >conftest.$ac_ext <<_ACEOF
97293 /* confdefs.h. */
97294 _ACEOF
97295 cat confdefs.h >>conftest.$ac_ext
97296 cat >>conftest.$ac_ext <<_ACEOF
97297 /* end confdefs.h. */
97298 #include <math.h>
97300 main ()
97302 __builtin_sqrtl(0);
97304 return 0;
97306 _ACEOF
97307 rm -f conftest.$ac_objext conftest$ac_exeext
97308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97309 (eval $ac_link) 2>conftest.er1
97310 ac_status=$?
97311 grep -v '^ *+' conftest.er1 >conftest.err
97312 rm -f conftest.er1
97313 cat conftest.err >&5
97314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97315 (exit $ac_status); } &&
97316 { ac_try='test -z "$ac_c_werror_flag"
97317 || test ! -s conftest.err'
97318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97319 (eval $ac_try) 2>&5
97320 ac_status=$?
97321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97322 (exit $ac_status); }; } &&
97323 { ac_try='test -s conftest$ac_exeext'
97324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97325 (eval $ac_try) 2>&5
97326 ac_status=$?
97327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97328 (exit $ac_status); }; }; then
97329 glibcxx_cv_func___builtin_sqrtl_link=yes
97330 else
97331 echo "$as_me: failed program was:" >&5
97332 sed 's/^/| /' conftest.$ac_ext >&5
97334 glibcxx_cv_func___builtin_sqrtl_link=no
97336 rm -f conftest.err conftest.$ac_objext \
97337 conftest$ac_exeext conftest.$ac_ext
97342 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
97343 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
97345 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
97347 cat >>confdefs.h <<\_ACEOF
97348 #define HAVE___BUILTIN_SQRTL 1
97349 _ACEOF
97357 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
97358 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
97359 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
97360 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
97361 echo $ECHO_N "(cached) $ECHO_C" >&6
97362 else
97366 ac_ext=cc
97367 ac_cpp='$CXXCPP $CPPFLAGS'
97368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97372 cat >conftest.$ac_ext <<_ACEOF
97373 /* confdefs.h. */
97374 _ACEOF
97375 cat confdefs.h >>conftest.$ac_ext
97376 cat >>conftest.$ac_ext <<_ACEOF
97377 /* end confdefs.h. */
97378 #include <math.h>
97380 main ()
97382 __builtin_sinf(0);
97384 return 0;
97386 _ACEOF
97387 rm -f conftest.$ac_objext
97388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97389 (eval $ac_compile) 2>conftest.er1
97390 ac_status=$?
97391 grep -v '^ *+' conftest.er1 >conftest.err
97392 rm -f conftest.er1
97393 cat conftest.err >&5
97394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97395 (exit $ac_status); } &&
97396 { ac_try='test -z "$ac_cxx_werror_flag"
97397 || test ! -s conftest.err'
97398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97399 (eval $ac_try) 2>&5
97400 ac_status=$?
97401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97402 (exit $ac_status); }; } &&
97403 { ac_try='test -s conftest.$ac_objext'
97404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97405 (eval $ac_try) 2>&5
97406 ac_status=$?
97407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97408 (exit $ac_status); }; }; then
97409 glibcxx_cv_func___builtin_sinf_use=yes
97410 else
97411 echo "$as_me: failed program was:" >&5
97412 sed 's/^/| /' conftest.$ac_ext >&5
97414 glibcxx_cv_func___builtin_sinf_use=no
97416 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97417 ac_ext=c
97418 ac_cpp='$CPP $CPPFLAGS'
97419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97427 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
97428 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
97429 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
97430 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
97431 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
97432 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
97433 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
97434 echo $ECHO_N "(cached) $ECHO_C" >&6
97435 else
97437 if test x$gcc_no_link = xyes; then
97438 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97439 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97440 { (exit 1); exit 1; }; }
97442 cat >conftest.$ac_ext <<_ACEOF
97443 /* confdefs.h. */
97444 _ACEOF
97445 cat confdefs.h >>conftest.$ac_ext
97446 cat >>conftest.$ac_ext <<_ACEOF
97447 /* end confdefs.h. */
97448 #include <math.h>
97450 main ()
97452 __builtin_sinf(0);
97454 return 0;
97456 _ACEOF
97457 rm -f conftest.$ac_objext conftest$ac_exeext
97458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97459 (eval $ac_link) 2>conftest.er1
97460 ac_status=$?
97461 grep -v '^ *+' conftest.er1 >conftest.err
97462 rm -f conftest.er1
97463 cat conftest.err >&5
97464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97465 (exit $ac_status); } &&
97466 { ac_try='test -z "$ac_c_werror_flag"
97467 || test ! -s conftest.err'
97468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97469 (eval $ac_try) 2>&5
97470 ac_status=$?
97471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97472 (exit $ac_status); }; } &&
97473 { ac_try='test -s conftest$ac_exeext'
97474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97475 (eval $ac_try) 2>&5
97476 ac_status=$?
97477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97478 (exit $ac_status); }; }; then
97479 glibcxx_cv_func___builtin_sinf_link=yes
97480 else
97481 echo "$as_me: failed program was:" >&5
97482 sed 's/^/| /' conftest.$ac_ext >&5
97484 glibcxx_cv_func___builtin_sinf_link=no
97486 rm -f conftest.err conftest.$ac_objext \
97487 conftest$ac_exeext conftest.$ac_ext
97492 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
97493 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
97495 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
97497 cat >>confdefs.h <<\_ACEOF
97498 #define HAVE___BUILTIN_SINF 1
97499 _ACEOF
97506 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
97507 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
97508 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
97509 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
97510 echo $ECHO_N "(cached) $ECHO_C" >&6
97511 else
97515 ac_ext=cc
97516 ac_cpp='$CXXCPP $CPPFLAGS'
97517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97521 cat >conftest.$ac_ext <<_ACEOF
97522 /* confdefs.h. */
97523 _ACEOF
97524 cat confdefs.h >>conftest.$ac_ext
97525 cat >>conftest.$ac_ext <<_ACEOF
97526 /* end confdefs.h. */
97527 #include <math.h>
97529 main ()
97531 __builtin_sin(0);
97533 return 0;
97535 _ACEOF
97536 rm -f conftest.$ac_objext
97537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97538 (eval $ac_compile) 2>conftest.er1
97539 ac_status=$?
97540 grep -v '^ *+' conftest.er1 >conftest.err
97541 rm -f conftest.er1
97542 cat conftest.err >&5
97543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97544 (exit $ac_status); } &&
97545 { ac_try='test -z "$ac_cxx_werror_flag"
97546 || test ! -s conftest.err'
97547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97548 (eval $ac_try) 2>&5
97549 ac_status=$?
97550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97551 (exit $ac_status); }; } &&
97552 { ac_try='test -s conftest.$ac_objext'
97553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97554 (eval $ac_try) 2>&5
97555 ac_status=$?
97556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97557 (exit $ac_status); }; }; then
97558 glibcxx_cv_func___builtin_sin_use=yes
97559 else
97560 echo "$as_me: failed program was:" >&5
97561 sed 's/^/| /' conftest.$ac_ext >&5
97563 glibcxx_cv_func___builtin_sin_use=no
97565 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97566 ac_ext=c
97567 ac_cpp='$CPP $CPPFLAGS'
97568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97576 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
97577 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
97578 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
97579 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
97580 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
97581 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
97582 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
97583 echo $ECHO_N "(cached) $ECHO_C" >&6
97584 else
97586 if test x$gcc_no_link = xyes; then
97587 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97588 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97589 { (exit 1); exit 1; }; }
97591 cat >conftest.$ac_ext <<_ACEOF
97592 /* confdefs.h. */
97593 _ACEOF
97594 cat confdefs.h >>conftest.$ac_ext
97595 cat >>conftest.$ac_ext <<_ACEOF
97596 /* end confdefs.h. */
97597 #include <math.h>
97599 main ()
97601 __builtin_sin(0);
97603 return 0;
97605 _ACEOF
97606 rm -f conftest.$ac_objext conftest$ac_exeext
97607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97608 (eval $ac_link) 2>conftest.er1
97609 ac_status=$?
97610 grep -v '^ *+' conftest.er1 >conftest.err
97611 rm -f conftest.er1
97612 cat conftest.err >&5
97613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97614 (exit $ac_status); } &&
97615 { ac_try='test -z "$ac_c_werror_flag"
97616 || test ! -s conftest.err'
97617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97618 (eval $ac_try) 2>&5
97619 ac_status=$?
97620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97621 (exit $ac_status); }; } &&
97622 { ac_try='test -s conftest$ac_exeext'
97623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97624 (eval $ac_try) 2>&5
97625 ac_status=$?
97626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97627 (exit $ac_status); }; }; then
97628 glibcxx_cv_func___builtin_sin_link=yes
97629 else
97630 echo "$as_me: failed program was:" >&5
97631 sed 's/^/| /' conftest.$ac_ext >&5
97633 glibcxx_cv_func___builtin_sin_link=no
97635 rm -f conftest.err conftest.$ac_objext \
97636 conftest$ac_exeext conftest.$ac_ext
97641 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
97642 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
97644 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
97646 cat >>confdefs.h <<\_ACEOF
97647 #define HAVE___BUILTIN_SIN 1
97648 _ACEOF
97655 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
97656 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
97657 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
97658 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
97659 echo $ECHO_N "(cached) $ECHO_C" >&6
97660 else
97664 ac_ext=cc
97665 ac_cpp='$CXXCPP $CPPFLAGS'
97666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97670 cat >conftest.$ac_ext <<_ACEOF
97671 /* confdefs.h. */
97672 _ACEOF
97673 cat confdefs.h >>conftest.$ac_ext
97674 cat >>conftest.$ac_ext <<_ACEOF
97675 /* end confdefs.h. */
97676 #include <math.h>
97678 main ()
97680 __builtin_sinl(0);
97682 return 0;
97684 _ACEOF
97685 rm -f conftest.$ac_objext
97686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97687 (eval $ac_compile) 2>conftest.er1
97688 ac_status=$?
97689 grep -v '^ *+' conftest.er1 >conftest.err
97690 rm -f conftest.er1
97691 cat conftest.err >&5
97692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97693 (exit $ac_status); } &&
97694 { ac_try='test -z "$ac_cxx_werror_flag"
97695 || test ! -s conftest.err'
97696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97697 (eval $ac_try) 2>&5
97698 ac_status=$?
97699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97700 (exit $ac_status); }; } &&
97701 { ac_try='test -s conftest.$ac_objext'
97702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97703 (eval $ac_try) 2>&5
97704 ac_status=$?
97705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97706 (exit $ac_status); }; }; then
97707 glibcxx_cv_func___builtin_sinl_use=yes
97708 else
97709 echo "$as_me: failed program was:" >&5
97710 sed 's/^/| /' conftest.$ac_ext >&5
97712 glibcxx_cv_func___builtin_sinl_use=no
97714 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97715 ac_ext=c
97716 ac_cpp='$CPP $CPPFLAGS'
97717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97725 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
97726 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
97727 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
97728 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
97729 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
97730 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
97731 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
97732 echo $ECHO_N "(cached) $ECHO_C" >&6
97733 else
97735 if test x$gcc_no_link = xyes; then
97736 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97737 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97738 { (exit 1); exit 1; }; }
97740 cat >conftest.$ac_ext <<_ACEOF
97741 /* confdefs.h. */
97742 _ACEOF
97743 cat confdefs.h >>conftest.$ac_ext
97744 cat >>conftest.$ac_ext <<_ACEOF
97745 /* end confdefs.h. */
97746 #include <math.h>
97748 main ()
97750 __builtin_sinl(0);
97752 return 0;
97754 _ACEOF
97755 rm -f conftest.$ac_objext conftest$ac_exeext
97756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97757 (eval $ac_link) 2>conftest.er1
97758 ac_status=$?
97759 grep -v '^ *+' conftest.er1 >conftest.err
97760 rm -f conftest.er1
97761 cat conftest.err >&5
97762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97763 (exit $ac_status); } &&
97764 { ac_try='test -z "$ac_c_werror_flag"
97765 || test ! -s conftest.err'
97766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97767 (eval $ac_try) 2>&5
97768 ac_status=$?
97769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97770 (exit $ac_status); }; } &&
97771 { ac_try='test -s conftest$ac_exeext'
97772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97773 (eval $ac_try) 2>&5
97774 ac_status=$?
97775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97776 (exit $ac_status); }; }; then
97777 glibcxx_cv_func___builtin_sinl_link=yes
97778 else
97779 echo "$as_me: failed program was:" >&5
97780 sed 's/^/| /' conftest.$ac_ext >&5
97782 glibcxx_cv_func___builtin_sinl_link=no
97784 rm -f conftest.err conftest.$ac_objext \
97785 conftest$ac_exeext conftest.$ac_ext
97790 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
97791 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
97793 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
97795 cat >>confdefs.h <<\_ACEOF
97796 #define HAVE___BUILTIN_SINL 1
97797 _ACEOF
97805 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
97806 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
97807 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
97808 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
97809 echo $ECHO_N "(cached) $ECHO_C" >&6
97810 else
97814 ac_ext=cc
97815 ac_cpp='$CXXCPP $CPPFLAGS'
97816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97820 cat >conftest.$ac_ext <<_ACEOF
97821 /* confdefs.h. */
97822 _ACEOF
97823 cat confdefs.h >>conftest.$ac_ext
97824 cat >>conftest.$ac_ext <<_ACEOF
97825 /* end confdefs.h. */
97826 #include <math.h>
97828 main ()
97830 __builtin_cosf(0);
97832 return 0;
97834 _ACEOF
97835 rm -f conftest.$ac_objext
97836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97837 (eval $ac_compile) 2>conftest.er1
97838 ac_status=$?
97839 grep -v '^ *+' conftest.er1 >conftest.err
97840 rm -f conftest.er1
97841 cat conftest.err >&5
97842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97843 (exit $ac_status); } &&
97844 { ac_try='test -z "$ac_cxx_werror_flag"
97845 || test ! -s conftest.err'
97846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97847 (eval $ac_try) 2>&5
97848 ac_status=$?
97849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97850 (exit $ac_status); }; } &&
97851 { ac_try='test -s conftest.$ac_objext'
97852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97853 (eval $ac_try) 2>&5
97854 ac_status=$?
97855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97856 (exit $ac_status); }; }; then
97857 glibcxx_cv_func___builtin_cosf_use=yes
97858 else
97859 echo "$as_me: failed program was:" >&5
97860 sed 's/^/| /' conftest.$ac_ext >&5
97862 glibcxx_cv_func___builtin_cosf_use=no
97864 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97865 ac_ext=c
97866 ac_cpp='$CPP $CPPFLAGS'
97867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97875 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
97876 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
97877 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
97878 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
97879 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
97880 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
97881 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
97882 echo $ECHO_N "(cached) $ECHO_C" >&6
97883 else
97885 if test x$gcc_no_link = xyes; then
97886 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97887 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97888 { (exit 1); exit 1; }; }
97890 cat >conftest.$ac_ext <<_ACEOF
97891 /* confdefs.h. */
97892 _ACEOF
97893 cat confdefs.h >>conftest.$ac_ext
97894 cat >>conftest.$ac_ext <<_ACEOF
97895 /* end confdefs.h. */
97896 #include <math.h>
97898 main ()
97900 __builtin_cosf(0);
97902 return 0;
97904 _ACEOF
97905 rm -f conftest.$ac_objext conftest$ac_exeext
97906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97907 (eval $ac_link) 2>conftest.er1
97908 ac_status=$?
97909 grep -v '^ *+' conftest.er1 >conftest.err
97910 rm -f conftest.er1
97911 cat conftest.err >&5
97912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97913 (exit $ac_status); } &&
97914 { ac_try='test -z "$ac_c_werror_flag"
97915 || test ! -s conftest.err'
97916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97917 (eval $ac_try) 2>&5
97918 ac_status=$?
97919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97920 (exit $ac_status); }; } &&
97921 { ac_try='test -s conftest$ac_exeext'
97922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97923 (eval $ac_try) 2>&5
97924 ac_status=$?
97925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97926 (exit $ac_status); }; }; then
97927 glibcxx_cv_func___builtin_cosf_link=yes
97928 else
97929 echo "$as_me: failed program was:" >&5
97930 sed 's/^/| /' conftest.$ac_ext >&5
97932 glibcxx_cv_func___builtin_cosf_link=no
97934 rm -f conftest.err conftest.$ac_objext \
97935 conftest$ac_exeext conftest.$ac_ext
97940 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
97941 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
97943 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
97945 cat >>confdefs.h <<\_ACEOF
97946 #define HAVE___BUILTIN_COSF 1
97947 _ACEOF
97954 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
97955 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
97956 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
97957 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
97958 echo $ECHO_N "(cached) $ECHO_C" >&6
97959 else
97963 ac_ext=cc
97964 ac_cpp='$CXXCPP $CPPFLAGS'
97965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97969 cat >conftest.$ac_ext <<_ACEOF
97970 /* confdefs.h. */
97971 _ACEOF
97972 cat confdefs.h >>conftest.$ac_ext
97973 cat >>conftest.$ac_ext <<_ACEOF
97974 /* end confdefs.h. */
97975 #include <math.h>
97977 main ()
97979 __builtin_cos(0);
97981 return 0;
97983 _ACEOF
97984 rm -f conftest.$ac_objext
97985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97986 (eval $ac_compile) 2>conftest.er1
97987 ac_status=$?
97988 grep -v '^ *+' conftest.er1 >conftest.err
97989 rm -f conftest.er1
97990 cat conftest.err >&5
97991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97992 (exit $ac_status); } &&
97993 { ac_try='test -z "$ac_cxx_werror_flag"
97994 || test ! -s conftest.err'
97995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97996 (eval $ac_try) 2>&5
97997 ac_status=$?
97998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97999 (exit $ac_status); }; } &&
98000 { ac_try='test -s conftest.$ac_objext'
98001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98002 (eval $ac_try) 2>&5
98003 ac_status=$?
98004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98005 (exit $ac_status); }; }; then
98006 glibcxx_cv_func___builtin_cos_use=yes
98007 else
98008 echo "$as_me: failed program was:" >&5
98009 sed 's/^/| /' conftest.$ac_ext >&5
98011 glibcxx_cv_func___builtin_cos_use=no
98013 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98014 ac_ext=c
98015 ac_cpp='$CPP $CPPFLAGS'
98016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98024 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
98025 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
98026 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
98027 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
98028 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
98029 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
98030 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
98031 echo $ECHO_N "(cached) $ECHO_C" >&6
98032 else
98034 if test x$gcc_no_link = xyes; then
98035 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98036 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98037 { (exit 1); exit 1; }; }
98039 cat >conftest.$ac_ext <<_ACEOF
98040 /* confdefs.h. */
98041 _ACEOF
98042 cat confdefs.h >>conftest.$ac_ext
98043 cat >>conftest.$ac_ext <<_ACEOF
98044 /* end confdefs.h. */
98045 #include <math.h>
98047 main ()
98049 __builtin_cos(0);
98051 return 0;
98053 _ACEOF
98054 rm -f conftest.$ac_objext conftest$ac_exeext
98055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98056 (eval $ac_link) 2>conftest.er1
98057 ac_status=$?
98058 grep -v '^ *+' conftest.er1 >conftest.err
98059 rm -f conftest.er1
98060 cat conftest.err >&5
98061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98062 (exit $ac_status); } &&
98063 { ac_try='test -z "$ac_c_werror_flag"
98064 || test ! -s conftest.err'
98065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98066 (eval $ac_try) 2>&5
98067 ac_status=$?
98068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98069 (exit $ac_status); }; } &&
98070 { ac_try='test -s conftest$ac_exeext'
98071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98072 (eval $ac_try) 2>&5
98073 ac_status=$?
98074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98075 (exit $ac_status); }; }; then
98076 glibcxx_cv_func___builtin_cos_link=yes
98077 else
98078 echo "$as_me: failed program was:" >&5
98079 sed 's/^/| /' conftest.$ac_ext >&5
98081 glibcxx_cv_func___builtin_cos_link=no
98083 rm -f conftest.err conftest.$ac_objext \
98084 conftest$ac_exeext conftest.$ac_ext
98089 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
98090 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
98092 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
98094 cat >>confdefs.h <<\_ACEOF
98095 #define HAVE___BUILTIN_COS 1
98096 _ACEOF
98103 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
98104 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
98105 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
98106 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
98107 echo $ECHO_N "(cached) $ECHO_C" >&6
98108 else
98112 ac_ext=cc
98113 ac_cpp='$CXXCPP $CPPFLAGS'
98114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98118 cat >conftest.$ac_ext <<_ACEOF
98119 /* confdefs.h. */
98120 _ACEOF
98121 cat confdefs.h >>conftest.$ac_ext
98122 cat >>conftest.$ac_ext <<_ACEOF
98123 /* end confdefs.h. */
98124 #include <math.h>
98126 main ()
98128 __builtin_cosl(0);
98130 return 0;
98132 _ACEOF
98133 rm -f conftest.$ac_objext
98134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98135 (eval $ac_compile) 2>conftest.er1
98136 ac_status=$?
98137 grep -v '^ *+' conftest.er1 >conftest.err
98138 rm -f conftest.er1
98139 cat conftest.err >&5
98140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98141 (exit $ac_status); } &&
98142 { ac_try='test -z "$ac_cxx_werror_flag"
98143 || test ! -s conftest.err'
98144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98145 (eval $ac_try) 2>&5
98146 ac_status=$?
98147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98148 (exit $ac_status); }; } &&
98149 { ac_try='test -s conftest.$ac_objext'
98150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98151 (eval $ac_try) 2>&5
98152 ac_status=$?
98153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98154 (exit $ac_status); }; }; then
98155 glibcxx_cv_func___builtin_cosl_use=yes
98156 else
98157 echo "$as_me: failed program was:" >&5
98158 sed 's/^/| /' conftest.$ac_ext >&5
98160 glibcxx_cv_func___builtin_cosl_use=no
98162 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98163 ac_ext=c
98164 ac_cpp='$CPP $CPPFLAGS'
98165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98173 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
98174 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
98175 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
98176 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
98177 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
98178 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
98179 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
98180 echo $ECHO_N "(cached) $ECHO_C" >&6
98181 else
98183 if test x$gcc_no_link = xyes; then
98184 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98185 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98186 { (exit 1); exit 1; }; }
98188 cat >conftest.$ac_ext <<_ACEOF
98189 /* confdefs.h. */
98190 _ACEOF
98191 cat confdefs.h >>conftest.$ac_ext
98192 cat >>conftest.$ac_ext <<_ACEOF
98193 /* end confdefs.h. */
98194 #include <math.h>
98196 main ()
98198 __builtin_cosl(0);
98200 return 0;
98202 _ACEOF
98203 rm -f conftest.$ac_objext conftest$ac_exeext
98204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98205 (eval $ac_link) 2>conftest.er1
98206 ac_status=$?
98207 grep -v '^ *+' conftest.er1 >conftest.err
98208 rm -f conftest.er1
98209 cat conftest.err >&5
98210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98211 (exit $ac_status); } &&
98212 { ac_try='test -z "$ac_c_werror_flag"
98213 || test ! -s conftest.err'
98214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98215 (eval $ac_try) 2>&5
98216 ac_status=$?
98217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98218 (exit $ac_status); }; } &&
98219 { ac_try='test -s conftest$ac_exeext'
98220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98221 (eval $ac_try) 2>&5
98222 ac_status=$?
98223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98224 (exit $ac_status); }; }; then
98225 glibcxx_cv_func___builtin_cosl_link=yes
98226 else
98227 echo "$as_me: failed program was:" >&5
98228 sed 's/^/| /' conftest.$ac_ext >&5
98230 glibcxx_cv_func___builtin_cosl_link=no
98232 rm -f conftest.err conftest.$ac_objext \
98233 conftest$ac_exeext conftest.$ac_ext
98238 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
98239 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
98241 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
98243 cat >>confdefs.h <<\_ACEOF
98244 #define HAVE___BUILTIN_COSL 1
98245 _ACEOF
98254 echo "$as_me:$LINENO: checking for main in -lm" >&5
98255 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
98256 if test "${ac_cv_lib_m_main+set}" = set; then
98257 echo $ECHO_N "(cached) $ECHO_C" >&6
98258 else
98259 ac_check_lib_save_LIBS=$LIBS
98260 LIBS="-lm $LIBS"
98261 if test x$gcc_no_link = xyes; then
98262 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98263 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98264 { (exit 1); exit 1; }; }
98266 cat >conftest.$ac_ext <<_ACEOF
98267 /* confdefs.h. */
98268 _ACEOF
98269 cat confdefs.h >>conftest.$ac_ext
98270 cat >>conftest.$ac_ext <<_ACEOF
98271 /* end confdefs.h. */
98275 main ()
98277 main ();
98279 return 0;
98281 _ACEOF
98282 rm -f conftest.$ac_objext conftest$ac_exeext
98283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98284 (eval $ac_link) 2>conftest.er1
98285 ac_status=$?
98286 grep -v '^ *+' conftest.er1 >conftest.err
98287 rm -f conftest.er1
98288 cat conftest.err >&5
98289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98290 (exit $ac_status); } &&
98291 { ac_try='test -z "$ac_c_werror_flag"
98292 || test ! -s conftest.err'
98293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98294 (eval $ac_try) 2>&5
98295 ac_status=$?
98296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98297 (exit $ac_status); }; } &&
98298 { ac_try='test -s conftest$ac_exeext'
98299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98300 (eval $ac_try) 2>&5
98301 ac_status=$?
98302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98303 (exit $ac_status); }; }; then
98304 ac_cv_lib_m_main=yes
98305 else
98306 echo "$as_me: failed program was:" >&5
98307 sed 's/^/| /' conftest.$ac_ext >&5
98309 ac_cv_lib_m_main=no
98311 rm -f conftest.err conftest.$ac_objext \
98312 conftest$ac_exeext conftest.$ac_ext
98313 LIBS=$ac_check_lib_save_LIBS
98315 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
98316 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
98317 if test $ac_cv_lib_m_main = yes; then
98318 cat >>confdefs.h <<_ACEOF
98319 #define HAVE_LIBM 1
98320 _ACEOF
98322 LIBS="-lm $LIBS"
98327 for ac_func in copysignf
98329 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98330 echo "$as_me:$LINENO: checking for $ac_func" >&5
98331 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98332 if eval "test \"\${$as_ac_var+set}\" = set"; then
98333 echo $ECHO_N "(cached) $ECHO_C" >&6
98334 else
98335 if test x$gcc_no_link = xyes; then
98336 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98337 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98338 { (exit 1); exit 1; }; }
98340 cat >conftest.$ac_ext <<_ACEOF
98341 /* confdefs.h. */
98342 _ACEOF
98343 cat confdefs.h >>conftest.$ac_ext
98344 cat >>conftest.$ac_ext <<_ACEOF
98345 /* end confdefs.h. */
98346 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98347 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98348 #define $ac_func innocuous_$ac_func
98350 /* System header to define __stub macros and hopefully few prototypes,
98351 which can conflict with char $ac_func (); below.
98352 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98353 <limits.h> exists even on freestanding compilers. */
98355 #ifdef __STDC__
98356 # include <limits.h>
98357 #else
98358 # include <assert.h>
98359 #endif
98361 #undef $ac_func
98363 /* Override any gcc2 internal prototype to avoid an error. */
98364 #ifdef __cplusplus
98365 extern "C"
98367 #endif
98368 /* We use char because int might match the return type of a gcc2
98369 builtin and then its argument prototype would still apply. */
98370 char $ac_func ();
98371 /* The GNU C library defines this for functions which it implements
98372 to always fail with ENOSYS. Some functions are actually named
98373 something starting with __ and the normal name is an alias. */
98374 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98375 choke me
98376 #else
98377 char (*f) () = $ac_func;
98378 #endif
98379 #ifdef __cplusplus
98381 #endif
98384 main ()
98386 return f != $ac_func;
98388 return 0;
98390 _ACEOF
98391 rm -f conftest.$ac_objext conftest$ac_exeext
98392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98393 (eval $ac_link) 2>conftest.er1
98394 ac_status=$?
98395 grep -v '^ *+' conftest.er1 >conftest.err
98396 rm -f conftest.er1
98397 cat conftest.err >&5
98398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98399 (exit $ac_status); } &&
98400 { ac_try='test -z "$ac_c_werror_flag"
98401 || test ! -s conftest.err'
98402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98403 (eval $ac_try) 2>&5
98404 ac_status=$?
98405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98406 (exit $ac_status); }; } &&
98407 { ac_try='test -s conftest$ac_exeext'
98408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98409 (eval $ac_try) 2>&5
98410 ac_status=$?
98411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98412 (exit $ac_status); }; }; then
98413 eval "$as_ac_var=yes"
98414 else
98415 echo "$as_me: failed program was:" >&5
98416 sed 's/^/| /' conftest.$ac_ext >&5
98418 eval "$as_ac_var=no"
98420 rm -f conftest.err conftest.$ac_objext \
98421 conftest$ac_exeext conftest.$ac_ext
98423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98424 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98425 if test `eval echo '${'$as_ac_var'}'` = yes; then
98426 cat >>confdefs.h <<_ACEOF
98427 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98428 _ACEOF
98430 else
98431 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
98433 done
98437 for ac_func in __signbit
98439 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98440 echo "$as_me:$LINENO: checking for $ac_func" >&5
98441 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98442 if eval "test \"\${$as_ac_var+set}\" = set"; then
98443 echo $ECHO_N "(cached) $ECHO_C" >&6
98444 else
98445 if test x$gcc_no_link = xyes; then
98446 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98447 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98448 { (exit 1); exit 1; }; }
98450 cat >conftest.$ac_ext <<_ACEOF
98451 /* confdefs.h. */
98452 _ACEOF
98453 cat confdefs.h >>conftest.$ac_ext
98454 cat >>conftest.$ac_ext <<_ACEOF
98455 /* end confdefs.h. */
98456 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98457 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98458 #define $ac_func innocuous_$ac_func
98460 /* System header to define __stub macros and hopefully few prototypes,
98461 which can conflict with char $ac_func (); below.
98462 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98463 <limits.h> exists even on freestanding compilers. */
98465 #ifdef __STDC__
98466 # include <limits.h>
98467 #else
98468 # include <assert.h>
98469 #endif
98471 #undef $ac_func
98473 /* Override any gcc2 internal prototype to avoid an error. */
98474 #ifdef __cplusplus
98475 extern "C"
98477 #endif
98478 /* We use char because int might match the return type of a gcc2
98479 builtin and then its argument prototype would still apply. */
98480 char $ac_func ();
98481 /* The GNU C library defines this for functions which it implements
98482 to always fail with ENOSYS. Some functions are actually named
98483 something starting with __ and the normal name is an alias. */
98484 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98485 choke me
98486 #else
98487 char (*f) () = $ac_func;
98488 #endif
98489 #ifdef __cplusplus
98491 #endif
98494 main ()
98496 return f != $ac_func;
98498 return 0;
98500 _ACEOF
98501 rm -f conftest.$ac_objext conftest$ac_exeext
98502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98503 (eval $ac_link) 2>conftest.er1
98504 ac_status=$?
98505 grep -v '^ *+' conftest.er1 >conftest.err
98506 rm -f conftest.er1
98507 cat conftest.err >&5
98508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98509 (exit $ac_status); } &&
98510 { ac_try='test -z "$ac_c_werror_flag"
98511 || test ! -s conftest.err'
98512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98513 (eval $ac_try) 2>&5
98514 ac_status=$?
98515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98516 (exit $ac_status); }; } &&
98517 { ac_try='test -s conftest$ac_exeext'
98518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98519 (eval $ac_try) 2>&5
98520 ac_status=$?
98521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98522 (exit $ac_status); }; }; then
98523 eval "$as_ac_var=yes"
98524 else
98525 echo "$as_me: failed program was:" >&5
98526 sed 's/^/| /' conftest.$ac_ext >&5
98528 eval "$as_ac_var=no"
98530 rm -f conftest.err conftest.$ac_objext \
98531 conftest$ac_exeext conftest.$ac_ext
98533 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98534 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98535 if test `eval echo '${'$as_ac_var'}'` = yes; then
98536 cat >>confdefs.h <<_ACEOF
98537 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98538 _ACEOF
98540 else
98541 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
98543 done
98547 for ac_func in __signbitf
98549 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98550 echo "$as_me:$LINENO: checking for $ac_func" >&5
98551 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98552 if eval "test \"\${$as_ac_var+set}\" = set"; then
98553 echo $ECHO_N "(cached) $ECHO_C" >&6
98554 else
98555 if test x$gcc_no_link = xyes; then
98556 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98557 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98558 { (exit 1); exit 1; }; }
98560 cat >conftest.$ac_ext <<_ACEOF
98561 /* confdefs.h. */
98562 _ACEOF
98563 cat confdefs.h >>conftest.$ac_ext
98564 cat >>conftest.$ac_ext <<_ACEOF
98565 /* end confdefs.h. */
98566 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98567 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98568 #define $ac_func innocuous_$ac_func
98570 /* System header to define __stub macros and hopefully few prototypes,
98571 which can conflict with char $ac_func (); below.
98572 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98573 <limits.h> exists even on freestanding compilers. */
98575 #ifdef __STDC__
98576 # include <limits.h>
98577 #else
98578 # include <assert.h>
98579 #endif
98581 #undef $ac_func
98583 /* Override any gcc2 internal prototype to avoid an error. */
98584 #ifdef __cplusplus
98585 extern "C"
98587 #endif
98588 /* We use char because int might match the return type of a gcc2
98589 builtin and then its argument prototype would still apply. */
98590 char $ac_func ();
98591 /* The GNU C library defines this for functions which it implements
98592 to always fail with ENOSYS. Some functions are actually named
98593 something starting with __ and the normal name is an alias. */
98594 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98595 choke me
98596 #else
98597 char (*f) () = $ac_func;
98598 #endif
98599 #ifdef __cplusplus
98601 #endif
98604 main ()
98606 return f != $ac_func;
98608 return 0;
98610 _ACEOF
98611 rm -f conftest.$ac_objext conftest$ac_exeext
98612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98613 (eval $ac_link) 2>conftest.er1
98614 ac_status=$?
98615 grep -v '^ *+' conftest.er1 >conftest.err
98616 rm -f conftest.er1
98617 cat conftest.err >&5
98618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98619 (exit $ac_status); } &&
98620 { ac_try='test -z "$ac_c_werror_flag"
98621 || test ! -s conftest.err'
98622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98623 (eval $ac_try) 2>&5
98624 ac_status=$?
98625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98626 (exit $ac_status); }; } &&
98627 { ac_try='test -s conftest$ac_exeext'
98628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98629 (eval $ac_try) 2>&5
98630 ac_status=$?
98631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98632 (exit $ac_status); }; }; then
98633 eval "$as_ac_var=yes"
98634 else
98635 echo "$as_me: failed program was:" >&5
98636 sed 's/^/| /' conftest.$ac_ext >&5
98638 eval "$as_ac_var=no"
98640 rm -f conftest.err conftest.$ac_objext \
98641 conftest$ac_exeext conftest.$ac_ext
98643 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98644 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98645 if test `eval echo '${'$as_ac_var'}'` = yes; then
98646 cat >>confdefs.h <<_ACEOF
98647 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98648 _ACEOF
98650 else
98651 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
98653 done
98656 if test x$ac_cv_func_copysignl = x"yes"; then
98658 for ac_func in __signbitl
98660 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98661 echo "$as_me:$LINENO: checking for $ac_func" >&5
98662 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98663 if eval "test \"\${$as_ac_var+set}\" = set"; then
98664 echo $ECHO_N "(cached) $ECHO_C" >&6
98665 else
98666 if test x$gcc_no_link = xyes; then
98667 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98668 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98669 { (exit 1); exit 1; }; }
98671 cat >conftest.$ac_ext <<_ACEOF
98672 /* confdefs.h. */
98673 _ACEOF
98674 cat confdefs.h >>conftest.$ac_ext
98675 cat >>conftest.$ac_ext <<_ACEOF
98676 /* end confdefs.h. */
98677 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98678 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98679 #define $ac_func innocuous_$ac_func
98681 /* System header to define __stub macros and hopefully few prototypes,
98682 which can conflict with char $ac_func (); below.
98683 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98684 <limits.h> exists even on freestanding compilers. */
98686 #ifdef __STDC__
98687 # include <limits.h>
98688 #else
98689 # include <assert.h>
98690 #endif
98692 #undef $ac_func
98694 /* Override any gcc2 internal prototype to avoid an error. */
98695 #ifdef __cplusplus
98696 extern "C"
98698 #endif
98699 /* We use char because int might match the return type of a gcc2
98700 builtin and then its argument prototype would still apply. */
98701 char $ac_func ();
98702 /* The GNU C library defines this for functions which it implements
98703 to always fail with ENOSYS. Some functions are actually named
98704 something starting with __ and the normal name is an alias. */
98705 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98706 choke me
98707 #else
98708 char (*f) () = $ac_func;
98709 #endif
98710 #ifdef __cplusplus
98712 #endif
98715 main ()
98717 return f != $ac_func;
98719 return 0;
98721 _ACEOF
98722 rm -f conftest.$ac_objext conftest$ac_exeext
98723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98724 (eval $ac_link) 2>conftest.er1
98725 ac_status=$?
98726 grep -v '^ *+' conftest.er1 >conftest.err
98727 rm -f conftest.er1
98728 cat conftest.err >&5
98729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98730 (exit $ac_status); } &&
98731 { ac_try='test -z "$ac_c_werror_flag"
98732 || test ! -s conftest.err'
98733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98734 (eval $ac_try) 2>&5
98735 ac_status=$?
98736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98737 (exit $ac_status); }; } &&
98738 { ac_try='test -s conftest$ac_exeext'
98739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98740 (eval $ac_try) 2>&5
98741 ac_status=$?
98742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98743 (exit $ac_status); }; }; then
98744 eval "$as_ac_var=yes"
98745 else
98746 echo "$as_me: failed program was:" >&5
98747 sed 's/^/| /' conftest.$ac_ext >&5
98749 eval "$as_ac_var=no"
98751 rm -f conftest.err conftest.$ac_objext \
98752 conftest$ac_exeext conftest.$ac_ext
98754 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98755 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98756 if test `eval echo '${'$as_ac_var'}'` = yes; then
98757 cat >>confdefs.h <<_ACEOF
98758 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98759 _ACEOF
98761 else
98762 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
98764 done
98768 # Used in libmath/Makefile.am.
98769 if test -n "$LIBMATHOBJS"; then
98770 need_libmath=yes
98776 enable_iconv=no
98777 # Only continue checking if the ISO C99 headers exist and support is on.
98778 if test x"$enable_wchar_t" = xyes; then
98780 # Use iconv for wchar_t to char conversions. As such, check for
98781 # X/Open Portability Guide, version 2 features (XPG2).
98782 if test "${ac_cv_header_iconv_h+set}" = set; then
98783 echo "$as_me:$LINENO: checking for iconv.h" >&5
98784 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
98785 if test "${ac_cv_header_iconv_h+set}" = set; then
98786 echo $ECHO_N "(cached) $ECHO_C" >&6
98788 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
98789 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
98790 else
98791 # Is the header compilable?
98792 echo "$as_me:$LINENO: checking iconv.h usability" >&5
98793 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
98794 cat >conftest.$ac_ext <<_ACEOF
98795 /* confdefs.h. */
98796 _ACEOF
98797 cat confdefs.h >>conftest.$ac_ext
98798 cat >>conftest.$ac_ext <<_ACEOF
98799 /* end confdefs.h. */
98800 $ac_includes_default
98801 #include <iconv.h>
98802 _ACEOF
98803 rm -f conftest.$ac_objext
98804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98805 (eval $ac_compile) 2>conftest.er1
98806 ac_status=$?
98807 grep -v '^ *+' conftest.er1 >conftest.err
98808 rm -f conftest.er1
98809 cat conftest.err >&5
98810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98811 (exit $ac_status); } &&
98812 { ac_try='test -z "$ac_c_werror_flag"
98813 || test ! -s conftest.err'
98814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98815 (eval $ac_try) 2>&5
98816 ac_status=$?
98817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98818 (exit $ac_status); }; } &&
98819 { ac_try='test -s conftest.$ac_objext'
98820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98821 (eval $ac_try) 2>&5
98822 ac_status=$?
98823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98824 (exit $ac_status); }; }; then
98825 ac_header_compiler=yes
98826 else
98827 echo "$as_me: failed program was:" >&5
98828 sed 's/^/| /' conftest.$ac_ext >&5
98830 ac_header_compiler=no
98832 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98833 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
98834 echo "${ECHO_T}$ac_header_compiler" >&6
98836 # Is the header present?
98837 echo "$as_me:$LINENO: checking iconv.h presence" >&5
98838 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
98839 cat >conftest.$ac_ext <<_ACEOF
98840 /* confdefs.h. */
98841 _ACEOF
98842 cat confdefs.h >>conftest.$ac_ext
98843 cat >>conftest.$ac_ext <<_ACEOF
98844 /* end confdefs.h. */
98845 #include <iconv.h>
98846 _ACEOF
98847 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
98848 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
98849 ac_status=$?
98850 grep -v '^ *+' conftest.er1 >conftest.err
98851 rm -f conftest.er1
98852 cat conftest.err >&5
98853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98854 (exit $ac_status); } >/dev/null; then
98855 if test -s conftest.err; then
98856 ac_cpp_err=$ac_c_preproc_warn_flag
98857 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
98858 else
98859 ac_cpp_err=
98861 else
98862 ac_cpp_err=yes
98864 if test -z "$ac_cpp_err"; then
98865 ac_header_preproc=yes
98866 else
98867 echo "$as_me: failed program was:" >&5
98868 sed 's/^/| /' conftest.$ac_ext >&5
98870 ac_header_preproc=no
98872 rm -f conftest.err conftest.$ac_ext
98873 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
98874 echo "${ECHO_T}$ac_header_preproc" >&6
98876 # So? What about this header?
98877 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
98878 yes:no: )
98879 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
98880 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
98881 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
98882 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
98883 ac_header_preproc=yes
98885 no:yes:* )
98886 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
98887 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
98888 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
98889 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
98890 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
98891 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
98892 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
98893 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
98894 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
98895 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
98896 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
98897 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
98899 cat <<\_ASBOX
98900 ## ----------------------------------------- ##
98901 ## Report this to the package-unused lists. ##
98902 ## ----------------------------------------- ##
98903 _ASBOX
98905 sed "s/^/$as_me: WARNING: /" >&2
98907 esac
98908 echo "$as_me:$LINENO: checking for iconv.h" >&5
98909 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
98910 if test "${ac_cv_header_iconv_h+set}" = set; then
98911 echo $ECHO_N "(cached) $ECHO_C" >&6
98912 else
98913 ac_cv_header_iconv_h=$ac_header_preproc
98915 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
98916 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
98919 if test $ac_cv_header_iconv_h = yes; then
98920 ac_has_iconv_h=yes
98921 else
98922 ac_has_iconv_h=no
98926 if test "${ac_cv_header_langinfo_h+set}" = set; then
98927 echo "$as_me:$LINENO: checking for langinfo.h" >&5
98928 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
98929 if test "${ac_cv_header_langinfo_h+set}" = set; then
98930 echo $ECHO_N "(cached) $ECHO_C" >&6
98932 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
98933 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
98934 else
98935 # Is the header compilable?
98936 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
98937 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
98938 cat >conftest.$ac_ext <<_ACEOF
98939 /* confdefs.h. */
98940 _ACEOF
98941 cat confdefs.h >>conftest.$ac_ext
98942 cat >>conftest.$ac_ext <<_ACEOF
98943 /* end confdefs.h. */
98944 $ac_includes_default
98945 #include <langinfo.h>
98946 _ACEOF
98947 rm -f conftest.$ac_objext
98948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98949 (eval $ac_compile) 2>conftest.er1
98950 ac_status=$?
98951 grep -v '^ *+' conftest.er1 >conftest.err
98952 rm -f conftest.er1
98953 cat conftest.err >&5
98954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98955 (exit $ac_status); } &&
98956 { ac_try='test -z "$ac_c_werror_flag"
98957 || test ! -s conftest.err'
98958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98959 (eval $ac_try) 2>&5
98960 ac_status=$?
98961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98962 (exit $ac_status); }; } &&
98963 { ac_try='test -s conftest.$ac_objext'
98964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98965 (eval $ac_try) 2>&5
98966 ac_status=$?
98967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98968 (exit $ac_status); }; }; then
98969 ac_header_compiler=yes
98970 else
98971 echo "$as_me: failed program was:" >&5
98972 sed 's/^/| /' conftest.$ac_ext >&5
98974 ac_header_compiler=no
98976 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98977 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
98978 echo "${ECHO_T}$ac_header_compiler" >&6
98980 # Is the header present?
98981 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
98982 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
98983 cat >conftest.$ac_ext <<_ACEOF
98984 /* confdefs.h. */
98985 _ACEOF
98986 cat confdefs.h >>conftest.$ac_ext
98987 cat >>conftest.$ac_ext <<_ACEOF
98988 /* end confdefs.h. */
98989 #include <langinfo.h>
98990 _ACEOF
98991 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
98992 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
98993 ac_status=$?
98994 grep -v '^ *+' conftest.er1 >conftest.err
98995 rm -f conftest.er1
98996 cat conftest.err >&5
98997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98998 (exit $ac_status); } >/dev/null; then
98999 if test -s conftest.err; then
99000 ac_cpp_err=$ac_c_preproc_warn_flag
99001 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
99002 else
99003 ac_cpp_err=
99005 else
99006 ac_cpp_err=yes
99008 if test -z "$ac_cpp_err"; then
99009 ac_header_preproc=yes
99010 else
99011 echo "$as_me: failed program was:" >&5
99012 sed 's/^/| /' conftest.$ac_ext >&5
99014 ac_header_preproc=no
99016 rm -f conftest.err conftest.$ac_ext
99017 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
99018 echo "${ECHO_T}$ac_header_preproc" >&6
99020 # So? What about this header?
99021 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
99022 yes:no: )
99023 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
99024 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
99025 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
99026 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
99027 ac_header_preproc=yes
99029 no:yes:* )
99030 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
99031 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
99032 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
99033 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
99034 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
99035 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
99036 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
99037 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
99038 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
99039 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
99040 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
99041 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
99043 cat <<\_ASBOX
99044 ## ----------------------------------------- ##
99045 ## Report this to the package-unused lists. ##
99046 ## ----------------------------------------- ##
99047 _ASBOX
99049 sed "s/^/$as_me: WARNING: /" >&2
99051 esac
99052 echo "$as_me:$LINENO: checking for langinfo.h" >&5
99053 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
99054 if test "${ac_cv_header_langinfo_h+set}" = set; then
99055 echo $ECHO_N "(cached) $ECHO_C" >&6
99056 else
99057 ac_cv_header_langinfo_h=$ac_header_preproc
99059 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
99060 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
99063 if test $ac_cv_header_langinfo_h = yes; then
99064 ac_has_langinfo_h=yes
99065 else
99066 ac_has_langinfo_h=no
99071 # Check for existence of libiconv.a providing XPG2 wchar_t support.
99072 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
99073 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
99074 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
99075 echo $ECHO_N "(cached) $ECHO_C" >&6
99076 else
99077 ac_check_lib_save_LIBS=$LIBS
99078 LIBS="-liconv $LIBS"
99079 if test x$gcc_no_link = xyes; then
99080 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99081 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99082 { (exit 1); exit 1; }; }
99084 cat >conftest.$ac_ext <<_ACEOF
99085 /* confdefs.h. */
99086 _ACEOF
99087 cat confdefs.h >>conftest.$ac_ext
99088 cat >>conftest.$ac_ext <<_ACEOF
99089 /* end confdefs.h. */
99091 /* Override any gcc2 internal prototype to avoid an error. */
99092 #ifdef __cplusplus
99093 extern "C"
99094 #endif
99095 /* We use char because int might match the return type of a gcc2
99096 builtin and then its argument prototype would still apply. */
99097 char iconv ();
99099 main ()
99101 iconv ();
99103 return 0;
99105 _ACEOF
99106 rm -f conftest.$ac_objext conftest$ac_exeext
99107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99108 (eval $ac_link) 2>conftest.er1
99109 ac_status=$?
99110 grep -v '^ *+' conftest.er1 >conftest.err
99111 rm -f conftest.er1
99112 cat conftest.err >&5
99113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99114 (exit $ac_status); } &&
99115 { ac_try='test -z "$ac_c_werror_flag"
99116 || test ! -s conftest.err'
99117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99118 (eval $ac_try) 2>&5
99119 ac_status=$?
99120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99121 (exit $ac_status); }; } &&
99122 { ac_try='test -s conftest$ac_exeext'
99123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99124 (eval $ac_try) 2>&5
99125 ac_status=$?
99126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99127 (exit $ac_status); }; }; then
99128 ac_cv_lib_iconv_iconv=yes
99129 else
99130 echo "$as_me: failed program was:" >&5
99131 sed 's/^/| /' conftest.$ac_ext >&5
99133 ac_cv_lib_iconv_iconv=no
99135 rm -f conftest.err conftest.$ac_objext \
99136 conftest$ac_exeext conftest.$ac_ext
99137 LIBS=$ac_check_lib_save_LIBS
99139 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
99140 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
99141 if test $ac_cv_lib_iconv_iconv = yes; then
99142 LIBICONV="-liconv"
99145 ac_save_LIBS="$LIBS"
99146 LIBS="$LIBS $LIBICONV"
99153 for ac_func in iconv_open iconv_close iconv nl_langinfo
99155 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99156 echo "$as_me:$LINENO: checking for $ac_func" >&5
99157 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99158 if eval "test \"\${$as_ac_var+set}\" = set"; then
99159 echo $ECHO_N "(cached) $ECHO_C" >&6
99160 else
99161 if test x$gcc_no_link = xyes; then
99162 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99163 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99164 { (exit 1); exit 1; }; }
99166 cat >conftest.$ac_ext <<_ACEOF
99167 /* confdefs.h. */
99168 _ACEOF
99169 cat confdefs.h >>conftest.$ac_ext
99170 cat >>conftest.$ac_ext <<_ACEOF
99171 /* end confdefs.h. */
99172 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99173 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99174 #define $ac_func innocuous_$ac_func
99176 /* System header to define __stub macros and hopefully few prototypes,
99177 which can conflict with char $ac_func (); below.
99178 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99179 <limits.h> exists even on freestanding compilers. */
99181 #ifdef __STDC__
99182 # include <limits.h>
99183 #else
99184 # include <assert.h>
99185 #endif
99187 #undef $ac_func
99189 /* Override any gcc2 internal prototype to avoid an error. */
99190 #ifdef __cplusplus
99191 extern "C"
99193 #endif
99194 /* We use char because int might match the return type of a gcc2
99195 builtin and then its argument prototype would still apply. */
99196 char $ac_func ();
99197 /* The GNU C library defines this for functions which it implements
99198 to always fail with ENOSYS. Some functions are actually named
99199 something starting with __ and the normal name is an alias. */
99200 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99201 choke me
99202 #else
99203 char (*f) () = $ac_func;
99204 #endif
99205 #ifdef __cplusplus
99207 #endif
99210 main ()
99212 return f != $ac_func;
99214 return 0;
99216 _ACEOF
99217 rm -f conftest.$ac_objext conftest$ac_exeext
99218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99219 (eval $ac_link) 2>conftest.er1
99220 ac_status=$?
99221 grep -v '^ *+' conftest.er1 >conftest.err
99222 rm -f conftest.er1
99223 cat conftest.err >&5
99224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99225 (exit $ac_status); } &&
99226 { ac_try='test -z "$ac_c_werror_flag"
99227 || test ! -s conftest.err'
99228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99229 (eval $ac_try) 2>&5
99230 ac_status=$?
99231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99232 (exit $ac_status); }; } &&
99233 { ac_try='test -s conftest$ac_exeext'
99234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99235 (eval $ac_try) 2>&5
99236 ac_status=$?
99237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99238 (exit $ac_status); }; }; then
99239 eval "$as_ac_var=yes"
99240 else
99241 echo "$as_me: failed program was:" >&5
99242 sed 's/^/| /' conftest.$ac_ext >&5
99244 eval "$as_ac_var=no"
99246 rm -f conftest.err conftest.$ac_objext \
99247 conftest$ac_exeext conftest.$ac_ext
99249 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99250 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99251 if test `eval echo '${'$as_ac_var'}'` = yes; then
99252 cat >>confdefs.h <<_ACEOF
99253 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99254 _ACEOF
99255 ac_XPG2funcs=yes
99256 else
99257 ac_XPG2funcs=no
99259 done
99262 LIBS="$ac_save_LIBS"
99264 if test x"$ac_has_iconv_h" = xyes &&
99265 test x"$ac_has_langinfo_h" = xyes &&
99266 test x"$ac_XPG2funcs" = xyes;
99267 then
99269 cat >>confdefs.h <<\_ACEOF
99270 #define _GLIBCXX_USE_ICONV 1
99271 _ACEOF
99273 enable_iconv=yes
99276 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
99277 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
99278 echo "$as_me:$LINENO: result: $enable_iconv" >&5
99279 echo "${ECHO_T}$enable_iconv" >&6
99282 ac_test_CXXFLAGS="${CXXFLAGS+set}"
99283 ac_save_CXXFLAGS="$CXXFLAGS"
99284 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
99287 echo "$as_me:$LINENO: checking for strtold declaration" >&5
99288 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
99289 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
99290 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
99291 echo $ECHO_N "(cached) $ECHO_C" >&6
99292 else
99296 ac_ext=cc
99297 ac_cpp='$CXXCPP $CPPFLAGS'
99298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99302 cat >conftest.$ac_ext <<_ACEOF
99303 /* confdefs.h. */
99304 _ACEOF
99305 cat confdefs.h >>conftest.$ac_ext
99306 cat >>conftest.$ac_ext <<_ACEOF
99307 /* end confdefs.h. */
99308 #include <stdlib.h>
99310 main ()
99312 strtold(0, 0);
99314 return 0;
99316 _ACEOF
99317 rm -f conftest.$ac_objext
99318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99319 (eval $ac_compile) 2>conftest.er1
99320 ac_status=$?
99321 grep -v '^ *+' conftest.er1 >conftest.err
99322 rm -f conftest.er1
99323 cat conftest.err >&5
99324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99325 (exit $ac_status); } &&
99326 { ac_try='test -z "$ac_cxx_werror_flag"
99327 || test ! -s conftest.err'
99328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99329 (eval $ac_try) 2>&5
99330 ac_status=$?
99331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99332 (exit $ac_status); }; } &&
99333 { ac_try='test -s conftest.$ac_objext'
99334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99335 (eval $ac_try) 2>&5
99336 ac_status=$?
99337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99338 (exit $ac_status); }; }; then
99339 glibcxx_cv_func_strtold_use=yes
99340 else
99341 echo "$as_me: failed program was:" >&5
99342 sed 's/^/| /' conftest.$ac_ext >&5
99344 glibcxx_cv_func_strtold_use=no
99346 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99347 ac_ext=c
99348 ac_cpp='$CPP $CPPFLAGS'
99349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99357 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
99358 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
99359 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
99361 for ac_func in strtold
99363 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99364 echo "$as_me:$LINENO: checking for $ac_func" >&5
99365 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99366 if eval "test \"\${$as_ac_var+set}\" = set"; then
99367 echo $ECHO_N "(cached) $ECHO_C" >&6
99368 else
99369 if test x$gcc_no_link = xyes; then
99370 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99371 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99372 { (exit 1); exit 1; }; }
99374 cat >conftest.$ac_ext <<_ACEOF
99375 /* confdefs.h. */
99376 _ACEOF
99377 cat confdefs.h >>conftest.$ac_ext
99378 cat >>conftest.$ac_ext <<_ACEOF
99379 /* end confdefs.h. */
99380 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99381 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99382 #define $ac_func innocuous_$ac_func
99384 /* System header to define __stub macros and hopefully few prototypes,
99385 which can conflict with char $ac_func (); below.
99386 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99387 <limits.h> exists even on freestanding compilers. */
99389 #ifdef __STDC__
99390 # include <limits.h>
99391 #else
99392 # include <assert.h>
99393 #endif
99395 #undef $ac_func
99397 /* Override any gcc2 internal prototype to avoid an error. */
99398 #ifdef __cplusplus
99399 extern "C"
99401 #endif
99402 /* We use char because int might match the return type of a gcc2
99403 builtin and then its argument prototype would still apply. */
99404 char $ac_func ();
99405 /* The GNU C library defines this for functions which it implements
99406 to always fail with ENOSYS. Some functions are actually named
99407 something starting with __ and the normal name is an alias. */
99408 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99409 choke me
99410 #else
99411 char (*f) () = $ac_func;
99412 #endif
99413 #ifdef __cplusplus
99415 #endif
99418 main ()
99420 return f != $ac_func;
99422 return 0;
99424 _ACEOF
99425 rm -f conftest.$ac_objext conftest$ac_exeext
99426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99427 (eval $ac_link) 2>conftest.er1
99428 ac_status=$?
99429 grep -v '^ *+' conftest.er1 >conftest.err
99430 rm -f conftest.er1
99431 cat conftest.err >&5
99432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99433 (exit $ac_status); } &&
99434 { ac_try='test -z "$ac_c_werror_flag"
99435 || test ! -s conftest.err'
99436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99437 (eval $ac_try) 2>&5
99438 ac_status=$?
99439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99440 (exit $ac_status); }; } &&
99441 { ac_try='test -s conftest$ac_exeext'
99442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99443 (eval $ac_try) 2>&5
99444 ac_status=$?
99445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99446 (exit $ac_status); }; }; then
99447 eval "$as_ac_var=yes"
99448 else
99449 echo "$as_me: failed program was:" >&5
99450 sed 's/^/| /' conftest.$ac_ext >&5
99452 eval "$as_ac_var=no"
99454 rm -f conftest.err conftest.$ac_objext \
99455 conftest$ac_exeext conftest.$ac_ext
99457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99458 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99459 if test `eval echo '${'$as_ac_var'}'` = yes; then
99460 cat >>confdefs.h <<_ACEOF
99461 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99462 _ACEOF
99465 done
99473 echo "$as_me:$LINENO: checking for strtof declaration" >&5
99474 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
99475 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
99476 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
99477 echo $ECHO_N "(cached) $ECHO_C" >&6
99478 else
99482 ac_ext=cc
99483 ac_cpp='$CXXCPP $CPPFLAGS'
99484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99488 cat >conftest.$ac_ext <<_ACEOF
99489 /* confdefs.h. */
99490 _ACEOF
99491 cat confdefs.h >>conftest.$ac_ext
99492 cat >>conftest.$ac_ext <<_ACEOF
99493 /* end confdefs.h. */
99494 #include <stdlib.h>
99496 main ()
99498 strtof(0, 0);
99500 return 0;
99502 _ACEOF
99503 rm -f conftest.$ac_objext
99504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99505 (eval $ac_compile) 2>conftest.er1
99506 ac_status=$?
99507 grep -v '^ *+' conftest.er1 >conftest.err
99508 rm -f conftest.er1
99509 cat conftest.err >&5
99510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99511 (exit $ac_status); } &&
99512 { ac_try='test -z "$ac_cxx_werror_flag"
99513 || test ! -s conftest.err'
99514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99515 (eval $ac_try) 2>&5
99516 ac_status=$?
99517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99518 (exit $ac_status); }; } &&
99519 { ac_try='test -s conftest.$ac_objext'
99520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99521 (eval $ac_try) 2>&5
99522 ac_status=$?
99523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99524 (exit $ac_status); }; }; then
99525 glibcxx_cv_func_strtof_use=yes
99526 else
99527 echo "$as_me: failed program was:" >&5
99528 sed 's/^/| /' conftest.$ac_ext >&5
99530 glibcxx_cv_func_strtof_use=no
99532 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99533 ac_ext=c
99534 ac_cpp='$CPP $CPPFLAGS'
99535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99543 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
99544 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
99545 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
99547 for ac_func in strtof
99549 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99550 echo "$as_me:$LINENO: checking for $ac_func" >&5
99551 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99552 if eval "test \"\${$as_ac_var+set}\" = set"; then
99553 echo $ECHO_N "(cached) $ECHO_C" >&6
99554 else
99555 if test x$gcc_no_link = xyes; then
99556 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99557 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99558 { (exit 1); exit 1; }; }
99560 cat >conftest.$ac_ext <<_ACEOF
99561 /* confdefs.h. */
99562 _ACEOF
99563 cat confdefs.h >>conftest.$ac_ext
99564 cat >>conftest.$ac_ext <<_ACEOF
99565 /* end confdefs.h. */
99566 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99567 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99568 #define $ac_func innocuous_$ac_func
99570 /* System header to define __stub macros and hopefully few prototypes,
99571 which can conflict with char $ac_func (); below.
99572 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99573 <limits.h> exists even on freestanding compilers. */
99575 #ifdef __STDC__
99576 # include <limits.h>
99577 #else
99578 # include <assert.h>
99579 #endif
99581 #undef $ac_func
99583 /* Override any gcc2 internal prototype to avoid an error. */
99584 #ifdef __cplusplus
99585 extern "C"
99587 #endif
99588 /* We use char because int might match the return type of a gcc2
99589 builtin and then its argument prototype would still apply. */
99590 char $ac_func ();
99591 /* The GNU C library defines this for functions which it implements
99592 to always fail with ENOSYS. Some functions are actually named
99593 something starting with __ and the normal name is an alias. */
99594 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99595 choke me
99596 #else
99597 char (*f) () = $ac_func;
99598 #endif
99599 #ifdef __cplusplus
99601 #endif
99604 main ()
99606 return f != $ac_func;
99608 return 0;
99610 _ACEOF
99611 rm -f conftest.$ac_objext conftest$ac_exeext
99612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99613 (eval $ac_link) 2>conftest.er1
99614 ac_status=$?
99615 grep -v '^ *+' conftest.er1 >conftest.err
99616 rm -f conftest.er1
99617 cat conftest.err >&5
99618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99619 (exit $ac_status); } &&
99620 { ac_try='test -z "$ac_c_werror_flag"
99621 || test ! -s conftest.err'
99622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99623 (eval $ac_try) 2>&5
99624 ac_status=$?
99625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99626 (exit $ac_status); }; } &&
99627 { ac_try='test -s conftest$ac_exeext'
99628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99629 (eval $ac_try) 2>&5
99630 ac_status=$?
99631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99632 (exit $ac_status); }; }; then
99633 eval "$as_ac_var=yes"
99634 else
99635 echo "$as_me: failed program was:" >&5
99636 sed 's/^/| /' conftest.$ac_ext >&5
99638 eval "$as_ac_var=no"
99640 rm -f conftest.err conftest.$ac_objext \
99641 conftest$ac_exeext conftest.$ac_ext
99643 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99644 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99645 if test `eval echo '${'$as_ac_var'}'` = yes; then
99646 cat >>confdefs.h <<_ACEOF
99647 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99648 _ACEOF
99651 done
99659 CXXFLAGS="$ac_save_CXXFLAGS"
99662 # For LFS.
99663 cat >>confdefs.h <<\_ACEOF
99664 #define HAVE_INT64_T 1
99665 _ACEOF
99667 case "$target" in
99668 *-uclinux*)
99669 # Don't enable LFS with uClibc
99672 cat >>confdefs.h <<\_ACEOF
99673 #define _GLIBCXX_USE_LFS 1
99674 _ACEOF
99676 esac
99678 # For showmanyc_helper().
99681 for ac_header in sys/ioctl.h sys/filio.h
99683 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
99684 if eval "test \"\${$as_ac_Header+set}\" = set"; then
99685 echo "$as_me:$LINENO: checking for $ac_header" >&5
99686 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
99687 if eval "test \"\${$as_ac_Header+set}\" = set"; then
99688 echo $ECHO_N "(cached) $ECHO_C" >&6
99690 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
99691 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
99692 else
99693 # Is the header compilable?
99694 echo "$as_me:$LINENO: checking $ac_header usability" >&5
99695 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
99696 cat >conftest.$ac_ext <<_ACEOF
99697 /* confdefs.h. */
99698 _ACEOF
99699 cat confdefs.h >>conftest.$ac_ext
99700 cat >>conftest.$ac_ext <<_ACEOF
99701 /* end confdefs.h. */
99702 $ac_includes_default
99703 #include <$ac_header>
99704 _ACEOF
99705 rm -f conftest.$ac_objext
99706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99707 (eval $ac_compile) 2>conftest.er1
99708 ac_status=$?
99709 grep -v '^ *+' conftest.er1 >conftest.err
99710 rm -f conftest.er1
99711 cat conftest.err >&5
99712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99713 (exit $ac_status); } &&
99714 { ac_try='test -z "$ac_c_werror_flag"
99715 || test ! -s conftest.err'
99716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99717 (eval $ac_try) 2>&5
99718 ac_status=$?
99719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99720 (exit $ac_status); }; } &&
99721 { ac_try='test -s conftest.$ac_objext'
99722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99723 (eval $ac_try) 2>&5
99724 ac_status=$?
99725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99726 (exit $ac_status); }; }; then
99727 ac_header_compiler=yes
99728 else
99729 echo "$as_me: failed program was:" >&5
99730 sed 's/^/| /' conftest.$ac_ext >&5
99732 ac_header_compiler=no
99734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99735 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
99736 echo "${ECHO_T}$ac_header_compiler" >&6
99738 # Is the header present?
99739 echo "$as_me:$LINENO: checking $ac_header presence" >&5
99740 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
99741 cat >conftest.$ac_ext <<_ACEOF
99742 /* confdefs.h. */
99743 _ACEOF
99744 cat confdefs.h >>conftest.$ac_ext
99745 cat >>conftest.$ac_ext <<_ACEOF
99746 /* end confdefs.h. */
99747 #include <$ac_header>
99748 _ACEOF
99749 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
99750 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
99751 ac_status=$?
99752 grep -v '^ *+' conftest.er1 >conftest.err
99753 rm -f conftest.er1
99754 cat conftest.err >&5
99755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99756 (exit $ac_status); } >/dev/null; then
99757 if test -s conftest.err; then
99758 ac_cpp_err=$ac_c_preproc_warn_flag
99759 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
99760 else
99761 ac_cpp_err=
99763 else
99764 ac_cpp_err=yes
99766 if test -z "$ac_cpp_err"; then
99767 ac_header_preproc=yes
99768 else
99769 echo "$as_me: failed program was:" >&5
99770 sed 's/^/| /' conftest.$ac_ext >&5
99772 ac_header_preproc=no
99774 rm -f conftest.err conftest.$ac_ext
99775 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
99776 echo "${ECHO_T}$ac_header_preproc" >&6
99778 # So? What about this header?
99779 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
99780 yes:no: )
99781 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
99782 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
99783 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
99784 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
99785 ac_header_preproc=yes
99787 no:yes:* )
99788 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
99789 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
99790 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
99791 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
99792 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
99793 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
99794 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
99795 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
99796 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
99797 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
99798 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
99799 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
99801 cat <<\_ASBOX
99802 ## ----------------------------------------- ##
99803 ## Report this to the package-unused lists. ##
99804 ## ----------------------------------------- ##
99805 _ASBOX
99807 sed "s/^/$as_me: WARNING: /" >&2
99809 esac
99810 echo "$as_me:$LINENO: checking for $ac_header" >&5
99811 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
99812 if eval "test \"\${$as_ac_Header+set}\" = set"; then
99813 echo $ECHO_N "(cached) $ECHO_C" >&6
99814 else
99815 eval "$as_ac_Header=\$ac_header_preproc"
99817 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
99818 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
99821 if test `eval echo '${'$as_ac_Header'}'` = yes; then
99822 cat >>confdefs.h <<_ACEOF
99823 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
99824 _ACEOF
99828 done
99831 echo "$as_me:$LINENO: checking for poll" >&5
99832 echo $ECHO_N "checking for poll... $ECHO_C" >&6
99833 if test "${glibcxx_cv_POLL+set}" = set; then
99834 echo $ECHO_N "(cached) $ECHO_C" >&6
99835 else
99837 if test x$gcc_no_link = xyes; then
99838 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99839 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99840 { (exit 1); exit 1; }; }
99842 cat >conftest.$ac_ext <<_ACEOF
99843 /* confdefs.h. */
99844 _ACEOF
99845 cat confdefs.h >>conftest.$ac_ext
99846 cat >>conftest.$ac_ext <<_ACEOF
99847 /* end confdefs.h. */
99848 #include <poll.h>
99850 main ()
99852 struct pollfd pfd[1];
99853 pfd[0].events = POLLIN;
99854 poll(pfd, 1, 0);
99856 return 0;
99858 _ACEOF
99859 rm -f conftest.$ac_objext conftest$ac_exeext
99860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99861 (eval $ac_link) 2>conftest.er1
99862 ac_status=$?
99863 grep -v '^ *+' conftest.er1 >conftest.err
99864 rm -f conftest.er1
99865 cat conftest.err >&5
99866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99867 (exit $ac_status); } &&
99868 { ac_try='test -z "$ac_c_werror_flag"
99869 || test ! -s conftest.err'
99870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99871 (eval $ac_try) 2>&5
99872 ac_status=$?
99873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99874 (exit $ac_status); }; } &&
99875 { ac_try='test -s conftest$ac_exeext'
99876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99877 (eval $ac_try) 2>&5
99878 ac_status=$?
99879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99880 (exit $ac_status); }; }; then
99881 glibcxx_cv_POLL=yes
99882 else
99883 echo "$as_me: failed program was:" >&5
99884 sed 's/^/| /' conftest.$ac_ext >&5
99886 glibcxx_cv_POLL=no
99888 rm -f conftest.err conftest.$ac_objext \
99889 conftest$ac_exeext conftest.$ac_ext
99893 if test $glibcxx_cv_POLL = yes; then
99895 cat >>confdefs.h <<\_ACEOF
99896 #define HAVE_POLL 1
99897 _ACEOF
99900 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
99901 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
99904 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
99905 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
99906 if test "${glibcxx_cv_S_ISREG+set}" = set; then
99907 echo $ECHO_N "(cached) $ECHO_C" >&6
99908 else
99910 if test x$gcc_no_link = xyes; then
99911 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99912 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99913 { (exit 1); exit 1; }; }
99915 cat >conftest.$ac_ext <<_ACEOF
99916 /* confdefs.h. */
99917 _ACEOF
99918 cat confdefs.h >>conftest.$ac_ext
99919 cat >>conftest.$ac_ext <<_ACEOF
99920 /* end confdefs.h. */
99921 #include <sys/stat.h>
99923 main ()
99925 struct stat buffer;
99926 fstat(0, &buffer);
99927 S_ISREG(buffer.st_mode);
99929 return 0;
99931 _ACEOF
99932 rm -f conftest.$ac_objext conftest$ac_exeext
99933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99934 (eval $ac_link) 2>conftest.er1
99935 ac_status=$?
99936 grep -v '^ *+' conftest.er1 >conftest.err
99937 rm -f conftest.er1
99938 cat conftest.err >&5
99939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99940 (exit $ac_status); } &&
99941 { ac_try='test -z "$ac_c_werror_flag"
99942 || test ! -s conftest.err'
99943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99944 (eval $ac_try) 2>&5
99945 ac_status=$?
99946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99947 (exit $ac_status); }; } &&
99948 { ac_try='test -s conftest$ac_exeext'
99949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99950 (eval $ac_try) 2>&5
99951 ac_status=$?
99952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99953 (exit $ac_status); }; }; then
99954 glibcxx_cv_S_ISREG=yes
99955 else
99956 echo "$as_me: failed program was:" >&5
99957 sed 's/^/| /' conftest.$ac_ext >&5
99959 glibcxx_cv_S_ISREG=no
99961 rm -f conftest.err conftest.$ac_objext \
99962 conftest$ac_exeext conftest.$ac_ext
99966 if test "${glibcxx_cv_S_IFREG+set}" = set; then
99967 echo $ECHO_N "(cached) $ECHO_C" >&6
99968 else
99970 if test x$gcc_no_link = xyes; then
99971 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99972 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99973 { (exit 1); exit 1; }; }
99975 cat >conftest.$ac_ext <<_ACEOF
99976 /* confdefs.h. */
99977 _ACEOF
99978 cat confdefs.h >>conftest.$ac_ext
99979 cat >>conftest.$ac_ext <<_ACEOF
99980 /* end confdefs.h. */
99981 #include <sys/stat.h>
99983 main ()
99985 struct stat buffer;
99986 fstat(0, &buffer);
99987 S_IFREG & buffer.st_mode;
99989 return 0;
99991 _ACEOF
99992 rm -f conftest.$ac_objext conftest$ac_exeext
99993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99994 (eval $ac_link) 2>conftest.er1
99995 ac_status=$?
99996 grep -v '^ *+' conftest.er1 >conftest.err
99997 rm -f conftest.er1
99998 cat conftest.err >&5
99999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100000 (exit $ac_status); } &&
100001 { ac_try='test -z "$ac_c_werror_flag"
100002 || test ! -s conftest.err'
100003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100004 (eval $ac_try) 2>&5
100005 ac_status=$?
100006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100007 (exit $ac_status); }; } &&
100008 { ac_try='test -s conftest$ac_exeext'
100009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100010 (eval $ac_try) 2>&5
100011 ac_status=$?
100012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100013 (exit $ac_status); }; }; then
100014 glibcxx_cv_S_IFREG=yes
100016 echo "$as_me: failed program was:" >&5
100017 sed 's/^/| /' conftest.$ac_ext >&5
100019 glibcxx_cv_S_IFREG=no
100021 rm -f conftest.err conftest.$ac_objext \
100022 conftest$ac_exeext conftest.$ac_ext
100026 res=no
100027 if test $glibcxx_cv_S_ISREG = yes; then
100029 cat >>confdefs.h <<\_ACEOF
100030 #define HAVE_S_ISREG 1
100031 _ACEOF
100033 res=S_ISREG
100034 elif test $glibcxx_cv_S_IFREG = yes; then
100036 cat >>confdefs.h <<\_ACEOF
100037 #define HAVE_S_IFREG 1
100038 _ACEOF
100040 res=S_IFREG
100042 echo "$as_me:$LINENO: result: $res" >&5
100043 echo "${ECHO_T}$res" >&6
100046 # For xsputn_2().
100048 for ac_header in sys/uio.h
100050 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
100051 if eval "test \"\${$as_ac_Header+set}\" = set"; then
100052 echo "$as_me:$LINENO: checking for $ac_header" >&5
100053 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
100054 if eval "test \"\${$as_ac_Header+set}\" = set"; then
100055 echo $ECHO_N "(cached) $ECHO_C" >&6
100057 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
100058 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
100060 # Is the header compilable?
100061 echo "$as_me:$LINENO: checking $ac_header usability" >&5
100062 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
100063 cat >conftest.$ac_ext <<_ACEOF
100064 /* confdefs.h. */
100065 _ACEOF
100066 cat confdefs.h >>conftest.$ac_ext
100067 cat >>conftest.$ac_ext <<_ACEOF
100068 /* end confdefs.h. */
100069 $ac_includes_default
100070 #include <$ac_header>
100071 _ACEOF
100072 rm -f conftest.$ac_objext
100073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100074 (eval $ac_compile) 2>conftest.er1
100075 ac_status=$?
100076 grep -v '^ *+' conftest.er1 >conftest.err
100077 rm -f conftest.er1
100078 cat conftest.err >&5
100079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100080 (exit $ac_status); } &&
100081 { ac_try='test -z "$ac_c_werror_flag"
100082 || test ! -s conftest.err'
100083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100084 (eval $ac_try) 2>&5
100085 ac_status=$?
100086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100087 (exit $ac_status); }; } &&
100088 { ac_try='test -s conftest.$ac_objext'
100089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100090 (eval $ac_try) 2>&5
100091 ac_status=$?
100092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100093 (exit $ac_status); }; }; then
100094 ac_header_compiler=yes
100096 echo "$as_me: failed program was:" >&5
100097 sed 's/^/| /' conftest.$ac_ext >&5
100099 ac_header_compiler=no
100101 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100102 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
100103 echo "${ECHO_T}$ac_header_compiler" >&6
100105 # Is the header present?
100106 echo "$as_me:$LINENO: checking $ac_header presence" >&5
100107 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
100108 cat >conftest.$ac_ext <<_ACEOF
100109 /* confdefs.h. */
100110 _ACEOF
100111 cat confdefs.h >>conftest.$ac_ext
100112 cat >>conftest.$ac_ext <<_ACEOF
100113 /* end confdefs.h. */
100114 #include <$ac_header>
100115 _ACEOF
100116 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
100117 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
100118 ac_status=$?
100119 grep -v '^ *+' conftest.er1 >conftest.err
100120 rm -f conftest.er1
100121 cat conftest.err >&5
100122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100123 (exit $ac_status); } >/dev/null; then
100124 if test -s conftest.err; then
100125 ac_cpp_err=$ac_c_preproc_warn_flag
100126 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
100128 ac_cpp_err=
100131 ac_cpp_err=yes
100133 if test -z "$ac_cpp_err"; then
100134 ac_header_preproc=yes
100136 echo "$as_me: failed program was:" >&5
100137 sed 's/^/| /' conftest.$ac_ext >&5
100139 ac_header_preproc=no
100141 rm -f conftest.err conftest.$ac_ext
100142 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
100143 echo "${ECHO_T}$ac_header_preproc" >&6
100145 # So? What about this header?
100146 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
100147 yes:no: )
100148 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
100149 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
100150 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
100151 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
100152 ac_header_preproc=yes
100154 no:yes:* )
100155 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
100156 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
100157 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
100158 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
100159 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
100160 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
100161 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
100162 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
100163 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
100164 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
100165 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
100166 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
100168 cat <<\_ASBOX
100169 ## ----------------------------------------- ##
100170 ## Report this to the package-unused lists. ##
100171 ## ----------------------------------------- ##
100172 _ASBOX
100174 sed "s/^/$as_me: WARNING: /" >&2
100177 echo "$as_me:$LINENO: checking for $ac_header" >&5
100178 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
100179 if eval "test \"\${$as_ac_Header+set}\" = set"; then
100180 echo $ECHO_N "(cached) $ECHO_C" >&6
100182 eval "$as_ac_Header=\$ac_header_preproc"
100184 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
100185 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
100188 if test `eval echo '${'$as_ac_Header'}'` = yes; then
100189 cat >>confdefs.h <<_ACEOF
100190 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
100191 _ACEOF
100198 echo "$as_me:$LINENO: checking for writev" >&5
100199 echo $ECHO_N "checking for writev... $ECHO_C" >&6
100200 if test "${glibcxx_cv_WRITEV+set}" = set; then
100201 echo $ECHO_N "(cached) $ECHO_C" >&6
100204 if test x$gcc_no_link = xyes; then
100205 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100206 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100207 { (exit 1); exit 1; }; }
100209 cat >conftest.$ac_ext <<_ACEOF
100210 /* confdefs.h. */
100211 _ACEOF
100212 cat confdefs.h >>conftest.$ac_ext
100213 cat >>conftest.$ac_ext <<_ACEOF
100214 /* end confdefs.h. */
100215 #include <sys/uio.h>
100217 main ()
100219 struct iovec iov[2];
100220 writev(0, iov, 0);
100222 return 0;
100224 _ACEOF
100225 rm -f conftest.$ac_objext conftest$ac_exeext
100226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100227 (eval $ac_link) 2>conftest.er1
100228 ac_status=$?
100229 grep -v '^ *+' conftest.er1 >conftest.err
100230 rm -f conftest.er1
100231 cat conftest.err >&5
100232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100233 (exit $ac_status); } &&
100234 { ac_try='test -z "$ac_c_werror_flag"
100235 || test ! -s conftest.err'
100236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100237 (eval $ac_try) 2>&5
100238 ac_status=$?
100239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100240 (exit $ac_status); }; } &&
100241 { ac_try='test -s conftest$ac_exeext'
100242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100243 (eval $ac_try) 2>&5
100244 ac_status=$?
100245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100246 (exit $ac_status); }; }; then
100247 glibcxx_cv_WRITEV=yes
100249 echo "$as_me: failed program was:" >&5
100250 sed 's/^/| /' conftest.$ac_ext >&5
100252 glibcxx_cv_WRITEV=no
100254 rm -f conftest.err conftest.$ac_objext \
100255 conftest$ac_exeext conftest.$ac_ext
100259 if test $glibcxx_cv_WRITEV = yes; then
100261 cat >>confdefs.h <<\_ACEOF
100262 #define HAVE_WRITEV 1
100263 _ACEOF
100266 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
100267 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
100270 *-mingw32*)
100274 for ac_header in sys/types.h locale.h float.h
100276 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
100277 if eval "test \"\${$as_ac_Header+set}\" = set"; then
100278 echo "$as_me:$LINENO: checking for $ac_header" >&5
100279 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
100280 if eval "test \"\${$as_ac_Header+set}\" = set"; then
100281 echo $ECHO_N "(cached) $ECHO_C" >&6
100283 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
100284 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
100286 # Is the header compilable?
100287 echo "$as_me:$LINENO: checking $ac_header usability" >&5
100288 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
100289 cat >conftest.$ac_ext <<_ACEOF
100290 /* confdefs.h. */
100291 _ACEOF
100292 cat confdefs.h >>conftest.$ac_ext
100293 cat >>conftest.$ac_ext <<_ACEOF
100294 /* end confdefs.h. */
100295 $ac_includes_default
100296 #include <$ac_header>
100297 _ACEOF
100298 rm -f conftest.$ac_objext
100299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100300 (eval $ac_compile) 2>conftest.er1
100301 ac_status=$?
100302 grep -v '^ *+' conftest.er1 >conftest.err
100303 rm -f conftest.er1
100304 cat conftest.err >&5
100305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100306 (exit $ac_status); } &&
100307 { ac_try='test -z "$ac_c_werror_flag"
100308 || test ! -s conftest.err'
100309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100310 (eval $ac_try) 2>&5
100311 ac_status=$?
100312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100313 (exit $ac_status); }; } &&
100314 { ac_try='test -s conftest.$ac_objext'
100315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100316 (eval $ac_try) 2>&5
100317 ac_status=$?
100318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100319 (exit $ac_status); }; }; then
100320 ac_header_compiler=yes
100322 echo "$as_me: failed program was:" >&5
100323 sed 's/^/| /' conftest.$ac_ext >&5
100325 ac_header_compiler=no
100327 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100328 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
100329 echo "${ECHO_T}$ac_header_compiler" >&6
100331 # Is the header present?
100332 echo "$as_me:$LINENO: checking $ac_header presence" >&5
100333 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
100334 cat >conftest.$ac_ext <<_ACEOF
100335 /* confdefs.h. */
100336 _ACEOF
100337 cat confdefs.h >>conftest.$ac_ext
100338 cat >>conftest.$ac_ext <<_ACEOF
100339 /* end confdefs.h. */
100340 #include <$ac_header>
100341 _ACEOF
100342 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
100343 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
100344 ac_status=$?
100345 grep -v '^ *+' conftest.er1 >conftest.err
100346 rm -f conftest.er1
100347 cat conftest.err >&5
100348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100349 (exit $ac_status); } >/dev/null; then
100350 if test -s conftest.err; then
100351 ac_cpp_err=$ac_c_preproc_warn_flag
100352 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
100354 ac_cpp_err=
100357 ac_cpp_err=yes
100359 if test -z "$ac_cpp_err"; then
100360 ac_header_preproc=yes
100362 echo "$as_me: failed program was:" >&5
100363 sed 's/^/| /' conftest.$ac_ext >&5
100365 ac_header_preproc=no
100367 rm -f conftest.err conftest.$ac_ext
100368 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
100369 echo "${ECHO_T}$ac_header_preproc" >&6
100371 # So? What about this header?
100372 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
100373 yes:no: )
100374 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
100375 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
100376 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
100377 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
100378 ac_header_preproc=yes
100380 no:yes:* )
100381 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
100382 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
100383 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
100384 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
100385 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
100386 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
100387 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
100388 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
100389 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
100390 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
100391 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
100392 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
100394 cat <<\_ASBOX
100395 ## ----------------------------------------- ##
100396 ## Report this to the package-unused lists. ##
100397 ## ----------------------------------------- ##
100398 _ASBOX
100400 sed "s/^/$as_me: WARNING: /" >&2
100403 echo "$as_me:$LINENO: checking for $ac_header" >&5
100404 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
100405 if eval "test \"\${$as_ac_Header+set}\" = set"; then
100406 echo $ECHO_N "(cached) $ECHO_C" >&6
100408 eval "$as_ac_Header=\$ac_header_preproc"
100410 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
100411 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
100414 if test `eval echo '${'$as_ac_Header'}'` = yes; then
100415 cat >>confdefs.h <<_ACEOF
100416 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
100417 _ACEOF
100424 # If we're not using GNU ld, then there's no point in even trying these
100425 # tests. Check for that first. We should have already tested for gld
100426 # by now (in libtool), but require it now just to be safe...
100427 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
100428 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
100432 # The name set by libtool depends on the version of libtool. Shame on us
100433 # for depending on an impl detail, but c'est la vie. Older versions used
100434 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
100435 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
100436 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
100437 # set (hence we're using an older libtool), then set it.
100438 if test x${with_gnu_ld+set} != xset; then
100439 if test x${ac_cv_prog_gnu_ld+set} != xset; then
100440 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
100441 with_gnu_ld=no
100443 with_gnu_ld=$ac_cv_prog_gnu_ld
100447 # Start by getting the version number. I think the libtool test already
100448 # does some of this, but throws away the result.
100449 echo "$as_me:$LINENO: checking for ld version" >&5
100450 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
100452 ldver=`$LD --version 2>/dev/null | head -1 | \
100453 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
100455 glibcxx_gnu_ld_version=`echo $ldver | \
100456 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
100457 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
100458 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
100460 # Set --gc-sections.
100461 glibcxx_gcsections_min_ld=21602
100462 if test x"$with_gnu_ld" = x"yes" &&
100463 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
100465 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
100466 # NB: This flag only works reliably after 2.16.1. Configure tests
100467 # for this are difficult, so hard wire a value that should work.
100469 # All these tests are for C++, but run with the "C" compiler driver.
100470 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
100471 ac_test_CFLAGS="${CFLAGS+set}"
100472 ac_save_CFLAGS="$CFLAGS"
100473 CFLAGS='-x c++ -Wl,--gc-sections'
100475 # Check for -Wl,--gc-sections
100476 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
100477 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
100478 if test x$gcc_no_link = xyes; then
100479 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100480 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100481 { (exit 1); exit 1; }; }
100483 cat >conftest.$ac_ext <<_ACEOF
100484 /* confdefs.h. */
100485 _ACEOF
100486 cat confdefs.h >>conftest.$ac_ext
100487 cat >>conftest.$ac_ext <<_ACEOF
100488 /* end confdefs.h. */
100489 int one(void) { return 1; }
100490 int two(void) { return 2; }
100493 main ()
100495 two();
100497 return 0;
100499 _ACEOF
100500 rm -f conftest.$ac_objext conftest$ac_exeext
100501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100502 (eval $ac_link) 2>conftest.er1
100503 ac_status=$?
100504 grep -v '^ *+' conftest.er1 >conftest.err
100505 rm -f conftest.er1
100506 cat conftest.err >&5
100507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100508 (exit $ac_status); } &&
100509 { ac_try='test -z "$ac_c_werror_flag"
100510 || test ! -s conftest.err'
100511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100512 (eval $ac_try) 2>&5
100513 ac_status=$?
100514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100515 (exit $ac_status); }; } &&
100516 { ac_try='test -s conftest$ac_exeext'
100517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100518 (eval $ac_try) 2>&5
100519 ac_status=$?
100520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100521 (exit $ac_status); }; }; then
100522 ac_gcsections=yes
100524 echo "$as_me: failed program was:" >&5
100525 sed 's/^/| /' conftest.$ac_ext >&5
100527 ac_gcsections=no
100529 rm -f conftest.err conftest.$ac_objext \
100530 conftest$ac_exeext conftest.$ac_ext
100531 if test "$ac_gcsections" = "yes"; then
100532 rm -f conftest.c
100533 touch conftest.c
100534 if $CC -c conftest.c; then
100535 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
100536 grep "Warning: gc-sections option ignored" > /dev/null; then
100537 ac_gcsections=no
100540 rm -f conftest.c conftest.o conftest
100542 if test "$ac_gcsections" = "yes"; then
100543 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
100545 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
100546 echo "${ECHO_T}$ac_gcsections" >&6
100548 if test "$ac_test_CFLAGS" = set; then
100549 CFLAGS="$ac_save_CFLAGS"
100551 # this is the suspicious part
100552 CFLAGS=''
100556 # Set -z,relro.
100557 # Note this is only for shared objects.
100558 ac_ld_relro=no
100559 if test x"$with_gnu_ld" = x"yes"; then
100560 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
100561 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
100562 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
100563 if test -n "$cxx_z_relo"; then
100564 OPT_LDFLAGS="-Wl,-z,relro"
100565 ac_ld_relro=yes
100567 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
100568 echo "${ECHO_T}$ac_ld_relro" >&6
100571 # Set linker optimization flags.
100572 if test x"$with_gnu_ld" = x"yes"; then
100573 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
100581 echo "$as_me:$LINENO: checking for main in -lm" >&5
100582 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
100583 if test "${ac_cv_lib_m_main+set}" = set; then
100584 echo $ECHO_N "(cached) $ECHO_C" >&6
100586 ac_check_lib_save_LIBS=$LIBS
100587 LIBS="-lm $LIBS"
100588 if test x$gcc_no_link = xyes; then
100589 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100590 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100591 { (exit 1); exit 1; }; }
100593 cat >conftest.$ac_ext <<_ACEOF
100594 /* confdefs.h. */
100595 _ACEOF
100596 cat confdefs.h >>conftest.$ac_ext
100597 cat >>conftest.$ac_ext <<_ACEOF
100598 /* end confdefs.h. */
100602 main ()
100604 main ();
100606 return 0;
100608 _ACEOF
100609 rm -f conftest.$ac_objext conftest$ac_exeext
100610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100611 (eval $ac_link) 2>conftest.er1
100612 ac_status=$?
100613 grep -v '^ *+' conftest.er1 >conftest.err
100614 rm -f conftest.er1
100615 cat conftest.err >&5
100616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100617 (exit $ac_status); } &&
100618 { ac_try='test -z "$ac_c_werror_flag"
100619 || test ! -s conftest.err'
100620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100621 (eval $ac_try) 2>&5
100622 ac_status=$?
100623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100624 (exit $ac_status); }; } &&
100625 { ac_try='test -s conftest$ac_exeext'
100626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100627 (eval $ac_try) 2>&5
100628 ac_status=$?
100629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100630 (exit $ac_status); }; }; then
100631 ac_cv_lib_m_main=yes
100633 echo "$as_me: failed program was:" >&5
100634 sed 's/^/| /' conftest.$ac_ext >&5
100636 ac_cv_lib_m_main=no
100638 rm -f conftest.err conftest.$ac_objext \
100639 conftest$ac_exeext conftest.$ac_ext
100640 LIBS=$ac_check_lib_save_LIBS
100642 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
100643 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
100644 if test $ac_cv_lib_m_main = yes; then
100645 cat >>confdefs.h <<_ACEOF
100646 #define HAVE_LIBM 1
100647 _ACEOF
100649 LIBS="-lm $LIBS"
100654 for ac_func in copysignf
100656 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100657 echo "$as_me:$LINENO: checking for $ac_func" >&5
100658 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100659 if eval "test \"\${$as_ac_var+set}\" = set"; then
100660 echo $ECHO_N "(cached) $ECHO_C" >&6
100662 if test x$gcc_no_link = xyes; then
100663 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100664 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100665 { (exit 1); exit 1; }; }
100667 cat >conftest.$ac_ext <<_ACEOF
100668 /* confdefs.h. */
100669 _ACEOF
100670 cat confdefs.h >>conftest.$ac_ext
100671 cat >>conftest.$ac_ext <<_ACEOF
100672 /* end confdefs.h. */
100673 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100674 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100675 #define $ac_func innocuous_$ac_func
100677 /* System header to define __stub macros and hopefully few prototypes,
100678 which can conflict with char $ac_func (); below.
100679 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100680 <limits.h> exists even on freestanding compilers. */
100682 #ifdef __STDC__
100683 # include <limits.h>
100684 #else
100685 # include <assert.h>
100686 #endif
100688 #undef $ac_func
100690 /* Override any gcc2 internal prototype to avoid an error. */
100691 #ifdef __cplusplus
100692 extern "C"
100694 #endif
100695 /* We use char because int might match the return type of a gcc2
100696 builtin and then its argument prototype would still apply. */
100697 char $ac_func ();
100698 /* The GNU C library defines this for functions which it implements
100699 to always fail with ENOSYS. Some functions are actually named
100700 something starting with __ and the normal name is an alias. */
100701 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100702 choke me
100703 #else
100704 char (*f) () = $ac_func;
100705 #endif
100706 #ifdef __cplusplus
100708 #endif
100711 main ()
100713 return f != $ac_func;
100715 return 0;
100717 _ACEOF
100718 rm -f conftest.$ac_objext conftest$ac_exeext
100719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100720 (eval $ac_link) 2>conftest.er1
100721 ac_status=$?
100722 grep -v '^ *+' conftest.er1 >conftest.err
100723 rm -f conftest.er1
100724 cat conftest.err >&5
100725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100726 (exit $ac_status); } &&
100727 { ac_try='test -z "$ac_c_werror_flag"
100728 || test ! -s conftest.err'
100729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100730 (eval $ac_try) 2>&5
100731 ac_status=$?
100732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100733 (exit $ac_status); }; } &&
100734 { ac_try='test -s conftest$ac_exeext'
100735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100736 (eval $ac_try) 2>&5
100737 ac_status=$?
100738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100739 (exit $ac_status); }; }; then
100740 eval "$as_ac_var=yes"
100742 echo "$as_me: failed program was:" >&5
100743 sed 's/^/| /' conftest.$ac_ext >&5
100745 eval "$as_ac_var=no"
100747 rm -f conftest.err conftest.$ac_objext \
100748 conftest$ac_exeext conftest.$ac_ext
100750 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100751 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100752 if test `eval echo '${'$as_ac_var'}'` = yes; then
100753 cat >>confdefs.h <<_ACEOF
100754 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100755 _ACEOF
100758 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
100764 for ac_func in __signbit
100766 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100767 echo "$as_me:$LINENO: checking for $ac_func" >&5
100768 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100769 if eval "test \"\${$as_ac_var+set}\" = set"; then
100770 echo $ECHO_N "(cached) $ECHO_C" >&6
100772 if test x$gcc_no_link = xyes; then
100773 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100774 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100775 { (exit 1); exit 1; }; }
100777 cat >conftest.$ac_ext <<_ACEOF
100778 /* confdefs.h. */
100779 _ACEOF
100780 cat confdefs.h >>conftest.$ac_ext
100781 cat >>conftest.$ac_ext <<_ACEOF
100782 /* end confdefs.h. */
100783 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100784 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100785 #define $ac_func innocuous_$ac_func
100787 /* System header to define __stub macros and hopefully few prototypes,
100788 which can conflict with char $ac_func (); below.
100789 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100790 <limits.h> exists even on freestanding compilers. */
100792 #ifdef __STDC__
100793 # include <limits.h>
100794 #else
100795 # include <assert.h>
100796 #endif
100798 #undef $ac_func
100800 /* Override any gcc2 internal prototype to avoid an error. */
100801 #ifdef __cplusplus
100802 extern "C"
100804 #endif
100805 /* We use char because int might match the return type of a gcc2
100806 builtin and then its argument prototype would still apply. */
100807 char $ac_func ();
100808 /* The GNU C library defines this for functions which it implements
100809 to always fail with ENOSYS. Some functions are actually named
100810 something starting with __ and the normal name is an alias. */
100811 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100812 choke me
100813 #else
100814 char (*f) () = $ac_func;
100815 #endif
100816 #ifdef __cplusplus
100818 #endif
100821 main ()
100823 return f != $ac_func;
100825 return 0;
100827 _ACEOF
100828 rm -f conftest.$ac_objext conftest$ac_exeext
100829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100830 (eval $ac_link) 2>conftest.er1
100831 ac_status=$?
100832 grep -v '^ *+' conftest.er1 >conftest.err
100833 rm -f conftest.er1
100834 cat conftest.err >&5
100835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100836 (exit $ac_status); } &&
100837 { ac_try='test -z "$ac_c_werror_flag"
100838 || test ! -s conftest.err'
100839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100840 (eval $ac_try) 2>&5
100841 ac_status=$?
100842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100843 (exit $ac_status); }; } &&
100844 { ac_try='test -s conftest$ac_exeext'
100845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100846 (eval $ac_try) 2>&5
100847 ac_status=$?
100848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100849 (exit $ac_status); }; }; then
100850 eval "$as_ac_var=yes"
100852 echo "$as_me: failed program was:" >&5
100853 sed 's/^/| /' conftest.$ac_ext >&5
100855 eval "$as_ac_var=no"
100857 rm -f conftest.err conftest.$ac_objext \
100858 conftest$ac_exeext conftest.$ac_ext
100860 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100861 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100862 if test `eval echo '${'$as_ac_var'}'` = yes; then
100863 cat >>confdefs.h <<_ACEOF
100864 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100865 _ACEOF
100868 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
100874 for ac_func in __signbitf
100876 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100877 echo "$as_me:$LINENO: checking for $ac_func" >&5
100878 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100879 if eval "test \"\${$as_ac_var+set}\" = set"; then
100880 echo $ECHO_N "(cached) $ECHO_C" >&6
100882 if test x$gcc_no_link = xyes; then
100883 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100884 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100885 { (exit 1); exit 1; }; }
100887 cat >conftest.$ac_ext <<_ACEOF
100888 /* confdefs.h. */
100889 _ACEOF
100890 cat confdefs.h >>conftest.$ac_ext
100891 cat >>conftest.$ac_ext <<_ACEOF
100892 /* end confdefs.h. */
100893 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100894 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100895 #define $ac_func innocuous_$ac_func
100897 /* System header to define __stub macros and hopefully few prototypes,
100898 which can conflict with char $ac_func (); below.
100899 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100900 <limits.h> exists even on freestanding compilers. */
100902 #ifdef __STDC__
100903 # include <limits.h>
100904 #else
100905 # include <assert.h>
100906 #endif
100908 #undef $ac_func
100910 /* Override any gcc2 internal prototype to avoid an error. */
100911 #ifdef __cplusplus
100912 extern "C"
100914 #endif
100915 /* We use char because int might match the return type of a gcc2
100916 builtin and then its argument prototype would still apply. */
100917 char $ac_func ();
100918 /* The GNU C library defines this for functions which it implements
100919 to always fail with ENOSYS. Some functions are actually named
100920 something starting with __ and the normal name is an alias. */
100921 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100922 choke me
100923 #else
100924 char (*f) () = $ac_func;
100925 #endif
100926 #ifdef __cplusplus
100928 #endif
100931 main ()
100933 return f != $ac_func;
100935 return 0;
100937 _ACEOF
100938 rm -f conftest.$ac_objext conftest$ac_exeext
100939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100940 (eval $ac_link) 2>conftest.er1
100941 ac_status=$?
100942 grep -v '^ *+' conftest.er1 >conftest.err
100943 rm -f conftest.er1
100944 cat conftest.err >&5
100945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100946 (exit $ac_status); } &&
100947 { ac_try='test -z "$ac_c_werror_flag"
100948 || test ! -s conftest.err'
100949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100950 (eval $ac_try) 2>&5
100951 ac_status=$?
100952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100953 (exit $ac_status); }; } &&
100954 { ac_try='test -s conftest$ac_exeext'
100955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100956 (eval $ac_try) 2>&5
100957 ac_status=$?
100958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100959 (exit $ac_status); }; }; then
100960 eval "$as_ac_var=yes"
100962 echo "$as_me: failed program was:" >&5
100963 sed 's/^/| /' conftest.$ac_ext >&5
100965 eval "$as_ac_var=no"
100967 rm -f conftest.err conftest.$ac_objext \
100968 conftest$ac_exeext conftest.$ac_ext
100970 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100971 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100972 if test `eval echo '${'$as_ac_var'}'` = yes; then
100973 cat >>confdefs.h <<_ACEOF
100974 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100975 _ACEOF
100978 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
100983 if test x$ac_cv_func_copysignl = x"yes"; then
100985 for ac_func in __signbitl
100987 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100988 echo "$as_me:$LINENO: checking for $ac_func" >&5
100989 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100990 if eval "test \"\${$as_ac_var+set}\" = set"; then
100991 echo $ECHO_N "(cached) $ECHO_C" >&6
100993 if test x$gcc_no_link = xyes; then
100994 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100995 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100996 { (exit 1); exit 1; }; }
100998 cat >conftest.$ac_ext <<_ACEOF
100999 /* confdefs.h. */
101000 _ACEOF
101001 cat confdefs.h >>conftest.$ac_ext
101002 cat >>conftest.$ac_ext <<_ACEOF
101003 /* end confdefs.h. */
101004 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101005 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101006 #define $ac_func innocuous_$ac_func
101008 /* System header to define __stub macros and hopefully few prototypes,
101009 which can conflict with char $ac_func (); below.
101010 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101011 <limits.h> exists even on freestanding compilers. */
101013 #ifdef __STDC__
101014 # include <limits.h>
101015 #else
101016 # include <assert.h>
101017 #endif
101019 #undef $ac_func
101021 /* Override any gcc2 internal prototype to avoid an error. */
101022 #ifdef __cplusplus
101023 extern "C"
101025 #endif
101026 /* We use char because int might match the return type of a gcc2
101027 builtin and then its argument prototype would still apply. */
101028 char $ac_func ();
101029 /* The GNU C library defines this for functions which it implements
101030 to always fail with ENOSYS. Some functions are actually named
101031 something starting with __ and the normal name is an alias. */
101032 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101033 choke me
101034 #else
101035 char (*f) () = $ac_func;
101036 #endif
101037 #ifdef __cplusplus
101039 #endif
101042 main ()
101044 return f != $ac_func;
101046 return 0;
101048 _ACEOF
101049 rm -f conftest.$ac_objext conftest$ac_exeext
101050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101051 (eval $ac_link) 2>conftest.er1
101052 ac_status=$?
101053 grep -v '^ *+' conftest.er1 >conftest.err
101054 rm -f conftest.er1
101055 cat conftest.err >&5
101056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101057 (exit $ac_status); } &&
101058 { ac_try='test -z "$ac_c_werror_flag"
101059 || test ! -s conftest.err'
101060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101061 (eval $ac_try) 2>&5
101062 ac_status=$?
101063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101064 (exit $ac_status); }; } &&
101065 { ac_try='test -s conftest$ac_exeext'
101066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101067 (eval $ac_try) 2>&5
101068 ac_status=$?
101069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101070 (exit $ac_status); }; }; then
101071 eval "$as_ac_var=yes"
101073 echo "$as_me: failed program was:" >&5
101074 sed 's/^/| /' conftest.$ac_ext >&5
101076 eval "$as_ac_var=no"
101078 rm -f conftest.err conftest.$ac_objext \
101079 conftest$ac_exeext conftest.$ac_ext
101081 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101082 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101083 if test `eval echo '${'$as_ac_var'}'` = yes; then
101084 cat >>confdefs.h <<_ACEOF
101085 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101086 _ACEOF
101089 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
101095 # Used in libmath/Makefile.am.
101096 if test -n "$LIBMATHOBJS"; then
101097 need_libmath=yes
101103 enable_iconv=no
101104 # Only continue checking if the ISO C99 headers exist and support is on.
101105 if test x"$enable_wchar_t" = xyes; then
101107 # Use iconv for wchar_t to char conversions. As such, check for
101108 # X/Open Portability Guide, version 2 features (XPG2).
101109 if test "${ac_cv_header_iconv_h+set}" = set; then
101110 echo "$as_me:$LINENO: checking for iconv.h" >&5
101111 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
101112 if test "${ac_cv_header_iconv_h+set}" = set; then
101113 echo $ECHO_N "(cached) $ECHO_C" >&6
101115 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
101116 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
101118 # Is the header compilable?
101119 echo "$as_me:$LINENO: checking iconv.h usability" >&5
101120 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
101121 cat >conftest.$ac_ext <<_ACEOF
101122 /* confdefs.h. */
101123 _ACEOF
101124 cat confdefs.h >>conftest.$ac_ext
101125 cat >>conftest.$ac_ext <<_ACEOF
101126 /* end confdefs.h. */
101127 $ac_includes_default
101128 #include <iconv.h>
101129 _ACEOF
101130 rm -f conftest.$ac_objext
101131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101132 (eval $ac_compile) 2>conftest.er1
101133 ac_status=$?
101134 grep -v '^ *+' conftest.er1 >conftest.err
101135 rm -f conftest.er1
101136 cat conftest.err >&5
101137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101138 (exit $ac_status); } &&
101139 { ac_try='test -z "$ac_c_werror_flag"
101140 || test ! -s conftest.err'
101141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101142 (eval $ac_try) 2>&5
101143 ac_status=$?
101144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101145 (exit $ac_status); }; } &&
101146 { ac_try='test -s conftest.$ac_objext'
101147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101148 (eval $ac_try) 2>&5
101149 ac_status=$?
101150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101151 (exit $ac_status); }; }; then
101152 ac_header_compiler=yes
101154 echo "$as_me: failed program was:" >&5
101155 sed 's/^/| /' conftest.$ac_ext >&5
101157 ac_header_compiler=no
101159 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101160 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
101161 echo "${ECHO_T}$ac_header_compiler" >&6
101163 # Is the header present?
101164 echo "$as_me:$LINENO: checking iconv.h presence" >&5
101165 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
101166 cat >conftest.$ac_ext <<_ACEOF
101167 /* confdefs.h. */
101168 _ACEOF
101169 cat confdefs.h >>conftest.$ac_ext
101170 cat >>conftest.$ac_ext <<_ACEOF
101171 /* end confdefs.h. */
101172 #include <iconv.h>
101173 _ACEOF
101174 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
101175 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
101176 ac_status=$?
101177 grep -v '^ *+' conftest.er1 >conftest.err
101178 rm -f conftest.er1
101179 cat conftest.err >&5
101180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101181 (exit $ac_status); } >/dev/null; then
101182 if test -s conftest.err; then
101183 ac_cpp_err=$ac_c_preproc_warn_flag
101184 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
101186 ac_cpp_err=
101189 ac_cpp_err=yes
101191 if test -z "$ac_cpp_err"; then
101192 ac_header_preproc=yes
101194 echo "$as_me: failed program was:" >&5
101195 sed 's/^/| /' conftest.$ac_ext >&5
101197 ac_header_preproc=no
101199 rm -f conftest.err conftest.$ac_ext
101200 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
101201 echo "${ECHO_T}$ac_header_preproc" >&6
101203 # So? What about this header?
101204 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
101205 yes:no: )
101206 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
101207 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
101208 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
101209 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
101210 ac_header_preproc=yes
101212 no:yes:* )
101213 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
101214 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
101215 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
101216 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
101217 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
101218 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
101219 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
101220 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
101221 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
101222 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
101223 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
101224 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
101226 cat <<\_ASBOX
101227 ## ----------------------------------------- ##
101228 ## Report this to the package-unused lists. ##
101229 ## ----------------------------------------- ##
101230 _ASBOX
101232 sed "s/^/$as_me: WARNING: /" >&2
101235 echo "$as_me:$LINENO: checking for iconv.h" >&5
101236 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
101237 if test "${ac_cv_header_iconv_h+set}" = set; then
101238 echo $ECHO_N "(cached) $ECHO_C" >&6
101240 ac_cv_header_iconv_h=$ac_header_preproc
101242 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
101243 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
101246 if test $ac_cv_header_iconv_h = yes; then
101247 ac_has_iconv_h=yes
101249 ac_has_iconv_h=no
101253 if test "${ac_cv_header_langinfo_h+set}" = set; then
101254 echo "$as_me:$LINENO: checking for langinfo.h" >&5
101255 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
101256 if test "${ac_cv_header_langinfo_h+set}" = set; then
101257 echo $ECHO_N "(cached) $ECHO_C" >&6
101259 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
101260 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
101262 # Is the header compilable?
101263 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
101264 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
101265 cat >conftest.$ac_ext <<_ACEOF
101266 /* confdefs.h. */
101267 _ACEOF
101268 cat confdefs.h >>conftest.$ac_ext
101269 cat >>conftest.$ac_ext <<_ACEOF
101270 /* end confdefs.h. */
101271 $ac_includes_default
101272 #include <langinfo.h>
101273 _ACEOF
101274 rm -f conftest.$ac_objext
101275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101276 (eval $ac_compile) 2>conftest.er1
101277 ac_status=$?
101278 grep -v '^ *+' conftest.er1 >conftest.err
101279 rm -f conftest.er1
101280 cat conftest.err >&5
101281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101282 (exit $ac_status); } &&
101283 { ac_try='test -z "$ac_c_werror_flag"
101284 || test ! -s conftest.err'
101285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101286 (eval $ac_try) 2>&5
101287 ac_status=$?
101288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101289 (exit $ac_status); }; } &&
101290 { ac_try='test -s conftest.$ac_objext'
101291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101292 (eval $ac_try) 2>&5
101293 ac_status=$?
101294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101295 (exit $ac_status); }; }; then
101296 ac_header_compiler=yes
101298 echo "$as_me: failed program was:" >&5
101299 sed 's/^/| /' conftest.$ac_ext >&5
101301 ac_header_compiler=no
101303 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101304 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
101305 echo "${ECHO_T}$ac_header_compiler" >&6
101307 # Is the header present?
101308 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
101309 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
101310 cat >conftest.$ac_ext <<_ACEOF
101311 /* confdefs.h. */
101312 _ACEOF
101313 cat confdefs.h >>conftest.$ac_ext
101314 cat >>conftest.$ac_ext <<_ACEOF
101315 /* end confdefs.h. */
101316 #include <langinfo.h>
101317 _ACEOF
101318 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
101319 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
101320 ac_status=$?
101321 grep -v '^ *+' conftest.er1 >conftest.err
101322 rm -f conftest.er1
101323 cat conftest.err >&5
101324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101325 (exit $ac_status); } >/dev/null; then
101326 if test -s conftest.err; then
101327 ac_cpp_err=$ac_c_preproc_warn_flag
101328 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
101330 ac_cpp_err=
101333 ac_cpp_err=yes
101335 if test -z "$ac_cpp_err"; then
101336 ac_header_preproc=yes
101338 echo "$as_me: failed program was:" >&5
101339 sed 's/^/| /' conftest.$ac_ext >&5
101341 ac_header_preproc=no
101343 rm -f conftest.err conftest.$ac_ext
101344 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
101345 echo "${ECHO_T}$ac_header_preproc" >&6
101347 # So? What about this header?
101348 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
101349 yes:no: )
101350 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
101351 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
101352 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
101353 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
101354 ac_header_preproc=yes
101356 no:yes:* )
101357 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
101358 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
101359 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
101360 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
101361 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
101362 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
101363 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
101364 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
101365 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
101366 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
101367 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
101368 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
101370 cat <<\_ASBOX
101371 ## ----------------------------------------- ##
101372 ## Report this to the package-unused lists. ##
101373 ## ----------------------------------------- ##
101374 _ASBOX
101376 sed "s/^/$as_me: WARNING: /" >&2
101379 echo "$as_me:$LINENO: checking for langinfo.h" >&5
101380 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
101381 if test "${ac_cv_header_langinfo_h+set}" = set; then
101382 echo $ECHO_N "(cached) $ECHO_C" >&6
101384 ac_cv_header_langinfo_h=$ac_header_preproc
101386 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
101387 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
101390 if test $ac_cv_header_langinfo_h = yes; then
101391 ac_has_langinfo_h=yes
101393 ac_has_langinfo_h=no
101398 # Check for existence of libiconv.a providing XPG2 wchar_t support.
101399 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
101400 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
101401 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
101402 echo $ECHO_N "(cached) $ECHO_C" >&6
101404 ac_check_lib_save_LIBS=$LIBS
101405 LIBS="-liconv $LIBS"
101406 if test x$gcc_no_link = xyes; then
101407 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101408 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101409 { (exit 1); exit 1; }; }
101411 cat >conftest.$ac_ext <<_ACEOF
101412 /* confdefs.h. */
101413 _ACEOF
101414 cat confdefs.h >>conftest.$ac_ext
101415 cat >>conftest.$ac_ext <<_ACEOF
101416 /* end confdefs.h. */
101418 /* Override any gcc2 internal prototype to avoid an error. */
101419 #ifdef __cplusplus
101420 extern "C"
101421 #endif
101422 /* We use char because int might match the return type of a gcc2
101423 builtin and then its argument prototype would still apply. */
101424 char iconv ();
101426 main ()
101428 iconv ();
101430 return 0;
101432 _ACEOF
101433 rm -f conftest.$ac_objext conftest$ac_exeext
101434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101435 (eval $ac_link) 2>conftest.er1
101436 ac_status=$?
101437 grep -v '^ *+' conftest.er1 >conftest.err
101438 rm -f conftest.er1
101439 cat conftest.err >&5
101440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101441 (exit $ac_status); } &&
101442 { ac_try='test -z "$ac_c_werror_flag"
101443 || test ! -s conftest.err'
101444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101445 (eval $ac_try) 2>&5
101446 ac_status=$?
101447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101448 (exit $ac_status); }; } &&
101449 { ac_try='test -s conftest$ac_exeext'
101450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101451 (eval $ac_try) 2>&5
101452 ac_status=$?
101453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101454 (exit $ac_status); }; }; then
101455 ac_cv_lib_iconv_iconv=yes
101457 echo "$as_me: failed program was:" >&5
101458 sed 's/^/| /' conftest.$ac_ext >&5
101460 ac_cv_lib_iconv_iconv=no
101462 rm -f conftest.err conftest.$ac_objext \
101463 conftest$ac_exeext conftest.$ac_ext
101464 LIBS=$ac_check_lib_save_LIBS
101466 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
101467 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
101468 if test $ac_cv_lib_iconv_iconv = yes; then
101469 LIBICONV="-liconv"
101472 ac_save_LIBS="$LIBS"
101473 LIBS="$LIBS $LIBICONV"
101480 for ac_func in iconv_open iconv_close iconv nl_langinfo
101482 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101483 echo "$as_me:$LINENO: checking for $ac_func" >&5
101484 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101485 if eval "test \"\${$as_ac_var+set}\" = set"; then
101486 echo $ECHO_N "(cached) $ECHO_C" >&6
101488 if test x$gcc_no_link = xyes; then
101489 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101490 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101491 { (exit 1); exit 1; }; }
101493 cat >conftest.$ac_ext <<_ACEOF
101494 /* confdefs.h. */
101495 _ACEOF
101496 cat confdefs.h >>conftest.$ac_ext
101497 cat >>conftest.$ac_ext <<_ACEOF
101498 /* end confdefs.h. */
101499 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101500 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101501 #define $ac_func innocuous_$ac_func
101503 /* System header to define __stub macros and hopefully few prototypes,
101504 which can conflict with char $ac_func (); below.
101505 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101506 <limits.h> exists even on freestanding compilers. */
101508 #ifdef __STDC__
101509 # include <limits.h>
101510 #else
101511 # include <assert.h>
101512 #endif
101514 #undef $ac_func
101516 /* Override any gcc2 internal prototype to avoid an error. */
101517 #ifdef __cplusplus
101518 extern "C"
101520 #endif
101521 /* We use char because int might match the return type of a gcc2
101522 builtin and then its argument prototype would still apply. */
101523 char $ac_func ();
101524 /* The GNU C library defines this for functions which it implements
101525 to always fail with ENOSYS. Some functions are actually named
101526 something starting with __ and the normal name is an alias. */
101527 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101528 choke me
101529 #else
101530 char (*f) () = $ac_func;
101531 #endif
101532 #ifdef __cplusplus
101534 #endif
101537 main ()
101539 return f != $ac_func;
101541 return 0;
101543 _ACEOF
101544 rm -f conftest.$ac_objext conftest$ac_exeext
101545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101546 (eval $ac_link) 2>conftest.er1
101547 ac_status=$?
101548 grep -v '^ *+' conftest.er1 >conftest.err
101549 rm -f conftest.er1
101550 cat conftest.err >&5
101551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101552 (exit $ac_status); } &&
101553 { ac_try='test -z "$ac_c_werror_flag"
101554 || test ! -s conftest.err'
101555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101556 (eval $ac_try) 2>&5
101557 ac_status=$?
101558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101559 (exit $ac_status); }; } &&
101560 { ac_try='test -s conftest$ac_exeext'
101561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101562 (eval $ac_try) 2>&5
101563 ac_status=$?
101564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101565 (exit $ac_status); }; }; then
101566 eval "$as_ac_var=yes"
101568 echo "$as_me: failed program was:" >&5
101569 sed 's/^/| /' conftest.$ac_ext >&5
101571 eval "$as_ac_var=no"
101573 rm -f conftest.err conftest.$ac_objext \
101574 conftest$ac_exeext conftest.$ac_ext
101576 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101577 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101578 if test `eval echo '${'$as_ac_var'}'` = yes; then
101579 cat >>confdefs.h <<_ACEOF
101580 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101581 _ACEOF
101582 ac_XPG2funcs=yes
101584 ac_XPG2funcs=no
101589 LIBS="$ac_save_LIBS"
101591 if test x"$ac_has_iconv_h" = xyes &&
101592 test x"$ac_has_langinfo_h" = xyes &&
101593 test x"$ac_XPG2funcs" = xyes;
101596 cat >>confdefs.h <<\_ACEOF
101597 #define _GLIBCXX_USE_ICONV 1
101598 _ACEOF
101600 enable_iconv=yes
101603 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
101604 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
101605 echo "$as_me:$LINENO: result: $enable_iconv" >&5
101606 echo "${ECHO_T}$enable_iconv" >&6
101609 *-netbsd*)
101622 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
101623 machine/endian.h machine/param.h sys/machine.h sys/types.h \
101624 fp.h locale.h float.h inttypes.h
101626 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
101627 if eval "test \"\${$as_ac_Header+set}\" = set"; then
101628 echo "$as_me:$LINENO: checking for $ac_header" >&5
101629 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
101630 if eval "test \"\${$as_ac_Header+set}\" = set"; then
101631 echo $ECHO_N "(cached) $ECHO_C" >&6
101633 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
101634 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
101636 # Is the header compilable?
101637 echo "$as_me:$LINENO: checking $ac_header usability" >&5
101638 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
101639 cat >conftest.$ac_ext <<_ACEOF
101640 /* confdefs.h. */
101641 _ACEOF
101642 cat confdefs.h >>conftest.$ac_ext
101643 cat >>conftest.$ac_ext <<_ACEOF
101644 /* end confdefs.h. */
101645 $ac_includes_default
101646 #include <$ac_header>
101647 _ACEOF
101648 rm -f conftest.$ac_objext
101649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101650 (eval $ac_compile) 2>conftest.er1
101651 ac_status=$?
101652 grep -v '^ *+' conftest.er1 >conftest.err
101653 rm -f conftest.er1
101654 cat conftest.err >&5
101655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101656 (exit $ac_status); } &&
101657 { ac_try='test -z "$ac_c_werror_flag"
101658 || test ! -s conftest.err'
101659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101660 (eval $ac_try) 2>&5
101661 ac_status=$?
101662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101663 (exit $ac_status); }; } &&
101664 { ac_try='test -s conftest.$ac_objext'
101665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101666 (eval $ac_try) 2>&5
101667 ac_status=$?
101668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101669 (exit $ac_status); }; }; then
101670 ac_header_compiler=yes
101672 echo "$as_me: failed program was:" >&5
101673 sed 's/^/| /' conftest.$ac_ext >&5
101675 ac_header_compiler=no
101677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101678 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
101679 echo "${ECHO_T}$ac_header_compiler" >&6
101681 # Is the header present?
101682 echo "$as_me:$LINENO: checking $ac_header presence" >&5
101683 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
101684 cat >conftest.$ac_ext <<_ACEOF
101685 /* confdefs.h. */
101686 _ACEOF
101687 cat confdefs.h >>conftest.$ac_ext
101688 cat >>conftest.$ac_ext <<_ACEOF
101689 /* end confdefs.h. */
101690 #include <$ac_header>
101691 _ACEOF
101692 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
101693 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
101694 ac_status=$?
101695 grep -v '^ *+' conftest.er1 >conftest.err
101696 rm -f conftest.er1
101697 cat conftest.err >&5
101698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101699 (exit $ac_status); } >/dev/null; then
101700 if test -s conftest.err; then
101701 ac_cpp_err=$ac_c_preproc_warn_flag
101702 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
101704 ac_cpp_err=
101707 ac_cpp_err=yes
101709 if test -z "$ac_cpp_err"; then
101710 ac_header_preproc=yes
101712 echo "$as_me: failed program was:" >&5
101713 sed 's/^/| /' conftest.$ac_ext >&5
101715 ac_header_preproc=no
101717 rm -f conftest.err conftest.$ac_ext
101718 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
101719 echo "${ECHO_T}$ac_header_preproc" >&6
101721 # So? What about this header?
101722 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
101723 yes:no: )
101724 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
101725 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
101726 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
101727 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
101728 ac_header_preproc=yes
101730 no:yes:* )
101731 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
101732 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
101733 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
101734 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
101735 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
101736 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
101737 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
101738 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
101739 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
101740 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
101741 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
101742 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
101744 cat <<\_ASBOX
101745 ## ----------------------------------------- ##
101746 ## Report this to the package-unused lists. ##
101747 ## ----------------------------------------- ##
101748 _ASBOX
101750 sed "s/^/$as_me: WARNING: /" >&2
101753 echo "$as_me:$LINENO: checking for $ac_header" >&5
101754 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
101755 if eval "test \"\${$as_ac_Header+set}\" = set"; then
101756 echo $ECHO_N "(cached) $ECHO_C" >&6
101758 eval "$as_ac_Header=\$ac_header_preproc"
101760 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
101761 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
101764 if test `eval echo '${'$as_ac_Header'}'` = yes; then
101765 cat >>confdefs.h <<_ACEOF
101766 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
101767 _ACEOF
101773 SECTION_FLAGS='-ffunction-sections -fdata-sections'
101776 # If we're not using GNU ld, then there's no point in even trying these
101777 # tests. Check for that first. We should have already tested for gld
101778 # by now (in libtool), but require it now just to be safe...
101779 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
101780 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
101784 # The name set by libtool depends on the version of libtool. Shame on us
101785 # for depending on an impl detail, but c'est la vie. Older versions used
101786 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
101787 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
101788 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
101789 # set (hence we're using an older libtool), then set it.
101790 if test x${with_gnu_ld+set} != xset; then
101791 if test x${ac_cv_prog_gnu_ld+set} != xset; then
101792 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
101793 with_gnu_ld=no
101795 with_gnu_ld=$ac_cv_prog_gnu_ld
101799 # Start by getting the version number. I think the libtool test already
101800 # does some of this, but throws away the result.
101801 echo "$as_me:$LINENO: checking for ld version" >&5
101802 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
101804 ldver=`$LD --version 2>/dev/null | head -1 | \
101805 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
101807 glibcxx_gnu_ld_version=`echo $ldver | \
101808 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
101809 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
101810 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
101812 # Set --gc-sections.
101813 glibcxx_gcsections_min_ld=21602
101814 if test x"$with_gnu_ld" = x"yes" &&
101815 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
101817 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
101818 # NB: This flag only works reliably after 2.16.1. Configure tests
101819 # for this are difficult, so hard wire a value that should work.
101821 # All these tests are for C++, but run with the "C" compiler driver.
101822 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
101823 ac_test_CFLAGS="${CFLAGS+set}"
101824 ac_save_CFLAGS="$CFLAGS"
101825 CFLAGS='-x c++ -Wl,--gc-sections'
101827 # Check for -Wl,--gc-sections
101828 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
101829 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
101830 if test x$gcc_no_link = xyes; then
101831 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101832 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101833 { (exit 1); exit 1; }; }
101835 cat >conftest.$ac_ext <<_ACEOF
101836 /* confdefs.h. */
101837 _ACEOF
101838 cat confdefs.h >>conftest.$ac_ext
101839 cat >>conftest.$ac_ext <<_ACEOF
101840 /* end confdefs.h. */
101841 int one(void) { return 1; }
101842 int two(void) { return 2; }
101845 main ()
101847 two();
101849 return 0;
101851 _ACEOF
101852 rm -f conftest.$ac_objext conftest$ac_exeext
101853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101854 (eval $ac_link) 2>conftest.er1
101855 ac_status=$?
101856 grep -v '^ *+' conftest.er1 >conftest.err
101857 rm -f conftest.er1
101858 cat conftest.err >&5
101859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101860 (exit $ac_status); } &&
101861 { ac_try='test -z "$ac_c_werror_flag"
101862 || test ! -s conftest.err'
101863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101864 (eval $ac_try) 2>&5
101865 ac_status=$?
101866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101867 (exit $ac_status); }; } &&
101868 { ac_try='test -s conftest$ac_exeext'
101869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101870 (eval $ac_try) 2>&5
101871 ac_status=$?
101872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101873 (exit $ac_status); }; }; then
101874 ac_gcsections=yes
101876 echo "$as_me: failed program was:" >&5
101877 sed 's/^/| /' conftest.$ac_ext >&5
101879 ac_gcsections=no
101881 rm -f conftest.err conftest.$ac_objext \
101882 conftest$ac_exeext conftest.$ac_ext
101883 if test "$ac_gcsections" = "yes"; then
101884 rm -f conftest.c
101885 touch conftest.c
101886 if $CC -c conftest.c; then
101887 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
101888 grep "Warning: gc-sections option ignored" > /dev/null; then
101889 ac_gcsections=no
101892 rm -f conftest.c conftest.o conftest
101894 if test "$ac_gcsections" = "yes"; then
101895 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
101897 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
101898 echo "${ECHO_T}$ac_gcsections" >&6
101900 if test "$ac_test_CFLAGS" = set; then
101901 CFLAGS="$ac_save_CFLAGS"
101903 # this is the suspicious part
101904 CFLAGS=''
101908 # Set -z,relro.
101909 # Note this is only for shared objects.
101910 ac_ld_relro=no
101911 if test x"$with_gnu_ld" = x"yes"; then
101912 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
101913 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
101914 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
101915 if test -n "$cxx_z_relo"; then
101916 OPT_LDFLAGS="-Wl,-z,relro"
101917 ac_ld_relro=yes
101919 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
101920 echo "${ECHO_T}$ac_ld_relro" >&6
101923 # Set linker optimization flags.
101924 if test x"$with_gnu_ld" = x"yes"; then
101925 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
101933 echo "$as_me:$LINENO: checking for main in -lm" >&5
101934 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
101935 if test "${ac_cv_lib_m_main+set}" = set; then
101936 echo $ECHO_N "(cached) $ECHO_C" >&6
101938 ac_check_lib_save_LIBS=$LIBS
101939 LIBS="-lm $LIBS"
101940 if test x$gcc_no_link = xyes; then
101941 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101942 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101943 { (exit 1); exit 1; }; }
101945 cat >conftest.$ac_ext <<_ACEOF
101946 /* confdefs.h. */
101947 _ACEOF
101948 cat confdefs.h >>conftest.$ac_ext
101949 cat >>conftest.$ac_ext <<_ACEOF
101950 /* end confdefs.h. */
101954 main ()
101956 main ();
101958 return 0;
101960 _ACEOF
101961 rm -f conftest.$ac_objext conftest$ac_exeext
101962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101963 (eval $ac_link) 2>conftest.er1
101964 ac_status=$?
101965 grep -v '^ *+' conftest.er1 >conftest.err
101966 rm -f conftest.er1
101967 cat conftest.err >&5
101968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101969 (exit $ac_status); } &&
101970 { ac_try='test -z "$ac_c_werror_flag"
101971 || test ! -s conftest.err'
101972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101973 (eval $ac_try) 2>&5
101974 ac_status=$?
101975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101976 (exit $ac_status); }; } &&
101977 { ac_try='test -s conftest$ac_exeext'
101978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101979 (eval $ac_try) 2>&5
101980 ac_status=$?
101981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101982 (exit $ac_status); }; }; then
101983 ac_cv_lib_m_main=yes
101985 echo "$as_me: failed program was:" >&5
101986 sed 's/^/| /' conftest.$ac_ext >&5
101988 ac_cv_lib_m_main=no
101990 rm -f conftest.err conftest.$ac_objext \
101991 conftest$ac_exeext conftest.$ac_ext
101992 LIBS=$ac_check_lib_save_LIBS
101994 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
101995 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
101996 if test $ac_cv_lib_m_main = yes; then
101997 cat >>confdefs.h <<_ACEOF
101998 #define HAVE_LIBM 1
101999 _ACEOF
102001 LIBS="-lm $LIBS"
102006 for ac_func in copysignf
102008 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102009 echo "$as_me:$LINENO: checking for $ac_func" >&5
102010 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102011 if eval "test \"\${$as_ac_var+set}\" = set"; then
102012 echo $ECHO_N "(cached) $ECHO_C" >&6
102014 if test x$gcc_no_link = xyes; then
102015 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102016 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102017 { (exit 1); exit 1; }; }
102019 cat >conftest.$ac_ext <<_ACEOF
102020 /* confdefs.h. */
102021 _ACEOF
102022 cat confdefs.h >>conftest.$ac_ext
102023 cat >>conftest.$ac_ext <<_ACEOF
102024 /* end confdefs.h. */
102025 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102026 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102027 #define $ac_func innocuous_$ac_func
102029 /* System header to define __stub macros and hopefully few prototypes,
102030 which can conflict with char $ac_func (); below.
102031 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102032 <limits.h> exists even on freestanding compilers. */
102034 #ifdef __STDC__
102035 # include <limits.h>
102036 #else
102037 # include <assert.h>
102038 #endif
102040 #undef $ac_func
102042 /* Override any gcc2 internal prototype to avoid an error. */
102043 #ifdef __cplusplus
102044 extern "C"
102046 #endif
102047 /* We use char because int might match the return type of a gcc2
102048 builtin and then its argument prototype would still apply. */
102049 char $ac_func ();
102050 /* The GNU C library defines this for functions which it implements
102051 to always fail with ENOSYS. Some functions are actually named
102052 something starting with __ and the normal name is an alias. */
102053 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102054 choke me
102055 #else
102056 char (*f) () = $ac_func;
102057 #endif
102058 #ifdef __cplusplus
102060 #endif
102063 main ()
102065 return f != $ac_func;
102067 return 0;
102069 _ACEOF
102070 rm -f conftest.$ac_objext conftest$ac_exeext
102071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102072 (eval $ac_link) 2>conftest.er1
102073 ac_status=$?
102074 grep -v '^ *+' conftest.er1 >conftest.err
102075 rm -f conftest.er1
102076 cat conftest.err >&5
102077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102078 (exit $ac_status); } &&
102079 { ac_try='test -z "$ac_c_werror_flag"
102080 || test ! -s conftest.err'
102081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102082 (eval $ac_try) 2>&5
102083 ac_status=$?
102084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102085 (exit $ac_status); }; } &&
102086 { ac_try='test -s conftest$ac_exeext'
102087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102088 (eval $ac_try) 2>&5
102089 ac_status=$?
102090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102091 (exit $ac_status); }; }; then
102092 eval "$as_ac_var=yes"
102094 echo "$as_me: failed program was:" >&5
102095 sed 's/^/| /' conftest.$ac_ext >&5
102097 eval "$as_ac_var=no"
102099 rm -f conftest.err conftest.$ac_objext \
102100 conftest$ac_exeext conftest.$ac_ext
102102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102103 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102104 if test `eval echo '${'$as_ac_var'}'` = yes; then
102105 cat >>confdefs.h <<_ACEOF
102106 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102107 _ACEOF
102110 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
102116 for ac_func in __signbit
102118 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102119 echo "$as_me:$LINENO: checking for $ac_func" >&5
102120 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102121 if eval "test \"\${$as_ac_var+set}\" = set"; then
102122 echo $ECHO_N "(cached) $ECHO_C" >&6
102124 if test x$gcc_no_link = xyes; then
102125 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102126 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102127 { (exit 1); exit 1; }; }
102129 cat >conftest.$ac_ext <<_ACEOF
102130 /* confdefs.h. */
102131 _ACEOF
102132 cat confdefs.h >>conftest.$ac_ext
102133 cat >>conftest.$ac_ext <<_ACEOF
102134 /* end confdefs.h. */
102135 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102136 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102137 #define $ac_func innocuous_$ac_func
102139 /* System header to define __stub macros and hopefully few prototypes,
102140 which can conflict with char $ac_func (); below.
102141 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102142 <limits.h> exists even on freestanding compilers. */
102144 #ifdef __STDC__
102145 # include <limits.h>
102146 #else
102147 # include <assert.h>
102148 #endif
102150 #undef $ac_func
102152 /* Override any gcc2 internal prototype to avoid an error. */
102153 #ifdef __cplusplus
102154 extern "C"
102156 #endif
102157 /* We use char because int might match the return type of a gcc2
102158 builtin and then its argument prototype would still apply. */
102159 char $ac_func ();
102160 /* The GNU C library defines this for functions which it implements
102161 to always fail with ENOSYS. Some functions are actually named
102162 something starting with __ and the normal name is an alias. */
102163 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102164 choke me
102165 #else
102166 char (*f) () = $ac_func;
102167 #endif
102168 #ifdef __cplusplus
102170 #endif
102173 main ()
102175 return f != $ac_func;
102177 return 0;
102179 _ACEOF
102180 rm -f conftest.$ac_objext conftest$ac_exeext
102181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102182 (eval $ac_link) 2>conftest.er1
102183 ac_status=$?
102184 grep -v '^ *+' conftest.er1 >conftest.err
102185 rm -f conftest.er1
102186 cat conftest.err >&5
102187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102188 (exit $ac_status); } &&
102189 { ac_try='test -z "$ac_c_werror_flag"
102190 || test ! -s conftest.err'
102191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102192 (eval $ac_try) 2>&5
102193 ac_status=$?
102194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102195 (exit $ac_status); }; } &&
102196 { ac_try='test -s conftest$ac_exeext'
102197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102198 (eval $ac_try) 2>&5
102199 ac_status=$?
102200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102201 (exit $ac_status); }; }; then
102202 eval "$as_ac_var=yes"
102204 echo "$as_me: failed program was:" >&5
102205 sed 's/^/| /' conftest.$ac_ext >&5
102207 eval "$as_ac_var=no"
102209 rm -f conftest.err conftest.$ac_objext \
102210 conftest$ac_exeext conftest.$ac_ext
102212 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102213 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102214 if test `eval echo '${'$as_ac_var'}'` = yes; then
102215 cat >>confdefs.h <<_ACEOF
102216 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102217 _ACEOF
102220 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
102226 for ac_func in __signbitf
102228 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102229 echo "$as_me:$LINENO: checking for $ac_func" >&5
102230 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102231 if eval "test \"\${$as_ac_var+set}\" = set"; then
102232 echo $ECHO_N "(cached) $ECHO_C" >&6
102234 if test x$gcc_no_link = xyes; then
102235 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102236 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102237 { (exit 1); exit 1; }; }
102239 cat >conftest.$ac_ext <<_ACEOF
102240 /* confdefs.h. */
102241 _ACEOF
102242 cat confdefs.h >>conftest.$ac_ext
102243 cat >>conftest.$ac_ext <<_ACEOF
102244 /* end confdefs.h. */
102245 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102246 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102247 #define $ac_func innocuous_$ac_func
102249 /* System header to define __stub macros and hopefully few prototypes,
102250 which can conflict with char $ac_func (); below.
102251 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102252 <limits.h> exists even on freestanding compilers. */
102254 #ifdef __STDC__
102255 # include <limits.h>
102256 #else
102257 # include <assert.h>
102258 #endif
102260 #undef $ac_func
102262 /* Override any gcc2 internal prototype to avoid an error. */
102263 #ifdef __cplusplus
102264 extern "C"
102266 #endif
102267 /* We use char because int might match the return type of a gcc2
102268 builtin and then its argument prototype would still apply. */
102269 char $ac_func ();
102270 /* The GNU C library defines this for functions which it implements
102271 to always fail with ENOSYS. Some functions are actually named
102272 something starting with __ and the normal name is an alias. */
102273 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102274 choke me
102275 #else
102276 char (*f) () = $ac_func;
102277 #endif
102278 #ifdef __cplusplus
102280 #endif
102283 main ()
102285 return f != $ac_func;
102287 return 0;
102289 _ACEOF
102290 rm -f conftest.$ac_objext conftest$ac_exeext
102291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102292 (eval $ac_link) 2>conftest.er1
102293 ac_status=$?
102294 grep -v '^ *+' conftest.er1 >conftest.err
102295 rm -f conftest.er1
102296 cat conftest.err >&5
102297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102298 (exit $ac_status); } &&
102299 { ac_try='test -z "$ac_c_werror_flag"
102300 || test ! -s conftest.err'
102301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102302 (eval $ac_try) 2>&5
102303 ac_status=$?
102304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102305 (exit $ac_status); }; } &&
102306 { ac_try='test -s conftest$ac_exeext'
102307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102308 (eval $ac_try) 2>&5
102309 ac_status=$?
102310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102311 (exit $ac_status); }; }; then
102312 eval "$as_ac_var=yes"
102314 echo "$as_me: failed program was:" >&5
102315 sed 's/^/| /' conftest.$ac_ext >&5
102317 eval "$as_ac_var=no"
102319 rm -f conftest.err conftest.$ac_objext \
102320 conftest$ac_exeext conftest.$ac_ext
102322 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102323 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102324 if test `eval echo '${'$as_ac_var'}'` = yes; then
102325 cat >>confdefs.h <<_ACEOF
102326 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102327 _ACEOF
102330 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
102335 if test x$ac_cv_func_copysignl = x"yes"; then
102337 for ac_func in __signbitl
102339 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102340 echo "$as_me:$LINENO: checking for $ac_func" >&5
102341 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102342 if eval "test \"\${$as_ac_var+set}\" = set"; then
102343 echo $ECHO_N "(cached) $ECHO_C" >&6
102345 if test x$gcc_no_link = xyes; then
102346 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102347 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102348 { (exit 1); exit 1; }; }
102350 cat >conftest.$ac_ext <<_ACEOF
102351 /* confdefs.h. */
102352 _ACEOF
102353 cat confdefs.h >>conftest.$ac_ext
102354 cat >>conftest.$ac_ext <<_ACEOF
102355 /* end confdefs.h. */
102356 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102357 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102358 #define $ac_func innocuous_$ac_func
102360 /* System header to define __stub macros and hopefully few prototypes,
102361 which can conflict with char $ac_func (); below.
102362 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102363 <limits.h> exists even on freestanding compilers. */
102365 #ifdef __STDC__
102366 # include <limits.h>
102367 #else
102368 # include <assert.h>
102369 #endif
102371 #undef $ac_func
102373 /* Override any gcc2 internal prototype to avoid an error. */
102374 #ifdef __cplusplus
102375 extern "C"
102377 #endif
102378 /* We use char because int might match the return type of a gcc2
102379 builtin and then its argument prototype would still apply. */
102380 char $ac_func ();
102381 /* The GNU C library defines this for functions which it implements
102382 to always fail with ENOSYS. Some functions are actually named
102383 something starting with __ and the normal name is an alias. */
102384 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102385 choke me
102386 #else
102387 char (*f) () = $ac_func;
102388 #endif
102389 #ifdef __cplusplus
102391 #endif
102394 main ()
102396 return f != $ac_func;
102398 return 0;
102400 _ACEOF
102401 rm -f conftest.$ac_objext conftest$ac_exeext
102402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102403 (eval $ac_link) 2>conftest.er1
102404 ac_status=$?
102405 grep -v '^ *+' conftest.er1 >conftest.err
102406 rm -f conftest.er1
102407 cat conftest.err >&5
102408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102409 (exit $ac_status); } &&
102410 { ac_try='test -z "$ac_c_werror_flag"
102411 || test ! -s conftest.err'
102412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102413 (eval $ac_try) 2>&5
102414 ac_status=$?
102415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102416 (exit $ac_status); }; } &&
102417 { ac_try='test -s conftest$ac_exeext'
102418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102419 (eval $ac_try) 2>&5
102420 ac_status=$?
102421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102422 (exit $ac_status); }; }; then
102423 eval "$as_ac_var=yes"
102425 echo "$as_me: failed program was:" >&5
102426 sed 's/^/| /' conftest.$ac_ext >&5
102428 eval "$as_ac_var=no"
102430 rm -f conftest.err conftest.$ac_objext \
102431 conftest$ac_exeext conftest.$ac_ext
102433 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102434 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102435 if test `eval echo '${'$as_ac_var'}'` = yes; then
102436 cat >>confdefs.h <<_ACEOF
102437 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102438 _ACEOF
102441 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
102447 # Used in libmath/Makefile.am.
102448 if test -n "$LIBMATHOBJS"; then
102449 need_libmath=yes
102455 enable_iconv=no
102456 # Only continue checking if the ISO C99 headers exist and support is on.
102457 if test x"$enable_wchar_t" = xyes; then
102459 # Use iconv for wchar_t to char conversions. As such, check for
102460 # X/Open Portability Guide, version 2 features (XPG2).
102461 if test "${ac_cv_header_iconv_h+set}" = set; then
102462 echo "$as_me:$LINENO: checking for iconv.h" >&5
102463 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
102464 if test "${ac_cv_header_iconv_h+set}" = set; then
102465 echo $ECHO_N "(cached) $ECHO_C" >&6
102467 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
102468 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
102470 # Is the header compilable?
102471 echo "$as_me:$LINENO: checking iconv.h usability" >&5
102472 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
102473 cat >conftest.$ac_ext <<_ACEOF
102474 /* confdefs.h. */
102475 _ACEOF
102476 cat confdefs.h >>conftest.$ac_ext
102477 cat >>conftest.$ac_ext <<_ACEOF
102478 /* end confdefs.h. */
102479 $ac_includes_default
102480 #include <iconv.h>
102481 _ACEOF
102482 rm -f conftest.$ac_objext
102483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102484 (eval $ac_compile) 2>conftest.er1
102485 ac_status=$?
102486 grep -v '^ *+' conftest.er1 >conftest.err
102487 rm -f conftest.er1
102488 cat conftest.err >&5
102489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102490 (exit $ac_status); } &&
102491 { ac_try='test -z "$ac_c_werror_flag"
102492 || test ! -s conftest.err'
102493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102494 (eval $ac_try) 2>&5
102495 ac_status=$?
102496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102497 (exit $ac_status); }; } &&
102498 { ac_try='test -s conftest.$ac_objext'
102499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102500 (eval $ac_try) 2>&5
102501 ac_status=$?
102502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102503 (exit $ac_status); }; }; then
102504 ac_header_compiler=yes
102506 echo "$as_me: failed program was:" >&5
102507 sed 's/^/| /' conftest.$ac_ext >&5
102509 ac_header_compiler=no
102511 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102512 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
102513 echo "${ECHO_T}$ac_header_compiler" >&6
102515 # Is the header present?
102516 echo "$as_me:$LINENO: checking iconv.h presence" >&5
102517 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
102518 cat >conftest.$ac_ext <<_ACEOF
102519 /* confdefs.h. */
102520 _ACEOF
102521 cat confdefs.h >>conftest.$ac_ext
102522 cat >>conftest.$ac_ext <<_ACEOF
102523 /* end confdefs.h. */
102524 #include <iconv.h>
102525 _ACEOF
102526 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
102527 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
102528 ac_status=$?
102529 grep -v '^ *+' conftest.er1 >conftest.err
102530 rm -f conftest.er1
102531 cat conftest.err >&5
102532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102533 (exit $ac_status); } >/dev/null; then
102534 if test -s conftest.err; then
102535 ac_cpp_err=$ac_c_preproc_warn_flag
102536 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
102538 ac_cpp_err=
102541 ac_cpp_err=yes
102543 if test -z "$ac_cpp_err"; then
102544 ac_header_preproc=yes
102546 echo "$as_me: failed program was:" >&5
102547 sed 's/^/| /' conftest.$ac_ext >&5
102549 ac_header_preproc=no
102551 rm -f conftest.err conftest.$ac_ext
102552 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
102553 echo "${ECHO_T}$ac_header_preproc" >&6
102555 # So? What about this header?
102556 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
102557 yes:no: )
102558 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
102559 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
102560 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
102561 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
102562 ac_header_preproc=yes
102564 no:yes:* )
102565 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
102566 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
102567 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
102568 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
102569 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
102570 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
102571 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
102572 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
102573 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
102574 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
102575 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
102576 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
102578 cat <<\_ASBOX
102579 ## ----------------------------------------- ##
102580 ## Report this to the package-unused lists. ##
102581 ## ----------------------------------------- ##
102582 _ASBOX
102584 sed "s/^/$as_me: WARNING: /" >&2
102587 echo "$as_me:$LINENO: checking for iconv.h" >&5
102588 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
102589 if test "${ac_cv_header_iconv_h+set}" = set; then
102590 echo $ECHO_N "(cached) $ECHO_C" >&6
102592 ac_cv_header_iconv_h=$ac_header_preproc
102594 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
102595 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
102598 if test $ac_cv_header_iconv_h = yes; then
102599 ac_has_iconv_h=yes
102601 ac_has_iconv_h=no
102605 if test "${ac_cv_header_langinfo_h+set}" = set; then
102606 echo "$as_me:$LINENO: checking for langinfo.h" >&5
102607 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
102608 if test "${ac_cv_header_langinfo_h+set}" = set; then
102609 echo $ECHO_N "(cached) $ECHO_C" >&6
102611 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
102612 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
102614 # Is the header compilable?
102615 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
102616 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
102617 cat >conftest.$ac_ext <<_ACEOF
102618 /* confdefs.h. */
102619 _ACEOF
102620 cat confdefs.h >>conftest.$ac_ext
102621 cat >>conftest.$ac_ext <<_ACEOF
102622 /* end confdefs.h. */
102623 $ac_includes_default
102624 #include <langinfo.h>
102625 _ACEOF
102626 rm -f conftest.$ac_objext
102627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102628 (eval $ac_compile) 2>conftest.er1
102629 ac_status=$?
102630 grep -v '^ *+' conftest.er1 >conftest.err
102631 rm -f conftest.er1
102632 cat conftest.err >&5
102633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102634 (exit $ac_status); } &&
102635 { ac_try='test -z "$ac_c_werror_flag"
102636 || test ! -s conftest.err'
102637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102638 (eval $ac_try) 2>&5
102639 ac_status=$?
102640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102641 (exit $ac_status); }; } &&
102642 { ac_try='test -s conftest.$ac_objext'
102643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102644 (eval $ac_try) 2>&5
102645 ac_status=$?
102646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102647 (exit $ac_status); }; }; then
102648 ac_header_compiler=yes
102650 echo "$as_me: failed program was:" >&5
102651 sed 's/^/| /' conftest.$ac_ext >&5
102653 ac_header_compiler=no
102655 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102656 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
102657 echo "${ECHO_T}$ac_header_compiler" >&6
102659 # Is the header present?
102660 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
102661 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
102662 cat >conftest.$ac_ext <<_ACEOF
102663 /* confdefs.h. */
102664 _ACEOF
102665 cat confdefs.h >>conftest.$ac_ext
102666 cat >>conftest.$ac_ext <<_ACEOF
102667 /* end confdefs.h. */
102668 #include <langinfo.h>
102669 _ACEOF
102670 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
102671 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
102672 ac_status=$?
102673 grep -v '^ *+' conftest.er1 >conftest.err
102674 rm -f conftest.er1
102675 cat conftest.err >&5
102676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102677 (exit $ac_status); } >/dev/null; then
102678 if test -s conftest.err; then
102679 ac_cpp_err=$ac_c_preproc_warn_flag
102680 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
102682 ac_cpp_err=
102685 ac_cpp_err=yes
102687 if test -z "$ac_cpp_err"; then
102688 ac_header_preproc=yes
102690 echo "$as_me: failed program was:" >&5
102691 sed 's/^/| /' conftest.$ac_ext >&5
102693 ac_header_preproc=no
102695 rm -f conftest.err conftest.$ac_ext
102696 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
102697 echo "${ECHO_T}$ac_header_preproc" >&6
102699 # So? What about this header?
102700 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
102701 yes:no: )
102702 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
102703 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
102704 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
102705 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
102706 ac_header_preproc=yes
102708 no:yes:* )
102709 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
102710 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
102711 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
102712 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
102713 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
102714 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
102715 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
102716 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
102717 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
102718 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
102719 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
102720 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
102722 cat <<\_ASBOX
102723 ## ----------------------------------------- ##
102724 ## Report this to the package-unused lists. ##
102725 ## ----------------------------------------- ##
102726 _ASBOX
102728 sed "s/^/$as_me: WARNING: /" >&2
102731 echo "$as_me:$LINENO: checking for langinfo.h" >&5
102732 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
102733 if test "${ac_cv_header_langinfo_h+set}" = set; then
102734 echo $ECHO_N "(cached) $ECHO_C" >&6
102736 ac_cv_header_langinfo_h=$ac_header_preproc
102738 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
102739 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
102742 if test $ac_cv_header_langinfo_h = yes; then
102743 ac_has_langinfo_h=yes
102745 ac_has_langinfo_h=no
102750 # Check for existence of libiconv.a providing XPG2 wchar_t support.
102751 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
102752 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
102753 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
102754 echo $ECHO_N "(cached) $ECHO_C" >&6
102756 ac_check_lib_save_LIBS=$LIBS
102757 LIBS="-liconv $LIBS"
102758 if test x$gcc_no_link = xyes; then
102759 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102760 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102761 { (exit 1); exit 1; }; }
102763 cat >conftest.$ac_ext <<_ACEOF
102764 /* confdefs.h. */
102765 _ACEOF
102766 cat confdefs.h >>conftest.$ac_ext
102767 cat >>conftest.$ac_ext <<_ACEOF
102768 /* end confdefs.h. */
102770 /* Override any gcc2 internal prototype to avoid an error. */
102771 #ifdef __cplusplus
102772 extern "C"
102773 #endif
102774 /* We use char because int might match the return type of a gcc2
102775 builtin and then its argument prototype would still apply. */
102776 char iconv ();
102778 main ()
102780 iconv ();
102782 return 0;
102784 _ACEOF
102785 rm -f conftest.$ac_objext conftest$ac_exeext
102786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102787 (eval $ac_link) 2>conftest.er1
102788 ac_status=$?
102789 grep -v '^ *+' conftest.er1 >conftest.err
102790 rm -f conftest.er1
102791 cat conftest.err >&5
102792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102793 (exit $ac_status); } &&
102794 { ac_try='test -z "$ac_c_werror_flag"
102795 || test ! -s conftest.err'
102796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102797 (eval $ac_try) 2>&5
102798 ac_status=$?
102799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102800 (exit $ac_status); }; } &&
102801 { ac_try='test -s conftest$ac_exeext'
102802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102803 (eval $ac_try) 2>&5
102804 ac_status=$?
102805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102806 (exit $ac_status); }; }; then
102807 ac_cv_lib_iconv_iconv=yes
102809 echo "$as_me: failed program was:" >&5
102810 sed 's/^/| /' conftest.$ac_ext >&5
102812 ac_cv_lib_iconv_iconv=no
102814 rm -f conftest.err conftest.$ac_objext \
102815 conftest$ac_exeext conftest.$ac_ext
102816 LIBS=$ac_check_lib_save_LIBS
102818 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
102819 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
102820 if test $ac_cv_lib_iconv_iconv = yes; then
102821 LIBICONV="-liconv"
102824 ac_save_LIBS="$LIBS"
102825 LIBS="$LIBS $LIBICONV"
102832 for ac_func in iconv_open iconv_close iconv nl_langinfo
102834 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102835 echo "$as_me:$LINENO: checking for $ac_func" >&5
102836 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102837 if eval "test \"\${$as_ac_var+set}\" = set"; then
102838 echo $ECHO_N "(cached) $ECHO_C" >&6
102840 if test x$gcc_no_link = xyes; then
102841 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102842 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102843 { (exit 1); exit 1; }; }
102845 cat >conftest.$ac_ext <<_ACEOF
102846 /* confdefs.h. */
102847 _ACEOF
102848 cat confdefs.h >>conftest.$ac_ext
102849 cat >>conftest.$ac_ext <<_ACEOF
102850 /* end confdefs.h. */
102851 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102852 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102853 #define $ac_func innocuous_$ac_func
102855 /* System header to define __stub macros and hopefully few prototypes,
102856 which can conflict with char $ac_func (); below.
102857 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102858 <limits.h> exists even on freestanding compilers. */
102860 #ifdef __STDC__
102861 # include <limits.h>
102862 #else
102863 # include <assert.h>
102864 #endif
102866 #undef $ac_func
102868 /* Override any gcc2 internal prototype to avoid an error. */
102869 #ifdef __cplusplus
102870 extern "C"
102872 #endif
102873 /* We use char because int might match the return type of a gcc2
102874 builtin and then its argument prototype would still apply. */
102875 char $ac_func ();
102876 /* The GNU C library defines this for functions which it implements
102877 to always fail with ENOSYS. Some functions are actually named
102878 something starting with __ and the normal name is an alias. */
102879 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102880 choke me
102881 #else
102882 char (*f) () = $ac_func;
102883 #endif
102884 #ifdef __cplusplus
102886 #endif
102889 main ()
102891 return f != $ac_func;
102893 return 0;
102895 _ACEOF
102896 rm -f conftest.$ac_objext conftest$ac_exeext
102897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102898 (eval $ac_link) 2>conftest.er1
102899 ac_status=$?
102900 grep -v '^ *+' conftest.er1 >conftest.err
102901 rm -f conftest.er1
102902 cat conftest.err >&5
102903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102904 (exit $ac_status); } &&
102905 { ac_try='test -z "$ac_c_werror_flag"
102906 || test ! -s conftest.err'
102907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102908 (eval $ac_try) 2>&5
102909 ac_status=$?
102910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102911 (exit $ac_status); }; } &&
102912 { ac_try='test -s conftest$ac_exeext'
102913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102914 (eval $ac_try) 2>&5
102915 ac_status=$?
102916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102917 (exit $ac_status); }; }; then
102918 eval "$as_ac_var=yes"
102920 echo "$as_me: failed program was:" >&5
102921 sed 's/^/| /' conftest.$ac_ext >&5
102923 eval "$as_ac_var=no"
102925 rm -f conftest.err conftest.$ac_objext \
102926 conftest$ac_exeext conftest.$ac_ext
102928 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102929 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102930 if test `eval echo '${'$as_ac_var'}'` = yes; then
102931 cat >>confdefs.h <<_ACEOF
102932 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102933 _ACEOF
102934 ac_XPG2funcs=yes
102936 ac_XPG2funcs=no
102941 LIBS="$ac_save_LIBS"
102943 if test x"$ac_has_iconv_h" = xyes &&
102944 test x"$ac_has_langinfo_h" = xyes &&
102945 test x"$ac_XPG2funcs" = xyes;
102948 cat >>confdefs.h <<\_ACEOF
102949 #define _GLIBCXX_USE_ICONV 1
102950 _ACEOF
102952 enable_iconv=yes
102955 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
102956 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
102957 echo "$as_me:$LINENO: result: $enable_iconv" >&5
102958 echo "${ECHO_T}$enable_iconv" >&6
102960 cat >>confdefs.h <<\_ACEOF
102961 #define HAVE_COPYSIGN 1
102962 _ACEOF
102964 cat >>confdefs.h <<\_ACEOF
102965 #define HAVE_COPYSIGNF 1
102966 _ACEOF
102968 cat >>confdefs.h <<\_ACEOF
102969 #define HAVE_FINITEF 1
102970 _ACEOF
102972 cat >>confdefs.h <<\_ACEOF
102973 #define HAVE_FINITE 1
102974 _ACEOF
102976 cat >>confdefs.h <<\_ACEOF
102977 #define HAVE_FREXPF 1
102978 _ACEOF
102980 cat >>confdefs.h <<\_ACEOF
102981 #define HAVE_HYPOTF 1
102982 _ACEOF
102984 cat >>confdefs.h <<\_ACEOF
102985 #define HAVE_ISINF 1
102986 _ACEOF
102988 cat >>confdefs.h <<\_ACEOF
102989 #define HAVE_ISINFF 1
102990 _ACEOF
102992 cat >>confdefs.h <<\_ACEOF
102993 #define HAVE_ISNAN 1
102994 _ACEOF
102996 cat >>confdefs.h <<\_ACEOF
102997 #define HAVE_ISNANF 1
102998 _ACEOF
103000 if test x"long_double_math_on_this_cpu" = x"yes"; then
103001 cat >>confdefs.h <<\_ACEOF
103002 #define HAVE_FINITEL 1
103003 _ACEOF
103005 cat >>confdefs.h <<\_ACEOF
103006 #define HAVE_ISINFL 1
103007 _ACEOF
103009 cat >>confdefs.h <<\_ACEOF
103010 #define HAVE_ISNANL 1
103011 _ACEOF
103015 *-netware)
103024 for ac_header in nan.h ieeefp.h sys/isa_defs.h sys/machine.h \
103025 sys/types.h locale.h float.h inttypes.h
103027 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
103028 if eval "test \"\${$as_ac_Header+set}\" = set"; then
103029 echo "$as_me:$LINENO: checking for $ac_header" >&5
103030 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
103031 if eval "test \"\${$as_ac_Header+set}\" = set"; then
103032 echo $ECHO_N "(cached) $ECHO_C" >&6
103034 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
103035 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
103037 # Is the header compilable?
103038 echo "$as_me:$LINENO: checking $ac_header usability" >&5
103039 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
103040 cat >conftest.$ac_ext <<_ACEOF
103041 /* confdefs.h. */
103042 _ACEOF
103043 cat confdefs.h >>conftest.$ac_ext
103044 cat >>conftest.$ac_ext <<_ACEOF
103045 /* end confdefs.h. */
103046 $ac_includes_default
103047 #include <$ac_header>
103048 _ACEOF
103049 rm -f conftest.$ac_objext
103050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103051 (eval $ac_compile) 2>conftest.er1
103052 ac_status=$?
103053 grep -v '^ *+' conftest.er1 >conftest.err
103054 rm -f conftest.er1
103055 cat conftest.err >&5
103056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103057 (exit $ac_status); } &&
103058 { ac_try='test -z "$ac_c_werror_flag"
103059 || test ! -s conftest.err'
103060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103061 (eval $ac_try) 2>&5
103062 ac_status=$?
103063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103064 (exit $ac_status); }; } &&
103065 { ac_try='test -s conftest.$ac_objext'
103066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103067 (eval $ac_try) 2>&5
103068 ac_status=$?
103069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103070 (exit $ac_status); }; }; then
103071 ac_header_compiler=yes
103073 echo "$as_me: failed program was:" >&5
103074 sed 's/^/| /' conftest.$ac_ext >&5
103076 ac_header_compiler=no
103078 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103079 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
103080 echo "${ECHO_T}$ac_header_compiler" >&6
103082 # Is the header present?
103083 echo "$as_me:$LINENO: checking $ac_header presence" >&5
103084 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
103085 cat >conftest.$ac_ext <<_ACEOF
103086 /* confdefs.h. */
103087 _ACEOF
103088 cat confdefs.h >>conftest.$ac_ext
103089 cat >>conftest.$ac_ext <<_ACEOF
103090 /* end confdefs.h. */
103091 #include <$ac_header>
103092 _ACEOF
103093 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
103094 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
103095 ac_status=$?
103096 grep -v '^ *+' conftest.er1 >conftest.err
103097 rm -f conftest.er1
103098 cat conftest.err >&5
103099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103100 (exit $ac_status); } >/dev/null; then
103101 if test -s conftest.err; then
103102 ac_cpp_err=$ac_c_preproc_warn_flag
103103 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
103105 ac_cpp_err=
103108 ac_cpp_err=yes
103110 if test -z "$ac_cpp_err"; then
103111 ac_header_preproc=yes
103113 echo "$as_me: failed program was:" >&5
103114 sed 's/^/| /' conftest.$ac_ext >&5
103116 ac_header_preproc=no
103118 rm -f conftest.err conftest.$ac_ext
103119 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
103120 echo "${ECHO_T}$ac_header_preproc" >&6
103122 # So? What about this header?
103123 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
103124 yes:no: )
103125 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
103126 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
103127 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
103128 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
103129 ac_header_preproc=yes
103131 no:yes:* )
103132 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
103133 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
103134 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
103135 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
103136 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
103137 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
103138 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
103139 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
103140 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
103141 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
103142 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
103143 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
103145 cat <<\_ASBOX
103146 ## ----------------------------------------- ##
103147 ## Report this to the package-unused lists. ##
103148 ## ----------------------------------------- ##
103149 _ASBOX
103151 sed "s/^/$as_me: WARNING: /" >&2
103154 echo "$as_me:$LINENO: checking for $ac_header" >&5
103155 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
103156 if eval "test \"\${$as_ac_Header+set}\" = set"; then
103157 echo $ECHO_N "(cached) $ECHO_C" >&6
103159 eval "$as_ac_Header=\$ac_header_preproc"
103161 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
103162 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
103165 if test `eval echo '${'$as_ac_Header'}'` = yes; then
103166 cat >>confdefs.h <<_ACEOF
103167 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
103168 _ACEOF
103174 SECTION_FLAGS='-ffunction-sections -fdata-sections'
103177 # If we're not using GNU ld, then there's no point in even trying these
103178 # tests. Check for that first. We should have already tested for gld
103179 # by now (in libtool), but require it now just to be safe...
103180 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
103181 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
103185 # The name set by libtool depends on the version of libtool. Shame on us
103186 # for depending on an impl detail, but c'est la vie. Older versions used
103187 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
103188 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
103189 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
103190 # set (hence we're using an older libtool), then set it.
103191 if test x${with_gnu_ld+set} != xset; then
103192 if test x${ac_cv_prog_gnu_ld+set} != xset; then
103193 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
103194 with_gnu_ld=no
103196 with_gnu_ld=$ac_cv_prog_gnu_ld
103200 # Start by getting the version number. I think the libtool test already
103201 # does some of this, but throws away the result.
103202 echo "$as_me:$LINENO: checking for ld version" >&5
103203 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
103205 ldver=`$LD --version 2>/dev/null | head -1 | \
103206 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
103208 glibcxx_gnu_ld_version=`echo $ldver | \
103209 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
103210 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
103211 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
103213 # Set --gc-sections.
103214 glibcxx_gcsections_min_ld=21602
103215 if test x"$with_gnu_ld" = x"yes" &&
103216 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
103218 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
103219 # NB: This flag only works reliably after 2.16.1. Configure tests
103220 # for this are difficult, so hard wire a value that should work.
103222 # All these tests are for C++, but run with the "C" compiler driver.
103223 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
103224 ac_test_CFLAGS="${CFLAGS+set}"
103225 ac_save_CFLAGS="$CFLAGS"
103226 CFLAGS='-x c++ -Wl,--gc-sections'
103228 # Check for -Wl,--gc-sections
103229 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
103230 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
103231 if test x$gcc_no_link = xyes; then
103232 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103233 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103234 { (exit 1); exit 1; }; }
103236 cat >conftest.$ac_ext <<_ACEOF
103237 /* confdefs.h. */
103238 _ACEOF
103239 cat confdefs.h >>conftest.$ac_ext
103240 cat >>conftest.$ac_ext <<_ACEOF
103241 /* end confdefs.h. */
103242 int one(void) { return 1; }
103243 int two(void) { return 2; }
103246 main ()
103248 two();
103250 return 0;
103252 _ACEOF
103253 rm -f conftest.$ac_objext conftest$ac_exeext
103254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103255 (eval $ac_link) 2>conftest.er1
103256 ac_status=$?
103257 grep -v '^ *+' conftest.er1 >conftest.err
103258 rm -f conftest.er1
103259 cat conftest.err >&5
103260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103261 (exit $ac_status); } &&
103262 { ac_try='test -z "$ac_c_werror_flag"
103263 || test ! -s conftest.err'
103264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103265 (eval $ac_try) 2>&5
103266 ac_status=$?
103267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103268 (exit $ac_status); }; } &&
103269 { ac_try='test -s conftest$ac_exeext'
103270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103271 (eval $ac_try) 2>&5
103272 ac_status=$?
103273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103274 (exit $ac_status); }; }; then
103275 ac_gcsections=yes
103277 echo "$as_me: failed program was:" >&5
103278 sed 's/^/| /' conftest.$ac_ext >&5
103280 ac_gcsections=no
103282 rm -f conftest.err conftest.$ac_objext \
103283 conftest$ac_exeext conftest.$ac_ext
103284 if test "$ac_gcsections" = "yes"; then
103285 rm -f conftest.c
103286 touch conftest.c
103287 if $CC -c conftest.c; then
103288 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
103289 grep "Warning: gc-sections option ignored" > /dev/null; then
103290 ac_gcsections=no
103293 rm -f conftest.c conftest.o conftest
103295 if test "$ac_gcsections" = "yes"; then
103296 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
103298 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
103299 echo "${ECHO_T}$ac_gcsections" >&6
103301 if test "$ac_test_CFLAGS" = set; then
103302 CFLAGS="$ac_save_CFLAGS"
103304 # this is the suspicious part
103305 CFLAGS=''
103309 # Set -z,relro.
103310 # Note this is only for shared objects.
103311 ac_ld_relro=no
103312 if test x"$with_gnu_ld" = x"yes"; then
103313 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
103314 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
103315 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
103316 if test -n "$cxx_z_relo"; then
103317 OPT_LDFLAGS="-Wl,-z,relro"
103318 ac_ld_relro=yes
103320 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
103321 echo "${ECHO_T}$ac_ld_relro" >&6
103324 # Set linker optimization flags.
103325 if test x"$with_gnu_ld" = x"yes"; then
103326 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
103334 echo "$as_me:$LINENO: checking for main in -lm" >&5
103335 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
103336 if test "${ac_cv_lib_m_main+set}" = set; then
103337 echo $ECHO_N "(cached) $ECHO_C" >&6
103339 ac_check_lib_save_LIBS=$LIBS
103340 LIBS="-lm $LIBS"
103341 if test x$gcc_no_link = xyes; then
103342 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103343 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103344 { (exit 1); exit 1; }; }
103346 cat >conftest.$ac_ext <<_ACEOF
103347 /* confdefs.h. */
103348 _ACEOF
103349 cat confdefs.h >>conftest.$ac_ext
103350 cat >>conftest.$ac_ext <<_ACEOF
103351 /* end confdefs.h. */
103355 main ()
103357 main ();
103359 return 0;
103361 _ACEOF
103362 rm -f conftest.$ac_objext conftest$ac_exeext
103363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103364 (eval $ac_link) 2>conftest.er1
103365 ac_status=$?
103366 grep -v '^ *+' conftest.er1 >conftest.err
103367 rm -f conftest.er1
103368 cat conftest.err >&5
103369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103370 (exit $ac_status); } &&
103371 { ac_try='test -z "$ac_c_werror_flag"
103372 || test ! -s conftest.err'
103373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103374 (eval $ac_try) 2>&5
103375 ac_status=$?
103376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103377 (exit $ac_status); }; } &&
103378 { ac_try='test -s conftest$ac_exeext'
103379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103380 (eval $ac_try) 2>&5
103381 ac_status=$?
103382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103383 (exit $ac_status); }; }; then
103384 ac_cv_lib_m_main=yes
103386 echo "$as_me: failed program was:" >&5
103387 sed 's/^/| /' conftest.$ac_ext >&5
103389 ac_cv_lib_m_main=no
103391 rm -f conftest.err conftest.$ac_objext \
103392 conftest$ac_exeext conftest.$ac_ext
103393 LIBS=$ac_check_lib_save_LIBS
103395 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
103396 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
103397 if test $ac_cv_lib_m_main = yes; then
103398 cat >>confdefs.h <<_ACEOF
103399 #define HAVE_LIBM 1
103400 _ACEOF
103402 LIBS="-lm $LIBS"
103407 for ac_func in copysignf
103409 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103410 echo "$as_me:$LINENO: checking for $ac_func" >&5
103411 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103412 if eval "test \"\${$as_ac_var+set}\" = set"; then
103413 echo $ECHO_N "(cached) $ECHO_C" >&6
103415 if test x$gcc_no_link = xyes; then
103416 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103417 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103418 { (exit 1); exit 1; }; }
103420 cat >conftest.$ac_ext <<_ACEOF
103421 /* confdefs.h. */
103422 _ACEOF
103423 cat confdefs.h >>conftest.$ac_ext
103424 cat >>conftest.$ac_ext <<_ACEOF
103425 /* end confdefs.h. */
103426 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103427 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103428 #define $ac_func innocuous_$ac_func
103430 /* System header to define __stub macros and hopefully few prototypes,
103431 which can conflict with char $ac_func (); below.
103432 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103433 <limits.h> exists even on freestanding compilers. */
103435 #ifdef __STDC__
103436 # include <limits.h>
103437 #else
103438 # include <assert.h>
103439 #endif
103441 #undef $ac_func
103443 /* Override any gcc2 internal prototype to avoid an error. */
103444 #ifdef __cplusplus
103445 extern "C"
103447 #endif
103448 /* We use char because int might match the return type of a gcc2
103449 builtin and then its argument prototype would still apply. */
103450 char $ac_func ();
103451 /* The GNU C library defines this for functions which it implements
103452 to always fail with ENOSYS. Some functions are actually named
103453 something starting with __ and the normal name is an alias. */
103454 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103455 choke me
103456 #else
103457 char (*f) () = $ac_func;
103458 #endif
103459 #ifdef __cplusplus
103461 #endif
103464 main ()
103466 return f != $ac_func;
103468 return 0;
103470 _ACEOF
103471 rm -f conftest.$ac_objext conftest$ac_exeext
103472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103473 (eval $ac_link) 2>conftest.er1
103474 ac_status=$?
103475 grep -v '^ *+' conftest.er1 >conftest.err
103476 rm -f conftest.er1
103477 cat conftest.err >&5
103478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103479 (exit $ac_status); } &&
103480 { ac_try='test -z "$ac_c_werror_flag"
103481 || test ! -s conftest.err'
103482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103483 (eval $ac_try) 2>&5
103484 ac_status=$?
103485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103486 (exit $ac_status); }; } &&
103487 { ac_try='test -s conftest$ac_exeext'
103488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103489 (eval $ac_try) 2>&5
103490 ac_status=$?
103491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103492 (exit $ac_status); }; }; then
103493 eval "$as_ac_var=yes"
103495 echo "$as_me: failed program was:" >&5
103496 sed 's/^/| /' conftest.$ac_ext >&5
103498 eval "$as_ac_var=no"
103500 rm -f conftest.err conftest.$ac_objext \
103501 conftest$ac_exeext conftest.$ac_ext
103503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103504 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103505 if test `eval echo '${'$as_ac_var'}'` = yes; then
103506 cat >>confdefs.h <<_ACEOF
103507 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103508 _ACEOF
103511 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
103517 for ac_func in __signbit
103519 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103520 echo "$as_me:$LINENO: checking for $ac_func" >&5
103521 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103522 if eval "test \"\${$as_ac_var+set}\" = set"; then
103523 echo $ECHO_N "(cached) $ECHO_C" >&6
103525 if test x$gcc_no_link = xyes; then
103526 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103527 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103528 { (exit 1); exit 1; }; }
103530 cat >conftest.$ac_ext <<_ACEOF
103531 /* confdefs.h. */
103532 _ACEOF
103533 cat confdefs.h >>conftest.$ac_ext
103534 cat >>conftest.$ac_ext <<_ACEOF
103535 /* end confdefs.h. */
103536 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103537 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103538 #define $ac_func innocuous_$ac_func
103540 /* System header to define __stub macros and hopefully few prototypes,
103541 which can conflict with char $ac_func (); below.
103542 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103543 <limits.h> exists even on freestanding compilers. */
103545 #ifdef __STDC__
103546 # include <limits.h>
103547 #else
103548 # include <assert.h>
103549 #endif
103551 #undef $ac_func
103553 /* Override any gcc2 internal prototype to avoid an error. */
103554 #ifdef __cplusplus
103555 extern "C"
103557 #endif
103558 /* We use char because int might match the return type of a gcc2
103559 builtin and then its argument prototype would still apply. */
103560 char $ac_func ();
103561 /* The GNU C library defines this for functions which it implements
103562 to always fail with ENOSYS. Some functions are actually named
103563 something starting with __ and the normal name is an alias. */
103564 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103565 choke me
103566 #else
103567 char (*f) () = $ac_func;
103568 #endif
103569 #ifdef __cplusplus
103571 #endif
103574 main ()
103576 return f != $ac_func;
103578 return 0;
103580 _ACEOF
103581 rm -f conftest.$ac_objext conftest$ac_exeext
103582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103583 (eval $ac_link) 2>conftest.er1
103584 ac_status=$?
103585 grep -v '^ *+' conftest.er1 >conftest.err
103586 rm -f conftest.er1
103587 cat conftest.err >&5
103588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103589 (exit $ac_status); } &&
103590 { ac_try='test -z "$ac_c_werror_flag"
103591 || test ! -s conftest.err'
103592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103593 (eval $ac_try) 2>&5
103594 ac_status=$?
103595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103596 (exit $ac_status); }; } &&
103597 { ac_try='test -s conftest$ac_exeext'
103598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103599 (eval $ac_try) 2>&5
103600 ac_status=$?
103601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103602 (exit $ac_status); }; }; then
103603 eval "$as_ac_var=yes"
103605 echo "$as_me: failed program was:" >&5
103606 sed 's/^/| /' conftest.$ac_ext >&5
103608 eval "$as_ac_var=no"
103610 rm -f conftest.err conftest.$ac_objext \
103611 conftest$ac_exeext conftest.$ac_ext
103613 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103614 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103615 if test `eval echo '${'$as_ac_var'}'` = yes; then
103616 cat >>confdefs.h <<_ACEOF
103617 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103618 _ACEOF
103621 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
103627 for ac_func in __signbitf
103629 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103630 echo "$as_me:$LINENO: checking for $ac_func" >&5
103631 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103632 if eval "test \"\${$as_ac_var+set}\" = set"; then
103633 echo $ECHO_N "(cached) $ECHO_C" >&6
103635 if test x$gcc_no_link = xyes; then
103636 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103637 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103638 { (exit 1); exit 1; }; }
103640 cat >conftest.$ac_ext <<_ACEOF
103641 /* confdefs.h. */
103642 _ACEOF
103643 cat confdefs.h >>conftest.$ac_ext
103644 cat >>conftest.$ac_ext <<_ACEOF
103645 /* end confdefs.h. */
103646 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103647 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103648 #define $ac_func innocuous_$ac_func
103650 /* System header to define __stub macros and hopefully few prototypes,
103651 which can conflict with char $ac_func (); below.
103652 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103653 <limits.h> exists even on freestanding compilers. */
103655 #ifdef __STDC__
103656 # include <limits.h>
103657 #else
103658 # include <assert.h>
103659 #endif
103661 #undef $ac_func
103663 /* Override any gcc2 internal prototype to avoid an error. */
103664 #ifdef __cplusplus
103665 extern "C"
103667 #endif
103668 /* We use char because int might match the return type of a gcc2
103669 builtin and then its argument prototype would still apply. */
103670 char $ac_func ();
103671 /* The GNU C library defines this for functions which it implements
103672 to always fail with ENOSYS. Some functions are actually named
103673 something starting with __ and the normal name is an alias. */
103674 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103675 choke me
103676 #else
103677 char (*f) () = $ac_func;
103678 #endif
103679 #ifdef __cplusplus
103681 #endif
103684 main ()
103686 return f != $ac_func;
103688 return 0;
103690 _ACEOF
103691 rm -f conftest.$ac_objext conftest$ac_exeext
103692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103693 (eval $ac_link) 2>conftest.er1
103694 ac_status=$?
103695 grep -v '^ *+' conftest.er1 >conftest.err
103696 rm -f conftest.er1
103697 cat conftest.err >&5
103698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103699 (exit $ac_status); } &&
103700 { ac_try='test -z "$ac_c_werror_flag"
103701 || test ! -s conftest.err'
103702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103703 (eval $ac_try) 2>&5
103704 ac_status=$?
103705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103706 (exit $ac_status); }; } &&
103707 { ac_try='test -s conftest$ac_exeext'
103708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103709 (eval $ac_try) 2>&5
103710 ac_status=$?
103711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103712 (exit $ac_status); }; }; then
103713 eval "$as_ac_var=yes"
103715 echo "$as_me: failed program was:" >&5
103716 sed 's/^/| /' conftest.$ac_ext >&5
103718 eval "$as_ac_var=no"
103720 rm -f conftest.err conftest.$ac_objext \
103721 conftest$ac_exeext conftest.$ac_ext
103723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103724 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103725 if test `eval echo '${'$as_ac_var'}'` = yes; then
103726 cat >>confdefs.h <<_ACEOF
103727 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103728 _ACEOF
103731 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
103736 if test x$ac_cv_func_copysignl = x"yes"; then
103738 for ac_func in __signbitl
103740 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103741 echo "$as_me:$LINENO: checking for $ac_func" >&5
103742 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103743 if eval "test \"\${$as_ac_var+set}\" = set"; then
103744 echo $ECHO_N "(cached) $ECHO_C" >&6
103746 if test x$gcc_no_link = xyes; then
103747 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103748 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103749 { (exit 1); exit 1; }; }
103751 cat >conftest.$ac_ext <<_ACEOF
103752 /* confdefs.h. */
103753 _ACEOF
103754 cat confdefs.h >>conftest.$ac_ext
103755 cat >>conftest.$ac_ext <<_ACEOF
103756 /* end confdefs.h. */
103757 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103758 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103759 #define $ac_func innocuous_$ac_func
103761 /* System header to define __stub macros and hopefully few prototypes,
103762 which can conflict with char $ac_func (); below.
103763 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103764 <limits.h> exists even on freestanding compilers. */
103766 #ifdef __STDC__
103767 # include <limits.h>
103768 #else
103769 # include <assert.h>
103770 #endif
103772 #undef $ac_func
103774 /* Override any gcc2 internal prototype to avoid an error. */
103775 #ifdef __cplusplus
103776 extern "C"
103778 #endif
103779 /* We use char because int might match the return type of a gcc2
103780 builtin and then its argument prototype would still apply. */
103781 char $ac_func ();
103782 /* The GNU C library defines this for functions which it implements
103783 to always fail with ENOSYS. Some functions are actually named
103784 something starting with __ and the normal name is an alias. */
103785 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103786 choke me
103787 #else
103788 char (*f) () = $ac_func;
103789 #endif
103790 #ifdef __cplusplus
103792 #endif
103795 main ()
103797 return f != $ac_func;
103799 return 0;
103801 _ACEOF
103802 rm -f conftest.$ac_objext conftest$ac_exeext
103803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103804 (eval $ac_link) 2>conftest.er1
103805 ac_status=$?
103806 grep -v '^ *+' conftest.er1 >conftest.err
103807 rm -f conftest.er1
103808 cat conftest.err >&5
103809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103810 (exit $ac_status); } &&
103811 { ac_try='test -z "$ac_c_werror_flag"
103812 || test ! -s conftest.err'
103813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103814 (eval $ac_try) 2>&5
103815 ac_status=$?
103816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103817 (exit $ac_status); }; } &&
103818 { ac_try='test -s conftest$ac_exeext'
103819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103820 (eval $ac_try) 2>&5
103821 ac_status=$?
103822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103823 (exit $ac_status); }; }; then
103824 eval "$as_ac_var=yes"
103826 echo "$as_me: failed program was:" >&5
103827 sed 's/^/| /' conftest.$ac_ext >&5
103829 eval "$as_ac_var=no"
103831 rm -f conftest.err conftest.$ac_objext \
103832 conftest$ac_exeext conftest.$ac_ext
103834 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103835 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103836 if test `eval echo '${'$as_ac_var'}'` = yes; then
103837 cat >>confdefs.h <<_ACEOF
103838 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103839 _ACEOF
103842 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
103848 # Used in libmath/Makefile.am.
103849 if test -n "$LIBMATHOBJS"; then
103850 need_libmath=yes
103856 enable_iconv=no
103857 # Only continue checking if the ISO C99 headers exist and support is on.
103858 if test x"$enable_wchar_t" = xyes; then
103860 # Use iconv for wchar_t to char conversions. As such, check for
103861 # X/Open Portability Guide, version 2 features (XPG2).
103862 if test "${ac_cv_header_iconv_h+set}" = set; then
103863 echo "$as_me:$LINENO: checking for iconv.h" >&5
103864 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
103865 if test "${ac_cv_header_iconv_h+set}" = set; then
103866 echo $ECHO_N "(cached) $ECHO_C" >&6
103868 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
103869 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
103871 # Is the header compilable?
103872 echo "$as_me:$LINENO: checking iconv.h usability" >&5
103873 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
103874 cat >conftest.$ac_ext <<_ACEOF
103875 /* confdefs.h. */
103876 _ACEOF
103877 cat confdefs.h >>conftest.$ac_ext
103878 cat >>conftest.$ac_ext <<_ACEOF
103879 /* end confdefs.h. */
103880 $ac_includes_default
103881 #include <iconv.h>
103882 _ACEOF
103883 rm -f conftest.$ac_objext
103884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103885 (eval $ac_compile) 2>conftest.er1
103886 ac_status=$?
103887 grep -v '^ *+' conftest.er1 >conftest.err
103888 rm -f conftest.er1
103889 cat conftest.err >&5
103890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103891 (exit $ac_status); } &&
103892 { ac_try='test -z "$ac_c_werror_flag"
103893 || test ! -s conftest.err'
103894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103895 (eval $ac_try) 2>&5
103896 ac_status=$?
103897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103898 (exit $ac_status); }; } &&
103899 { ac_try='test -s conftest.$ac_objext'
103900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103901 (eval $ac_try) 2>&5
103902 ac_status=$?
103903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103904 (exit $ac_status); }; }; then
103905 ac_header_compiler=yes
103907 echo "$as_me: failed program was:" >&5
103908 sed 's/^/| /' conftest.$ac_ext >&5
103910 ac_header_compiler=no
103912 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103913 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
103914 echo "${ECHO_T}$ac_header_compiler" >&6
103916 # Is the header present?
103917 echo "$as_me:$LINENO: checking iconv.h presence" >&5
103918 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
103919 cat >conftest.$ac_ext <<_ACEOF
103920 /* confdefs.h. */
103921 _ACEOF
103922 cat confdefs.h >>conftest.$ac_ext
103923 cat >>conftest.$ac_ext <<_ACEOF
103924 /* end confdefs.h. */
103925 #include <iconv.h>
103926 _ACEOF
103927 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
103928 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
103929 ac_status=$?
103930 grep -v '^ *+' conftest.er1 >conftest.err
103931 rm -f conftest.er1
103932 cat conftest.err >&5
103933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103934 (exit $ac_status); } >/dev/null; then
103935 if test -s conftest.err; then
103936 ac_cpp_err=$ac_c_preproc_warn_flag
103937 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
103939 ac_cpp_err=
103942 ac_cpp_err=yes
103944 if test -z "$ac_cpp_err"; then
103945 ac_header_preproc=yes
103947 echo "$as_me: failed program was:" >&5
103948 sed 's/^/| /' conftest.$ac_ext >&5
103950 ac_header_preproc=no
103952 rm -f conftest.err conftest.$ac_ext
103953 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
103954 echo "${ECHO_T}$ac_header_preproc" >&6
103956 # So? What about this header?
103957 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
103958 yes:no: )
103959 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
103960 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
103961 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
103962 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
103963 ac_header_preproc=yes
103965 no:yes:* )
103966 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
103967 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
103968 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
103969 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
103970 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
103971 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
103972 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
103973 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
103974 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
103975 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
103976 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
103977 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
103979 cat <<\_ASBOX
103980 ## ----------------------------------------- ##
103981 ## Report this to the package-unused lists. ##
103982 ## ----------------------------------------- ##
103983 _ASBOX
103985 sed "s/^/$as_me: WARNING: /" >&2
103988 echo "$as_me:$LINENO: checking for iconv.h" >&5
103989 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
103990 if test "${ac_cv_header_iconv_h+set}" = set; then
103991 echo $ECHO_N "(cached) $ECHO_C" >&6
103993 ac_cv_header_iconv_h=$ac_header_preproc
103995 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
103996 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
103999 if test $ac_cv_header_iconv_h = yes; then
104000 ac_has_iconv_h=yes
104002 ac_has_iconv_h=no
104006 if test "${ac_cv_header_langinfo_h+set}" = set; then
104007 echo "$as_me:$LINENO: checking for langinfo.h" >&5
104008 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
104009 if test "${ac_cv_header_langinfo_h+set}" = set; then
104010 echo $ECHO_N "(cached) $ECHO_C" >&6
104012 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
104013 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
104015 # Is the header compilable?
104016 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
104017 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
104018 cat >conftest.$ac_ext <<_ACEOF
104019 /* confdefs.h. */
104020 _ACEOF
104021 cat confdefs.h >>conftest.$ac_ext
104022 cat >>conftest.$ac_ext <<_ACEOF
104023 /* end confdefs.h. */
104024 $ac_includes_default
104025 #include <langinfo.h>
104026 _ACEOF
104027 rm -f conftest.$ac_objext
104028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104029 (eval $ac_compile) 2>conftest.er1
104030 ac_status=$?
104031 grep -v '^ *+' conftest.er1 >conftest.err
104032 rm -f conftest.er1
104033 cat conftest.err >&5
104034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104035 (exit $ac_status); } &&
104036 { ac_try='test -z "$ac_c_werror_flag"
104037 || test ! -s conftest.err'
104038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104039 (eval $ac_try) 2>&5
104040 ac_status=$?
104041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104042 (exit $ac_status); }; } &&
104043 { ac_try='test -s conftest.$ac_objext'
104044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104045 (eval $ac_try) 2>&5
104046 ac_status=$?
104047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104048 (exit $ac_status); }; }; then
104049 ac_header_compiler=yes
104051 echo "$as_me: failed program was:" >&5
104052 sed 's/^/| /' conftest.$ac_ext >&5
104054 ac_header_compiler=no
104056 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104057 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
104058 echo "${ECHO_T}$ac_header_compiler" >&6
104060 # Is the header present?
104061 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
104062 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
104063 cat >conftest.$ac_ext <<_ACEOF
104064 /* confdefs.h. */
104065 _ACEOF
104066 cat confdefs.h >>conftest.$ac_ext
104067 cat >>conftest.$ac_ext <<_ACEOF
104068 /* end confdefs.h. */
104069 #include <langinfo.h>
104070 _ACEOF
104071 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
104072 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
104073 ac_status=$?
104074 grep -v '^ *+' conftest.er1 >conftest.err
104075 rm -f conftest.er1
104076 cat conftest.err >&5
104077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104078 (exit $ac_status); } >/dev/null; then
104079 if test -s conftest.err; then
104080 ac_cpp_err=$ac_c_preproc_warn_flag
104081 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
104083 ac_cpp_err=
104086 ac_cpp_err=yes
104088 if test -z "$ac_cpp_err"; then
104089 ac_header_preproc=yes
104091 echo "$as_me: failed program was:" >&5
104092 sed 's/^/| /' conftest.$ac_ext >&5
104094 ac_header_preproc=no
104096 rm -f conftest.err conftest.$ac_ext
104097 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
104098 echo "${ECHO_T}$ac_header_preproc" >&6
104100 # So? What about this header?
104101 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
104102 yes:no: )
104103 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
104104 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
104105 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
104106 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
104107 ac_header_preproc=yes
104109 no:yes:* )
104110 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
104111 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
104112 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
104113 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
104114 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
104115 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
104116 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
104117 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
104118 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
104119 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
104120 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
104121 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
104123 cat <<\_ASBOX
104124 ## ----------------------------------------- ##
104125 ## Report this to the package-unused lists. ##
104126 ## ----------------------------------------- ##
104127 _ASBOX
104129 sed "s/^/$as_me: WARNING: /" >&2
104132 echo "$as_me:$LINENO: checking for langinfo.h" >&5
104133 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
104134 if test "${ac_cv_header_langinfo_h+set}" = set; then
104135 echo $ECHO_N "(cached) $ECHO_C" >&6
104137 ac_cv_header_langinfo_h=$ac_header_preproc
104139 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
104140 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
104143 if test $ac_cv_header_langinfo_h = yes; then
104144 ac_has_langinfo_h=yes
104146 ac_has_langinfo_h=no
104151 # Check for existence of libiconv.a providing XPG2 wchar_t support.
104152 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
104153 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
104154 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
104155 echo $ECHO_N "(cached) $ECHO_C" >&6
104157 ac_check_lib_save_LIBS=$LIBS
104158 LIBS="-liconv $LIBS"
104159 if test x$gcc_no_link = xyes; then
104160 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104161 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104162 { (exit 1); exit 1; }; }
104164 cat >conftest.$ac_ext <<_ACEOF
104165 /* confdefs.h. */
104166 _ACEOF
104167 cat confdefs.h >>conftest.$ac_ext
104168 cat >>conftest.$ac_ext <<_ACEOF
104169 /* end confdefs.h. */
104171 /* Override any gcc2 internal prototype to avoid an error. */
104172 #ifdef __cplusplus
104173 extern "C"
104174 #endif
104175 /* We use char because int might match the return type of a gcc2
104176 builtin and then its argument prototype would still apply. */
104177 char iconv ();
104179 main ()
104181 iconv ();
104183 return 0;
104185 _ACEOF
104186 rm -f conftest.$ac_objext conftest$ac_exeext
104187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104188 (eval $ac_link) 2>conftest.er1
104189 ac_status=$?
104190 grep -v '^ *+' conftest.er1 >conftest.err
104191 rm -f conftest.er1
104192 cat conftest.err >&5
104193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104194 (exit $ac_status); } &&
104195 { ac_try='test -z "$ac_c_werror_flag"
104196 || test ! -s conftest.err'
104197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104198 (eval $ac_try) 2>&5
104199 ac_status=$?
104200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104201 (exit $ac_status); }; } &&
104202 { ac_try='test -s conftest$ac_exeext'
104203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104204 (eval $ac_try) 2>&5
104205 ac_status=$?
104206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104207 (exit $ac_status); }; }; then
104208 ac_cv_lib_iconv_iconv=yes
104210 echo "$as_me: failed program was:" >&5
104211 sed 's/^/| /' conftest.$ac_ext >&5
104213 ac_cv_lib_iconv_iconv=no
104215 rm -f conftest.err conftest.$ac_objext \
104216 conftest$ac_exeext conftest.$ac_ext
104217 LIBS=$ac_check_lib_save_LIBS
104219 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
104220 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
104221 if test $ac_cv_lib_iconv_iconv = yes; then
104222 LIBICONV="-liconv"
104225 ac_save_LIBS="$LIBS"
104226 LIBS="$LIBS $LIBICONV"
104233 for ac_func in iconv_open iconv_close iconv nl_langinfo
104235 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104236 echo "$as_me:$LINENO: checking for $ac_func" >&5
104237 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104238 if eval "test \"\${$as_ac_var+set}\" = set"; then
104239 echo $ECHO_N "(cached) $ECHO_C" >&6
104241 if test x$gcc_no_link = xyes; then
104242 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104243 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104244 { (exit 1); exit 1; }; }
104246 cat >conftest.$ac_ext <<_ACEOF
104247 /* confdefs.h. */
104248 _ACEOF
104249 cat confdefs.h >>conftest.$ac_ext
104250 cat >>conftest.$ac_ext <<_ACEOF
104251 /* end confdefs.h. */
104252 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104253 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104254 #define $ac_func innocuous_$ac_func
104256 /* System header to define __stub macros and hopefully few prototypes,
104257 which can conflict with char $ac_func (); below.
104258 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104259 <limits.h> exists even on freestanding compilers. */
104261 #ifdef __STDC__
104262 # include <limits.h>
104263 #else
104264 # include <assert.h>
104265 #endif
104267 #undef $ac_func
104269 /* Override any gcc2 internal prototype to avoid an error. */
104270 #ifdef __cplusplus
104271 extern "C"
104273 #endif
104274 /* We use char because int might match the return type of a gcc2
104275 builtin and then its argument prototype would still apply. */
104276 char $ac_func ();
104277 /* The GNU C library defines this for functions which it implements
104278 to always fail with ENOSYS. Some functions are actually named
104279 something starting with __ and the normal name is an alias. */
104280 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104281 choke me
104282 #else
104283 char (*f) () = $ac_func;
104284 #endif
104285 #ifdef __cplusplus
104287 #endif
104290 main ()
104292 return f != $ac_func;
104294 return 0;
104296 _ACEOF
104297 rm -f conftest.$ac_objext conftest$ac_exeext
104298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104299 (eval $ac_link) 2>conftest.er1
104300 ac_status=$?
104301 grep -v '^ *+' conftest.er1 >conftest.err
104302 rm -f conftest.er1
104303 cat conftest.err >&5
104304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104305 (exit $ac_status); } &&
104306 { ac_try='test -z "$ac_c_werror_flag"
104307 || test ! -s conftest.err'
104308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104309 (eval $ac_try) 2>&5
104310 ac_status=$?
104311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104312 (exit $ac_status); }; } &&
104313 { ac_try='test -s conftest$ac_exeext'
104314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104315 (eval $ac_try) 2>&5
104316 ac_status=$?
104317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104318 (exit $ac_status); }; }; then
104319 eval "$as_ac_var=yes"
104321 echo "$as_me: failed program was:" >&5
104322 sed 's/^/| /' conftest.$ac_ext >&5
104324 eval "$as_ac_var=no"
104326 rm -f conftest.err conftest.$ac_objext \
104327 conftest$ac_exeext conftest.$ac_ext
104329 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104330 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104331 if test `eval echo '${'$as_ac_var'}'` = yes; then
104332 cat >>confdefs.h <<_ACEOF
104333 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104334 _ACEOF
104335 ac_XPG2funcs=yes
104337 ac_XPG2funcs=no
104342 LIBS="$ac_save_LIBS"
104344 if test x"$ac_has_iconv_h" = xyes &&
104345 test x"$ac_has_langinfo_h" = xyes &&
104346 test x"$ac_XPG2funcs" = xyes;
104349 cat >>confdefs.h <<\_ACEOF
104350 #define _GLIBCXX_USE_ICONV 1
104351 _ACEOF
104353 enable_iconv=yes
104356 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
104357 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
104358 echo "$as_me:$LINENO: result: $enable_iconv" >&5
104359 echo "${ECHO_T}$enable_iconv" >&6
104361 cat >>confdefs.h <<\_ACEOF
104362 #define HAVE_HYPOT 1
104363 _ACEOF
104365 cat >>confdefs.h <<\_ACEOF
104366 #define HAVE_ISINF 1
104367 _ACEOF
104369 cat >>confdefs.h <<\_ACEOF
104370 #define HAVE_ISNAN 1
104371 _ACEOF
104374 # For showmanyc_helper().
104377 for ac_header in sys/ioctl.h sys/filio.h
104379 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
104380 if eval "test \"\${$as_ac_Header+set}\" = set"; then
104381 echo "$as_me:$LINENO: checking for $ac_header" >&5
104382 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
104383 if eval "test \"\${$as_ac_Header+set}\" = set"; then
104384 echo $ECHO_N "(cached) $ECHO_C" >&6
104386 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
104387 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
104389 # Is the header compilable?
104390 echo "$as_me:$LINENO: checking $ac_header usability" >&5
104391 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
104392 cat >conftest.$ac_ext <<_ACEOF
104393 /* confdefs.h. */
104394 _ACEOF
104395 cat confdefs.h >>conftest.$ac_ext
104396 cat >>conftest.$ac_ext <<_ACEOF
104397 /* end confdefs.h. */
104398 $ac_includes_default
104399 #include <$ac_header>
104400 _ACEOF
104401 rm -f conftest.$ac_objext
104402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104403 (eval $ac_compile) 2>conftest.er1
104404 ac_status=$?
104405 grep -v '^ *+' conftest.er1 >conftest.err
104406 rm -f conftest.er1
104407 cat conftest.err >&5
104408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104409 (exit $ac_status); } &&
104410 { ac_try='test -z "$ac_c_werror_flag"
104411 || test ! -s conftest.err'
104412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104413 (eval $ac_try) 2>&5
104414 ac_status=$?
104415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104416 (exit $ac_status); }; } &&
104417 { ac_try='test -s conftest.$ac_objext'
104418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104419 (eval $ac_try) 2>&5
104420 ac_status=$?
104421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104422 (exit $ac_status); }; }; then
104423 ac_header_compiler=yes
104425 echo "$as_me: failed program was:" >&5
104426 sed 's/^/| /' conftest.$ac_ext >&5
104428 ac_header_compiler=no
104430 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104431 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
104432 echo "${ECHO_T}$ac_header_compiler" >&6
104434 # Is the header present?
104435 echo "$as_me:$LINENO: checking $ac_header presence" >&5
104436 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
104437 cat >conftest.$ac_ext <<_ACEOF
104438 /* confdefs.h. */
104439 _ACEOF
104440 cat confdefs.h >>conftest.$ac_ext
104441 cat >>conftest.$ac_ext <<_ACEOF
104442 /* end confdefs.h. */
104443 #include <$ac_header>
104444 _ACEOF
104445 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
104446 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
104447 ac_status=$?
104448 grep -v '^ *+' conftest.er1 >conftest.err
104449 rm -f conftest.er1
104450 cat conftest.err >&5
104451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104452 (exit $ac_status); } >/dev/null; then
104453 if test -s conftest.err; then
104454 ac_cpp_err=$ac_c_preproc_warn_flag
104455 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
104457 ac_cpp_err=
104460 ac_cpp_err=yes
104462 if test -z "$ac_cpp_err"; then
104463 ac_header_preproc=yes
104465 echo "$as_me: failed program was:" >&5
104466 sed 's/^/| /' conftest.$ac_ext >&5
104468 ac_header_preproc=no
104470 rm -f conftest.err conftest.$ac_ext
104471 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
104472 echo "${ECHO_T}$ac_header_preproc" >&6
104474 # So? What about this header?
104475 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
104476 yes:no: )
104477 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
104478 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
104479 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
104480 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
104481 ac_header_preproc=yes
104483 no:yes:* )
104484 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
104485 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
104486 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
104487 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
104488 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
104489 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
104490 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
104491 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
104492 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
104493 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
104494 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
104495 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
104497 cat <<\_ASBOX
104498 ## ----------------------------------------- ##
104499 ## Report this to the package-unused lists. ##
104500 ## ----------------------------------------- ##
104501 _ASBOX
104503 sed "s/^/$as_me: WARNING: /" >&2
104506 echo "$as_me:$LINENO: checking for $ac_header" >&5
104507 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
104508 if eval "test \"\${$as_ac_Header+set}\" = set"; then
104509 echo $ECHO_N "(cached) $ECHO_C" >&6
104511 eval "$as_ac_Header=\$ac_header_preproc"
104513 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
104514 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
104517 if test `eval echo '${'$as_ac_Header'}'` = yes; then
104518 cat >>confdefs.h <<_ACEOF
104519 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
104520 _ACEOF
104527 echo "$as_me:$LINENO: checking for poll" >&5
104528 echo $ECHO_N "checking for poll... $ECHO_C" >&6
104529 if test "${glibcxx_cv_POLL+set}" = set; then
104530 echo $ECHO_N "(cached) $ECHO_C" >&6
104533 if test x$gcc_no_link = xyes; then
104534 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104535 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104536 { (exit 1); exit 1; }; }
104538 cat >conftest.$ac_ext <<_ACEOF
104539 /* confdefs.h. */
104540 _ACEOF
104541 cat confdefs.h >>conftest.$ac_ext
104542 cat >>conftest.$ac_ext <<_ACEOF
104543 /* end confdefs.h. */
104544 #include <poll.h>
104546 main ()
104548 struct pollfd pfd[1];
104549 pfd[0].events = POLLIN;
104550 poll(pfd, 1, 0);
104552 return 0;
104554 _ACEOF
104555 rm -f conftest.$ac_objext conftest$ac_exeext
104556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104557 (eval $ac_link) 2>conftest.er1
104558 ac_status=$?
104559 grep -v '^ *+' conftest.er1 >conftest.err
104560 rm -f conftest.er1
104561 cat conftest.err >&5
104562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104563 (exit $ac_status); } &&
104564 { ac_try='test -z "$ac_c_werror_flag"
104565 || test ! -s conftest.err'
104566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104567 (eval $ac_try) 2>&5
104568 ac_status=$?
104569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104570 (exit $ac_status); }; } &&
104571 { ac_try='test -s conftest$ac_exeext'
104572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104573 (eval $ac_try) 2>&5
104574 ac_status=$?
104575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104576 (exit $ac_status); }; }; then
104577 glibcxx_cv_POLL=yes
104579 echo "$as_me: failed program was:" >&5
104580 sed 's/^/| /' conftest.$ac_ext >&5
104582 glibcxx_cv_POLL=no
104584 rm -f conftest.err conftest.$ac_objext \
104585 conftest$ac_exeext conftest.$ac_ext
104589 if test $glibcxx_cv_POLL = yes; then
104591 cat >>confdefs.h <<\_ACEOF
104592 #define HAVE_POLL 1
104593 _ACEOF
104596 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
104597 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
104600 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
104601 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
104602 if test "${glibcxx_cv_S_ISREG+set}" = set; then
104603 echo $ECHO_N "(cached) $ECHO_C" >&6
104606 if test x$gcc_no_link = xyes; then
104607 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104608 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104609 { (exit 1); exit 1; }; }
104611 cat >conftest.$ac_ext <<_ACEOF
104612 /* confdefs.h. */
104613 _ACEOF
104614 cat confdefs.h >>conftest.$ac_ext
104615 cat >>conftest.$ac_ext <<_ACEOF
104616 /* end confdefs.h. */
104617 #include <sys/stat.h>
104619 main ()
104621 struct stat buffer;
104622 fstat(0, &buffer);
104623 S_ISREG(buffer.st_mode);
104625 return 0;
104627 _ACEOF
104628 rm -f conftest.$ac_objext conftest$ac_exeext
104629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104630 (eval $ac_link) 2>conftest.er1
104631 ac_status=$?
104632 grep -v '^ *+' conftest.er1 >conftest.err
104633 rm -f conftest.er1
104634 cat conftest.err >&5
104635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104636 (exit $ac_status); } &&
104637 { ac_try='test -z "$ac_c_werror_flag"
104638 || test ! -s conftest.err'
104639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104640 (eval $ac_try) 2>&5
104641 ac_status=$?
104642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104643 (exit $ac_status); }; } &&
104644 { ac_try='test -s conftest$ac_exeext'
104645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104646 (eval $ac_try) 2>&5
104647 ac_status=$?
104648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104649 (exit $ac_status); }; }; then
104650 glibcxx_cv_S_ISREG=yes
104652 echo "$as_me: failed program was:" >&5
104653 sed 's/^/| /' conftest.$ac_ext >&5
104655 glibcxx_cv_S_ISREG=no
104657 rm -f conftest.err conftest.$ac_objext \
104658 conftest$ac_exeext conftest.$ac_ext
104662 if test "${glibcxx_cv_S_IFREG+set}" = set; then
104663 echo $ECHO_N "(cached) $ECHO_C" >&6
104666 if test x$gcc_no_link = xyes; then
104667 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104668 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104669 { (exit 1); exit 1; }; }
104671 cat >conftest.$ac_ext <<_ACEOF
104672 /* confdefs.h. */
104673 _ACEOF
104674 cat confdefs.h >>conftest.$ac_ext
104675 cat >>conftest.$ac_ext <<_ACEOF
104676 /* end confdefs.h. */
104677 #include <sys/stat.h>
104679 main ()
104681 struct stat buffer;
104682 fstat(0, &buffer);
104683 S_IFREG & buffer.st_mode;
104685 return 0;
104687 _ACEOF
104688 rm -f conftest.$ac_objext conftest$ac_exeext
104689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104690 (eval $ac_link) 2>conftest.er1
104691 ac_status=$?
104692 grep -v '^ *+' conftest.er1 >conftest.err
104693 rm -f conftest.er1
104694 cat conftest.err >&5
104695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104696 (exit $ac_status); } &&
104697 { ac_try='test -z "$ac_c_werror_flag"
104698 || test ! -s conftest.err'
104699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104700 (eval $ac_try) 2>&5
104701 ac_status=$?
104702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104703 (exit $ac_status); }; } &&
104704 { ac_try='test -s conftest$ac_exeext'
104705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104706 (eval $ac_try) 2>&5
104707 ac_status=$?
104708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104709 (exit $ac_status); }; }; then
104710 glibcxx_cv_S_IFREG=yes
104712 echo "$as_me: failed program was:" >&5
104713 sed 's/^/| /' conftest.$ac_ext >&5
104715 glibcxx_cv_S_IFREG=no
104717 rm -f conftest.err conftest.$ac_objext \
104718 conftest$ac_exeext conftest.$ac_ext
104722 res=no
104723 if test $glibcxx_cv_S_ISREG = yes; then
104725 cat >>confdefs.h <<\_ACEOF
104726 #define HAVE_S_ISREG 1
104727 _ACEOF
104729 res=S_ISREG
104730 elif test $glibcxx_cv_S_IFREG = yes; then
104732 cat >>confdefs.h <<\_ACEOF
104733 #define HAVE_S_IFREG 1
104734 _ACEOF
104736 res=S_IFREG
104738 echo "$as_me:$LINENO: result: $res" >&5
104739 echo "${ECHO_T}$res" >&6
104742 # For xsputn_2().
104744 for ac_header in sys/uio.h
104746 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
104747 if eval "test \"\${$as_ac_Header+set}\" = set"; then
104748 echo "$as_me:$LINENO: checking for $ac_header" >&5
104749 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
104750 if eval "test \"\${$as_ac_Header+set}\" = set"; then
104751 echo $ECHO_N "(cached) $ECHO_C" >&6
104753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
104754 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
104756 # Is the header compilable?
104757 echo "$as_me:$LINENO: checking $ac_header usability" >&5
104758 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
104759 cat >conftest.$ac_ext <<_ACEOF
104760 /* confdefs.h. */
104761 _ACEOF
104762 cat confdefs.h >>conftest.$ac_ext
104763 cat >>conftest.$ac_ext <<_ACEOF
104764 /* end confdefs.h. */
104765 $ac_includes_default
104766 #include <$ac_header>
104767 _ACEOF
104768 rm -f conftest.$ac_objext
104769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104770 (eval $ac_compile) 2>conftest.er1
104771 ac_status=$?
104772 grep -v '^ *+' conftest.er1 >conftest.err
104773 rm -f conftest.er1
104774 cat conftest.err >&5
104775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104776 (exit $ac_status); } &&
104777 { ac_try='test -z "$ac_c_werror_flag"
104778 || test ! -s conftest.err'
104779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104780 (eval $ac_try) 2>&5
104781 ac_status=$?
104782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104783 (exit $ac_status); }; } &&
104784 { ac_try='test -s conftest.$ac_objext'
104785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104786 (eval $ac_try) 2>&5
104787 ac_status=$?
104788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104789 (exit $ac_status); }; }; then
104790 ac_header_compiler=yes
104792 echo "$as_me: failed program was:" >&5
104793 sed 's/^/| /' conftest.$ac_ext >&5
104795 ac_header_compiler=no
104797 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104798 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
104799 echo "${ECHO_T}$ac_header_compiler" >&6
104801 # Is the header present?
104802 echo "$as_me:$LINENO: checking $ac_header presence" >&5
104803 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
104804 cat >conftest.$ac_ext <<_ACEOF
104805 /* confdefs.h. */
104806 _ACEOF
104807 cat confdefs.h >>conftest.$ac_ext
104808 cat >>conftest.$ac_ext <<_ACEOF
104809 /* end confdefs.h. */
104810 #include <$ac_header>
104811 _ACEOF
104812 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
104813 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
104814 ac_status=$?
104815 grep -v '^ *+' conftest.er1 >conftest.err
104816 rm -f conftest.er1
104817 cat conftest.err >&5
104818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104819 (exit $ac_status); } >/dev/null; then
104820 if test -s conftest.err; then
104821 ac_cpp_err=$ac_c_preproc_warn_flag
104822 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
104824 ac_cpp_err=
104827 ac_cpp_err=yes
104829 if test -z "$ac_cpp_err"; then
104830 ac_header_preproc=yes
104832 echo "$as_me: failed program was:" >&5
104833 sed 's/^/| /' conftest.$ac_ext >&5
104835 ac_header_preproc=no
104837 rm -f conftest.err conftest.$ac_ext
104838 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
104839 echo "${ECHO_T}$ac_header_preproc" >&6
104841 # So? What about this header?
104842 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
104843 yes:no: )
104844 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
104845 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
104846 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
104847 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
104848 ac_header_preproc=yes
104850 no:yes:* )
104851 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
104852 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
104853 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
104854 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
104855 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
104856 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
104857 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
104858 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
104859 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
104860 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
104861 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
104862 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
104864 cat <<\_ASBOX
104865 ## ----------------------------------------- ##
104866 ## Report this to the package-unused lists. ##
104867 ## ----------------------------------------- ##
104868 _ASBOX
104870 sed "s/^/$as_me: WARNING: /" >&2
104873 echo "$as_me:$LINENO: checking for $ac_header" >&5
104874 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
104875 if eval "test \"\${$as_ac_Header+set}\" = set"; then
104876 echo $ECHO_N "(cached) $ECHO_C" >&6
104878 eval "$as_ac_Header=\$ac_header_preproc"
104880 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
104881 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
104884 if test `eval echo '${'$as_ac_Header'}'` = yes; then
104885 cat >>confdefs.h <<_ACEOF
104886 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
104887 _ACEOF
104894 echo "$as_me:$LINENO: checking for writev" >&5
104895 echo $ECHO_N "checking for writev... $ECHO_C" >&6
104896 if test "${glibcxx_cv_WRITEV+set}" = set; then
104897 echo $ECHO_N "(cached) $ECHO_C" >&6
104900 if test x$gcc_no_link = xyes; then
104901 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104902 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104903 { (exit 1); exit 1; }; }
104905 cat >conftest.$ac_ext <<_ACEOF
104906 /* confdefs.h. */
104907 _ACEOF
104908 cat confdefs.h >>conftest.$ac_ext
104909 cat >>conftest.$ac_ext <<_ACEOF
104910 /* end confdefs.h. */
104911 #include <sys/uio.h>
104913 main ()
104915 struct iovec iov[2];
104916 writev(0, iov, 0);
104918 return 0;
104920 _ACEOF
104921 rm -f conftest.$ac_objext conftest$ac_exeext
104922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104923 (eval $ac_link) 2>conftest.er1
104924 ac_status=$?
104925 grep -v '^ *+' conftest.er1 >conftest.err
104926 rm -f conftest.er1
104927 cat conftest.err >&5
104928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104929 (exit $ac_status); } &&
104930 { ac_try='test -z "$ac_c_werror_flag"
104931 || test ! -s conftest.err'
104932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104933 (eval $ac_try) 2>&5
104934 ac_status=$?
104935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104936 (exit $ac_status); }; } &&
104937 { ac_try='test -s conftest$ac_exeext'
104938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104939 (eval $ac_try) 2>&5
104940 ac_status=$?
104941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104942 (exit $ac_status); }; }; then
104943 glibcxx_cv_WRITEV=yes
104945 echo "$as_me: failed program was:" >&5
104946 sed 's/^/| /' conftest.$ac_ext >&5
104948 glibcxx_cv_WRITEV=no
104950 rm -f conftest.err conftest.$ac_objext \
104951 conftest$ac_exeext conftest.$ac_ext
104955 if test $glibcxx_cv_WRITEV = yes; then
104957 cat >>confdefs.h <<\_ACEOF
104958 #define HAVE_WRITEV 1
104959 _ACEOF
104962 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
104963 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
104966 *-qnx6.1* | *-qnx6.2*)
104967 SECTION_FLAGS='-ffunction-sections -fdata-sections'
104970 # If we're not using GNU ld, then there's no point in even trying these
104971 # tests. Check for that first. We should have already tested for gld
104972 # by now (in libtool), but require it now just to be safe...
104973 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
104974 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
104978 # The name set by libtool depends on the version of libtool. Shame on us
104979 # for depending on an impl detail, but c'est la vie. Older versions used
104980 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
104981 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
104982 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
104983 # set (hence we're using an older libtool), then set it.
104984 if test x${with_gnu_ld+set} != xset; then
104985 if test x${ac_cv_prog_gnu_ld+set} != xset; then
104986 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
104987 with_gnu_ld=no
104989 with_gnu_ld=$ac_cv_prog_gnu_ld
104993 # Start by getting the version number. I think the libtool test already
104994 # does some of this, but throws away the result.
104995 echo "$as_me:$LINENO: checking for ld version" >&5
104996 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
104998 ldver=`$LD --version 2>/dev/null | head -1 | \
104999 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
105001 glibcxx_gnu_ld_version=`echo $ldver | \
105002 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
105003 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
105004 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
105006 # Set --gc-sections.
105007 glibcxx_gcsections_min_ld=21602
105008 if test x"$with_gnu_ld" = x"yes" &&
105009 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
105011 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
105012 # NB: This flag only works reliably after 2.16.1. Configure tests
105013 # for this are difficult, so hard wire a value that should work.
105015 # All these tests are for C++, but run with the "C" compiler driver.
105016 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
105017 ac_test_CFLAGS="${CFLAGS+set}"
105018 ac_save_CFLAGS="$CFLAGS"
105019 CFLAGS='-x c++ -Wl,--gc-sections'
105021 # Check for -Wl,--gc-sections
105022 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
105023 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
105024 if test x$gcc_no_link = xyes; then
105025 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105026 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105027 { (exit 1); exit 1; }; }
105029 cat >conftest.$ac_ext <<_ACEOF
105030 /* confdefs.h. */
105031 _ACEOF
105032 cat confdefs.h >>conftest.$ac_ext
105033 cat >>conftest.$ac_ext <<_ACEOF
105034 /* end confdefs.h. */
105035 int one(void) { return 1; }
105036 int two(void) { return 2; }
105039 main ()
105041 two();
105043 return 0;
105045 _ACEOF
105046 rm -f conftest.$ac_objext conftest$ac_exeext
105047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105048 (eval $ac_link) 2>conftest.er1
105049 ac_status=$?
105050 grep -v '^ *+' conftest.er1 >conftest.err
105051 rm -f conftest.er1
105052 cat conftest.err >&5
105053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105054 (exit $ac_status); } &&
105055 { ac_try='test -z "$ac_c_werror_flag"
105056 || test ! -s conftest.err'
105057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105058 (eval $ac_try) 2>&5
105059 ac_status=$?
105060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105061 (exit $ac_status); }; } &&
105062 { ac_try='test -s conftest$ac_exeext'
105063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105064 (eval $ac_try) 2>&5
105065 ac_status=$?
105066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105067 (exit $ac_status); }; }; then
105068 ac_gcsections=yes
105070 echo "$as_me: failed program was:" >&5
105071 sed 's/^/| /' conftest.$ac_ext >&5
105073 ac_gcsections=no
105075 rm -f conftest.err conftest.$ac_objext \
105076 conftest$ac_exeext conftest.$ac_ext
105077 if test "$ac_gcsections" = "yes"; then
105078 rm -f conftest.c
105079 touch conftest.c
105080 if $CC -c conftest.c; then
105081 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
105082 grep "Warning: gc-sections option ignored" > /dev/null; then
105083 ac_gcsections=no
105086 rm -f conftest.c conftest.o conftest
105088 if test "$ac_gcsections" = "yes"; then
105089 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
105091 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
105092 echo "${ECHO_T}$ac_gcsections" >&6
105094 if test "$ac_test_CFLAGS" = set; then
105095 CFLAGS="$ac_save_CFLAGS"
105097 # this is the suspicious part
105098 CFLAGS=''
105102 # Set -z,relro.
105103 # Note this is only for shared objects.
105104 ac_ld_relro=no
105105 if test x"$with_gnu_ld" = x"yes"; then
105106 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
105107 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
105108 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
105109 if test -n "$cxx_z_relo"; then
105110 OPT_LDFLAGS="-Wl,-z,relro"
105111 ac_ld_relro=yes
105113 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
105114 echo "${ECHO_T}$ac_ld_relro" >&6
105117 # Set linker optimization flags.
105118 if test x"$with_gnu_ld" = x"yes"; then
105119 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
105127 echo "$as_me:$LINENO: checking for main in -lm" >&5
105128 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
105129 if test "${ac_cv_lib_m_main+set}" = set; then
105130 echo $ECHO_N "(cached) $ECHO_C" >&6
105132 ac_check_lib_save_LIBS=$LIBS
105133 LIBS="-lm $LIBS"
105134 if test x$gcc_no_link = xyes; then
105135 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105136 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105137 { (exit 1); exit 1; }; }
105139 cat >conftest.$ac_ext <<_ACEOF
105140 /* confdefs.h. */
105141 _ACEOF
105142 cat confdefs.h >>conftest.$ac_ext
105143 cat >>conftest.$ac_ext <<_ACEOF
105144 /* end confdefs.h. */
105148 main ()
105150 main ();
105152 return 0;
105154 _ACEOF
105155 rm -f conftest.$ac_objext conftest$ac_exeext
105156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105157 (eval $ac_link) 2>conftest.er1
105158 ac_status=$?
105159 grep -v '^ *+' conftest.er1 >conftest.err
105160 rm -f conftest.er1
105161 cat conftest.err >&5
105162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105163 (exit $ac_status); } &&
105164 { ac_try='test -z "$ac_c_werror_flag"
105165 || test ! -s conftest.err'
105166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105167 (eval $ac_try) 2>&5
105168 ac_status=$?
105169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105170 (exit $ac_status); }; } &&
105171 { ac_try='test -s conftest$ac_exeext'
105172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105173 (eval $ac_try) 2>&5
105174 ac_status=$?
105175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105176 (exit $ac_status); }; }; then
105177 ac_cv_lib_m_main=yes
105179 echo "$as_me: failed program was:" >&5
105180 sed 's/^/| /' conftest.$ac_ext >&5
105182 ac_cv_lib_m_main=no
105184 rm -f conftest.err conftest.$ac_objext \
105185 conftest$ac_exeext conftest.$ac_ext
105186 LIBS=$ac_check_lib_save_LIBS
105188 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
105189 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
105190 if test $ac_cv_lib_m_main = yes; then
105191 cat >>confdefs.h <<_ACEOF
105192 #define HAVE_LIBM 1
105193 _ACEOF
105195 LIBS="-lm $LIBS"
105200 for ac_func in copysignf
105202 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105203 echo "$as_me:$LINENO: checking for $ac_func" >&5
105204 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105205 if eval "test \"\${$as_ac_var+set}\" = set"; then
105206 echo $ECHO_N "(cached) $ECHO_C" >&6
105208 if test x$gcc_no_link = xyes; then
105209 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105210 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105211 { (exit 1); exit 1; }; }
105213 cat >conftest.$ac_ext <<_ACEOF
105214 /* confdefs.h. */
105215 _ACEOF
105216 cat confdefs.h >>conftest.$ac_ext
105217 cat >>conftest.$ac_ext <<_ACEOF
105218 /* end confdefs.h. */
105219 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105220 For example, HP-UX 11i <limits.h> declares gettimeofday. */
105221 #define $ac_func innocuous_$ac_func
105223 /* System header to define __stub macros and hopefully few prototypes,
105224 which can conflict with char $ac_func (); below.
105225 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105226 <limits.h> exists even on freestanding compilers. */
105228 #ifdef __STDC__
105229 # include <limits.h>
105230 #else
105231 # include <assert.h>
105232 #endif
105234 #undef $ac_func
105236 /* Override any gcc2 internal prototype to avoid an error. */
105237 #ifdef __cplusplus
105238 extern "C"
105240 #endif
105241 /* We use char because int might match the return type of a gcc2
105242 builtin and then its argument prototype would still apply. */
105243 char $ac_func ();
105244 /* The GNU C library defines this for functions which it implements
105245 to always fail with ENOSYS. Some functions are actually named
105246 something starting with __ and the normal name is an alias. */
105247 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105248 choke me
105249 #else
105250 char (*f) () = $ac_func;
105251 #endif
105252 #ifdef __cplusplus
105254 #endif
105257 main ()
105259 return f != $ac_func;
105261 return 0;
105263 _ACEOF
105264 rm -f conftest.$ac_objext conftest$ac_exeext
105265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105266 (eval $ac_link) 2>conftest.er1
105267 ac_status=$?
105268 grep -v '^ *+' conftest.er1 >conftest.err
105269 rm -f conftest.er1
105270 cat conftest.err >&5
105271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105272 (exit $ac_status); } &&
105273 { ac_try='test -z "$ac_c_werror_flag"
105274 || test ! -s conftest.err'
105275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105276 (eval $ac_try) 2>&5
105277 ac_status=$?
105278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105279 (exit $ac_status); }; } &&
105280 { ac_try='test -s conftest$ac_exeext'
105281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105282 (eval $ac_try) 2>&5
105283 ac_status=$?
105284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105285 (exit $ac_status); }; }; then
105286 eval "$as_ac_var=yes"
105288 echo "$as_me: failed program was:" >&5
105289 sed 's/^/| /' conftest.$ac_ext >&5
105291 eval "$as_ac_var=no"
105293 rm -f conftest.err conftest.$ac_objext \
105294 conftest$ac_exeext conftest.$ac_ext
105296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105297 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105298 if test `eval echo '${'$as_ac_var'}'` = yes; then
105299 cat >>confdefs.h <<_ACEOF
105300 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105301 _ACEOF
105304 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
105310 for ac_func in __signbit
105312 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105313 echo "$as_me:$LINENO: checking for $ac_func" >&5
105314 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105315 if eval "test \"\${$as_ac_var+set}\" = set"; then
105316 echo $ECHO_N "(cached) $ECHO_C" >&6
105318 if test x$gcc_no_link = xyes; then
105319 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105320 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105321 { (exit 1); exit 1; }; }
105323 cat >conftest.$ac_ext <<_ACEOF
105324 /* confdefs.h. */
105325 _ACEOF
105326 cat confdefs.h >>conftest.$ac_ext
105327 cat >>conftest.$ac_ext <<_ACEOF
105328 /* end confdefs.h. */
105329 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105330 For example, HP-UX 11i <limits.h> declares gettimeofday. */
105331 #define $ac_func innocuous_$ac_func
105333 /* System header to define __stub macros and hopefully few prototypes,
105334 which can conflict with char $ac_func (); below.
105335 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105336 <limits.h> exists even on freestanding compilers. */
105338 #ifdef __STDC__
105339 # include <limits.h>
105340 #else
105341 # include <assert.h>
105342 #endif
105344 #undef $ac_func
105346 /* Override any gcc2 internal prototype to avoid an error. */
105347 #ifdef __cplusplus
105348 extern "C"
105350 #endif
105351 /* We use char because int might match the return type of a gcc2
105352 builtin and then its argument prototype would still apply. */
105353 char $ac_func ();
105354 /* The GNU C library defines this for functions which it implements
105355 to always fail with ENOSYS. Some functions are actually named
105356 something starting with __ and the normal name is an alias. */
105357 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105358 choke me
105359 #else
105360 char (*f) () = $ac_func;
105361 #endif
105362 #ifdef __cplusplus
105364 #endif
105367 main ()
105369 return f != $ac_func;
105371 return 0;
105373 _ACEOF
105374 rm -f conftest.$ac_objext conftest$ac_exeext
105375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105376 (eval $ac_link) 2>conftest.er1
105377 ac_status=$?
105378 grep -v '^ *+' conftest.er1 >conftest.err
105379 rm -f conftest.er1
105380 cat conftest.err >&5
105381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105382 (exit $ac_status); } &&
105383 { ac_try='test -z "$ac_c_werror_flag"
105384 || test ! -s conftest.err'
105385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105386 (eval $ac_try) 2>&5
105387 ac_status=$?
105388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105389 (exit $ac_status); }; } &&
105390 { ac_try='test -s conftest$ac_exeext'
105391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105392 (eval $ac_try) 2>&5
105393 ac_status=$?
105394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105395 (exit $ac_status); }; }; then
105396 eval "$as_ac_var=yes"
105398 echo "$as_me: failed program was:" >&5
105399 sed 's/^/| /' conftest.$ac_ext >&5
105401 eval "$as_ac_var=no"
105403 rm -f conftest.err conftest.$ac_objext \
105404 conftest$ac_exeext conftest.$ac_ext
105406 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105407 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105408 if test `eval echo '${'$as_ac_var'}'` = yes; then
105409 cat >>confdefs.h <<_ACEOF
105410 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105411 _ACEOF
105414 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
105420 for ac_func in __signbitf
105422 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105423 echo "$as_me:$LINENO: checking for $ac_func" >&5
105424 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105425 if eval "test \"\${$as_ac_var+set}\" = set"; then
105426 echo $ECHO_N "(cached) $ECHO_C" >&6
105428 if test x$gcc_no_link = xyes; then
105429 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105430 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105431 { (exit 1); exit 1; }; }
105433 cat >conftest.$ac_ext <<_ACEOF
105434 /* confdefs.h. */
105435 _ACEOF
105436 cat confdefs.h >>conftest.$ac_ext
105437 cat >>conftest.$ac_ext <<_ACEOF
105438 /* end confdefs.h. */
105439 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105440 For example, HP-UX 11i <limits.h> declares gettimeofday. */
105441 #define $ac_func innocuous_$ac_func
105443 /* System header to define __stub macros and hopefully few prototypes,
105444 which can conflict with char $ac_func (); below.
105445 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105446 <limits.h> exists even on freestanding compilers. */
105448 #ifdef __STDC__
105449 # include <limits.h>
105450 #else
105451 # include <assert.h>
105452 #endif
105454 #undef $ac_func
105456 /* Override any gcc2 internal prototype to avoid an error. */
105457 #ifdef __cplusplus
105458 extern "C"
105460 #endif
105461 /* We use char because int might match the return type of a gcc2
105462 builtin and then its argument prototype would still apply. */
105463 char $ac_func ();
105464 /* The GNU C library defines this for functions which it implements
105465 to always fail with ENOSYS. Some functions are actually named
105466 something starting with __ and the normal name is an alias. */
105467 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105468 choke me
105469 #else
105470 char (*f) () = $ac_func;
105471 #endif
105472 #ifdef __cplusplus
105474 #endif
105477 main ()
105479 return f != $ac_func;
105481 return 0;
105483 _ACEOF
105484 rm -f conftest.$ac_objext conftest$ac_exeext
105485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105486 (eval $ac_link) 2>conftest.er1
105487 ac_status=$?
105488 grep -v '^ *+' conftest.er1 >conftest.err
105489 rm -f conftest.er1
105490 cat conftest.err >&5
105491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105492 (exit $ac_status); } &&
105493 { ac_try='test -z "$ac_c_werror_flag"
105494 || test ! -s conftest.err'
105495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105496 (eval $ac_try) 2>&5
105497 ac_status=$?
105498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105499 (exit $ac_status); }; } &&
105500 { ac_try='test -s conftest$ac_exeext'
105501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105502 (eval $ac_try) 2>&5
105503 ac_status=$?
105504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105505 (exit $ac_status); }; }; then
105506 eval "$as_ac_var=yes"
105508 echo "$as_me: failed program was:" >&5
105509 sed 's/^/| /' conftest.$ac_ext >&5
105511 eval "$as_ac_var=no"
105513 rm -f conftest.err conftest.$ac_objext \
105514 conftest$ac_exeext conftest.$ac_ext
105516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105517 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105518 if test `eval echo '${'$as_ac_var'}'` = yes; then
105519 cat >>confdefs.h <<_ACEOF
105520 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105521 _ACEOF
105524 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
105529 if test x$ac_cv_func_copysignl = x"yes"; then
105531 for ac_func in __signbitl
105533 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105534 echo "$as_me:$LINENO: checking for $ac_func" >&5
105535 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105536 if eval "test \"\${$as_ac_var+set}\" = set"; then
105537 echo $ECHO_N "(cached) $ECHO_C" >&6
105539 if test x$gcc_no_link = xyes; then
105540 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105541 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105542 { (exit 1); exit 1; }; }
105544 cat >conftest.$ac_ext <<_ACEOF
105545 /* confdefs.h. */
105546 _ACEOF
105547 cat confdefs.h >>conftest.$ac_ext
105548 cat >>conftest.$ac_ext <<_ACEOF
105549 /* end confdefs.h. */
105550 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105551 For example, HP-UX 11i <limits.h> declares gettimeofday. */
105552 #define $ac_func innocuous_$ac_func
105554 /* System header to define __stub macros and hopefully few prototypes,
105555 which can conflict with char $ac_func (); below.
105556 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105557 <limits.h> exists even on freestanding compilers. */
105559 #ifdef __STDC__
105560 # include <limits.h>
105561 #else
105562 # include <assert.h>
105563 #endif
105565 #undef $ac_func
105567 /* Override any gcc2 internal prototype to avoid an error. */
105568 #ifdef __cplusplus
105569 extern "C"
105571 #endif
105572 /* We use char because int might match the return type of a gcc2
105573 builtin and then its argument prototype would still apply. */
105574 char $ac_func ();
105575 /* The GNU C library defines this for functions which it implements
105576 to always fail with ENOSYS. Some functions are actually named
105577 something starting with __ and the normal name is an alias. */
105578 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105579 choke me
105580 #else
105581 char (*f) () = $ac_func;
105582 #endif
105583 #ifdef __cplusplus
105585 #endif
105588 main ()
105590 return f != $ac_func;
105592 return 0;
105594 _ACEOF
105595 rm -f conftest.$ac_objext conftest$ac_exeext
105596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105597 (eval $ac_link) 2>conftest.er1
105598 ac_status=$?
105599 grep -v '^ *+' conftest.er1 >conftest.err
105600 rm -f conftest.er1
105601 cat conftest.err >&5
105602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105603 (exit $ac_status); } &&
105604 { ac_try='test -z "$ac_c_werror_flag"
105605 || test ! -s conftest.err'
105606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105607 (eval $ac_try) 2>&5
105608 ac_status=$?
105609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105610 (exit $ac_status); }; } &&
105611 { ac_try='test -s conftest$ac_exeext'
105612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105613 (eval $ac_try) 2>&5
105614 ac_status=$?
105615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105616 (exit $ac_status); }; }; then
105617 eval "$as_ac_var=yes"
105619 echo "$as_me: failed program was:" >&5
105620 sed 's/^/| /' conftest.$ac_ext >&5
105622 eval "$as_ac_var=no"
105624 rm -f conftest.err conftest.$ac_objext \
105625 conftest$ac_exeext conftest.$ac_ext
105627 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105628 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105629 if test `eval echo '${'$as_ac_var'}'` = yes; then
105630 cat >>confdefs.h <<_ACEOF
105631 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105632 _ACEOF
105635 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
105641 # Used in libmath/Makefile.am.
105642 if test -n "$LIBMATHOBJS"; then
105643 need_libmath=yes
105649 enable_iconv=no
105650 # Only continue checking if the ISO C99 headers exist and support is on.
105651 if test x"$enable_wchar_t" = xyes; then
105653 # Use iconv for wchar_t to char conversions. As such, check for
105654 # X/Open Portability Guide, version 2 features (XPG2).
105655 if test "${ac_cv_header_iconv_h+set}" = set; then
105656 echo "$as_me:$LINENO: checking for iconv.h" >&5
105657 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
105658 if test "${ac_cv_header_iconv_h+set}" = set; then
105659 echo $ECHO_N "(cached) $ECHO_C" >&6
105661 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
105662 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
105664 # Is the header compilable?
105665 echo "$as_me:$LINENO: checking iconv.h usability" >&5
105666 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
105667 cat >conftest.$ac_ext <<_ACEOF
105668 /* confdefs.h. */
105669 _ACEOF
105670 cat confdefs.h >>conftest.$ac_ext
105671 cat >>conftest.$ac_ext <<_ACEOF
105672 /* end confdefs.h. */
105673 $ac_includes_default
105674 #include <iconv.h>
105675 _ACEOF
105676 rm -f conftest.$ac_objext
105677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105678 (eval $ac_compile) 2>conftest.er1
105679 ac_status=$?
105680 grep -v '^ *+' conftest.er1 >conftest.err
105681 rm -f conftest.er1
105682 cat conftest.err >&5
105683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105684 (exit $ac_status); } &&
105685 { ac_try='test -z "$ac_c_werror_flag"
105686 || test ! -s conftest.err'
105687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105688 (eval $ac_try) 2>&5
105689 ac_status=$?
105690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105691 (exit $ac_status); }; } &&
105692 { ac_try='test -s conftest.$ac_objext'
105693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105694 (eval $ac_try) 2>&5
105695 ac_status=$?
105696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105697 (exit $ac_status); }; }; then
105698 ac_header_compiler=yes
105700 echo "$as_me: failed program was:" >&5
105701 sed 's/^/| /' conftest.$ac_ext >&5
105703 ac_header_compiler=no
105705 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105706 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
105707 echo "${ECHO_T}$ac_header_compiler" >&6
105709 # Is the header present?
105710 echo "$as_me:$LINENO: checking iconv.h presence" >&5
105711 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
105712 cat >conftest.$ac_ext <<_ACEOF
105713 /* confdefs.h. */
105714 _ACEOF
105715 cat confdefs.h >>conftest.$ac_ext
105716 cat >>conftest.$ac_ext <<_ACEOF
105717 /* end confdefs.h. */
105718 #include <iconv.h>
105719 _ACEOF
105720 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
105721 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
105722 ac_status=$?
105723 grep -v '^ *+' conftest.er1 >conftest.err
105724 rm -f conftest.er1
105725 cat conftest.err >&5
105726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105727 (exit $ac_status); } >/dev/null; then
105728 if test -s conftest.err; then
105729 ac_cpp_err=$ac_c_preproc_warn_flag
105730 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
105732 ac_cpp_err=
105735 ac_cpp_err=yes
105737 if test -z "$ac_cpp_err"; then
105738 ac_header_preproc=yes
105740 echo "$as_me: failed program was:" >&5
105741 sed 's/^/| /' conftest.$ac_ext >&5
105743 ac_header_preproc=no
105745 rm -f conftest.err conftest.$ac_ext
105746 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
105747 echo "${ECHO_T}$ac_header_preproc" >&6
105749 # So? What about this header?
105750 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
105751 yes:no: )
105752 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
105753 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
105754 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
105755 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
105756 ac_header_preproc=yes
105758 no:yes:* )
105759 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
105760 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
105761 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
105762 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
105763 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
105764 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
105765 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
105766 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
105767 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
105768 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
105769 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
105770 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
105772 cat <<\_ASBOX
105773 ## ----------------------------------------- ##
105774 ## Report this to the package-unused lists. ##
105775 ## ----------------------------------------- ##
105776 _ASBOX
105778 sed "s/^/$as_me: WARNING: /" >&2
105781 echo "$as_me:$LINENO: checking for iconv.h" >&5
105782 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
105783 if test "${ac_cv_header_iconv_h+set}" = set; then
105784 echo $ECHO_N "(cached) $ECHO_C" >&6
105786 ac_cv_header_iconv_h=$ac_header_preproc
105788 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
105789 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
105792 if test $ac_cv_header_iconv_h = yes; then
105793 ac_has_iconv_h=yes
105795 ac_has_iconv_h=no
105799 if test "${ac_cv_header_langinfo_h+set}" = set; then
105800 echo "$as_me:$LINENO: checking for langinfo.h" >&5
105801 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
105802 if test "${ac_cv_header_langinfo_h+set}" = set; then
105803 echo $ECHO_N "(cached) $ECHO_C" >&6
105805 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
105806 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
105808 # Is the header compilable?
105809 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
105810 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
105811 cat >conftest.$ac_ext <<_ACEOF
105812 /* confdefs.h. */
105813 _ACEOF
105814 cat confdefs.h >>conftest.$ac_ext
105815 cat >>conftest.$ac_ext <<_ACEOF
105816 /* end confdefs.h. */
105817 $ac_includes_default
105818 #include <langinfo.h>
105819 _ACEOF
105820 rm -f conftest.$ac_objext
105821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105822 (eval $ac_compile) 2>conftest.er1
105823 ac_status=$?
105824 grep -v '^ *+' conftest.er1 >conftest.err
105825 rm -f conftest.er1
105826 cat conftest.err >&5
105827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105828 (exit $ac_status); } &&
105829 { ac_try='test -z "$ac_c_werror_flag"
105830 || test ! -s conftest.err'
105831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105832 (eval $ac_try) 2>&5
105833 ac_status=$?
105834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105835 (exit $ac_status); }; } &&
105836 { ac_try='test -s conftest.$ac_objext'
105837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105838 (eval $ac_try) 2>&5
105839 ac_status=$?
105840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105841 (exit $ac_status); }; }; then
105842 ac_header_compiler=yes
105844 echo "$as_me: failed program was:" >&5
105845 sed 's/^/| /' conftest.$ac_ext >&5
105847 ac_header_compiler=no
105849 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105850 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
105851 echo "${ECHO_T}$ac_header_compiler" >&6
105853 # Is the header present?
105854 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
105855 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
105856 cat >conftest.$ac_ext <<_ACEOF
105857 /* confdefs.h. */
105858 _ACEOF
105859 cat confdefs.h >>conftest.$ac_ext
105860 cat >>conftest.$ac_ext <<_ACEOF
105861 /* end confdefs.h. */
105862 #include <langinfo.h>
105863 _ACEOF
105864 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
105865 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
105866 ac_status=$?
105867 grep -v '^ *+' conftest.er1 >conftest.err
105868 rm -f conftest.er1
105869 cat conftest.err >&5
105870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105871 (exit $ac_status); } >/dev/null; then
105872 if test -s conftest.err; then
105873 ac_cpp_err=$ac_c_preproc_warn_flag
105874 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
105876 ac_cpp_err=
105879 ac_cpp_err=yes
105881 if test -z "$ac_cpp_err"; then
105882 ac_header_preproc=yes
105884 echo "$as_me: failed program was:" >&5
105885 sed 's/^/| /' conftest.$ac_ext >&5
105887 ac_header_preproc=no
105889 rm -f conftest.err conftest.$ac_ext
105890 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
105891 echo "${ECHO_T}$ac_header_preproc" >&6
105893 # So? What about this header?
105894 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
105895 yes:no: )
105896 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
105897 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
105898 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
105899 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
105900 ac_header_preproc=yes
105902 no:yes:* )
105903 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
105904 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
105905 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
105906 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
105907 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
105908 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
105909 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
105910 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
105911 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
105912 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
105913 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
105914 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
105916 cat <<\_ASBOX
105917 ## ----------------------------------------- ##
105918 ## Report this to the package-unused lists. ##
105919 ## ----------------------------------------- ##
105920 _ASBOX
105922 sed "s/^/$as_me: WARNING: /" >&2
105925 echo "$as_me:$LINENO: checking for langinfo.h" >&5
105926 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
105927 if test "${ac_cv_header_langinfo_h+set}" = set; then
105928 echo $ECHO_N "(cached) $ECHO_C" >&6
105930 ac_cv_header_langinfo_h=$ac_header_preproc
105932 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
105933 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
105936 if test $ac_cv_header_langinfo_h = yes; then
105937 ac_has_langinfo_h=yes
105939 ac_has_langinfo_h=no
105944 # Check for existence of libiconv.a providing XPG2 wchar_t support.
105945 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
105946 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
105947 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
105948 echo $ECHO_N "(cached) $ECHO_C" >&6
105950 ac_check_lib_save_LIBS=$LIBS
105951 LIBS="-liconv $LIBS"
105952 if test x$gcc_no_link = xyes; then
105953 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105954 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105955 { (exit 1); exit 1; }; }
105957 cat >conftest.$ac_ext <<_ACEOF
105958 /* confdefs.h. */
105959 _ACEOF
105960 cat confdefs.h >>conftest.$ac_ext
105961 cat >>conftest.$ac_ext <<_ACEOF
105962 /* end confdefs.h. */
105964 /* Override any gcc2 internal prototype to avoid an error. */
105965 #ifdef __cplusplus
105966 extern "C"
105967 #endif
105968 /* We use char because int might match the return type of a gcc2
105969 builtin and then its argument prototype would still apply. */
105970 char iconv ();
105972 main ()
105974 iconv ();
105976 return 0;
105978 _ACEOF
105979 rm -f conftest.$ac_objext conftest$ac_exeext
105980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105981 (eval $ac_link) 2>conftest.er1
105982 ac_status=$?
105983 grep -v '^ *+' conftest.er1 >conftest.err
105984 rm -f conftest.er1
105985 cat conftest.err >&5
105986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105987 (exit $ac_status); } &&
105988 { ac_try='test -z "$ac_c_werror_flag"
105989 || test ! -s conftest.err'
105990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105991 (eval $ac_try) 2>&5
105992 ac_status=$?
105993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105994 (exit $ac_status); }; } &&
105995 { ac_try='test -s conftest$ac_exeext'
105996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105997 (eval $ac_try) 2>&5
105998 ac_status=$?
105999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106000 (exit $ac_status); }; }; then
106001 ac_cv_lib_iconv_iconv=yes
106003 echo "$as_me: failed program was:" >&5
106004 sed 's/^/| /' conftest.$ac_ext >&5
106006 ac_cv_lib_iconv_iconv=no
106008 rm -f conftest.err conftest.$ac_objext \
106009 conftest$ac_exeext conftest.$ac_ext
106010 LIBS=$ac_check_lib_save_LIBS
106012 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
106013 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
106014 if test $ac_cv_lib_iconv_iconv = yes; then
106015 LIBICONV="-liconv"
106018 ac_save_LIBS="$LIBS"
106019 LIBS="$LIBS $LIBICONV"
106026 for ac_func in iconv_open iconv_close iconv nl_langinfo
106028 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
106029 echo "$as_me:$LINENO: checking for $ac_func" >&5
106030 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
106031 if eval "test \"\${$as_ac_var+set}\" = set"; then
106032 echo $ECHO_N "(cached) $ECHO_C" >&6
106034 if test x$gcc_no_link = xyes; then
106035 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106036 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106037 { (exit 1); exit 1; }; }
106039 cat >conftest.$ac_ext <<_ACEOF
106040 /* confdefs.h. */
106041 _ACEOF
106042 cat confdefs.h >>conftest.$ac_ext
106043 cat >>conftest.$ac_ext <<_ACEOF
106044 /* end confdefs.h. */
106045 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
106046 For example, HP-UX 11i <limits.h> declares gettimeofday. */
106047 #define $ac_func innocuous_$ac_func
106049 /* System header to define __stub macros and hopefully few prototypes,
106050 which can conflict with char $ac_func (); below.
106051 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
106052 <limits.h> exists even on freestanding compilers. */
106054 #ifdef __STDC__
106055 # include <limits.h>
106056 #else
106057 # include <assert.h>
106058 #endif
106060 #undef $ac_func
106062 /* Override any gcc2 internal prototype to avoid an error. */
106063 #ifdef __cplusplus
106064 extern "C"
106066 #endif
106067 /* We use char because int might match the return type of a gcc2
106068 builtin and then its argument prototype would still apply. */
106069 char $ac_func ();
106070 /* The GNU C library defines this for functions which it implements
106071 to always fail with ENOSYS. Some functions are actually named
106072 something starting with __ and the normal name is an alias. */
106073 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
106074 choke me
106075 #else
106076 char (*f) () = $ac_func;
106077 #endif
106078 #ifdef __cplusplus
106080 #endif
106083 main ()
106085 return f != $ac_func;
106087 return 0;
106089 _ACEOF
106090 rm -f conftest.$ac_objext conftest$ac_exeext
106091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106092 (eval $ac_link) 2>conftest.er1
106093 ac_status=$?
106094 grep -v '^ *+' conftest.er1 >conftest.err
106095 rm -f conftest.er1
106096 cat conftest.err >&5
106097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106098 (exit $ac_status); } &&
106099 { ac_try='test -z "$ac_c_werror_flag"
106100 || test ! -s conftest.err'
106101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106102 (eval $ac_try) 2>&5
106103 ac_status=$?
106104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106105 (exit $ac_status); }; } &&
106106 { ac_try='test -s conftest$ac_exeext'
106107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106108 (eval $ac_try) 2>&5
106109 ac_status=$?
106110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106111 (exit $ac_status); }; }; then
106112 eval "$as_ac_var=yes"
106114 echo "$as_me: failed program was:" >&5
106115 sed 's/^/| /' conftest.$ac_ext >&5
106117 eval "$as_ac_var=no"
106119 rm -f conftest.err conftest.$ac_objext \
106120 conftest$ac_exeext conftest.$ac_ext
106122 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
106123 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
106124 if test `eval echo '${'$as_ac_var'}'` = yes; then
106125 cat >>confdefs.h <<_ACEOF
106126 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
106127 _ACEOF
106128 ac_XPG2funcs=yes
106130 ac_XPG2funcs=no
106135 LIBS="$ac_save_LIBS"
106137 if test x"$ac_has_iconv_h" = xyes &&
106138 test x"$ac_has_langinfo_h" = xyes &&
106139 test x"$ac_XPG2funcs" = xyes;
106142 cat >>confdefs.h <<\_ACEOF
106143 #define _GLIBCXX_USE_ICONV 1
106144 _ACEOF
106146 enable_iconv=yes
106149 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
106150 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
106151 echo "$as_me:$LINENO: result: $enable_iconv" >&5
106152 echo "${ECHO_T}$enable_iconv" >&6
106154 cat >>confdefs.h <<\_ACEOF
106155 #define HAVE_COSF 1
106156 _ACEOF
106158 cat >>confdefs.h <<\_ACEOF
106159 #define HAVE_COSL 1
106160 _ACEOF
106162 cat >>confdefs.h <<\_ACEOF
106163 #define HAVE_COSHF 1
106164 _ACEOF
106166 cat >>confdefs.h <<\_ACEOF
106167 #define HAVE_COSHL 1
106168 _ACEOF
106170 cat >>confdefs.h <<\_ACEOF
106171 #define HAVE_LOGF 1
106172 _ACEOF
106174 cat >>confdefs.h <<\_ACEOF
106175 #define HAVE_LOGL 1
106176 _ACEOF
106178 cat >>confdefs.h <<\_ACEOF
106179 #define HAVE_LOG10F 1
106180 _ACEOF
106182 cat >>confdefs.h <<\_ACEOF
106183 #define HAVE_LOG10L 1
106184 _ACEOF
106186 cat >>confdefs.h <<\_ACEOF
106187 #define HAVE_SINF 1
106188 _ACEOF
106190 cat >>confdefs.h <<\_ACEOF
106191 #define HAVE_SINL 1
106192 _ACEOF
106194 cat >>confdefs.h <<\_ACEOF
106195 #define HAVE_SINHF 1
106196 _ACEOF
106198 cat >>confdefs.h <<\_ACEOF
106199 #define HAVE_SINHL 1
106200 _ACEOF
106203 *-solaris*)
106204 case "$target" in
106205 # *-solaris2.5)
106206 # os_include_dir="os/solaris/solaris2.5"
106208 # *-solaris2.6)
106209 # os_include_dir="os/solaris/solaris2.6"
106211 *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
106212 cat >>confdefs.h <<\_ACEOF
106213 #define HAVE_GETPAGESIZE 1
106214 _ACEOF
106216 cat >>confdefs.h <<\_ACEOF
106217 #define HAVE_SIGSETJMP 1
106218 _ACEOF
106220 cat >>confdefs.h <<\_ACEOF
106221 #define HAVE_MBSTATE_T 1
106222 _ACEOF
106224 cat >>confdefs.h <<\_ACEOF
106225 #define HAVE_POLL 1
106226 _ACEOF
106228 cat >>confdefs.h <<\_ACEOF
106229 #define HAVE_S_ISREG 1
106230 _ACEOF
106232 cat >>confdefs.h <<\_ACEOF
106233 #define HAVE_LC_MESSAGES 1
106234 _ACEOF
106236 cat >>confdefs.h <<\_ACEOF
106237 #define HAVE_FINITE 1
106238 _ACEOF
106240 cat >>confdefs.h <<\_ACEOF
106241 #define HAVE_FPCLASS 1
106242 _ACEOF
106244 cat >>confdefs.h <<\_ACEOF
106245 #define HAVE_GETPAGESIZE 1
106246 _ACEOF
106248 cat >>confdefs.h <<\_ACEOF
106249 #define HAVE_NL_LANGINFO 1
106250 _ACEOF
106252 cat >>confdefs.h <<\_ACEOF
106253 #define HAVE_ICONV 1
106254 _ACEOF
106256 cat >>confdefs.h <<\_ACEOF
106257 #define HAVE_ICONV_CLOSE 1
106258 _ACEOF
106260 cat >>confdefs.h <<\_ACEOF
106261 #define HAVE_ICONV_OPEN 1
106262 _ACEOF
106264 # Look for the pieces required for wchar_t support in order to
106265 # get all the right HAVE_* macros defined.
106268 enable_iconv=no
106269 # Only continue checking if the ISO C99 headers exist and support is on.
106270 if test x"$enable_wchar_t" = xyes; then
106272 # Use iconv for wchar_t to char conversions. As such, check for
106273 # X/Open Portability Guide, version 2 features (XPG2).
106274 if test "${ac_cv_header_iconv_h+set}" = set; then
106275 echo "$as_me:$LINENO: checking for iconv.h" >&5
106276 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
106277 if test "${ac_cv_header_iconv_h+set}" = set; then
106278 echo $ECHO_N "(cached) $ECHO_C" >&6
106280 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
106281 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
106283 # Is the header compilable?
106284 echo "$as_me:$LINENO: checking iconv.h usability" >&5
106285 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
106286 cat >conftest.$ac_ext <<_ACEOF
106287 /* confdefs.h. */
106288 _ACEOF
106289 cat confdefs.h >>conftest.$ac_ext
106290 cat >>conftest.$ac_ext <<_ACEOF
106291 /* end confdefs.h. */
106292 $ac_includes_default
106293 #include <iconv.h>
106294 _ACEOF
106295 rm -f conftest.$ac_objext
106296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106297 (eval $ac_compile) 2>conftest.er1
106298 ac_status=$?
106299 grep -v '^ *+' conftest.er1 >conftest.err
106300 rm -f conftest.er1
106301 cat conftest.err >&5
106302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106303 (exit $ac_status); } &&
106304 { ac_try='test -z "$ac_c_werror_flag"
106305 || test ! -s conftest.err'
106306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106307 (eval $ac_try) 2>&5
106308 ac_status=$?
106309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106310 (exit $ac_status); }; } &&
106311 { ac_try='test -s conftest.$ac_objext'
106312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106313 (eval $ac_try) 2>&5
106314 ac_status=$?
106315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106316 (exit $ac_status); }; }; then
106317 ac_header_compiler=yes
106319 echo "$as_me: failed program was:" >&5
106320 sed 's/^/| /' conftest.$ac_ext >&5
106322 ac_header_compiler=no
106324 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106325 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
106326 echo "${ECHO_T}$ac_header_compiler" >&6
106328 # Is the header present?
106329 echo "$as_me:$LINENO: checking iconv.h presence" >&5
106330 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
106331 cat >conftest.$ac_ext <<_ACEOF
106332 /* confdefs.h. */
106333 _ACEOF
106334 cat confdefs.h >>conftest.$ac_ext
106335 cat >>conftest.$ac_ext <<_ACEOF
106336 /* end confdefs.h. */
106337 #include <iconv.h>
106338 _ACEOF
106339 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
106340 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
106341 ac_status=$?
106342 grep -v '^ *+' conftest.er1 >conftest.err
106343 rm -f conftest.er1
106344 cat conftest.err >&5
106345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106346 (exit $ac_status); } >/dev/null; then
106347 if test -s conftest.err; then
106348 ac_cpp_err=$ac_c_preproc_warn_flag
106349 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
106351 ac_cpp_err=
106354 ac_cpp_err=yes
106356 if test -z "$ac_cpp_err"; then
106357 ac_header_preproc=yes
106359 echo "$as_me: failed program was:" >&5
106360 sed 's/^/| /' conftest.$ac_ext >&5
106362 ac_header_preproc=no
106364 rm -f conftest.err conftest.$ac_ext
106365 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
106366 echo "${ECHO_T}$ac_header_preproc" >&6
106368 # So? What about this header?
106369 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
106370 yes:no: )
106371 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
106372 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
106373 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
106374 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
106375 ac_header_preproc=yes
106377 no:yes:* )
106378 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
106379 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
106380 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
106381 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
106382 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
106383 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
106384 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
106385 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
106386 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
106387 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
106388 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
106389 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
106391 cat <<\_ASBOX
106392 ## ----------------------------------------- ##
106393 ## Report this to the package-unused lists. ##
106394 ## ----------------------------------------- ##
106395 _ASBOX
106397 sed "s/^/$as_me: WARNING: /" >&2
106400 echo "$as_me:$LINENO: checking for iconv.h" >&5
106401 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
106402 if test "${ac_cv_header_iconv_h+set}" = set; then
106403 echo $ECHO_N "(cached) $ECHO_C" >&6
106405 ac_cv_header_iconv_h=$ac_header_preproc
106407 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
106408 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
106411 if test $ac_cv_header_iconv_h = yes; then
106412 ac_has_iconv_h=yes
106414 ac_has_iconv_h=no
106418 if test "${ac_cv_header_langinfo_h+set}" = set; then
106419 echo "$as_me:$LINENO: checking for langinfo.h" >&5
106420 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
106421 if test "${ac_cv_header_langinfo_h+set}" = set; then
106422 echo $ECHO_N "(cached) $ECHO_C" >&6
106424 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
106425 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
106427 # Is the header compilable?
106428 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
106429 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
106430 cat >conftest.$ac_ext <<_ACEOF
106431 /* confdefs.h. */
106432 _ACEOF
106433 cat confdefs.h >>conftest.$ac_ext
106434 cat >>conftest.$ac_ext <<_ACEOF
106435 /* end confdefs.h. */
106436 $ac_includes_default
106437 #include <langinfo.h>
106438 _ACEOF
106439 rm -f conftest.$ac_objext
106440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106441 (eval $ac_compile) 2>conftest.er1
106442 ac_status=$?
106443 grep -v '^ *+' conftest.er1 >conftest.err
106444 rm -f conftest.er1
106445 cat conftest.err >&5
106446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106447 (exit $ac_status); } &&
106448 { ac_try='test -z "$ac_c_werror_flag"
106449 || test ! -s conftest.err'
106450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106451 (eval $ac_try) 2>&5
106452 ac_status=$?
106453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106454 (exit $ac_status); }; } &&
106455 { ac_try='test -s conftest.$ac_objext'
106456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106457 (eval $ac_try) 2>&5
106458 ac_status=$?
106459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106460 (exit $ac_status); }; }; then
106461 ac_header_compiler=yes
106463 echo "$as_me: failed program was:" >&5
106464 sed 's/^/| /' conftest.$ac_ext >&5
106466 ac_header_compiler=no
106468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106469 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
106470 echo "${ECHO_T}$ac_header_compiler" >&6
106472 # Is the header present?
106473 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
106474 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
106475 cat >conftest.$ac_ext <<_ACEOF
106476 /* confdefs.h. */
106477 _ACEOF
106478 cat confdefs.h >>conftest.$ac_ext
106479 cat >>conftest.$ac_ext <<_ACEOF
106480 /* end confdefs.h. */
106481 #include <langinfo.h>
106482 _ACEOF
106483 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
106484 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
106485 ac_status=$?
106486 grep -v '^ *+' conftest.er1 >conftest.err
106487 rm -f conftest.er1
106488 cat conftest.err >&5
106489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106490 (exit $ac_status); } >/dev/null; then
106491 if test -s conftest.err; then
106492 ac_cpp_err=$ac_c_preproc_warn_flag
106493 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
106495 ac_cpp_err=
106498 ac_cpp_err=yes
106500 if test -z "$ac_cpp_err"; then
106501 ac_header_preproc=yes
106503 echo "$as_me: failed program was:" >&5
106504 sed 's/^/| /' conftest.$ac_ext >&5
106506 ac_header_preproc=no
106508 rm -f conftest.err conftest.$ac_ext
106509 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
106510 echo "${ECHO_T}$ac_header_preproc" >&6
106512 # So? What about this header?
106513 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
106514 yes:no: )
106515 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
106516 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
106517 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
106518 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
106519 ac_header_preproc=yes
106521 no:yes:* )
106522 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
106523 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
106524 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
106525 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
106526 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
106527 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
106528 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
106529 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
106530 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
106531 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
106532 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
106533 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
106535 cat <<\_ASBOX
106536 ## ----------------------------------------- ##
106537 ## Report this to the package-unused lists. ##
106538 ## ----------------------------------------- ##
106539 _ASBOX
106541 sed "s/^/$as_me: WARNING: /" >&2
106544 echo "$as_me:$LINENO: checking for langinfo.h" >&5
106545 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
106546 if test "${ac_cv_header_langinfo_h+set}" = set; then
106547 echo $ECHO_N "(cached) $ECHO_C" >&6
106549 ac_cv_header_langinfo_h=$ac_header_preproc
106551 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
106552 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
106555 if test $ac_cv_header_langinfo_h = yes; then
106556 ac_has_langinfo_h=yes
106558 ac_has_langinfo_h=no
106563 # Check for existence of libiconv.a providing XPG2 wchar_t support.
106564 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
106565 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
106566 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
106567 echo $ECHO_N "(cached) $ECHO_C" >&6
106569 ac_check_lib_save_LIBS=$LIBS
106570 LIBS="-liconv $LIBS"
106571 if test x$gcc_no_link = xyes; then
106572 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106573 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106574 { (exit 1); exit 1; }; }
106576 cat >conftest.$ac_ext <<_ACEOF
106577 /* confdefs.h. */
106578 _ACEOF
106579 cat confdefs.h >>conftest.$ac_ext
106580 cat >>conftest.$ac_ext <<_ACEOF
106581 /* end confdefs.h. */
106583 /* Override any gcc2 internal prototype to avoid an error. */
106584 #ifdef __cplusplus
106585 extern "C"
106586 #endif
106587 /* We use char because int might match the return type of a gcc2
106588 builtin and then its argument prototype would still apply. */
106589 char iconv ();
106591 main ()
106593 iconv ();
106595 return 0;
106597 _ACEOF
106598 rm -f conftest.$ac_objext conftest$ac_exeext
106599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106600 (eval $ac_link) 2>conftest.er1
106601 ac_status=$?
106602 grep -v '^ *+' conftest.er1 >conftest.err
106603 rm -f conftest.er1
106604 cat conftest.err >&5
106605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106606 (exit $ac_status); } &&
106607 { ac_try='test -z "$ac_c_werror_flag"
106608 || test ! -s conftest.err'
106609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106610 (eval $ac_try) 2>&5
106611 ac_status=$?
106612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106613 (exit $ac_status); }; } &&
106614 { ac_try='test -s conftest$ac_exeext'
106615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106616 (eval $ac_try) 2>&5
106617 ac_status=$?
106618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106619 (exit $ac_status); }; }; then
106620 ac_cv_lib_iconv_iconv=yes
106622 echo "$as_me: failed program was:" >&5
106623 sed 's/^/| /' conftest.$ac_ext >&5
106625 ac_cv_lib_iconv_iconv=no
106627 rm -f conftest.err conftest.$ac_objext \
106628 conftest$ac_exeext conftest.$ac_ext
106629 LIBS=$ac_check_lib_save_LIBS
106631 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
106632 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
106633 if test $ac_cv_lib_iconv_iconv = yes; then
106634 LIBICONV="-liconv"
106637 ac_save_LIBS="$LIBS"
106638 LIBS="$LIBS $LIBICONV"
106645 for ac_func in iconv_open iconv_close iconv nl_langinfo
106647 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
106648 echo "$as_me:$LINENO: checking for $ac_func" >&5
106649 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
106650 if eval "test \"\${$as_ac_var+set}\" = set"; then
106651 echo $ECHO_N "(cached) $ECHO_C" >&6
106653 if test x$gcc_no_link = xyes; then
106654 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106655 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106656 { (exit 1); exit 1; }; }
106658 cat >conftest.$ac_ext <<_ACEOF
106659 /* confdefs.h. */
106660 _ACEOF
106661 cat confdefs.h >>conftest.$ac_ext
106662 cat >>conftest.$ac_ext <<_ACEOF
106663 /* end confdefs.h. */
106664 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
106665 For example, HP-UX 11i <limits.h> declares gettimeofday. */
106666 #define $ac_func innocuous_$ac_func
106668 /* System header to define __stub macros and hopefully few prototypes,
106669 which can conflict with char $ac_func (); below.
106670 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
106671 <limits.h> exists even on freestanding compilers. */
106673 #ifdef __STDC__
106674 # include <limits.h>
106675 #else
106676 # include <assert.h>
106677 #endif
106679 #undef $ac_func
106681 /* Override any gcc2 internal prototype to avoid an error. */
106682 #ifdef __cplusplus
106683 extern "C"
106685 #endif
106686 /* We use char because int might match the return type of a gcc2
106687 builtin and then its argument prototype would still apply. */
106688 char $ac_func ();
106689 /* The GNU C library defines this for functions which it implements
106690 to always fail with ENOSYS. Some functions are actually named
106691 something starting with __ and the normal name is an alias. */
106692 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
106693 choke me
106694 #else
106695 char (*f) () = $ac_func;
106696 #endif
106697 #ifdef __cplusplus
106699 #endif
106702 main ()
106704 return f != $ac_func;
106706 return 0;
106708 _ACEOF
106709 rm -f conftest.$ac_objext conftest$ac_exeext
106710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106711 (eval $ac_link) 2>conftest.er1
106712 ac_status=$?
106713 grep -v '^ *+' conftest.er1 >conftest.err
106714 rm -f conftest.er1
106715 cat conftest.err >&5
106716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106717 (exit $ac_status); } &&
106718 { ac_try='test -z "$ac_c_werror_flag"
106719 || test ! -s conftest.err'
106720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106721 (eval $ac_try) 2>&5
106722 ac_status=$?
106723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106724 (exit $ac_status); }; } &&
106725 { ac_try='test -s conftest$ac_exeext'
106726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106727 (eval $ac_try) 2>&5
106728 ac_status=$?
106729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106730 (exit $ac_status); }; }; then
106731 eval "$as_ac_var=yes"
106733 echo "$as_me: failed program was:" >&5
106734 sed 's/^/| /' conftest.$ac_ext >&5
106736 eval "$as_ac_var=no"
106738 rm -f conftest.err conftest.$ac_objext \
106739 conftest$ac_exeext conftest.$ac_ext
106741 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
106742 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
106743 if test `eval echo '${'$as_ac_var'}'` = yes; then
106744 cat >>confdefs.h <<_ACEOF
106745 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
106746 _ACEOF
106747 ac_XPG2funcs=yes
106749 ac_XPG2funcs=no
106754 LIBS="$ac_save_LIBS"
106756 if test x"$ac_has_iconv_h" = xyes &&
106757 test x"$ac_has_langinfo_h" = xyes &&
106758 test x"$ac_XPG2funcs" = xyes;
106761 cat >>confdefs.h <<\_ACEOF
106762 #define _GLIBCXX_USE_ICONV 1
106763 _ACEOF
106765 enable_iconv=yes
106768 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
106769 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
106770 echo "$as_me:$LINENO: result: $enable_iconv" >&5
106771 echo "${ECHO_T}$enable_iconv" >&6
106773 # All of the dependencies for wide character support are here, so
106774 # turn it on. This requires some syncronization with the
106775 # GLIBCXX_CHECK_ICONV_SUPPORT in acinclude.m4
106776 cat >>confdefs.h <<\_ACEOF
106777 #define _GLIBCXX_USE_WCHAR_T 1
106778 _ACEOF
106780 # Are these tested for even when cross?
106781 cat >>confdefs.h <<\_ACEOF
106782 #define HAVE_FLOAT_H 1
106783 _ACEOF
106785 cat >>confdefs.h <<\_ACEOF
106786 #define HAVE_IEEEFP_H 1
106787 _ACEOF
106789 cat >>confdefs.h <<\_ACEOF
106790 #define HAVE_INTTYPES_H 1
106791 _ACEOF
106793 cat >>confdefs.h <<\_ACEOF
106794 #define HAVE_LOCALE_H 1
106795 _ACEOF
106797 cat >>confdefs.h <<\_ACEOF
106798 #define HAVE_NAN_H 1
106799 _ACEOF
106801 cat >>confdefs.h <<\_ACEOF
106802 #define HAVE_SYS_FILIO_H 1
106803 _ACEOF
106805 cat >>confdefs.h <<\_ACEOF
106806 #define HAVE_SYS_IOCTL_H 1
106807 _ACEOF
106809 cat >>confdefs.h <<\_ACEOF
106810 #define HAVE_SYS_ISA_DEFS_H 1
106811 _ACEOF
106813 cat >>confdefs.h <<\_ACEOF
106814 #define HAVE_SYS_RESOURCE_H 1
106815 _ACEOF
106817 cat >>confdefs.h <<\_ACEOF
106818 #define HAVE_SYS_TIME_H 1
106819 _ACEOF
106821 cat >>confdefs.h <<\_ACEOF
106822 #define HAVE_SYS_TYPES_H 1
106823 _ACEOF
106825 cat >>confdefs.h <<\_ACEOF
106826 #define HAVE_UNISTD_H 1
106827 _ACEOF
106829 cat >>confdefs.h <<\_ACEOF
106830 #define HAVE_WCHAR_H 1
106831 _ACEOF
106833 cat >>confdefs.h <<\_ACEOF
106834 #define HAVE_WCTYPE_H 1
106835 _ACEOF
106837 cat >>confdefs.h <<\_ACEOF
106838 #define HAVE_LIBM 1
106839 _ACEOF
106843 case "$target" in
106844 sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
106845 # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
106846 cat >>confdefs.h <<\_ACEOF
106847 #define HAVE___BUILTIN_ABS 1
106848 _ACEOF
106850 cat >>confdefs.h <<\_ACEOF
106851 #define HAVE___BUILTIN_LABS 1
106852 _ACEOF
106854 cat >>confdefs.h <<\_ACEOF
106855 #define HAVE___BUILTIN_FABS 1
106856 _ACEOF
106858 cat >>confdefs.h <<\_ACEOF
106859 #define HAVE___BUILTIN_FABSF 1
106860 _ACEOF
106862 cat >>confdefs.h <<\_ACEOF
106863 #define HAVE___BUILTIN_FABSL 1
106864 _ACEOF
106866 cat >>confdefs.h <<\_ACEOF
106867 #define HAVE___BUILTIN_COS 1
106868 _ACEOF
106870 cat >>confdefs.h <<\_ACEOF
106871 #define HAVE___BUILTIN_COSF 1
106872 _ACEOF
106874 cat >>confdefs.h <<\_ACEOF
106875 #define HAVE___BUILTIN_SIN 1
106876 _ACEOF
106878 cat >>confdefs.h <<\_ACEOF
106879 #define HAVE___BUILTIN_SINF 1
106880 _ACEOF
106884 case "$target" in
106885 *-*-solaris2.10)
106886 # These two C99 functions are present only in Solaris >= 10
106887 cat >>confdefs.h <<\_ACEOF
106888 #define HAVE_STRTOF 1
106889 _ACEOF
106891 cat >>confdefs.h <<\_ACEOF
106892 #define HAVE_STRTOLD 1
106893 _ACEOF
106897 cat >>confdefs.h <<\_ACEOF
106898 #define HAVE_MMAP 1
106899 _ACEOF
106901 cat >>confdefs.h <<\_ACEOF
106902 #define HAVE_COPYSIGN 1
106903 _ACEOF
106905 cat >>confdefs.h <<\_ACEOF
106906 #define HAVE_ISNAN 1
106907 _ACEOF
106909 cat >>confdefs.h <<\_ACEOF
106910 #define HAVE_ISNANF 1
106911 _ACEOF
106913 cat >>confdefs.h <<\_ACEOF
106914 #define HAVE_MODFF 1
106915 _ACEOF
106917 cat >>confdefs.h <<\_ACEOF
106918 #define HAVE_HYPOT 1
106919 _ACEOF
106922 *-tpf)
106931 for ac_header in nan.h endian.h machine/endian.h \
106932 sys/param.h sys/types.h locale.h float.h inttypes.h
106934 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
106935 if eval "test \"\${$as_ac_Header+set}\" = set"; then
106936 echo "$as_me:$LINENO: checking for $ac_header" >&5
106937 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
106938 if eval "test \"\${$as_ac_Header+set}\" = set"; then
106939 echo $ECHO_N "(cached) $ECHO_C" >&6
106941 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
106942 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
106944 # Is the header compilable?
106945 echo "$as_me:$LINENO: checking $ac_header usability" >&5
106946 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
106947 cat >conftest.$ac_ext <<_ACEOF
106948 /* confdefs.h. */
106949 _ACEOF
106950 cat confdefs.h >>conftest.$ac_ext
106951 cat >>conftest.$ac_ext <<_ACEOF
106952 /* end confdefs.h. */
106953 $ac_includes_default
106954 #include <$ac_header>
106955 _ACEOF
106956 rm -f conftest.$ac_objext
106957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106958 (eval $ac_compile) 2>conftest.er1
106959 ac_status=$?
106960 grep -v '^ *+' conftest.er1 >conftest.err
106961 rm -f conftest.er1
106962 cat conftest.err >&5
106963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106964 (exit $ac_status); } &&
106965 { ac_try='test -z "$ac_c_werror_flag"
106966 || test ! -s conftest.err'
106967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106968 (eval $ac_try) 2>&5
106969 ac_status=$?
106970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106971 (exit $ac_status); }; } &&
106972 { ac_try='test -s conftest.$ac_objext'
106973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106974 (eval $ac_try) 2>&5
106975 ac_status=$?
106976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106977 (exit $ac_status); }; }; then
106978 ac_header_compiler=yes
106980 echo "$as_me: failed program was:" >&5
106981 sed 's/^/| /' conftest.$ac_ext >&5
106983 ac_header_compiler=no
106985 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106986 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
106987 echo "${ECHO_T}$ac_header_compiler" >&6
106989 # Is the header present?
106990 echo "$as_me:$LINENO: checking $ac_header presence" >&5
106991 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
106992 cat >conftest.$ac_ext <<_ACEOF
106993 /* confdefs.h. */
106994 _ACEOF
106995 cat confdefs.h >>conftest.$ac_ext
106996 cat >>conftest.$ac_ext <<_ACEOF
106997 /* end confdefs.h. */
106998 #include <$ac_header>
106999 _ACEOF
107000 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
107001 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
107002 ac_status=$?
107003 grep -v '^ *+' conftest.er1 >conftest.err
107004 rm -f conftest.er1
107005 cat conftest.err >&5
107006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107007 (exit $ac_status); } >/dev/null; then
107008 if test -s conftest.err; then
107009 ac_cpp_err=$ac_c_preproc_warn_flag
107010 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
107012 ac_cpp_err=
107015 ac_cpp_err=yes
107017 if test -z "$ac_cpp_err"; then
107018 ac_header_preproc=yes
107020 echo "$as_me: failed program was:" >&5
107021 sed 's/^/| /' conftest.$ac_ext >&5
107023 ac_header_preproc=no
107025 rm -f conftest.err conftest.$ac_ext
107026 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
107027 echo "${ECHO_T}$ac_header_preproc" >&6
107029 # So? What about this header?
107030 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
107031 yes:no: )
107032 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
107033 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
107034 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
107035 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
107036 ac_header_preproc=yes
107038 no:yes:* )
107039 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
107040 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
107041 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
107042 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
107043 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
107044 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
107045 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
107046 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
107047 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
107048 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
107049 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
107050 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
107052 cat <<\_ASBOX
107053 ## ----------------------------------------- ##
107054 ## Report this to the package-unused lists. ##
107055 ## ----------------------------------------- ##
107056 _ASBOX
107058 sed "s/^/$as_me: WARNING: /" >&2
107061 echo "$as_me:$LINENO: checking for $ac_header" >&5
107062 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
107063 if eval "test \"\${$as_ac_Header+set}\" = set"; then
107064 echo $ECHO_N "(cached) $ECHO_C" >&6
107066 eval "$as_ac_Header=\$ac_header_preproc"
107068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
107069 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
107072 if test `eval echo '${'$as_ac_Header'}'` = yes; then
107073 cat >>confdefs.h <<_ACEOF
107074 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
107075 _ACEOF
107081 SECTION_FLAGS='-ffunction-sections -fdata-sections'
107084 # If we're not using GNU ld, then there's no point in even trying these
107085 # tests. Check for that first. We should have already tested for gld
107086 # by now (in libtool), but require it now just to be safe...
107087 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
107088 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
107092 # The name set by libtool depends on the version of libtool. Shame on us
107093 # for depending on an impl detail, but c'est la vie. Older versions used
107094 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
107095 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
107096 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
107097 # set (hence we're using an older libtool), then set it.
107098 if test x${with_gnu_ld+set} != xset; then
107099 if test x${ac_cv_prog_gnu_ld+set} != xset; then
107100 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
107101 with_gnu_ld=no
107103 with_gnu_ld=$ac_cv_prog_gnu_ld
107107 # Start by getting the version number. I think the libtool test already
107108 # does some of this, but throws away the result.
107109 echo "$as_me:$LINENO: checking for ld version" >&5
107110 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
107112 ldver=`$LD --version 2>/dev/null | head -1 | \
107113 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
107115 glibcxx_gnu_ld_version=`echo $ldver | \
107116 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
107117 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
107118 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
107120 # Set --gc-sections.
107121 glibcxx_gcsections_min_ld=21602
107122 if test x"$with_gnu_ld" = x"yes" &&
107123 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
107125 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
107126 # NB: This flag only works reliably after 2.16.1. Configure tests
107127 # for this are difficult, so hard wire a value that should work.
107129 # All these tests are for C++, but run with the "C" compiler driver.
107130 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
107131 ac_test_CFLAGS="${CFLAGS+set}"
107132 ac_save_CFLAGS="$CFLAGS"
107133 CFLAGS='-x c++ -Wl,--gc-sections'
107135 # Check for -Wl,--gc-sections
107136 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
107137 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
107138 if test x$gcc_no_link = xyes; then
107139 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107140 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107141 { (exit 1); exit 1; }; }
107143 cat >conftest.$ac_ext <<_ACEOF
107144 /* confdefs.h. */
107145 _ACEOF
107146 cat confdefs.h >>conftest.$ac_ext
107147 cat >>conftest.$ac_ext <<_ACEOF
107148 /* end confdefs.h. */
107149 int one(void) { return 1; }
107150 int two(void) { return 2; }
107153 main ()
107155 two();
107157 return 0;
107159 _ACEOF
107160 rm -f conftest.$ac_objext conftest$ac_exeext
107161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107162 (eval $ac_link) 2>conftest.er1
107163 ac_status=$?
107164 grep -v '^ *+' conftest.er1 >conftest.err
107165 rm -f conftest.er1
107166 cat conftest.err >&5
107167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107168 (exit $ac_status); } &&
107169 { ac_try='test -z "$ac_c_werror_flag"
107170 || test ! -s conftest.err'
107171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107172 (eval $ac_try) 2>&5
107173 ac_status=$?
107174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107175 (exit $ac_status); }; } &&
107176 { ac_try='test -s conftest$ac_exeext'
107177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107178 (eval $ac_try) 2>&5
107179 ac_status=$?
107180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107181 (exit $ac_status); }; }; then
107182 ac_gcsections=yes
107184 echo "$as_me: failed program was:" >&5
107185 sed 's/^/| /' conftest.$ac_ext >&5
107187 ac_gcsections=no
107189 rm -f conftest.err conftest.$ac_objext \
107190 conftest$ac_exeext conftest.$ac_ext
107191 if test "$ac_gcsections" = "yes"; then
107192 rm -f conftest.c
107193 touch conftest.c
107194 if $CC -c conftest.c; then
107195 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
107196 grep "Warning: gc-sections option ignored" > /dev/null; then
107197 ac_gcsections=no
107200 rm -f conftest.c conftest.o conftest
107202 if test "$ac_gcsections" = "yes"; then
107203 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
107205 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
107206 echo "${ECHO_T}$ac_gcsections" >&6
107208 if test "$ac_test_CFLAGS" = set; then
107209 CFLAGS="$ac_save_CFLAGS"
107211 # this is the suspicious part
107212 CFLAGS=''
107216 # Set -z,relro.
107217 # Note this is only for shared objects.
107218 ac_ld_relro=no
107219 if test x"$with_gnu_ld" = x"yes"; then
107220 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
107221 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
107222 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
107223 if test -n "$cxx_z_relo"; then
107224 OPT_LDFLAGS="-Wl,-z,relro"
107225 ac_ld_relro=yes
107227 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
107228 echo "${ECHO_T}$ac_ld_relro" >&6
107231 # Set linker optimization flags.
107232 if test x"$with_gnu_ld" = x"yes"; then
107233 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
107241 echo "$as_me:$LINENO: checking for main in -lm" >&5
107242 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
107243 if test "${ac_cv_lib_m_main+set}" = set; then
107244 echo $ECHO_N "(cached) $ECHO_C" >&6
107246 ac_check_lib_save_LIBS=$LIBS
107247 LIBS="-lm $LIBS"
107248 if test x$gcc_no_link = xyes; then
107249 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107250 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107251 { (exit 1); exit 1; }; }
107253 cat >conftest.$ac_ext <<_ACEOF
107254 /* confdefs.h. */
107255 _ACEOF
107256 cat confdefs.h >>conftest.$ac_ext
107257 cat >>conftest.$ac_ext <<_ACEOF
107258 /* end confdefs.h. */
107262 main ()
107264 main ();
107266 return 0;
107268 _ACEOF
107269 rm -f conftest.$ac_objext conftest$ac_exeext
107270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107271 (eval $ac_link) 2>conftest.er1
107272 ac_status=$?
107273 grep -v '^ *+' conftest.er1 >conftest.err
107274 rm -f conftest.er1
107275 cat conftest.err >&5
107276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107277 (exit $ac_status); } &&
107278 { ac_try='test -z "$ac_c_werror_flag"
107279 || test ! -s conftest.err'
107280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107281 (eval $ac_try) 2>&5
107282 ac_status=$?
107283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107284 (exit $ac_status); }; } &&
107285 { ac_try='test -s conftest$ac_exeext'
107286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107287 (eval $ac_try) 2>&5
107288 ac_status=$?
107289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107290 (exit $ac_status); }; }; then
107291 ac_cv_lib_m_main=yes
107293 echo "$as_me: failed program was:" >&5
107294 sed 's/^/| /' conftest.$ac_ext >&5
107296 ac_cv_lib_m_main=no
107298 rm -f conftest.err conftest.$ac_objext \
107299 conftest$ac_exeext conftest.$ac_ext
107300 LIBS=$ac_check_lib_save_LIBS
107302 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
107303 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
107304 if test $ac_cv_lib_m_main = yes; then
107305 cat >>confdefs.h <<_ACEOF
107306 #define HAVE_LIBM 1
107307 _ACEOF
107309 LIBS="-lm $LIBS"
107314 for ac_func in copysignf
107316 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107317 echo "$as_me:$LINENO: checking for $ac_func" >&5
107318 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107319 if eval "test \"\${$as_ac_var+set}\" = set"; then
107320 echo $ECHO_N "(cached) $ECHO_C" >&6
107322 if test x$gcc_no_link = xyes; then
107323 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107324 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107325 { (exit 1); exit 1; }; }
107327 cat >conftest.$ac_ext <<_ACEOF
107328 /* confdefs.h. */
107329 _ACEOF
107330 cat confdefs.h >>conftest.$ac_ext
107331 cat >>conftest.$ac_ext <<_ACEOF
107332 /* end confdefs.h. */
107333 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107334 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107335 #define $ac_func innocuous_$ac_func
107337 /* System header to define __stub macros and hopefully few prototypes,
107338 which can conflict with char $ac_func (); below.
107339 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107340 <limits.h> exists even on freestanding compilers. */
107342 #ifdef __STDC__
107343 # include <limits.h>
107344 #else
107345 # include <assert.h>
107346 #endif
107348 #undef $ac_func
107350 /* Override any gcc2 internal prototype to avoid an error. */
107351 #ifdef __cplusplus
107352 extern "C"
107354 #endif
107355 /* We use char because int might match the return type of a gcc2
107356 builtin and then its argument prototype would still apply. */
107357 char $ac_func ();
107358 /* The GNU C library defines this for functions which it implements
107359 to always fail with ENOSYS. Some functions are actually named
107360 something starting with __ and the normal name is an alias. */
107361 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107362 choke me
107363 #else
107364 char (*f) () = $ac_func;
107365 #endif
107366 #ifdef __cplusplus
107368 #endif
107371 main ()
107373 return f != $ac_func;
107375 return 0;
107377 _ACEOF
107378 rm -f conftest.$ac_objext conftest$ac_exeext
107379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107380 (eval $ac_link) 2>conftest.er1
107381 ac_status=$?
107382 grep -v '^ *+' conftest.er1 >conftest.err
107383 rm -f conftest.er1
107384 cat conftest.err >&5
107385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107386 (exit $ac_status); } &&
107387 { ac_try='test -z "$ac_c_werror_flag"
107388 || test ! -s conftest.err'
107389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107390 (eval $ac_try) 2>&5
107391 ac_status=$?
107392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107393 (exit $ac_status); }; } &&
107394 { ac_try='test -s conftest$ac_exeext'
107395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107396 (eval $ac_try) 2>&5
107397 ac_status=$?
107398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107399 (exit $ac_status); }; }; then
107400 eval "$as_ac_var=yes"
107402 echo "$as_me: failed program was:" >&5
107403 sed 's/^/| /' conftest.$ac_ext >&5
107405 eval "$as_ac_var=no"
107407 rm -f conftest.err conftest.$ac_objext \
107408 conftest$ac_exeext conftest.$ac_ext
107410 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107411 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107412 if test `eval echo '${'$as_ac_var'}'` = yes; then
107413 cat >>confdefs.h <<_ACEOF
107414 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107415 _ACEOF
107418 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
107424 for ac_func in __signbit
107426 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107427 echo "$as_me:$LINENO: checking for $ac_func" >&5
107428 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107429 if eval "test \"\${$as_ac_var+set}\" = set"; then
107430 echo $ECHO_N "(cached) $ECHO_C" >&6
107432 if test x$gcc_no_link = xyes; then
107433 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107434 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107435 { (exit 1); exit 1; }; }
107437 cat >conftest.$ac_ext <<_ACEOF
107438 /* confdefs.h. */
107439 _ACEOF
107440 cat confdefs.h >>conftest.$ac_ext
107441 cat >>conftest.$ac_ext <<_ACEOF
107442 /* end confdefs.h. */
107443 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107444 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107445 #define $ac_func innocuous_$ac_func
107447 /* System header to define __stub macros and hopefully few prototypes,
107448 which can conflict with char $ac_func (); below.
107449 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107450 <limits.h> exists even on freestanding compilers. */
107452 #ifdef __STDC__
107453 # include <limits.h>
107454 #else
107455 # include <assert.h>
107456 #endif
107458 #undef $ac_func
107460 /* Override any gcc2 internal prototype to avoid an error. */
107461 #ifdef __cplusplus
107462 extern "C"
107464 #endif
107465 /* We use char because int might match the return type of a gcc2
107466 builtin and then its argument prototype would still apply. */
107467 char $ac_func ();
107468 /* The GNU C library defines this for functions which it implements
107469 to always fail with ENOSYS. Some functions are actually named
107470 something starting with __ and the normal name is an alias. */
107471 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107472 choke me
107473 #else
107474 char (*f) () = $ac_func;
107475 #endif
107476 #ifdef __cplusplus
107478 #endif
107481 main ()
107483 return f != $ac_func;
107485 return 0;
107487 _ACEOF
107488 rm -f conftest.$ac_objext conftest$ac_exeext
107489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107490 (eval $ac_link) 2>conftest.er1
107491 ac_status=$?
107492 grep -v '^ *+' conftest.er1 >conftest.err
107493 rm -f conftest.er1
107494 cat conftest.err >&5
107495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107496 (exit $ac_status); } &&
107497 { ac_try='test -z "$ac_c_werror_flag"
107498 || test ! -s conftest.err'
107499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107500 (eval $ac_try) 2>&5
107501 ac_status=$?
107502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107503 (exit $ac_status); }; } &&
107504 { ac_try='test -s conftest$ac_exeext'
107505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107506 (eval $ac_try) 2>&5
107507 ac_status=$?
107508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107509 (exit $ac_status); }; }; then
107510 eval "$as_ac_var=yes"
107512 echo "$as_me: failed program was:" >&5
107513 sed 's/^/| /' conftest.$ac_ext >&5
107515 eval "$as_ac_var=no"
107517 rm -f conftest.err conftest.$ac_objext \
107518 conftest$ac_exeext conftest.$ac_ext
107520 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107521 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107522 if test `eval echo '${'$as_ac_var'}'` = yes; then
107523 cat >>confdefs.h <<_ACEOF
107524 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107525 _ACEOF
107528 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
107534 for ac_func in __signbitf
107536 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107537 echo "$as_me:$LINENO: checking for $ac_func" >&5
107538 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107539 if eval "test \"\${$as_ac_var+set}\" = set"; then
107540 echo $ECHO_N "(cached) $ECHO_C" >&6
107542 if test x$gcc_no_link = xyes; then
107543 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107544 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107545 { (exit 1); exit 1; }; }
107547 cat >conftest.$ac_ext <<_ACEOF
107548 /* confdefs.h. */
107549 _ACEOF
107550 cat confdefs.h >>conftest.$ac_ext
107551 cat >>conftest.$ac_ext <<_ACEOF
107552 /* end confdefs.h. */
107553 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107554 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107555 #define $ac_func innocuous_$ac_func
107557 /* System header to define __stub macros and hopefully few prototypes,
107558 which can conflict with char $ac_func (); below.
107559 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107560 <limits.h> exists even on freestanding compilers. */
107562 #ifdef __STDC__
107563 # include <limits.h>
107564 #else
107565 # include <assert.h>
107566 #endif
107568 #undef $ac_func
107570 /* Override any gcc2 internal prototype to avoid an error. */
107571 #ifdef __cplusplus
107572 extern "C"
107574 #endif
107575 /* We use char because int might match the return type of a gcc2
107576 builtin and then its argument prototype would still apply. */
107577 char $ac_func ();
107578 /* The GNU C library defines this for functions which it implements
107579 to always fail with ENOSYS. Some functions are actually named
107580 something starting with __ and the normal name is an alias. */
107581 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107582 choke me
107583 #else
107584 char (*f) () = $ac_func;
107585 #endif
107586 #ifdef __cplusplus
107588 #endif
107591 main ()
107593 return f != $ac_func;
107595 return 0;
107597 _ACEOF
107598 rm -f conftest.$ac_objext conftest$ac_exeext
107599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107600 (eval $ac_link) 2>conftest.er1
107601 ac_status=$?
107602 grep -v '^ *+' conftest.er1 >conftest.err
107603 rm -f conftest.er1
107604 cat conftest.err >&5
107605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107606 (exit $ac_status); } &&
107607 { ac_try='test -z "$ac_c_werror_flag"
107608 || test ! -s conftest.err'
107609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107610 (eval $ac_try) 2>&5
107611 ac_status=$?
107612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107613 (exit $ac_status); }; } &&
107614 { ac_try='test -s conftest$ac_exeext'
107615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107616 (eval $ac_try) 2>&5
107617 ac_status=$?
107618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107619 (exit $ac_status); }; }; then
107620 eval "$as_ac_var=yes"
107622 echo "$as_me: failed program was:" >&5
107623 sed 's/^/| /' conftest.$ac_ext >&5
107625 eval "$as_ac_var=no"
107627 rm -f conftest.err conftest.$ac_objext \
107628 conftest$ac_exeext conftest.$ac_ext
107630 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107631 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107632 if test `eval echo '${'$as_ac_var'}'` = yes; then
107633 cat >>confdefs.h <<_ACEOF
107634 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107635 _ACEOF
107638 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
107643 if test x$ac_cv_func_copysignl = x"yes"; then
107645 for ac_func in __signbitl
107647 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107648 echo "$as_me:$LINENO: checking for $ac_func" >&5
107649 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107650 if eval "test \"\${$as_ac_var+set}\" = set"; then
107651 echo $ECHO_N "(cached) $ECHO_C" >&6
107653 if test x$gcc_no_link = xyes; then
107654 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107655 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107656 { (exit 1); exit 1; }; }
107658 cat >conftest.$ac_ext <<_ACEOF
107659 /* confdefs.h. */
107660 _ACEOF
107661 cat confdefs.h >>conftest.$ac_ext
107662 cat >>conftest.$ac_ext <<_ACEOF
107663 /* end confdefs.h. */
107664 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107665 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107666 #define $ac_func innocuous_$ac_func
107668 /* System header to define __stub macros and hopefully few prototypes,
107669 which can conflict with char $ac_func (); below.
107670 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107671 <limits.h> exists even on freestanding compilers. */
107673 #ifdef __STDC__
107674 # include <limits.h>
107675 #else
107676 # include <assert.h>
107677 #endif
107679 #undef $ac_func
107681 /* Override any gcc2 internal prototype to avoid an error. */
107682 #ifdef __cplusplus
107683 extern "C"
107685 #endif
107686 /* We use char because int might match the return type of a gcc2
107687 builtin and then its argument prototype would still apply. */
107688 char $ac_func ();
107689 /* The GNU C library defines this for functions which it implements
107690 to always fail with ENOSYS. Some functions are actually named
107691 something starting with __ and the normal name is an alias. */
107692 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107693 choke me
107694 #else
107695 char (*f) () = $ac_func;
107696 #endif
107697 #ifdef __cplusplus
107699 #endif
107702 main ()
107704 return f != $ac_func;
107706 return 0;
107708 _ACEOF
107709 rm -f conftest.$ac_objext conftest$ac_exeext
107710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107711 (eval $ac_link) 2>conftest.er1
107712 ac_status=$?
107713 grep -v '^ *+' conftest.er1 >conftest.err
107714 rm -f conftest.er1
107715 cat conftest.err >&5
107716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107717 (exit $ac_status); } &&
107718 { ac_try='test -z "$ac_c_werror_flag"
107719 || test ! -s conftest.err'
107720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107721 (eval $ac_try) 2>&5
107722 ac_status=$?
107723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107724 (exit $ac_status); }; } &&
107725 { ac_try='test -s conftest$ac_exeext'
107726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107727 (eval $ac_try) 2>&5
107728 ac_status=$?
107729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107730 (exit $ac_status); }; }; then
107731 eval "$as_ac_var=yes"
107733 echo "$as_me: failed program was:" >&5
107734 sed 's/^/| /' conftest.$ac_ext >&5
107736 eval "$as_ac_var=no"
107738 rm -f conftest.err conftest.$ac_objext \
107739 conftest$ac_exeext conftest.$ac_ext
107741 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107742 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107743 if test `eval echo '${'$as_ac_var'}'` = yes; then
107744 cat >>confdefs.h <<_ACEOF
107745 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107746 _ACEOF
107749 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
107755 # Used in libmath/Makefile.am.
107756 if test -n "$LIBMATHOBJS"; then
107757 need_libmath=yes
107763 enable_iconv=no
107764 # Only continue checking if the ISO C99 headers exist and support is on.
107765 if test x"$enable_wchar_t" = xyes; then
107767 # Use iconv for wchar_t to char conversions. As such, check for
107768 # X/Open Portability Guide, version 2 features (XPG2).
107769 if test "${ac_cv_header_iconv_h+set}" = set; then
107770 echo "$as_me:$LINENO: checking for iconv.h" >&5
107771 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
107772 if test "${ac_cv_header_iconv_h+set}" = set; then
107773 echo $ECHO_N "(cached) $ECHO_C" >&6
107775 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
107776 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
107778 # Is the header compilable?
107779 echo "$as_me:$LINENO: checking iconv.h usability" >&5
107780 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
107781 cat >conftest.$ac_ext <<_ACEOF
107782 /* confdefs.h. */
107783 _ACEOF
107784 cat confdefs.h >>conftest.$ac_ext
107785 cat >>conftest.$ac_ext <<_ACEOF
107786 /* end confdefs.h. */
107787 $ac_includes_default
107788 #include <iconv.h>
107789 _ACEOF
107790 rm -f conftest.$ac_objext
107791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107792 (eval $ac_compile) 2>conftest.er1
107793 ac_status=$?
107794 grep -v '^ *+' conftest.er1 >conftest.err
107795 rm -f conftest.er1
107796 cat conftest.err >&5
107797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107798 (exit $ac_status); } &&
107799 { ac_try='test -z "$ac_c_werror_flag"
107800 || test ! -s conftest.err'
107801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107802 (eval $ac_try) 2>&5
107803 ac_status=$?
107804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107805 (exit $ac_status); }; } &&
107806 { ac_try='test -s conftest.$ac_objext'
107807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107808 (eval $ac_try) 2>&5
107809 ac_status=$?
107810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107811 (exit $ac_status); }; }; then
107812 ac_header_compiler=yes
107814 echo "$as_me: failed program was:" >&5
107815 sed 's/^/| /' conftest.$ac_ext >&5
107817 ac_header_compiler=no
107819 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107820 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
107821 echo "${ECHO_T}$ac_header_compiler" >&6
107823 # Is the header present?
107824 echo "$as_me:$LINENO: checking iconv.h presence" >&5
107825 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
107826 cat >conftest.$ac_ext <<_ACEOF
107827 /* confdefs.h. */
107828 _ACEOF
107829 cat confdefs.h >>conftest.$ac_ext
107830 cat >>conftest.$ac_ext <<_ACEOF
107831 /* end confdefs.h. */
107832 #include <iconv.h>
107833 _ACEOF
107834 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
107835 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
107836 ac_status=$?
107837 grep -v '^ *+' conftest.er1 >conftest.err
107838 rm -f conftest.er1
107839 cat conftest.err >&5
107840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107841 (exit $ac_status); } >/dev/null; then
107842 if test -s conftest.err; then
107843 ac_cpp_err=$ac_c_preproc_warn_flag
107844 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
107846 ac_cpp_err=
107849 ac_cpp_err=yes
107851 if test -z "$ac_cpp_err"; then
107852 ac_header_preproc=yes
107854 echo "$as_me: failed program was:" >&5
107855 sed 's/^/| /' conftest.$ac_ext >&5
107857 ac_header_preproc=no
107859 rm -f conftest.err conftest.$ac_ext
107860 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
107861 echo "${ECHO_T}$ac_header_preproc" >&6
107863 # So? What about this header?
107864 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
107865 yes:no: )
107866 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
107867 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
107868 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
107869 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
107870 ac_header_preproc=yes
107872 no:yes:* )
107873 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
107874 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
107875 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
107876 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
107877 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
107878 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
107879 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
107880 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
107881 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
107882 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
107883 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
107884 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
107886 cat <<\_ASBOX
107887 ## ----------------------------------------- ##
107888 ## Report this to the package-unused lists. ##
107889 ## ----------------------------------------- ##
107890 _ASBOX
107892 sed "s/^/$as_me: WARNING: /" >&2
107895 echo "$as_me:$LINENO: checking for iconv.h" >&5
107896 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
107897 if test "${ac_cv_header_iconv_h+set}" = set; then
107898 echo $ECHO_N "(cached) $ECHO_C" >&6
107900 ac_cv_header_iconv_h=$ac_header_preproc
107902 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
107903 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
107906 if test $ac_cv_header_iconv_h = yes; then
107907 ac_has_iconv_h=yes
107909 ac_has_iconv_h=no
107913 if test "${ac_cv_header_langinfo_h+set}" = set; then
107914 echo "$as_me:$LINENO: checking for langinfo.h" >&5
107915 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
107916 if test "${ac_cv_header_langinfo_h+set}" = set; then
107917 echo $ECHO_N "(cached) $ECHO_C" >&6
107919 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
107920 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
107922 # Is the header compilable?
107923 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
107924 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
107925 cat >conftest.$ac_ext <<_ACEOF
107926 /* confdefs.h. */
107927 _ACEOF
107928 cat confdefs.h >>conftest.$ac_ext
107929 cat >>conftest.$ac_ext <<_ACEOF
107930 /* end confdefs.h. */
107931 $ac_includes_default
107932 #include <langinfo.h>
107933 _ACEOF
107934 rm -f conftest.$ac_objext
107935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107936 (eval $ac_compile) 2>conftest.er1
107937 ac_status=$?
107938 grep -v '^ *+' conftest.er1 >conftest.err
107939 rm -f conftest.er1
107940 cat conftest.err >&5
107941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107942 (exit $ac_status); } &&
107943 { ac_try='test -z "$ac_c_werror_flag"
107944 || test ! -s conftest.err'
107945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107946 (eval $ac_try) 2>&5
107947 ac_status=$?
107948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107949 (exit $ac_status); }; } &&
107950 { ac_try='test -s conftest.$ac_objext'
107951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107952 (eval $ac_try) 2>&5
107953 ac_status=$?
107954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107955 (exit $ac_status); }; }; then
107956 ac_header_compiler=yes
107958 echo "$as_me: failed program was:" >&5
107959 sed 's/^/| /' conftest.$ac_ext >&5
107961 ac_header_compiler=no
107963 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107964 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
107965 echo "${ECHO_T}$ac_header_compiler" >&6
107967 # Is the header present?
107968 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
107969 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
107970 cat >conftest.$ac_ext <<_ACEOF
107971 /* confdefs.h. */
107972 _ACEOF
107973 cat confdefs.h >>conftest.$ac_ext
107974 cat >>conftest.$ac_ext <<_ACEOF
107975 /* end confdefs.h. */
107976 #include <langinfo.h>
107977 _ACEOF
107978 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
107979 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
107980 ac_status=$?
107981 grep -v '^ *+' conftest.er1 >conftest.err
107982 rm -f conftest.er1
107983 cat conftest.err >&5
107984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107985 (exit $ac_status); } >/dev/null; then
107986 if test -s conftest.err; then
107987 ac_cpp_err=$ac_c_preproc_warn_flag
107988 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
107990 ac_cpp_err=
107993 ac_cpp_err=yes
107995 if test -z "$ac_cpp_err"; then
107996 ac_header_preproc=yes
107998 echo "$as_me: failed program was:" >&5
107999 sed 's/^/| /' conftest.$ac_ext >&5
108001 ac_header_preproc=no
108003 rm -f conftest.err conftest.$ac_ext
108004 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
108005 echo "${ECHO_T}$ac_header_preproc" >&6
108007 # So? What about this header?
108008 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
108009 yes:no: )
108010 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
108011 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
108012 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
108013 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
108014 ac_header_preproc=yes
108016 no:yes:* )
108017 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
108018 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
108019 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
108020 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
108021 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
108022 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
108023 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
108024 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
108025 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
108026 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
108027 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
108028 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
108030 cat <<\_ASBOX
108031 ## ----------------------------------------- ##
108032 ## Report this to the package-unused lists. ##
108033 ## ----------------------------------------- ##
108034 _ASBOX
108036 sed "s/^/$as_me: WARNING: /" >&2
108039 echo "$as_me:$LINENO: checking for langinfo.h" >&5
108040 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
108041 if test "${ac_cv_header_langinfo_h+set}" = set; then
108042 echo $ECHO_N "(cached) $ECHO_C" >&6
108044 ac_cv_header_langinfo_h=$ac_header_preproc
108046 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
108047 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
108050 if test $ac_cv_header_langinfo_h = yes; then
108051 ac_has_langinfo_h=yes
108053 ac_has_langinfo_h=no
108058 # Check for existence of libiconv.a providing XPG2 wchar_t support.
108059 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
108060 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
108061 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
108062 echo $ECHO_N "(cached) $ECHO_C" >&6
108064 ac_check_lib_save_LIBS=$LIBS
108065 LIBS="-liconv $LIBS"
108066 if test x$gcc_no_link = xyes; then
108067 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108068 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108069 { (exit 1); exit 1; }; }
108071 cat >conftest.$ac_ext <<_ACEOF
108072 /* confdefs.h. */
108073 _ACEOF
108074 cat confdefs.h >>conftest.$ac_ext
108075 cat >>conftest.$ac_ext <<_ACEOF
108076 /* end confdefs.h. */
108078 /* Override any gcc2 internal prototype to avoid an error. */
108079 #ifdef __cplusplus
108080 extern "C"
108081 #endif
108082 /* We use char because int might match the return type of a gcc2
108083 builtin and then its argument prototype would still apply. */
108084 char iconv ();
108086 main ()
108088 iconv ();
108090 return 0;
108092 _ACEOF
108093 rm -f conftest.$ac_objext conftest$ac_exeext
108094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108095 (eval $ac_link) 2>conftest.er1
108096 ac_status=$?
108097 grep -v '^ *+' conftest.er1 >conftest.err
108098 rm -f conftest.er1
108099 cat conftest.err >&5
108100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108101 (exit $ac_status); } &&
108102 { ac_try='test -z "$ac_c_werror_flag"
108103 || test ! -s conftest.err'
108104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108105 (eval $ac_try) 2>&5
108106 ac_status=$?
108107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108108 (exit $ac_status); }; } &&
108109 { ac_try='test -s conftest$ac_exeext'
108110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108111 (eval $ac_try) 2>&5
108112 ac_status=$?
108113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108114 (exit $ac_status); }; }; then
108115 ac_cv_lib_iconv_iconv=yes
108117 echo "$as_me: failed program was:" >&5
108118 sed 's/^/| /' conftest.$ac_ext >&5
108120 ac_cv_lib_iconv_iconv=no
108122 rm -f conftest.err conftest.$ac_objext \
108123 conftest$ac_exeext conftest.$ac_ext
108124 LIBS=$ac_check_lib_save_LIBS
108126 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
108127 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
108128 if test $ac_cv_lib_iconv_iconv = yes; then
108129 LIBICONV="-liconv"
108132 ac_save_LIBS="$LIBS"
108133 LIBS="$LIBS $LIBICONV"
108140 for ac_func in iconv_open iconv_close iconv nl_langinfo
108142 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
108143 echo "$as_me:$LINENO: checking for $ac_func" >&5
108144 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
108145 if eval "test \"\${$as_ac_var+set}\" = set"; then
108146 echo $ECHO_N "(cached) $ECHO_C" >&6
108148 if test x$gcc_no_link = xyes; then
108149 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108150 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108151 { (exit 1); exit 1; }; }
108153 cat >conftest.$ac_ext <<_ACEOF
108154 /* confdefs.h. */
108155 _ACEOF
108156 cat confdefs.h >>conftest.$ac_ext
108157 cat >>conftest.$ac_ext <<_ACEOF
108158 /* end confdefs.h. */
108159 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
108160 For example, HP-UX 11i <limits.h> declares gettimeofday. */
108161 #define $ac_func innocuous_$ac_func
108163 /* System header to define __stub macros and hopefully few prototypes,
108164 which can conflict with char $ac_func (); below.
108165 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
108166 <limits.h> exists even on freestanding compilers. */
108168 #ifdef __STDC__
108169 # include <limits.h>
108170 #else
108171 # include <assert.h>
108172 #endif
108174 #undef $ac_func
108176 /* Override any gcc2 internal prototype to avoid an error. */
108177 #ifdef __cplusplus
108178 extern "C"
108180 #endif
108181 /* We use char because int might match the return type of a gcc2
108182 builtin and then its argument prototype would still apply. */
108183 char $ac_func ();
108184 /* The GNU C library defines this for functions which it implements
108185 to always fail with ENOSYS. Some functions are actually named
108186 something starting with __ and the normal name is an alias. */
108187 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
108188 choke me
108189 #else
108190 char (*f) () = $ac_func;
108191 #endif
108192 #ifdef __cplusplus
108194 #endif
108197 main ()
108199 return f != $ac_func;
108201 return 0;
108203 _ACEOF
108204 rm -f conftest.$ac_objext conftest$ac_exeext
108205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108206 (eval $ac_link) 2>conftest.er1
108207 ac_status=$?
108208 grep -v '^ *+' conftest.er1 >conftest.err
108209 rm -f conftest.er1
108210 cat conftest.err >&5
108211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108212 (exit $ac_status); } &&
108213 { ac_try='test -z "$ac_c_werror_flag"
108214 || test ! -s conftest.err'
108215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108216 (eval $ac_try) 2>&5
108217 ac_status=$?
108218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108219 (exit $ac_status); }; } &&
108220 { ac_try='test -s conftest$ac_exeext'
108221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108222 (eval $ac_try) 2>&5
108223 ac_status=$?
108224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108225 (exit $ac_status); }; }; then
108226 eval "$as_ac_var=yes"
108228 echo "$as_me: failed program was:" >&5
108229 sed 's/^/| /' conftest.$ac_ext >&5
108231 eval "$as_ac_var=no"
108233 rm -f conftest.err conftest.$ac_objext \
108234 conftest$ac_exeext conftest.$ac_ext
108236 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
108237 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
108238 if test `eval echo '${'$as_ac_var'}'` = yes; then
108239 cat >>confdefs.h <<_ACEOF
108240 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108241 _ACEOF
108242 ac_XPG2funcs=yes
108244 ac_XPG2funcs=no
108249 LIBS="$ac_save_LIBS"
108251 if test x"$ac_has_iconv_h" = xyes &&
108252 test x"$ac_has_langinfo_h" = xyes &&
108253 test x"$ac_XPG2funcs" = xyes;
108256 cat >>confdefs.h <<\_ACEOF
108257 #define _GLIBCXX_USE_ICONV 1
108258 _ACEOF
108260 enable_iconv=yes
108263 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
108264 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
108265 echo "$as_me:$LINENO: result: $enable_iconv" >&5
108266 echo "${ECHO_T}$enable_iconv" >&6
108268 cat >>confdefs.h <<\_ACEOF
108269 #define HAVE_COPYSIGN 1
108270 _ACEOF
108272 cat >>confdefs.h <<\_ACEOF
108273 #define HAVE_COPYSIGNF 1
108274 _ACEOF
108276 cat >>confdefs.h <<\_ACEOF
108277 #define HAVE_FINITE 1
108278 _ACEOF
108280 cat >>confdefs.h <<\_ACEOF
108281 #define HAVE_FINITEF 1
108282 _ACEOF
108284 cat >>confdefs.h <<\_ACEOF
108285 #define HAVE_FREXPF 1
108286 _ACEOF
108288 cat >>confdefs.h <<\_ACEOF
108289 #define HAVE_HYPOTF 1
108290 _ACEOF
108292 cat >>confdefs.h <<\_ACEOF
108293 #define HAVE_ISINF 1
108294 _ACEOF
108296 cat >>confdefs.h <<\_ACEOF
108297 #define HAVE_ISINFF 1
108298 _ACEOF
108300 cat >>confdefs.h <<\_ACEOF
108301 #define HAVE_ISNAN 1
108302 _ACEOF
108304 cat >>confdefs.h <<\_ACEOF
108305 #define HAVE_ISNANF 1
108306 _ACEOF
108308 cat >>confdefs.h <<\_ACEOF
108309 #define HAVE_SINCOS 1
108310 _ACEOF
108312 cat >>confdefs.h <<\_ACEOF
108313 #define HAVE_SINCOSF 1
108314 _ACEOF
108316 if test x"long_double_math_on_this_cpu" = x"yes"; then
108317 cat >>confdefs.h <<\_ACEOF
108318 #define HAVE_FINITEL 1
108319 _ACEOF
108321 cat >>confdefs.h <<\_ACEOF
108322 #define HAVE_HYPOTL 1
108323 _ACEOF
108325 cat >>confdefs.h <<\_ACEOF
108326 #define HAVE_ISINFL 1
108327 _ACEOF
108329 cat >>confdefs.h <<\_ACEOF
108330 #define HAVE_ISNANL 1
108331 _ACEOF
108335 *-vxworks)
108336 cat >>confdefs.h <<\_ACEOF
108337 #define HAVE_MMAP 1
108338 _ACEOF
108340 cat >>confdefs.h <<\_ACEOF
108341 #define HAVE_ACOSF 1
108342 _ACEOF
108344 cat >>confdefs.h <<\_ACEOF
108345 #define HAVE_ASINF 1
108346 _ACEOF
108348 cat >>confdefs.h <<\_ACEOF
108349 #define HAVE_ATAN2F 1
108350 _ACEOF
108352 cat >>confdefs.h <<\_ACEOF
108353 #define HAVE_ATANF 1
108354 _ACEOF
108356 cat >>confdefs.h <<\_ACEOF
108357 #define HAVE_CEILF 1
108358 _ACEOF
108360 cat >>confdefs.h <<\_ACEOF
108361 #define HAVE_COSF 1
108362 _ACEOF
108364 cat >>confdefs.h <<\_ACEOF
108365 #define HAVE_COSHF 1
108366 _ACEOF
108368 cat >>confdefs.h <<\_ACEOF
108369 #define HAVE_EXPF 1
108370 _ACEOF
108372 cat >>confdefs.h <<\_ACEOF
108373 #define HAVE_FABSF 1
108374 _ACEOF
108376 cat >>confdefs.h <<\_ACEOF
108377 #define HAVE_FLOORF 1
108378 _ACEOF
108380 cat >>confdefs.h <<\_ACEOF
108381 #define HAVE_FMODF 1
108382 _ACEOF
108384 cat >>confdefs.h <<\_ACEOF
108385 #define HAVE_HYPOT 1
108386 _ACEOF
108388 cat >>confdefs.h <<\_ACEOF
108389 #define HAVE_LOG10F 1
108390 _ACEOF
108392 cat >>confdefs.h <<\_ACEOF
108393 #define HAVE_LOGF 1
108394 _ACEOF
108396 cat >>confdefs.h <<\_ACEOF
108397 #define HAVE_POWF 1
108398 _ACEOF
108400 cat >>confdefs.h <<\_ACEOF
108401 #define HAVE_SINF 1
108402 _ACEOF
108404 cat >>confdefs.h <<\_ACEOF
108405 #define HAVE_SINHF 1
108406 _ACEOF
108408 cat >>confdefs.h <<\_ACEOF
108409 #define HAVE_SQRTF 1
108410 _ACEOF
108412 cat >>confdefs.h <<\_ACEOF
108413 #define HAVE_TANF 1
108414 _ACEOF
108416 cat >>confdefs.h <<\_ACEOF
108417 #define HAVE_TANHF 1
108418 _ACEOF
108421 *-windiss*)
108422 cat >>confdefs.h <<\_ACEOF
108423 #define HAVE_ACOSF 1
108424 _ACEOF
108426 cat >>confdefs.h <<\_ACEOF
108427 #define HAVE_ACOSL 1
108428 _ACEOF
108430 cat >>confdefs.h <<\_ACEOF
108431 #define HAVE_ASINF 1
108432 _ACEOF
108434 cat >>confdefs.h <<\_ACEOF
108435 #define HAVE_ASINL 1
108436 _ACEOF
108438 cat >>confdefs.h <<\_ACEOF
108439 #define HAVE_ATAN2F 1
108440 _ACEOF
108442 cat >>confdefs.h <<\_ACEOF
108443 #define HAVE_ATAN2L 1
108444 _ACEOF
108446 cat >>confdefs.h <<\_ACEOF
108447 #define HAVE_ATANF 1
108448 _ACEOF
108450 cat >>confdefs.h <<\_ACEOF
108451 #define HAVE_ATANL 1
108452 _ACEOF
108454 cat >>confdefs.h <<\_ACEOF
108455 #define HAVE_CEILF 1
108456 _ACEOF
108458 cat >>confdefs.h <<\_ACEOF
108459 #define HAVE_CEILL 1
108460 _ACEOF
108462 cat >>confdefs.h <<\_ACEOF
108463 #define HAVE_COPYSIGN 1
108464 _ACEOF
108466 cat >>confdefs.h <<\_ACEOF
108467 #define HAVE_COPYSIGNF 1
108468 _ACEOF
108470 cat >>confdefs.h <<\_ACEOF
108471 #define HAVE_COSF 1
108472 _ACEOF
108474 cat >>confdefs.h <<\_ACEOF
108475 #define HAVE_COSL 1
108476 _ACEOF
108478 cat >>confdefs.h <<\_ACEOF
108479 #define HAVE_COSHF 1
108480 _ACEOF
108482 cat >>confdefs.h <<\_ACEOF
108483 #define HAVE_COSHL 1
108484 _ACEOF
108486 cat >>confdefs.h <<\_ACEOF
108487 #define HAVE_EXPF 1
108488 _ACEOF
108490 cat >>confdefs.h <<\_ACEOF
108491 #define HAVE_EXPL 1
108492 _ACEOF
108494 cat >>confdefs.h <<\_ACEOF
108495 #define HAVE_FABSF 1
108496 _ACEOF
108498 cat >>confdefs.h <<\_ACEOF
108499 #define HAVE_FABSL 1
108500 _ACEOF
108502 cat >>confdefs.h <<\_ACEOF
108503 #define HAVE_FLOORF 1
108504 _ACEOF
108506 cat >>confdefs.h <<\_ACEOF
108507 #define HAVE_FLOORL 1
108508 _ACEOF
108510 cat >>confdefs.h <<\_ACEOF
108511 #define HAVE_FMODF 1
108512 _ACEOF
108514 cat >>confdefs.h <<\_ACEOF
108515 #define HAVE_FMODL 1
108516 _ACEOF
108518 cat >>confdefs.h <<\_ACEOF
108519 #define HAVE_FREXPF 1
108520 _ACEOF
108522 cat >>confdefs.h <<\_ACEOF
108523 #define HAVE_FREXPL 1
108524 _ACEOF
108526 cat >>confdefs.h <<\_ACEOF
108527 #define HAVE_LDEXPF 1
108528 _ACEOF
108530 cat >>confdefs.h <<\_ACEOF
108531 #define HAVE_LDEXPL 1
108532 _ACEOF
108534 cat >>confdefs.h <<\_ACEOF
108535 #define HAVE_LOG10F 1
108536 _ACEOF
108538 cat >>confdefs.h <<\_ACEOF
108539 #define HAVE_LOG10L 1
108540 _ACEOF
108542 cat >>confdefs.h <<\_ACEOF
108543 #define HAVE_LOGF 1
108544 _ACEOF
108546 cat >>confdefs.h <<\_ACEOF
108547 #define HAVE_MODFF 1
108548 _ACEOF
108550 cat >>confdefs.h <<\_ACEOF
108551 #define HAVE_MODFL 1
108552 _ACEOF
108554 cat >>confdefs.h <<\_ACEOF
108555 #define HAVE_POWF 1
108556 _ACEOF
108558 cat >>confdefs.h <<\_ACEOF
108559 #define HAVE_POWL 1
108560 _ACEOF
108562 cat >>confdefs.h <<\_ACEOF
108563 #define HAVE_SINF 1
108564 _ACEOF
108566 cat >>confdefs.h <<\_ACEOF
108567 #define HAVE_SINL 1
108568 _ACEOF
108570 cat >>confdefs.h <<\_ACEOF
108571 #define HAVE_SINHF 1
108572 _ACEOF
108574 cat >>confdefs.h <<\_ACEOF
108575 #define HAVE_SINHL 1
108576 _ACEOF
108578 cat >>confdefs.h <<\_ACEOF
108579 #define HAVE_SQRTF 1
108580 _ACEOF
108582 cat >>confdefs.h <<\_ACEOF
108583 #define HAVE_SQRTL 1
108584 _ACEOF
108586 cat >>confdefs.h <<\_ACEOF
108587 #define HAVE_TANF 1
108588 _ACEOF
108590 cat >>confdefs.h <<\_ACEOF
108591 #define HAVE_TANL 1
108592 _ACEOF
108594 cat >>confdefs.h <<\_ACEOF
108595 #define HAVE_TANHF 1
108596 _ACEOF
108598 cat >>confdefs.h <<\_ACEOF
108599 #define HAVE_TANHL 1
108600 _ACEOF
108604 { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
108605 echo "$as_me: error: No support for this host/target combination." >&2;}
108606 { (exit 1); exit 1; }; }
108612 # At some point, we should differentiate between architectures
108613 # like x86, which have long double versions, and alpha/powerpc/etc.,
108614 # which don't. For the time being, punt.
108615 if test x"long_double_math_on_this_cpu" = x"yes"; then
108616 cat >>confdefs.h <<\_ACEOF
108617 #define HAVE_ACOSL 1
108618 _ACEOF
108620 cat >>confdefs.h <<\_ACEOF
108621 #define HAVE_ASINL 1
108622 _ACEOF
108624 cat >>confdefs.h <<\_ACEOF
108625 #define HAVE_ATAN2L 1
108626 _ACEOF
108628 cat >>confdefs.h <<\_ACEOF
108629 #define HAVE_ATANL 1
108630 _ACEOF
108632 cat >>confdefs.h <<\_ACEOF
108633 #define HAVE_CEILL 1
108634 _ACEOF
108636 cat >>confdefs.h <<\_ACEOF
108637 #define HAVE_COPYSIGNL 1
108638 _ACEOF
108640 cat >>confdefs.h <<\_ACEOF
108641 #define HAVE_COSL 1
108642 _ACEOF
108644 cat >>confdefs.h <<\_ACEOF
108645 #define HAVE_COSHL 1
108646 _ACEOF
108648 cat >>confdefs.h <<\_ACEOF
108649 #define HAVE_EXPL 1
108650 _ACEOF
108652 cat >>confdefs.h <<\_ACEOF
108653 #define HAVE_FABSL 1
108654 _ACEOF
108656 cat >>confdefs.h <<\_ACEOF
108657 #define HAVE_FLOORL 1
108658 _ACEOF
108660 cat >>confdefs.h <<\_ACEOF
108661 #define HAVE_FMODL 1
108662 _ACEOF
108664 cat >>confdefs.h <<\_ACEOF
108665 #define HAVE_FREXPL 1
108666 _ACEOF
108668 cat >>confdefs.h <<\_ACEOF
108669 #define HAVE_LDEXPL 1
108670 _ACEOF
108672 cat >>confdefs.h <<\_ACEOF
108673 #define HAVE_LOG10L 1
108674 _ACEOF
108676 cat >>confdefs.h <<\_ACEOF
108677 #define HAVE_LOGL 1
108678 _ACEOF
108680 cat >>confdefs.h <<\_ACEOF
108681 #define HAVE_MODFL 1
108682 _ACEOF
108684 cat >>confdefs.h <<\_ACEOF
108685 #define HAVE_POWL 1
108686 _ACEOF
108688 cat >>confdefs.h <<\_ACEOF
108689 #define HAVE_SINCOSL 1
108690 _ACEOF
108692 cat >>confdefs.h <<\_ACEOF
108693 #define HAVE_SINL 1
108694 _ACEOF
108696 cat >>confdefs.h <<\_ACEOF
108697 #define HAVE_SINHL 1
108698 _ACEOF
108700 cat >>confdefs.h <<\_ACEOF
108701 #define HAVE_SQRTL 1
108702 _ACEOF
108704 cat >>confdefs.h <<\_ACEOF
108705 #define HAVE_TANL 1
108706 _ACEOF
108708 cat >>confdefs.h <<\_ACEOF
108709 #define HAVE_TANHL 1
108710 _ACEOF
108716 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
108719 # Check whether --enable-symvers or --disable-symvers was given.
108720 if test "${enable_symvers+set}" = set; then
108721 enableval="$enable_symvers"
108723 case "$enableval" in
108724 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export) ;;
108725 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
108726 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
108727 { (exit 1); exit 1; }; } ;;
108731 enable_symvers=yes
108735 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
108736 # don't know enough about $LD to do tricks...
108739 # Turn a 'yes' into a suitable default.
108740 if test x$enable_symvers = xyes ; then
108741 if test $enable_shared = no || test "x$LD" = x ; then
108742 enable_symvers=no
108744 if test $with_gnu_ld = yes ; then
108745 enable_symvers=gnu
108747 case ${target_os} in
108748 darwin*)
108749 enable_symvers=darwin ;;
108751 enable_symvers=no ;;
108757 # Check to see if 'darwin' or 'darwin-export' can win.
108758 if test x$enable_symvers = xdarwin-export ; then
108759 enable_symvers=darwin
108762 # Check to see if 'gnu' can win.
108763 if test $enable_symvers = gnu || test $enable_symvers = gnu-versioned-namespace; then
108764 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
108765 echo "$as_me:$LINENO: checking for shared libgcc" >&5
108766 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
108767 ac_save_CFLAGS="$CFLAGS"
108768 CFLAGS=' -lgcc_s'
108769 if test x$gcc_no_link = xyes; then
108770 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108771 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108772 { (exit 1); exit 1; }; }
108774 cat >conftest.$ac_ext <<_ACEOF
108775 /* confdefs.h. */
108776 _ACEOF
108777 cat confdefs.h >>conftest.$ac_ext
108778 cat >>conftest.$ac_ext <<_ACEOF
108779 /* end confdefs.h. */
108782 main ()
108784 return 0;
108786 return 0;
108788 _ACEOF
108789 rm -f conftest.$ac_objext conftest$ac_exeext
108790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108791 (eval $ac_link) 2>conftest.er1
108792 ac_status=$?
108793 grep -v '^ *+' conftest.er1 >conftest.err
108794 rm -f conftest.er1
108795 cat conftest.err >&5
108796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108797 (exit $ac_status); } &&
108798 { ac_try='test -z "$ac_c_werror_flag"
108799 || test ! -s conftest.err'
108800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108801 (eval $ac_try) 2>&5
108802 ac_status=$?
108803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108804 (exit $ac_status); }; } &&
108805 { ac_try='test -s conftest$ac_exeext'
108806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108807 (eval $ac_try) 2>&5
108808 ac_status=$?
108809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108810 (exit $ac_status); }; }; then
108811 glibcxx_shared_libgcc=yes
108813 echo "$as_me: failed program was:" >&5
108814 sed 's/^/| /' conftest.$ac_ext >&5
108816 glibcxx_shared_libgcc=no
108818 rm -f conftest.err conftest.$ac_objext \
108819 conftest$ac_exeext conftest.$ac_ext
108820 CFLAGS="$ac_save_CFLAGS"
108821 if test $glibcxx_shared_libgcc = no; then
108822 cat > conftest.c <<EOF
108823 int main (void) { return 0; }
108825 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
108826 -shared -shared-libgcc -o conftest.so \
108827 conftest.c -v 2>&1 >/dev/null \
108828 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
108829 rm -f conftest.c conftest.so
108830 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
108831 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
108832 if test x$gcc_no_link = xyes; then
108833 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108834 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108835 { (exit 1); exit 1; }; }
108837 cat >conftest.$ac_ext <<_ACEOF
108838 /* confdefs.h. */
108839 _ACEOF
108840 cat confdefs.h >>conftest.$ac_ext
108841 cat >>conftest.$ac_ext <<_ACEOF
108842 /* end confdefs.h. */
108845 main ()
108847 return 0;
108849 return 0;
108851 _ACEOF
108852 rm -f conftest.$ac_objext conftest$ac_exeext
108853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108854 (eval $ac_link) 2>conftest.er1
108855 ac_status=$?
108856 grep -v '^ *+' conftest.er1 >conftest.err
108857 rm -f conftest.er1
108858 cat conftest.err >&5
108859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108860 (exit $ac_status); } &&
108861 { ac_try='test -z "$ac_c_werror_flag"
108862 || test ! -s conftest.err'
108863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108864 (eval $ac_try) 2>&5
108865 ac_status=$?
108866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108867 (exit $ac_status); }; } &&
108868 { ac_try='test -s conftest$ac_exeext'
108869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108870 (eval $ac_try) 2>&5
108871 ac_status=$?
108872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108873 (exit $ac_status); }; }; then
108874 glibcxx_shared_libgcc=yes
108876 echo "$as_me: failed program was:" >&5
108877 sed 's/^/| /' conftest.$ac_ext >&5
108880 rm -f conftest.err conftest.$ac_objext \
108881 conftest$ac_exeext conftest.$ac_ext
108882 CFLAGS="$ac_save_CFLAGS"
108885 echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
108886 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
108888 # For GNU ld, we need at least this version. The format is described in
108889 # GLIBCXX_CHECK_LINKER_FEATURES above.
108890 glibcxx_min_gnu_ld_version=21400
108892 # If no shared libgcc, can't win.
108893 if test $glibcxx_shared_libgcc != yes; then
108894 { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
108895 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
108896 { echo "$as_me:$LINENO: WARNING: === you are not building a shared libgcc_s." >&5
108897 echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
108898 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
108899 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
108900 enable_symvers=no
108901 elif test $with_gnu_ld != yes ; then
108902 # just fail for now
108903 { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
108904 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
108905 { echo "$as_me:$LINENO: WARNING: === you are not using the GNU linker." >&5
108906 echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
108907 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
108908 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
108909 enable_symvers=no
108910 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
108911 # The right tools, the right setup, but too old. Fallbacks?
108912 { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
108913 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
108914 { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
108915 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
108916 { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
108917 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
108918 { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
108919 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
108920 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
108921 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
108922 enable_symvers=no
108926 # Everything parsed; figure out what file to use.
108927 case $enable_symvers in
108929 SYMVER_FILE=config/abi/pre/none.ver
108932 SYMVER_FILE=config/abi/pre/gnu.ver
108934 cat >>confdefs.h <<\_ACEOF
108935 #define _GLIBCXX_SYMVER_GNU 1
108936 _ACEOF
108939 gnu-versioned-namespace)
108940 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
108942 cat >>confdefs.h <<\_ACEOF
108943 #define _GLIBCXX_SYMVER_GNU_NAMESPACE 1
108944 _ACEOF
108947 darwin)
108948 SYMVER_FILE=config/abi/pre/gnu.ver
108950 cat >>confdefs.h <<\_ACEOF
108951 #define _GLIBCXX_SYMVER_DARWIN 1
108952 _ACEOF
108957 if test x$enable_symvers != xno ; then
108959 cat >>confdefs.h <<\_ACEOF
108960 #define _GLIBCXX_SYMVER 1
108961 _ACEOF
108971 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
108972 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
108974 # Now, set up compatibility support, if any.
108975 # In addition, need this to deal with std::size_t mangling in
108976 # src/compatibility.cc. In a perfect world, could use
108977 # typeid(std::size_t).name()[0] to do direct substitution.
108978 echo "$as_me:$LINENO: checking for size_t as unsigned int" >&5
108979 echo $ECHO_N "checking for size_t as unsigned int... $ECHO_C" >&6
108980 ac_save_CFLAGS="$CFLAGS"
108981 CFLAGS="-Werror"
108982 cat >conftest.$ac_ext <<_ACEOF
108983 /* confdefs.h. */
108984 _ACEOF
108985 cat confdefs.h >>conftest.$ac_ext
108986 cat >>conftest.$ac_ext <<_ACEOF
108987 /* end confdefs.h. */
108990 main ()
108992 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
108994 return 0;
108996 _ACEOF
108997 rm -f conftest.$ac_objext
108998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108999 (eval $ac_compile) 2>conftest.er1
109000 ac_status=$?
109001 grep -v '^ *+' conftest.er1 >conftest.err
109002 rm -f conftest.er1
109003 cat conftest.err >&5
109004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109005 (exit $ac_status); } &&
109006 { ac_try='test -z "$ac_c_werror_flag"
109007 || test ! -s conftest.err'
109008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109009 (eval $ac_try) 2>&5
109010 ac_status=$?
109011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109012 (exit $ac_status); }; } &&
109013 { ac_try='test -s conftest.$ac_objext'
109014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109015 (eval $ac_try) 2>&5
109016 ac_status=$?
109017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109018 (exit $ac_status); }; }; then
109019 glibcxx_size_t_is_i=yes
109021 echo "$as_me: failed program was:" >&5
109022 sed 's/^/| /' conftest.$ac_ext >&5
109024 glibcxx_size_t_is_i=no
109026 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109027 CFLAGS=$ac_save_CFLAGS
109028 if test "$glibcxx_size_t_is_i" = yes; then
109030 cat >>confdefs.h <<\_ACEOF
109031 #define _GLIBCXX_SIZE_T_IS_UINT 1
109032 _ACEOF
109035 echo "$as_me:$LINENO: result: $glibcxx_size_t_is_i" >&5
109036 echo "${ECHO_T}$glibcxx_size_t_is_i" >&6
109038 echo "$as_me:$LINENO: checking for ptrdiff_t as int" >&5
109039 echo $ECHO_N "checking for ptrdiff_t as int... $ECHO_C" >&6
109040 ac_save_CFLAGS="$CFLAGS"
109041 CFLAGS="-Werror"
109042 cat >conftest.$ac_ext <<_ACEOF
109043 /* confdefs.h. */
109044 _ACEOF
109045 cat confdefs.h >>conftest.$ac_ext
109046 cat >>conftest.$ac_ext <<_ACEOF
109047 /* end confdefs.h. */
109050 main ()
109052 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
109054 return 0;
109056 _ACEOF
109057 rm -f conftest.$ac_objext
109058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109059 (eval $ac_compile) 2>conftest.er1
109060 ac_status=$?
109061 grep -v '^ *+' conftest.er1 >conftest.err
109062 rm -f conftest.er1
109063 cat conftest.err >&5
109064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109065 (exit $ac_status); } &&
109066 { ac_try='test -z "$ac_c_werror_flag"
109067 || test ! -s conftest.err'
109068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109069 (eval $ac_try) 2>&5
109070 ac_status=$?
109071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109072 (exit $ac_status); }; } &&
109073 { ac_try='test -s conftest.$ac_objext'
109074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109075 (eval $ac_try) 2>&5
109076 ac_status=$?
109077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109078 (exit $ac_status); }; }; then
109079 glibcxx_ptrdiff_t_is_i=yes
109081 echo "$as_me: failed program was:" >&5
109082 sed 's/^/| /' conftest.$ac_ext >&5
109084 glibcxx_ptrdiff_t_is_i=no
109086 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109087 CFLAGS=$ac_save_CFLAGS
109088 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
109090 cat >>confdefs.h <<\_ACEOF
109091 #define _GLIBCXX_PTRDIFF_T_IS_INT 1
109092 _ACEOF
109095 echo "$as_me:$LINENO: result: $glibcxx_ptrdiff_t_is_i" >&5
109096 echo "${ECHO_T}$glibcxx_ptrdiff_t_is_i" >&6
109099 ac_ldbl_compat=no
109100 case "$target" in
109101 powerpc*-*-*gnu* | \
109102 sparc*-*-linux* | \
109103 s390*-*-linux* | \
109104 alpha*-*-linux*)
109105 cat >conftest.$ac_ext <<_ACEOF
109106 /* confdefs.h. */
109107 _ACEOF
109108 cat confdefs.h >>conftest.$ac_ext
109109 cat >>conftest.$ac_ext <<_ACEOF
109110 /* end confdefs.h. */
109113 main ()
109116 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
109117 #error no need for long double compatibility
109118 #endif
109121 return 0;
109123 _ACEOF
109124 rm -f conftest.$ac_objext
109125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109126 (eval $ac_compile) 2>conftest.er1
109127 ac_status=$?
109128 grep -v '^ *+' conftest.er1 >conftest.err
109129 rm -f conftest.er1
109130 cat conftest.err >&5
109131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109132 (exit $ac_status); } &&
109133 { ac_try='test -z "$ac_c_werror_flag"
109134 || test ! -s conftest.err'
109135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109136 (eval $ac_try) 2>&5
109137 ac_status=$?
109138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109139 (exit $ac_status); }; } &&
109140 { ac_try='test -s conftest.$ac_objext'
109141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109142 (eval $ac_try) 2>&5
109143 ac_status=$?
109144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109145 (exit $ac_status); }; }; then
109146 ac_ldbl_compat=yes
109148 echo "$as_me: failed program was:" >&5
109149 sed 's/^/| /' conftest.$ac_ext >&5
109151 ac_ldbl_compat=no
109153 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109154 if test "$ac_ldbl_compat" = yes; then
109156 cat >>confdefs.h <<\_ACEOF
109157 #define _GLIBCXX_LONG_DOUBLE_COMPAT 1
109158 _ACEOF
109160 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
109165 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
109167 if $GLIBCXX_IS_NATIVE ; then
109168 # Do checks for resource limit functions.
109170 setrlimit_have_headers=yes
109174 for ac_header in unistd.h sys/time.h sys/resource.h
109176 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
109177 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109178 echo "$as_me:$LINENO: checking for $ac_header" >&5
109179 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109180 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109181 echo $ECHO_N "(cached) $ECHO_C" >&6
109183 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109184 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109186 # Is the header compilable?
109187 echo "$as_me:$LINENO: checking $ac_header usability" >&5
109188 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
109189 cat >conftest.$ac_ext <<_ACEOF
109190 /* confdefs.h. */
109191 _ACEOF
109192 cat confdefs.h >>conftest.$ac_ext
109193 cat >>conftest.$ac_ext <<_ACEOF
109194 /* end confdefs.h. */
109195 $ac_includes_default
109196 #include <$ac_header>
109197 _ACEOF
109198 rm -f conftest.$ac_objext
109199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109200 (eval $ac_compile) 2>conftest.er1
109201 ac_status=$?
109202 grep -v '^ *+' conftest.er1 >conftest.err
109203 rm -f conftest.er1
109204 cat conftest.err >&5
109205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109206 (exit $ac_status); } &&
109207 { ac_try='test -z "$ac_c_werror_flag"
109208 || test ! -s conftest.err'
109209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109210 (eval $ac_try) 2>&5
109211 ac_status=$?
109212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109213 (exit $ac_status); }; } &&
109214 { ac_try='test -s conftest.$ac_objext'
109215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109216 (eval $ac_try) 2>&5
109217 ac_status=$?
109218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109219 (exit $ac_status); }; }; then
109220 ac_header_compiler=yes
109222 echo "$as_me: failed program was:" >&5
109223 sed 's/^/| /' conftest.$ac_ext >&5
109225 ac_header_compiler=no
109227 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109228 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
109229 echo "${ECHO_T}$ac_header_compiler" >&6
109231 # Is the header present?
109232 echo "$as_me:$LINENO: checking $ac_header presence" >&5
109233 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
109234 cat >conftest.$ac_ext <<_ACEOF
109235 /* confdefs.h. */
109236 _ACEOF
109237 cat confdefs.h >>conftest.$ac_ext
109238 cat >>conftest.$ac_ext <<_ACEOF
109239 /* end confdefs.h. */
109240 #include <$ac_header>
109241 _ACEOF
109242 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
109243 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
109244 ac_status=$?
109245 grep -v '^ *+' conftest.er1 >conftest.err
109246 rm -f conftest.er1
109247 cat conftest.err >&5
109248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109249 (exit $ac_status); } >/dev/null; then
109250 if test -s conftest.err; then
109251 ac_cpp_err=$ac_c_preproc_warn_flag
109252 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
109254 ac_cpp_err=
109257 ac_cpp_err=yes
109259 if test -z "$ac_cpp_err"; then
109260 ac_header_preproc=yes
109262 echo "$as_me: failed program was:" >&5
109263 sed 's/^/| /' conftest.$ac_ext >&5
109265 ac_header_preproc=no
109267 rm -f conftest.err conftest.$ac_ext
109268 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
109269 echo "${ECHO_T}$ac_header_preproc" >&6
109271 # So? What about this header?
109272 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
109273 yes:no: )
109274 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
109275 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
109276 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
109277 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
109278 ac_header_preproc=yes
109280 no:yes:* )
109281 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
109282 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
109283 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
109284 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
109285 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
109286 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
109287 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
109288 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
109289 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
109290 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
109291 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
109292 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
109294 cat <<\_ASBOX
109295 ## ----------------------------------------- ##
109296 ## Report this to the package-unused lists. ##
109297 ## ----------------------------------------- ##
109298 _ASBOX
109300 sed "s/^/$as_me: WARNING: /" >&2
109303 echo "$as_me:$LINENO: checking for $ac_header" >&5
109304 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109305 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109306 echo $ECHO_N "(cached) $ECHO_C" >&6
109308 eval "$as_ac_Header=\$ac_header_preproc"
109310 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109311 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109314 if test `eval echo '${'$as_ac_Header'}'` = yes; then
109315 cat >>confdefs.h <<_ACEOF
109316 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
109317 _ACEOF
109320 setrlimit_have_headers=no
109325 # If don't have the headers, then we can't run the tests now, and we
109326 # won't be seeing any of these during testsuite compilation.
109327 if test $setrlimit_have_headers = yes; then
109328 # Can't do these in a loop, else the resulting syntax is wrong.
109330 echo "$as_me:$LINENO: checking for RLIMIT_DATA" >&5
109331 echo $ECHO_N "checking for RLIMIT_DATA... $ECHO_C" >&6
109332 cat >conftest.$ac_ext <<_ACEOF
109333 /* confdefs.h. */
109334 _ACEOF
109335 cat confdefs.h >>conftest.$ac_ext
109336 cat >>conftest.$ac_ext <<_ACEOF
109337 /* end confdefs.h. */
109338 #include <unistd.h>
109339 #include <sys/time.h>
109340 #include <sys/resource.h>
109343 main ()
109345 int f = RLIMIT_DATA ;
109347 return 0;
109349 _ACEOF
109350 rm -f conftest.$ac_objext
109351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109352 (eval $ac_compile) 2>conftest.er1
109353 ac_status=$?
109354 grep -v '^ *+' conftest.er1 >conftest.err
109355 rm -f conftest.er1
109356 cat conftest.err >&5
109357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109358 (exit $ac_status); } &&
109359 { ac_try='test -z "$ac_c_werror_flag"
109360 || test ! -s conftest.err'
109361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109362 (eval $ac_try) 2>&5
109363 ac_status=$?
109364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109365 (exit $ac_status); }; } &&
109366 { ac_try='test -s conftest.$ac_objext'
109367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109368 (eval $ac_try) 2>&5
109369 ac_status=$?
109370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109371 (exit $ac_status); }; }; then
109372 glibcxx_mresult=1
109374 echo "$as_me: failed program was:" >&5
109375 sed 's/^/| /' conftest.$ac_ext >&5
109377 glibcxx_mresult=0
109379 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109381 cat >>confdefs.h <<_ACEOF
109382 #define HAVE_LIMIT_DATA $glibcxx_mresult
109383 _ACEOF
109385 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
109386 echo "$as_me:$LINENO: result: $res" >&5
109387 echo "${ECHO_T}$res" >&6
109390 echo "$as_me:$LINENO: checking for RLIMIT_RSS" >&5
109391 echo $ECHO_N "checking for RLIMIT_RSS... $ECHO_C" >&6
109392 cat >conftest.$ac_ext <<_ACEOF
109393 /* confdefs.h. */
109394 _ACEOF
109395 cat confdefs.h >>conftest.$ac_ext
109396 cat >>conftest.$ac_ext <<_ACEOF
109397 /* end confdefs.h. */
109398 #include <unistd.h>
109399 #include <sys/time.h>
109400 #include <sys/resource.h>
109403 main ()
109405 int f = RLIMIT_RSS ;
109407 return 0;
109409 _ACEOF
109410 rm -f conftest.$ac_objext
109411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109412 (eval $ac_compile) 2>conftest.er1
109413 ac_status=$?
109414 grep -v '^ *+' conftest.er1 >conftest.err
109415 rm -f conftest.er1
109416 cat conftest.err >&5
109417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109418 (exit $ac_status); } &&
109419 { ac_try='test -z "$ac_c_werror_flag"
109420 || test ! -s conftest.err'
109421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109422 (eval $ac_try) 2>&5
109423 ac_status=$?
109424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109425 (exit $ac_status); }; } &&
109426 { ac_try='test -s conftest.$ac_objext'
109427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109428 (eval $ac_try) 2>&5
109429 ac_status=$?
109430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109431 (exit $ac_status); }; }; then
109432 glibcxx_mresult=1
109434 echo "$as_me: failed program was:" >&5
109435 sed 's/^/| /' conftest.$ac_ext >&5
109437 glibcxx_mresult=0
109439 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109441 cat >>confdefs.h <<_ACEOF
109442 #define HAVE_LIMIT_RSS $glibcxx_mresult
109443 _ACEOF
109445 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
109446 echo "$as_me:$LINENO: result: $res" >&5
109447 echo "${ECHO_T}$res" >&6
109450 echo "$as_me:$LINENO: checking for RLIMIT_VMEM" >&5
109451 echo $ECHO_N "checking for RLIMIT_VMEM... $ECHO_C" >&6
109452 cat >conftest.$ac_ext <<_ACEOF
109453 /* confdefs.h. */
109454 _ACEOF
109455 cat confdefs.h >>conftest.$ac_ext
109456 cat >>conftest.$ac_ext <<_ACEOF
109457 /* end confdefs.h. */
109458 #include <unistd.h>
109459 #include <sys/time.h>
109460 #include <sys/resource.h>
109463 main ()
109465 int f = RLIMIT_VMEM ;
109467 return 0;
109469 _ACEOF
109470 rm -f conftest.$ac_objext
109471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109472 (eval $ac_compile) 2>conftest.er1
109473 ac_status=$?
109474 grep -v '^ *+' conftest.er1 >conftest.err
109475 rm -f conftest.er1
109476 cat conftest.err >&5
109477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109478 (exit $ac_status); } &&
109479 { ac_try='test -z "$ac_c_werror_flag"
109480 || test ! -s conftest.err'
109481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109482 (eval $ac_try) 2>&5
109483 ac_status=$?
109484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109485 (exit $ac_status); }; } &&
109486 { ac_try='test -s conftest.$ac_objext'
109487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109488 (eval $ac_try) 2>&5
109489 ac_status=$?
109490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109491 (exit $ac_status); }; }; then
109492 glibcxx_mresult=1
109494 echo "$as_me: failed program was:" >&5
109495 sed 's/^/| /' conftest.$ac_ext >&5
109497 glibcxx_mresult=0
109499 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109501 cat >>confdefs.h <<_ACEOF
109502 #define HAVE_LIMIT_VMEM $glibcxx_mresult
109503 _ACEOF
109505 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
109506 echo "$as_me:$LINENO: result: $res" >&5
109507 echo "${ECHO_T}$res" >&6
109510 echo "$as_me:$LINENO: checking for RLIMIT_AS" >&5
109511 echo $ECHO_N "checking for RLIMIT_AS... $ECHO_C" >&6
109512 cat >conftest.$ac_ext <<_ACEOF
109513 /* confdefs.h. */
109514 _ACEOF
109515 cat confdefs.h >>conftest.$ac_ext
109516 cat >>conftest.$ac_ext <<_ACEOF
109517 /* end confdefs.h. */
109518 #include <unistd.h>
109519 #include <sys/time.h>
109520 #include <sys/resource.h>
109523 main ()
109525 int f = RLIMIT_AS ;
109527 return 0;
109529 _ACEOF
109530 rm -f conftest.$ac_objext
109531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109532 (eval $ac_compile) 2>conftest.er1
109533 ac_status=$?
109534 grep -v '^ *+' conftest.er1 >conftest.err
109535 rm -f conftest.er1
109536 cat conftest.err >&5
109537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109538 (exit $ac_status); } &&
109539 { ac_try='test -z "$ac_c_werror_flag"
109540 || test ! -s conftest.err'
109541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109542 (eval $ac_try) 2>&5
109543 ac_status=$?
109544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109545 (exit $ac_status); }; } &&
109546 { ac_try='test -s conftest.$ac_objext'
109547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109548 (eval $ac_try) 2>&5
109549 ac_status=$?
109550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109551 (exit $ac_status); }; }; then
109552 glibcxx_mresult=1
109554 echo "$as_me: failed program was:" >&5
109555 sed 's/^/| /' conftest.$ac_ext >&5
109557 glibcxx_mresult=0
109559 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109561 cat >>confdefs.h <<_ACEOF
109562 #define HAVE_LIMIT_AS $glibcxx_mresult
109563 _ACEOF
109565 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
109566 echo "$as_me:$LINENO: result: $res" >&5
109567 echo "${ECHO_T}$res" >&6
109570 echo "$as_me:$LINENO: checking for RLIMIT_FSIZE" >&5
109571 echo $ECHO_N "checking for RLIMIT_FSIZE... $ECHO_C" >&6
109572 cat >conftest.$ac_ext <<_ACEOF
109573 /* confdefs.h. */
109574 _ACEOF
109575 cat confdefs.h >>conftest.$ac_ext
109576 cat >>conftest.$ac_ext <<_ACEOF
109577 /* end confdefs.h. */
109578 #include <unistd.h>
109579 #include <sys/time.h>
109580 #include <sys/resource.h>
109583 main ()
109585 int f = RLIMIT_FSIZE ;
109587 return 0;
109589 _ACEOF
109590 rm -f conftest.$ac_objext
109591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109592 (eval $ac_compile) 2>conftest.er1
109593 ac_status=$?
109594 grep -v '^ *+' conftest.er1 >conftest.err
109595 rm -f conftest.er1
109596 cat conftest.err >&5
109597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109598 (exit $ac_status); } &&
109599 { ac_try='test -z "$ac_c_werror_flag"
109600 || test ! -s conftest.err'
109601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109602 (eval $ac_try) 2>&5
109603 ac_status=$?
109604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109605 (exit $ac_status); }; } &&
109606 { ac_try='test -s conftest.$ac_objext'
109607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109608 (eval $ac_try) 2>&5
109609 ac_status=$?
109610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109611 (exit $ac_status); }; }; then
109612 glibcxx_mresult=1
109614 echo "$as_me: failed program was:" >&5
109615 sed 's/^/| /' conftest.$ac_ext >&5
109617 glibcxx_mresult=0
109619 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109621 cat >>confdefs.h <<_ACEOF
109622 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
109623 _ACEOF
109625 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
109626 echo "$as_me:$LINENO: result: $res" >&5
109627 echo "${ECHO_T}$res" >&6
109630 # Check for rlimit, setrlimit.
109631 if test "${ac_setrlimit+set}" = set; then
109632 echo $ECHO_N "(cached) $ECHO_C" >&6
109635 cat >conftest.$ac_ext <<_ACEOF
109636 /* confdefs.h. */
109637 _ACEOF
109638 cat confdefs.h >>conftest.$ac_ext
109639 cat >>conftest.$ac_ext <<_ACEOF
109640 /* end confdefs.h. */
109641 #include <unistd.h>
109642 #include <sys/time.h>
109643 #include <sys/resource.h>
109646 main ()
109648 struct rlimit r;
109649 setrlimit(0, &r);
109651 return 0;
109653 _ACEOF
109654 rm -f conftest.$ac_objext
109655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109656 (eval $ac_compile) 2>conftest.er1
109657 ac_status=$?
109658 grep -v '^ *+' conftest.er1 >conftest.err
109659 rm -f conftest.er1
109660 cat conftest.err >&5
109661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109662 (exit $ac_status); } &&
109663 { ac_try='test -z "$ac_c_werror_flag"
109664 || test ! -s conftest.err'
109665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109666 (eval $ac_try) 2>&5
109667 ac_status=$?
109668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109669 (exit $ac_status); }; } &&
109670 { ac_try='test -s conftest.$ac_objext'
109671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109672 (eval $ac_try) 2>&5
109673 ac_status=$?
109674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109675 (exit $ac_status); }; }; then
109676 ac_setrlimit=yes
109678 echo "$as_me: failed program was:" >&5
109679 sed 's/^/| /' conftest.$ac_ext >&5
109681 ac_setrlimit=no
109683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109689 echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
109690 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
109691 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
109692 ac_res_limits=yes
109694 cat >>confdefs.h <<\_ACEOF
109695 #define _GLIBCXX_RES_LIMITS 1
109696 _ACEOF
109699 ac_res_limits=no
109701 echo "$as_me:$LINENO: result: $ac_res_limits" >&5
109702 echo "${ECHO_T}$ac_res_limits" >&6
109705 # Look for setenv, so that extended locale tests can be performed.
109707 echo "$as_me:$LINENO: checking for setenv declaration" >&5
109708 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
109709 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
109710 if test "${glibcxx_cv_func_setenv_use+set}" = set; then
109711 echo $ECHO_N "(cached) $ECHO_C" >&6
109716 ac_ext=cc
109717 ac_cpp='$CXXCPP $CPPFLAGS'
109718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
109719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
109720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
109722 cat >conftest.$ac_ext <<_ACEOF
109723 /* confdefs.h. */
109724 _ACEOF
109725 cat confdefs.h >>conftest.$ac_ext
109726 cat >>conftest.$ac_ext <<_ACEOF
109727 /* end confdefs.h. */
109728 #include <stdlib.h>
109730 main ()
109732 setenv(0, 0, 0);
109734 return 0;
109736 _ACEOF
109737 rm -f conftest.$ac_objext
109738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109739 (eval $ac_compile) 2>conftest.er1
109740 ac_status=$?
109741 grep -v '^ *+' conftest.er1 >conftest.err
109742 rm -f conftest.er1
109743 cat conftest.err >&5
109744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109745 (exit $ac_status); } &&
109746 { ac_try='test -z "$ac_cxx_werror_flag"
109747 || test ! -s conftest.err'
109748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109749 (eval $ac_try) 2>&5
109750 ac_status=$?
109751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109752 (exit $ac_status); }; } &&
109753 { ac_try='test -s conftest.$ac_objext'
109754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109755 (eval $ac_try) 2>&5
109756 ac_status=$?
109757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109758 (exit $ac_status); }; }; then
109759 glibcxx_cv_func_setenv_use=yes
109761 echo "$as_me: failed program was:" >&5
109762 sed 's/^/| /' conftest.$ac_ext >&5
109764 glibcxx_cv_func_setenv_use=no
109766 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109767 ac_ext=c
109768 ac_cpp='$CPP $CPPFLAGS'
109769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
109770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
109771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
109777 echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
109778 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
109779 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
109781 for ac_func in setenv
109783 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
109784 echo "$as_me:$LINENO: checking for $ac_func" >&5
109785 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
109786 if eval "test \"\${$as_ac_var+set}\" = set"; then
109787 echo $ECHO_N "(cached) $ECHO_C" >&6
109789 if test x$gcc_no_link = xyes; then
109790 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109791 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109792 { (exit 1); exit 1; }; }
109794 cat >conftest.$ac_ext <<_ACEOF
109795 /* confdefs.h. */
109796 _ACEOF
109797 cat confdefs.h >>conftest.$ac_ext
109798 cat >>conftest.$ac_ext <<_ACEOF
109799 /* end confdefs.h. */
109800 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
109801 For example, HP-UX 11i <limits.h> declares gettimeofday. */
109802 #define $ac_func innocuous_$ac_func
109804 /* System header to define __stub macros and hopefully few prototypes,
109805 which can conflict with char $ac_func (); below.
109806 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
109807 <limits.h> exists even on freestanding compilers. */
109809 #ifdef __STDC__
109810 # include <limits.h>
109811 #else
109812 # include <assert.h>
109813 #endif
109815 #undef $ac_func
109817 /* Override any gcc2 internal prototype to avoid an error. */
109818 #ifdef __cplusplus
109819 extern "C"
109821 #endif
109822 /* We use char because int might match the return type of a gcc2
109823 builtin and then its argument prototype would still apply. */
109824 char $ac_func ();
109825 /* The GNU C library defines this for functions which it implements
109826 to always fail with ENOSYS. Some functions are actually named
109827 something starting with __ and the normal name is an alias. */
109828 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
109829 choke me
109830 #else
109831 char (*f) () = $ac_func;
109832 #endif
109833 #ifdef __cplusplus
109835 #endif
109838 main ()
109840 return f != $ac_func;
109842 return 0;
109844 _ACEOF
109845 rm -f conftest.$ac_objext conftest$ac_exeext
109846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109847 (eval $ac_link) 2>conftest.er1
109848 ac_status=$?
109849 grep -v '^ *+' conftest.er1 >conftest.err
109850 rm -f conftest.er1
109851 cat conftest.err >&5
109852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109853 (exit $ac_status); } &&
109854 { ac_try='test -z "$ac_c_werror_flag"
109855 || test ! -s conftest.err'
109856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109857 (eval $ac_try) 2>&5
109858 ac_status=$?
109859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109860 (exit $ac_status); }; } &&
109861 { ac_try='test -s conftest$ac_exeext'
109862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109863 (eval $ac_try) 2>&5
109864 ac_status=$?
109865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109866 (exit $ac_status); }; }; then
109867 eval "$as_ac_var=yes"
109869 echo "$as_me: failed program was:" >&5
109870 sed 's/^/| /' conftest.$ac_ext >&5
109872 eval "$as_ac_var=no"
109874 rm -f conftest.err conftest.$ac_objext \
109875 conftest$ac_exeext conftest.$ac_ext
109877 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
109878 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
109879 if test `eval echo '${'$as_ac_var'}'` = yes; then
109880 cat >>confdefs.h <<_ACEOF
109881 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
109882 _ACEOF
109891 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
109892 test $enable_symvers != no; then
109893 case "$host" in
109894 *-*-cygwin*)
109895 enable_abi_check=no ;;
109897 enable_abi_check=yes ;;
109900 # Only build this as native, since automake does not understand
109901 # CXX_FOR_BUILD.
109902 enable_abi_check=no
109905 # Export file names for ABI checking.
109906 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}\$(MULTISUBDIR)"
109910 # Propagate the target-specific source directories through the build chain.
109911 ATOMICITY_SRCDIR=config/${atomicity_dir}
109912 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
109913 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
109914 OS_INC_SRCDIR=config/${os_include_dir}
109915 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
109922 # Atomic builtins can be inlined in bits/atomicity.h.
109923 if test $atomicity_dir = cpu/generic/atomic_builtins ; then
109925 cat >>confdefs.h <<\_ACEOF
109926 #define _GLIBCXX_ATOMIC_BUILTINS 1
109927 _ACEOF
109931 # Determine cross-compile flags and AM_CONDITIONALs.
109932 #AC_SUBST(GLIBCXX_IS_NATIVE)
109933 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
109934 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
109935 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH, test $need_libmath = yes)
109938 if test $is_hosted = yes; then
109939 GLIBCXX_HOSTED_TRUE=
109940 GLIBCXX_HOSTED_FALSE='#'
109942 GLIBCXX_HOSTED_TRUE='#'
109943 GLIBCXX_HOSTED_FALSE=
109949 if test $enable_libstdcxx_pch = yes; then
109950 GLIBCXX_BUILD_PCH_TRUE=
109951 GLIBCXX_BUILD_PCH_FALSE='#'
109953 GLIBCXX_BUILD_PCH_TRUE='#'
109954 GLIBCXX_BUILD_PCH_FALSE=
109960 if test $enable_cheaders = c; then
109961 GLIBCXX_C_HEADERS_C_TRUE=
109962 GLIBCXX_C_HEADERS_C_FALSE='#'
109964 GLIBCXX_C_HEADERS_C_TRUE='#'
109965 GLIBCXX_C_HEADERS_C_FALSE=
109971 if test $enable_cheaders = c_std; then
109972 GLIBCXX_C_HEADERS_C_STD_TRUE=
109973 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
109975 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
109976 GLIBCXX_C_HEADERS_C_STD_FALSE=
109982 if test $c_compatibility = yes; then
109983 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
109984 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
109986 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
109987 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
109993 if test $enable_libstdcxx_debug = yes; then
109994 GLIBCXX_BUILD_DEBUG_TRUE=
109995 GLIBCXX_BUILD_DEBUG_FALSE='#'
109997 GLIBCXX_BUILD_DEBUG_TRUE='#'
109998 GLIBCXX_BUILD_DEBUG_FALSE=
110004 if test $enable_symvers != no; then
110005 ENABLE_SYMVERS_TRUE=
110006 ENABLE_SYMVERS_FALSE='#'
110008 ENABLE_SYMVERS_TRUE='#'
110009 ENABLE_SYMVERS_FALSE=
110015 if test $enable_symvers = gnu; then
110016 ENABLE_SYMVERS_GNU_TRUE=
110017 ENABLE_SYMVERS_GNU_FALSE='#'
110019 ENABLE_SYMVERS_GNU_TRUE='#'
110020 ENABLE_SYMVERS_GNU_FALSE=
110026 if test $enable_symvers = gnu-versioned-namespace; then
110027 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
110028 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
110030 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
110031 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
110037 if test $enable_symvers = darwin; then
110038 ENABLE_SYMVERS_DARWIN_TRUE=
110039 ENABLE_SYMVERS_DARWIN_FALSE='#'
110041 ENABLE_SYMVERS_DARWIN_TRUE='#'
110042 ENABLE_SYMVERS_DARWIN_FALSE=
110048 if test $ac_ldbl_compat = yes; then
110049 GLIBCXX_LDBL_COMPAT_TRUE=
110050 GLIBCXX_LDBL_COMPAT_FALSE='#'
110052 GLIBCXX_LDBL_COMPAT_TRUE='#'
110053 GLIBCXX_LDBL_COMPAT_FALSE=
110059 cat >confcache <<\_ACEOF
110060 # This file is a shell script that caches the results of configure
110061 # tests run on this system so they can be shared between configure
110062 # scripts and configure runs, see configure's option --config-cache.
110063 # It is not useful on other systems. If it contains results you don't
110064 # want to keep, you may remove or edit it.
110066 # config.status only pays attention to the cache file if you give it
110067 # the --recheck option to rerun configure.
110069 # `ac_cv_env_foo' variables (set or unset) will be overridden when
110070 # loading this file, other *unset* `ac_cv_foo' will be assigned the
110071 # following values.
110073 _ACEOF
110075 # The following way of writing the cache mishandles newlines in values,
110076 # but we know of no workaround that is simple, portable, and efficient.
110077 # So, don't put newlines in cache variables' values.
110078 # Ultrix sh set writes to stderr and can't be redirected directly,
110079 # and sets the high bit in the cache file unless we assign to the vars.
110081 (set) 2>&1 |
110082 case `(ac_space=' '; set | grep ac_space) 2>&1` in
110083 *ac_space=\ *)
110084 # `set' does not quote correctly, so add quotes (double-quote
110085 # substitution turns \\\\ into \\, and sed turns \\ into \).
110086 sed -n \
110087 "s/'/'\\\\''/g;
110088 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
110091 # `set' quotes correctly as required by POSIX, so do not add quotes.
110092 sed -n \
110093 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
110095 esac;
110097 sed '
110098 t clear
110099 : clear
110100 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
110101 t end
110102 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
110103 : end' >>confcache
110104 if diff $cache_file confcache >/dev/null 2>&1; then :; else
110105 if test -w $cache_file; then
110106 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
110107 cat confcache >$cache_file
110109 echo "not updating unwritable cache $cache_file"
110112 rm -f confcache
110114 if test ${multilib} = yes; then
110115 multilib_arg="--enable-multilib"
110117 multilib_arg=
110120 # Export all the install information.
110122 glibcxx_toolexecdir=no
110123 glibcxx_toolexeclibdir=no
110124 glibcxx_prefixdir=$prefix
110126 echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
110127 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
110129 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
110130 if test "${with_gxx_include_dir+set}" = set; then
110131 withval="$with_gxx_include_dir"
110132 case "$withval" in
110133 yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
110134 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
110135 { (exit 1); exit 1; }; } ;;
110136 no) gxx_include_dir=no ;;
110137 *) gxx_include_dir=$withval ;;
110140 gxx_include_dir=no
110142 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
110143 echo "${ECHO_T}$gxx_include_dir" >&6
110145 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
110146 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
110147 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
110148 if test "${enable_version_specific_runtime_libs+set}" = set; then
110149 enableval="$enable_version_specific_runtime_libs"
110150 case "$enableval" in
110151 yes) version_specific_libs=yes ;;
110152 no) version_specific_libs=no ;;
110153 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
110154 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
110155 { (exit 1); exit 1; }; };;
110158 version_specific_libs=no
110160 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
110161 echo "${ECHO_T}$version_specific_libs" >&6
110163 # Default case for install directory for include files.
110164 if test $version_specific_libs = no && test $gxx_include_dir = no; then
110165 gxx_include_dir='include/c++/${gcc_version}'
110166 if test -n "$with_cross_host" &&
110167 test x"$with_cross_host" != x"no"; then
110168 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
110170 gxx_include_dir='${prefix}/'"$gxx_include_dir"
110174 # Version-specific runtime libs processing.
110175 if test $version_specific_libs = yes; then
110176 # Need the gcc compiler version to know where to install libraries
110177 # and header files if --enable-version-specific-runtime-libs option
110178 # is selected. FIXME: these variables are misnamed, there are
110179 # no executables installed in _toolexecdir or _toolexeclibdir.
110180 if test x"$gxx_include_dir" = x"no"; then
110181 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
110183 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
110184 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
110187 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
110188 # Install a library built with a cross compiler in tooldir, not libdir.
110189 if test x"$glibcxx_toolexecdir" = x"no"; then
110190 if test -n "$with_cross_host" &&
110191 test x"$with_cross_host" != x"no"; then
110192 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
110193 glibcxx_toolexeclibdir='${toolexecdir}/lib'
110195 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
110196 glibcxx_toolexeclibdir='${libdir}'
110198 multi_os_directory=`$CXX -print-multi-os-directory`
110199 case $multi_os_directory in
110200 .) ;; # Avoid trailing /.
110201 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
110205 echo "$as_me:$LINENO: checking for install location" >&5
110206 echo $ECHO_N "checking for install location... $ECHO_C" >&6
110207 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
110208 echo "${ECHO_T}$gxx_include_dir" >&6
110216 # Export all the include and flag information to Makefiles.
110218 # Used for every C++ compile we perform.
110219 GLIBCXX_INCLUDES="\
110220 -I$glibcxx_builddir/include/$host_alias \
110221 -I$glibcxx_builddir/include \
110222 -I$glibcxx_srcdir/libsupc++"
110224 # For Canadian crosses, pick this up too.
110225 if test $CANADIAN = yes; then
110226 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
110229 # Stuff in the actual top level. Currently only used by libsupc++ to
110230 # get unwind* headers from the gcc dir.
110231 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
110232 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
110234 # Now, export this to all the little Makefiles....
110239 # Optimization flags that are probably a good idea for thrill-seekers. Just
110240 # uncomment the lines below and make, everything else is ready to go...
110241 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
110242 OPTIMIZE_CXXFLAGS=
110245 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
110249 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
110250 grep "enable shared" > /dev/null;
110252 LIBSUPCXX_PICFLAGS=-prefer-pic
110254 LIBSUPCXX_PICFLAGS=
110258 ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile po/Makefile testsuite/Makefile"
110260 ac_config_files="$ac_config_files scripts/testsuite_flags"
110263 ac_config_commands="$ac_config_commands default"
110266 cat >confcache <<\_ACEOF
110267 # This file is a shell script that caches the results of configure
110268 # tests run on this system so they can be shared between configure
110269 # scripts and configure runs, see configure's option --config-cache.
110270 # It is not useful on other systems. If it contains results you don't
110271 # want to keep, you may remove or edit it.
110273 # config.status only pays attention to the cache file if you give it
110274 # the --recheck option to rerun configure.
110276 # `ac_cv_env_foo' variables (set or unset) will be overridden when
110277 # loading this file, other *unset* `ac_cv_foo' will be assigned the
110278 # following values.
110280 _ACEOF
110282 # The following way of writing the cache mishandles newlines in values,
110283 # but we know of no workaround that is simple, portable, and efficient.
110284 # So, don't put newlines in cache variables' values.
110285 # Ultrix sh set writes to stderr and can't be redirected directly,
110286 # and sets the high bit in the cache file unless we assign to the vars.
110288 (set) 2>&1 |
110289 case `(ac_space=' '; set | grep ac_space) 2>&1` in
110290 *ac_space=\ *)
110291 # `set' does not quote correctly, so add quotes (double-quote
110292 # substitution turns \\\\ into \\, and sed turns \\ into \).
110293 sed -n \
110294 "s/'/'\\\\''/g;
110295 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
110298 # `set' quotes correctly as required by POSIX, so do not add quotes.
110299 sed -n \
110300 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
110302 esac;
110304 sed '
110305 t clear
110306 : clear
110307 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
110308 t end
110309 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
110310 : end' >>confcache
110311 if diff $cache_file confcache >/dev/null 2>&1; then :; else
110312 if test -w $cache_file; then
110313 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
110314 cat confcache >$cache_file
110316 echo "not updating unwritable cache $cache_file"
110319 rm -f confcache
110321 test "x$prefix" = xNONE && prefix=$ac_default_prefix
110322 # Let make expand exec_prefix.
110323 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
110325 # VPATH may cause trouble with some makes, so we remove $(srcdir),
110326 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
110327 # trailing colons and then remove the whole line if VPATH becomes empty
110328 # (actually we leave an empty line to preserve line numbers).
110329 if test "x$srcdir" = x.; then
110330 ac_vpsub='/^[ ]*VPATH[ ]*=/{
110331 s/:*\$(srcdir):*/:/;
110332 s/:*\${srcdir}:*/:/;
110333 s/:*@srcdir@:*/:/;
110334 s/^\([^=]*=[ ]*\):*/\1/;
110335 s/:*$//;
110336 s/^[^=]*=[ ]*$//;
110340 DEFS=-DHAVE_CONFIG_H
110342 ac_libobjs=
110343 ac_ltlibobjs=
110344 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
110345 # 1. Remove the extension, and $U if already installed.
110346 ac_i=`echo "$ac_i" |
110347 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
110348 # 2. Add them.
110349 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
110350 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
110352 LIBOBJS=$ac_libobjs
110354 LTLIBOBJS=$ac_ltlibobjs
110357 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
110358 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
110359 Usually this means the macro was only invoked conditionally." >&5
110360 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
110361 Usually this means the macro was only invoked conditionally." >&2;}
110362 { (exit 1); exit 1; }; }
110364 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
110365 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
110366 Usually this means the macro was only invoked conditionally." >&5
110367 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
110368 Usually this means the macro was only invoked conditionally." >&2;}
110369 { (exit 1); exit 1; }; }
110371 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
110372 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
110373 Usually this means the macro was only invoked conditionally." >&5
110374 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
110375 Usually this means the macro was only invoked conditionally." >&2;}
110376 { (exit 1); exit 1; }; }
110378 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
110379 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
110380 Usually this means the macro was only invoked conditionally." >&5
110381 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
110382 Usually this means the macro was only invoked conditionally." >&2;}
110383 { (exit 1); exit 1; }; }
110385 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
110386 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
110387 Usually this means the macro was only invoked conditionally." >&5
110388 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
110389 Usually this means the macro was only invoked conditionally." >&2;}
110390 { (exit 1); exit 1; }; }
110392 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
110393 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
110394 Usually this means the macro was only invoked conditionally." >&5
110395 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
110396 Usually this means the macro was only invoked conditionally." >&2;}
110397 { (exit 1); exit 1; }; }
110399 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
110400 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
110401 Usually this means the macro was only invoked conditionally." >&5
110402 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
110403 Usually this means the macro was only invoked conditionally." >&2;}
110404 { (exit 1); exit 1; }; }
110406 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
110407 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS\" was never defined.
110408 Usually this means the macro was only invoked conditionally." >&5
110409 echo "$as_me: error: conditional \"ENABLE_SYMVERS\" was never defined.
110410 Usually this means the macro was only invoked conditionally." >&2;}
110411 { (exit 1); exit 1; }; }
110413 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
110414 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
110415 Usually this means the macro was only invoked conditionally." >&5
110416 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
110417 Usually this means the macro was only invoked conditionally." >&2;}
110418 { (exit 1); exit 1; }; }
110420 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
110421 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
110422 Usually this means the macro was only invoked conditionally." >&5
110423 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
110424 Usually this means the macro was only invoked conditionally." >&2;}
110425 { (exit 1); exit 1; }; }
110427 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
110428 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
110429 Usually this means the macro was only invoked conditionally." >&5
110430 echo "$as_me: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
110431 Usually this means the macro was only invoked conditionally." >&2;}
110432 { (exit 1); exit 1; }; }
110434 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
110435 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
110436 Usually this means the macro was only invoked conditionally." >&5
110437 echo "$as_me: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
110438 Usually this means the macro was only invoked conditionally." >&2;}
110439 { (exit 1); exit 1; }; }
110442 : ${CONFIG_STATUS=./config.status}
110443 ac_clean_files_save=$ac_clean_files
110444 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
110445 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
110446 echo "$as_me: creating $CONFIG_STATUS" >&6;}
110447 cat >$CONFIG_STATUS <<_ACEOF
110448 #! $SHELL
110449 # Generated by $as_me.
110450 # Run this file to recreate the current configuration.
110451 # Compiler output produced by configure, useful for debugging
110452 # configure, is in config.log if it exists.
110454 debug=false
110455 ac_cs_recheck=false
110456 ac_cs_silent=false
110457 SHELL=\${CONFIG_SHELL-$SHELL}
110458 _ACEOF
110460 cat >>$CONFIG_STATUS <<\_ACEOF
110461 ## --------------------- ##
110462 ## M4sh Initialization. ##
110463 ## --------------------- ##
110465 # Be Bourne compatible
110466 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
110467 emulate sh
110468 NULLCMD=:
110469 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
110470 # is contrary to our usage. Disable this feature.
110471 alias -g '${1+"$@"}'='"$@"'
110472 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
110473 set -o posix
110475 DUALCASE=1; export DUALCASE # for MKS sh
110477 # Support unset when possible.
110478 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
110479 as_unset=unset
110481 as_unset=false
110485 # Work around bugs in pre-3.0 UWIN ksh.
110486 $as_unset ENV MAIL MAILPATH
110487 PS1='$ '
110488 PS2='> '
110489 PS4='+ '
110491 # NLS nuisances.
110492 for as_var in \
110493 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
110494 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110495 LC_TELEPHONE LC_TIME
110497 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
110498 eval $as_var=C; export $as_var
110500 $as_unset $as_var
110504 # Required to use basename.
110505 if expr a : '\(a\)' >/dev/null 2>&1; then
110506 as_expr=expr
110508 as_expr=false
110511 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
110512 as_basename=basename
110514 as_basename=false
110518 # Name of the executable.
110519 as_me=`$as_basename "$0" ||
110520 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
110521 X"$0" : 'X\(//\)$' \| \
110522 X"$0" : 'X\(/\)$' \| \
110523 . : '\(.\)' 2>/dev/null ||
110524 echo X/"$0" |
110525 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
110526 /^X\/\(\/\/\)$/{ s//\1/; q; }
110527 /^X\/\(\/\).*/{ s//\1/; q; }
110528 s/.*/./; q'`
110531 # PATH needs CR, and LINENO needs CR and PATH.
110532 # Avoid depending upon Character Ranges.
110533 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
110534 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
110535 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
110536 as_cr_digits='0123456789'
110537 as_cr_alnum=$as_cr_Letters$as_cr_digits
110539 # The user is always right.
110540 if test "${PATH_SEPARATOR+set}" != set; then
110541 echo "#! /bin/sh" >conf$$.sh
110542 echo "exit 0" >>conf$$.sh
110543 chmod +x conf$$.sh
110544 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
110545 PATH_SEPARATOR=';'
110547 PATH_SEPARATOR=:
110549 rm -f conf$$.sh
110553 as_lineno_1=$LINENO
110554 as_lineno_2=$LINENO
110555 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
110556 test "x$as_lineno_1" != "x$as_lineno_2" &&
110557 test "x$as_lineno_3" = "x$as_lineno_2" || {
110558 # Find who we are. Look in the path if we contain no path at all
110559 # relative or not.
110560 case $0 in
110561 *[\\/]* ) as_myself=$0 ;;
110562 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110563 for as_dir in $PATH
110565 IFS=$as_save_IFS
110566 test -z "$as_dir" && as_dir=.
110567 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
110572 # We did not find ourselves, most probably we were run as `sh COMMAND'
110573 # in which case we are not to be found in the path.
110574 if test "x$as_myself" = x; then
110575 as_myself=$0
110577 if test ! -f "$as_myself"; then
110578 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
110579 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
110580 { (exit 1); exit 1; }; }
110582 case $CONFIG_SHELL in
110584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110585 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
110587 IFS=$as_save_IFS
110588 test -z "$as_dir" && as_dir=.
110589 for as_base in sh bash ksh sh5; do
110590 case $as_dir in
110592 if ("$as_dir/$as_base" -c '
110593 as_lineno_1=$LINENO
110594 as_lineno_2=$LINENO
110595 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
110596 test "x$as_lineno_1" != "x$as_lineno_2" &&
110597 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
110598 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
110599 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
110600 CONFIG_SHELL=$as_dir/$as_base
110601 export CONFIG_SHELL
110602 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
110610 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
110611 # uniformly replaced by the line number. The first 'sed' inserts a
110612 # line-number line before each line; the second 'sed' does the real
110613 # work. The second script uses 'N' to pair each line-number line
110614 # with the numbered line, and appends trailing '-' during
110615 # substitution so that $LINENO is not a special case at line end.
110616 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
110617 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
110618 sed '=' <$as_myself |
110619 sed '
110621 s,$,-,
110622 : loop
110623 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
110624 t loop
110625 s,-$,,
110626 s,^['$as_cr_digits']*\n,,
110627 ' >$as_me.lineno &&
110628 chmod +x $as_me.lineno ||
110629 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
110630 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
110631 { (exit 1); exit 1; }; }
110633 # Don't try to exec as it changes $[0], causing all sort of problems
110634 # (the dirname of $[0] is not the place where we might find the
110635 # original and so on. Autoconf is especially sensible to this).
110636 . ./$as_me.lineno
110637 # Exit status is that of the last command.
110642 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
110643 *c*,-n*) ECHO_N= ECHO_C='
110644 ' ECHO_T=' ' ;;
110645 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
110646 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
110649 if expr a : '\(a\)' >/dev/null 2>&1; then
110650 as_expr=expr
110652 as_expr=false
110655 rm -f conf$$ conf$$.exe conf$$.file
110656 echo >conf$$.file
110657 if ln -s conf$$.file conf$$ 2>/dev/null; then
110658 # We could just check for DJGPP; but this test a) works b) is more generic
110659 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
110660 if test -f conf$$.exe; then
110661 # Don't use ln at all; we don't have any links
110662 as_ln_s='cp -p'
110664 as_ln_s='ln -s'
110666 elif ln conf$$.file conf$$ 2>/dev/null; then
110667 as_ln_s=ln
110669 as_ln_s='cp -p'
110671 rm -f conf$$ conf$$.exe conf$$.file
110673 if mkdir -p . 2>/dev/null; then
110674 as_mkdir_p=:
110676 test -d ./-p && rmdir ./-p
110677 as_mkdir_p=false
110680 as_executable_p="test -f"
110682 # Sed expression to map a string onto a valid CPP name.
110683 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
110685 # Sed expression to map a string onto a valid variable name.
110686 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
110689 # IFS
110690 # We need space, tab and new line, in precisely that order.
110691 as_nl='
110693 IFS=" $as_nl"
110695 # CDPATH.
110696 $as_unset CDPATH
110698 exec 6>&1
110700 # Open the log real soon, to keep \$[0] and so on meaningful, and to
110701 # report actual input values of CONFIG_FILES etc. instead of their
110702 # values after options handling. Logging --version etc. is OK.
110703 exec 5>>config.log
110706 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
110707 ## Running $as_me. ##
110708 _ASBOX
110709 } >&5
110710 cat >&5 <<_CSEOF
110712 This file was extended by package-unused $as_me version-unused, which was
110713 generated by GNU Autoconf 2.59. Invocation command line was
110715 CONFIG_FILES = $CONFIG_FILES
110716 CONFIG_HEADERS = $CONFIG_HEADERS
110717 CONFIG_LINKS = $CONFIG_LINKS
110718 CONFIG_COMMANDS = $CONFIG_COMMANDS
110719 $ $0 $@
110721 _CSEOF
110722 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
110723 echo >&5
110724 _ACEOF
110726 # Files that config.status was made for.
110727 if test -n "$ac_config_files"; then
110728 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
110731 if test -n "$ac_config_headers"; then
110732 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
110735 if test -n "$ac_config_links"; then
110736 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
110739 if test -n "$ac_config_commands"; then
110740 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
110743 cat >>$CONFIG_STATUS <<\_ACEOF
110745 ac_cs_usage="\
110746 \`$as_me' instantiates files from templates according to the
110747 current configuration.
110749 Usage: $0 [OPTIONS] [FILE]...
110751 -h, --help print this help, then exit
110752 -V, --version print version number, then exit
110753 -q, --quiet do not print progress messages
110754 -d, --debug don't remove temporary files
110755 --recheck update $as_me by reconfiguring in the same conditions
110756 --file=FILE[:TEMPLATE]
110757 instantiate the configuration file FILE
110758 --header=FILE[:TEMPLATE]
110759 instantiate the configuration header FILE
110761 Configuration files:
110762 $config_files
110764 Configuration headers:
110765 $config_headers
110767 Configuration commands:
110768 $config_commands
110770 Report bugs to <bug-autoconf@gnu.org>."
110771 _ACEOF
110773 cat >>$CONFIG_STATUS <<_ACEOF
110774 ac_cs_version="\\
110775 package-unused config.status version-unused
110776 configured by $0, generated by GNU Autoconf 2.59,
110777 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
110779 Copyright (C) 2003 Free Software Foundation, Inc.
110780 This config.status script is free software; the Free Software Foundation
110781 gives unlimited permission to copy, distribute and modify it."
110782 srcdir=$srcdir
110783 INSTALL="$INSTALL"
110784 _ACEOF
110786 cat >>$CONFIG_STATUS <<\_ACEOF
110787 # If no file are specified by the user, then we need to provide default
110788 # value. By we need to know if files were specified by the user.
110789 ac_need_defaults=:
110790 while test $# != 0
110792 case $1 in
110793 --*=*)
110794 ac_option=`expr "x$1" : 'x\([^=]*\)='`
110795 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
110796 ac_shift=:
110799 ac_option=$1
110800 ac_optarg=$2
110801 ac_shift=shift
110803 *) # This is not an option, so the user has probably given explicit
110804 # arguments.
110805 ac_option=$1
110806 ac_need_defaults=false;;
110809 case $ac_option in
110810 # Handling of the options.
110811 _ACEOF
110812 cat >>$CONFIG_STATUS <<\_ACEOF
110813 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
110814 ac_cs_recheck=: ;;
110815 --version | --vers* | -V )
110816 echo "$ac_cs_version"; exit 0 ;;
110817 --he | --h)
110818 # Conflict between --help and --header
110819 { { echo "$as_me:$LINENO: error: ambiguous option: $1
110820 Try \`$0 --help' for more information." >&5
110821 echo "$as_me: error: ambiguous option: $1
110822 Try \`$0 --help' for more information." >&2;}
110823 { (exit 1); exit 1; }; };;
110824 --help | --hel | -h )
110825 echo "$ac_cs_usage"; exit 0 ;;
110826 --debug | --d* | -d )
110827 debug=: ;;
110828 --file | --fil | --fi | --f )
110829 $ac_shift
110830 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
110831 ac_need_defaults=false;;
110832 --header | --heade | --head | --hea )
110833 $ac_shift
110834 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
110835 ac_need_defaults=false;;
110836 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
110837 | -silent | --silent | --silen | --sile | --sil | --si | --s)
110838 ac_cs_silent=: ;;
110840 # This is an error.
110841 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
110842 Try \`$0 --help' for more information." >&5
110843 echo "$as_me: error: unrecognized option: $1
110844 Try \`$0 --help' for more information." >&2;}
110845 { (exit 1); exit 1; }; } ;;
110847 *) ac_config_targets="$ac_config_targets $1" ;;
110850 shift
110853 ac_configure_extra_args=
110855 if $ac_cs_silent; then
110856 exec 6>/dev/null
110857 ac_configure_extra_args="$ac_configure_extra_args --silent"
110860 _ACEOF
110861 cat >>$CONFIG_STATUS <<_ACEOF
110862 if \$ac_cs_recheck; then
110863 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
110864 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
110867 _ACEOF
110869 cat >>$CONFIG_STATUS <<_ACEOF
110871 # INIT-COMMANDS section.
110875 srcdir="$srcdir"
110876 host="$host"
110877 target="$target"
110878 with_multisubdir="$with_multisubdir"
110879 with_multisrctop="$with_multisrctop"
110880 with_target_subdir="$with_target_subdir"
110881 ac_configure_args="${multilib_arg} ${ac_configure_args}"
110882 multi_basedir="$multi_basedir"
110883 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
110884 CC="$CC"
110886 # Variables needed in config.status (file generation) which aren't already
110887 # passed by autoconf.
110888 SUBDIRS="$SUBDIRS"
110891 _ACEOF
110895 cat >>$CONFIG_STATUS <<\_ACEOF
110896 for ac_config_target in $ac_config_targets
110898 case "$ac_config_target" in
110899 # Handling of arguments.
110900 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
110901 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
110902 "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
110903 "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
110904 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
110905 "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
110906 "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
110907 "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
110908 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
110909 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
110910 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
110911 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
110912 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
110913 { (exit 1); exit 1; }; };;
110917 # If the user did not use the arguments to specify the items to instantiate,
110918 # then the envvar interface is used. Set only those that are not.
110919 # We use the long form for the default assignment because of an extremely
110920 # bizarre bug on SunOS 4.1.3.
110921 if $ac_need_defaults; then
110922 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
110923 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
110924 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
110927 # Have a temporary directory for convenience. Make it in the build tree
110928 # simply because there is no reason to put it here, and in addition,
110929 # creating and moving files from /tmp can sometimes cause problems.
110930 # Create a temporary directory, and hook for its removal unless debugging.
110931 $debug ||
110933 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
110934 trap '{ (exit 1); exit 1; }' 1 2 13 15
110937 # Create a (secure) tmp directory for tmp files.
110940 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
110941 test -n "$tmp" && test -d "$tmp"
110944 tmp=./confstat$$-$RANDOM
110945 (umask 077 && mkdir $tmp)
110948 echo "$me: cannot create a temporary directory in ." >&2
110949 { (exit 1); exit 1; }
110952 _ACEOF
110954 cat >>$CONFIG_STATUS <<_ACEOF
110957 # CONFIG_FILES section.
110960 # No need to generate the scripts if there are no CONFIG_FILES.
110961 # This happens for instance when ./config.status config.h
110962 if test -n "\$CONFIG_FILES"; then
110963 # Protect against being on the right side of a sed subst in config.status.
110964 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
110965 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
110966 s,@SHELL@,$SHELL,;t t
110967 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
110968 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
110969 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
110970 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
110971 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
110972 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
110973 s,@exec_prefix@,$exec_prefix,;t t
110974 s,@prefix@,$prefix,;t t
110975 s,@program_transform_name@,$program_transform_name,;t t
110976 s,@bindir@,$bindir,;t t
110977 s,@sbindir@,$sbindir,;t t
110978 s,@libexecdir@,$libexecdir,;t t
110979 s,@datadir@,$datadir,;t t
110980 s,@sysconfdir@,$sysconfdir,;t t
110981 s,@sharedstatedir@,$sharedstatedir,;t t
110982 s,@localstatedir@,$localstatedir,;t t
110983 s,@libdir@,$libdir,;t t
110984 s,@includedir@,$includedir,;t t
110985 s,@oldincludedir@,$oldincludedir,;t t
110986 s,@infodir@,$infodir,;t t
110987 s,@mandir@,$mandir,;t t
110988 s,@build_alias@,$build_alias,;t t
110989 s,@host_alias@,$host_alias,;t t
110990 s,@target_alias@,$target_alias,;t t
110991 s,@DEFS@,$DEFS,;t t
110992 s,@ECHO_C@,$ECHO_C,;t t
110993 s,@ECHO_N@,$ECHO_N,;t t
110994 s,@ECHO_T@,$ECHO_T,;t t
110995 s,@LIBS@,$LIBS,;t t
110996 s,@libtool_VERSION@,$libtool_VERSION,;t t
110997 s,@multi_basedir@,$multi_basedir,;t t
110998 s,@build@,$build,;t t
110999 s,@build_cpu@,$build_cpu,;t t
111000 s,@build_vendor@,$build_vendor,;t t
111001 s,@build_os@,$build_os,;t t
111002 s,@host@,$host,;t t
111003 s,@host_cpu@,$host_cpu,;t t
111004 s,@host_vendor@,$host_vendor,;t t
111005 s,@host_os@,$host_os,;t t
111006 s,@target@,$target,;t t
111007 s,@target_cpu@,$target_cpu,;t t
111008 s,@target_vendor@,$target_vendor,;t t
111009 s,@target_os@,$target_os,;t t
111010 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
111011 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
111012 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
111013 s,@CYGPATH_W@,$CYGPATH_W,;t t
111014 s,@PACKAGE@,$PACKAGE,;t t
111015 s,@VERSION@,$VERSION,;t t
111016 s,@ACLOCAL@,$ACLOCAL,;t t
111017 s,@AUTOCONF@,$AUTOCONF,;t t
111018 s,@AUTOMAKE@,$AUTOMAKE,;t t
111019 s,@AUTOHEADER@,$AUTOHEADER,;t t
111020 s,@MAKEINFO@,$MAKEINFO,;t t
111021 s,@install_sh@,$install_sh,;t t
111022 s,@STRIP@,$STRIP,;t t
111023 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
111024 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
111025 s,@mkdir_p@,$mkdir_p,;t t
111026 s,@AWK@,$AWK,;t t
111027 s,@SET_MAKE@,$SET_MAKE,;t t
111028 s,@am__leading_dot@,$am__leading_dot,;t t
111029 s,@AMTAR@,$AMTAR,;t t
111030 s,@am__tar@,$am__tar,;t t
111031 s,@am__untar@,$am__untar,;t t
111032 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
111033 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
111034 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
111035 s,@CC@,$CC,;t t
111036 s,@ac_ct_CC@,$ac_ct_CC,;t t
111037 s,@EXEEXT@,$EXEEXT,;t t
111038 s,@OBJEXT@,$OBJEXT,;t t
111039 s,@CXX@,$CXX,;t t
111040 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
111041 s,@CFLAGS@,$CFLAGS,;t t
111042 s,@CXXFLAGS@,$CXXFLAGS,;t t
111043 s,@LN_S@,$LN_S,;t t
111044 s,@AS@,$AS,;t t
111045 s,@ac_ct_AS@,$ac_ct_AS,;t t
111046 s,@AR@,$AR,;t t
111047 s,@ac_ct_AR@,$ac_ct_AR,;t t
111048 s,@RANLIB@,$RANLIB,;t t
111049 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
111050 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
111051 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
111052 s,@MAINT@,$MAINT,;t t
111053 s,@CPP@,$CPP,;t t
111054 s,@CPPFLAGS@,$CPPFLAGS,;t t
111055 s,@EGREP@,$EGREP,;t t
111056 s,@LIBTOOL@,$LIBTOOL,;t t
111057 s,@CXXCPP@,$CXXCPP,;t t
111058 s,@enable_shared@,$enable_shared,;t t
111059 s,@enable_static@,$enable_static,;t t
111060 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
111061 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
111062 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
111063 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
111064 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
111065 s,@CSTDIO_H@,$CSTDIO_H,;t t
111066 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
111067 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
111068 s,@check_msgfmt@,$check_msgfmt,;t t
111069 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
111070 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
111071 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
111072 s,@USE_NLS@,$USE_NLS,;t t
111073 s,@CLOCALE_H@,$CLOCALE_H,;t t
111074 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
111075 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
111076 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
111077 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
111078 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
111079 s,@CMONEY_CC@,$CMONEY_CC,;t t
111080 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
111081 s,@CTIME_H@,$CTIME_H,;t t
111082 s,@CTIME_CC@,$CTIME_CC,;t t
111083 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
111084 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
111085 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
111086 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
111087 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
111088 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
111089 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
111090 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
111091 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
111092 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
111093 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
111094 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
111095 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
111096 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
111097 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
111098 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
111099 s,@WERROR@,$WERROR,;t t
111100 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
111101 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
111102 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
111103 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
111104 s,@LIBICONV@,$LIBICONV,;t t
111105 s,@SYMVER_FILE@,$SYMVER_FILE,;t t
111106 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
111107 s,@ENABLE_SYMVERS_TRUE@,$ENABLE_SYMVERS_TRUE,;t t
111108 s,@ENABLE_SYMVERS_FALSE@,$ENABLE_SYMVERS_FALSE,;t t
111109 s,@ENABLE_SYMVERS_GNU_TRUE@,$ENABLE_SYMVERS_GNU_TRUE,;t t
111110 s,@ENABLE_SYMVERS_GNU_FALSE@,$ENABLE_SYMVERS_GNU_FALSE,;t t
111111 s,@ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@,$ENABLE_SYMVERS_GNU_NAMESPACE_TRUE,;t t
111112 s,@ENABLE_SYMVERS_GNU_NAMESPACE_FALSE@,$ENABLE_SYMVERS_GNU_NAMESPACE_FALSE,;t t
111113 s,@ENABLE_SYMVERS_DARWIN_TRUE@,$ENABLE_SYMVERS_DARWIN_TRUE,;t t
111114 s,@ENABLE_SYMVERS_DARWIN_FALSE@,$ENABLE_SYMVERS_DARWIN_FALSE,;t t
111115 s,@GLIBCXX_LDBL_COMPAT_TRUE@,$GLIBCXX_LDBL_COMPAT_TRUE,;t t
111116 s,@GLIBCXX_LDBL_COMPAT_FALSE@,$GLIBCXX_LDBL_COMPAT_FALSE,;t t
111117 s,@baseline_dir@,$baseline_dir,;t t
111118 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
111119 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
111120 s,@CPU_DEFINES_SRCDIR@,$CPU_DEFINES_SRCDIR,;t t
111121 s,@ABI_TWEAKS_SRCDIR@,$ABI_TWEAKS_SRCDIR,;t t
111122 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
111123 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
111124 s,@gxx_include_dir@,$gxx_include_dir,;t t
111125 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
111126 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
111127 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
111128 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
111129 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
111130 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
111131 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
111132 s,@LIBOBJS@,$LIBOBJS,;t t
111133 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
111136 _ACEOF
111138 cat >>$CONFIG_STATUS <<\_ACEOF
111139 # Split the substitutions into bite-sized pieces for seds with
111140 # small command number limits, like on Digital OSF/1 and HP-UX.
111141 ac_max_sed_lines=48
111142 ac_sed_frag=1 # Number of current file.
111143 ac_beg=1 # First line for current file.
111144 ac_end=$ac_max_sed_lines # Line after last line for current file.
111145 ac_more_lines=:
111146 ac_sed_cmds=
111147 while $ac_more_lines; do
111148 if test $ac_beg -gt 1; then
111149 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
111151 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
111153 if test ! -s $tmp/subs.frag; then
111154 ac_more_lines=false
111156 # The purpose of the label and of the branching condition is to
111157 # speed up the sed processing (if there are no `@' at all, there
111158 # is no need to browse any of the substitutions).
111159 # These are the two extra sed commands mentioned above.
111160 (echo ':t
111161 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
111162 if test -z "$ac_sed_cmds"; then
111163 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
111165 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
111167 ac_sed_frag=`expr $ac_sed_frag + 1`
111168 ac_beg=$ac_end
111169 ac_end=`expr $ac_end + $ac_max_sed_lines`
111172 if test -z "$ac_sed_cmds"; then
111173 ac_sed_cmds=cat
111175 fi # test -n "$CONFIG_FILES"
111177 _ACEOF
111178 cat >>$CONFIG_STATUS <<\_ACEOF
111179 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
111180 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
111181 case $ac_file in
111182 - | *:- | *:-:* ) # input from stdin
111183 cat >$tmp/stdin
111184 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
111185 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
111186 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
111187 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
111188 * ) ac_file_in=$ac_file.in ;;
111191 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
111192 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
111193 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
111194 X"$ac_file" : 'X\(//\)[^/]' \| \
111195 X"$ac_file" : 'X\(//\)$' \| \
111196 X"$ac_file" : 'X\(/\)' \| \
111197 . : '\(.\)' 2>/dev/null ||
111198 echo X"$ac_file" |
111199 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
111200 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
111201 /^X\(\/\/\)$/{ s//\1/; q; }
111202 /^X\(\/\).*/{ s//\1/; q; }
111203 s/.*/./; q'`
111204 { if $as_mkdir_p; then
111205 mkdir -p "$ac_dir"
111207 as_dir="$ac_dir"
111208 as_dirs=
111209 while test ! -d "$as_dir"; do
111210 as_dirs="$as_dir $as_dirs"
111211 as_dir=`(dirname "$as_dir") 2>/dev/null ||
111212 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
111213 X"$as_dir" : 'X\(//\)[^/]' \| \
111214 X"$as_dir" : 'X\(//\)$' \| \
111215 X"$as_dir" : 'X\(/\)' \| \
111216 . : '\(.\)' 2>/dev/null ||
111217 echo X"$as_dir" |
111218 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
111219 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
111220 /^X\(\/\/\)$/{ s//\1/; q; }
111221 /^X\(\/\).*/{ s//\1/; q; }
111222 s/.*/./; q'`
111224 test ! -n "$as_dirs" || mkdir $as_dirs
111225 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
111226 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
111227 { (exit 1); exit 1; }; }; }
111229 ac_builddir=.
111231 if test "$ac_dir" != .; then
111232 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
111233 # A "../" for each directory in $ac_dir_suffix.
111234 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
111236 ac_dir_suffix= ac_top_builddir=
111239 case $srcdir in
111240 .) # No --srcdir option. We are building in place.
111241 ac_srcdir=.
111242 if test -z "$ac_top_builddir"; then
111243 ac_top_srcdir=.
111245 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
111246 fi ;;
111247 [\\/]* | ?:[\\/]* ) # Absolute path.
111248 ac_srcdir=$srcdir$ac_dir_suffix;
111249 ac_top_srcdir=$srcdir ;;
111250 *) # Relative path.
111251 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
111252 ac_top_srcdir=$ac_top_builddir$srcdir ;;
111255 # Do not use `cd foo && pwd` to compute absolute paths, because
111256 # the directories may not exist.
111257 case `pwd` in
111258 .) ac_abs_builddir="$ac_dir";;
111260 case "$ac_dir" in
111261 .) ac_abs_builddir=`pwd`;;
111262 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
111263 *) ac_abs_builddir=`pwd`/"$ac_dir";;
111264 esac;;
111266 case $ac_abs_builddir in
111267 .) ac_abs_top_builddir=${ac_top_builddir}.;;
111269 case ${ac_top_builddir}. in
111270 .) ac_abs_top_builddir=$ac_abs_builddir;;
111271 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
111272 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
111273 esac;;
111275 case $ac_abs_builddir in
111276 .) ac_abs_srcdir=$ac_srcdir;;
111278 case $ac_srcdir in
111279 .) ac_abs_srcdir=$ac_abs_builddir;;
111280 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
111281 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
111282 esac;;
111284 case $ac_abs_builddir in
111285 .) ac_abs_top_srcdir=$ac_top_srcdir;;
111287 case $ac_top_srcdir in
111288 .) ac_abs_top_srcdir=$ac_abs_builddir;;
111289 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
111290 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
111291 esac;;
111295 case $INSTALL in
111296 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
111297 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
111300 if test x"$ac_file" != x-; then
111301 { echo "$as_me:$LINENO: creating $ac_file" >&5
111302 echo "$as_me: creating $ac_file" >&6;}
111303 rm -f "$ac_file"
111305 # Let's still pretend it is `configure' which instantiates (i.e., don't
111306 # use $as_me), people would be surprised to read:
111307 # /* config.h. Generated by config.status. */
111308 if test x"$ac_file" = x-; then
111309 configure_input=
111311 configure_input="$ac_file. "
111313 configure_input=$configure_input"Generated from `echo $ac_file_in |
111314 sed 's,.*/,,'` by configure."
111316 # First look for the input files in the build tree, otherwise in the
111317 # src tree.
111318 ac_file_inputs=`IFS=:
111319 for f in $ac_file_in; do
111320 case $f in
111321 -) echo $tmp/stdin ;;
111322 [\\/$]*)
111323 # Absolute (can't be DOS-style, as IFS=:)
111324 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
111325 echo "$as_me: error: cannot find input file: $f" >&2;}
111326 { (exit 1); exit 1; }; }
111327 echo "$f";;
111328 *) # Relative
111329 if test -f "$f"; then
111330 # Build tree
111331 echo "$f"
111332 elif test -f "$srcdir/$f"; then
111333 # Source tree
111334 echo "$srcdir/$f"
111336 # /dev/null tree
111337 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
111338 echo "$as_me: error: cannot find input file: $f" >&2;}
111339 { (exit 1); exit 1; }; }
111342 done` || { (exit 1); exit 1; }
111343 _ACEOF
111344 cat >>$CONFIG_STATUS <<_ACEOF
111345 sed "$ac_vpsub
111346 $extrasub
111347 _ACEOF
111348 cat >>$CONFIG_STATUS <<\_ACEOF
111350 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
111351 s,@configure_input@,$configure_input,;t t
111352 s,@srcdir@,$ac_srcdir,;t t
111353 s,@abs_srcdir@,$ac_abs_srcdir,;t t
111354 s,@top_srcdir@,$ac_top_srcdir,;t t
111355 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
111356 s,@builddir@,$ac_builddir,;t t
111357 s,@abs_builddir@,$ac_abs_builddir,;t t
111358 s,@top_builddir@,$ac_top_builddir,;t t
111359 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
111360 s,@INSTALL@,$ac_INSTALL,;t t
111361 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
111362 rm -f $tmp/stdin
111363 if test x"$ac_file" != x-; then
111364 mv $tmp/out $ac_file
111366 cat $tmp/out
111367 rm -f $tmp/out
111370 # Run the commands associated with the file.
111371 case $ac_file in
111372 scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
111375 _ACEOF
111376 cat >>$CONFIG_STATUS <<\_ACEOF
111379 # CONFIG_HEADER section.
111382 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
111383 # NAME is the cpp macro being defined and VALUE is the value it is being given.
111385 # ac_d sets the value in "#define NAME VALUE" lines.
111386 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
111387 ac_dB='[ ].*$,\1#\2'
111388 ac_dC=' '
111389 ac_dD=',;t'
111390 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
111391 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
111392 ac_uB='$,\1#\2define\3'
111393 ac_uC=' '
111394 ac_uD=',;t'
111396 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
111397 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
111398 case $ac_file in
111399 - | *:- | *:-:* ) # input from stdin
111400 cat >$tmp/stdin
111401 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
111402 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
111403 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
111404 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
111405 * ) ac_file_in=$ac_file.in ;;
111408 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
111409 echo "$as_me: creating $ac_file" >&6;}
111411 # First look for the input files in the build tree, otherwise in the
111412 # src tree.
111413 ac_file_inputs=`IFS=:
111414 for f in $ac_file_in; do
111415 case $f in
111416 -) echo $tmp/stdin ;;
111417 [\\/$]*)
111418 # Absolute (can't be DOS-style, as IFS=:)
111419 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
111420 echo "$as_me: error: cannot find input file: $f" >&2;}
111421 { (exit 1); exit 1; }; }
111422 # Do quote $f, to prevent DOS paths from being IFS'd.
111423 echo "$f";;
111424 *) # Relative
111425 if test -f "$f"; then
111426 # Build tree
111427 echo "$f"
111428 elif test -f "$srcdir/$f"; then
111429 # Source tree
111430 echo "$srcdir/$f"
111432 # /dev/null tree
111433 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
111434 echo "$as_me: error: cannot find input file: $f" >&2;}
111435 { (exit 1); exit 1; }; }
111438 done` || { (exit 1); exit 1; }
111439 # Remove the trailing spaces.
111440 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
111442 _ACEOF
111444 # Transform confdefs.h into two sed scripts, `conftest.defines' and
111445 # `conftest.undefs', that substitutes the proper values into
111446 # config.h.in to produce config.h. The first handles `#define'
111447 # templates, and the second `#undef' templates.
111448 # And first: Protect against being on the right side of a sed subst in
111449 # config.status. Protect against being in an unquoted here document
111450 # in config.status.
111451 rm -f conftest.defines conftest.undefs
111452 # Using a here document instead of a string reduces the quoting nightmare.
111453 # Putting comments in sed scripts is not portable.
111455 # `end' is used to avoid that the second main sed command (meant for
111456 # 0-ary CPP macros) applies to n-ary macro definitions.
111457 # See the Autoconf documentation for `clear'.
111458 cat >confdef2sed.sed <<\_ACEOF
111459 s/[\\&,]/\\&/g
111460 s,[\\$`],\\&,g
111461 t clear
111462 : clear
111463 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
111464 t end
111465 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
111466 : end
111467 _ACEOF
111468 # If some macros were called several times there might be several times
111469 # the same #defines, which is useless. Nevertheless, we may not want to
111470 # sort them, since we want the *last* AC-DEFINE to be honored.
111471 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
111472 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
111473 rm -f confdef2sed.sed
111475 # This sed command replaces #undef with comments. This is necessary, for
111476 # example, in the case of _POSIX_SOURCE, which is predefined and required
111477 # on some systems where configure will not decide to define it.
111478 cat >>conftest.undefs <<\_ACEOF
111479 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
111480 _ACEOF
111482 # Break up conftest.defines because some shells have a limit on the size
111483 # of here documents, and old seds have small limits too (100 cmds).
111484 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
111485 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
111486 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
111487 echo ' :' >>$CONFIG_STATUS
111488 rm -f conftest.tail
111489 while grep . conftest.defines >/dev/null
111491 # Write a limited-size here document to $tmp/defines.sed.
111492 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
111493 # Speed up: don't consider the non `#define' lines.
111494 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
111495 # Work around the forget-to-reset-the-flag bug.
111496 echo 't clr' >>$CONFIG_STATUS
111497 echo ': clr' >>$CONFIG_STATUS
111498 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
111499 echo 'CEOF
111500 sed -f $tmp/defines.sed $tmp/in >$tmp/out
111501 rm -f $tmp/in
111502 mv $tmp/out $tmp/in
111503 ' >>$CONFIG_STATUS
111504 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
111505 rm -f conftest.defines
111506 mv conftest.tail conftest.defines
111508 rm -f conftest.defines
111509 echo ' fi # grep' >>$CONFIG_STATUS
111510 echo >>$CONFIG_STATUS
111512 # Break up conftest.undefs because some shells have a limit on the size
111513 # of here documents, and old seds have small limits too (100 cmds).
111514 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
111515 rm -f conftest.tail
111516 while grep . conftest.undefs >/dev/null
111518 # Write a limited-size here document to $tmp/undefs.sed.
111519 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
111520 # Speed up: don't consider the non `#undef'
111521 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
111522 # Work around the forget-to-reset-the-flag bug.
111523 echo 't clr' >>$CONFIG_STATUS
111524 echo ': clr' >>$CONFIG_STATUS
111525 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
111526 echo 'CEOF
111527 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
111528 rm -f $tmp/in
111529 mv $tmp/out $tmp/in
111530 ' >>$CONFIG_STATUS
111531 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
111532 rm -f conftest.undefs
111533 mv conftest.tail conftest.undefs
111535 rm -f conftest.undefs
111537 cat >>$CONFIG_STATUS <<\_ACEOF
111538 # Let's still pretend it is `configure' which instantiates (i.e., don't
111539 # use $as_me), people would be surprised to read:
111540 # /* config.h. Generated by config.status. */
111541 if test x"$ac_file" = x-; then
111542 echo "/* Generated by configure. */" >$tmp/config.h
111544 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
111546 cat $tmp/in >>$tmp/config.h
111547 rm -f $tmp/in
111548 if test x"$ac_file" != x-; then
111549 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
111550 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
111551 echo "$as_me: $ac_file is unchanged" >&6;}
111553 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
111554 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
111555 X"$ac_file" : 'X\(//\)[^/]' \| \
111556 X"$ac_file" : 'X\(//\)$' \| \
111557 X"$ac_file" : 'X\(/\)' \| \
111558 . : '\(.\)' 2>/dev/null ||
111559 echo X"$ac_file" |
111560 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
111561 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
111562 /^X\(\/\/\)$/{ s//\1/; q; }
111563 /^X\(\/\).*/{ s//\1/; q; }
111564 s/.*/./; q'`
111565 { if $as_mkdir_p; then
111566 mkdir -p "$ac_dir"
111568 as_dir="$ac_dir"
111569 as_dirs=
111570 while test ! -d "$as_dir"; do
111571 as_dirs="$as_dir $as_dirs"
111572 as_dir=`(dirname "$as_dir") 2>/dev/null ||
111573 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
111574 X"$as_dir" : 'X\(//\)[^/]' \| \
111575 X"$as_dir" : 'X\(//\)$' \| \
111576 X"$as_dir" : 'X\(/\)' \| \
111577 . : '\(.\)' 2>/dev/null ||
111578 echo X"$as_dir" |
111579 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
111580 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
111581 /^X\(\/\/\)$/{ s//\1/; q; }
111582 /^X\(\/\).*/{ s//\1/; q; }
111583 s/.*/./; q'`
111585 test ! -n "$as_dirs" || mkdir $as_dirs
111586 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
111587 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
111588 { (exit 1); exit 1; }; }; }
111590 rm -f $ac_file
111591 mv $tmp/config.h $ac_file
111594 cat $tmp/config.h
111595 rm -f $tmp/config.h
111597 # Compute $ac_file's index in $config_headers.
111598 _am_stamp_count=1
111599 for _am_header in $config_headers :; do
111600 case $_am_header in
111601 $ac_file | $ac_file:* )
111602 break ;;
111604 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
111607 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
111608 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
111609 X$ac_file : 'X\(//\)[^/]' \| \
111610 X$ac_file : 'X\(//\)$' \| \
111611 X$ac_file : 'X\(/\)' \| \
111612 . : '\(.\)' 2>/dev/null ||
111613 echo X$ac_file |
111614 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
111615 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
111616 /^X\(\/\/\)$/{ s//\1/; q; }
111617 /^X\(\/\).*/{ s//\1/; q; }
111618 s/.*/./; q'`/stamp-h$_am_stamp_count
111620 _ACEOF
111621 cat >>$CONFIG_STATUS <<\_ACEOF
111624 # CONFIG_COMMANDS section.
111626 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
111627 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
111628 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
111629 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
111630 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
111631 X"$ac_dest" : 'X\(//\)[^/]' \| \
111632 X"$ac_dest" : 'X\(//\)$' \| \
111633 X"$ac_dest" : 'X\(/\)' \| \
111634 . : '\(.\)' 2>/dev/null ||
111635 echo X"$ac_dest" |
111636 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
111637 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
111638 /^X\(\/\/\)$/{ s//\1/; q; }
111639 /^X\(\/\).*/{ s//\1/; q; }
111640 s/.*/./; q'`
111641 { if $as_mkdir_p; then
111642 mkdir -p "$ac_dir"
111644 as_dir="$ac_dir"
111645 as_dirs=
111646 while test ! -d "$as_dir"; do
111647 as_dirs="$as_dir $as_dirs"
111648 as_dir=`(dirname "$as_dir") 2>/dev/null ||
111649 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
111650 X"$as_dir" : 'X\(//\)[^/]' \| \
111651 X"$as_dir" : 'X\(//\)$' \| \
111652 X"$as_dir" : 'X\(/\)' \| \
111653 . : '\(.\)' 2>/dev/null ||
111654 echo X"$as_dir" |
111655 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
111656 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
111657 /^X\(\/\/\)$/{ s//\1/; q; }
111658 /^X\(\/\).*/{ s//\1/; q; }
111659 s/.*/./; q'`
111661 test ! -n "$as_dirs" || mkdir $as_dirs
111662 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
111663 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
111664 { (exit 1); exit 1; }; }; }
111666 ac_builddir=.
111668 if test "$ac_dir" != .; then
111669 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
111670 # A "../" for each directory in $ac_dir_suffix.
111671 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
111673 ac_dir_suffix= ac_top_builddir=
111676 case $srcdir in
111677 .) # No --srcdir option. We are building in place.
111678 ac_srcdir=.
111679 if test -z "$ac_top_builddir"; then
111680 ac_top_srcdir=.
111682 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
111683 fi ;;
111684 [\\/]* | ?:[\\/]* ) # Absolute path.
111685 ac_srcdir=$srcdir$ac_dir_suffix;
111686 ac_top_srcdir=$srcdir ;;
111687 *) # Relative path.
111688 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
111689 ac_top_srcdir=$ac_top_builddir$srcdir ;;
111692 # Do not use `cd foo && pwd` to compute absolute paths, because
111693 # the directories may not exist.
111694 case `pwd` in
111695 .) ac_abs_builddir="$ac_dir";;
111697 case "$ac_dir" in
111698 .) ac_abs_builddir=`pwd`;;
111699 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
111700 *) ac_abs_builddir=`pwd`/"$ac_dir";;
111701 esac;;
111703 case $ac_abs_builddir in
111704 .) ac_abs_top_builddir=${ac_top_builddir}.;;
111706 case ${ac_top_builddir}. in
111707 .) ac_abs_top_builddir=$ac_abs_builddir;;
111708 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
111709 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
111710 esac;;
111712 case $ac_abs_builddir in
111713 .) ac_abs_srcdir=$ac_srcdir;;
111715 case $ac_srcdir in
111716 .) ac_abs_srcdir=$ac_abs_builddir;;
111717 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
111718 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
111719 esac;;
111721 case $ac_abs_builddir in
111722 .) ac_abs_top_srcdir=$ac_top_srcdir;;
111724 case $ac_top_srcdir in
111725 .) ac_abs_top_srcdir=$ac_abs_builddir;;
111726 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
111727 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
111728 esac;;
111732 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
111733 echo "$as_me: executing $ac_dest commands" >&6;}
111734 case $ac_dest in
111735 default-1 )
111736 # Only add multilib support code if we just rebuilt the top-level
111737 # Makefile.
111738 case " $CONFIG_FILES " in
111739 *" Makefile "*)
111740 ac_file=Makefile . ${multi_basedir}/config-ml.in
111742 esac ;;
111743 default ) if test -n "$CONFIG_FILES"; then
111744 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
111745 # that multilib installs will end up installed in the correct place.
111746 # The testsuite needs it for multilib-aware ABI baseline files.
111747 # To work around this not being passed down from config-ml.in ->
111748 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
111749 # append it here. Only modify Makefiles that have just been created.
111751 # Also, get rid of this simulated-VPATH thing that automake does.
111752 cat > vpsed << \_EOF
111753 s!`test -f '$<' || echo '$(srcdir)/'`!!
111755 for i in $SUBDIRS; do
111756 case $CONFIG_FILES in
111757 *${i}/Makefile*)
111758 #echo "Adding MULTISUBDIR to $i/Makefile"
111759 sed -f vpsed $i/Makefile > tmp
111760 grep '^MULTISUBDIR =' Makefile >> tmp
111761 mv tmp $i/Makefile
111765 rm vpsed
111767 (cd include && ${MAKE-make})
111771 _ACEOF
111773 cat >>$CONFIG_STATUS <<\_ACEOF
111775 { (exit 0); exit 0; }
111776 _ACEOF
111777 chmod +x $CONFIG_STATUS
111778 ac_clean_files=$ac_clean_files_save
111781 # configure is writing to config.log, and then calls config.status.
111782 # config.status does its own redirection, appending to config.log.
111783 # Unfortunately, on DOS this fails, as config.log is still kept open
111784 # by configure, so config.status won't be able to write to it; its
111785 # output is simply discarded. So we exec the FD to /dev/null,
111786 # effectively closing config.log, so it can be properly (re)opened and
111787 # appended to by config.status. When coming back to configure, we
111788 # need to make the FD available again.
111789 if test "$no_create" != yes; then
111790 ac_cs_success=:
111791 ac_config_status_args=
111792 test "$silent" = yes &&
111793 ac_config_status_args="$ac_config_status_args --quiet"
111794 exec 5>/dev/null
111795 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
111796 exec 5>>config.log
111797 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
111798 # would make configure fail if this is the last instruction.
111799 $ac_cs_success || { (exit 1); exit 1; }